Skip to content

Commit

Permalink
add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed Apr 19, 2021
1 parent ecff457 commit 2a98fa8
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 22 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# Release notes for 0.6.1
- add translation support for ui
- add german translation

# Release notes for 0.6.0
- this release is a complete rewrite!
- much cleaner code for better readability in a more 'pythonic' way
Expand Down
2 changes: 1 addition & 1 deletion type2nc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
name = "type2nc"
__version__ = "0.6.0"
__version__ = "0.6.1"
103 changes: 103 additions & 0 deletions type2nc/locales/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# type2nc message translation file.
# Copyright (C) 2021
# This file is distributed under the same MIT license as type2nc package.
# drunsinn <[email protected]>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.6.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-19 17:45+0200\n"
"PO-Revision-Date: 2021-04-19 17:45+0200\n"
"Last-Translator: [email protected]\n"
"Language-Team: Deutsch [email protected]\n"
"Language: Deutsch\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: type2nc.py:326 type2nc.py:464
msgid "Select Font File"
msgstr "Schrift-Datei"

#: type2nc.py:340 type2nc.py:479
msgid "Select Destination Folder"
msgstr "Zielordner"

#: type2nc.py:354
msgid "Select Step Size"
msgstr "Schrittweite"

#: type2nc.py:369
msgid "Create Demo Files"
msgstr "Demo-Datei erstellen"

#: type2nc.py:380
msgid "Generate"
msgstr "Erstellen"

#: type2nc.py:397
msgid "ASCII 0x20-0x7E and Latin1 0x80-0xFF"
msgstr "ASCII 0x20-0x7E und Latin1 0x80-0xFF"

#: type2nc.py:409
msgid "General Punctuation 0x2000-0x206F"
msgstr "Allgemeine Satzzeichen 0x2000-0x206F"

#: type2nc.py:421
msgid "IPA Extention 0x0250-0x02AF"
msgstr "IPA Extention 0x0250-0x02AF"

#: type2nc.py:433
msgid "Symbols 0x2190-0x23FF & 0x2600-0x27BF"
msgstr "Symbole 0x2190-0x23FF & 0x2600-0x27BF"

#: type2nc.py:445
msgid "Lang 0x0370-0x077F & 0x4E00-0x9FFF"
msgstr "Sprachen 0x0370-0x077F & 0x4E00-0x9FFF"

#: type2nc.py:472
#, python-format
msgid "%d files selected"
msgstr "%d Dateien ausgewählt"

#: type2nc.py:484
msgid "No folder selected"
msgstr "Kein Ordner ausgewählt"

#: type2nc.py:494
msgid "Step Size"
msgstr "Schrittweite"

#: type2nc.py:494
msgid ""
"Step Size between 0.001 (very fine) and 0.2 (very coarse) for converting "
"Splines"
msgstr ""
"Schrittweite zwischen 0.001 (sehr fein) and 0.2 (sehr grob) für Wandlung von "
"Splines"

#: type2nc.py:497
msgid "No step size selected"
msgstr "Keine Schrittweite eingegeben"

#: type2nc.py:509 type2nc.py:513 type2nc.py:517
msgid "Missing parameter"
msgstr "Fehlender Parameter"

#: type2nc.py:509
msgid "No font files selected"
msgstr "Keine Schriftart asugewählt"

#: type2nc.py:513
msgid "No output folder selected"
msgstr "Kein Zielordner ausgewählt"

#: type2nc.py:563
msgid "Finished"
msgstr "Fertig"

#: type2nc.py:563
msgid "Finished processing all font files"
msgstr "Umwandlung aller Dateien abgeschlossen"
103 changes: 103 additions & 0 deletions type2nc/locales/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# type2nc message translation file.
# Copyright (C) 2021
# This file is distributed under the same MIT license as type2nc package.
# drunsinn <[email protected]>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.6.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-19 17:45+0200\n"
"PO-Revision-Date: 2021-04-19 17:45+0200\n"
"Last-Translator: [email protected]\n"
"Language-Team: English [email protected]\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: type2nc.py:326 type2nc.py:464
msgid "Select Font File"
msgstr "Select Font File"

#: type2nc.py:340 type2nc.py:479
msgid "Select Destination Folder"
msgstr "Select Destination Folder"

#: type2nc.py:354
msgid "Select Step Size"
msgstr "Select Step Size"

#: type2nc.py:369
msgid "Create Demo Files"
msgstr "Create Demo Files"

#: type2nc.py:380
msgid "Generate"
msgstr "Generate"

#: type2nc.py:397
msgid "ASCII 0x20-0x7E and Latin1 0x80-0xFF"
msgstr "ASCII 0x20-0x7E and Latin1 0x80-0xFF"

#: type2nc.py:409
msgid "General Punctuation 0x2000-0x206F"
msgstr "General Punctuation 0x2000-0x206F"

#: type2nc.py:421
msgid "IPA Extention 0x0250-0x02AF"
msgstr "IPA Extention 0x0250-0x02AF"

#: type2nc.py:433
msgid "Symbols 0x2190-0x23FF & 0x2600-0x27BF"
msgstr "Symbols 0x2190-0x23FF & 0x2600-0x27BF"

#: type2nc.py:445
msgid "Lang 0x0370-0x077F & 0x4E00-0x9FFF"
msgstr "Lang 0x0370-0x077F & 0x4E00-0x9FFF"

#: type2nc.py:472
#, python-format
msgid "%d files selected"
msgstr "%d files selected"

#: type2nc.py:484
msgid "No folder selected"
msgstr "No folder selected"

#: type2nc.py:494
msgid "Step Size"
msgstr "Step Size"

#: type2nc.py:494
msgid ""
"Step Size between 0.001 (very fine) and 0.2 (very coarse) for converting "
"Splines"
msgstr ""
"Step Size between 0.001 (very fine) and 0.2 (very coarse) for converting "
"Splines"

#: type2nc.py:497
msgid "No step size selected"
msgstr "No step size selected"

#: type2nc.py:509 type2nc.py:513 type2nc.py:517
msgid "Missing parameter"
msgstr "Missing parameter"

#: type2nc.py:509
msgid "No font files selected"
msgstr "No font files selected"

#: type2nc.py:513
msgid "No output folder selected"
msgstr "No output folder selected"

#: type2nc.py:563
msgid "Finished"
msgstr "Finished"

#: type2nc.py:563
msgid "Finished processing all font files"
msgstr "Finished processing all font files"
Loading

0 comments on commit 2a98fa8

Please sign in to comment.