Skip to content
Permalink
Browse files

adding french translators and first fixes for chinese

Signed-off-by: Werner Macho <werner.macho@gmail.com>
  • Loading branch information
mach0 committed Feb 21, 2015
1 parent 245118f commit 6b95a0f0a14afa303357684fa10649d9361fc424
Showing with 68 additions and 59 deletions.
  1. +4 −4 doc/TRANSLATORS
  2. BIN images/flags/sr@latin.png
  3. BIN images/flags/zh.png
  4. +1 −1 images/images.qrc
  5. +63 −54 scripts/tsstat.pl
@@ -2,10 +2,10 @@

<tr><td><img src="qrc:/images/flags/de.png"></td><td>German</td><td><div title="finished:13174 unfinished:1 untranslated:0" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Jürgen E. Fischer, Stephan Holl, Otto Dassau, Werner Macho</td></tr>
<tr><td><img src="qrc:/images/flags/gl.png"></td><td>Galician</td><td><div title="finished:13174 unfinished:1 untranslated:0" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Xan Vieiro</td></tr>
<tr><td><img src="qrc:/images/flags/nb.png"></td><td>Norwegian Bokmal</td><td><div title="finished:13174 unfinished:1 untranslated:0" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>James Stott, Maléne Peterson</td></tr>
<tr><td><img src="qrc:/images/flags/nb.png"></td><td>Bokmal, Norwegian</td><td><div title="finished:13174 unfinished:1 untranslated:0" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>James Stott, Maléne Peterson</td></tr>
<tr><td><img src="qrc:/images/flags/pt_PT.png"></td><td>Portuguese (Portugal)</td><td><div title="finished:13174 unfinished:1 untranslated:0" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Giovanni Manghi, Joana Simões, Duarte Carreira, Alexandre Neto, Pedro Pereira, Pedro Palheiro, Nelson Silva, Ricardo Sena, Leandro Infantini, João Gaspar</td></tr>
<tr><td><img src="qrc:/images/flags/sv.png"></td><td>Swedish</td><td><div title="finished:13174 unfinished:1 untranslated:0" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Lars Luthman, Magnus Homann, Victor Axbom</td></tr>
<tr><td><img src="qrc:/images/flags/fr.png"></td><td>French</td><td><div title="finished:13174 unfinished:0 untranslated:1" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Stéphane Brunner, Olivier Dalang, Nicolas Damien, Michael Douchin, Régis Haubourg, Matthias Khun, Sylvain Maillard, Jean-Roc Morreale, Mehdi Semchaoui, Harrissou Sant-anna</td></tr>
<tr><td><img src="qrc:/images/flags/fr.png"></td><td>French</td><td><div title="finished:13174 unfinished:0 untranslated:1" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Arnaud Morvan, Augustin Roche, Jean-Roc Morreale, Loïc Buscoz, Marc-André Saia, Mathieu Bossaert, Mayeul Kauffmann, Médéric Ribreux, Michael Douchin, Nicolas Rochard, Robin Prest, DelazJ, Stéphane Possamai, Sylvain Badey, Sylvain_M, Sylvain Maillard, Xavier Tardieu</td></tr>
<tr><td><img src="qrc:/images/flags/pt_BR.png"></td><td>Portuguese (Brazil)</td><td><div title="finished:13174 unfinished:0 untranslated:1" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Sidney Schaberle Goveia, Arthur Nanni, Marcelo Soares Souza, Narcélio de Sá Pereira Filho, Leônidas Descovi Filho, Felipe Sodré Barros </td></tr>
<tr><td><img src="qrc:/images/flags/nl.png"></td><td>Dutch</td><td><div title="finished:13172 unfinished:1 untranslated:2" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Richard Duivenvoorde, Raymond Nijssen, Carlo van Rijswijk, Diethard Jansen, Willem Hoffmans, Dick Groskamp</td></tr>
<tr><td><img src="qrc:/images/flags/it.png"></td><td>Italian</td><td><div title="finished:13170 unfinished:1 untranslated:4" class="bartodo"><div class="bardone" style="width:99px">100.0</div></div></td><td>Roberto Angeletti, Michele Beneventi, Marco Braida, Stefano Campus, Luca Casagrande, Paolo Cavallini, Giuliano Curti, Luca Delucchi, Alessandro Fanna, Michele Ferretti, Matteo Ghetta, Anne Gishla, Maurizio Napolitano, Flavio Rigolon</td></tr>
@@ -17,12 +17,12 @@
<tr><td><img src="qrc:/images/flags/hu.png"></td><td>Hungarian</td><td><div title="finished:12398 unfinished:5 untranslated:772" class="bartodo"><div class="bardone" style="width:94px">94.1</div></div></td><td>Zoltan Siki</td></tr>
<tr><td><img src="qrc:/images/flags/ro.png"></td><td>Romanian</td><td><div title="finished:12311 unfinished:4 untranslated:860" class="bartodo"><div class="bardone" style="width:93px">93.5</div></div></td><td>Sorin Călinică, Lonut Losifescu-Enescu, Bogdan Pacurar</td></tr>
<tr><td><img src="qrc:/images/flags/da.png"></td><td>Danish</td><td><div title="finished:12273 unfinished:4 untranslated:898" class="bartodo"><div class="bardone" style="width:93px">93.2</div></div></td><td>Jacob Overgaard Madsen, Bo Victor Thomsen</td></tr>
<tr><td><img src="qrc:/images/flags/zh-Hans.png"></td><td></td><td><div title="finished:12197 unfinished:3 untranslated:975" class="bartodo"><div class="bardone" style="width:92px">92.6</div></div></td><td>(orphaned)</td></tr>
<tr><td><img src="qrc:/images/flags/zh.png"></td><td>Chinese simplified</td><td><div title="finished:12197 unfinished:3 untranslated:975" class="bartodo"><div class="bardone" style="width:92px">92.6</div></div></td><td>Calvin Ngei, Lisashen</td></tr>
<tr><td><img src="qrc:/images/flags/zh_CN.png"></td><td>Chinese (China)</td><td><div title="finished:12183 unfinished:2 untranslated:990" class="bartodo"><div class="bardone" style="width:92px">92.5</div></div></td><td>Calvin Ngei, Zhang Jun, Richard Xie</td></tr>
<tr><td><img src="qrc:/images/flags/ko.png"></td><td>Korean</td><td><div title="finished:12087 unfinished:2 untranslated:1086" class="bartodo"><div class="bardone" style="width:91px">91.7</div></div></td><td>OSGeo Korean Chapter</td></tr>
<tr><td><img src="qrc:/images/flags/ru.png"></td><td>Russian</td><td><div title="finished:12044 unfinished:25 untranslated:1106" class="bartodo"><div class="bardone" style="width:91px">91.5</div></div></td><td>Alexander Bruy, Artem Popov</td></tr>
<tr><td><img src="qrc:/images/flags/vi.png"></td><td>Vietnamese</td><td><div title="finished:12045 unfinished:14 untranslated:1116" class="bartodo"><div class="bardone" style="width:91px">91.5</div></div></td><td>Phan Anh, Bùi Hữu Mạnh</td></tr>
<tr><td><img src="qrc:/images/flags/zh_TW.png"></td><td>Chinese (Taiwan (Province of China))</td><td><div title="finished:11994 unfinished:5 untranslated:1176" class="bartodo"><div class="bardone" style="width:91px">91.1</div></div></td><td>Nung-yao Lin</td></tr>
<tr><td><img src="qrc:/images/flags/zh_TW.png"></td><td>Chinese (Taiwan, Province of China)</td><td><div title="finished:11994 unfinished:5 untranslated:1176" class="bartodo"><div class="bardone" style="width:91px">91.1</div></div></td><td>Nung-yao Lin</td></tr>
<tr><td><img src="qrc:/images/flags/cs.png"></td><td>Czech</td><td><div title="finished:11848 unfinished:5 untranslated:1322" class="bartodo"><div class="bardone" style="width:89px">89.9</div></div></td><td>Jan Helebrant, Martin Landa, Peter Antolik, Martin Dzurov, Stanislav Horáček</td></tr>
<tr><td><img src="qrc:/images/flags/hi.png"></td><td>Hindi</td><td><div title="finished:11373 unfinished:3 untranslated:1799" class="bartodo"><div class="bardone" style="width:86px">86.3</div></div></td><td>Harish Kumar Solanki</td></tr>
<tr><td><img src="qrc:/images/flags/id.png"></td><td>Indonesian</td><td><div title="finished:10759 unfinished:63 untranslated:2353" class="bartodo"><div class="bardone" style="width:81px">81.9</div></div></td><td>Emir Hartato, Muhammad Iqnaul Haq Siregar, Trias Aditya, Januar V. Simarmata, I Made Anombawa</td></tr>
BIN -423 Bytes images/flags/sr@latin.png
Binary file not shown.
BIN +472 Bytes images/flags/zh.png
Binary file not shown.
@@ -469,7 +469,6 @@
<file>themes/default/mActionHighlightFeature.svg</file>
<file>themes/default/mActionScaleHighlightFeature.svg</file>
<file>themes/default/mActionPanHighlightFeature.svg</file>
<file>flags/sr@latin.png</file>
<file>themes/default/cadtools/construction.png</file>
<file>themes/default/cadtools/delta.png</file>
<file>themes/default/cadtools/cad.png</file>
@@ -479,6 +478,7 @@
<file>themes/default/mIconSuccess.png</file>
<file>themes/default/bubble.svg</file>
<file>themes/default/mIconClear.png</file>
<file>flags/zh.png</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
@@ -35,61 +35,62 @@

