diff --git a/localization/rssguard-cs_CZ.ts b/localization/rssguard-cs_CZ.ts index dc287f28f..b73a6bb5e 100644 --- a/localization/rssguard-cs_CZ.ts +++ b/localization/rssguard-cs_CZ.ts @@ -341,10 +341,6 @@ Status auto-aktualizace: %5 Description is empty. Popis je prázdný. - - The description os ok. - - Select icon file for the category Zvolte ikonu pro Vaši kategorii @@ -406,6 +402,10 @@ Status auto-aktualizace: %5 Use default icon Použít výchozí ikonu + + The description is ok. + Popis je v pořádku. + FormExport @@ -516,10 +516,6 @@ Status auto-aktualizace: %5 Description is empty. Popis je prázdný. - - The description os ok. - - The url is ok. Url je v pořádku. @@ -681,6 +677,10 @@ Status auto-aktualizace: %5 Do not auto-update at all Zakázat auto-aktualizace + + The description is ok. + Popis je v pořádku. + FormMain @@ -716,10 +716,6 @@ Status auto-aktualizace: %5 &Add tab &Přidat panel - - Close all tabs except current one - Zavřít všechny panely kromě aktivního - &Messages &Zprávy @@ -862,7 +858,7 @@ Status auto-aktualizace: %5 &Close current tab - &Zavřít všechny taby + &Zavřít aktivní tab Mark &selected messages as &read @@ -1006,19 +1002,23 @@ Status auto-aktualizace: %5 &Import feeds - + &Importovat kanály Imports feeds you want from selected file. - + Importuje kanály ze souboru. &Export feeds - + &Exportovat kanály - Imports feeds you want to selected file. - + Exports feeds you want to selected file. + Exportuje kanály do souboru. + + + Close all tabs except current one. + Zavřít všechny taby kromě aktivního. @@ -1581,7 +1581,9 @@ Autoři této aplikace nenesou žádnou odpovědnost za ztrátu Vašich dat.Some critical settings were changed and will be applied after the application gets restarted. You have to restart manually. - + Některá kritická nastavení se změnila a budou aktivována až po restartu aplikace. + +Musíte restartovat manuálně. @@ -1708,6 +1710,10 @@ Přejít na web aplikace a stáhnout jej ručně. Cannot launch external updater. Update application manually. Nelze spustit externí aktualizátor. Aktualizuje aplikaci manuálně. + + Go to application website + Přejít na web aplikace + LocationLineEdit diff --git a/localization/rssguard-de_DE.ts b/localization/rssguard-de_DE.ts index 44a78d375..4003673f5 100644 --- a/localization/rssguard-de_DE.ts +++ b/localization/rssguard-de_DE.ts @@ -331,10 +331,6 @@ Auto-update status: %5 Description is empty. Beschreibung ist leer. - - The description os ok. - Die Beschreibung ist okay. - Select icon file for the category Selektiere die Icon-Datei für die Kategorie @@ -396,6 +392,10 @@ Auto-update status: %5 Use default icon Standard-Icon verwenden + + The description is ok. + + FormExport @@ -506,10 +506,6 @@ Auto-update status: %5 Description is empty. Beschreibung ist leer. - - The description os ok. - Die Beschreibung ist okay. - The url is ok. Die URL ist okay. @@ -671,6 +667,10 @@ Auto-update status: %5 Do not auto-update at all Kein Auto-Update ausführen + + The description is ok. + + FormMain @@ -706,10 +706,6 @@ Auto-update status: %5 &Add tab &Reiter hinzufügen - - Close all tabs except current one - Alle Reiter schliessen ausser dem aktuellen - &Messages &Nachrichten @@ -1007,7 +1003,11 @@ Auto-update status: %5 - Imports feeds you want to selected file. + Exports feeds you want to selected file. + + + + Close all tabs except current one. @@ -1684,6 +1684,10 @@ Go to application website to obtain it manually. Cannot launch external updater. Update application manually. + + Go to application website + + LocationLineEdit diff --git a/localization/rssguard-en_GB.ts b/localization/rssguard-en_GB.ts index 9515b5b9a..f5e06ba51 100644 --- a/localization/rssguard-en_GB.ts +++ b/localization/rssguard-en_GB.ts @@ -331,10 +331,6 @@ Auto-update status: %5 Description is empty. - - The description os ok. - - Select icon file for the category @@ -396,6 +392,10 @@ Auto-update status: %5 Use default icon + + The description is ok. + + FormExport @@ -506,10 +506,6 @@ Auto-update status: %5 Description is empty. - - The description os ok. - - The url is ok. @@ -671,6 +667,10 @@ Auto-update status: %5 Do not auto-update at all + + The description is ok. + + FormMain @@ -706,10 +706,6 @@ Auto-update status: %5 &Add tab - - Close all tabs except current one - - &Messages @@ -1007,7 +1003,11 @@ Auto-update status: %5 - Imports feeds you want to selected file. + Exports feeds you want to selected file. + + + + Close all tabs except current one. @@ -1679,6 +1679,10 @@ Go to application website to obtain it manually. Cannot launch external updater. Update application manually. + + Go to application website + + LocationLineEdit diff --git a/localization/rssguard-fr_FR.ts b/localization/rssguard-fr_FR.ts index c33b8469c..c6cb8676d 100644 --- a/localization/rssguard-fr_FR.ts +++ b/localization/rssguard-fr_FR.ts @@ -337,10 +337,6 @@ Statut de la mise à jour automatique : %5 Description is empty. La description est vide. - - The description os ok. - La description est correct. - Select icon file for the category Sélectionner un icône pour la catégorie @@ -402,6 +398,10 @@ Statut de la mise à jour automatique : %5 Use default icon Utiliser les icônes par défaut + + The description is ok. + + FormExport @@ -512,10 +512,6 @@ Statut de la mise à jour automatique : %5 Description is empty. La description est vide. - - The description os ok. - La description est correct. - The url is ok. L'URL est correct. @@ -677,6 +673,10 @@ Statut de la mise à jour automatique : %5 Do not auto-update at all Ne pas mettre tout à jour automatiquement + + The description is ok. + + FormMain @@ -712,10 +712,6 @@ Statut de la mise à jour automatique : %5 &Add tab &Ajouter un onglet - - Close all tabs except current one - Fermer tout les onglets sauf le courant - &Messages &Messages @@ -1013,7 +1009,11 @@ Statut de la mise à jour automatique : %5 - Imports feeds you want to selected file. + Exports feeds you want to selected file. + + + + Close all tabs except current one. @@ -1707,6 +1707,10 @@ Aller sur le site de l'application pour les obtenir manuellement.Cannot launch external updater. Update application manually. + + Go to application website + + LocationLineEdit diff --git a/localization/rssguard-it_IT.ts b/localization/rssguard-it_IT.ts index 895d22230..6cbd1c6ac 100644 --- a/localization/rssguard-it_IT.ts +++ b/localization/rssguard-it_IT.ts @@ -131,6 +131,7 @@ This category does not contain any nested items. Describes feed auto-update status. + @@ -146,7 +147,8 @@ Auto-update status: %5 %n unread message(s). Tooltip for "unread" column of feed list. - + %n messaggio(i) non letto. + %n messaggio(i) non letti. @@ -181,9 +183,6 @@ Auto-update status: %5 Cannot edit item - Warning messagebox title when selected item cannot be edited. ----------- -Warning messagebox title when selected item cannot be edited. Impossibile modificare elemento @@ -214,15 +213,6 @@ Warning messagebox title when selected item cannot be edited. You cannot update selected items because another feed update is ongoing. - - Scheduled update started - - - - %1 is performing scheduled update of some feeds. - RSS Guard is performing updates right now. - - FormAbout @@ -342,10 +332,6 @@ Warning messagebox title when selected item cannot be edited. Description is empty. La descrizione è vuota. - - The description os ok. - La descrizione è ok. - Select icon file for the category Seleziona icona per la categoria @@ -407,6 +393,17 @@ Warning messagebox title when selected item cannot be edited. Use default icon Usa icona di default + + The description is ok. + + + + + FormExport + + Dialog + Dialogo + FormFeedDetails @@ -510,10 +507,6 @@ Warning messagebox title when selected item cannot be edited. Description is empty. La descrizione è vuota. - - The description os ok. - La descrizione è ok. - The url is ok. L'url è ok. @@ -675,6 +668,10 @@ Warning messagebox title when selected item cannot be edited. Do not auto-update at all + + The description is ok. + + FormMain @@ -710,10 +707,6 @@ Warning messagebox title when selected item cannot be edited. &Add tab &Aggiungi tab - - Close all tabs except current one - Chiudi tutti i tab tranne quello corrente - &Messages &Messaggi @@ -998,6 +991,26 @@ Warning messagebox title when selected item cannot be edited. &Feed/message list headers + + &Import feeds + + + + Imports feeds you want from selected file. + + + + &Export feeds + + + + Exports feeds you want to selected file. + + + + Close all tabs except current one. + + FormSettings @@ -1116,10 +1129,6 @@ Language column of language list. Http Http - - Do you want to restart now? - Vuoi riavviare adesso? - (not supported on this platform) (non supportato su questa piattaforma) @@ -1202,22 +1211,10 @@ Language column of language list. Hide tab bar if just one tab is visible Nascondi tab se è visibile un tab solo - - Some critical settings were changed and will be applied after the application gets restarted. - - Critical settings were changed Le impostazioni critiche sono cambiate - - Problem with application restart - Problema con il riavvio dell'applicazione - - - Application couldn't be restarted. Please, restart it manually for changes to take effect. - - Feeds & messages Feed & messaggi @@ -1555,6 +1552,12 @@ Authors of this application are NOT responsible for lost data. Select toolbar to edit Seleziona toolbar da modificare + + Some critical settings were changed and will be applied after the application gets restarted. + +You have to restart manually. + + FormUpdate @@ -1682,6 +1685,10 @@ Go to application website to obtain it manually. Cannot launch external updater. Update application manually. + + Go to application website + + LocationLineEdit @@ -2013,10 +2020,6 @@ Go to application website to obtain it manually. ToolBarEditor - - Dialog - Dialogo - Activated actions Azioni attivate diff --git a/localization/rssguard-nl_NL.ts b/localization/rssguard-nl_NL.ts index bb7a0edd4..f6e7fee25 100644 --- a/localization/rssguard-nl_NL.ts +++ b/localization/rssguard-nl_NL.ts @@ -338,10 +338,6 @@ Status automatisch bijwerken: %5 Description is empty. Omschrijving is leeg. - - The description os ok. - Omschrijving is ok. - Select icon file for the category Kies pictogram bestand voor de categorie @@ -403,6 +399,10 @@ Status automatisch bijwerken: %5 Use default icon Gebruik standaard pictogram + + The description is ok. + + FormExport @@ -513,10 +513,6 @@ Status automatisch bijwerken: %5 Description is empty. Omschrijving is leeg. - - The description os ok. - Omschrijving is ok. - The url is ok. De url is ok. @@ -678,6 +674,10 @@ Status automatisch bijwerken: %5 Do not auto-update at all Niet automatisch bijwerken + + The description is ok. + + FormMain @@ -713,10 +713,6 @@ Status automatisch bijwerken: %5 &Add tab &Tabblad toevoegen - - Close all tabs except current one - Sluit alle tabbladen behalve deze - &Messages &Berichten @@ -1014,7 +1010,11 @@ Status automatisch bijwerken: %5 - Imports feeds you want to selected file. + Exports feeds you want to selected file. + + + + Close all tabs except current one. @@ -1709,6 +1709,10 @@ Ga naar RRSguard website en download het handmatig. Cannot launch external updater. Update application manually. + + Go to application website + + LocationLineEdit diff --git a/resources/graphics/icons/mini-kfaenza/document-export.png b/resources/graphics/icons/mini-kfaenza/document-export.png new file mode 100644 index 000000000..09eaa9f14 Binary files /dev/null and b/resources/graphics/icons/mini-kfaenza/document-export.png differ diff --git a/resources/graphics/icons/mini-kfaenza/document-import.png b/resources/graphics/icons/mini-kfaenza/document-import.png new file mode 100644 index 000000000..a694a567a Binary files /dev/null and b/resources/graphics/icons/mini-kfaenza/document-import.png differ diff --git a/src/gui/formcategorydetails.cpp b/src/gui/formcategorydetails.cpp index d81897ace..b920a1cb4 100755 --- a/src/gui/formcategorydetails.cpp +++ b/src/gui/formcategorydetails.cpp @@ -154,7 +154,7 @@ void FormCategoryDetails::onDescriptionChanged(const QString &new_description) { m_ui->m_txtDescription->setStatus(LineEditWithStatus::Warning, tr("Description is empty.")); } else { - m_ui->m_txtDescription->setStatus(LineEditWithStatus::Ok, tr("The description os ok.")); + m_ui->m_txtDescription->setStatus(LineEditWithStatus::Ok, tr("The description is ok.")); } } diff --git a/src/gui/formfeeddetails.cpp b/src/gui/formfeeddetails.cpp index ec09a78f6..a56543929 100755 --- a/src/gui/formfeeddetails.cpp +++ b/src/gui/formfeeddetails.cpp @@ -101,7 +101,7 @@ void FormFeedDetails::onDescriptionChanged(const QString &new_description) { m_ui->m_txtDescription->setStatus(LineEditWithStatus::Warning, tr("Description is empty.")); } else { - m_ui->m_txtDescription->setStatus(LineEditWithStatus::Ok, tr("The description os ok.")); + m_ui->m_txtDescription->setStatus(LineEditWithStatus::Ok, tr("The description is ok.")); } } diff --git a/src/gui/formmain.cpp b/src/gui/formmain.cpp index c5f842107..15d9e43e9 100755 --- a/src/gui/formmain.cpp +++ b/src/gui/formmain.cpp @@ -268,6 +268,8 @@ void FormMain::setupIcons() { m_ui->m_actionCheckForUpdates->setIcon(icon_theme_factory->fromTheme("check-for-updates")); m_ui->m_actionDefragmentDatabase->setIcon(icon_theme_factory->fromTheme("defragment-database")); m_ui->m_actionReportBug->setIcon(icon_theme_factory->fromTheme("application-report-bug")); + m_ui->m_actionExportFeeds->setIcon(icon_theme_factory->fromTheme("document-export")); + m_ui->m_actionImportFeeds->setIcon(icon_theme_factory->fromTheme("document-import")); // View. m_ui->m_actionSwitchMainWindow->setIcon(icon_theme_factory->fromTheme("view-switch-window")); diff --git a/src/gui/formmain.ui b/src/gui/formmain.ui index 12811bab4..46a228572 100755 --- a/src/gui/formmain.ui +++ b/src/gui/formmain.ui @@ -15,16 +15,7 @@ - - 0 - - - 0 - - - 0 - - + 0 @@ -48,7 +39,7 @@ 0 0 979 - 21 + 20 @@ -236,7 +227,7 @@ &Close all tabs except current one - Close all tabs except current one + Close all tabs except current one. @@ -558,7 +549,7 @@ &Export feeds - Imports feeds you want to selected file. + Exports feeds you want to selected file. diff --git a/src/gui/messagesview.cpp b/src/gui/messagesview.cpp index 8aa51a288..bea787c0e 100755 --- a/src/gui/messagesview.cpp +++ b/src/gui/messagesview.cpp @@ -301,6 +301,11 @@ void MessagesView::markSelectedMessagesUnread() { void MessagesView::setSelectedMessagesReadStatus(int read) { QModelIndex current_index = selectionModel()->currentIndex(); + + if (!current_index.isValid()) { + return; + } + QModelIndex mapped_current_index = m_proxyModel->mapToSource(current_index); QModelIndexList selected_indexes = selectionModel()->selectedRows(); QModelIndexList mapped_indexes = m_proxyModel->mapListToSource(selected_indexes); @@ -329,6 +334,11 @@ void MessagesView::setSelectedMessagesReadStatus(int read) { void MessagesView::deleteSelectedMessages() { QModelIndex current_index = selectionModel()->currentIndex(); + + if (!current_index.isValid()) { + return; + } + QModelIndexList selected_indexes = selectionModel()->selectedRows(); QModelIndexList mapped_indexes = m_proxyModel->mapListToSource(selected_indexes); @@ -354,6 +364,11 @@ void MessagesView::deleteSelectedMessages() { void MessagesView::switchSelectedMessagesImportance() { QModelIndex current_index = selectionModel()->currentIndex(); + + if (!current_index.isValid()) { + return; + } + QModelIndex mapped_current_index = m_proxyModel->mapToSource(current_index); QModelIndexList selected_indexes = selectionModel()->selectedRows(); QModelIndexList mapped_indexes = m_proxyModel->mapListToSource(selected_indexes); diff --git a/src/miscellaneous/debugging.cpp b/src/miscellaneous/debugging.cpp index 8bddc8579..1ed4ed1ef 100755 --- a/src/miscellaneous/debugging.cpp +++ b/src/miscellaneous/debugging.cpp @@ -17,7 +17,6 @@ #include "miscellaneous/debugging.h" -#include "definitions/definitions.h" #include "miscellaneous/application.h" #include diff --git a/src/miscellaneous/localization.cpp b/src/miscellaneous/localization.cpp index 9ceee90e7..14300e4cf 100755 --- a/src/miscellaneous/localization.cpp +++ b/src/miscellaneous/localization.cpp @@ -17,8 +17,6 @@ #include "miscellaneous/localization.h" -#include "definitions/definitions.h" -#include "miscellaneous/settings.h" #include "miscellaneous/application.h" #include diff --git a/src/miscellaneous/settings.cpp b/src/miscellaneous/settings.cpp index 01f67a25b..1c14289dc 100755 --- a/src/miscellaneous/settings.cpp +++ b/src/miscellaneous/settings.cpp @@ -17,7 +17,6 @@ #include "miscellaneous/settings.h" -#include "definitions/definitions.h" #include "miscellaneous/application.h" #include diff --git a/src/miscellaneous/skinfactory.cpp b/src/miscellaneous/skinfactory.cpp index 07f205a14..dbe02ff17 100755 --- a/src/miscellaneous/skinfactory.cpp +++ b/src/miscellaneous/skinfactory.cpp @@ -17,8 +17,6 @@ #include "miscellaneous/skinfactory.h" -#include "definitions/definitions.h" -#include "miscellaneous/settings.h" #include "miscellaneous/application.h" #include diff --git a/src/miscellaneous/systemfactory.cpp b/src/miscellaneous/systemfactory.cpp index 4b39db48b..85881192e 100755 --- a/src/miscellaneous/systemfactory.cpp +++ b/src/miscellaneous/systemfactory.cpp @@ -17,7 +17,6 @@ #include "miscellaneous/systemfactory.h" -#include "definitions/definitions.h" #include "network-web/networkfactory.h" #include "miscellaneous/application.h" diff --git a/src/network-web/basenetworkaccessmanager.cpp b/src/network-web/basenetworkaccessmanager.cpp index 0955c4612..94d9752a3 100755 --- a/src/network-web/basenetworkaccessmanager.cpp +++ b/src/network-web/basenetworkaccessmanager.cpp @@ -17,8 +17,6 @@ #include "network-web/basenetworkaccessmanager.h" -#include "definitions/definitions.h" -#include "miscellaneous/settings.h" #include "miscellaneous/application.h" #include diff --git a/src/network-web/silentnetworkaccessmanager.cpp b/src/network-web/silentnetworkaccessmanager.cpp index e8f5d504c..1b05c939c 100644 --- a/src/network-web/silentnetworkaccessmanager.cpp +++ b/src/network-web/silentnetworkaccessmanager.cpp @@ -40,15 +40,13 @@ void SilentNetworkAccessManager::onAuthenticationRequired(QNetworkReply *reply, authenticator->setUser(originating_object->property("username").toString()); authenticator->setPassword(originating_object->property("password").toString()); - qDebug("Feed '%s' requested authentication and got it.", - qPrintable(reply->url().toString())); + qDebug("Feed '%s' requested authentication and got it.", qPrintable(reply->url().toString())); reply->setProperty("authentication-given", true); } else { // Authentication is required but this feed does not contain it. - qDebug("Feed '%s' requested authentication but username/password is not available.", - qPrintable(reply->url().toString())); + qDebug("Feed '%s' requested authentication but username/password is not available.", qPrintable(reply->url().toString())); reply->setProperty("authentication-given", false); } diff --git a/src/network-web/silentnetworkaccessmanager.h b/src/network-web/silentnetworkaccessmanager.h index 701b59e7a..f1afe91f6 100644 --- a/src/network-web/silentnetworkaccessmanager.h +++ b/src/network-web/silentnetworkaccessmanager.h @@ -20,8 +20,6 @@ #include "network-web/basenetworkaccessmanager.h" -#include - // Network manager used for more communication for feeds. class SilentNetworkAccessManager : public BaseNetworkAccessManager { diff --git a/src/network-web/webfactory.cpp b/src/network-web/webfactory.cpp index d19ccb104..851cac8c1 100755 --- a/src/network-web/webfactory.cpp +++ b/src/network-web/webfactory.cpp @@ -1,7 +1,5 @@ #include "network-web/webfactory.h" -#include "definitions/definitions.h" -#include "miscellaneous/settings.h" #include "miscellaneous/application.h" #include