Fixed translation of missing files
authorLuciano Montanaro <mikelima@cirulla.net>
Sun, 8 Jan 2012 16:59:15 +0000 (17:59 +0100)
committerLuciano Montanaro <mikelima@cirulla.net>
Sun, 8 Jan 2012 16:59:15 +0000 (17:59 +0100)
(with a hackish trick... but there is no better solution for now)

application/application.pro
application/resources/i18n/quandoparte_it.qm
application/resources/i18n/quandoparte_it.ts

index e8123c6..3c2be85 100644 (file)
@@ -106,6 +106,19 @@ symbian {
     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
 }
 
+QMLSOURCES = \
+    resources/harmattan/qml/main.qml \
+    resources/harmattan/qml/StationListPage.qml \
+    resources/harmattan/qml/StationPage.qml \
+    resources/harmattan/qml/SearchBar.qml \
+    resources/harmattan/qml/PageHeader.qml \
+    resources/harmattan/qml/uiconstants.js \
+    resources/harmattan/qml/StationListPage.js \
+    resources/harmattan/qml/AboutPage.qml \
+    resources/harmattan/qml/InfoBar.qml \
+    resources/harmattan/qml/DroppedShadow.qml \
+    resources/harmattan/qml/DelayIndicator.qml
+
 OTHER_FILES += \
     resources/harmattan/applications/quandoparte.desktop \
     resources/fremantle/applications/quandoparte.desktop \
@@ -120,17 +133,7 @@ OTHER_FILES += \
     resources/stations/stations.qpl \
     resources/stations/generatelist.xq \
     resources/stations/generateunclassifiedlist.xq \
