Skip to content
Permalink
Browse files

more translation string cleanups

  • Loading branch information
jef-n committed May 2, 2013
1 parent 9dd184a commit d9fe8937b1c5e10594ffa3628c4e66dfd87c0031
@@ -1,33 +1,33 @@
<style>table {font-size:80%;}th {text-align:left; }.bartodo{ background-color:red;width:100px;height:20px;}.bardone{ background-color:green;width:80px;height:20px;font-size:80%;text-align:center;padding-top:4px;height:16px;color:white;}</style><table><tr><th colspan="2" style="width:250px;">Language</th><th>Finished %</th><th>Translators</th></tr>

<tr><td><img src="qrc:/images/flags/de.png"></td><td>German</td><td><div title="finished:9465 unfinished:0 untranslated:0" class="bartodo"><div class="bardone" style="width:100px">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/de.png"></td><td>German</td><td><div title="finished:9462 unfinished:0 untranslated:0" class="bartodo"><div class="bardone" style="width:100px">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/da_DK.png"></td><td>Danish (Denmark)</td><td><div title="finished:9384 unfinished:2 untranslated:5" class="bartodo"><div class="bardone" style="width:99px">99.2</div></div></td><td>Jacob Overgaard Madsen, Preben Lisby</td></tr>
<tr><td><img src="qrc:/images/flags/bs_BA.png"></td><td>Bosnian (Bosnia and Herzegovina)</td><td><div title="finished:9370 unfinished:0 untranslated:5" class="bartodo"><div class="bardone" style="width:98px">99.0</div></div></td><td>Almir Karabegovic</td></tr>
<tr><td><img src="qrc:/images/flags/gl_ES.png"></td><td>Galician (Spain)</td><td><div title="finished:9136 unfinished:58 untranslated:197" class="bartodo"><div class="bardone" style="width:96px">96.8</div></div></td><td>Xan Vieiro</td></tr>
<tr><td><img src="qrc:/images/flags/bs_BA.png"></td><td>Bosnian (Bosnia and Herzegovina)</td><td><div title="finished:9370 unfinished:0 untranslated:5" class="bartodo"><div class="bardone" style="width:99px">99.0</div></div></td><td>Almir Karabegovic</td></tr>
<tr><td><img src="qrc:/images/flags/gl_ES.png"></td><td>Galician (Spain)</td><td><div title="finished:9136 unfinished:58 untranslated:197" class="bartodo"><div class="bardone" style="width:96px">96.9</div></div></td><td>Xan Vieiro</td></tr>
<tr><td><img src="qrc:/images/flags/cs_CZ.png"></td><td>Czech (Czech Republic)</td><td><div title="finished:8924 unfinished:40 untranslated:418" class="bartodo"><div class="bardone" style="width:94px">94.5</div></div></td><td>Martin Landa, Peter Antolik, Martin Dzurov, Jan Helebrant</td></tr>
<tr><td><img src="qrc:/images/flags/fr.png"></td><td>French</td><td><div title="finished:8003 unfinished:101 untranslated:1287" class="bartodo"><div class="bardone" style="width:85px">85.1</div></div></td><td>Eve Rousseau, Marc Monnerat, Lionel Roubeyrie, Jean Roc Morreale, Benjamin Bohard, Jeremy Garniaux, Yves Jacolin, Benjamin Lerre, Stéphane Morel, Marie Silvestre, Tahir Tamba, Xavier M, Mayeul Kauffmann, Mehdi Semchaoui, Robin Cura, Etienne Tourigny, Mathieu Bossaert</td></tr>
<tr><td><img src="qrc:/images/flags/zh_CN.png"></td><td>Chinese (China)</td><td><div title="finished:7948 unfinished:65 untranslated:1366" class="bartodo"><div class="bardone" style="width:84px">84.3</div></div></td><td>Calvin Ngei, Zhang Jun</td></tr>
<tr><td><img src="qrc:/images/flags/es.png"></td><td>Spanish</td><td><div title="finished:7558 unfinished:669 untranslated:1078" class="bartodo"><div class="bardone" style="width:83px">83.4</div></div></td><td>Carlos Dávila, Javier César Aldariz, Gabriela Awad, Edwin Amado, Mayeul Kauffmann, Diana Galindo</td></tr>
<tr><td><img src="qrc:/images/flags/sv.png"></td><td>Swedish</td><td><div title="finished:7207 unfinished:1193 untranslated:1004" class="bartodo"><div class="bardone" style="width:82px">82.4</div></div></td><td>Lars Luthman, Magnus Homann, Victor Axbom</td></tr>
<tr><td><img src="qrc:/images/flags/sv.png"></td><td>Swedish</td><td><div title="finished:7207 unfinished:1193 untranslated:1004" class="bartodo"><div class="bardone" style="width:82px">82.5</div></div></td><td>Lars Luthman, Magnus Homann, Victor Axbom</td></tr>
<tr><td><img src="qrc:/images/flags/et_EE.png"></td><td>Estonian (Estonia)</td><td><div title="finished:7014 unfinished:908 untranslated:1383" class="bartodo"><div class="bardone" style="width:78px">78.9</div></div></td><td>Veiko Viil</td></tr>
<tr><td><img src="qrc:/images/flags/it.png"></td><td>Italian</td><td><div title="finished:7110 unfinished:664 untranslated:1535" class="bartodo"><div class="bardone" style="width:78px">78.6</div></div></td><td>Paolo Cavallini, Flavio Rigolon, Maurizio Napolitano, Roberto Angeletti, Alessandro Fanna, Michele Beneventi, Marco Braida, Luca Casagrande, Luca Delucchi, Anne Gishla</td></tr>
<tr><td><img src="qrc:/images/flags/it.png"></td><td>Italian</td><td><div title="finished:7110 unfinished:664 untranslated:1535" class="bartodo"><div class="bardone" style="width:78px">78.7</div></div></td><td>Paolo Cavallini, Flavio Rigolon, Maurizio Napolitano, Roberto Angeletti, Alessandro Fanna, Michele Beneventi, Marco Braida, Luca Casagrande, Luca Delucchi, Anne Gishla</td></tr>
<tr><td><img src="qrc:/images/flags/nl.png"></td><td>Dutch</td><td><div title="finished:6759 unfinished:1030 untranslated:1516" class="bartodo"><div class="bardone" style="width:76px">76.9</div></div></td><td>Richard Duivenvoorde, Raymond Nijssen, Carlo van Rijswijk</td></tr>
<tr><td><img src="qrc:/images/flags/ja.png"></td><td>Japanese</td><td><div title="finished:6587 unfinished:1077 untranslated:1641" class="bartodo"><div class="bardone" style="width:75px">75.3</div></div></td><td>BABA Yoshihiko, Yoichi Kayama</td></tr>
<tr><td><img src="qrc:/images/flags/pt_BR.png"></td><td>Portuguese (Brazil)</td><td><div title="finished:6587 unfinished:1013 untranslated:1705" class="bartodo"><div class="bardone" style="width:74px">74.9</div></div></td><td>Arthur Nanni</td></tr>
<tr><td><img src="qrc:/images/flags/pt_BR.png"></td><td>Portuguese (Brazil)</td><td><div title="finished:6587 unfinished:1013 untranslated:1705" class="bartodo"><div class="bardone" style="width:74px">75.0</div></div></td><td>Arthur Nanni</td></tr>
<tr><td><img src="qrc:/images/flags/ru.png"></td><td>Russian</td><td><div title="finished:6587 unfinished:948 untranslated:1770" class="bartodo"><div class="bardone" style="width:74px">74.6</div></div></td><td>Artem Popov</td></tr>
<tr><td><img src="qrc:/images/flags/pl_PL.png"></td><td>Polish (Poland)</td><td><div title="finished:6587 unfinished:937 untranslated:1781" class="bartodo"><div class="bardone" style="width:74px">74.5</div></div></td><td>Robert Szczepanek, Milena Nowotarska, Borys Jurgiel, Mateusz Loskot, Tomasz Paul, Andrzej Swiader </td></tr>
<tr><td><img src="qrc:/images/flags/hu.png"></td><td>Hungarian</td><td><div title="finished:6448 unfinished:1044 untranslated:1813" class="bartodo"><div class="bardone" style="width:73px">73.6</div></div></td><td>Zoltan Siki</td></tr>
<tr><td><img src="qrc:/images/flags/pl_PL.png"></td><td>Polish (Poland)</td><td><div title="finished:6587 unfinished:937 untranslated:1781" class="bartodo"><div class="bardone" style="width:74px">74.6</div></div></td><td>Robert Szczepanek, Milena Nowotarska, Borys Jurgiel, Mateusz Loskot, Tomasz Paul, Andrzej Swiader </td></tr>
<tr><td><img src="qrc:/images/flags/hu.png"></td><td>Hungarian</td><td><div title="finished:6448 unfinished:1044 untranslated:1813" class="bartodo"><div class="bardone" style="width:73px">73.7</div></div></td><td>Zoltan Siki</td></tr>
<tr><td><img src="qrc:/images/flags/ko_KR.png"></td><td>Korean (Korea, Republic of)</td><td><div title="finished:6391 unfinished:997 untranslated:1917" class="bartodo"><div class="bardone" style="width:72px">72.8</div></div></td><td>BJ Jang</td></tr>
<tr><td><img src="qrc:/images/flags/sl_SI.png"></td><td>Slovenian (Slovenia)</td><td><div title="finished:6072 unfinished:892 untranslated:2341" class="bartodo"><div class="bardone" style="width:68px">68.9</div></div></td><td>Jože Detečnik, Dejan Gregor</td></tr>
<tr><td><img src="qrc:/images/flags/lv.png"></td><td>Latvian</td><td><div title="finished:5200 unfinished:1175 untranslated:2930" class="bartodo"><div class="bardone" style="width:61px">61.1</div></div></td><td>Maris Nartiss, Pēteris Brūns</td></tr>
<tr><td><img src="qrc:/images/flags/lv.png"></td><td>Latvian</td><td><div title="finished:5200 unfinished:1175 untranslated:2930" class="bartodo"><div class="bardone" style="width:61px">61.2</div></div></td><td>Maris Nartiss, Pēteris Brūns</td></tr>
<tr><td><img src="qrc:/images/flags/sr_Latn.png"></td><td>Serbian ()</td><td><div title="finished:5106 unfinished:1321 untranslated:2879" class="bartodo"><div class="bardone" style="width:60px">60.9</div></div></td><td>Goran Ivanković</td></tr>
<tr><td><img src="qrc:/images/flags/sr_Cyrl.png"></td><td>Serbian ()</td><td><div title="finished:5135 unfinished:1217 untranslated:2954" class="bartodo"><div class="bardone" style="width:60px">60.7</div></div></td><td>Goran Ivanković</td></tr>
<tr><td><img src="qrc:/images/flags/pt_PT.png"></td><td>Portuguese (Portugal)</td><td><div title="finished:3076 unfinished:5071 untranslated:1158" class="bartodo"><div class="bardone" style="width:59px">59.3</div></div></td><td>Giovanni Manghi, Joana Simoes, Duarte Carreira, Alexandre Neto, Pedro Pereira, Pedro Palheiro, Nelson Silva</td></tr>
<tr><td><img src="qrc:/images/flags/km.png"></td><td>Central Khmer</td><td><div title="finished:1992 unfinished:6807 untranslated:506" class="bartodo"><div class="bardone" style="width:57px">57.0</div></div></td><td>Khoem Sokhem</td></tr>
<tr><td><img src="qrc:/images/flags/id.png"></td><td>Indonesian</td><td><div title="finished:4309 unfinished:1274 untranslated:3722" class="bartodo"><div class="bardone" style="width:52px">52.3</div></div></td><td>Januar V. Simarmata, I Made Anombawa</td></tr>
<tr><td><img src="qrc:/images/flags/hr_HR.png"></td><td>Croatian (Croatia)</td><td><div title="finished:4374 unfinished:982 untranslated:3949" class="bartodo"><div class="bardone" style="width:51px">51.4</div></div></td><td>Zoran Jankovic</td></tr>
<tr><td><img src="qrc:/images/flags/th.png"></td><td>Thai</td><td><div title="finished:3658 unfinished:1463 untranslated:4184" class="bartodo"><div class="bardone" style="width:46px">46.4</div></div></td><td>Man Chao</td></tr>
<tr><td><img src="qrc:/images/flags/uk.png"></td><td>Ukrainian</td><td><div title="finished:3418 unfinished:1463 untranslated:4424" class="bartodo"><div class="bardone" style="width:43px">43.8</div></div></td><td>Сергей Якунин</td></tr>
<tr><td><img src="qrc:/images/flags/uk.png"></td><td>Ukrainian</td><td><div title="finished:3418 unfinished:1463 untranslated:4424" class="bartodo"><div class="bardone" style="width:43px">43.9</div></div></td><td>Сергей Якунин</td></tr>
<tr><td><img src="qrc:/images/flags/tr.png"></td><td>Turkish</td><td><div title="finished:3263 unfinished:1299 untranslated:4743" class="bartodo"><div class="bardone" style="width:41px">41.3</div></div></td><td>Osman Yilmaz</td></tr>
<tr><td><img src="qrc:/images/flags/zh_TW.png"></td><td>Chinese (Taiwan, Province of China)</td><td><div title="finished:2180 unfinished:2752 untranslated:4373" class="bartodo"><div class="bardone" style="width:37px">37.6</div></div></td><td>Nung-yao Lin</td></tr>
<tr><td><img src="qrc:/images/flags/vi.png"></td><td>Vietnamese</td><td><div title="finished:2404 unfinished:1840 untranslated:5061" class="bartodo"><div class="bardone" style="width:35px">35.1</div></div></td><td>Bùi Hữu Mạnh</td></tr>
@@ -37,7 +37,7 @@
<tr><td><img src="qrc:/images/flags/ro.png"></td><td>Romanian</td><td><div title="finished:1802 unfinished:1658 untranslated:5845" class="bartodo"><div class="bardone" style="width:27px">27.8</div></div></td><td>Lonut Losifescu-Enescu, Bogdan Pacurar</td></tr>
<tr><td><img src="qrc:/images/flags/ka_GE.png"></td><td>Georgian (Georgia)</td><td><div title="finished:1176 unfinished:1665 untranslated:6464" class="bartodo"><div class="bardone" style="width:21px">21.2</div></div></td><td>Shota Murtskhvaladze, George Machitidze</td></tr>
<tr><td><img src="qrc:/images/flags/fi.png"></td><td>Finnish</td><td><div title="finished:1256 unfinished:1430 untranslated:6619" class="bartodo"><div class="bardone" style="width:20px">20.8</div></div></td><td>Marko Järvenpää</td></tr>
<tr><td><img src="qrc:/images/flags/sk.png"></td><td>Slovak</td><td><div title="finished:707 unfinished:2078 untranslated:6520" class="bartodo"><div class="bardone" style="width:18px">18.4</div></div></td><td>Lubos Balazovic</td></tr>
<tr><td><img src="qrc:/images/flags/sk.png"></td><td>Slovak</td><td><div title="finished:707 unfinished:2078 untranslated:6520" class="bartodo"><div class="bardone" style="width:18px">18.5</div></div></td><td>Lubos Balazovic</td></tr>
<tr><td><img src="qrc:/images/flags/bg.png"></td><td>Bulgarian</td><td><div title="finished:885 unfinished:1620 untranslated:6800" class="bartodo"><div class="bardone" style="width:17px">17.9</div></div></td><td>Захари Савов, Jordan Tzvetkov</td></tr>
<tr><td><img src="qrc:/images/flags/sq_AL.png"></td><td>Albanian (Albania)</td><td><div title="finished:815 unfinished:1471 untranslated:7019" class="bartodo"><div class="bardone" style="width:16px">16.4</div></div></td><td></td></tr>
<tr><td><img src="qrc:/images/flags/lo.png"></td><td>Lao</td><td><div title="finished:553 unfinished:1671 untranslated:7081" class="bartodo"><div class="bardone" style="width:14px">14.7</div></div></td><td>Anousak Souphavanh, Soukanh Lathsavong</td></tr>
@@ -8361,29 +8361,17 @@ Diese Meldung erscheint höchstwahrscheinlich, weil die Umgebungsvariable DISPLA
</message>
<message>
<location filename="../src/core/qgsvectorlayer.cpp" line="3747"/>
<source>Provider %1 has no listStyles method</source>
<translation>Datenlieferant %1 hat keine Methode listStyles</translation>
</message>
<message>
<location filename="../src/core/qgsvectorlayer.cpp" line="3768"/>
<source>Provider %1 has no getStyleById method</source>
<translation>Datenlieferant %1 hat keine Methode getStyleById</translation>
</message>
<message>
<location filename="../src/core/qgsvectorlayer.cpp" line="3793"/>
<source>Provider %1 has no saveStyle method</source>
<translation>Datenlieferant %1 hat keine Methode saveStyle</translation>
<location filename="../src/core/qgsvectorlayerimport.cpp" line="73"/>
<source>Provider %1 has no %2 method</source>
<translation>Datenlieferant %1 hat keine Methode %2</translation>
</message>
<message>
<location filename="../src/core/qgsvectorlayer.cpp" line="3845"/>
<source>Loaded from Provider</source>
<translation>Aus Datenlieferanten geladen</translation>
</message>
<message>
<location filename="../src/core/qgsvectorlayerimport.cpp" line="73"/>
<source>Provider %1 has no createEmptyLayer method</source>
<translation>Datenlieferant %1 kann keine leeren Layer erzeugen</translation>
</message>
<message>
<location filename="../src/core/qgsvectorlayerimport.cpp" line="104"/>
<source>Loading of layer failed</source>
@@ -3744,7 +3744,7 @@ int QgsVectorLayer::listStylesInDatabase( QStringList &ids, QStringList &names,
if ( !listStylesExternalMethod )
{
delete myLib;
msgError = QObject::tr( "Provider %1 has no listStyles method" ).arg( mProviderKey );
msgError = QObject::tr( "Provider %1 has no %2 method" ).arg( mProviderKey ).arg( "listStyles" );
return -1;
}

@@ -3765,7 +3765,7 @@ QString QgsVectorLayer::getStyleFromDatabase( QString styleId, QString &msgError
if ( !getStyleByIdMethod )
{
delete myLib;
msgError = QObject::tr( "Provider %1 has no getStyleById method" ).arg( mProviderKey );
msgError = QObject::tr( "Provider %1 has no %2 method" ).arg( mProviderKey ).arg( "getStyleById" );
return QObject::tr( "" );
}

@@ -3790,7 +3790,7 @@ void QgsVectorLayer::saveStyleToDatabase( QString name, QString description,
if ( !saveStyleExternalMethod )
{
delete myLib;
msgError = QObject::tr( "Provider %1 has no saveStyle method" ).arg( mProviderKey );
msgError = QObject::tr( "Provider %1 has no %2 method" ).arg( mProviderKey ).arg( "saveStyle" );
return;
}

@@ -70,7 +70,7 @@ QgsVectorLayerImport::QgsVectorLayerImport( const QString &uri,
{
delete myLib;
mError = ErrProviderUnsupportedFeature;
mErrorMessage = QObject::tr( "Provider %1 has no createEmptyLayer method" ).arg( providerKey );
mErrorMessage = QObject::tr( "Provider %1 has no %2 method" ).arg( providerKey ).arg( "createEmptyLayer" );
return;
}

@@ -3253,7 +3253,7 @@ QGISEXTERN bool saveStyle( const QString& uri, const QString& qmlStyle, const QS
",styleSLD xml"
",useAsDefault boolean"
",description text"
",ownervarchar(30)"
",owner varchar(30)"
",ui xml"
",update_time timestamp DEFAULT CURRENT_TIMESTAMP"
")" );
@@ -3275,8 +3275,9 @@ QGISEXTERN bool saveStyle( const QString& uri, const QString& qmlStyle, const QS

QString sql = QString( "INSERT INTO layer_styles("
"f_table_catalog,f_table_schema,f_table_name,f_geometry_column,styleName,styleQML,styleSLD,useAsDefault,description,owner%11"
") VALUES("
"%1,%2,%3,%4,%5,XMLPARSE( DOCUMENT %6),XMLPARSE(DOCUMENT %7),%8,%9,%10%12)" )
") VALUES ("
"%1,%2,%3,%4,%5,XMLPARSE(DOCUMENT %6),XMLPARSE(DOCUMENT %7),%8,%9,%10%12"
")" )
.arg( QgsPostgresConn::quotedValue( dsUri.database() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.schema() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.table() ) )
@@ -3298,7 +3299,6 @@ QGISEXTERN bool saveStyle( const QString& uri, const QString& qmlStyle, const QS
" AND f_geometry_column=%4"
" AND styleName=%5" )
.arg( QgsPostgresConn::quotedValue( dsUri.database() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.username() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.schema() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.table() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.geometryColumn() ) )
@@ -3322,8 +3322,8 @@ QGISEXTERN bool saveStyle( const QString& uri, const QString& qmlStyle, const QS
.arg( QgsPostgresConn::quotedValue( qmlStyle ) )
.arg( QgsPostgresConn::quotedValue( sldStyle ) )
.arg( QgsPostgresConn::quotedValue( styleDescription.isEmpty() ? QDateTime::currentDateTime().toString() : styleDescription ) )
.arg( QgsPostgresConn::quotedValue( dsUri.database() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.username() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.database() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.schema() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.table() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.geometryColumn() ) )
@@ -3339,9 +3339,9 @@ QGISEXTERN bool saveStyle( const QString& uri, const QString& qmlStyle, const QS
" AND f_table_name=%3"
" AND f_geometry_column=%4" )
.arg( QgsPostgresConn::quotedValue( dsUri.database() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.username() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.schema() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.table() ) );
.arg( QgsPostgresConn::quotedValue( dsUri.table() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.geometryColumn() ) );
sql = QString( "BEGIN; %1; %2; COMMIT;" ).arg( removeDefaultSql ).arg( sql );
}

0 comments on commit d9fe893

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