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

41 Коммитов

Автор SHA1 Сообщение Дата
Dan Minor 4d45674d06 Bug 1696206 - Update documentation for legacy migrations; r=flod
Differential Revision: https://phabricator.services.mozilla.com/D108762
2021-03-17 18:51:01 +00:00
Greg Tatum d953c6cc53 Bug 1697207 - Add docs for using access keys in Fluent; r=flod
Differential Revision: https://phabricator.services.mozilla.com/D107662
2021-03-15 14:39:56 +00:00
Julien Wajsberg f42ca1a49d Bug 1681725 - Fix a broken link to the Fluent tutorial r=flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99352
2020-12-10 15:03:24 +00:00
Dan Minor 57441aa8cc Bug 1673054 - Migrate uses of intl.uidirection to intl.l10n.pseudo; r=Gijs,zbraniecki
This also removes pref overrides from methods like LocaleService::IsLocaleRTL or
IntlService.getLocaleInfo, because it doesn't really make sense to override the
result of checking an arbitrary locale, the relevant use case is overriding the
result for the current app locale.

Removal of the intl.uidirection pref completely will be done in a separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D96235
2020-11-09 15:33:39 +00:00
Sylvestre Ledru 264cb8dba5 no bug - fx doc - Fix some rst warnings
Depends on D90832

Differential Revision: https://phabricator.services.mozilla.com/D90864
2020-09-22 06:26:42 +00:00
Axel Hecht d8de3ed277 Bug 1615225, document cross-channel l10n, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D70340
2020-07-07 09:54:00 +00:00
chocos 6492876c9d Bug 1648959 - Done internal linking in docs in intl Directory DONTBUILD.r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D81461
2020-07-01 19:31:35 +00:00
Sylvestre Ledru 7de68c2cea Bug 1642898 - Remove most of the references of black/whitelist within the doc r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78000
2020-06-03 09:34:12 +00:00
Stas Malolepszy dd59a74cce Bug 1637254 - Update docs about fluent.migrate 0.9. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D75108
2020-05-14 06:30:05 +00:00
Sylvestre Ledru 51ca3d607b no bug - lint doc: Update some old links r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D70576

--HG--
extra : moz-landing-system : lando
2020-04-13 19:48:48 +00:00
Axel Hecht c7b5617848 Bug 1601321, rework Fluent migration documentation, r=flod,stas
* Split existing migration document
* Add some overview on migration recipes
* Review legacy migration docs
* Not a lot of changes to the Fluent-to-Fluent parts, intentionally

The changes to the legacy docs are mostly driven by how much
a particular caveat bugged me. There's surely more to do on that doc.

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

--HG--
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/fluent.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/legacy.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/localizations.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/overview.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/testing.rst
extra : moz-landing-system : lando
2020-01-10 16:56:03 +00:00
Axel Hecht 074c50bcd7 Bug 1587046, fix mistakes in Fluent markup l10n doc, r=stas
There's a few mistakes in the Fluent markup docs, most found
by standard8:

- data-l10n-name is missing
- data-l10n-args needs to be valid JSON
- setAttributes lacks closing `);`
- No nested DOM support (that's not mentioned in the bug)

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

--HG--
extra : moz-landing-system : lando
2019-12-04 17:23:09 +00:00
Axel Hecht 4dfde3744d Bug 1599045 - part 3, Fluent is the status-quo, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D55127

--HG--
extra : moz-landing-system : lando
2019-12-03 15:43:45 +00:00
Axel Hecht abdae0cda5 Bug 1599045, part 2 - merge compare-locales docs into build docs, r=flod
The "Localization" docs in tools/compare-locales are really mostly
build, so merging that content into the builds doc.

Removing Android parts, add Fluent there, noting DTD deprecation.

Moving the glossary to the actual l10n docs.

With proper top-level structure, show 2 levels of l10n and intl
on the front-matter page.

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

--HG--
rename : tools/compare-locales/docs/glossary.rst => intl/l10n/docs/glossary.rst
extra : moz-landing-system : lando
2019-12-03 15:43:10 +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
Francesco Lodolo (:flod) e0d471ca93 Bug 1587728 - Add documentation for Fluent to Fluent migrations r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D48822

--HG--
extra : moz-landing-system : lando
2019-10-11 13:18:37 +00:00
Axel Hecht d638afbb1b Bug 1574411, use fluent.pygments to syntax-highlight code blocks, r=ahal,flod
Differential Revision: https://phabricator.services.mozilla.com/D42277

--HG--
extra : moz-landing-system : lando
2019-08-16 16:41:15 +00:00
Axel Hecht d3cf6d2c83 Bug 1571671 - Enable RST linting on fluent docs in intl/l10n/docs. r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D40831

--HG--
extra : moz-landing-system : lando
2019-08-09 19:20:59 +00:00
Axel Hecht c3a71a9957 Bug 1321281, add test framework for Fluent migration recipes, r=flod,ahal
Basic test infrastructure for Fluent migration recipes, automate creating
a reference from recipe data, and running the recipe dry and wet.

There are no hard failures for diffs, as it might just be OK.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 11:54:30 +00:00
Francesco Lodolo (:flod) 6f73f2be58 Bug 1563673 - Add Fluent guidelines for reviewer to Firefox documentation r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D37038

--HG--
extra : moz-landing-system : lando
2019-07-16 14:20:34 +00:00
Zibi Braniecki b0ba25f8b9 Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike
Differential Revision: https://phabricator.services.mozilla.com/D34584

--HG--
extra : moz-landing-system : lando
2019-07-01 17:56:57 +00:00
Zibi Braniecki 0075d6e610 Bug 1552714 - Migrate all remaining callsites to use WebIDL DOMLocalization and remove mozIDOMLocalization and DOMLocalization.jsm. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33200

--HG--
rename : intl/l10n/test/dom_overlays/test_same_id.html => dom/l10n/tests/mochitest/domoverlays/test_same_id.html
rename : intl/l10n/test/dom_overlays/test_same_id_args.html => dom/l10n/tests/mochitest/domoverlays/test_same_id_args.html
extra : moz-landing-system : lando
2019-06-06 16:32:49 +00:00
Axel Hecht 08639a4653 Bug 1540089, doc fix for Fluent 0.9 Syntax, r=stas
Depends on D25403

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:51:58 +00:00
championshuttler 677714a968 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24536

--HG--
extra : moz-landing-system : lando
2019-03-22 19:30:34 +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 614ca1e082 Bug 1523194 - Remove XPIDL for DOMLocalization and use do_ImportModule instead. r=jfkthame,kmag
Differential Revision: https://phabricator.services.mozilla.com/D17780

--HG--
extra : moz-landing-system : lando
2019-02-07 01:52:45 +00:00
Francesco Lodolo (:flod) 2ba5ceb4f0 Bug 1521279 - Update Fluent migration documentation to include whitespaces trimming and parameter normalization r=Pike
1. Updated TERM_REFERENCE() example for Fluent syntax 0.8
2. Documented print parameter normalization (bug 1317336)
2. Documented whitespaces trimming (bug 1493184)

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

--HG--
extra : moz-landing-system : lando
2019-01-21 15:00:00 +00:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Francesco Lodolo (:flod) f502206960 Bug 1507441 - Replace FTL.VariantName with FTL.Identifier in existing recipes and documentation, fix nits in recipes r=stas
Differential Revision: https://phabricator.services.mozilla.com/D12001

--HG--
extra : moz-landing-system : lando
2018-11-15 12:48:09 +00:00
Zibi Braniecki 56bbe2cfb3 Bug 1498960 - Update Fluent in Gecko to 0.9. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D8689

--HG--
rename : intl/l10n/MessageContext.jsm => intl/l10n/Fluent.jsm
extra : moz-landing-system : lando
2018-10-20 16:35:50 +00:00
Francesco Lodolo (:flod) 236f33b702 Bug 1494300 - Fix migration example for FTL.SelectExpression r=stas
Differential Revision: https://phabricator.services.mozilla.com/D6902

--HG--
extra : moz-landing-system : lando
2018-09-27 06:57:34 +00:00
Zibi Braniecki 70411b2b33 Bug 1493625 - Make LocaleService::IsAppLocaleRTL react to pseudo. r=flod,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D6689

--HG--
extra : moz-landing-system : lando
2018-09-25 16:48:16 +00:00
Francesco Lodolo (:flod) f8e0411407 Bug 1492052 - Add naming convention for Fluent messages to documentation r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D6124

--HG--
extra : moz-landing-system : lando
2018-09-18 16:06:55 +00:00
Zibi Braniecki 4bf900d584 Bug 1455649 - DocumentL10n, part 4 - Switch Preferences to use DocumentL10n API. r=smaug
--HG--
extra : rebase_source : 969d8ac56c3a033b707fab4508423407386abd35
2018-09-06 18:30:37 -07:00
Axel Hecht 85cca5e505 bug 1478343, update Fluent migration docs, r=stas
The changes affecting the docs include:
Rename of EXTERNAL_ARGUMENT to VARIABLE_REFERENCE
Addition of TERM_REFERENCE

Docs already talk about variable references, too.

MozReview-Commit-ID: KUwPSqJyBn0

--HG--
extra : rebase_source : d1b8b3aa42716ba9884422687c8ae8946805bb1f
2018-07-26 11:17:57 +02:00
Francesco Lodolo (:flod) b8cbb8c7e1 Bug 1467183 - Add documentation for Fluent migrations, r=gandalf,Pike,stas
MozReview-Commit-ID: 8eaH4SaXfAu

--HG--
extra : rebase_source : a8af1c7613fd4dc50b6bedde45c8a2d61403ee8c
2018-06-07 18:19:00 +02: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 a3bf95f8ee Bug 1450781 - Enable pseudolocalization in Fluent. r=mossop
MozReview-Commit-ID: Cs8OubRRur4

--HG--
extra : rebase_source : 10f2ff4983d0785278a030d134a41582e4714f71
2018-06-01 12:37:13 -07:00
Zibi Braniecki 93ac8e7357 Bug 1461048 - Convert Fluent API calls to FluentDOM 0.3.0. r=mossop
MozReview-Commit-ID: K3eA8blcP2x

--HG--
extra : rebase_source : 8aca3e850d9c8f87e13aa5d1dcad588b9a272a94
2018-05-14 12:37:41 -07:00
Zibi Braniecki 314d9393b8 Bug 1443697 - Fix nits in Fluent for Firefox Developers. r=flod
MozReview-Commit-ID: 4QSBa01XXp3

--HG--
extra : rebase_source : 1d68adcced17cb5904f8a87aadc2f4a7309f17c1
2018-03-06 17:48:17 -08:00
Zibi Braniecki db6356be2b Bug 1438655 - Add Introduction to Fluent for Firefox Developers. r=flod
MozReview-Commit-ID: 33v3OTFYRHi

--HG--
extra : rebase_source : 27c549ae74fd9f132a8066e864d570b9e3218e91
2018-02-27 23:52:26 -08:00