# translator names here as a hash where the key is the lang_country code used for the ts file name
my $translators= {
af => '',
ar => 'Ichaouia Amine, Hosham Munier',
bg => 'Захари Савов, Jordan Tzvetkov',
bs => 'Almir Karabegovic',
ca => 'Albert F, Pau Reguant Ridó, Xavier Roijals',
cs => 'Jan Helebrant, Martin Landa, Peter Antolik, Martin Dzurov, Stanislav Horáček',
da => 'Jacob Overgaard Madsen, Bo Victor Thomsen',
de => 'Jürgen E. Fischer, Stephan Holl, Otto Dassau, Werner Macho',
es => 'Carlos Dávila, Javier César Aldariz, Gabriela Awad, Edwin Amado, Mayeul Kauffmann, Diana Galindo',
el => 'Theodoros Vakkas, Ioannis Tsimpiris, Evripidis Argyropoulos, Mike Pegnigiannis, Nikos Ves',
et => 'Veiko Viil',
eu => 'Asier Sarasua Garmendia, Irantzu Alvarez',
fa => 'Mola Pahnadayan, Masoud Pashotan , Masoud Erfanyan',
fi => 'Kari Salovaara, Marko Järvenpää',
fr => 'Stéphane Brunner, Olivier Dalang, Nicolas Damien, Michael Douchin, Régis Haubourg, Matthias Khun, Sylvain Maillard, Jean-Roc Morreale, Mehdi Semchaoui, Harrissou Sant-anna',
gl => 'Xan Vieiro',
hi => 'Harish Kumar Solanki',
hu => 'Zoltan Siki',
hr => 'Zoran Jankovic',
is => 'Ásta Kristín Óladóttir, Thordur Ivarsson',
id => 'Emir Hartato, Muhammad Iqnaul Haq Siregar, Trias Aditya, Januar V. Simarmata, I Made Anombawa',
it => 'Roberto Angeletti, Michele Beneventi, Marco Braida, Stefano Campus, Luca Casagrande, Paolo Cavallini, Giuliano Curti, Luca Delucchi, Alessandro Fanna, Michele Ferretti, Matteo Ghetta, Anne Gishla, Maurizio Napolitano, Flavio Rigolon',
ja => 'BABA Yoshihiko, Yoichi Kayama, Minoru Akagi, Takayuki Nuimura, Takayuki Mizutani, Norihiro Yamate',
ka => 'Shota Murtskhvaladze, George Machitidze',
km => 'Khoem Sokhem',
ko => 'OSGeo Korean Chapter',
lo => 'Anousak Souphavanh, Soukanh Lathsavong',
lv => 'Maris Nartiss, Pēteris Brūns',
lt => 'Paulius Litvinas, Tomas Straupis, Kestas M',
ml => 'Vinayan Parameswaran',
mn => 'Bayarmaa Enkhtur',
mr => '',
nb => 'James Stott, Maléne Peterson',
nl => 'Richard Duivenvoorde, Raymond Nijssen, Carlo van Rijswijk, Diethard Jansen, Willem Hoffmans, Dick Groskamp',
pl => 'Robert Szczepanek, Milena Nowotarska, Borys Jurgiel, Mateusz Łoskot, Tomasz Paul, Andrzej Świąder, Radosław Pasiok',
pt_BR => 'Sidney Schaberle Goveia, Arthur Nanni, Marcelo Soares Souza, Narcélio de Sá Pereira Filho, Leônidas Descovi Filho, Felipe Sodré Barros ',
pt_PT => 'Giovanni Manghi, Joana Simões, Duarte Carreira, Alexandre Neto, Pedro Pereira, Pedro Palheiro, Nelson Silva, Ricardo Sena, Leandro Infantini, João Gaspar',
ro => 'Sorin Călinică, Lonut Losifescu-Enescu, Bogdan Pacurar',
ru => 'Alexander Bruy, Artem Popov',
sk => 'Lubos Balazovic, Jana Kormanikova, Ivan Mincik',
sl => 'Jože Detečnik, Dejan Gregor, Jaka Kranjc',
sq => '',
'af' => '',
'ar' => 'Ichaouia Amine, Hosham Munier',
'bg' => 'Захари Савов, Jordan Tzvetkov',
'bs' => 'Almir Karabegovic',
'ca' => 'Albert F, Pau Reguant Ridó, Xavier Roijals',
'cs' => 'Jan Helebrant, Martin Landa, Peter Antolik, Martin Dzurov, Stanislav Horáček',
'da' => 'Jacob Overgaard Madsen, Bo Victor Thomsen',
'de' => 'Jürgen E. Fischer, Stephan Holl, Otto Dassau, Werner Macho',
'es' => 'Carlos Dávila, Javier César Aldariz, Gabriela Awad, Edwin Amado, Mayeul Kauffmann, Diana Galindo',
'el' => 'Theodoros Vakkas, Ioannis Tsimpiris, Evripidis Argyropoulos, Mike Pegnigiannis, Nikos Ves',
'et' => 'Veiko Viil',
'eu' => 'Asier Sarasua Garmendia, Irantzu Alvarez',
'fa' => 'Mola Pahnadayan, Masoud Pashotan , Masoud Erfanyan',
'fi' => 'Kari Salovaara, Marko Järvenpää',
'fr' => 'Arnaud Morvan, Augustin Roche, Jean-Roc Morreale, Loïc Buscoz, Marc-André Saia, Mathieu Bossaert, Mayeul Kauffmann, Médéric Ribreux, Michael Douchin, Nicolas Rochard, Robin Prest, DelazJ, Stéphane Possamai, Sylvain Badey, Sylvain_M, Sylvain Maillard, Xavier Tardieu',
'gl' => 'Xan Vieiro',
'hi' => 'Harish Kumar Solanki',
'hu' => 'Zoltan Siki',
'hr' => 'Zoran Jankovic',
'is' => 'Ásta Kristín Óladóttir, Thordur Ivarsson',
'id' => 'Emir Hartato, Muhammad Iqnaul Haq Siregar, Trias Aditya, Januar V. Simarmata, I Made Anombawa',
'it' => 'Roberto Angeletti, Michele Beneventi, Marco Braida, Stefano Campus, Luca Casagrande, Paolo Cavallini, Giuliano Curti, Luca Delucchi, Alessandro Fanna, Michele Ferretti, Matteo Ghetta, Anne Gishla, Maurizio Napolitano, Flavio Rigolon',
'ja' => 'BABA Yoshihiko, Yoichi Kayama, Minoru Akagi, Takayuki Nuimura, Takayuki Mizutani, Norihiro Yamate',
'ka' => 'Shota Murtskhvaladze, George Machitidze',
'km' => 'Khoem Sokhem',
'ko' => 'OSGeo Korean Chapter',
'lo' => 'Anousak Souphavanh, Soukanh Lathsavong',
'lv' => 'Maris Nartiss, Pēteris Brūns',
'lt' => 'Paulius Litvinas, Tomas Straupis, Kestas M',
'ml' => 'Vinayan Parameswaran',
'mn' => 'Bayarmaa Enkhtur',
'mr' => '',
'nb' => 'James Stott, Maléne Peterson',
'nl' => 'Richard Duivenvoorde, Raymond Nijssen, Carlo van Rijswijk, Diethard Jansen, Willem Hoffmans, Dick Groskamp',
'pl' => 'Robert Szczepanek, Milena Nowotarska, Borys Jurgiel, Mateusz Łoskot, Tomasz Paul, Andrzej Świąder, Radosław Pasiok',
'pt_BR' => 'Sidney Schaberle Goveia, Arthur Nanni, Marcelo Soares Souza, Narcélio de Sá Pereira Filho, Leônidas Descovi Filho, Felipe Sodré Barros ',
'pt_PT' => 'Giovanni Manghi, Joana Simões, Duarte Carreira, Alexandre Neto, Pedro Pereira, Pedro Palheiro, Nelson Silva, Ricardo Sena, Leandro Infantini, João Gaspar',
'ro' => 'Sorin Călinică, Lonut Losifescu-Enescu, Bogdan Pacurar',
'ru' => 'Alexander Bruy, Artem Popov',
'sk' => 'Lubos Balazovic, Jana Kormanikova, Ivan Mincik',
'sl' => 'Jože Detečnik, Dejan Gregor, Jaka Kranjc',
'sq' => '',
'sr@latin' => 'Goran Ivanković',
sr => 'Goran Ivanković',
sv => 'Lars Luthman, Magnus Homann, Victor Axbom',
sw => '',
ta => '',
te => '',
th => 'Man Chao',
tl => 'Kathrina Gregana',
tr => 'Osman Yalçın YILMAZ, Omur Saygin',
uk => 'Alexander Bruy',
vi => 'Phan Anh, Bùi Hữu Mạnh',
zh_CN => 'Calvin Ngei, Zhang Jun, Richard Xie',
zh_TW => 'Nung-yao Lin',
'sr' => 'Goran Ivanković',
'sv' => 'Lars Luthman, Magnus Homann, Victor Axbom',
'sw' => '',
'ta' => '',
'te' => '',
'th' => 'Man Chao',
'tl' => 'Kathrina Gregana',
'tr' => 'Osman Yalçın YILMAZ, Omur Saygin',
'uk' => 'Alexander Bruy',
'vi' => 'Phan Anh, Bùi Hữu Mạnh',
'zh_CN' => 'Calvin Ngei, Zhang Jun, Richard Xie',
'zh-Hans' => 'Calvin Ngei, Lisashen',
'zh_TW' => 'Nung-yao Lin',
};

my $maxn;
@@ -106,6 +107,14 @@
$charset = " (latin)";
$langcode = $1;
}
if( $langcode =~ /(.*)\-Hans/ ) {
$charset = " simplified";
$langcode = $1;
}
if( $langcode =~ /(.*)\-Hant/ ) {
$charset = " traditional";
$langcode = $1;
}
my $name;
if($langcode =~ /(.*)_(.*)/) {
my $lang = code2language(lc $1);

0 comments on commit 6b95a0f

Please sign in to comment.
You can’t perform that action at this time.