Skip to content

Commit

Permalink
Fixed untranslatable string and strings without placeholders.
Browse files Browse the repository at this point in the history
Spanish translation updated.

See issue sqlitebrowser#2124
  • Loading branch information
mgrojo committed Feb 15, 2020
1 parent 721ace4 commit 498efd7
Show file tree
Hide file tree
Showing 17 changed files with 126 additions and 90 deletions.
4 changes: 2 additions & 2 deletions src/AboutDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ AboutDialog::AboutDialog(QWidget *parent) :
if(sqlcipher_version.isNull())
sqlite_version = tr("SQLite Version ") + sqlite_version;
else
sqlite_version = tr("SQLCipher Version ") + sqlcipher_version + tr(" (based on SQLite %1)").arg(sqlite_version);
sqlite_version = tr("SQLCipher Version %1 (based on SQLite %2)").arg(sqlcipher_version, sqlite_version);

ui->label_version->setText(tr("Version ") + Application::versionString() + "\n\n" +
tr("Built for ") + QSysInfo::buildAbi() + ", running on " + QSysInfo::currentCpuArchitecture() + "\n\n" +
tr("Built for %1, running on %2").arg(QSysInfo::buildAbi(), QSysInfo::currentCpuArchitecture()) + "\n\n" +
tr("Qt Version ") + QT_VERSION_STR + "\n\n" +
sqlite_version
);
Expand Down
13 changes: 8 additions & 5 deletions src/translations/sqlb_ar_SA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
<translation type="vanished">&lt;html dir=&quot;rtl&quot;&gt;&lt;p&gt;«متصفّح قواعد بيانات SQLite» أداة رسوميّة مفتوحة المصدر ومجانية، تُستخدم لإنشاء ملفّات قواعد بيانات SQLite وتصميمها وتحريرها.&lt;/p&gt;&lt;p&gt;الأداة مرخّصة برخصتين، الإصدارة الثانية من رخصة موزيلا العمومية، والإصدارة الثالثة وما بعدها من رخصة غنو العمومية. يمكنك تعديل الأداة أو إعادة توزيعها بشروط تلك الرخص.&lt;/p&gt;&lt;p&gt;طالع &lt;a href=&quot;http://www.gnu.org/licenses/gpl.html&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.gnu.org/licenses/gpl.html&lt;/span&gt;&lt;/a&gt; و&lt;a href=&quot;https://www.mozilla.org/MPL/2.0/index.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://www.mozilla.org/MPL/2.0/index.txt&lt;/span&gt;&lt;/a&gt; للتفاصيل.&lt;/p&gt;&lt;p&gt;من فضلك زُر موقع الوِب هذا لمعلومات أكثر عن البرمجية: &lt;a href=&quot;http://sqlitebrowser.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://sqlitebrowser.org&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:small;&quot;&gt;تستخدم هذه البرمجية عُدّة أدوات كيوت المرخّصة تحت GPL/LGPL وذلك من &lt;/span&gt;&lt;a href=&quot;http://qt-project.org/&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://qt-project.org&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:small;&quot;&gt;&lt;br/&gt;طالع &lt;/span&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5/licensing.html&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://qt-project.org/doc/qt-5/licensing.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:small;&quot;&gt; لشروط الترخيص والمعلومات.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:small;&quot;&gt;تستخدم البرمجية أيضًا طقم أيقونات الحرير/Silk للمؤلّف Mark James المرخّصة برخصة المشاع الإبداعي - النسبة ٢٫٥ و٣٫٠.&lt;br/&gt;طالع &lt;/span&gt;&lt;a href=&quot;http://www.famfamfam.com/lab/icons/silk/&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.famfamfam.com/lab/icons/silk/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:small;&quot;&gt; للتفاصيل.&lt;/span&gt;&lt;/p&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source> (based on SQLite %1)</source>
<translation> (مبنيّ على SQLite %1)</translation>
<translation type="vanished"> (مبنيّ على SQLite %1)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version %1 (based on SQLite %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="21"/>
Expand All @@ -34,7 +38,7 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for </source>
<source>Built for %1, running on %2</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand All @@ -43,9 +47,8 @@
<translation>إصدارة كيوت: </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version </source>
<translation>إصدارة SQLCipher: ‏</translation>
<translation type="vanished">إصدارة SQLCipher: ‏</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="17"/>
Expand Down
7 changes: 3 additions & 4 deletions src/translations/sqlb_cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source> (based on SQLite %1)</source>
<source>SQLCipher Version %1 (based on SQLite %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand All @@ -34,7 +34,7 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for </source>
<source>Built for %1, running on %2</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand All @@ -43,9 +43,8 @@
<translation>verze Qt </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version </source>
<translation>verze SQLCipher </translation>
<translation type="vanished">verze SQLCipher </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="17"/>
Expand Down
13 changes: 8 additions & 5 deletions src/translations/sqlb_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@
<translation type="obsolete">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;SQLite Database Browser ist ein grafisches, freies Open Source Tool zum Erstellen, Bearbeiten und Ändern von SQLite-Datenbankdateien.&lt;/p&gt;&lt;p&gt;Es steht unter zwei Lizenzen, der Mozilla Public License Version 2 und der GNU General Public License Version 3 oder aktueller. Sie können das Programm unter den Bedingungen dieser Lizenzen ändern und weitergeben.&lt;/p&gt;&lt;p&gt;Siehe &lt;a href=&quot;http://www.gnu.org/licenses/gpl.html&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.gnu.org/licenses/gpl.html&lt;/span&gt;&lt;/a&gt; und &lt;a href=&quot;https://www.mozilla.org/MPL/2.0/index.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://www.mozilla.org/MPL/2.0/index.txt&lt;/span&gt;&lt;/a&gt; für Details.&lt;/p&gt;&lt;p&gt;Für mehr Informationen über dieses Programm besuchen Sie unsere Website unter: &lt;a href=&quot;https://sqlitebrowser.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://sqlitebrowser.org&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:small;&quot;&gt;Diese Anwendung verwendet das GPL/LGPL Qt Toolkit von &lt;/span&gt;&lt;a href=&quot;http://qt-project.org/&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://qt-project.org/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:small;&quot;&gt;&lt;br/&gt;Siehe &lt;/span&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5/licensing.html&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://qt-project.org/doc/qt-5/licensing.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:small;&quot;&gt; für Lizenzinformationenund weitere Informationen.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:small;&quot;&gt;Sie verwendet außerdem das Silk iconset von Mark James, das unter einer Creative Commons Attribution 2.5 und 3.0 Lizenz steht.&lt;br/&gt;Siehe &lt;/span&gt;&lt;a href=&quot;http://www.famfamfam.com/lab/icons/silk/&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.famfamfam.com/lab/icons/silk/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:small;&quot;&gt; für Details.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source> (based on SQLite %1)</source>
<translation> (basierend auf SQLite %1)</translation>
<translation type="vanished"> (basierend auf SQLite %1)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version %1 (based on SQLite %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="21"/>
Expand All @@ -46,7 +50,7 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for </source>
<source>Built for %1, running on %2</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand All @@ -55,9 +59,8 @@
<translation>Qt-Version </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version </source>
<translation>SQLCipher-Version </translation>
<translation type="vanished">SQLCipher-Version </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="17"/>
Expand Down
9 changes: 2 additions & 7 deletions src/translations/sqlb_en_GB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source> (based on SQLite %1)</source>
<source>SQLCipher Version %1 (based on SQLite %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand All @@ -30,19 +30,14 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for </source>
<source>Built for %1, running on %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="23"/>
<source>Qt Version </source>
<translation></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version </source>
<translation></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="17"/>
<source>SQLite Version </source>
Expand Down
21 changes: 10 additions & 11 deletions src/translations/sqlb_es_ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@
</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source> (based on SQLite %1)</source>
<translation> (basado en SQLite %1)</translation>
<translation type="vanished"> (basado en SQLite %1)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version %1 (based on SQLite %2)</source>
<translation>Versión de SQLCipher %1 (basado en SQLite %2)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="21"/>
Expand All @@ -41,18 +45,13 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for </source>
<translation>Compilado para </translation>
<source>Built for %1, running on %2</source>
<translation>Compilado para %1, ejecutándose en %2</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="23"/>
<source>Qt Version </source>
<translation>Versión de Qt</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version </source>
<translation>Versión de SQLCipher </translation>
<translation>Versión de Qt </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="17"/>
Expand Down Expand Up @@ -1765,7 +1764,7 @@ Los errores se indican con un subrayado ondulado rojo.</translation>
<message>
<location filename="../EditTableDialog.ui" line="484"/>
<source>Add a unique constraint</source>
<translation>Añadir una restricción de único"</translation>
<translation>Añadir una restricción de único&quot;</translation>
</message>
<message>
<location filename="../EditTableDialog.ui" line="492"/>
Expand Down
17 changes: 12 additions & 5 deletions src/translations/sqlb_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@
<translation type="obsolete">&amp;lt;head/&gt;&lt;meta charset=&quot;UTF-8&quot;&gt;&lt;body&gt;&lt;p&gt;SQLite Database Browser est un outil visuel, libre et open-source, pour créer, définir et éditer des bases de données SQLite.&lt;/p&gt;&lt;p&gt;Il est fourni sous une double licence, la licence Mozilla Public License Version 2 et la licence GNU General Public License Version 3 ou ultérieure. Vous pouvez modifier ou redistribuer de programme dans les mêmes conditions de licence.&lt;/p&gt;&lt;p&gt;Pour plus de détails, voir : &lt;a href=&quot;http://www.gnu.org/licenses/gpl.html&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.gnu.org/licenses/gpl.html&lt;/span&gt;&lt;/a&gt; et &lt;a href=&quot;https://www.mozilla.org/MPL/2.0/index.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://www.mozilla.org/MPL/2.0/index.txt&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Pour plus d&apos;information à propos de ce programme, merci de visiter notre site Internet à l&apos;adresse suivante : &lt;a href=&quot;https://sqlitebrowser.org&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://sqlitebrowser.org&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:small;&quot;&gt;Ce logiciel utilise le boite à outils GPL/LGPL Qt Toolkit de &lt;/span&gt;&lt;a href=&quot;http://qt-project.org/&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://qt-project.org/&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot; font-size:small;&quot;&gt;&lt;br/&gt;Pour toute information et licences, voir : &lt;/span&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5/licensing.html&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://qt-project.org/doc/qt-5/licensing.html&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:small;&quot;&gt;Il utilise aussi le jeu d&apos;icônes Silk créé par Mark James, qui est sous licence Creative Commons Attribution 2.5 et 3.0.&lt;br/&gt;Pour plus de détails, voir : &lt;/span&gt;&lt;a href=&quot;http://www.famfamfam.com/lab/icons/silk/&quot;&gt;&lt;span style=&quot; font-size:small; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.famfamfam.com/lab/icons/silk/&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source> (based on SQLite %1)</source>
<translation> (basé sur SQLite %1)</translation>
<translation type="vanished"> (basé sur SQLite %1)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version %1 (based on SQLite %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="21"/>
Expand All @@ -51,18 +55,21 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for %1, running on %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built for </source>
<translation>Compilé pour </translation>
<translation type="vanished">Compilé pour </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="23"/>
<source>Qt Version </source>
<translation>Version de Qt </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version </source>
<translation>Version de SQLCipher </translation>
<translation type="vanished">Version de SQLCipher </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="17"/>
Expand Down
17 changes: 12 additions & 5 deletions src/translations/sqlb_it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,30 @@
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source>SQLCipher Version %1 (based on SQLite %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for %1, running on %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>SQLCipher Version </source>
<translation>Versione SQLCipher </translation>
<translation type="vanished">Versione SQLCipher </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="19"/>
<source> (based on SQLite %1)</source>
<translation> (basato su SQLite %1)</translation>
<translation type="vanished"> (basato su SQLite %1)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="21"/>
<source>Version </source>
<translation>Versione </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="22"/>
<source>Built for </source>
<translation>Compilato per </translation>
<translation type="vanished">Compilato per </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="23"/>
Expand Down
Loading

0 comments on commit 498efd7

Please sign in to comment.