Граф коммитов

36 Коммитов

Автор SHA1 Сообщение Дата
Ezio Li b2913d81db
Add husky pre-commit hook(#378) 2022-11-17 14:37:58 +08:00
RedMickey 47aea8cc1d
Fix page refreshing for SPAs (#347)
* Fix SPA page refreshing

* Add 'spaurlrewrites' to cli

* Update readme

* Update xmldom to @xmldom/xmldom
2021-12-16 15:12:39 +03:00
mfish33 c3e9c8c48f Add command to generate unique UUIDs for simulated devices with UUID4 id format, styling improvements (#303) 2020-01-20 12:04:08 +03:00
v-mdriml c9708da095 LOC CHECKIN | cordova-simulate | 20170913 (#251)
xliff files localization
2017-09-13 18:42:00 +10:00
Tim Barham 110ff6efcb Run update-loc with latest changes. (#250) 2017-09-11 15:30:10 +10:00
TimBarham ee5fa9242d Update with real translations 2017-05-22 14:11:21 +10:00
Zbyněk Sailer 5f8f1675e5 LOC CHECKIN | cordova-simulate | 20170519 (#243) 2017-05-20 16:01:33 +10:00
TimBarham ea7efb4e9f Run update-loc again 2017-05-18 19:19:14 +10:00
Tim Barham e19b949f16 Support ignoring element content and attributes for i18n (#242) 2017-05-18 19:17:32 +10:00
Tim Barham 6bcb204b4d Run update-loc with latest changes (#241) 2017-05-18 17:55:27 +10:00
Tim Barham 476ec0b25b Use new version of Microsoft text translation engine (#240)
Microsoft Translator is no longer available on the Microsoft DataMarket platform, since that was retired 4/30/2017. Now must access it via Azure portal. This change updates mstranslator npm module to the latest version, and passes an Azure portal key instead of Microsoft DataMarket client id and secret.
2017-05-18 17:52:25 +10:00
Tim Barham a0852b9d50 Add 'name' property to GPX playback speed combobox. (#223)
Also, update cordova-combobox to handle name property, and localization tools to treat name property as translatable.
2017-02-03 12:53:49 -08:00
Tim Barham 2a4e6b6974 Fix slight error in ko.xlf and run update-loc (#214) 2016-12-05 20:18:09 +10:00
v-mdriml 8a8bc6b820 Loc HB 2016-12-05 (#213) 2016-12-05 20:05:26 +10:00
Tim Barham 4e81e75b88 Provide machine translations of new strings. (#210) 2016-11-30 11:15:06 +10:00
Tim Barham ebcfeef06c Fix additional cases where 'alpha' should not be translated. (#209) 2016-11-30 10:44:16 +10:00
Jimmy Thomson ba2b0f4e4e Updating loc and version 2016-11-29 08:30:17 -08:00
Zbyněk Sailer 5ec750e881 LOC CHECKIN | Bug 292812
https://devdiv.visualstudio.com/DevDiv/_workitems?id=292812&_a=edit
2016-11-29 10:12:12 +01:00
TimBarham b1192b10e1 Updated xliff files for recent string changes/additions. 2016-11-16 09:28:17 -08:00
Tim Barham d60897e818 Run loc update with new string and fixed hypen handling (#199) 2016-11-14 15:16:36 -08:00
Tim Barham 3b294cfde1 Loc tools should handle localized attributes with hyphens (#198)
Also add aria-label to translated attributes.
2016-11-14 15:15:58 -08:00
TimBarham ecb5736d85 Run loc update with new string and fixed hypen handling 2016-11-14 15:13:47 -08:00
Tim Barham a999326185 Run update-loc with latest changes. (#196) 2016-11-11 11:11:56 -08:00
Jason Wang 5fd3fa34b7 More enhancement on screen reader scenarios (#189)
* More enhancement on screen reader scenarios

1. For motion plugin - a) make sure text under image is not read out
2. For orientation plugin - a) make sure text under image is not read out b) make sure label for text box is not read twice when focus on the panel
3. For geolocation plugin - a) make sure geo-delay slider value is not read twice b) make sure the map is not read
4. In general, add "panel" to each panel caption when the caption is read out

* Add panel-label for localization purpose

also remove the duplicate read on radio button

* Sanity cleaning.

* Address Tim's comments

1. change div to span and wrap around the caption span
2. set cordova-label template to be aria-hidden

* make dialog focusable and reads out with dialog appended

* address issues

1. change code that sets focus to first element in dialog - instead set focus to dialog itself.
2. geolocation panel - minus button, meters, meters per second, readout navigation simulator

* address issues

in accelerometer panel, meter per second squared, degree

* fix battery panel issues - label are not read when focus panel

* fix issues in exec panel - read out no values saved

* add read-label to localization tool

* change read-out to a standard boolean attribute

* rename panel-label/read-label to spoken-text, rename read-out to spoken

* revert label value template change since it's not applicable anymore

* more revert to last commit

* resolving Tim's comments
2016-11-11 10:31:19 -08:00
Tim Barham 773cc77575 Don't translate two letter compass directions. (#183)
(Single letter directions already handled)
2016-10-28 11:23:28 -07:00
Tim Barham 29fec7a670 Run update-loc with real translations. (#163) 2016-10-04 13:15:49 +10:00
Tim Barham 77ba3214de Updates to XLIFF handling (loc update process). (#162)
* Handle XLIFF files with XML declaration (xliff element is not first node in doc).
* Include XML declaration in generated XLIFF files.
* Only recreate XLIFF file if we actually change its contents.
* Remove 'mt-suggestion' state qualifier from translated trans-units.
2016-10-04 13:09:28 +10:00
v-mdriml 7c4def2a07 LOC HB XLIFF 2016-10-03 (#161) 2016-10-04 08:57:24 +10:00
Tim Barham faee5adf3f Normalize the requested language to something we can use. (#159)
Also, change 'HanS' to 'Hans' and 'HanT' to 'Hant', as the more typical representation of these values.
2016-09-29 16:49:36 +10:00
TimBarham 6ad0bd9bae Update xlf and html files after changes to update-loc 2016-09-28 11:42:08 +10:00
Tim Barham 77cd370fa6 Update Chinese language names and sort XLIFF files by source file order (#158)
The order we process languages can change when we get machine generated translations - depends how quickly they come back. The result is that the order in which we construct the XLIFF files can change. This change sort them first so the order remains consistent.

Also, per loc team request, update Chinese language names.
2016-09-28 11:39:32 +10:00
Tim Barham d7199c9a76 Ran update-loc script. (#157)
* Removed old i18n.json files, which are no longer used
* Removed separate xlf files, which are no longer used (in favor of a single file per language).
2016-09-28 08:49:44 +10:00
TimBarham fd5eda793b Generate a single xliff file for each language.
(Rather than one per source file per language).

This closes #156
2016-09-28 08:35:54 +10:00
Tim Barham f1db78a152 Creates localized HTML files instead of JSON files. (#155)
Rather than doing a replace at runtime, this creates localized versions of each HTML file on update, and serves up the appropriate version of the file at runtime.
2016-09-28 08:30:52 +10:00
Tim Barham 9a5d8f5cd0 Adds xlf and i18n.json files (from running update-loc script) (#154) 2016-09-27 11:29:04 +10:00
Tim Barham 04deb4ba81 Adds support for localization. (#153)
* Adds tools/i18n folder with dev support scripts (update.js is the driving script).
* Adds "update-loc" script to package.json which calls update.js.
* See tools/i18m/README.md for more information.
2016-09-27 11:21:29 +10:00