nessita
7d9dd7b68f
Updated translations from Transifex.
...
Forwardport of e245f62d0052d7b15fa2a60926d59eeeefee9be1 from stable/5.1.x.
2024-10-07 17:37:36 -03:00
Marc Gibbons
6765b6adf9
Fixed #35797 -- Removed debug context processor from default project template.
2024-09-30 16:52:28 -03:00
r0Zh-ovanya
4b65dc2f21
Updated link with valid options for LANGUAGE_CODE in global_settings.py.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-09-19 09:18:05 -03:00
Natalia
bdcf789553
Updated translations from Transifex.
...
Forwardport of 380c6e6ddd7890fbe65826873579ef6e3af0c07d from stable/5.1.x.
2024-08-07 10:09:42 -03:00
Natalia
f619d31fa5
Updated source translation catalogs.
...
Forwardport of 3af9c11b3b12729be26ef9da9cc32276a032d3cd from stable/5.1.x.
2024-05-22 15:55:26 -03:00
Adam Zahradník
d59066b90c
Corrected Slovak local name.
2024-05-08 13:43:36 -03:00
Candide U
f6387df37b
Fixed #35152 -- Added en_CA locale formats.
...
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
2024-02-01 05:22:31 +01:00
Candide U
55f9512489
Corrected FIRST_DAY_OF_WEEK for fr_CA.
...
Thanks Simon Charette for the review.
2024-02-01 05:22:31 +01:00
Claude Paroz
41aaf5aafa
Updated translations from Transifex.
...
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
2024-01-29 06:10:52 +01:00
Natalia
5076bb41d0
Updated translations from Transifex.
...
Forwardport of 8e1b820fa10d16664beb5d1ca2f5671891da1704 from stable/5.0.x.
2023-12-04 09:57:14 -03:00
Mariusz Felisiak
a4931cd75a
Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.
...
This allows early adoption of the new default "https".
2023-11-28 20:04:21 +01:00
Natalia
eeb5c583f7
Updated source translation catalogs.
...
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.
2023-09-18 19:07:45 -03:00
Mariusz Felisiak
f72f420f17
Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
...
This also removes django.core.files.storage.get_storage_class().
Per deprecation timeline.
2023-09-18 22:12:40 +02:00
Mariusz Felisiak
a7c73b944f
Fixed #34821 -- Prevented DEFAULT_FILE_STORAGE/STATICFILES_STORAGE settings from mutating the main STORAGES.
...
Regression in 6b965c600054f970bdf94017ecf2e0e6e0a4326b.
2023-09-11 13:04:32 +02:00
Simon Charette
1ac397674b
Refs #34784 -- Added fr_CA locale formats.
...
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
2023-08-28 21:37:23 +02:00
Claude Paroz
fdf14cfc01
Fixed #34784 -- Adjusted SHORT_DATE_FORMAT in various French variants.
2023-08-28 21:36:36 +02:00
tell-k
6934fc3f6e
Fixed #34788 -- Corrected NUMBER_GROUPING for Japanese.
2023-08-22 05:31:57 +02:00
Mariusz Felisiak
6b965c6000
Fixed #34773 -- Fixed syncing DEFAULT_FILE_STORAGE/STATICFILES_STORAGE settings with STORAGES.
...
Thanks Petr Dlouhý for the report.
Bug in 32940d390a00a30a6409282d314d617667892841.
2023-08-18 18:11:24 +02:00
Azat
d25f389211
Added Uyghur language.
2023-08-12 20:37:15 +02:00
Michael J Walsh
5b5f5e4cc6
Added Irish locale formats.
...
Thanks Tom Moran for the report.
2023-04-19 19:32:32 +02:00
Swara
79a3ea83b1
Fixed Central Kurdish (Sorani) translations of date-related strings.
2023-04-04 11:11:19 +02:00
Mariusz Felisiak
982f904f4f
Updated translations from Transifex.
...
Forwardport of fa687719321329f4e5017b7fc1b8cadae3c63c32 from stable/4.2.x.
2023-04-03 08:40:06 +02:00
Markus Holtermann
85ac33591c
Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.
...
Thanks to Jakob Ackermann for the report.
2023-02-14 08:18:40 +01:00
Youngkwang Yang
9f20f382ca
Fixed #34313 -- Updated thousands separator for Spanish (ES) locale.
...
Format was updated from a comma to a space in 2010.
ref: https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_use
2023-02-08 09:37:08 +01:00
Nick Pope
4470c2405c
Refs #34233 -- Used @functools.cache.
...
Python 3.9+ supports @functools.cache as an alias for
@functools.lru_cache(maxsize=None).
2023-01-18 19:23:18 +01:00
Mariusz Felisiak
e01970e9d2
Refs #32800 -- Removed CSRF_COOKIE_MASKED transitional setting per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
e6f82438d4
Refs #32365 -- Removed support for pytz timezones per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
8d98f99a4a
Refs #32873 -- Removed settings.USE_L10N per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
602d9a312f
Refs #32379 -- Changed default USE_TZ to True.
...
Per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
004e90033e
Updated source translation catalogs.
...
Forward port of 6fef789e456204752ec6b77b41740d67553fdd6f from stable/4.2.x.
2023-01-17 10:11:50 +01:00
Jarosław Wygoda
32940d390a
Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
2023-01-12 09:58:36 +01:00
Jarosław Wygoda
1ec3f0961f
Fixed #26029 -- Allowed configuring custom file storage backends.
2023-01-12 06:20:57 +01:00
Jarosław Wygoda
d16079dd90
Refs #26029 -- Added LazySettings._show_deprecation_warning() hook.
2023-01-11 09:02:01 +01:00
Mariusz Felisiak
2d676ee119
Updated translations from Transifex.
...
Updated Bulgarian, Esperanto, Hungarian, Japanese, Macedonian, Persian,
Portuguese (Brazil), Russian, Spanish, and Turkmen translations.
Forwardport of 46b28bbe151282e9198b719d00f84b48c92606ba from stable/4.1.x.
2022-12-20 19:34:59 +01:00
Jarek Pacocha
4cc900bcbf
Made urls.py docstring consistent with other files in project template.
2022-12-13 05:28:55 +01:00
Swara
08303f4f06
Added Central Kurdish (Sorani) language.
2022-08-30 11:56:11 +02:00
Mariusz Felisiak
919e65b21e
Updated translations from Transifex.
...
This also fixes related i18n tests.
Forwardport of a3bab9332416f655c6ae0fa306c94f7f52e7398d from stable/4.1.x.
Co-authored-by: Claude Paroz <claude@2xlibre.net>
2022-08-03 08:04:34 +02:00
Mariusz Felisiak
4286378a08
Updated source translation catalogs.
...
Forward port of d1f1a0168ab8a2556980ec1410512b5f02502da4 from
stable/4.1.x.
2022-05-17 14:17:07 +02:00
mpachas
aa28c392b9
Fixed #33661 -- Corrected Catalan date-format localization.
...
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.
2022-04-28 15:12:15 +02:00
Collin Anderson
5659015d3c
Optimized lazy wrappers a bit.
...
This avoids an extra __getattribute__() call for self._wrapped.
2022-03-03 06:19:11 +01:00
Theo Alexiou
97d7990abd
Fixed #28358 -- Prevented LazyObject from mimicking nonexistent attributes.
...
Thanks Sergey Fedoseev for the initial patch.
2022-02-16 10:51:15 +01:00
Mariusz Felisiak
7119f40c98
Refs #33476 -- Refactored code to strictly match 88 characters line length.
2022-02-07 20:37:05 +01:00
django-bot
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
2022-02-07 20:37:05 +01:00
Mariusz Felisiak
ca88caa103
Refs #33476 -- Used vertical hanging indentation for format lists with 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.
2022-02-01 15:11:35 +01:00
tschilling
0dcd549bbe
Fixed #30360 -- Added support for secret key rotation.
...
Thanks Florian Apolloner for the implementation idea.
Co-authored-by: Andreas Pelme <andreas@pelme.se>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Vuyisile Ndlovu <terrameijar@gmail.com>
2022-02-01 11:12:24 +01:00
Claude Paroz
beb7ddbcee
Updated translations from Transifex.
...
Updated Bulgarian, Czech, German, Uzbek, and Vietnamese translations.
Forwardport of 7a1c6533eb72c3e6faa308796ba7f8d7d447d3b9 from stable/4.0.x.
2022-01-29 19:01:15 +01:00
Mariusz Felisiak
628b6a6869
Updated translations from Transifex.
...
This also fixes related i18n tests.
Forwardport of 4c5215ab036aa8fda9cd0148fd034f4d8f7d69d1 from stable/4.0.x
Co-authored-by: Claude Paroz <claude@2xlibre.net>
2021-12-06 20:31:03 +01:00
Chris Jerdonek
5d80843ebc
Fixed #32800 -- Changed CsrfViewMiddleware not to mask the CSRF secret.
...
This also adds CSRF_COOKIE_MASKED transitional setting helpful in
migrating multiple instance of the same project to Django 4.1+.
Thanks Florian Apolloner and Shai Berger for reviews.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-11-29 10:47:39 +01:00
jhisham
5e218cc0b7
Added Malay language.
2021-11-18 20:57:50 +01:00
Mariusz Felisiak
7d909b2282
Updated source translation catalogs.
...
Forwardport of 5b8cc4ce2679dbf45c257a57a93307201e52e5b6 from stable/4.0.x.
2021-09-21 13:40:07 +02:00