* Add .DS_Store to .gitignore
* Factor out bonito-core and bonito-ui
These packages are intended to act as a Batch-agnostic layer
for building Azure Portal-compatible UIs.
This also moves much of the functionality of the ui-service
package into bonito-core (specifically the parts that aren't
Batch-specific)
* Make `bux link` handle missing packages in node_modules
---------
Co-authored-by: Sanjana Kapur <sanjanakapur@microsoft.com>
* Added fake localizer
* Switch desktop app to use new translations
* Add script to combine translated files by language
* Add global build-translations command
* Update comments and docs accordingly with changes
* Run merge-translations script on Azure DevOps path
* Add localization for Batch Explorer web version
* Generate translations for Create Account buttons
* Add basic i18n support for web package
* Rename StandardLocalizer to BrowserLocalizer
* Add merge translations script for web and desktop
* Remove powershell merge translations script
* Add localization support for desktop app
* Copy translations to web too and not just desktop
* Add translations for playground buttons
* Gitignore generated localization files
* Update localization docs with setup instructions
* Add package translations to mergeTranslations
* Optimize package file creation and fix unit test
* Update Electron app localization unit tests
* Address all feedback on PR
* Fix desktop localizer, translation function, tests
* Fix Prettier issue with account yml file
* Update client translations unit test accordingly
* Add http-localizer unit test and minor fixes
* Remove CustomGlobal and simplify navigator object
* Add getLocale function to each localizer
---------
Co-authored-by: David Watrous <509299+dpwatrous@users.noreply.github.com>
This was broken because the Git repo on the DevOps pipelines runs on a detached HEAD. Use the DevOps environment variable to read the target branch instead of using git symbolic-ref.
* Add scripts to build localization on local machine
* Remove unneeded parameters from LocProject
* Ignore files generated by local localization build
* Add copy translations script to Dist pipeline
* Remove destination JSON path parameter
* Change scripts to use new translation function
* Add json files when script is run locally
* Change name for download artifacts pipeline
* Add npm commands to run localization scripts
* Add README with localization setup instructions
* Rename destRESJSON, fix script, and other PR fixes
* Silence New-Item and add clean resources task
* Use powershell and modify clean script on desktop
* Replace cross-env-shell for npm loc:restore script
* Add Localization and Build steps to Dist pipeline
* Add script to check no resjson changes are in Git
* Remove old update-en-loc pipeline
* Renamed i18n-updated to i18n