From 016003905ca0e8e459e3dc33e786beda8ec92f45 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 30 Jan 2015 17:00:07 -0500 Subject: Imported Upstream version 3.0.2 --- Plugins/ConfigMigration/ConfigMigration.pro | 4 + Plugins/ConfigMigration/ConfigMigration_pl.qm | Bin 0 -> 7282 bytes Plugins/ConfigMigration/ConfigMigration_pl.ts | 152 ++++++++++++++++++++++ Plugins/ConfigMigration/configmigration.cpp | 2 + Plugins/ConfigMigration/configmigration.json | 2 +- Plugins/ConfigMigration/configmigration.qrc | 3 + Plugins/ConfigMigration/configmigrationwizard.cpp | 4 +- 7 files changed, 164 insertions(+), 3 deletions(-) create mode 100644 Plugins/ConfigMigration/ConfigMigration_pl.qm create mode 100644 Plugins/ConfigMigration/ConfigMigration_pl.ts (limited to 'Plugins/ConfigMigration') diff --git a/Plugins/ConfigMigration/ConfigMigration.pro b/Plugins/ConfigMigration/ConfigMigration.pro index 965cfeb..aae8b5b 100644 --- a/Plugins/ConfigMigration/ConfigMigration.pro +++ b/Plugins/ConfigMigration/ConfigMigration.pro @@ -29,3 +29,7 @@ FORMS += \ RESOURCES += \ configmigration.qrc + + +TRANSLATIONS += ConfigMigration_pl.ts + diff --git a/Plugins/ConfigMigration/ConfigMigration_pl.qm b/Plugins/ConfigMigration/ConfigMigration_pl.qm new file mode 100644 index 0000000..b62b803 Binary files /dev/null and b/Plugins/ConfigMigration/ConfigMigration_pl.qm differ diff --git a/Plugins/ConfigMigration/ConfigMigration_pl.ts b/Plugins/ConfigMigration/ConfigMigration_pl.ts new file mode 100644 index 0000000..08919fd --- /dev/null +++ b/Plugins/ConfigMigration/ConfigMigration_pl.ts @@ -0,0 +1,152 @@ + + + + + ConfigMigration + + + A configuration from old SQLiteStudio 2.x.x has been detected. Would you like to migrate old settings into the current version? <a href="%1">Click here to do that</a>. + Wykryto ustawienia ze starej wersji SQLiteStudio 2.x.x. Czy chcesz zmigrować stare ustawienia do aktualnej wersji? <a href="%1">Kliknij, aby to zrobić</a>. + + + + Bug reports history (%1) + Historia zgłoszonych błędów (%1) + + + + Database list (%1) + Lista baz danych (%1) + + + + Custom SQL functions (%1) + Własne funkcje SQL (%1) + + + + SQL queries history (%1) + Historia zapytań SQL (%1) + + + + ConfigMigrationWizard + + + Configuration migration + Migracja ustawień + + + + Items to migrate + Elementy do zmigrowania + + + + This is a list of items found in the old configuration file, which can be migrated into the current configuration. + To jest lista elementów znalezionych w starym pliku konfiguracyjnym, które mogą być zmigrowane do aktualnych ustawień. + + + + Options + Opcje + + + + Put imported databases into separate group + Umieść zaimportowane bazy danych w osobnej grupie + + + + Group name + Nazwa grupy + + + + Enter a non-empty name. + Wprowadź niepustą nazwę. + + + + Top level group named '%1' already exists. Enter a group name that does not exist yet. + Grupa o nazwie '%1' istnieje już na najwyższym poziomie. Wprowadź nazwę grupy, która jeszcze nie istnieje. + + + + Could not open old configuration file in order to migrate settings from it. + Nie udało się otworzyć starego pliku ustawień w celu zmigtowania z niego ustawień. + + + + Could not open current configuration file in order to migrate settings from old configuration file. + Nie udało się otworzyć aktualnego pliku ustawień w celu zmigrowania do niego ustawień ze starego pliku konfiguracyjnego. + + + + Could not commit migrated data into new configuration file: %1 + Nie udało się zatwierdzenie zmigrowanych danych w nowym pliku ustawień: %1 + + + + Could not read bug reports history from old configuration file in order to migrate it: %1 + Nie udał się odczyt historii zgłoszeń błędów ze starego pliku konfiguracyjnego w celu jej zmigrowania: %1 + + + + Could not insert a bug reports history entry into new configuration file: %1 + Nie udało się dodać wpisów historii zgłoszeń błędów do nowego pliku ustawień: %1 + + + + Could not read database list from old configuration file in order to migrate it: %1 + Nie udało się odczytać listy baz danych ze starego pliku ustawień w celu jej zmigtowania: %1 + + + + Could not query for available order for containing group in new configuration file in order to migrate the database list: %1 + Could query for available order for containing group in new configuration file in order to migrate the database list: %1 + Nie udało się odpytać o dostępną kolejność dla grupy zawierającej w nowym pliku ustawień, w celu zmigrowania listy baz danych: %1 + + + + Could not create containing group in new configuration file in order to migrate the database list: %1 + Nie udało się stworzyć grupy w nowym pliku ustawień, w celu zmigrowania listy baz danych: %1 + + + + Could not insert a database entry into new configuration file: %1 + Nie udało się dodać wpisu bazy danych do nowego pliku ustawień: %1 + + + + Could not query for available order for next database in new configuration file in order to migrate the database list: %1 + Could query for available order for next database in new configuration file in order to migrate the database list: %1 + Nie udało się odpytać o dostępną kolejność dla następnej bazy w nowym pliku ustawień, w celu zmigrowania listy baz danych: %1 + + + + Could not create group referencing the database in new configuration file: %1 + Nie udało się utworzyć grupy odwołującej się do bazy danych w nowym pliku ustawień: %1 + + + + Could not read function list from old configuration file in order to migrate it: %1 + Nie udało się odczytać listy funkcji ze starego pliku ustawień w celu jej zmigrowania: %1 + + + + Could not read SQL queries history from old configuration file in order to migrate it: %1 + Nie udało się odczytać historii zapytań SQL ze starego pliku ustawień w celu zmigrowania jej: %1 + + + + Could not read next ID for SQL queries history in new configuration file: %1 + Nie udało się odczytać następnego ID dla historii zapytań SQL w nowym pliku ustawień: %1 + + + + Could not insert SQL history entry into new configuration file: %1 + Nie udało się dodanie wpisu do historii SQL w nowym pliku ustawień: %1 + + + diff --git a/Plugins/ConfigMigration/configmigration.cpp b/Plugins/ConfigMigration/configmigration.cpp index cd49d24..8d75e37 100644 --- a/Plugins/ConfigMigration/configmigration.cpp +++ b/Plugins/ConfigMigration/configmigration.cpp @@ -5,6 +5,7 @@ #include "statusfield.h" #include "configmigrationwizard.h" #include "db/dbsqlite3.h" +#include "translations.h" #include #include #include @@ -17,6 +18,7 @@ ConfigMigration::ConfigMigration() bool ConfigMigration::init() { Q_INIT_RESOURCE(configmigration); + loadTranslation("ConfigMigration"); if (cfg.CfgMigration.Migrated.get()) { diff --git a/Plugins/ConfigMigration/configmigration.json b/Plugins/ConfigMigration/configmigration.json index 14e5d4b..a8c62d3 100644 --- a/Plugins/ConfigMigration/configmigration.json +++ b/Plugins/ConfigMigration/configmigration.json @@ -2,7 +2,7 @@ "type": "GeneralPurposePlugin", "title": "Configuration migration", "description": "Performs migration from SQLiteStudio 2.1.x configuration to version 3.0.0.", - "version": 10001, + "version": 10002, "author": "SalSoft", "gui": true } diff --git a/Plugins/ConfigMigration/configmigration.qrc b/Plugins/ConfigMigration/configmigration.qrc index 9df7d5e..a46382a 100644 --- a/Plugins/ConfigMigration/configmigration.qrc +++ b/Plugins/ConfigMigration/configmigration.qrc @@ -2,4 +2,7 @@ config_migration.png + + ConfigMigration_pl.qm + diff --git a/Plugins/ConfigMigration/configmigrationwizard.cpp b/Plugins/ConfigMigration/configmigrationwizard.cpp index afdf705..7868761 100644 --- a/Plugins/ConfigMigration/configmigrationwizard.cpp +++ b/Plugins/ConfigMigration/configmigrationwizard.cpp @@ -212,7 +212,7 @@ bool ConfigMigrationWizard::migrateDatabases(Db* oldCfgDb, Db* newCfgDb) groupResults = newCfgDb->exec(groupOrderQuery.arg("IS NULL")); if (groupResults->isError()) { - notifyError(tr("Could query for available order for containing group in new configuration file in order to migrate the database list: %1") + notifyError(tr("Could not query for available order for containing group in new configuration file in order to migrate the database list: %1") .arg(groupResults->getErrorText())); return false; } @@ -256,7 +256,7 @@ bool ConfigMigrationWizard::migrateDatabases(Db* oldCfgDb, Db* newCfgDb) if (groupResults->isError()) { - notifyError(tr("Could query for available order for next database in new configuration file in order to migrate the database list: %1") + notifyError(tr("Could not query for available order for next database in new configuration file in order to migrate the database list: %1") .arg(groupResults->getErrorText())); return false; } -- cgit v1.2.3