diff --git a/CarBudget.cpp b/CarBudget.cpp index 8401e26..6aaa7a7 100644 --- a/CarBudget.cpp +++ b/CarBudget.cpp @@ -53,11 +53,13 @@ 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"); qmlRegisterType( "harbour.carbudget",1,0,"Fueltype"); qmlRegisterType( "harbour.carbudget",1,0,"Station"); @@ -66,7 +68,7 @@ int main(int argc, char *argv[]) qmlRegisterType( "harbour.carbudget",1,0,"Tire"); qmlRegisterType( "harbour.carbudget",1,0,"Tiremount"); qmlRegisterType( "harbour.carbudget",1,0,"Car"); - qmlRegisterType("harbour.carbudget", 1, 0, "FileModel"); + qmlRegisterType( "harbour.carbudget",1,0,"FileModel"); CarManager manager; 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/car.cpp b/car.cpp index ffe2188..10c8205 100644 --- a/car.cpp +++ b/car.cpp @@ -118,7 +118,7 @@ void Car::db_load() _fueltypelist.append(fueltype); } } - if(query.exec("SELECT id,name,sum(TankList.quantity) as quantity FROM StationList, TankList WHERE StationList.id == TankList.station GROUP BY StationList.id;")) + if(query.exec("SELECT id,name,sum(TankList.quantity) as quantity FROM StationList LEFT JOIN TankList ON StationList.id == TankList.station GROUP BY StationList.id;")) { while(query.next()) { @@ -717,11 +717,11 @@ double Car::budget_invest_total() double Car::budget_invest() { //returns bying costs per 100 KM - if (maxdistance()== mindistance()) return 0; + if (maxdistance()== mindistance()) return 0.0; QDate today = QDate::currentDate(); unsigned int monthsused = 1; double valuecosts; - if (maxdistance()==mindistance() ) return 0.0; + if (_buyingdate.toString()=="") { qDebug() << "Invalid buying date "; diff --git a/carmanager.cpp b/carmanager.cpp index d4f831a..b288dba 100644 --- a/carmanager.cpp +++ b/carmanager.cpp @@ -457,6 +457,15 @@ void CarManager::importFromFuelpad(QString filename, QString name) db.close(); } +bool CarManager::is_debug() const +{ +#ifdef QT_NO_DEBUG + return false; +#else + return true; +#endif +} + QString CarManager::getEnv(QString name) { qDebug() << "Find environment value for" << name << ": " << getenv(name.toStdString().c_str()); diff --git a/carmanager.h b/carmanager.h index ccb2e4d..0430b57 100644 --- a/carmanager.h +++ b/carmanager.h @@ -33,6 +33,7 @@ class CarManager : public QObject Q_PROPERTY(QStringList cars READ cars NOTIFY carsChanged()) Q_PROPERTY(Car *car READ car NOTIFY carChanged()) + Q_PROPERTY(bool is_debug READ is_debug CONSTANT) private: QStringList _cars; @@ -61,5 +62,6 @@ public slots: void createCar(QString name); void importFromMyCar( QString filename, QString name); void importFromFuelpad( QString filenme, QString name); + bool is_debug() const; }; #endif // CARMANAGER_H diff --git a/harbour-carbudget.pro b/harbour-carbudget.pro index e9b5088..71e3080 100644 --- a/harbour-carbudget.pro +++ b/harbour-carbudget.pro @@ -31,6 +31,18 @@ lupdate_only{ SOURCES += qml/pages/*.qml } + +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 \ rpm/CarBudget.yaml \ harbour-carbudget.desktop \ @@ -50,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 \ @@ -81,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 5028dd5..0000000 Binary files a/i18n/de_DE.qm and /dev/null differ diff --git a/i18n/fr_FR.qm b/i18n/fr_FR.qm deleted file mode 100644 index 84de641..0000000 Binary files a/i18n/fr_FR.qm and /dev/null differ diff --git a/i18n/it_IT.qm b/i18n/it_IT.qm deleted file mode 100644 index 396e2a5..0000000 Binary files a/i18n/it_IT.qm and /dev/null differ diff --git a/i18n/ru_RU.qm b/i18n/ru_RU.qm deleted file mode 100644 index bbc7ed6..0000000 Binary files a/i18n/ru_RU.qm and /dev/null differ diff --git a/qml/pages/About.qml b/qml/pages/About.qml index d5207aa..3ff8e89 100644 --- a/qml/pages/About.qml +++ b/qml/pages/About.qml @@ -31,8 +31,10 @@ Page { anchors.fill: parent // PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView - /* PullDownMenu { + enabled: manager.is_debug + visible: manager.is_debug + MenuItem { text: qsTr("Simulation") onClicked: { @@ -40,7 +42,7 @@ Page { } } } - */ + // Tell SilicaFlickable the height of its content. contentHeight: column.height @@ -53,7 +55,7 @@ Page { width: page.width spacing: Theme.paddingLarge PageHeader { - title: "CarBudget 0.12" + title: "CarBudget " + Qt.application.version } Label { diff --git a/rpm/CarBudget.yaml b/rpm/CarBudget.yaml index 28a3420..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,9 +22,12 @@ Requires: Files: - '%{_bindir}' - '%{_datadir}/%{name}/qml' +- '%{_datadir}/%{name}/translations' - '%{_datadir}/applications/%{name}.desktop' - '%{_datadir}/icons/hicolor/86x86/apps/%{name}.png' - '%{_datadir}/applications' - '%{_datadir}/icons/hicolor/86x86/apps' - '%{_datadir}/%{name}' PkgBR: [] +QMakeOptions: + - VERSION=%{version} 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/translations/sv_SE.ts b/translations/sv_SE.ts new file mode 100644 index 0000000..b4676a8 --- /dev/null +++ b/translations/sv_SE.ts @@ -0,0 +1,975 @@ + + + + + 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) + + + + BudgetView + + + Statistics + Statistik + + + + + + Tires: + Däck: + + + + + Invest: + Investering: + + + + ODO + Mätarställning + + + + In Budget + I budget + + + + Fuel + Bränsle + + + + Total: + Totalt: + + + + Average: + Genomsnitt: + + + + Min: + Min: + + + + Max: + Max: + + + + Costs + Kostnader + + + + Buying: + Inköp: + + + + + + Fuel: + Bränsle: + + + + + + Bills: + Utgifter: + + + + + Total: + Totalt: + + + + Costs per 100 Km + Kostnad per 100 km + + + + CarCreate + + + Create new car + Skapa ny bil + + + + + Short Car name + Kort bilnamn + + + + CarEntry + + + Select another car + Välj en annan bil + + + + Settings + Inställningar + + + + About + Om + + + + Distance: %L1 ~ %L2 %3 + Körsträcka: %L1 ~ %L2 %3 + + + + Consumption: %L1 l/100%2 + Bränsleåtgång: %L1 l/100%2 + + + + Last: %L1 l/100%2 + Senast: %L1 l/100%2 + + + + Tires mounted: %1/%2 + Däck monterade: %1/%2 + + + + Tires mounted + Däck monterade + + + + New Tank + Ny tankning + + + + New Cost + Ny kostnad + + + + Budget + Budget + + + + CarView + + + Create new car + Skapa ny bil + + + + Import Car + Importera bil + + + + Car List + Billista + + + + Select + Välj + + + + Remove + Ta bort + + + + ConsumptionStatistics + + + Consumption by fuel type + Åtgång efter bränsletyp + + + + Average: + Genomsnitt: + + + + Min: + Min: + + + + Max: + Max: + + + + CostEntry + + + Manage cost types + Hantera kostnadstyper + + + + Modify Cost + Ändra kostnad + + + + New Cost + Ny kostnad + + + + Date + Datum + + + + Cost Type + Kostnadstyp + + + + description + Beskrivning + + + + + Price + Pris + + + + CostEntryView + + + Modify + Ändra + + + + Cost + Kostnad + + + + ODO: + Mätarställning: + + + + Date: + Datum: + + + + Cost Type: + Kostnadstyp: + + + + Price: + Pris: + + + + Description: + Beskrivning: + + + + CostStatistics + + + Bills per 100 + Utgifter per 100 + + + + + by Type + efter typ + + + + Bills by Type + Utgifter efter typ + + + + Fuel per 100 + Bränsle per 100 + + + + Fuel by Type + Bränsle efter typ + + + + CostView + + + Add cost + Lägg till kostnad + + + + Cost List + Kostnadslista + + + + Modify + Ändra + + + + Remove + Ta bort + + + + Deleting + Tar bort + + + + CosttypeEntry + + + Modify Cost Type + Ändra kostnadstyp + + + + New Cost Type + Ny kostnadstyp + + + + + Name + Namn + + + + CosttypeView + + + Add new cost type + Lägg till ny kostnadstyp + + + + Cost Type List + Lista över kostnadstyper + + + + Modify + Ändra + + + + Remove + Ta bort + + + + Deleting + Tar bort + + + + CoverPage + + + / 100 + / 100 + + + + l / 100 + l / 100 + + + + DirectoryPage + + + Settings + Inställningar + + + + Import File + Importera fil + + + + Cut + Klipp ut + + + + No files + Inga filer + + + + FuelpadImport + + + Cars found in + Bilar hittade i + + + + Import + Importera + + + + FueltypeEntry + + + Modify Fuel Type + Ändra bränsletyp + + + + New Fuel Type + Ny bränsletyp + + + + + Name + Namn + + + + FueltypeView + + + Add new fuel type + Lägg till ny bränsletyp + + + + Fuel Type List + Lista över bränsletyper + + + + Modify + Ändra + + + + Remove + Ta bort + + + + Deleting + Tar bort + + + + MycarImport + + + Cars found in + Bilar hittade i + + + + Import + Importera + + + + SelectImportFile + + + File to import + Fil att importera + + + + Import + Importera + + + + Settings + + + Settings + Inställningar + + + + + Currency + Valuta + + + + Distance Unity + Avståndsenhet + + + + Km or Mile + Km eller Mile + + + + Number of wheels + Antal hjul + + + + 2, 4, 6 or 8 + 2, 4, 6 eller 8 + + + + Buying date + Inköpsdatum + + + + Buying Price + Inköpspris + + + + Selling Price (est.) + Försäljningsvärde (uppsk.) + + + + Lifetime (in months, est.) + Livstid (i mån., uppsk.) + + + + StationEntry + + + Modify Station + Ändra station + + + + New Station + Ny station + + + + + Name + Namn + + + + StationView + + + Add new station + Lägg till ny station + + + + Station List + Stationslista + + + + Modify + Ändra + + + + Remove + Ta bort + + + + Deleting + Tar bort + + + + TankEntry + + + Manage stations + Hantera stationer + + + + Manage fuel types + Hantera bränsletyper + + + + Modify Tank + Ändra tankning + + + + New tank + Ny tankning + + + + Date + Datum + + + + ODO + Mätarställning + + + + + Quantity + Mängd + + + + + Total Price + Totalpris + + + + Unite Price + Enhetspris + + + + Fuel Type + Bränsletyp + + + + Station + Station + + + + Full tank + Full tank + + + + description + Beskrivning + + + + TankEntryView + + + Modify + Ändra + + + + Tank + Tankning + + + + Date: + Datum: + + + + ODO: + Mätarställning: + + + + Quantity: + Mängd: + + + + Total Price: + Totalpris: + + + + Unit Price: + Enhetspris: + + + + Station: + Station: + + + + Fuel Type: + Bränsletyp: + + + + Full tank: + Full tank: + + + + Yes + Ja + + + + No + Nej + + + + Note: + Notis: + + + + TankView + + + Tank List + Tankningslista + + + + Add tank + Lägg till tankning + + + + Manage stations + Hantera stationer + + + + Manage fuel types + Hantera bränsletyper + + + + Modify + Ändra + + + + Remove + Ta bort + + + + Deleting + Tar bort + + + + l + l + + + + /l + /l + + + + TireEntry + + + Modify Tire + Ändra däck + + + + New Tire + Ny däckpost + + + + Buy date + Inköpsdatum + + + + + Name + Namn + + + + + Manufacturer + Tillverkare + + + + + Model + Modell + + + + + Price + Pris + + + + + Quantity + Mängd + + + + TireMount + + + Umount Tire + Avmontering däck + + + + Mount Tire + Montering däck + + + Km + Km + + + + To trash + Till återvinning + + + + TireView + + + Create new tire + Skapa ny däckpost + + + + Show history + Visa historik + + + + Tire List + Däcklista + + + + Modify + Ändra + + + + Remove + Ta bort + + + + Deleting + Tar bort + + + + Umount + Avmontering + + + + Mount + Montering + + + + TiremountEdit + + + Modify Tire Mount + Ändra däckmontering + + + + Mount date + Monteringsdatum + + + + Unmount date + Avmonteringsdatum + + + + TiremountView + + + Tire Mounts + Däckmonteringar + + + + Modify + Ändra + + + 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