-    resources/harmattan/qml/main.qml \
-    resources/harmattan/qml/StationListPage.qml \
-    resources/harmattan/qml/StationPage.qml \
-    resources/harmattan/qml/SearchBar.qml \
-    resources/harmattan/qml/PageHeader.qml \
-    resources/harmattan/qml/uiconstants.js \
-    resources/harmattan/qml/StationListPage.js \
-    resources/harmattan/qml/AboutPage.qml \
-    resources/harmattan/qml/InfoBar.qml \
-    resources/harmattan/qml/DroppedShadow.qml \
-    resources/harmattan/qml/DelayIndicator.qml
+    $$QMLSOURCES
 
 unix {
     isEmpty(PREFIX) {
@@ -216,3 +219,7 @@ contains(USE_RESOURCES,1) {
     RESOURCES += \
         quandoparte.qrc
 }
+
+hack_to_fix_translations {
+    SOURCES += $$QMLSOURCES
+}
index 2852b6c..4479bc7 100644 (file)
Binary files a/application/resources/i18n/quandoparte_it.qm and b/application/resources/i18n/quandoparte_it.qm differ
index 4c12ea2..f618962 100644 (file)
@@ -2,6 +2,19 @@
 <!DOCTYPE TS>
 <TS version="2.0" language="it_IT">
 <context>
+    <name>AboutPage</name>
+    <message>
+        <location filename="../harmattan/qml/AboutPage.qml" line="19"/>
+        <source>About Quando Parte</source>
+        <translation>Informazioni su Quando Parte</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/AboutPage.qml" line="30"/>
+        <source>&lt;h2&gt;&lt;a href=&apos;http://quandoparte.garage.maemo.org&apos;&gt;Quando Parte&lt;/a&gt;&lt;/h2&gt;&lt;p style=&apos;font-size:small;&apos;&gt;version 0.4.80&lt;/p&gt;&lt;p&gt;Copyright (c) 2010, 2011&lt;/p&gt;&lt;p&gt;Luciano Montanaro (&lt;a href=&apos;mailto:mikelima@cirulla.net&apos;&gt;mikelima@cirulla.net&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;Licensed under the GNU Public License v2 or above&lt;/p&gt;&lt;p/&gt;&lt;p&gt;Station geolocation data from &lt;a href=&apos;http://www.openstreetmap.org&apos;&gt;OpenStreetMap&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Realtime train data from &lt;a href=&apos;http://mobile.viaggiatreno.it&apos;&gt;Viaggiatreno&lt;/a&gt;&lt;/p&gt;</source>
+        <translation>&lt;h2&gt;&lt;a href=&apos;http://quandoparte.garage.maemo.org&apos;&gt;Quando Parte&lt;/a&gt;&lt;/h2&gt;&lt;p style=&apos;font-size:small;&apos;&gt;versione 0.4.80&lt;/p&gt;&lt;p&gt;Copyright © 2010, 2011&lt;/p&gt;&lt;p&gt;Luciano Montanaro (&lt;a href=&apos;mailto:mikelima@cirulla.net&apos;&gt;mikelima@cirulla.net&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;Utilizzabile secondo la licenza GNU Public License v2 o superiore&lt;/p&gt;&lt;p/&gt;&lt;p&gt;Dati di geolocalizzazione delle stazioni  ottenuti da &lt;a href=&apos;http://www.openstreetmap.org&apos;&gt;OpenStreetMap&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Dati in tempo reale sui treni da &lt;a href=&apos;http://mobile.viaggiatreno.it&apos;&gt;Viaggiatreno&lt;/a&gt;&lt;/p&gt;</translation>
+    </message>
+</context>
+<context>
     <name>App</name>
     <message>
         <source>&lt;p&gt;%1&lt;/p&gt;&lt;p&gt;Copyright (c) 2010&lt;/p&gt;&lt;p&gt;Luciano Montanaro (mikelima@cirulla.net)&lt;/p&gt;&lt;p&gt;Licensed under the GNU Public License v2 or above&lt;/p&gt;</source>
     </message>
 </context>
 <context>
+    <name>PageHeader</name>
+    <message>
+        <location filename="../harmattan/qml/PageHeader.qml" line="61"/>
+        <source>Show</source>
+        <translation>Mostra</translation>
+    </message>
+</context>
+<context>
+    <name>SearchBar</name>
+    <message>
+        <location filename="../harmattan/qml/SearchBar.qml" line="42"/>
+        <source>Search</source>
+        <translation>Cerca</translation>
+    </message>
+</context>
+<context>
     <name>SettingsDialog</name>
     <message>
         <location filename="../../settingsdialog.ui" line="14"/>
     </message>
 </context>
 <context>
+    <name>StationListPage</name>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="20"/>
+        <source>Update Periodically</source>
+        <translation>Aggiorna periodicamente</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="31"/>
+        <source>About Quando Parte</source>
+        <translation>Informazioni su Quando Parte</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="43"/>
+        <source>Stations by Name</source>
+        <translation>Stazioni per nome</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="46"/>
+        <source>Stations by Distance</source>
+        <translation>Stazioni per distanza</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="49"/>
+        <source>Stations Recently Seen</source>
+        <translation>Stazioni viste di recente</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="140"/>
+        <source>Save</source>
+        <translation>Salva</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="141"/>
+        <source>Cancel</source>
+        <translation>Annulla</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationListPage.qml" line="157"/>
+        <source>Show Last Station on Startup</source>
+        <translation>Mostra l&apos;ultima stazione all&apos;avvio</translation>
+    </message>
+</context>
+<context>
     <name>StationListView</name>
     <message>
         <location filename="../../stationlistview.ui" line="14"/>
     </message>
 </context>
 <context>
+    <name>StationPage</name>
+    <message>
+        <location filename="../harmattan/qml/StationPage.qml" line="22"/>
+        <source>Departures</source>
+        <translation>Partenze</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationPage.qml" line="25"/>
+        <source>Arrivals</source>
+        <translation>Arrivi</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationPage.qml" line="106"/>
+        <source>from </source>
+        <translation>da</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationPage.qml" line="112"/>
+        <source>to </source>
+        <translation>per</translation>
+    </message>
+    <message>
+        <location filename="../harmattan/qml/StationPage.qml" line="131"/>
+        <source>Platform </source>
+        <translation>Binario</translation>
+    </message>
+</context>
+<context>
     <name>StationView</name>
     <message>
         <location filename="../../stationview.cpp" line="39"/>