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

36 Коммитов

Автор SHA1 Сообщение Дата
Eemeli Aro 9e7ffeb5e0 Bug 1446164 - Migrate formautofill edit dialogs to Fluent. r=sgalich,fluent-reviewers,flod
Migrating the strings used by the edit dialogs also allows/requires for their migration elsewhere.

Some streamlining is applied to how autofillEditForms.js gets access to e.g. FormFillUtils methods, so that they are no longer routed via the XHTML files' script tags. The prior independence of this file from internal dependencies appears to have been in place to support its use as a part of the Payments API's UI, but that was dropped in bug 1721229.

The Fluent migration script included in this patch also covers changes from the immediately preceding patch.

The intl documentation change is a typo correction that was noticed while working on this patch.

Differential Revision: https://phabricator.services.mozilla.com/D155705
2022-09-01 20:35:37 +00:00
Norisz Fay e1a0b90205 Backed out 2 changesets (bug 1786708, bug 1446164) for causing multiple failures CLOSED TREE
Backed out changeset 469e2500f00e (bug 1446164)
Backed out changeset 0d298c6f7475 (bug 1786708)
2022-09-01 15:34:56 +03:00
Eemeli Aro 5475c4b139 Bug 1446164 - Migrate formautofill edit dialogs to Fluent. r=sgalich,fluent-reviewers,flod
Migrating the strings used by the edit dialogs also allows/requires for their migration elsewhere.

Some streamlining is applied to how autofillEditForms.js gets access to e.g. FormFillUtils methods, so that they are no longer routed via the XHTML files' script tags. The prior independence of this file from internal dependencies appears to have been in place to support its use as a part of the Payments API's UI, but that was dropped in bug 1721229.

The Fluent migration script included in this patch also covers changes from the immediately preceding patch.

The intl documentation change is a typo correction that was noticed while working on this patch.

Depends on D155478

Differential Revision: https://phabricator.services.mozilla.com/D155705
2022-09-01 08:26:47 +00:00
Sylvestre Ledru caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Dan Minor 1c51720ed4 Bug 1719746 - Update make_intl_data.py to generate LocaleGenerated.cpp; r=anba,gregtatum
This updates the script to generate intl/components/LocaleGenerated.cpp. I've
also tried to make it better match clang-format's style in places where that
wasn't too challenging.

Differential Revision: https://phabricator.services.mozilla.com/D126989
2021-10-18 13:38:23 +00:00
Butkovits Atila 7495be3566 Backed out 9 changesets (bug 1719746, bug 1735341) as requested by dev. CLOSED TREE
Backed out changeset f1b3e7dec7e2 (bug 1735341)
Backed out changeset e7675e3524da (bug 1719746)
Backed out changeset 05109157a4b5 (bug 1719746)
Backed out changeset b98f10477f44 (bug 1719746)
Backed out changeset dce9c0d6c79c (bug 1719746)
Backed out changeset 472767f43cad (bug 1719746)
Backed out changeset 4fa55bded471 (bug 1719746)
Backed out changeset 391c305dce1f (bug 1719746)
Backed out changeset 5f20632de2be (bug 1719746)
2021-10-15 02:02:25 +03:00
Dan Minor 49de63ce42 Bug 1719746 - Update make_intl_data.py to generate LocaleGenerated.cpp; r=anba,gregtatum
This updates the script to generate intl/components/LocaleGenerated.cpp. I've
also tried to make it better match clang-format's style in places where that
wasn't too challenging.

Differential Revision: https://phabricator.services.mozilla.com/D126989
2021-10-13 12:07:03 +00:00
André Bargull a3e91cb71a Bug 1728180 - Part 2: Call mozilla::intl::Calendar methods in intl_GetCalendarInfo. r=platform-i18n-reviewers,dminor
Use `mozilla::intl::Calendar` instead of directly calling ICU in
`intl_GetCalendarInfo`. This implies that the days of the week are now ordered
the same way as in the "Intl Locale Info API" and the "Temporal" proposal, i.e.
starting from Monday=1 to Sunday=7.

Differential Revision: https://phabricator.services.mozilla.com/D126228
2021-09-23 07:43:51 +00:00
André Bargull aae4fba66e Bug 1728180 - Part 1: Change "Intl.getCalendarInfo" to return an array of weekend days. r=platform-i18n-reviewers,dminor
Returning an array matches the current "Intl Locale Info API" proposal and
actually also simplifies the single user of this function.

