Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Become 2.10.2v2.10.2 | Aarni Koskela | 2022-06-14 | 4 | -3/+14 |
| | |||||
* | Merge pull request #869 from jun66j5/date-period-symbols | Aarni Koskela | 2022-05-10 | 2 | -9/+42 |
|\ | | | | | Add support for `b` and `B` period symbols in time format | ||||
| * | Improve doctest for `DateTimeFormat.format_period` | Jun Omae | 2022-05-10 | 1 | -9/+9 |
| | | |||||
| * | Use `... if expr else ...` | Jun Omae | 2022-05-10 | 1 | -1/+1 |
| | | |||||
| * | Add support for `b` and `B` period symbols in time format | Jun Omae | 2022-04-29 | 2 | -9/+42 |
| | | |||||
* | | Fix up some Python2-isms using pyupgrade | Aarni Koskela | 2022-05-10 | 49 | -106/+47 |
| | | |||||
* | | Fix get_period_id() with `dayPeriodRule` across 0:00 | Jun Omae | 2022-05-10 | 2 | -0/+19 |
| | | |||||
* | | Fallback count="other" format in format_currency() | Jun Omae | 2022-05-10 | 2 | -1/+11 |
|/ | |||||
* | chore(docs/typo): Fixes a minor typo in a function comment | Frank Harrison | 2022-04-26 | 1 | -1/+1 |
| | |||||
* | Become 2.10.1v2.10.1 | Aarni Koskela | 2022-04-20 | 2 | -2/+2 |
| | |||||
* | Update changelog and authors | Aarni Koskela | 2022-04-20 | 2 | -6/+15 |
| | |||||
* | Mark wheel as no longer universal | Aarni Koskela | 2022-04-20 | 1 | -3/+0 |
| | |||||
* | Fix import statement in messages/frontend.py | Nehal J Wani | 2022-04-20 | 1 | -1/+1 |
| | | | | Resolves #858 | ||||
* | Become 2.10.0v2.10.0 | Aarni Koskela | 2022-04-20 | 2 | -3/+3 |
| | |||||
* | Merge pull request #856 from akx/prepare-2.10 | Aarni Koskela | 2022-04-20 | 4 | -15/+76 |
|\ | | | | | Prepare for 2.10 | ||||
| * | Distill changelog and AUTHORS | Aarni Koskela | 2022-04-20 | 2 | -0/+71 |
| | | |||||
| * | Add maintainer to setup.py | Aarni Koskela | 2022-04-20 | 1 | -0/+2 |
| | | |||||
| * | Slightly clean up setup.py | Aarni Koskela | 2022-04-20 | 1 | -6/+2 |
| | | |||||
| * | Remove upload-docs task from Makefile (RTD handles docs) | Aarni Koskela | 2022-04-20 | 1 | -9/+1 |
|/ | |||||
* | Add test for issue 798 | Aarni Koskela | 2022-04-20 | 1 | -0/+4 |
| | |||||
* | allow header_comment to be passed as an option to extract_message (#720) | Mohamed Morsy | 2022-04-12 | 2 | -2/+15 |
| | | | | | Fixes #82 Co-authored-by: Aarni Koskela <akx@iki.fi> | ||||
* | Merge pull request #853 from akx/cldr-41 | Aarni Koskela | 2022-04-08 | 3 | -5/+11 |
|\ | | | | | CLDR 41 | ||||
| * | Update tests for CLDR 41 | Aarni Koskela | 2022-04-08 | 1 | -1/+1 |
| | | |||||
| * | CLDR 41: Do not import non-nominative forms of patterns at this point | Aarni Koskela | 2022-04-08 | 1 | -0/+6 |
| | | |||||
| * | Download CLDR 41.0 | Aarni Koskela | 2022-04-08 | 1 | -4/+4 |
|/ | |||||
* | Deprecate get_next_timezone_transition() | Aarni Koskela | 2022-04-08 | 1 | -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łło | 2022-04-08 | 3 | -4/+118 |
| | |||||
* | Fix output of --list-locales to not be a bytes repr | Morgan Wahl | 2022-04-08 | 2 | -5/+12 |
| | | | | Co-authored-by: Aarni Koskela <akx@iki.fi> | ||||
* | Merge pull request #826 from akx/cldr-40 | Aarni Koskela | 2022-04-08 | 7 | -35/+70 |
|\ | | | | | CLDR 40 | ||||
| * | Make test_smoke more thorough | Aarni Koskela | 2022-04-08 | 1 | -13/+32 |
| | | |||||
| * | Show CLDR download URL | Aarni Koskela | 2022-04-08 | 1 | -1/+1 |
| | | | | | | | | Fixes #811 | ||||
| * | plural: parse new c, e operands (otherwise unsupported though) | Aarni Koskela | 2022-04-08 | 2 | -10/+25 |
| | | |||||
| * | Adjust tests for CLDR 40 data | Aarni Koskela | 2022-04-08 | 3 | -7/+7 |
| | | |||||
| * | Download CLDR 40.0 | Aarni Koskela | 2022-04-08 | 1 | -4/+5 |
| | | |||||
* | | CI: update OS versions + PyPy baseline to 3.7 | Aarni Koskela | 2022-04-08 | 1 | -4/+4 |
|/ | |||||
* | Plural-Forms: Fix missing trailing semicolon | farhan5900 | 2022-04-08 | 12 | -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-deprecations | Aarni Koskela | 2022-04-08 | 1 | -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 Koskela | 2022-01-28 | 1 | -13/+5 |
| | | | | | | | | Fixes #819 | ||||
| * | Add deprecations to l*gettext variants | Aarni Koskela | 2022-01-28 | 1 | -0/+12 |
| | | |||||
* | | Prefer setuptools imports to distutils imports | Aarni Koskela | 2022-04-08 | 3 | -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 lineno | Sigurd Ljødal | 2022-04-08 | 2 | -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 PyPi | Andrii Oriekhov | 2022-03-03 | 1 | -0/+3 |
| | | |||||
* | | Add pytest warning filter for format_decimal deprecation | Aarni Koskela | 2022-02-04 | 1 | -0/+3 |
| | | |||||
* | | Don't use the deprecated format_number function internally or in tests | Aarni Koskela | 2022-02-04 | 2 | -7/+4 |
|/ | |||||
* | Parse string date times indepentent of time zone | rachele-collin | 2022-01-28 | 1 | -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 plurals | Lukas Winkler | 2022-01-28 | 1 | -1/+1 |
| | |||||
* | Merge pull request #834 from akx/improve-date-parse | Aarni Koskela | 2022-01-28 | 2 | -25/+73 |
|\ | | | | | Improve date/time parsing | ||||
| * | Add format argument to parse_* | Juliette Monsel | 2022-01-28 | 2 | -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.ParseError | Aarni Koskela | 2022-01-28 | 2 | -3/+19 |
| | | |||||
| * | Improve partial time parsing | Aarni Koskela | 2022-01-28 | 2 | -8/+37 |
| | | | | | | | | | | | | | | Refs #442 Co-authored-by: David Bauer <david.bauer009@gmail.com> Co-authored-by: Arthur Jovart <arthur@jovart.com> |