Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/i18n
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25668 -- Misc spelling errorsVille Skyttä2015-11-032-2/+2
|
* Fixed "URLconf" spelling in code comments.Tim Graham2015-10-221-1/+1
|
* Fixed #25571 -- Fixed boolean evaluation of ungettext_lazyClaude Paroz2015-10-221-0/+4
|
* Refs #22218 -- Removed conf.urls.patterns() per ↵Tim Graham2015-09-241-9/+4
| | | | deprecation timeline.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-122-52/+415
|
* Serialized some tests that interact with the filesystem.Aymeric Augustin2015-09-091-6/+10
| | | | | Considering the APIs exercised by these test cases, it's hard to make them independent.
* Fixed #25297 -- Allowed makemessages to work with {% ↵Alexandre Pocquet2015-09-042-6/+40
| | | | trans %} tags that use template filters.
* Fixed #17375 -- Changed makemessages to use xgettext ↵Sergey Kolosov2015-08-283-0/+26
| | | | | | | | | with --files-from Changed the way makemessages invokes xgettext from one call per translatable file to one call per locale directory (using --files-from). This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and, as a positive side effect, speeds up localization build.
* Fixed #25295 -- Restored 'no active translation' after ↵Claude Paroz2015-08-251-0/+3
| | | | | | language override Thanks David Nelson Adamec for the report and Tim Graham for the review.
* Fixed #24257 -- Corrected i18n handling of percent signs.Doug Beck2015-08-1214-211/+302
| | | | | | | | | | | | | | | Refactored tests to use a sample project. Updated extraction: * Removed special handling of single percent signs. * When extracting messages from template text, doubled all percent signs so they are not interpreted by gettext as string format flags. All strings extracted by gettext, if containing a percent sign, will now be labeled "#, python-format". Updated translation: * Used "%%" for "%" in template text before calling gettext. * Updated {% trans %} rendering to restore "%" from "%%".
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-3/+3
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed flake8 warnings on Python 3.Tim Graham2015-06-151-2/+5
|
* Fixed #21927 -- Made application and instance namespaces ↵Marten Kenbeek2015-06-082-0/+2
| | | | | | | | more distinct. Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.
* Fixed #24159 -- Made compilemessages run across all apps.Matthew Somerville2015-06-052-4/+47
| | | | | Updated the command to match the documentation, which states it runs over all .po files.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-202-12/+14
|
* Moved engine-related exceptions to ↵Preston Timmons2015-05-071-2/+1
| | | | | | | | django.template.exceptions. With the introduction of multiple template engines these exceptions are no longer DTL-specific. It makes more sense for them to be moved out of DTL-related modules.
* Fixed #24714 -- Used more specific assertions than ↵Alasdair Nicol2015-04-281-12/+12
| | | | assertEqual in tests.
* Fixed #24063 -- Allowed locale variants supported by ↵Michal Čihař2015-04-251-0/+9
| | | | | | gettext. The locale code can contain a variant after @, so allowed that.
* Fixed #24569 -- Made some translation functions accept ↵Claude Paroz2015-04-041-4/+10
| | | | | | | None value get_language() can return None when translations are deactivated. Thanks Nicola Peduzzi for the reporti and Tim Graham for the review.
* Fixed #19910 -- Added slash to i18n redirect if ↵Bas Peschier2015-03-261-2/+2
| | | | | | | | APPEND_SLASH is set. This introduces a force_append_slash argument for request.get_full_path() which is used by RedirectFallbackMiddleware and CommonMiddleware when handling redirects for settings.APPEND_SLASH.
* Fixed #24515 -- Fixed DjangoTranslation plural handlingClaude Paroz2015-03-211-1/+11
|
* Fixed #23960 -- Removed http.fix_location_headerClaude Paroz2015-03-181-1/+1
| | | | Thanks Carl Meyer for the report and Tim Graham for the review.
* Fixed #24476 -- Added context manager/decorator for ↵Bas Peschier2015-03-181-15/+6
| | | | | | | | overriding script prefix. Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager.
* Fixed #24122 -- Redirected to translated url after ↵Claude Paroz2015-03-131-1/+13
| | | | | | setting language Thanks gbdlin for the initial patch and Tim Graham for the review.
* Fixed #24372 - Replaced TokenParser usage with ↵Preston Timmons2015-03-031-4/+0
| | | | traditional parsing.
* Fixed #24413 -- Prevented translation fallback for EnglishClaude Paroz2015-02-281-0/+15
| | | | | Thanks Tomasz Kontusz for the report, Baptiste Mispelon for analysis and Tim Graham for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-0612-49/+39
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-035-36/+35
|
* Fixed #24219 -- Moved SelectDateWidget together with the ↵Loic Bistuer2015-01-272-7/+7
| | | | | | | | other widgets and deprecated django.forms.extras. Thanks Berker Peksag and Tim Graham for the reviews.
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Removed deprecated Chinese language codes; refs #18149.Tim Graham2015-01-171-36/+10
|
* Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz2015-01-161-5/+0
| | | | | | This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews.
* Fixed #24073 -- Returned None for get_language when ↵Claude Paroz2015-01-081-2/+2
| | | | | | | translations are deactivated This fixes a regression caused by f7c287fca9. Thanks Markus Holtermann for identifying the regression.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-7/+6
|
* Fixed #23271 -- Don't corrupt PO files on Windows when ↵Ramiro Morales2014-12-293-5/+42
| | | | | | | | | | | | | | updating them. Make sure PO catalog text fetched from gettext programs via standard output isn't corrupted by mismatch between assumed (UTF-8) and real (CP1252) encodings. This can cause mojibake to be written when creating or updating PO files. Also fixes #23311. Thanks to contributor with Trac nick 'danielmenzel' for the report, excellent research and fix.
* Deprecated TEMPLATE_DIRS.Aymeric Augustin2014-12-281-3/+9
|
* Fixed #23788 (2) -- Improved gettext version checkerClaude Paroz2014-12-181-6/+31
| | | | Thanks Tim Graham for the report and initial patch.
* Fixed #23930 -- Added copies of captured_std* managers ↵wrwrwr2014-11-292-12/+4
| | | | | | from CPython's test.support. StringIO import was adapted for compatibility with Python 2.
* Fixed #23923 -- Promoted Django's deprecation warnings ↵Tim Graham2014-11-291-3/+4
| | | | to errors in runtests.py
* Fixed #18714 -- Added 'fuzzy' compilemessages optionAnton Baklanov2014-11-182-0/+58
|
* Removed superfluous newline.Aymeric Augustin2014-11-171-1/+0
|
* Fixed #23840 -- Fixed makemessages find_files methodIlja Maas2014-11-171-0/+24
| | | | | | | | Changed the handling of extensions to be used for gettext. Now obeying the --extension argument. find_files now only find the given or default extensions and puts only these in the TranslatableFiles. As a result there are no more confusing messages for filetypes (extension) not handled by makemessages.
* Fixed #23788 -- Used new JavaScript support in recent ↵Claude Paroz2014-11-112-0/+2
| | | | | | | | gettext JavaScript string extraction support has been added in gettext 0.18.3. Thanks Aymeric Augustin for the review.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-032-47/+47
| | | | Django test suite.
* Fixed #23717 -- Fixed makemessages crash when ↵Claude Paroz2014-10-271-0/+8
| | | | STATIC_ROOT=None
* Made testing of stdout and stderr more consistent.Loic Bistuer2014-10-221-9/+9
| | | | Refs #23663.
* Fixed #23583 -- More selectively ignored static/media rootsClaude Paroz2014-10-214-30/+40
| | | | | | Fixed a regression introduced by 28efafa24c. Thanks Michal Čihař for the report and initial patch, and Collin Anderson and Tim Graham for the reviews.
* Fixed an i18n test with native stringClaude Paroz2014-09-211-2/+2
| | | | Refs commit 11f307a5a8.
* Fixed #23196 -- Short-circuited empty string translationYuri Kriachko2014-09-211-0/+10
| | | | | | | Translating an empty string used to return the gettext catalog metadata instead of the empty string. Thanks Ned Batchelder for the suggestion, Tim Graham for the review and Anton Berezin and Claude Paroz for contributions to the patch.
* Fixed #23466 -- Removed seconds from all locale time ↵Malte Beckmann2014-09-131-2/+2
| | | | output formats.