Differential Revision: https://phabricator.services.mozilla.com/D126227
2021-09-23 07:43:51 +00:00
Dan Minor 7e6caf3eeb Bug 1642415 - Use metasource in FileSource; r=platform-i18n-reviewers,extension-reviewers,gregtatum,zombie
Differential Revision: https://phabricator.services.mozilla.com/D125239
2021-09-22 18:16:07 +00:00
André Bargull 82ecb29b4c Bug 1639515 - Part 4: Update docs to point to Intl.DisplayNames. r=platform-i18n-reviewers,gregtatum
Update the documention to mention `Intl.DisplayNames` instead of
`Intl.getDisplayNames`.

Differential Revision: https://phabricator.services.mozilla.com/D76116
2021-09-14 09:20:32 +00:00
criss 59cdd2a63e Backed out 6 changesets (bug 1639515) for causing failures on test_intlUtils_getDisplayNames.html. CLOSED TREE
Backed out changeset eaff696ed6a6 (bug 1639515)
Backed out changeset 6d361f92b27e (bug 1639515)
Backed out changeset 6919213b03f7 (bug 1639515)
Backed out changeset 5a08d3b17fa7 (bug 1639515)
Backed out changeset 3681111b7ed3 (bug 1639515)
Backed out changeset 970826244d07 (bug 1639515)
2021-09-14 10:45:35 +03:00
André Bargull 252e2973ec Bug 1639515 - Part 4: Update docs to point to Intl.DisplayNames. r=platform-i18n-reviewers,gregtatum
Update the documention to mention `Intl.DisplayNames` instead of
`Intl.getDisplayNames`.

Differential Revision: https://phabricator.services.mozilla.com/D76116
2021-09-14 06:52:33 +00:00
André Bargull 067c27c5ab Bug 1728182 - Part 2: Remove getLocaleInfo from toolkit. r=platform-i18n-reviewers,dminor
Depends on D125160

Differential Revision: https://phabricator.services.mozilla.com/D125163
2021-09-12 13:45:21 +00:00
Zibi Braniecki 61e69628d6 Bug 1672317 - [l10nfilesource] part5: Migrate tests to use L10nFileSource. r=platform-i18n-reviewers,gregtatum
Depends on D105391

Differential Revision: https://phabricator.services.mozilla.com/D103259
2021-07-29 21:30:26 +00:00
Noemi Erli 9009ea58e0 Backed out 9 changesets (bug 1672317) for causing toolchain bustages
Backed out changeset c7d16d1bbf56 (bug 1672317)
Backed out changeset 8367ff19d3ba (bug 1672317)
Backed out changeset cce54c20ec3c (bug 1672317)
Backed out changeset a5d67460e7bb (bug 1672317)
Backed out changeset b78f3e332d57 (bug 1672317)
Backed out changeset 3e84f9a521f4 (bug 1672317)
Backed out changeset 1aaa22cf7c13 (bug 1672317)
Backed out changeset d850981cf33c (bug 1672317)
Backed out changeset 944805ef4561 (bug 1672317)
2021-07-30 00:19:40 +03:00
Zibi Braniecki 792cf026d4 Bug 1672317 - [l10nfilesource] part5: Migrate tests to use L10nFileSource. r=platform-i18n-reviewers,gregtatum
Depends on D105391

Differential Revision: https://phabricator.services.mozilla.com/D103259
2021-07-29 17:31:53 +00:00
Mike Hommey bd7b38f8ce Bug 1654094 - Update ICU care-and-feeding docs for automatic big-endian support. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D85358
2020-07-31 18:58:05 +00:00
André Bargull 9f3944b5b4 Bug 1645459: Add numbering systems processing to the standard Intl python script. r=jwalden
Handle numbering systems similar to measurement units:
- Add a central list of all supported numbering systems in a yaml file.
- Verify these numbering systems are supported by ICU.
- Also verify ICU supports no additional simple numbering systems. (ECMA-402
  should support all numbering systems with simple digit mappings defined in
  CLDR.)
- Generate source and test files from this list of numbering systems.

Differential Revision: https://phabricator.services.mozilla.com/D81717
2020-07-10 17:19:42 +00:00
Axel Hecht 595a699c3e Bug 1649441, port ICU update docs into firefox-source-docs, r=jwalden
This is just a copy via pandoc, and some minor fixups. No actual
content changes, aside of linter fixes.

