Russell Keith-Magee
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 yıl önce |
Jannis Leidel
|
179fefcf7c
Fixed #15286 -- Don't show deprecation warning if project locale dir is included in LOCALE_PATHS. Thanks to Claude and Ramiro.
|
14 yıl önce |
Ramiro Morales
|
f6e38f3800
Fixed #5494, #10765, #14924 -- Modified the order in which translations are read when composing the final translation to offer at runtime.
|
14 yıl önce |
Ramiro Morales
|
1a2f9ff9f9
Modified a few tests methods to make sure no leaks of activated locale or USE_I10N setting value happen between tests.
|
14 yıl önce |
Ramiro Morales
|
987fd51176
Fixed stability of data input/output L10N format modules priority order. Thanks tonnzor for the report and fix.
|
14 yıl önce |
Ramiro Morales
|
193f14d862
Fixed #15157 -- Modified evaluation of literals surrounded by _(' and ')' in templates to be evaluated at render time instead of at compile time by using ugettext_lazy. Thanks Jonathan S for the report.
|
14 yıl önce |
Jannis Leidel
|
5f4bc1ff23
Fixed a few translation related tests:
|
14 yıl önce |
Alex Gaynor
|
fcbf881d82
Refactor all uses of thread locals to be more consistant and sane.
|
14 yıl önce |
Ramiro Morales
|
fd12e3b218
Fixed #15024 -- Ensure that choice of L10N format module used is stable given a stable setup of format modules in ll/ and ll_CC/ dirs. Thanks David Reynolds for the report and suggestions leading to the solution.
|
14 yıl önce |
Jannis Leidel
|
f0cd656ee0
Fixed #14933 -- Added ability to SelectDateWidget to cope with new alternative month names added in [14900]. Thanks, alek and Claude Peroz.
|
14 yıl önce |
Jannis Leidel
|
9ab85e05e2
Fixed #4030 -- Added ability to translate language names. Thanks to Antti Kaihola and Ramiro Morales for the initial patch.
|
14 yıl önce |
Russell Keith-Magee
|
ac91d5ef08
Fixed #14807 -- Ensure that boolean values aren't localized as T.rue and Fa.lse because of the thousand separator. Thanks to vanschelven for the report and patch.
|
14 yıl önce |
Jannis Leidel
|
83aeb3c768
Fixed #9988 -- Added support for translation contexts. Thanks, Claude Paroz.
|
14 yıl önce |
Russell Keith-Magee
|
ccc49029b8
Fixed #14181 -- Added a template tag and filters to allow localization to be disabled in a template. Thanks to Benjamin Wohlwend for the work on the patch.
|
14 yıl önce |
Ramiro Morales
|
b79daef867
Consolidated i18n commands test with the rest of the i18n tests.
|
14 yıl önce |
Jannis Leidel
|
d80d2e8103
Fixed #14053 -- Also localize long integers. Thanks, David Danier.
|
14 yıl önce |
Jannis Leidel
|
534792d055
Fixed #14290 -- Made format localization faster by caching the format modules. Thanks, Teemu Kurppa and Anssi Kääriäinen for the report and initial patches.
|
14 yıl önce |
Russell Keith-Magee
|
521be8cd9c
Migrated i18n and field_defaults doctests. Thanks to Alex Gaynor.
|
14 yıl önce |
Jannis Leidel
|
7bb6abed12
Fixed #13702 -- Made sure to actually fall back to the l10n format strings provided in the settings, when disabled.
|
14 yıl önce |
Russell Keith-Magee
|
ebfe9383bf
Fixed #13370 -- Corrected the handling of pickling for lazy() proxy objects. Thanks to Alex Gaynor for the report and patch.
|
15 yıl önce |
Jannis Leidel
|
ca4c6f65ea
Fixed #13032 - Added localize parameter to form fields to be able to selectively enable localization.
|
15 yıl önce |
Russell Keith-Magee
|
ad5afd6ed2
Fixed #12769, #12924 -- Corrected the pickling of curried and lazy objects, which was preventing queries with translated or related fields from being pickled. And lo, Alex Gaynor didst slayeth the dragon.
|
15 yıl önce |
Jannis Leidel
|
10d4094b86
Fixed #13054 - Only apply grouping to integer part of numbers if explicitly wanted. Thanks, Ramiro Morales.
|
15 yıl önce |
Jannis Leidel
|
0d2a24fd42
Fixed #12779 - Sanitize numeric form field input according to decimal and thousand separator settings.
|
15 yıl önce |
Jannis Leidel
|
12d40a9fd6
Fixed #11384 - Make sure translations in the project directory really override translations in apps as specified in the docs.
|
15 yıl önce |
Jannis Leidel
|
71da5f62da
Fixed #7720 - Fallback to the base language if the sub language given in the language cookie doesn't exist. Thanks, djoume and Ramiro Morales.
|
15 yıl önce |
Jannis Leidel
|
a28bd76bb6
Fixed #12777 - Localize decimal fields correctly. Thanks, Florian Apolloner
|
15 yıl önce |
Karen Tracey
|
e0c3cd4d29
Changed an i18n test to use a number that converts consistely from string to float on Pythons up to 2.7.
|
15 yıl önce |
Jannis Leidel
|
ac371ccac8
Fixed #12435 - Handle Unicode characters in format strings correctly.
|
15 yıl önce |
Jannis Leidel
|
855e805b4c
Fixed #12230 - Updated utils.translation.to_locale to support the special sr_Latn locale. Thanks to Janos Guljas.
|
15 yıl önce |