Add provisions for selection Dutch translation in CHIRP, and add Michael

to the translator credits.
This commit is contained in:
Dan Smith 2012-03-18 07:14:22 -07:00
parent 034d8fd057
commit 976dc94668
3 changed files with 6 additions and 3 deletions

View File

@ -927,7 +927,9 @@ If you think that it is valid, you can select a radio model below to force an op
))
d.set_translator_credits("Polish: Grzegorz SQ2RBY" +
os.linesep +
"Italian: Fabio IZ2QDH")
"Italian: Fabio IZ2QDH" +
os.linesep +
"Dutch: Michael PD4MT")
d.set_comments(verinfo)
d.run()
@ -1041,7 +1043,7 @@ If you think that it is valid, you can select a radio model below to force an op
devaction.set_visible(action.get_active())
def do_change_language(self):
langs = ["Auto", "English", "Polish", "Italian"]
langs = ["Auto", "English", "Polish", "Italian", "Dutch"]
d = inputdialog.ChoiceDialog(langs, parent=self,
title="Choose Language")
d.label.set_text(_("Choose a language or Auto to use the "

1
chirpw
View File

@ -54,6 +54,7 @@ if manual_language and manual_language != "Auto":
lang_codes = { "English" : "en_US",
"Polish" : "pl",
"Italian" : "it",
"Dutch" : "nl",
}
try:
langs = [lang_codes[manual_language]]

View File

@ -14,7 +14,7 @@ msgstr ""
"Language-Team: Dutch\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"