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 - + TESTS TESTY - + TEST MEDIA TEST MEDIA @@ -216,19 +216,19 @@ Vyberte datum - + Katalog Colors (dark) Katalogové barvy (tmavé) - - + + Preload last selected catalogs at start-up to accelerate next search Předem načtěte poslední vybrané katalogy při spuštění, abyste urychlili další vyhledávání - + Open Settings file Otevřete soubor Nastavení @@ -305,78 +305,84 @@ Načtěte zdrojové katalogy - + + + without mapping + bez mapování + + + Select Target device Vyberte Cílové zařízení - + Load Target Catalogs Načíst cílové katalogy - + Device mappings Mapování zařízení - + based on Sources na základě Zdrojů - + based on Targets na základě Cílů - + File list display Zobrazení seznamu souborů - + If enabled, the sorting will respect case sensitive sorting, so as to have this order AA, AB, AC, Aa, Ab, Ac Je-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 Sensitive Třídění souborů rozlišuje malá a velká písmena - + Documentation Dokumentace - + 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 file Export do souboru SQLite - + Data mode Datový režim - + File Soubor - + Memory Paměť @@ -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 folder Vyberte a přečtěte si složku - + Preload last catalogs Předem načíst poslední katalogy - + Start up Nastartujte - + Back up Zá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 file Vyberte 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í - + Icons Ikony - + Use bigger icon size Použijte větší velikost ikony - + Load last catalog to Explore Načíst poslední katalog a prozkoumat - + Database Name Jméno databáze - + User Name Uživatelské jméno - + Host Name Název hostitele - + Create a new database file Vytvořte nový soubor databáze - + Hosted Hostováno - + Data management Správa dat @@ -1248,7 +1254,7 @@ Vyberte cestu - + New Nový @@ -1294,7 +1300,7 @@ - + Reload Znovu načíst @@ -1316,7 +1322,7 @@ - + Source Zdroj @@ -1352,13 +1358,13 @@ - + Full Table Celá tabulka - + Device Name Název zařízení @@ -1370,7 +1376,7 @@ - + Device ID ID zařízení @@ -1437,27 +1443,27 @@ Resetujte všechny filtry - - + + Settings Nastavení - + About O - - + + Version Verze - - + + @@ -1468,68 +1474,68 @@ Datum - + Release Notes Poznámky k vydání - + (requires to restart) (vyžaduje restart) - + Keep records of files and size for Statistics Uchovávejte záznamy o velikostech souborů a Statistikách - + Language Jazyk - + Always keep one back of each catalog Z každého katalogu si vždy nechejte jednu zadní část - + Auto-backup catalogs Automatické 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 restart Použít a restartovat - + Theme Téma - + Select a theme Vyberte téma - + Desktop Theme Best for integration in Plasma, light and dark themes. Téma plochy - + Katalog Colors (light) @@ -1537,56 +1543,56 @@ Katalogové barvy (světlé) - + Language & Theme Jazyk a téma - + Other Settings Další nastavení - + Check at start up Zkontrolujte při spuštění - + Port Port - + Password Heslo - + Database File Path Cesta k souboru databáze - + Collection folder Složka kolekce - - - + + + Select a different Collection folder Vyberte jinou složku Collection - - - + + + Open the collection folder Otevřete složku kolekce - + Open Otevřeno @@ -1680,7 +1686,7 @@ Otevřít soubor - + @@ -2267,18 +2273,18 @@ do koše? Celková velikost - + Mapping Name Název mapování - + Source ID ID zdroje - - + + @@ -2286,96 +2292,96 @@ do koše? Aktivní - - + + File Size Velikost souboru - - + + Files Soubory - - + + Date Updated Datum aktualizace - + Target ID Cílové ID - + Target Cí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 Device Nadř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 model Neplatný 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 - - + + Settings Einstellungen - + About Über - - + + Version Ausführung - - + + @@ -124,27 +124,27 @@ Datum - + Release Notes Versionshinweise - + (requires to restart) (erfordert Neustart) - + Keep records of files and size for Statistics Führen Sie Aufzeichnungen über Dateien und Größe für Statistiken - + Language Sprache - + Always keep one back of each catalog Bewahren Sie von jedem Katalog immer eine Rückseite auf @@ -184,108 +184,114 @@ Quellkataloge laden - + + + without mapping + ohne Zuordnung + + + Select Target device Zielgerät auswählen - + Load Target Catalogs Zielkataloge laden - + Device mappings Gerätezuordnungen - + based on Sources basierend auf Quellen - + based on Targets basierend auf Zielen - + File list display Anzeige der Dateiliste - + If enabled, the sorting will respect case sensitive sorting, so as to have this order AA, AB, AC, Aa, Ab, Ac Wenn 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 Sensitive Bei der Dateisortierung wird zwischen Groß- und Kleinschreibung unterschieden - + Documentation Dokumentation - + 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 file In SQLite-Datei exportieren - + Auto-backup catalogs Kataloge 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 restart Anwenden und neu starten - + Theme Thema - + Select a theme Wähle ein Thema - + Desktop Theme Best for integration in Plasma, light and dark themes. Desktop-Design - + Katalog Colors (light) @@ -293,44 +299,44 @@ Katalogfarben (hell) - + Language & Theme Sprache und Thema - + Other Settings Andere Einstellungen - + Check at start up Beim Start prüfen - + Port Pforte - + Password Passwort - + Database File Path Pfad der Datenbankdatei - + Collection folder Sammelordner - - - + + + Select a different Collection folder Wählen Sie einen anderen Sammlungsordner @@ -345,19 +351,19 @@ - + Reload Neu laden - - - + + + Open the collection folder Öffne den Sammlungsordner - + Open Offen @@ -370,7 +376,7 @@ Suche - + Memory Speicher @@ -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 search Laden 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 mode Datenmodus - + File Datei @@ -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 folder Ordner auswählen und lesen - + Preload last catalogs Letzte Kataloge vorab laden - + Start up Start-up - + Back up Sichern - + 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 file Datenbankdatei 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 - + Icons Ikony - + Use bigger icon size Použijte větší velikost ikony - + Load last catalog to Explore Laden Sie den letzten Katalog in Explore - + Database Name Name der Datenbank - + User Name Nutzername - + Host Name Hostname - + Create a new database file Vytvořte nový soubor databáze - + Hosted Bereitgestellt - + Data management Datenmanagement @@ -1375,7 +1381,7 @@ Wählen Sie den Pfad - + New Neu @@ -1459,12 +1465,12 @@ Zeigen Sie jeden Wert an - + TESTS TESTS - + TEST MEDIA TEST MEDIA @@ -1475,7 +1481,7 @@ - + Source Quelle @@ -1511,13 +1517,13 @@ - + Full Table Vollständiger Tisch - + Device Name Gerätename @@ -1529,7 +1535,7 @@ - + Device ID Geräte ID @@ -1680,7 +1686,7 @@ Datei öffnen - + @@ -2469,18 +2475,18 @@ in den Papierkorb? Gesamtgröße - + Mapping Name Zuordnungsname - + Source ID Quell-ID - - + + @@ -2488,96 +2494,96 @@ in den Papierkorb? Aktiv - - + + File Size Dateigröße - - + + Files Dateien - - + + Date Updated Aktualisierungsdatum - + Target ID Ziel-ID - + Target Ziel - + 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 model Ungü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 Theme Best 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 - - + + Settings Réglages - + Collection folder Dossier de Collection - + Reload Recharger - + Open Ouvrir - + Language Langue - + Theme Thème - + Release Notes Notes de Version - + (requires to restart) (nécessaire de redémarrer) - - + + @@ -247,17 +247,17 @@ Supprimer la sélection - + Database File Path Chemin d'accès au fichier de base de données - + Data mode Mode de données - + File Fichier @@ -275,21 +275,21 @@ - + Type Type - - + + Version Version - - + + @@ -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 folder Sélectionner et lire le dossier - + Preload last catalogs Précharger les derniers catalogues - + Start up Démarrer - + Back up Sauvegarde - + 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 file Sélectionnez et ouvrez le fichier de base de données - + New Nouveau @@ -405,13 +405,13 @@ - + Full Table Tableau complet - + Device Name Nom de l'appareil @@ -423,7 +423,7 @@ - + Device ID Reference de l'appareil @@ -1114,48 +1114,48 @@ Image de l'appareil - + Icons Icônes - + Use bigger icon size Utiliser une taille d'icône plus grande - + Load last catalog to Explore Charger le dernier catalogue dans Explorer - + Database Name Nom de la base de données - + User Name Nom d'utilisateur - + Host Name Nom d'hôte - + Create a new database file Créer un nouveau fichier de base de données - + Hosted Hébergé - + Data management Gestion de données @@ -1358,98 +1358,104 @@ Charger les catalogues sources - + + + without mapping + sans cartographie + + + Select Target device Sélectionner le périphérique cible - + Load Target Catalogs Charger les catalogues cibles - + Device mappings Mappages de périphériques - + based on Sources basé sur des sources - + based on Targets basé sur des cibles - + File list display Affichage 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, Ac Si 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 Sensitive Le tri des fichiers est sensible à la casse - + Documentation Documentation - + 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 file Exporter 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 restart Appliquer et redémarrer - + Select a theme Sélectionner un thème - + Desktop Theme Best 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 & Theme Langue et Thème - + Other Settings Autres réglages - + Port Port - + Password Mot de passe - - - + + + Select a different Collection folder Sélectionner un dossier de Collection différent - - - + + + Open the collection folder Ouvrir 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 Name Nom de mappage - + Source ID ID de la source - - + + @@ -1581,96 +1587,96 @@ Actif - - + + File Size Taille de fichier - - + + Files Fichiers - - + + Date Updated Date de mise à jour - + Target ID ID cible - + Target Cible - + Size Diff. Taille Diff. - + Size Diff.(%) Taille Diff.(%) - + Files Diff. Fichiers Diff. - + Files Diff.(%) Fichiers Diff.(%) - + Date Diff. Date Diff. - + Parent Device Pé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 model Modè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 - + About A propos - + Auto-backup catalogs Auto-sauvegarde des catalogues - + Keep records of files and size for Statistics Garder des enregistrements des fichiers et taille pour les Statistiques @@ -1796,7 +1802,7 @@ Aucun catalogue trouvé. - + Always keep one back of each catalog Toujours garder une sauvegarde de chaque catalogue @@ -1854,7 +1860,7 @@ Résolution - + Check at start up Vérifier au démarrage @@ -1896,7 +1902,7 @@ Le fichier peut-être réparé manuellement, voir la page wiki : - + Source Source @@ -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 search Pré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 file Ouvrir 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 ? - + Memory Mé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 - + TESTS ESSAIS - + TEST MEDIA TEST 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.