summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Become 2.10.2v2.10.2Aarni Koskela2022-06-144-3/+14
|
* Merge pull request #869 from jun66j5/date-period-symbolsAarni Koskela2022-05-102-9/+42
|\ | | | | Add support for `b` and `B` period symbols in time format
| * Improve doctest for `DateTimeFormat.format_period`Jun Omae2022-05-101-9/+9
| |
| * Use `... if expr else ...`Jun Omae2022-05-101-1/+1
| |
| * Add support for `b` and `B` period symbols in time formatJun Omae2022-04-292-9/+42
| |
* | Fix up some Python2-isms using pyupgradeAarni Koskela2022-05-1049-106/+47
| |
* | Fix get_period_id() with `dayPeriodRule` across 0:00Jun Omae2022-05-102-0/+19
| |
* | Fallback count="other" format in format_currency()Jun Omae2022-05-102-1/+11
|/
* chore(docs/typo): Fixes a minor typo in a function commentFrank Harrison2022-04-261-1/+1
|
* Become 2.10.1v2.10.1Aarni Koskela2022-04-202-2/+2
|
* Update changelog and authorsAarni Koskela2022-04-202-6/+15
|
* Mark wheel as no longer universalAarni Koskela2022-04-201-3/+0
|
* Fix import statement in messages/frontend.pyNehal J Wani2022-04-201-1/+1
| | | | Resolves #858
* Become 2.10.0v2.10.0Aarni Koskela2022-04-202-3/+3
|
* Merge pull request #856 from akx/prepare-2.10Aarni Koskela2022-04-204-15/+76
|\ | | | | Prepare for 2.10
| * Distill changelog and AUTHORSAarni Koskela2022-04-202-0/+71
| |
| * Add maintainer to setup.pyAarni Koskela2022-04-201-0/+2
| |
| * Slightly clean up setup.pyAarni Koskela2022-04-201-6/+2
| |
| * Remove upload-docs task from Makefile (RTD handles docs)Aarni Koskela2022-04-201-9/+1
|/
* Add test for issue 798Aarni Koskela2022-04-201-0/+4
|
* allow header_comment to be passed as an option to extract_message (#720)Mohamed Morsy2022-04-122-2/+15
| | | | | Fixes #82 Co-authored-by: Aarni Koskela <akx@iki.fi>
* Merge pull request #853 from akx/cldr-41Aarni Koskela2022-04-083-5/+11
|\ | | | | CLDR 41
| * Update tests for CLDR 41Aarni Koskela2022-04-081-1/+1
| |
| * CLDR 41: Do not import non-nominative forms of patterns at this pointAarni Koskela2022-04-081-0/+6
| |
| * Download CLDR 41.0Aarni Koskela2022-04-081-4/+4
|/
* Deprecate get_next_timezone_transition()Aarni Koskela2022-04-081-0/+20
| | | | | | In preparation of removing the hard dependency on pytz Refs #716
* Provide a way of checking if the catalogs are up-to-date (#831)Krzysztof Jagiełło2022-04-083-4/+118
|
* Fix output of --list-locales to not be a bytes reprMorgan Wahl2022-04-082-5/+12
| | | | Co-authored-by: Aarni Koskela <akx@iki.fi>
* Merge pull request #826 from akx/cldr-40Aarni Koskela2022-04-087-35/+70
|\ | | | | CLDR 40
| * Make test_smoke more thoroughAarni Koskela2022-04-081-13/+32
| |
| * Show CLDR download URLAarni Koskela2022-04-081-1/+1
| | | | | | | | Fixes #811
| * plural: parse new c, e operands (otherwise unsupported though)Aarni Koskela2022-04-082-10/+25
| |
| * Adjust tests for CLDR 40 dataAarni Koskela2022-04-083-7/+7
| |
| * Download CLDR 40.0Aarni Koskela2022-04-081-4/+5
| |
* | CI: update OS versions + PyPy baseline to 3.7Aarni Koskela2022-04-081-4/+4
|/
* Plural-Forms: Fix missing trailing semicolonfarhan59002022-04-0812-35/+35
| | | | | | | | Adds missing semicolon in the code that generates the header that is Catalog.plural_forms as well as in plural.to_gettext function. Also modifies all the concerning test cases as well as test data files. Closes https://github.com/python-babel/babel/issues/836
* Merge pull request #835 from akx/gettext-deprecationsAarni Koskela2022-04-081-13/+17
|\ | | | | Gettext deprecation fixes (for Python 3.11 compatibility)
| * Don't assume `_output_charset` is a thing (it's not on Python 3.11)Aarni Koskela2022-01-281-13/+5
| | | | | | | | Fixes #819
| * Add deprecations to l*gettext variantsAarni Koskela2022-01-281-0/+12
| |
* | Prefer setuptools imports to distutils importsAarni Koskela2022-04-083-59/+67
| | | | | | | | | | | | | | The non-conditional imports have been around for 6 to 17 years, so they should be safe in conservative situations too. Refs #824
* | Fix duplicate locations when writing without linenoSigurd Ljødal2022-04-082-2/+5
| | | | | | | | | | | | If the same translation appears multiple times in the same file, duplicate locations would be written to the .po file when using write_po(..., include_lineno=False).
* | add GitHub URL for PyPiAndrii Oriekhov2022-03-031-0/+3
| |
* | Add pytest warning filter for format_decimal deprecationAarni Koskela2022-02-041-0/+3
| |
* | Don't use the deprecated format_number function internally or in testsAarni Koskela2022-02-042-7/+4
|/
* Parse string date times indepentent of time zonerachele-collin2022-01-281-4/+1
| | | | | | | Parsing a date time string (such as for ``POT-Creation-Date`` or ``PO-Revision-Date``) as UTC time, in particular independent of the local time zone. Closes: #700
* fix maltese pluralsLukas Winkler2022-01-281-1/+1
|
* Merge pull request #834 from akx/improve-date-parseAarni Koskela2022-01-282-25/+73
|\ | | | | Improve date/time parsing
| * Add format argument to parse_*Juliette Monsel2022-01-282-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ``parse_date()`` does not allow the user to specify the date's format and the 'medium' format is used by default in the call to ``get_date_format()`` on line 1144. This results in a failure to parse the date in short format for the locale 'sv_SE'. This commit adds the format argument to avoid this failure. The default value is set to 'medium' to preserve the old behavior. Fixes #657 Co-authored-by: Aarni Koskela <akx@iki.fi>
| * Add and emit dates.ParseErrorAarni Koskela2022-01-282-3/+19
| |
| * Improve partial time parsingAarni Koskela2022-01-282-8/+37
| | | | | | | | | | | | | | Refs #442 Co-authored-by: David Bauer <david.bauer009@gmail.com> Co-authored-by: Arthur Jovart <arthur@jovart.com>