From cc9a2e5f6299719cb45b324538fa566723d55d4b Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Sun, 8 Jan 2012 17:59:15 +0100 Subject: [PATCH] Fixed translation of missing files (with a hackish trick... but there is no better solution for now) --- application/application.pro | 29 +++++--- application/resources/i18n/quandoparte_it.qm | Bin 2212 -> 5818 bytes application/resources/i18n/quandoparte_it.ts | 100 ++++++++++++++++++++++++++ 3 files changed, 118 insertions(+), 11 deletions(-) diff --git a/application/application.pro b/application/application.pro index e8123c6..3c2be85 100644 --- a/application/application.pro +++ b/application/application.pro @@ -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 +} diff --git a/application/resources/i18n/quandoparte_it.qm b/application/resources/i18n/quandoparte_it.qm index 2852b6cc57074a13810dfdd48574783edab5efbd..4479bc7b7eb3158269a32aab7b8ff1d973f03045 100644 GIT binary patch literal 5818 zcmdT|QEXgC6}_%^UB_`YN$W%rRA{IgIjPcJ+f-HMI!hcoBvEb0&EoV6spH-8?kI2H zdwy?rEeBB{Dym9+(4V46t*9dUgHWkZ3j_i}pduuss_?-FAMFnU^$!F>AR!UXowsjx zv%F1h+C;)D@64Nb=iW1S?mcs7=dRa|{QA$Yy!6heANbib*M9omX`-QHL}#i*2aXVZ z@c_}pLCQb*6+Ayr`K!Mq+V^|Pzgj2S`!wa>{T0#u2Wj8W%S45*)7fvl4Y@N(J26XZ zFTV)6_mZ}-mzppA1@a%zm;e2DqVf0XwQDV+k;6&5?=y5G|19Be=#3k%5#9I0dw%ev z-x2Nq!tl+no=5v;?!=eA2|VA)T|NI3;JB81Xze{au=Z@-ClA!#SJ#t#4C z`>=m*{KilWeSb~bL(_#{{P7{^d2Ii=-vWQ(Uz+I9<}gw26EsH+nxQgUNdoFb_Lsz*TBcC6!dNU&p>h-|0i63x^LzZ)=|YQ_Co-vdLu?$Z#Rt>BM z60<V*9*Pw?jv)`^j_qu&z|HQCSwfK2Q zg|*Dz8lwsbSX$6oTA?+xt3bEjc`IniNwF3|ZTL=DEivRmjInQd|J5ycN^TDpp`DQl z#1nsW^aRi!z&h`1iua1ulk8{>GVGxQy@6c%mNl?_j#tLsa=Lj99~RkL#2=1VM()Ei z#v$;pN>;cTh2 z*^+)O2xVkcu`VN7SH-4O&7c@W^~v&6_N`du*K;LVo-476P{d~2Qzs`k0^d9m>nmzD zZc5L4VzS&;QLF=BOcft3K0Y;93L#xy2*T}1*BeG0s~#6KQ`1u?_bU&yz)8naOh2D5E@{D%Mry$Eqe;eoaNfG?X~I zvL;qr>z=NPrR1$>&xjxray@8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100644 --- a/application/resources/i18n/quandoparte_it.ts +++ b/application/resources/i18n/quandoparte_it.ts @@ -2,6 +2,19 @@ + AboutPage + + + About Quando Parte + Informazioni su Quando Parte + + + + <h2><a href='http://quandoparte.garage.maemo.org'>Quando Parte</a></h2><p style='font-size:small;'>version 0.4.80</p><p>Copyright (c) 2010, 2011</p><p>Luciano Montanaro (<a href='mailto:mikelima@cirulla.net'>mikelima@cirulla.net</a>)</p><p>Licensed under the GNU Public License v2 or above</p><p/><p>Station geolocation data from <a href='http://www.openstreetmap.org'>OpenStreetMap</a></p><p>Realtime train data from <a href='http://mobile.viaggiatreno.it'>Viaggiatreno</a></p> + <h2><a href='http://quandoparte.garage.maemo.org'>Quando Parte</a></h2><p style='font-size:small;'>versione 0.4.80</p><p>Copyright © 2010, 2011</p><p>Luciano Montanaro (<a href='mailto:mikelima@cirulla.net'>mikelima@cirulla.net</a>)</p><p>Utilizzabile secondo la licenza GNU Public License v2 o superiore</p><p/><p>Dati di geolocalizzazione delle stazioni ottenuti da <a href='http://www.openstreetmap.org'>OpenStreetMap</a></p><p>Dati in tempo reale sui treni da <a href='http://mobile.viaggiatreno.it'>Viaggiatreno</a></p> + + + App <p>%1</p><p>Copyright (c) 2010</p><p>Luciano Montanaro (mikelima@cirulla.net)</p><p>Licensed under the GNU Public License v2 or above</p> @@ -22,6 +35,22 @@ + PageHeader + + + Show + Mostra + + + + SearchBar + + + Search + Cerca + + + SettingsDialog @@ -52,6 +81,49 @@ + StationListPage + + + Update Periodically + Aggiorna periodicamente + + + + About Quando Parte + Informazioni su Quando Parte + + + + Stations by Name + Stazioni per nome + + + + Stations by Distance + Stazioni per distanza + + + + Stations Recently Seen + Stazioni viste di recente + + + + Save + Salva + + + + Cancel + Annulla + + + + Show Last Station on Startup + Mostra l'ultima stazione all'avvio + + + StationListView @@ -105,6 +177,34 @@ + StationPage + + + Departures + Partenze + + + + Arrivals + Arrivi + + + + from + da + + + + to + per + + + + Platform + Binario + + + StationView -- 1.7.9.5