From 1df657224a3caaa3c20735c7ca9a985a90e95de1 Mon Sep 17 00:00:00 2001 From: Fabien Proriol Date: Wed, 22 Jul 2015 16:51:10 +0200 Subject: [PATCH] Translations: Use the standard way --- CarBudget.cpp | 3 +- Ressources.qrc | 6 - harbour-carbudget.pro | 16 +- i18n/de_DE.qm | Bin 8567 -> 0 bytes i18n/fr_FR.qm | Bin 13244 -> 0 bytes i18n/it_IT.qm | Bin 5271 -> 0 bytes i18n/ru_RU.qm | Bin 5303 -> 0 bytes rpm/CarBudget.yaml | 3 +- {i18n => translations}/de_DE.ts | 13 +- {i18n => translations}/fr_FR.ts | 11 +- translations/harbour-carbudget.ts | 971 ++++++++++++++++++++++++++++++ {i18n => translations}/it_IT.ts | 13 +- {i18n => translations}/ru_RU.ts | 11 +- {i18n => translations}/sv_SE.ts | 11 +- update_translation.sh | 9 +- 15 files changed, 1027 insertions(+), 40 deletions(-) delete mode 100644 i18n/de_DE.qm delete mode 100644 i18n/fr_FR.qm delete mode 100644 i18n/it_IT.qm delete mode 100644 i18n/ru_RU.qm rename {i18n => translations}/de_DE.ts (98%) rename {i18n => translations}/fr_FR.ts (99%) create mode 100644 translations/harbour-carbudget.ts rename {i18n => translations}/it_IT.ts (98%) rename {i18n => translations}/ru_RU.ts (99%) rename {i18n => translations}/sv_SE.ts (98%) diff --git a/CarBudget.cpp b/CarBudget.cpp index 506708e..6aaa7a7 100644 --- a/CarBudget.cpp +++ b/CarBudget.cpp @@ -53,10 +53,11 @@ int main(int argc, char *argv[]) QQuickView *view = SailfishApp::createView(); QTranslator translator; - if(translator.load((QLocale::system().name() != "C")?(QLocale::system().name()):("en_GB"), ":/i18n")) + if(translator.load((QLocale::system().name() != "C")?(QLocale::system().name()):("en_GB"), "/usr/share/harbour-carbudget/translations/")) { QGuiApplication::installTranslator(&translator); } + app->setApplicationVersion(QString(APP_VERSION)); qmlRegisterType( "harbour.carbudget",1,0,"Tank"); diff --git a/Ressources.qrc b/Ressources.qrc index 2c2bb3e..46e8194 100644 --- a/Ressources.qrc +++ b/Ressources.qrc @@ -5,10 +5,4 @@ picture/Wrench.png picture/Dollar.png - - i18n/fr_FR.qm - i18n/it_IT.qm - i18n/de_DE.qm - i18n/ru_RU.qm - diff --git a/harbour-carbudget.pro b/harbour-carbudget.pro index 40e7559..71e3080 100644 --- a/harbour-carbudget.pro +++ b/harbour-carbudget.pro @@ -32,6 +32,15 @@ lupdate_only{ } +CONFIG += sailfishapp_i18n + +TRANSLATIONS = translations/de_DE.ts \ + translations/fr_FR.ts \ + translations/it_IT.ts \ + translations/ru_RU.ts \ + translations/sv_SE.ts + + DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\" OTHER_FILES += qml/cover/CoverPage.qml \ @@ -53,13 +62,10 @@ OTHER_FILES += qml/cover/CoverPage.qml \ qml/pages/TireMount.qml \ qml/pages/About.qml \ qml/pages/CarCreate.qml \ - i18n/FR_fr.ts \ - i18n/RU_ru.ts \ qml/pages/BudgetView.qml \ qml/pages/Settings.qml \ qml/pages/CosttypeEntry.qml \ qml/pages/CosttypeView.qml \ - i18n/de_DE.ts \ qml/pages/SelectImportFile.qml \ qml/pages/MycarImport.qml \ qml/pages/FuelpadImport.qml \ @@ -84,10 +90,6 @@ HEADERS += \ statfileinfo.h \ globals.h -TRANSLATIONS = i18n/de_DE.ts \ - i18n/fr_FR.ts \ - i18n/it_IT.ts \ - i18n/ru_RU.ts RESOURCES += \ Ressources.qrc diff --git a/i18n/de_DE.qm b/i18n/de_DE.qm deleted file mode 100644 index 5028dd5cd1738dde4758fb2feda992a434118ea0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8567 zcmbVRYitzP6+X6iysy~@#u(!mI&o1$2o+AC;?cCK!3GMpaj*$WU$E@X+5_tuGCOOq zqdrtMO#^L+N}-iVpJ^f*g%YVEit1ENRjMK?D%3VeX-OYZQq+e?ex+&~XwSKK_s*T2 z8MDOJ`grVn-rqU*-ZS^UQ0Tny<`c&+-roJwJ>UJws~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gC`o&C6&xVuPDpvMa}zEe!Dd#6?9gD55QB_u185e0(K7z;d(j!vMHxP zko_{Retm)MxG)p9+buZT!GahDHQ;!;+-0y0p~B8-z_Ch!wyVGJ^0N>PxDeAddYRaQ zE>D2?4!RYPEG~7ieMk^W@A$3NtYO(Hpl-i1IMxS2OlwV$*O4&HIrynAJC(4cxDs?z zW*sp*m_saY1^G@`T)em}IA7_ZEV_d`axQs&_tEP@i}nE3bOl0d77s5tOid$Fg_!KD z`8o0#DoD6ekk>f3hd6FKco=QM-67>!5!NuoO10IbiVBa!R83@rNoBuq!h`Q6 zIW)L9v~OaSCP@wv86jb;Vsr?2P*5Z-x7jCkznNpubC8N^YV)9Y6C}`$7g$TnYr7dllz3G}u~8`<>dKtz(L1!~TPO6|x>gLo zYvdOul0PplK+=M@Z(f6}3IN4^9EP0(@Nms5pLMCFEe>mywVURv@z?p*Stk! z*+!1@G8BScA^6miHW<#eB*Er|-@?3X9j|T;2Y;=IF1)rXgI~VxE8ZPbzMaC0Q75!% zyoG^=v0tKm-I7aZ=R7U%*6KqjEab%&c;+8sU qNMBxnUqjC1>Y@CX3vanQ?poX`Kj~UTcI5fH&_ytK5H8o;()9o0HgN3# diff --git a/i18n/it_IT.qm b/i18n/it_IT.qm deleted file mode 100644 index 396e2a5b235e8cf4a89fe667fb41ee7018889376..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5271 zcmbtXU2GIp6h7T{cV~BJciXB2No|Hopdg{fRt4fqDQ!t?n?egl;{(&(X*)VQQ)Xw2 ztuMyJpNKy(SoMK~V8xJ#fy6*a(D+hcFeI9&QG)?N!h;Vcn8*tuo^$W+otd5Kvc)#D zXYS;F=l`60?o;RTt1tY0WZ~l4wr}v4eS z5~s1FoW_6PH1jhIez*kCunWeY`wAel55|pgfR*9B({Sqi zrvQoJ$djMV0sch}AC4fdJ#yo(L-_r>#_zkj@$)N9KfSdMApLrD+rRw)&0W#n3s0kd z???Mj{R+^upVMfW#=7}Bp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soO9gQ>^b}pR(*z`RYk`6}sfB=v%thQ;6LTB#m2& zW2?n!VW^Akz_wSw6s<>#)ZRiZH69Bo^vcX|w^(F7w|S==5{b+eZDhqI?*-Rc@?J>N z4UR}s%ytX|Z*kteb+rdCU~^!um|`tIEMeU&V43b|4qlG3H;zK#7>}4=<2Uh66KQDp E4?Hy#-2eap diff --git a/i18n/ru_RU.qm b/i18n/ru_RU.qm deleted file mode 100644 index bbc7ed6cc3985602f228505404bb211b6f313498..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5303 zcmbVPYiv|S6rQ%T@4MU5AT$W&wh%1EK%v|8K`CrY3)<2mEozJsw%yxyal4DRcfo3+ z36aEziV>?uiHU-SA0QfokAT4_8iO&>M1PoI6e7Xs5C5QILWtkY?9Sd-aVtsp+AyqB$Ti|Q)(hOjWYdf12q`&AhVDBItUz0{#A}rG$jf zcv}DJ2L1t0>^$4|TTl1N9|-aMCS+hhNM(bN;d_Ogv%<5J;mR+1p6>Y^zJ4I2cTrBB z71E~(8Q3pm_<)dep7$JH0ej1?c+N4uDocE!pTJA#3*Vv>%%0bL4Y%RFq{rVKjbhzm zfA#>@&-pAcF?Iv~|0$&63u=$RA5Stk`o?#VD}%@0i9pY;;Po*`|6`$Dk3R>$zYOg^ z)r#+JLY5y=Za;nn>)#X7`-G6bdLaY12pO&svf`@p(D`l9b6v=?G3A9Lzkubikn~w) z`bY@xo0aKP;G?`=d5OITuPHBo5+KC)it_$(_!A+@>5@sT`&CHaSIULjXJO~3;g-4k z@cm%;=L_J2#=;kGoCf|x_);(n+`AFw@@3dR9r^nb@WCDBKD{5f(j>@RSq95`s7f1X zGu?pS)wF|lLaw77L?t66L((LH-zeVdNDqmVVUi>ozN%y^(eXbz-ZLacmiwWKc=1=; zrE76ROQ^$B>PRM?$VAn;p7?N5ORHP;jGoM-miw^G6C2KCjS^--HNBO#&>q@^eVg$# zK-!>x6L#n$dq|_y9O+ArXz59`RN9WW&3Ic!yQGeY@JUT;d)1M+&Qt}u;=1_CHLamF zbS+SuX&W@QLl2W1IG^mP318Mhb2D~g{I<}hg7(4jjBcn%v>N#JTwf!P zR6Fb}Xb@yFpdVVg(}q69t%~s2#%MPzh|*rUqgU|Y1k9sOLTYKX1p52IKv!nca6)Tc zpv~}=SEu~dRYosGjYY{U>a|hUAEV1W;eW5LxL~?XWCXr3q ztP;?M_0whCh=R$UtvX7Ei_I0VOGMRv7()qdazsz=Hj2aS0CTqwEcLJ*4})d{L{ zDT~&fK$_%~*X*H<06aKYJGW>UC<7p#l@Y8AA(MzrV`b=4ETk33OAwI@pgw8iK zE6-K=-Y0y)FPla&>qyH&+tW!yn^D0mI-+&wq7ptVG4hBpF5Ee%Y%!~DE+|S?(Y4a2 z(p4#51sOmpUS?MeGNSB4gN`q?Zz2&3j4_FME7T??$RqIj`Fil_osK((y| zn6nt;s&tWOm#hR<9jpTLK`%!T=5!EcnT|WNQ)(hV{0${_Q|DfQ(!l2F7Jjo~w+xnb zO~}5&$fw|3XGh~BMpoCv-N~v$p$nlQYD0O@b2J{_fOUDby~4t9cEw_oc+51f%JUC{ zS(ez;6w$71h^k!0=;gOLw=KoJ#(h8Mkv2`IRuAjw0`5->-Nb$BM44h2@;b5xzOp+< z3*MrpOSi4;SVE-o>dmHb^EKDa{NR>MHf^ZP7)coal)Fs2-#Gk38P(9^ljAO!DkSJS zI*=>(ZhMBdPuy(N`Wbus%uy&e-PVnqFMj5fED^If(q>qZN7@XjbdoPmB{CdzivniG o6jcVy0LHTUjw*SUTk%Xb6#z3jScs8a?-fz8+V&(4QE6Gpzbl=Se*gdg diff --git a/rpm/CarBudget.yaml b/rpm/CarBudget.yaml index aa2575e..225201d 100644 --- a/rpm/CarBudget.yaml +++ b/rpm/CarBudget.yaml @@ -1,6 +1,6 @@ Name: harbour-carbudget Summary: Car expenses calculation -Version: 0.12 +Version: 0.13 Release: 0 Group: Qt/Qt License: GPL @@ -22,6 +22,7 @@ Requires: Files: - '%{_bindir}' - '%{_datadir}/%{name}/qml' +- '%{_datadir}/%{name}/translations' - '%{_datadir}/applications/%{name}.desktop' - '%{_datadir}/icons/hicolor/86x86/apps/%{name}.png' - '%{_datadir}/applications' diff --git a/i18n/de_DE.ts b/translations/de_DE.ts similarity index 98% rename from i18n/de_DE.ts rename to translations/de_DE.ts index e559a60..1ba9333 100644 --- a/i18n/de_DE.ts +++ b/translations/de_DE.ts @@ -1,20 +1,25 @@ - + About - + + Simulation + + + + License: GPLv3 Lizenz: GPLv3 - + Created by condo4 (Fabien Proriol) Erstellt von condo4 (Fabien Proriol) - + Credits to:<br>- Lorenzo Facca (Italian translation)<br>- Alois Spitzbart (German translation)<br>- Michal Hrusecky (Many improvments)<br>- Denis Fedoseev (Russion translation)<br >- Thomas Michel (Many improvments) Dank an:<br>- Lorenzo Facca (Italienisch Übersetzung)<br>- Alois Spitzbart (Deutsche Übersetzung)<br>- Michal Hrusecky (Viele Verbesserungen)<br>- Denis Fedoseev (Russische Übersetzung)<br >- Thomas Michel (Viele Verbesserungen) diff --git a/i18n/fr_FR.ts b/translations/fr_FR.ts similarity index 99% rename from i18n/fr_FR.ts rename to translations/fr_FR.ts index 2ff65df..91bae1a 100644 --- a/i18n/fr_FR.ts +++ b/translations/fr_FR.ts @@ -1,28 +1,29 @@ - + About + Simulation - Simulation + Simulation Distance: %L1 km Distance: %L1 km - + License: GPLv3 Licence : GPLv3 - + Created by condo4 (Fabien Proriol) Créé par condo4 (Fabien Proriol) - + Credits to:<br>- Lorenzo Facca (Italian translation)<br>- Alois Spitzbart (German translation)<br>- Michal Hrusecky (Many improvments)<br>- Denis Fedoseev (Russion translation)<br >- Thomas Michel (Many improvments) Remerciments :<br>- Lorenzo Facca (Italien)<br>- Alois Spitzbart (Allemand)<br>- Denis Fedoseev (Russe)<br>- Michal Hrusecky (divers améliorations)<br >- Thomas Michel (divers améliorations) diff --git a/translations/harbour-carbudget.ts b/translations/harbour-carbudget.ts new file mode 100644 index 0000000..fc16a99 --- /dev/null +++ b/translations/harbour-carbudget.ts @@ -0,0 +1,971 @@ + + + + + About + + + Simulation + + + + + License: GPLv3 + + + + + Created by condo4 (Fabien Proriol) + + + + + Credits to:<br>- Lorenzo Facca (Italian translation)<br>- Alois Spitzbart (German translation)<br>- Michal Hrusecky (Many improvments)<br>- Denis Fedoseev (Russion translation)<br >- Thomas Michel (Many improvments) + + + + + BudgetView + + + Statistics + + + + + + + Bills: + + + + + + + Fuel: + + + + + + + Tires: + + + + + + Invest: + + + + + ODO + + + + + In Budget + + + + + Fuel + + + + + Total: + + + + + Average: + + + + + Min: + + + + + Max: + + + + + Costs + + + + + + Total: + + + + + Costs per 100 Km + + + + + Buying: + + + + + CarCreate + + + Create new car + + + + + + Short Car name + + + + + CarEntry + + + Select another car + + + + + Settings + + + + + About + + + + + Distance: %L1 ~ %L2 %3 + + + + + Consumption: %L1 l/100%2 + + + + + Last: %L1 l/100%2 + + + + + New Tank + + + + + New Cost + + + + + Tires mounted: %1/%2 + + + + + Tires mounted + + + + + Budget + + + + + CarView + + + Import Car + + + + + Create new car + + + + + Car List + + + + + Select + + + + + Remove + + + + + ConsumptionStatistics + + + Consumption by fuel type + + + + + Average: + + + + + Min: + + + + + Max: + + + + + CostEntry + + + Manage cost types + + + + + Modify Cost + + + + + New Cost + + + + + Date + + + + + Cost Type + + + + + + Price + + + + + description + + + + + CostEntryView + + + Modify + + + + + Cost + + + + + ODO: + + + + + Date: + + + + + Cost Type: + + + + + Price: + + + + + Description: + + + + + CostStatistics + + + Bills per 100 + + + + + + by Type + + + + + Bills by Type + + + + + Fuel per 100 + + + + + Fuel by Type + + + + + CostView + + + Cost List + + + + + Add cost + + + + + Modify + + + + + Remove + + + + + Deleting + + + + + CosttypeEntry + + + Modify Cost Type + + + + + New Cost Type + + + + + + Name + + + + + CosttypeView + + + Add new cost type + + + + + Cost Type List + + + + + Modify + + + + + Remove + + + + + Deleting + + + + + CoverPage + + + / 100 + + + + + l / 100 + + + + + DirectoryPage + + + Settings + + + + + Import File + + + + + Cut + + + + + No files + + + + + FuelpadImport + + + Cars found in + + + + + Import + + + + + FueltypeEntry + + + Modify Fuel Type + + + + + New Fuel Type + + + + + + Name + + + + + FueltypeView + + + Add new fuel type + + + + + Fuel Type List + + + + + Modify + + + + + Remove + + + + + Deleting + + + + + MycarImport + + + Cars found in + + + + + Import + + + + + SelectImportFile + + + File to import + + + + + Import + + + + + Settings + + + Settings + + + + + + Currency + + + + + Distance Unity + + + + + Km or Mile + + + + + Number of wheels + + + + + 2, 4, 6 or 8 + + + + + Buying date + + + + + Buying Price + + + + + Selling Price (est.) + + + + + Lifetime (in months, est.) + + + + + StationEntry + + + Modify Station + + + + + New Station + + + + + + Name + + + + + StationView + + + Add new station + + + + + Station List + + + + + Modify + + + + + Remove + + + + + Deleting + + + + + TankEntry + + + Manage stations + + + + + Manage fuel types + + + + + Modify Tank + + + + + New tank + + + + + Date + + + + + ODO + + + + + + Quantity + + + + + + Total Price + + + + + Unite Price + + + + + Fuel Type + + + + + Station + + + + + Full tank + + + + + description + + + + + TankEntryView + + + Modify + + + + + Tank + + + + + Date: + + + + + ODO: + + + + + Quantity: + + + + + Total Price: + + + + + Unit Price: + + + + + Station: + + + + + Fuel Type: + + + + + Full tank: + + + + + Yes + + + + + No + + + + + Note: + + + + + TankView + + + Tank List + + + + + Add tank + + + + + Manage stations + + + + + Manage fuel types + + + + + Modify + + + + + Remove + + + + + Deleting + + + + + /l + + + + + l + + + + + TireEntry + + + Modify Tire + + + + + New Tire + + + + + Buy date + + + + + + Name + + + + + + Manufacturer + + + + + + Model + + + + + + Price + + + + + + Quantity + + + + + TireMount + + + Umount Tire + + + + + Mount Tire + + + + + To trash + + + + + TireView + + + Create new tire + + + + + Show history + + + + + Tire List + + + + + Modify + + + + + Remove + + + + + Deleting + + + + + Umount + + + + + Mount + + + + + TiremountEdit + + + Modify Tire Mount + + + + + Mount date + + + + + Unmount date + + + + + TiremountView + + + Tire Mounts + + + + + Modify + + + + diff --git a/i18n/it_IT.ts b/translations/it_IT.ts similarity index 98% rename from i18n/it_IT.ts rename to translations/it_IT.ts index ec71f73..2f94e53 100644 --- a/i18n/it_IT.ts +++ b/translations/it_IT.ts @@ -1,20 +1,25 @@ - + About - + + Simulation + + + + License: GPLv3 Licenza: GPLv3 - + Created by condo4 (Fabien Proriol) Creato da condo4 (Fabien Proriol) - + Credits to:<br>- Lorenzo Facca (Italian translation)<br>- Alois Spitzbart (German translation)<br>- Michal Hrusecky (Many improvments)<br>- Denis Fedoseev (Russion translation)<br >- Thomas Michel (Many improvments) diff --git a/i18n/ru_RU.ts b/translations/ru_RU.ts similarity index 99% rename from i18n/ru_RU.ts rename to translations/ru_RU.ts index 0231ee5..7d35949 100644 --- a/i18n/ru_RU.ts +++ b/translations/ru_RU.ts @@ -1,28 +1,29 @@ - + About + Simulation - Simulation + Simulation Distance: %L1 km Пробег: %L1 km - + License: GPLv3 Лицензия: GPLv3 - + Created by condo4 (Fabien Proriol) Разработано condo4 (Fabien Proriol) - + Credits to:<br>- Lorenzo Facca (Italian translation)<br>- Alois Spitzbart (German translation)<br>- Michal Hrusecky (Many improvments)<br>- Denis Fedoseev (Russion translation)<br >- Thomas Michel (Many improvments) diff --git a/i18n/sv_SE.ts b/translations/sv_SE.ts similarity index 98% rename from i18n/sv_SE.ts rename to translations/sv_SE.ts index f14de82..b4676a8 100644 --- a/i18n/sv_SE.ts +++ b/translations/sv_SE.ts @@ -4,17 +4,22 @@ About - + + Simulation + + + + License: GPLv3 Licens: GPLv3 - + Created by condo4 (Fabien Proriol) Skapad av condo4 (Fabien Proriol) - + Credits to:<br>- Lorenzo Facca (Italian translation)<br>- Alois Spitzbart (German translation)<br>- Michal Hrusecky (Many improvments)<br>- Denis Fedoseev (Russion translation)<br >- Thomas Michel (Many improvments) Tack till:<br>- Lorenzo Facca (Italian translation)<br>- Alois Spitzbart (German translation)<br>- Michal Hrusecky (Many improvments)<br>- Denis Fedoseev (Russion translation)<br >- Thomas Michel (Many improvments)<br >- Åke Engelbrektson (Swedish translation) diff --git a/update_translation.sh b/update_translation.sh index 3ad78f7..9245aea 100755 --- a/update_translation.sh +++ b/update_translation.sh @@ -1,4 +1,5 @@ -lupdate qml/pages/* qml/cover/* -ts i18n/fr_FR.ts -lupdate qml/pages/* qml/cover/* -ts i18n/it_IT.ts -lupdate qml/pages/* qml/cover/* -ts i18n/de_DE.ts -lupdate qml/pages/* qml/cover/* -ts i18n/ru_RU.ts +lupdate qml/pages/* qml/cover/* -ts translations/fr_FR.ts +lupdate qml/pages/* qml/cover/* -ts translations/it_IT.ts +lupdate qml/pages/* qml/cover/* -ts translations/de_DE.ts +lupdate qml/pages/* qml/cover/* -ts translations/ru_RU.ts +lupdate qml/pages/* qml/cover/* -ts translations/sv_SE.ts