Differential Revision: https://phabricator.services.mozilla.com/D81703
2020-07-07 11:24:08 +00:00
Jon Bauman a415128250 Bug 1649312 - No derogatory language: Remove references to grandfather in comments r=njn,zbraniecki,keeler,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D81628
2020-07-01 15:23:26 +00:00
Aaron Klotz 4fe8e48486 Bug 1648631: Part 4 - Update docs to reflect L10nRegistry interface change; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D81392
2020-06-26 21:04:44 +00:00
Axel Hecht 476d78e55c Bug 1599045, part 1 - untangle l10n from intl documentation, r=flod
We'll be doing redirects at the final stage of this patch queue.

Differential Revision: https://phabricator.services.mozilla.com/D55124

--HG--
rename : intl/l10n/docs/index.rst => intl/l10n/docs/fluent/index.rst
rename : intl/l10n/docs/fluent_review.rst => intl/l10n/docs/fluent/review.rst
rename : intl/l10n/docs/fluent_tutorial.rst => intl/l10n/docs/fluent/tutorial.rst
rename : intl/l10n/docs/fluent_migrations.rst => intl/l10n/docs/migrations/index.rst
rename : intl/docs/localization.rst => intl/l10n/docs/overview.rst
extra : moz-landing-system : lando
2019-12-03 15:42:34 +00:00
championshuttler 9316d7c7ca Bug 1569472 - Enable RST linter for browser/docs/ and tools/tryselect/docs/. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D41991

--HG--
extra : moz-landing-system : lando
2019-08-16 20:05:58 +00:00
Liang-Heng Chen 624de11cb1 Bug 1492587 - spoof date picker to en-US when pref is set; r=zbraniecki,baku
spoof locale on datepicker to English when privacy.spoof_english == 2

Differential Revision: https://phabricator.services.mozilla.com/D19148

--HG--
extra : moz-landing-system : lando
2019-03-29 10:49:58 +00:00
Ian Moody 387d7bcb2c Bug 1539128 - Add fluent docs to the docs sidebar under Localization. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D24879

--HG--
extra : moz-landing-system : lando
2019-03-26 13:47:55 +00:00
Francesco Lodolo (:flod) 1da76eaf4a Bug 1526805 - Fix broken links in Fluent documentation r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D19329

--HG--
extra : moz-landing-system : lando
2019-02-11 08:52:21 +00:00
Zibi Braniecki abcd557c95 Bug 1509583 - Migrate region/language names resources to Fluent. r=flod,mossop
Differential Revision: https://phabricator.services.mozilla.com/D12807

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:50 +00:00
Zibi Braniecki 9436ebe59a Bug 1509583 - Refactor mozIntl.getRegions to mozIntl.getAvailableLocaleDisplayNames. r=jfkthame,MattN
Differential Revision: https://phabricator.services.mozilla.com/D13188

--HG--
extra : moz-landing-system : lando
2019-01-11 00:25:52 +00:00
Sylvestre Ledru d199598908 Bug 1496026 - Fix some trivial typos r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D7584

--HG--
extra : moz-landing-system : lando
2018-10-03 13:39:07 +00:00
Zibi Braniecki 83ea94f5ba Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

Differential Revision: https://phabricator.services.mozilla.com/D6339

--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Francesco Lodolo (:flod) 701def8dcf Bug 1492118 - Correct reference to intl.regional_prefs.use_os_locales in locale documentation r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D6142

--HG--
extra : moz-landing-system : lando
2018-09-18 16:06:27 +00:00
Francesco Lodolo (:flod) fe5f3fd914 Bug 1467377 - Fix typos in Intl and L10n documentation r=gandalf
MozReview-Commit-ID: 9zP6j7COEiJ

--HG--
extra : rebase_source : 35b44964d38f53f62522d0709b18d7dfa1ca8a9a
2018-06-07 08:20:49 +02:00
Zibi Braniecki 2c11915c39 Bug 1438687 - Add Developer documentation for l10n. r=flod,Pike
MozReview-Commit-ID: J3jZuyyRKXM

--HG--
extra : rebase_source : 09023a869d19616e914b1c5494bd57808489003f
2018-04-26 14:19:22 -07:00
Zibi Braniecki 1f437852f1 Bug 1438687 - Add Developer documentation for Intl and mozIntl. r=jfkthame,Pike
MozReview-Commit-ID: HbKJoM66iD6

--HG--
extra : rebase_source : 41b92532ba1fee024b6435ee84f8f6df32bd48b3
2018-04-26 14:19:01 -07:00
Zibi Braniecki 41175a3f18 Bug 1438687 - Add Developer documentation for LocaleService. r=jfkthame,Pike
MozReview-Commit-ID: Jk2BhKBsW8S

--HG--
extra : rebase_source : 13919722aa508cac0f4c9638dc6ff9a6bf4607ce
2018-04-26 14:18:34 -07:00