Skip to content

Commit

Permalink
Merge pull request #1144 from freddii/master
Browse files Browse the repository at this point in the history
updated pronterface pot file and german po file
  • Loading branch information
kliment authored Jan 25, 2021
2 parents 3342f5d + 8688153 commit dc8c332
Show file tree
Hide file tree
Showing 4 changed files with 2,477 additions and 1,666 deletions.
4 changes: 3 additions & 1 deletion README.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and was generated using

pygettext -o locale/pronterface.pot *.py printrun/*.py printrun/*/*.py

on some systems you have to replace the pygettext with pygettext2 or pygettext3..

followed by minor edits to the generated header.

This template is the basis for all pronterface mesage catalogs. Right
Expand All @@ -22,7 +24,7 @@ now there is only one, for German. New ones can be created:
mkdir -p locale/${newlang}/LC_MESSAGES
cp locale/pronterface.pot locale/${newlanguage}/LC_MESSAGES/pronterface.po
cd locale/${newlanguage}/LC_MESSAGES/
# Edit the .po file to add messages for newlang
# Edit the .po file to add messages for newlang (debian offers e.g.: poedit or gtranslator)
msgfmt -o pronterface.mo pronterface.po

To update a previously created message catalog from the template, use :
Expand Down
Binary file modified locale/de/LC_MESSAGES/pronterface.mo
Binary file not shown.
Loading

0 comments on commit dc8c332

Please sign in to comment.