| Age | Commit message (Collapse) | Author |
|
suffixes.
Basque (eu) grammar requires conditional suffixes on years and day
articles that depend on the final sound of the preceding word. Since
Django's format strings are static, the CLDR parenthetical convention
("(e)ko" instead of "ko") is used to express the optionality.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
|
|
Forwardport of 00575b79312c719a6b37035067095e2d679bb5d7 from stable/6.0.x.
|
|
docs/topics/i18n/formatting.txt.
Co-authored-by: Ahmed Nassar <a.moh.nassar00@gmail.com>
|
|
Thanks Chris Anderson for the report.
|
|
Thanks Rebecca Conley for the review.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
Forwardport of 22eed0384478e6d3167483cad8df03c687addeff from stable/6.0.x.
|
|
Forwardport of 2a2936c3e6444a0f37156773ca405cedaf28dea7 from stable/5.2.x.
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
Forwardport of 5901cfe591139b4389171ba738be81e8f4d5cfc9 from stable/5.2.x.
|
|
Forwardport of cc31b389a11559396fc039511c0dc567d9ade469 from stable/5.2.x.
|
|
Forwardport of d2b1ec551567c208abfdd21b27ff6d08ae1a6371 from stable/5.2.x
|
|
|
|
Forwardport of e245f62d0052d7b15fa2a60926d59eeeefee9be1 from stable/5.1.x.
|
|
Forwardport of 380c6e6ddd7890fbe65826873579ef6e3af0c07d from stable/5.1.x.
|
|
Forwardport of 3af9c11b3b12729be26ef9da9cc32276a032d3cd from stable/5.1.x.
|
|
|
|
Formatting rules sourced from:
- https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/numbers-decimal-fractions.html
- https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/time-of-day-elapsed-time.html
- 1ac397674b2f64d48e66502a20b9d9ca6bfb579a
|
|
Thanks Simon Charette for the review.
|
|
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
|
|
Forwardport of 8e1b820fa10d16664beb5d1ca2f5671891da1704 from stable/5.0.x.
|
|
This work includes the updating of the translations catalog for JS files. The
catalog was generated with this command:
django-admin makemessages -l en --domain=djangojs -i views/templates/i18n_catalog.js
The `views/templates/i18n_catalog.js` file had to be ignored because otherwise
the command would fail as follows:
xgettext: warning: msgid '' is used without plural and with plural.
./views/templates/i18n_catalog.js:52: Here is the occurrence without plural.
./views/templates/i18n_catalog.js:60: Here is the occurrence with plural.
Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation.
CommandError: errors happened while running msguniq
/home/nessita/fellowship/django/django/conf/locale/djangojs.pot:22: context separator <EOT> within string
/home/nessita/fellowship/django/django/conf/locale/djangojs.pot:23: context separator <EOT> within string
msguniq: found 2 fatal errors
Forwardport of c3f890a5803774887fc73a005cba7bf736bb546c from stable/5.0.x.
|
|
Formating rules sourced from
- https://www.btb.termiumplus.gc.ca/tpv2guides/guides/clefsfp/index-fra.html?lang=fra&lettr=indx_catlog_d&page=9lcOojjUrxt8.html
- https://vitrinelinguistique.oqlf.gouv.qc.ca/21241/la-typographie/nombres/ecriture-des-dates-et-des-heures-dans-certains-contextes-techniques
- https://en.wikipedia.org/wiki/Date_and_time_notation_in_Canada
- https://metacpan.org/dist/DateTime-Locale/view/lib/DateTime/Locale/fr_CA.pod
|
|
|
|
|
|
|
|
Thanks Tom Moran for the report.
|
|
|
|
Forwardport of fa687719321329f4e5017b7fc1b8cadae3c63c32 from stable/4.2.x.
|
|
Format was updated from a comma to a space in 2010.
ref: https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_use
|
|
Forward port of 6fef789e456204752ec6b77b41740d67553fdd6f from stable/4.2.x.
|
|
Updated Bulgarian, Esperanto, Hungarian, Japanese, Macedonian, Persian,
Portuguese (Brazil), Russian, Spanish, and Turkmen translations.
Forwardport of 46b28bbe151282e9198b719d00f84b48c92606ba from stable/4.1.x.
|
|
|
|
This also fixes related i18n tests.
Forwardport of a3bab9332416f655c6ae0fa306c94f7f52e7398d from stable/4.1.x.
Co-authored-by: Claude Paroz <claude@2xlibre.net>
|
|
Forward port of d1f1a0168ab8a2556980ec1410512b5f02502da4 from
stable/4.1.x.
|
|
Changed DATE_FORMAT, DATETIME_FORMAT and MONTH_DAY_FORMAT
to use E placeholder (Month, locale specific alternative)
to handle both “de gener” and contracted “d’abril” cases.
Thanks to Ferran Jovell for review.
|
|
|
|
inline comments.
Lists with multiple values and comments per-line are reformatted
by Black to multiple lines with a single comment. For example:
DATE_INPUT_FORMATS =
"%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", # '2006-10-25', '10/25/2006', '10/25/06'
]
is reformatted to the:
DATE_INPUT_FORMATS =
"%Y-%m-%d",
"%m/%d/%Y",
"%m/%d/%y", # '2006-10-25', '10/25/2006', '10/25/06'
]
This reformats affected entries to multiple lines with corresponding
comments.
|
|
Updated Bulgarian, Czech, German, Uzbek, and Vietnamese translations.
Forwardport of 7a1c6533eb72c3e6faa308796ba7f8d7d447d3b9 from stable/4.0.x.
|
|
This also fixes related i18n tests.
Forwardport of 4c5215ab036aa8fda9cd0148fd034f4d8f7d69d1 from stable/4.0.x
Co-authored-by: Claude Paroz <claude@2xlibre.net>
|
|
|
|
Forwardport of 5b8cc4ce2679dbf45c257a57a93307201e52e5b6 from stable/4.0.x.
|
|
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
Forwardport of 04b744050f1743a88e2bf0ca2ca82b34e3361f50 from stable/3.2.x.
|
|
|
|
Forwardport of 1ea5e983151f797b285c789626411b9373cd8727 from stable/3.2.x.
|
|
Forwardport of 3dc3a952b28af444cb3bc83d4638a0e5fc2eeae1 from stable/3.2.x.
|
|
|
|
|
|
Forwardport of f7397bb7c8cb938161a9d43a16ee974f41c96a8b from stable/3.1.x.
|