diff --git a/src/device.cpp b/src/device.cpp
index 7f2035a..2a49468 100644
--- a/src/device.cpp
+++ b/src/device.cpp
@@ -374,6 +374,42 @@ bool Device::verifyStorageExternalIDExists()
return queryExternalID.value(0).toInt() > 0;
}
+bool Device::verifyDeviceHasSourceMapping()
+{
+ QSqlQuery query(QSqlDatabase::database("defaultConnection"));
+ query.prepare("SELECT COUNT(*) FROM device_mapping WHERE mapping_device_source_id = :deviceId");
+ query.bindValue(":deviceId", ID);
+
+ if (!query.exec()) {
+ return false;
+ }
+
+ if (query.next()) {
+ int count = query.value(0).toInt();
+ return count > 0;
+ }
+
+ return false;
+}
+
+bool Device::verifyDeviceHasTargetMapping()
+{
+ QSqlQuery query(QSqlDatabase::database("defaultConnection"));
+ query.prepare("SELECT COUNT(*) FROM device_mapping WHERE mapping_device_target_id = :deviceId");
+ query.bindValue(":deviceId", ID);
+
+ if (!query.exec()) {
+ return false;
+ }
+
+ if (query.next()) {
+ int count = query.value(0).toInt();
+ return count > 0;
+ }
+
+ return false;
+}
+
void Device::getIDFromDeviceName()
{
QSqlQuery queryIDFromDeviceName(QSqlDatabase::database("defaultConnection"));
diff --git a/src/device.h b/src/device.h
index b731ead..042c7e4 100644
--- a/src/device.h
+++ b/src/device.h
@@ -77,6 +77,8 @@ class Device
bool verifyDeviceNameExists();
bool verifyParentDeviceExistsInPhysicalGroup();
bool verifyStorageExternalIDExists();
+ bool verifyDeviceHasSourceMapping();
+ bool verifyDeviceHasTargetMapping();
void getIDFromDeviceName();
void updateActive(QString connectionName);
diff --git a/src/mainwindow.h b/src/mainwindow.h
index ab29b85..ee997f0 100755
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -541,8 +541,9 @@ class MainWindow : public QMainWindow
void on_BackUp_pushButton_SaveMapping_clicked();
void on_BackUp_pushButton_ReloadDeviceMappings_clicked();
void on_BackUp_pushButton_ReloadSourceList_clicked();
+ void on_BackUp_pushButton_ReloadSourceListWithoutMapping_clicked();
void on_BackUp_pushButton_ReloadTargetList_clicked();
- void on_BackUp_pushButton_DeleteSelectedMapping_clicked();
+ void on_BackUp_pushButton_ReloadTargetListWithoutMapping_clicked(); void on_BackUp_pushButton_DeleteSelectedMapping_clicked();
void on_BackUp_checkBox_DisplayFullTable_checkStateChanged(const Qt::CheckState &arg1);
void on_BackUp_radioButton_Source_clicked();
void on_BackUp_radioButton_Target_clicked();
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 6f13936..29721c8 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -7410,6 +7410,22 @@ background: url(:/images/link-h.png) repeat-x center;
+
+
+
+
+ 250
+ 16777215
+
+
+
+ without mapping
+
+
+
+
+
+
@@ -7437,6 +7453,22 @@ background: url(:/images/link-h.png) repeat-x center;
+
+
+
+
+ 250
+ 16777215
+
+
+
+ without mapping
+
+
+
+
+
+
diff --git a/src/mainwindow_tab_backup.cpp b/src/mainwindow_tab_backup.cpp
index 4610102..f8e1353 100644
--- a/src/mainwindow_tab_backup.cpp
+++ b/src/mainwindow_tab_backup.cpp
@@ -45,11 +45,21 @@ void MainWindow::on_BackUp_pushButton_ReloadSourceList_clicked()
loadBackUpDeviceLists("Source");
}
+void MainWindow::on_BackUp_pushButton_ReloadSourceListWithoutMapping_clicked()
+{
+ loadBackUpDeviceLists("Source_without_mapping");
+}
+
void MainWindow::on_BackUp_pushButton_ReloadTargetList_clicked()
{
loadBackUpDeviceLists("Target");
}
+void MainWindow::on_BackUp_pushButton_ReloadTargetListWithoutMapping_clicked()
+{
+ loadBackUpDeviceLists("Target_without_mapping");
+}
+
void MainWindow::on_BackUp_pushButton_ReloadDeviceMappings_clicked()
{
loadBackUpMapping();
@@ -311,30 +321,51 @@ void MainWindow::loadBackUpDeviceLists(QString list)
tempParentDevice.ID = tempDevice.parentID;
tempParentDevice.loadDevice("defaultConnection");
- //Add row
- QList row;
- row.append(new QStandardItem(tempParentDevice.name));
- row.append(new QStandardItem(QString::number(tempDevice.ID)));
- row.append(new QStandardItem(tempDevice.name));
- model->appendRow(row);
+ //Add row if valid for the type of list
+ if (list == "Source_without_mapping") {
+ // Only add devices that do NOT have a mapping
+ if (!tempDevice.verifyDeviceHasSourceMapping()) {
+ QList row;
+ row.append(new QStandardItem(tempParentDevice.name));
+ row.append(new QStandardItem(QString::number(tempDevice.ID)));
+ row.append(new QStandardItem(tempDevice.name));
+ model->appendRow(row);
+ }
+ }
+ else if (list == "Target_without_mapping") {
+ // Only add devices that do NOT have a mapping
+ if (!tempDevice.verifyDeviceHasTargetMapping()) {
+ QList row;
+ row.append(new QStandardItem(tempParentDevice.name));
+ row.append(new QStandardItem(QString::number(tempDevice.ID)));
+ row.append(new QStandardItem(tempDevice.name));
+ model->appendRow(row);
+ }
+ }
+ else {
+ // For other list types, add all devices
+ QList row;
+ row.append(new QStandardItem(tempParentDevice.name));
+ row.append(new QStandardItem(QString::number(tempDevice.ID)));
+ row.append(new QStandardItem(tempDevice.name));
+ model->appendRow(row);
+ }
}
}
- //Load model to the Source view
- if (list =="Source"){
- ui->BackUp_treeView_List1->setModel(model);
- ui->BackUp_treeView_List1->resizeColumnToContents(1);
- ui->BackUp_treeView_List1->setEditTriggers(QAbstractItemView::NoEditTriggers);
- ui->BackUp_treeView_List1->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
- }
-
//Load model to the Target view
- if (list =="Target"){
+ if (list.contains("Target")){
ui->BackUp_treeView_List2->setModel(model);
ui->BackUp_treeView_List2->resizeColumnToContents(1);
ui->BackUp_treeView_List2->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->BackUp_treeView_List2->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
}
+ else{
+ ui->BackUp_treeView_List1->setModel(model);
+ ui->BackUp_treeView_List1->resizeColumnToContents(1);
+ ui->BackUp_treeView_List1->setEditTriggers(QAbstractItemView::NoEditTriggers);
+ ui->BackUp_treeView_List1->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
+ }
}
void MainWindow::saveNewMapping()
diff --git a/src/translations/Katalog_cz_CZ.qm b/src/translations/Katalog_cz_CZ.qm
index 5703d9f..35b325c 100755
Binary files a/src/translations/Katalog_cz_CZ.qm and b/src/translations/Katalog_cz_CZ.qm differ
diff --git a/src/translations/Katalog_cz_CZ.ts b/src/translations/Katalog_cz_CZ.ts
index e00ba90..22109bd 100755
--- a/src/translations/Katalog_cz_CZ.ts
+++ b/src/translations/Katalog_cz_CZ.ts
@@ -201,12 +201,12 @@
Rozbalte 1 úroveň, 2 úrovně nebo sbalte
-
+ TESTSTESTY
-
+ TEST MEDIATEST MEDIA
@@ -216,19 +216,19 @@
Vyberte datum
-
+ Katalog Colors (dark)Katalogové barvy (tmavé)
-
-
+
+ Preload last selected catalogs at start-up to accelerate next searchPředem načtěte poslední vybrané katalogy při spuštění, abyste urychlili další vyhledávání
-
+ Open Settings fileOtevřete soubor Nastavení
@@ -305,78 +305,84 @@
Načtěte zdrojové katalogy
-
+
+
+ without mapping
+ bez mapování
+
+
+ Select Target deviceVyberte Cílové zařízení
-
+ Load Target CatalogsNačíst cílové katalogy
-
+ Device mappingsMapování zařízení
-
+ based on Sourcesna základě Zdrojů
-
+ based on Targetsna základě Cílů
-
+ File list displayZobrazení seznamu souborů
-
+ If enabled, the sorting will respect case sensitive sorting, so as to have this order AA, AB, AC, Aa, Ab, AcJe-li povoleno, třídění bude respektovat třídění rozlišující malá a velká písmena, aby bylo toto pořadí AA, AB, AC, Aa, Ab, Ac
-
+ File sorting is Case SensitiveTřídění souborů rozlišuje malá a velká písmena
-
+ DocumentationDokumentace
-
+ Data mode "Memory"Datový režim "Paměť"
-
+ Export to convert and open the collection in "File" mode.Export pro převod a otevření sbírky v režimu "Soubor".
-
+ Export to SQLite fileExport do souboru SQLite
-
+ Data modeDatový režim
-
+ FileSoubor
-
+ MemoryPaměť
@@ -435,7 +441,7 @@
-
+ Type
@@ -604,58 +610,58 @@
Smazat vybrané
-
-
+
+ (Changing requires to restart)(Změna vyžaduje restart)
-
+ The collection data is saved to .idx or .csv files locally on the computer.Data kolekce se ukládají do souborů .idx nebo .csv lokálně v počítači.
-
+ The database is in Memory only (RAM).Databáze je pouze v paměti (RAM).
-
+ Select and read folderVyberte a přečtěte si složku
-
+ Preload last catalogsPředem načíst poslední katalogy
-
+ Start upNastartujte
-
+ Back upZáloha
-
+ Data mode "SQLite local file"Datový režim "místní soubor SQLite"
-
+ The collection data is saved to an SQLite .db file.Data kolekce jsou uložena do souboru SQLite .db.
-
+ Select and open database fileVyberte a otevřete soubor databáze
-
+
@@ -757,7 +763,7 @@
Katalog
-
+ Verify if a new version of Katalog is available when starting the app.Při spuštění aplikace ověřte, zda je k dispozici nová verze Katalogu.
@@ -860,8 +866,8 @@
je plné zařízení
-
-
+
+
@@ -1196,48 +1202,48 @@
Obrázek zařízení
-
+ IconsIkony
-
+ Use bigger icon sizePoužijte větší velikost ikony
-
+ Load last catalog to ExploreNačíst poslední katalog a prozkoumat
-
+ Database NameJméno databáze
-
+ User NameUživatelské jméno
-
+ Host NameNázev hostitele
-
+ Create a new database fileVytvořte nový soubor databáze
-
+ HostedHostováno
-
+ Data managementSpráva dat
@@ -1248,7 +1254,7 @@
Vyberte cestu
-
+ NewNový
@@ -1294,7 +1300,7 @@
-
+ ReloadZnovu načíst
@@ -1316,7 +1322,7 @@
-
+ SourceZdroj
@@ -1352,13 +1358,13 @@
-
+ Full TableCelá tabulka
-
+ Device NameNázev zařízení
@@ -1370,7 +1376,7 @@
-
+ Device IDID zařízení
@@ -1437,27 +1443,27 @@
Resetujte všechny filtry
-
-
+
+ SettingsNastavení
-
+ AboutO
-
-
+
+ VersionVerze
-
-
+
+
@@ -1468,68 +1474,68 @@
Datum
-
+ Release NotesPoznámky k vydání
-
+ (requires to restart)(vyžaduje restart)
-
+ Keep records of files and size for StatisticsUchovávejte záznamy o velikostech souborů a Statistikách
-
+ LanguageJazyk
-
+ Always keep one back of each catalogZ každého katalogu si vždy nechejte jednu zadní část
-
+ Auto-backup catalogsAutomatické zálohování katalogů
-
+ Data mode "Hosted database"Datový režim "Hostovaná databáze"
-
+ The collection data is saved to a database hosted on a local or remote serveur.Data kolekce se ukládají do databáze hostované na místním nebo vzdáleném serveru.
-
+ Apply and restartPoužít a restartovat
-
+ ThemeTéma
-
+ Select a themeVyberte téma
-
+ Desktop ThemeBest for integration in Plasma, light and dark themes.Téma plochy
-
+ Katalog Colors (light)
@@ -1537,56 +1543,56 @@
Katalogové barvy (světlé)
-
+ Language & ThemeJazyk a téma
-
+ Other SettingsDalší nastavení
-
+ Check at start upZkontrolujte při spuštění
-
+ PortPort
-
+ PasswordHeslo
-
+ Database File PathCesta k souboru databáze
-
+ Collection folderSložka kolekce
-
-
-
+
+
+ Select a different Collection folderVyberte jinou složku Collection
-
-
-
+
+
+ Open the collection folderOtevřete složku kolekce
-
+ OpenOtevřeno
@@ -1680,7 +1686,7 @@
Otevřít soubor
-
+
@@ -2267,18 +2273,18 @@ do koše?
Celková velikost
-
+ Mapping NameNázev mapování
-
+ Source IDID zdroje
-
-
+
+
@@ -2286,96 +2292,96 @@ do koše?
Aktivní
-
-
+
+ File SizeVelikost souboru
-
-
+
+ FilesSoubory
-
-
+
+ Date UpdatedDatum aktualizace
-
+ Target IDCílové ID
-
+ TargetCíl
-
+ Size Diff.Velikost Dif.
-
+ Size Diff.(%)Rozdíl velikosti (%)
-
+ Files Diff.Soubory Dif.
-
+ Files Diff.(%)Rozdíl souborů (%)
-
+ Date Diff.Datum rozdíl.
-
+ Parent DeviceNadřazené zařízení
-
-
+
+ Populate the lists first (One or both device lists are empty).Nejprve naplňte seznamy (jeden nebo oba seznamy zařízení jsou prázdné).
-
+ Invalid selection modelNeplatný model výběru
-
+ Select a device from both lists.Vyberte zařízení z obou seznamů.
-
+ Invalid device selection.Neplatný výběr zařízení.
-
+ Empty device ID.Prázdné ID zařízení.
-
+ Provide a mapping name.Zadejte název mapování.
-
+ Select a different source or target (a device shall not be mapped to itself).Vyberte jiný zdroj nebo cíl (zařízení nesmí být mapováno samo na sebe).
@@ -2656,7 +2662,7 @@ Soubor lze opravit ručně, navštivte stránku wiki:
<a href='https://github.com/StephaneCouturier/Katalog/wiki/Storage#fixing-for-new-versions'> Úložiště / oprava nových verzí </a>
-
+
@@ -2960,17 +2966,17 @@ Soubor lze opravit ručně, navštivte stránku wiki:
Vyberte katalog s platnou cestou.
-
+ This will remove the device and the storage details.Tím se odstraní zařízení a podrobnosti o úložišti.
-
+ Do you want to <span style='color: red';>delete</span> this %1 device?<table><tr><td>ID: </td><td><b> %2 </td></tr><tr><td>Name: </td><td><b> %3 </td></tr><tr><td></td></tr><tr><td></td><td>%4</td></tr></table>Chcete <span style='color: red';>smazat</span> toto %1 zařízení?<table><tr><td>ID: </td><td><b> %2 </ td></tr><tr><td>Jméno: </td><td><b> %3 </td></tr><tr><td></td></tr><tr ><td></td><td>%4</td></tr></table>
-
+ The selected device cannot be deleted as long as it has sub-devices.Vybrané zařízení nelze smazat, pokud má dílčí zařízení.
diff --git a/src/translations/Katalog_de_DE.qm b/src/translations/Katalog_de_DE.qm
index e02133a..beed84f 100755
Binary files a/src/translations/Katalog_de_DE.qm and b/src/translations/Katalog_de_DE.qm differ
diff --git a/src/translations/Katalog_de_DE.ts b/src/translations/Katalog_de_DE.ts
index d049943..2b031dd 100755
--- a/src/translations/Katalog_de_DE.ts
+++ b/src/translations/Katalog_de_DE.ts
@@ -93,27 +93,27 @@
Nur Schnappschüsse
-
-
+
+ SettingsEinstellungen
-
+ AboutÜber
-
-
+
+ VersionAusführung
-
-
+
+
@@ -124,27 +124,27 @@
Datum
-
+ Release NotesVersionshinweise
-
+ (requires to restart)(erfordert Neustart)
-
+ Keep records of files and size for StatisticsFühren Sie Aufzeichnungen über Dateien und Größe für Statistiken
-
+ LanguageSprache
-
+ Always keep one back of each catalogBewahren Sie von jedem Katalog immer eine Rückseite auf
@@ -184,108 +184,114 @@
Quellkataloge laden
-
+
+
+ without mapping
+ ohne Zuordnung
+
+
+ Select Target deviceZielgerät auswählen
-
+ Load Target CatalogsZielkataloge laden
-
+ Device mappingsGerätezuordnungen
-
+ based on Sourcesbasierend auf Quellen
-
+ based on Targetsbasierend auf Zielen
-
+ File list displayAnzeige der Dateiliste
-
+ If enabled, the sorting will respect case sensitive sorting, so as to have this order AA, AB, AC, Aa, Ab, AcWenn aktiviert, wird bei der Sortierung die Groß- und Kleinschreibung beachtet, so dass die Reihenfolge AA, AB, AC, Aa, Ab, Ac lautet
-
+ File sorting is Case SensitiveBei der Dateisortierung wird zwischen Groß- und Kleinschreibung unterschieden
-
+ DocumentationDokumentation
-
+ The collection data is saved to .idx or .csv files locally on the computer.Die Erfassungsdaten werden lokal auf dem Computer in .idx- oder .csv-Dateien gespeichert.
-
+ The database is in Memory only (RAM).Die Datenbank befindet sich nur im Arbeitsspeicher (RAM).
-
+ Export to convert and open the collection in "File" mode.Exportieren, um die Sammlung zu konvertieren und im „Datei“-Modus zu öffnen.
-
+ Export to SQLite fileIn SQLite-Datei exportieren
-
+ Auto-backup catalogsKataloge mit automatischer Sicherung
-
+ Data mode "Hosted database"Datenmodus „Gehostete Datenbank“
-
+ The collection data is saved to a database hosted on a local or remote serveur.Die Erfassungsdaten werden in einer Datenbank gespeichert, die auf einem lokalen oder Remote-Server gehostet wird.
-
+ Apply and restartAnwenden und neu starten
-
+ ThemeThema
-
+ Select a themeWähle ein Thema
-
+ Desktop ThemeBest for integration in Plasma, light and dark themes.Desktop-Design
-
+ Katalog Colors (light)
@@ -293,44 +299,44 @@
Katalogfarben (hell)
-
+ Language & ThemeSprache und Thema
-
+ Other SettingsAndere Einstellungen
-
+ Check at start upBeim Start prüfen
-
+ PortPforte
-
+ PasswordPasswort
-
+ Database File PathPfad der Datenbankdatei
-
+ Collection folderSammelordner
-
-
-
+
+
+ Select a different Collection folderWählen Sie einen anderen Sammlungsordner
@@ -345,19 +351,19 @@
-
+ ReloadNeu laden
-
-
-
+
+
+ Open the collection folderÖffne den Sammlungsordner
-
+ OpenOffen
@@ -370,7 +376,7 @@
Suche
-
+ MemorySpeicher
@@ -551,19 +557,19 @@
Date de début du graphique
-
+ Katalog Colors (dark)Katalog Colors (sombre)
-
-
+
+ Preload last selected catalogs at start-up to accelerate next searchLaden Sie die zuletzt ausgewählten Kataloge beim Start vorab, um die nächste Suche zu beschleunigen
-
+ Open Settings fileÖffnen Sie die Einstellungsdatei
@@ -573,12 +579,12 @@
Groß- und Kleinschreibung beachten
-
+ Data modeDatenmodus
-
+ FileDatei
@@ -630,7 +636,7 @@
-
+ Type
@@ -795,53 +801,53 @@
Auswahl löschen
-
-
+
+ (Changing requires to restart)(Änderung erfordert einen Neustart)
-
+ Data mode "Memory"Datenmodus „Speicher“
-
+ Select and read folderOrdner auswählen und lesen
-
+ Preload last catalogsLetzte Kataloge vorab laden
-
+ Start upStart-up
-
+ Back upSichern
-
+ Data mode "SQLite local file"Datenmodus „SQLite lokale Datei“
-
+ The collection data is saved to an SQLite .db file.Die Erfassungsdaten werden in einer SQLite-DB-Datei gespeichert.
-
+ Select and open database fileDatenbankdatei auswählen und öffnen
-
+
@@ -924,7 +930,7 @@
Name
-
+ Verify if a new version of Katalog is available when starting the app.Überprüfen Sie beim Starten der App, ob eine neue Version des Katalogs verfügbar ist.
@@ -997,8 +1003,8 @@
Katalog durchsuchen
-
-
+
+
@@ -1323,48 +1329,48 @@
Gerätebild
-
+ IconsIkony
-
+ Use bigger icon sizePoužijte větší velikost ikony
-
+ Load last catalog to ExploreLaden Sie den letzten Katalog in Explore
-
+ Database NameName der Datenbank
-
+ User NameNutzername
-
+ Host NameHostname
-
+ Create a new database fileVytvořte nový soubor databáze
-
+ HostedBereitgestellt
-
+ Data managementDatenmanagement
@@ -1375,7 +1381,7 @@
Wählen Sie den Pfad
-
+ NewNeu
@@ -1459,12 +1465,12 @@
Zeigen Sie jeden Wert an
-
+ TESTSTESTS
-
+ TEST MEDIATEST MEDIA
@@ -1475,7 +1481,7 @@
-
+ SourceQuelle
@@ -1511,13 +1517,13 @@
-
+ Full TableVollständiger Tisch
-
+ Device NameGerätename
@@ -1529,7 +1535,7 @@
-
+ Device IDGeräte ID
@@ -1680,7 +1686,7 @@
Datei öffnen
-
+
@@ -2469,18 +2475,18 @@ in den Papierkorb?
Gesamtgröße
-
+ Mapping NameZuordnungsname
-
+ Source IDQuell-ID
-
-
+
+
@@ -2488,96 +2494,96 @@ in den Papierkorb?
Aktiv
-
-
+
+ File SizeDateigröße
-
-
+
+ FilesDateien
-
-
+
+ Date UpdatedAktualisierungsdatum
-
+ Target IDZiel-ID
-
+ TargetZiel
-
+ Size Diff.Größenunterschied.
-
+ Size Diff.(%)Größenunterschied (%)
-
+ Files Diff.Dateien Diff.
-
+ Files Diff.(%)Dateiunterschied (%)
-
+ Date Diff.Datumsunterschied.
-
+ Parent DeviceÜbergeordnetes Gerät
-
-
+
+ Populate the lists first (One or both device lists are empty).Füllen Sie zuerst die Listen auf (eine oder beide Gerätelisten sind leer).
-
+ Invalid selection modelUngültiges Auswahlmodell
-
+ Select a device from both lists.Wählen Sie aus beiden Listen ein Gerät aus.
-
+ Invalid device selection.Ungültige Geräteauswahl.
-
+ Empty device ID.Leere Geräte-ID.
-
+ Provide a mapping name.Geben Sie einen Zuordnungsnamen an.
-
+ Select a different source or target (a device shall not be mapped to itself).Wählen Sie eine andere Quelle oder ein anderes Ziel (ein Gerät darf nicht auf sich selbst abgebildet werden).
@@ -2650,7 +2656,7 @@ Die Datei kann manuell repariert werden, besuchen Sie bitte die Wiki-Seite:
<a href='https://github.com/StephaneCouturier/Katalog/wiki/Storage#fixing-for-new-versions'>Speicher/fixing-for-new-versions</a>
-
+
@@ -2960,17 +2966,17 @@ Die Datei kann manuell repariert werden, besuchen Sie bitte die Wiki-Seite:
Wählen Sie einen Katalog mit einem gültigen Pfad aus.
-
+ This will remove the device and the storage details.Dadurch werden das Gerät und die Speicherdetails entfernt.
-
+ Do you want to <span style='color: red';>delete</span> this %1 device?<table><tr><td>ID: </td><td><b> %2 </td></tr><tr><td>Name: </td><td><b> %3 </td></tr><tr><td></td></tr><tr><td></td><td>%4</td></tr></table>Möchten Sie dieses %1 Gerät <span style='color: red';>löschen</span>?<table><tr><td>ID: </td><td><b> %2 </ td></tr><tr><td>Name: </td><td><b> %3 </td></tr><tr><td></td></tr><tr ><td></td><td>%4</td></tr></table>
-
+ The selected device cannot be deleted as long as it has sub-devices.Das ausgewählte Gerät kann nicht gelöscht werden, solange es über Untergeräte verfügt.
diff --git a/src/translations/Katalog_en_US.ts b/src/translations/Katalog_en_US.ts
index 3012726..9386aa3 100755
--- a/src/translations/Katalog_en_US.ts
+++ b/src/translations/Katalog_en_US.ts
@@ -182,27 +182,27 @@
-
+ Port
-
+ Password
-
+ Database File Path
-
+ Data mode
-
+ File
@@ -254,7 +254,7 @@
-
+ Type
@@ -414,7 +414,7 @@
-
+
@@ -441,8 +441,8 @@
-
-
+
+
@@ -738,48 +738,48 @@
-
+ Icons
-
+ Use bigger icon size
-
+ Load last catalog to Explore
-
+ Database Name
-
+ User Name
-
+ Host Name
-
+ Create a new database file
-
+ Hosted
-
+ Data management
@@ -807,7 +807,7 @@
-
+ New
@@ -832,7 +832,7 @@
-
+ Reload
@@ -873,13 +873,13 @@
-
+ Full Table
-
+ Device Name
@@ -891,7 +891,7 @@
-
+ Device ID
@@ -958,56 +958,56 @@
-
-
+
+ Settings
-
-
+
+ Version
-
+ Release Notes
-
-
+
+ (Changing requires to restart)
-
+ Data mode "Memory"
-
+ Select and read folder
-
+ Preload last catalogs
-
+ Start up
-
+ Back up
-
+ Data mode "SQLite local file"
@@ -1047,98 +1047,104 @@
-
+
+
+ without mapping
+
+
+
+ Select Target device
-
+ Load Target Catalogs
-
+ Device mappings
-
+ based on Sources
-
+ based on Targets
-
+ File list display
-
+ If enabled, the sorting will respect case sensitive sorting, so as to have this order AA, AB, AC, Aa, Ab, Ac
-
+ File sorting is Case Sensitive
-
+ Documentation
-
+ The collection data is saved to an SQLite .db file.
-
+ Select and open database file
-
+ Export to convert and open the collection in "File" mode.
-
+ Export to SQLite file
-
+ Data mode "Hosted database"
-
+ The collection data is saved to a database hosted on a local or remote serveur.
-
+ Apply and restart
-
+ Select a theme
-
+ Desktop ThemeBest for integration in Plasma, light and dark themes.
-
+ Katalog Colors (light)
@@ -1146,46 +1152,46 @@
-
+ Theme
-
+ (requires to restart)
-
+ Language
-
+ Collection folder
-
-
-
+
+
+ Select a different Collection folder
-
+ Other Settings
-
-
-
+
+
+ Open the collection folder
-
+ Open
@@ -1197,7 +1203,7 @@
-
+
@@ -1244,8 +1250,8 @@
-
-
+
+
@@ -1306,18 +1312,18 @@
-
+ Mapping Name
-
+ Source ID
-
-
+
+
@@ -1325,96 +1331,96 @@
-
-
+
+ File Size
-
-
+
+ Files
-
-
+
+ Date Updated
-
+ Target ID
-
+ Target
-
+ Size Diff.
-
+ Size Diff.(%)
-
+ Files Diff.
-
+ Files Diff.(%)
-
+ Date Diff.
-
+ Parent Device
-
-
+
+ Populate the lists first (One or both device lists are empty).
-
+ Invalid selection model
-
+ Select a device from both lists.
-
+ Invalid device selection.
-
+ Empty device ID.
-
+ Provide a mapping name.
-
+ Select a different source or target (a device shall not be mapped to itself).
@@ -1429,7 +1435,7 @@
-
+
@@ -1594,17 +1600,17 @@
-
+ About
-
+ Auto-backup catalogs
-
+ Keep records of files and size for Statistics
@@ -1679,7 +1685,7 @@
-
+ Always keep one back of each catalog
@@ -1731,7 +1737,7 @@
-
+ Check at start up
@@ -1770,7 +1776,7 @@ The file can be fixed manually, please visit the wiki page:
-
+ Source
@@ -2101,7 +2107,7 @@ The file can be fixed manually, please visit the wiki page:
-
+ Verify if a new version of Katalog is available when starting the app.
@@ -2238,8 +2244,8 @@ The file can be fixed manually, please visit the wiki page:
-
-
+
+ Preload last selected catalogs at start-up to accelerate next search
@@ -2681,22 +2687,22 @@ to the trash?
-
+ The collection data is saved to .idx or .csv files locally on the computer.
-
+ The database is in Memory only (RAM).
-
+ Language & Theme
-
+ Open Settings file
@@ -2757,7 +2763,7 @@ to the trash?
-
+ Memory
@@ -2805,7 +2811,7 @@ to the trash?
-
+ Katalog Colors (dark)
@@ -2827,12 +2833,12 @@ to the trash?
-
+ TESTS
-
+ TEST MEDIA
@@ -2952,17 +2958,17 @@ to the trash?
-
+ This will remove the device and the storage details.
-
+ Do you want to <span style='color: red';>delete</span> this %1 device?<table><tr><td>ID: </td><td><b> %2 </td></tr><tr><td>Name: </td><td><b> %3 </td></tr><tr><td></td></tr><tr><td></td><td>%4</td></tr></table>
-
+ The selected device cannot be deleted as long as it has sub-devices.
diff --git a/src/translations/Katalog_fr_FR.qm b/src/translations/Katalog_fr_FR.qm
index e0552d7..ac571c3 100755
Binary files a/src/translations/Katalog_fr_FR.qm and b/src/translations/Katalog_fr_FR.qm differ
diff --git a/src/translations/Katalog_fr_FR.ts b/src/translations/Katalog_fr_FR.ts
index 09df3b1..479891a 100755
--- a/src/translations/Katalog_fr_FR.ts
+++ b/src/translations/Katalog_fr_FR.ts
@@ -130,7 +130,7 @@
Actualiser
-
+
@@ -169,53 +169,53 @@
Sélectionner
-
-
+
+ SettingsRéglages
-
+ Collection folderDossier de Collection
-
+ ReloadRecharger
-
+ OpenOuvrir
-
+ LanguageLangue
-
+ ThemeThème
-
+ Release NotesNotes de Version
-
+ (requires to restart)(nécessaire de redémarrer)
-
-
+
+
@@ -247,17 +247,17 @@
Supprimer la sélection
-
+ Database File PathChemin d'accès au fichier de base de données
-
+ Data modeMode de données
-
+ FileFichier
@@ -275,21 +275,21 @@
-
+ TypeType
-
-
+
+ VersionVersion
-
-
+
+
@@ -338,53 +338,53 @@
Créer le Catalogue
-
-
+
+ (Changing requires to restart)(La modification nécessite un redémarrage)
-
+ Data mode "Memory"Mode de données "Mémoire"
-
+ Select and read folderSélectionner et lire le dossier
-
+ Preload last catalogsPrécharger les derniers catalogues
-
+ Start upDémarrer
-
+ Back upSauvegarde
-
+ Data mode "SQLite local file"Mode données "Fichier local SQLite"
-
+ The collection data is saved to an SQLite .db file.Les données de la collection sont enregistrées dans un fichier SQLite .db.
-
+ Select and open database fileSélectionnez et ouvrez le fichier de base de données
-
+ NewNouveau
@@ -405,13 +405,13 @@
-
+ Full TableTableau complet
-
+ Device NameNom de l'appareil
@@ -423,7 +423,7 @@
-
+ Device IDReference de l'appareil
@@ -1114,48 +1114,48 @@
Image de l'appareil
-
+ IconsIcônes
-
+ Use bigger icon sizeUtiliser une taille d'icône plus grande
-
+ Load last catalog to ExploreCharger le dernier catalogue dans Explorer
-
+ Database NameNom de la base de données
-
+ User NameNom d'utilisateur
-
+ Host NameNom d'hôte
-
+ Create a new database fileCréer un nouveau fichier de base de données
-
+ HostedHébergé
-
+ Data managementGestion de données
@@ -1358,98 +1358,104 @@
Charger les catalogues sources
-
+
+
+ without mapping
+ sans cartographie
+
+
+ Select Target deviceSélectionner le périphérique cible
-
+ Load Target CatalogsCharger les catalogues cibles
-
+ Device mappingsMappages de périphériques
-
+ based on Sourcesbasé sur des sources
-
+ based on Targetsbasé sur des cibles
-
+ File list displayAffichage de la liste des fichiers
-
+ If enabled, the sorting will respect case sensitive sorting, so as to have this order AA, AB, AC, Aa, Ab, AcSi activé, le tri respectera le tri sensible à la casse, de manière à avoir cet ordre AA, AB, AC, Aa, Ab, Ac
-
+ File sorting is Case SensitiveLe tri des fichiers est sensible à la casse
-
+ DocumentationDocumentation
-
+ The collection data is saved to .idx or .csv files locally on the computer.Les données de la collection sont enregistrées dans des fichiers .idx ou .csv localement sur l'ordinateur.
-
+ The database is in Memory only (RAM).La base de données est en mémoire uniquement (RAM).
-
+ Export to convert and open the collection in "File" mode.Exporter pour convertir et ouvrir la collection en mode « Fichier ».
-
+ Export to SQLite fileExporter vers un fichier SQLite
-
+ Data mode "Hosted database"Mode données "Base de données hébergée"
-
+ The collection data is saved to a database hosted on a local or remote serveur.Les données de la collection sont sauvegardées dans une base de données hébergée sur un serveur local ou distant.
-
+ Apply and restartAppliquer et redémarrer
-
+ Select a themeSélectionner un thème
-
+ Desktop ThemeBest for integration in Plasma, light and dark themes.Thème du bureau
-
+ Katalog Colors (light)
@@ -1457,36 +1463,36 @@
Katalog Colors (thème clair)
-
+ Language & ThemeLangue et Thème
-
+ Other SettingsAutres réglages
-
+ PortPort
-
+ PasswordMot de passe
-
-
-
+
+
+ Select a different Collection folderSélectionner un dossier de Collection différent
-
-
-
+
+
+ Open the collection folderOuvrir le dossier de la collection
@@ -1498,7 +1504,7 @@
Ouvrir le fichier
-
+
@@ -1562,18 +1568,18 @@
Sélectionner le répertoire à cataloguer pour ce nouveau catalogue
-
+ Mapping NameNom de mappage
-
+ Source IDID de la source
-
-
+
+
@@ -1581,96 +1587,96 @@
Actif
-
-
+
+ File SizeTaille de fichier
-
-
+
+ FilesFichiers
-
-
+
+ Date UpdatedDate de mise à jour
-
+ Target IDID cible
-
+ TargetCible
-
+ Size Diff.Taille Diff.
-
+ Size Diff.(%)Taille Diff.(%)
-
+ Files Diff.Fichiers Diff.
-
+ Files Diff.(%)Fichiers Diff.(%)
-
+ Date Diff.Date Diff.
-
+ Parent DevicePériphérique parent
-
-
+
+ Populate the lists first (One or both device lists are empty).Remplissez d’abord les listes (une ou les deux listes d’appareils sont vides).
-
+ Invalid selection modelModèle de sélection non valide
-
+ Select a device from both lists.Sélectionnez un appareil dans les deux listes.
-
+ Invalid device selection.Sélection d'appareil non valide.
-
+ Empty device ID.ID d'appareil vide.
-
+ Provide a mapping name.Fournissez un nom de mappage.
-
+ Select a different source or target (a device shall not be mapped to itself).Sélectionnez une source ou une cible différente (un périphérique ne doit pas être mappé sur lui-même).
@@ -1680,7 +1686,7 @@
Choisir le fichier csv à importer
-
+
@@ -1721,17 +1727,17 @@
Réinitialiser tous les filtres
-
+ AboutA propos
-
+ Auto-backup catalogsAuto-sauvegarde des catalogues
-
+ Keep records of files and size for StatisticsGarder des enregistrements des fichiers et taille pour les Statistiques
@@ -1796,7 +1802,7 @@
Aucun catalogue trouvé.
-
+ Always keep one back of each catalogToujours garder une sauvegarde de chaque catalogue
@@ -1854,7 +1860,7 @@
Résolution
-
+ Check at start upVérifier au démarrage
@@ -1896,7 +1902,7 @@ Le fichier peut-être réparé manuellement, voir la page wiki :
-
+ SourceSource
@@ -2136,7 +2142,7 @@ Le fichier peut-être réparé manuellement, voir la page wiki :
Doublons trouvés
-
+ Verify if a new version of Katalog is available when starting the app.Vérifier si une nouvelle version de Katalog est disponible au démarrage de l'application.
@@ -2273,8 +2279,8 @@ Le fichier peut-être réparé manuellement, voir la page wiki :
<html><head/><body><p>Les résultats doivent correspondre exactement au texte (sensible à la capitalisation des lettres)</p></body></html>
-
-
+
+ Preload last selected catalogs at start-up to accelerate next searchPrécharger les derniers catalogues sélectionnés au démarrage pour accélérer la prochaine recherche
@@ -2700,7 +2706,7 @@ to the trash?
Etendre 1 niveau, 2 niveaux ou réduire
-
+ Open Settings fileOuvrir le fichier de Paramètres
@@ -2766,7 +2772,7 @@ to the trash?
Le catalogue sélectionné contient plus de %1 fichiers.<br/>L'ouverture peut prendre plusieurs minutes.<br/>Continuer ?
-
+ MemoryMémoire
@@ -2814,7 +2820,7 @@ to the trash?
Date de début du graphique
-
+ Katalog Colors (dark)Katalog Colors (sombre)
@@ -2836,12 +2842,12 @@ to the trash?
Inclure les metadonnées des fichiers média
-
+ TESTSESSAIS
-
+ TEST MEDIATEST MEDIA
@@ -2961,17 +2967,17 @@ to the trash?
Sélectionnez un catalogue avec un chemin valide.
-
+ This will remove the device and the storage details.Cela supprimera l'appareil et les détails de stockage.
-
+ Do you want to <span style='color: red';>delete</span> this %1 device?<table><tr><td>ID: </td><td><b> %2 </td></tr><tr><td>Name: </td><td><b> %3 </td></tr><tr><td></td></tr><tr><td></td><td>%4</td></tr></table>Voulez-vous <span style='color: red';>supprimer</span> ce %1 périphérique ?<table><tr><td>ID : </td><td><b> %2 </ td></tr><tr><td>Nom : </td><td><b> %3 </td></tr><tr><td></td></tr><tr ><td></td><td>%4</td></tr></table>
-
+ The selected device cannot be deleted as long as it has sub-devices.L'appareil sélectionné ne peut pas être supprimé tant qu'il comporte des sous-appareils.