Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update translations #126

Merged
merged 3 commits into from
Mar 22, 2020
Merged

Update translations #126

merged 3 commits into from
Mar 22, 2020

Conversation

hugovk
Copy link
Collaborator

@hugovk hugovk commented Mar 22, 2020

Changes proposed in this pull request:

  • Add --from-code=UTF-8 for xgettext so it doesn't bail over z.wq x 10ⁿ in number.py
  • Add script to update translations
  • It added "zero", "microsecond" and "millisecond" translations to the .po files
    • "zero" was added as a blank "" string
    • "microsecond" and "millisecond" were added as whatever the "second" translation was
  • So I've only updated the ~European ones I'm able to, and Ukrainian via Create Ukrainian humanize.po #125 (comment).
  • I've not added the .po files for these Other translators, please follow "How to add new phrases to existing locale files" in the README:

src/humanize/locale/fa_IR/LC_MESSAGES/humanize.po
src/humanize/locale/id_ID/LC_MESSAGES/humanize.po
src/humanize/locale/ja_JP/LC_MESSAGES/humanize.po
src/humanize/locale/ko_KR/LC_MESSAGES/humanize.po
src/humanize/locale/ru_RU/LC_MESSAGES/humanize.po
src/humanize/locale/tr_TR/LC_MESSAGES/humanize.po
src/humanize/locale/uk_UA/LC_MESSAGES/humanize.po
src/humanize/locale/vi_VI/LC_MESSAGES/humanize.po
src/humanize/locale/zh_CN/LC_MESSAGES/humanize.po

@codecov-io
Copy link

codecov-io commented Mar 22, 2020

Codecov Report

Merging #126 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #126   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          416       416           
=========================================
  Hits           416       416           
Flag Coverage Δ
#GHA_Ubuntu 100.00% <ø> (ø)
#GHA_Windows 100.00% <ø> (ø)
#GHA_macOS 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23b64f5...e1e10f4. Read the comment docs.

@hugovk hugovk added the changelog: Changed For changes in existing functionality label Mar 22, 2020
@hugovk hugovk merged commit ce352e4 into jmoiron:master Mar 22, 2020
@hugovk hugovk deleted the update-translations branch March 22, 2020 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: Changed For changes in existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants