diff --git a/CHANGELOG.md b/CHANGELOG.md index eba7803d6..046203029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,9 @@ Version counting is based on semantic versioning (Major.Feature.Patch) * Add rescan xml functionality to the webui. * Add more metadata fields to the detail view. +### All GUI apps +* New settings dialogs. + ### All apps * Unify comics sorting to use the string based universal number everywhere. * Experimental support for image based comics in epub format. diff --git a/YACReader/options_dialog.cpp b/YACReader/options_dialog.cpp index af7d8c493..0f0689857 100644 --- a/YACReader/options_dialog.cpp +++ b/YACReader/options_dialog.cpp @@ -6,6 +6,7 @@ #include "theme_factory.h" #include "theme_manager.h" #include "yacreader_3d_flow_config_widget.h" +#include "yacreader_settings_widget.h" #include "yacreader_spin_slider_widget.h" #include @@ -20,13 +21,12 @@ #include #include #include -#include #include OptionsDialog::OptionsDialog(QWidget *parent) : YACReaderOptionsDialog(parent) { - auto tabWidget = new QTabWidget(); + auto settingsWidget = new YACReaderSettingsWidget(); auto layout = new QVBoxLayout(this); @@ -135,12 +135,9 @@ OptionsDialog::OptionsDialog(QWidget *parent) layoutGeneral->addWidget(languageBox); layoutGeneral->addWidget(displayBox); layoutGeneral->addWidget(magnifyingGlassBox); - layoutGeneral->addWidget(slideSizeBox); // layoutGeneral->addWidget(fitBox); - layoutGeneral->addWidget(colorBox); layoutGeneral->addWidget(scrollBox); layoutGeneral->addWidget(mouseModeBox); - layoutGeneral->addWidget(shortcutsBox); layoutGeneral->addStretch(); // GENERAL END --------------------------------------- @@ -154,6 +151,7 @@ OptionsDialog::OptionsDialog(QWidget *parent) disableShowOnMouseOver = new QCheckBox(tr("Disable mouse over activation")); layoutFlow->addWidget(gl); + layoutFlow->addWidget(slideSizeBox); layoutFlow->addWidget(quickNavi); layoutFlow->addWidget(disableShowOnMouseOver); @@ -261,15 +259,17 @@ OptionsDialog::OptionsDialog(QWidget *parent) []() { return ThemeManager::instance().getCurrentTheme().sourceJson; }, [](const QJsonObject &json) { ThemeManager::instance().setTheme(makeTheme(json)); }, this); + pageAppearance->addSection(colorBox); // APPEARANCE END ------------------------------------ - tabWidget->addTab(pageGeneral, tr("General")); - tabWidget->addTab(pageFlow, tr("Page Flow")); - tabWidget->addTab(pageImage, tr("Image adjustment")); - tabWidget->addTab(pageAppearance, tr("Appearance")); + settingsWidget->addPage(pageGeneral, tr("General")); + settingsWidget->addPage(pageFlow, tr("Page Flow")); + settingsWidget->addPage(pageImage, tr("Image adjustment")); + settingsWidget->addPage(pageAppearance, tr("Appearance")); + settingsWidget->addPage(shortcutsPage, shortcutsPage->windowTitle()); - layout->addWidget(tabWidget); + layout->addWidget(settingsWidget); auto buttons = new QHBoxLayout(); buttons->addStretch(); diff --git a/YACReader/yacreader_de.ts b/YACReader/yacreader_de.ts index a7ed1ce5f..7dcca4ebe 100644 --- a/YACReader/yacreader_de.ts +++ b/YACReader/yacreader_de.ts @@ -92,24 +92,24 @@ Der aktuelle Theme-JSON konnte nicht geladen werden. - + Import theme Thema importieren - + JSON files (*.json);;All files (*) JSON-Dateien (*.json);;Alle Dateien (*) - + Could not import theme from: %1 Theme konnte nicht importiert werden von: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Der Import ist fehlgeschlagen @@ -276,12 +276,12 @@ OptionsDialog - + Gamma Gammawert - + Reset Zurücksetzen @@ -291,32 +291,32 @@ Meine Comics-Pfad - + Scaling Skalierung - + Scaling method Skalierungsmethode - + Nearest (fast, low quality) Am nächsten (schnell, niedrige Qualität) - + Bilinear Bilinear-Filter - + Lanczos (better quality) Lanczos (bessere Qualität) - + Image adjustment Bildanpassung @@ -331,17 +331,17 @@ Auswählen - + Image options Bilderoptionen - + Contrast Kontrast - + Appearance Aussehen @@ -381,17 +381,17 @@ Hintergrundfarbe - + Page Flow Seitenfluss - + General Allgemein - + Brightness Helligkeit @@ -401,7 +401,7 @@ Neustart erforderlich - + Quick Navigation Mode Schnellnavigations-Modus @@ -476,27 +476,27 @@ Klicken Sie auf die linke oder rechte Hälfte des Bildschirms, um die Seiten umzublättern. - + Disable mouse over activation Aktivierung durch Maus deaktivieren - + Fit options Anpassungsoptionen - + Enlarge images to fit width/height Bilder vergrößern, um sie Breite/Höhe anzupassen - + Double Page options Doppelseiten-Einstellungen - + Show covers as single page Cover als eine Seite darstellen @@ -734,48 +734,48 @@ Viewer - + Page not available! Seite nicht verfügbar! - - + + Press 'O' to open comic. 'O' drücken, um Comic zu öffnen. - + Error opening comic Fehler beim Öffnen des Comics - + Cover! Titelseite! - + CRC Error CRC Fehler - + Comic not found Comic nicht gefunden - + Not found Nicht gefunden - + Last page! Letzte Seite! - + Loading...please wait! Ladevorgang... Bitte warten! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Speichern - + Cancel Abbrechen - + + Keyboard shortcuts + Tastenkürzel + + + + Customize the keyboard shortcuts used by the application. + Passen Sie die von der Anwendung verwendeten Tastenkürzel an. + + + Edit shortcuts Kürzel bearbeiten - + Shortcuts Kürzel diff --git a/YACReader/yacreader_en.ts b/YACReader/yacreader_en.ts index df21cdefe..ac8448644 100644 --- a/YACReader/yacreader_en.ts +++ b/YACReader/yacreader_en.ts @@ -92,24 +92,24 @@ The current theme JSON could not be loaded. - + Import theme Import theme - + JSON files (*.json);;All files (*) JSON files (*.json);;All files (*) - + Could not import theme from: %1 Could not import theme from: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Import failed @@ -296,37 +296,37 @@ Choose - + Quick Navigation Mode Quick Navigation Mode - + Disable mouse over activation Disable mouse over activation - + Scaling Scaling - + Scaling method Scaling method - + Nearest (fast, low quality) Nearest (fast, low quality) - + Bilinear Bilinear - + Lanczos (better quality) Lanczos (better quality) @@ -336,7 +336,7 @@ Restart is needed - + Brightness Brightness @@ -426,52 +426,52 @@ Click left or right half of the screen to turn pages. - + Contrast Contrast - + Gamma Gamma - + Reset Reset - + Image options Image options - + Fit options Fit options - + Enlarge images to fit width/height Enlarge images to fit width/height - + Double Page options Double Page options - + Show covers as single page Show covers as single page - + General General - + Appearance Appearance @@ -481,12 +481,12 @@ Clear - + Page Flow Page Flow - + Image adjustment Image adjustment @@ -734,48 +734,48 @@ Viewer - - + + Press 'O' to open comic. Press 'O' to open comic. - + Not found Not found - + Comic not found Comic not found - + Error opening comic Error opening comic - + CRC Error CRC Error - + Loading...please wait! Loading...please wait! - + Page not available! Page not available! - + Cover! Cover! - + Last page! Last page! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Save - + Cancel Cancel - + + Keyboard shortcuts + Keyboard shortcuts + + + + Customize the keyboard shortcuts used by the application. + Customize the keyboard shortcuts used by the application. + + + Edit shortcuts Edit shortcuts - + Shortcuts Shortcuts diff --git a/YACReader/yacreader_es.ts b/YACReader/yacreader_es.ts index 9a6f6be69..3ff66b65b 100644 --- a/YACReader/yacreader_es.ts +++ b/YACReader/yacreader_es.ts @@ -92,24 +92,24 @@ No se ha podido cargar el JSON del tema actual. - + Import theme Importar tema - + JSON files (*.json);;All files (*) Archivos JSON (*.json);;Todos los archivos (*) - + Could not import theme from: %1 No se pudo importar el tema desde: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Error al importar @@ -276,12 +276,12 @@ OptionsDialog - + Gamma Gama - + Reset Restablecer @@ -291,32 +291,32 @@ Ruta a mis cómics - + Scaling Escalado - + Scaling method Método de escalado - + Nearest (fast, low quality) Vecino más cercano (rápido, baja calidad) - + Bilinear Bilineal - + Lanczos (better quality) Lanczos (mejor calidad) - + Image adjustment Ajustes de imagen @@ -331,17 +331,17 @@ Elegir - + Image options Opciones de imagen - + Contrast Contraste - + Appearance Apariencia @@ -381,17 +381,17 @@ Color de fondo - + Page Flow Flujo de página - + General Opciones generales - + Brightness Brillo @@ -401,7 +401,7 @@ Es necesario reiniciar - + Quick Navigation Mode Modo de navegación rápida @@ -476,27 +476,27 @@ Hacer clic en la mitad izquierda o derecha de la pantalla para cambiar de página. - + Disable mouse over activation Desactivar activación al pasar el ratón - + Fit options Opciones de ajuste - + Enlarge images to fit width/height Ampliar imágenes para ajustarse al ancho/alto - + Double Page options Opciones de doble página - + Show covers as single page Mostrar portadas como página única @@ -734,48 +734,48 @@ Viewer - + Page not available! ¡Página no disponible! - - + + Press 'O' to open comic. Pulsa 'O' para abrir un fichero. - + Error opening comic Error abriendo cómic - + Cover! ¡Portada! - + CRC Error Error CRC - + Comic not found Cómic no encontrado - + Not found No encontrado - + Last page! ¡Última página! - + Loading...please wait! Cargando...espere, por favor! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Guardar - + Cancel Cancelar - + + Keyboard shortcuts + Atajos de teclado + + + + Customize the keyboard shortcuts used by the application. + Personaliza los atajos de teclado utilizados por la aplicación. + + + Edit shortcuts Editar accesos directos - + Shortcuts Accesos directos diff --git a/YACReader/yacreader_fr.ts b/YACReader/yacreader_fr.ts index 3b750c07f..7166db262 100644 --- a/YACReader/yacreader_fr.ts +++ b/YACReader/yacreader_fr.ts @@ -92,24 +92,24 @@ Le thème actuel JSON n'a pas pu être chargé. - + Import theme Importer un thème - + JSON files (*.json);;All files (*) Fichiers JSON (*.json);;Tous les fichiers (*) - + Could not import theme from: %1 Impossible d'importer le thème depuis : %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Échec de l'importation @@ -276,12 +276,12 @@ OptionsDialog - + Gamma Valeur gamma - + Reset Remise à zéro @@ -291,7 +291,7 @@ Chemin de mes bandes dessinées - + Image adjustment Ajustement de l'image @@ -306,17 +306,17 @@ Choisir - + Image options Option de l'image - + Contrast Contraste - + Appearance Apparence @@ -351,7 +351,7 @@ Répertoire des bandes dessinées - + Quick Navigation Mode Mode navigation rapide @@ -431,47 +431,47 @@ Cliquez sur la moitié gauche ou droite de l'écran pour tourner les pages. - + Disable mouse over activation Désactiver la souris sur l'activation - + Scaling Mise à l'échelle - + Scaling method Méthode de mise à l'échelle - + Nearest (fast, low quality) Le plus proche (rapide, mauvaise qualité) - + Bilinear Bilinéaire - + Lanczos (better quality) Lanczos (meilleure qualité) - + Page Flow Flux des pages - + General Général - + Brightness Luminosité @@ -481,22 +481,22 @@ Redémarrage nécessaire - + Fit options Options d'ajustement - + Enlarge images to fit width/height Agrandir les images pour les adapter à la largeur/hauteur - + Double Page options Options de double page - + Show covers as single page Afficher les couvertures sur une seule page @@ -734,48 +734,48 @@ Viewer - + Page not available! Page non disponible ! - - + + Press 'O' to open comic. Appuyez sur "O" pour ouvrir une bande dessinée. - + Error opening comic Erreur d'ouverture de la bande dessinée - + Cover! Couverture! - + CRC Error Erreur CRC - + Comic not found Bande dessinée introuvable - + Not found Introuvable - + Last page! Dernière page! - + Loading...please wait! Chargement... Patientez @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Sauvegarder - + Cancel Annuler - + Shortcuts Raccourcis - + + Keyboard shortcuts + Raccourcis clavier + + + + Customize the keyboard shortcuts used by the application. + Personnalisez les raccourcis clavier utilisés par l’application. + + + Edit shortcuts Modifier les raccourcis diff --git a/YACReader/yacreader_it.ts b/YACReader/yacreader_it.ts index 515bed51f..907c04cc7 100644 --- a/YACReader/yacreader_it.ts +++ b/YACReader/yacreader_it.ts @@ -92,24 +92,24 @@ Impossibile caricare il tema corrente JSON. - + Import theme Importa tema - + JSON files (*.json);;All files (*) File JSON (*.json);;Tutti i file (*) - + Could not import theme from: %1 Impossibile importare il tema da: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Importazione non riuscita @@ -276,12 +276,12 @@ OptionsDialog - + Gamma Valore gamma - + Reset Resetta @@ -291,7 +291,7 @@ Percorso dei miei fumetti - + Image adjustment Correzioni immagine @@ -306,17 +306,17 @@ Scegli - + Image options Opzione immagine - + Contrast Contrasto - + Appearance Aspetto @@ -351,7 +351,7 @@ Cartella Fumetti - + Quick Navigation Mode Modo navigazione rapida @@ -368,17 +368,17 @@ Magnifying glass - Lente d'ingrandimento + Lente d'ingrandimento Circular magnifying glass - Lente d'ingrandimento circolare + Lente d'ingrandimento circolare Draw a ring around the circular magnifying glass - Disegna un anello intorno alla lente d'ingrandimento circolare + Disegna un anello intorno alla lente d'ingrandimento circolare @@ -431,47 +431,47 @@ Fare clic sulla metà sinistra o destra dello schermo per girare le pagine. - + Disable mouse over activation Disabilita il mouse all'attivazione - + Scaling Ridimensionamento - + Scaling method Metodo di scala - + Nearest (fast, low quality) Più vicino (veloce, bassa qualità) - + Bilinear Bilineare - + Lanczos (better quality) Lanczos (qualità migliore) - + Page Flow Flusso pagine - + General Generale - + Brightness Luminosità @@ -481,22 +481,22 @@ Riavvio Necessario - + Fit options Opzioni di adattamento - + Enlarge images to fit width/height Ingrandisci le immagini per adattarle alla larghezza/altezza - + Double Page options Opzioni doppia pagina - + Show covers as single page Mostra le copertine come pagina singola @@ -734,48 +734,48 @@ Viewer - + Page not available! Pagina non disponibile! - - + + Press 'O' to open comic. Premi "O" per aprire il fumettto. - + Error opening comic Errore nell'apertura - + Cover! Copertina! - + CRC Error Errore CRC - + Comic not found Fumetto non trovato - + Not found Non trovato - + Last page! Ultima pagina! - + Loading...please wait! In caricamento...Attendi! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Salva - + Cancel Cancella - + Shortcuts Scorciatoia - + + Keyboard shortcuts + Scorciatoie da tastiera + + + + Customize the keyboard shortcuts used by the application. + Personalizza le scorciatoie da tastiera utilizzate dall'applicazione. + + + Edit shortcuts Edita Scorciatoia diff --git a/YACReader/yacreader_ko.ts b/YACReader/yacreader_ko.ts index 3280c2c3f..d9d227a5d 100644 --- a/YACReader/yacreader_ko.ts +++ b/YACReader/yacreader_ko.ts @@ -92,24 +92,24 @@ 현재 테마 JSON을 불러올 수 없습니다. - + Import theme 테마 가져오기 - + JSON files (*.json);;All files (*) JSON 파일 (*.json);;모든 파일 (*) - + Could not import theme from: %1 다음에서 테마를 가져올 수 없습니다: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed 가져오기 실패 @@ -296,12 +296,12 @@ 지우기 - + General 일반 - + Appearance 외관 @@ -401,92 +401,92 @@ 화면 왼쪽 또는 오른쪽 절반을 클릭하여 페이지 넘김. - + Quick Navigation Mode 빠른 탐색 모드 - + Disable mouse over activation 마우스 오버 활성화 끄기 - + Brightness 밝기 - + Contrast 대비 - + Gamma 감마 - + Reset 초기화 - + Image options 이미지 옵션 - + Fit options 맞춤 옵션 - + Enlarge images to fit width/height 작은 그림도 꽉차게 보기 - + Double Page options 두 페이지 옵션 - + Show covers as single page 표지를 한 장으로 표시 - + Scaling 스케일링 - + Scaling method 스케일링 방법 - + Nearest (fast, low quality) 빠른 모드 (빠름, 저화질) - + Bilinear 보통 모드 (중간 품질) - + Lanczos (better quality) 고화질 모드 (더 좋은 화질) - + Page Flow 페이지 플로우 - + Image adjustment 이미지 조정 @@ -734,48 +734,48 @@ Viewer - - + + Press 'O' to open comic. 'O'를 눌러 만화를 열어보세요. - + Not found 찾을 수 없음 - + Comic not found 만화를 찾을 수 없습니다 - + Error opening comic 만화를 여는 중 오류가 발생했습니다 - + CRC Error CRC 오류 - + Loading...please wait! 불러오는 중... 잠시 기다려주세요! - + Page not available! 페이지를 불러올 수 없습니다! - + Cover! 표지! - + Last page! 마지막 페이지! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save 저장 - + Cancel 취소 - + + Keyboard shortcuts + 키보드 단축키 + + + + Customize the keyboard shortcuts used by the application. + 애플리케이션에서 사용하는 키보드 단축키를 사용자 지정합니다. + + + Edit shortcuts 단축키 편집 - + Shortcuts 단축키 diff --git a/YACReader/yacreader_nl.ts b/YACReader/yacreader_nl.ts index 142aa1962..d4d693bf4 100644 --- a/YACReader/yacreader_nl.ts +++ b/YACReader/yacreader_nl.ts @@ -92,24 +92,24 @@ De huidige thema-JSON kan niet worden geladen. - + Import theme Thema importeren - + JSON files (*.json);;All files (*) JSON-bestanden (*.json);;Alle bestanden (*) - + Could not import theme from: %1 Kan thema niet importeren uit: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Importeren is mislukt @@ -276,12 +276,12 @@ OptionsDialog - + Gamma Gammawaarde - + Reset Standaardwaarden terugzetten @@ -291,32 +291,32 @@ Pad naar mijn strips - + Scaling Schalen - + Scaling method Schaalmethode - + Nearest (fast, low quality) Dichtstbijzijnde (snel, lage kwaliteit) - + Bilinear Bilineair - + Lanczos (better quality) Lanczos (betere kwaliteit) - + Image adjustment Beeldaanpassing @@ -331,17 +331,17 @@ Kies - + Image options Afbeelding opties - + Contrast Contrastwaarde - + Appearance Verschijning @@ -381,17 +381,17 @@ Achtergrondkleur - + Page Flow Omslagbrowser - + General Algemeen - + Brightness Helderheid @@ -401,7 +401,7 @@ Herstart is nodig - + Quick Navigation Mode Snelle navigatiemodus @@ -476,27 +476,27 @@ Klik op de linker- of rechterhelft van het scherm om pagina's om te slaan. - + Disable mouse over activation Schakel muis-over-activering uit - + Fit options Pas opties - + Enlarge images to fit width/height Vergroot afbeeldingen zodat ze in de breedte/hoogte passen - + Double Page options Opties voor dubbele pagina's - + Show covers as single page Toon omslagen als enkele pagina @@ -734,48 +734,48 @@ Viewer - - + + Press 'O' to open comic. Druk 'O' om een strip te openen. - + Cover! Omslag! - + Comic not found Strip niet gevonden - + Not found Niet gevonden - + Last page! Laatste pagina! - + Loading...please wait! Inladen...even wachten! - + Error opening comic Fout bij openen strip - + CRC Error CRC-fout - + Page not available! Pagina niet beschikbaar! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Bewaar - + Cancel Annuleren - + + Keyboard shortcuts + Sneltoetsen + + + + Customize the keyboard shortcuts used by the application. + Pas de sneltoetsen aan die door de toepassing worden gebruikt. + + + Edit shortcuts Snelkoppelingen bewerken - + Shortcuts Snelkoppelingen diff --git a/YACReader/yacreader_pt.ts b/YACReader/yacreader_pt.ts index e774c1eef..1e00959da 100644 --- a/YACReader/yacreader_pt.ts +++ b/YACReader/yacreader_pt.ts @@ -92,24 +92,24 @@ O tema atual JSON não pôde ser carregado. - + Import theme Importar tema - + JSON files (*.json);;All files (*) Arquivos JSON (*.json);;Todos os arquivos (*) - + Could not import theme from: %1 Não foi possível importar o tema de: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Falha na importação @@ -286,7 +286,7 @@ Tamanho de "Ir para Comic Flow" - + Appearance Aparência @@ -406,97 +406,97 @@ Clique na metade esquerda ou direita da tela para virar as páginas. - + Quick Navigation Mode Modo de navegação rápida - + Disable mouse over activation Desativar ativação do mouse sobre - + Brightness Brilho - + Contrast Contraste - + Gamma Gama - + Reset Reiniciar - + Image options Opções de imagem - + Fit options Opções de ajuste - + Enlarge images to fit width/height Amplie as imagens para caber na largura/altura - + Double Page options Opções de página dupla - + Show covers as single page Mostrar capas como página única - + Scaling Dimensionamento - + Scaling method Método de dimensionamento - + Nearest (fast, low quality) Mais próximo (rápido, baixa qualidade) - + Bilinear Interpola??o bilinear - + Lanczos (better quality) Lanczos (melhor qualidade) - + General Em geral - + Page Flow Fluxo de página - + Image adjustment Ajuste de imagem @@ -734,48 +734,48 @@ Viewer - - + + Press 'O' to open comic. Pressione 'O' para abrir um quadrinho. - + Loading...please wait! Carregando... por favor, aguarde! - + Not found Não encontrado - + Comic not found Quadrinho não encontrado - + Error opening comic Erro ao abrir quadrinho - + CRC Error Erro CRC - + Page not available! Página não disponível! - + Cover! Cobrir! - + Last page! Última página! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Salvar - + Cancel Cancelar - + + Keyboard shortcuts + Atalhos de teclado + + + + Customize the keyboard shortcuts used by the application. + Personalize os atalhos de teclado utilizados pela aplicação. + + + Edit shortcuts Editar atalhos - + Shortcuts Atalhos diff --git a/YACReader/yacreader_ru.ts b/YACReader/yacreader_ru.ts index 5a0d61e47..6f2bfbddb 100644 --- a/YACReader/yacreader_ru.ts +++ b/YACReader/yacreader_ru.ts @@ -92,24 +92,24 @@ Не удалось загрузить JSON текущей темы. - + Import theme Импортировать тему - + JSON files (*.json);;All files (*) Файлы JSON (*.json);;Все файлы (*) - + Could not import theme from: %1 Не удалось импортировать тему из: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed Импорт не удался @@ -276,12 +276,12 @@ OptionsDialog - + Gamma Гамма - + Reset Вернуть к первоначальным значениям @@ -291,7 +291,7 @@ Папка комиксов - + Image adjustment Настройка изображения @@ -306,17 +306,17 @@ Выбрать - + Image options Настройки изображения - + Contrast Контраст - + Appearance Появление @@ -351,7 +351,7 @@ Папка комиксов - + Quick Navigation Mode Ползунок для быстрой навигации по страницам @@ -431,47 +431,47 @@ Нажмите левую или правую половину экрана, чтобы перелистывать страницы. - + Disable mouse over activation Отключить активацию потока при наведении мыши - + Scaling Масштабирование - + Scaling method Метод масштабирования - + Nearest (fast, low quality) Ближайший (быстро, низкое качество) - + Bilinear Билинейный - + Lanczos (better quality) Ланцос (лучшее качество) - + Page Flow Поток Страниц - + General Общие - + Brightness Яркость @@ -481,22 +481,22 @@ Требуется перезагрузка - + Fit options Варианты подгонки - + Enlarge images to fit width/height Увеличьте изображения по ширине/высоте - + Double Page options Параметры двойной страницы - + Show covers as single page Показывать обложки на одной странице @@ -734,48 +734,48 @@ Viewer - + Page not available! Страница недоступна! - - + + Press 'O' to open comic. Нажмите "O" чтобы открыть комикс. - + Error opening comic Ошибка открытия комикса - + Cover! Начало! - + CRC Error Ошибка CRC - + Comic not found Комикс не найден - + Not found Не найдено - + Last page! Конец! - + Loading...please wait! Загрузка... Пожалуйста подождите! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Сохранить - + Cancel Отмена - + Shortcuts Горячие клавиши - + + Keyboard shortcuts + Сочетания клавиш + + + + Customize the keyboard shortcuts used by the application. + Настройте сочетания клавиш, используемые приложением. + + + Edit shortcuts Редактировать горячие клавиши diff --git a/YACReader/yacreader_source.ts b/YACReader/yacreader_source.ts index f26d62916..dd9145f7a 100644 --- a/YACReader/yacreader_source.ts +++ b/YACReader/yacreader_source.ts @@ -92,23 +92,23 @@ - + Import theme - + JSON files (*.json);;All files (*) - + Could not import theme from: %1 - + Could not import theme from: %1 @@ -116,7 +116,7 @@ - + Import failed @@ -292,12 +292,12 @@ - + Quick Navigation Mode - + Disable mouse over activation @@ -307,7 +307,7 @@ - + Brightness @@ -402,87 +402,87 @@ - + Contrast - + Gamma - + Reset - + Image options - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page - + Scaling - + Scaling method - + Nearest (fast, low quality) - + Bilinear - + Lanczos (better quality) - + General - + Page Flow - + Image adjustment - + Appearance @@ -727,48 +727,48 @@ Viewer - - + + Press 'O' to open comic. - + Not found - + Comic not found - + Error opening comic - + CRC Error - + Loading...please wait! - + Page not available! - + Cover! - + Last page! @@ -1436,12 +1436,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1479,22 +1479,32 @@ YACReaderOptionsDialog - + Save - + Cancel - + + Keyboard shortcuts + + + + + Customize the keyboard shortcuts used by the application. + + + + Edit shortcuts - + Shortcuts diff --git a/YACReader/yacreader_tr.ts b/YACReader/yacreader_tr.ts index 990a0afaa..c4af5310c 100644 --- a/YACReader/yacreader_tr.ts +++ b/YACReader/yacreader_tr.ts @@ -92,24 +92,24 @@ Geçerli tema JSON yüklenemedi. - + Import theme Temayı içe aktar - + JSON files (*.json);;All files (*) JSON dosyaları (*.json);;Tüm dosyalar (*) - + Could not import theme from: %1 Tema şu kaynaktan içe aktarılamadı: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed İçe aktarma başarısız oldu @@ -276,12 +276,12 @@ OptionsDialog - + Gamma Gama - + Reset Yeniden başlat @@ -291,32 +291,32 @@ Çizgi Romanlarım - + Scaling Ölçeklendirme - + Scaling method Ölçeklendirme yöntemi - + Nearest (fast, low quality) En yakın (hızlı, düşük kalite) - + Bilinear Çift doğrusal - + Lanczos (better quality) Lanczos (daha kaliteli) - + Image adjustment Resim ayarları @@ -331,17 +331,17 @@ Seç - + Image options Sayfa ayarları - + Contrast Kontrast - + Appearance Dış görünüş @@ -381,17 +381,17 @@ Arka plan rengi - + Page Flow Sayfa akışı - + General Genel - + Brightness Parlaklık @@ -401,7 +401,7 @@ Yeniden başlatılmalı - + Quick Navigation Mode Hızlı Gezinti Kipi @@ -476,27 +476,27 @@ Sayfaları çevirmek için ekranın sol veya sağ yarısına tıklayın. - + Disable mouse over activation Etkinleştirme üzerinde fareyi devre dışı bırak - + Fit options Sığdırma seçenekleri - + Enlarge images to fit width/height Genişliğe/yüksekliği sığmaları için resimleri genişlet - + Double Page options Çift Sayfa seçenekleri - + Show covers as single page Kapakları tek sayfa olarak göster @@ -734,48 +734,48 @@ Viewer - - + + Press 'O' to open comic. 'O'ya basarak aç. - + Cover! Kapak! - + Comic not found Çizgi roman bulunamadı - + Not found Bulunamadı - + Last page! Son sayfa! - + Loading...please wait! Yükleniyor... lütfen bekleyin! - + Error opening comic Çizgi roman açılırken hata - + CRC Error CRC Hatası - + Page not available! Sayfa bulunamadı! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save Kaydet - + Cancel Vazgeç - + + Keyboard shortcuts + Klavye kısayolları + + + + Customize the keyboard shortcuts used by the application. + Uygulama tarafından kullanılan klavye kısayollarını özelleştirin. + + + Edit shortcuts Kısayolları düzenle - + Shortcuts Kısayollar diff --git a/YACReader/yacreader_zh_CN.ts b/YACReader/yacreader_zh_CN.ts index d5c902eda..6b4a57e73 100644 --- a/YACReader/yacreader_zh_CN.ts +++ b/YACReader/yacreader_zh_CN.ts @@ -92,24 +92,24 @@ 无法加载当前主题 JSON。 - + Import theme 导入主题 - + JSON files (*.json);;All files (*) JSON 文件 (*.json);;所有文件 (*) - + Could not import theme from: %1 无法从以下位置导入主题: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed 导入失败 @@ -276,17 +276,17 @@ OptionsDialog - + Gamma Gamma值 - + Reset 重置 - + Enlarge images to fit width/height 放大图片以适应宽度/高度 @@ -306,7 +306,7 @@ 我的漫画路径 - + Image adjustment 图像调整 @@ -321,7 +321,7 @@ 选择 - + Show covers as single page 显示封面为单页 @@ -331,12 +331,12 @@ 滚动时不翻页 - + Fit options 适应项 - + Image options 图片选项 @@ -391,12 +391,12 @@ 单击屏幕的左半部分或右半部分即可翻页。 - + Contrast 对比度 - + Appearance 外观 @@ -431,7 +431,7 @@ 漫画目录 - + Quick Navigation Mode 快速导航模式 @@ -441,7 +441,7 @@ 背景颜色 - + Double Page options 双页选项 @@ -451,47 +451,47 @@ 滚动效果 - + Disable mouse over activation 禁用鼠标激活 - + Scaling 缩放 - + Scaling method 缩放方法 - + Nearest (fast, low quality) 最近(快速,低质量) - + Bilinear 双线性 - + Lanczos (better quality) Lanczos(质量更好) - + Page Flow 页面流 - + General 常规 - + Brightness 亮度 @@ -734,48 +734,48 @@ Viewer - + Page not available! 页面不可用! - - + + Press 'O' to open comic. 按下 'O' 以打开漫画. - + Error opening comic 打开漫画时发生错误 - + Cover! 封面! - + CRC Error CRC 校验失败 - + Comic not found 未找到漫画 - + Not found 未找到 - + Last page! 尾页! - + Loading...please wait! 载入中... 请稍候! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. 暂无发行说明。 - + Previous versions 先前版本 @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save 保存 - + Cancel 取消 - + Shortcuts 快捷键 - + + Keyboard shortcuts + 键盘快捷键 + + + + Customize the keyboard shortcuts used by the application. + 自定义应用程序使用的键盘快捷键。 + + + Edit shortcuts 编辑快捷键 diff --git a/YACReader/yacreader_zh_HK.ts b/YACReader/yacreader_zh_HK.ts index d8d537eeb..552099e87 100644 --- a/YACReader/yacreader_zh_HK.ts +++ b/YACReader/yacreader_zh_HK.ts @@ -92,24 +92,24 @@ 無法載入目前主題 JSON。 - + Import theme 導入主題 - + JSON files (*.json);;All files (*) JSON 檔案 (*.json);;所有檔案 (*) - + Could not import theme from: %1 無法從以下位置匯入主題: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed 導入失敗 @@ -296,37 +296,37 @@ 選擇 - + Quick Navigation Mode 快速導航模式 - + Disable mouse over activation 禁用滑鼠啟動 - + Scaling 縮放 - + Scaling method 縮放方法 - + Nearest (fast, low quality) 最近(快速,低品質) - + Bilinear 雙線性 - + Lanczos (better quality) Lanczos(品質更好) @@ -336,7 +336,7 @@ 需要重啟 - + Brightness 亮度 @@ -411,52 +411,52 @@ 點擊螢幕的左半部或右半部即可翻頁。 - + Contrast 對比度 - + Gamma Gamma值 - + Reset 重置 - + Image options 圖片選項 - + Fit options 適應項 - + Enlarge images to fit width/height 放大圖片以適應寬度/高度 - + Double Page options 雙頁選項 - + Show covers as single page 顯示封面為單頁 - + General 常規 - + Appearance 外貌 @@ -481,12 +481,12 @@ 清空 - + Page Flow 頁面流 - + Image adjustment 圖像調整 @@ -734,48 +734,48 @@ Viewer - - + + Press 'O' to open comic. 按下 'O' 以打開漫畫. - + Not found 未找到 - + Comic not found 未找到漫畫 - + Error opening comic 打開漫畫時發生錯誤 - + CRC Error CRC 校驗失敗 - + Loading...please wait! 載入中... 請稍候! - + Page not available! 頁面不可用! - + Cover! 封面! - + Last page! 尾頁! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save 保存 - + Cancel 取消 - + + Keyboard shortcuts + 鍵盤快捷鍵 + + + + Customize the keyboard shortcuts used by the application. + 自訂應用程式使用的鍵盤快捷鍵。 + + + Edit shortcuts 編輯快捷鍵 - + Shortcuts 快捷鍵 diff --git a/YACReader/yacreader_zh_TW.ts b/YACReader/yacreader_zh_TW.ts index 711aa9849..e02111adf 100644 --- a/YACReader/yacreader_zh_TW.ts +++ b/YACReader/yacreader_zh_TW.ts @@ -92,24 +92,24 @@ 無法載入目前主題 JSON。 - + Import theme 導入主題 - + JSON files (*.json);;All files (*) JSON 檔案 (*.json);;所有檔案 (*) - + Could not import theme from: %1 無法從以下位置匯入主題: %1 - + Could not import theme from: %1 @@ -120,7 +120,7 @@ %2 - + Import failed 導入失敗 @@ -296,37 +296,37 @@ 選擇 - + Quick Navigation Mode 快速導航模式 - + Disable mouse over activation 禁用滑鼠啟動 - + Scaling 縮放 - + Scaling method 縮放方法 - + Nearest (fast, low quality) 最近(快速,低品質) - + Bilinear 雙線性 - + Lanczos (better quality) Lanczos(品質更好) @@ -336,7 +336,7 @@ 需要重啟 - + Brightness 亮度 @@ -411,52 +411,52 @@ 點擊螢幕的左半部或右半部即可翻頁。 - + Contrast 對比度 - + Gamma Gamma值 - + Reset 重置 - + Image options 圖片選項 - + Fit options 適應項 - + Enlarge images to fit width/height 放大圖片以適應寬度/高度 - + Double Page options 雙頁選項 - + Show covers as single page 顯示封面為單頁 - + General 常規 - + Appearance 外貌 @@ -481,12 +481,12 @@ 清空 - + Page Flow 頁面流 - + Image adjustment 圖像調整 @@ -734,48 +734,48 @@ Viewer - - + + Press 'O' to open comic. 按下 'O' 以打開漫畫. - + Not found 未找到 - + Comic not found 未找到漫畫 - + Error opening comic 打開漫畫時發生錯誤 - + CRC Error CRC 校驗失敗 - + Loading...please wait! 載入中... 請稍候! - + Page not available! 頁面不可用! - + Cover! 封面! - + Last page! 尾頁! @@ -1443,12 +1443,12 @@ YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -1486,22 +1486,32 @@ YACReaderOptionsDialog - + Save 保存 - + Cancel 取消 - + + Keyboard shortcuts + 鍵盤快速鍵 + + + + Customize the keyboard shortcuts used by the application. + 自訂應用程式使用的鍵盤快速鍵。 + + + Edit shortcuts 編輯快捷鍵 - + Shortcuts 快捷鍵 diff --git a/YACReaderLibrary/options_dialog.cpp b/YACReaderLibrary/options_dialog.cpp index ff37d8859..0538e238e 100644 --- a/YACReaderLibrary/options_dialog.cpp +++ b/YACReaderLibrary/options_dialog.cpp @@ -7,6 +7,7 @@ #include "theme_manager.h" #include "yacreader_3d_flow_config_widget.h" #include "yacreader_global_gui.h" +#include "yacreader_settings_widget.h" #include #include @@ -14,7 +15,6 @@ #include #include #include -#include #include FlowType flowType = Strip; @@ -29,12 +29,13 @@ OptionsDialog::OptionsDialog(QWidget *parent) auto appearanceW = createAppearanceTab(); - auto tabWidget = new QTabWidget(); - tabWidget->addTab(generalW, tr("General")); - tabWidget->addTab(librariesW, tr("Libraries")); - tabWidget->addTab(comicFlowW, tr("Comic Flow")); - tabWidget->addTab(gridViewW, tr("Grid view")); - tabWidget->addTab(appearanceW, tr("Appearance")); + auto settingsWidget = new YACReaderSettingsWidget(); + settingsWidget->addPage(generalW, tr("General")); + settingsWidget->addPage(librariesW, tr("Libraries")); + settingsWidget->addPage(comicFlowW, tr("Comic Flow")); + settingsWidget->addPage(gridViewW, tr("Grid view")); + settingsWidget->addPage(appearanceW, tr("Appearance")); + settingsWidget->addPage(shortcutsPage, shortcutsPage->windowTitle()); auto buttons = new QHBoxLayout(); buttons->addStretch(); @@ -43,7 +44,7 @@ OptionsDialog::OptionsDialog(QWidget *parent) buttons->addWidget(cancel); auto layout = new QVBoxLayout(this); - layout->addWidget(tabWidget); + layout->addWidget(settingsWidget); layout->addLayout(buttons); setLayout(layout); setModal(true); @@ -253,7 +254,6 @@ QWidget *OptionsDialog::createGeneralTab() auto generalLayout = new QVBoxLayout(); generalLayout->addWidget(languageBox); generalLayout->addWidget(trayIconBox); - generalLayout->addWidget(shortcutsBox); generalLayout->addWidget(apiKeyBox); generalLayout->addWidget(comicInfoXMLBox); generalLayout->addWidget(recentlyAddedBox); diff --git a/YACReaderLibrary/yacreaderlibrary_de.ts b/YACReaderLibrary/yacreaderlibrary_de.ts index f3b7d59d5..fadb73a0d 100644 --- a/YACReaderLibrary/yacreaderlibrary_de.ts +++ b/YACReaderLibrary/yacreaderlibrary_de.ts @@ -166,24 +166,24 @@ Der aktuelle Theme-JSON konnte nicht geladen werden. - + Import theme Thema importieren - + JSON files (*.json);;All files (*) JSON-Dateien (*.json);;Alle Dateien (*) - + Could not import theme from: %1 Theme konnte nicht importiert werden von: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Der Import ist fehlgeschlagen @@ -823,7 +823,7 @@ Komisch - + Error opening the library Fehler beim Öffnen der Bibliothek @@ -878,7 +878,7 @@ Als nicht gelesen markieren - + Error updating the library Fehler beim Updaten der Bibliothek @@ -913,7 +913,7 @@ YACReader Bibliothek - + Error creating the library Fehler beim Erstellen der Bibliothek @@ -923,12 +923,12 @@ Update benötigt - + Library name already exists Bibliothek-Name bereits vorhanden - + There is another library with the name '%1'. Es gibt bereits eine Bibliothek mit dem Namen '%1'. @@ -938,12 +938,12 @@ Neue Version herunterladen - + Delete comics Comics löschen - + All the selected comics will be deleted from your disk. Are you sure? Alle ausgewählten Comics werden von Ihrer Festplatte gelöscht. Sind Sie sicher? @@ -1117,7 +1117,7 @@ - + Set type Typ festlegen @@ -1412,32 +1412,32 @@ Sie können über das Bibliotheksmenü eine Sicherung wiederherstellen oder die Nummern zuweisen, beginnend mit: - + Invalid image Ungültiges Bild - + The selected file is not a valid image. Die ausgewählte Datei ist kein gültiges Bild. - + Error saving cover Fehler beim Speichern des Covers - + There was an error saving the cover image. Beim Speichern des Titelbildes ist ein Fehler aufgetreten. - + Remove comics Comics löschen - + Comics will only be deleted from the current label/list. Are you sure? Comics werden nur vom aktuellen Label/der aktuellen Liste gelöscht. Sind Sie sicher? @@ -1977,78 +1977,78 @@ Fehlende Dateien: %3 Aussehen - + Options Optionen - + Language Sprache - + Application language Anwendungssprache - + System default Systemstandard - + Tray icon settings (experimental) Taskleisten-Einstellungen (experimentell) - + Close to tray In Taskleiste schließen - + Start into the system tray In die Taskleiste starten - + Edit Comic Vine API key Comic Vine API-Schlüssel ändern - + Comic Vine API key Comic Vine API Schlüssel - + ComicInfo.xml legacy support ComicInfo.xml-Legacy-Unterstützung - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Importieren Sie Metadaten aus ComicInfo.xml, wenn Sie neue Comics hinzufügen - + Consider 'recent' items added or updated since X days ago Berücksichtigen Sie „neue“ Elemente, die seit X Tagen hinzugefügt oder aktualisiert wurden - + Third party reader Drittanbieter-Reader - + Write {comic_file_path} where the path should go in the command Schreiben Sie {comic_file_path}, wohin der Pfad im Befehl gehen soll - + Clear Löschen @@ -2208,7 +2208,7 @@ Um eine automatische Aktualisierung zu stoppen, tippen Sie auf die Ladeanzeige n Allgemein - + Restart is needed Neustart erforderlich @@ -3721,12 +3721,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Versionshinweise sind nicht verfügbar. - + Previous versions Frühere Versionen @@ -3764,22 +3764,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Speichern - + Cancel Abbrechen - + + Keyboard shortcuts + Tastenkürzel + + + + Customize the keyboard shortcuts used by the application. + Passen Sie die von der Anwendung verwendeten Tastenkürzel an. + + + Edit shortcuts Kürzel bearbeiten - + Shortcuts Kürzel diff --git a/YACReaderLibrary/yacreaderlibrary_en.ts b/YACReaderLibrary/yacreaderlibrary_en.ts index a2aaddd13..ba51f93e9 100644 --- a/YACReaderLibrary/yacreaderlibrary_en.ts +++ b/YACReaderLibrary/yacreaderlibrary_en.ts @@ -166,24 +166,24 @@ The current theme JSON could not be loaded. - + Import theme Import theme - + JSON files (*.json);;All files (*) JSON files (*.json);;All files (*) - + Could not import theme from: %1 Could not import theme from: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Import failed @@ -1057,7 +1057,7 @@ - + Set type Set type @@ -1373,67 +1373,67 @@ You can restore a backup from the Library menu or recreate the library.Assign numbers starting in: - + Invalid image Invalid image - + The selected file is not a valid image. The selected file is not a valid image. - + Error saving cover Error saving cover - + There was an error saving the cover image. There was an error saving the cover image. - + Error creating the library Error creating the library - + Error updating the library Error updating the library - + Error opening the library Error opening the library - + Delete comics Delete comics - + All the selected comics will be deleted from your disk. Are you sure? All the selected comics will be deleted from your disk. Are you sure? - + Remove comics Remove comics - + Comics will only be deleted from the current label/list. Are you sure? Comics will only be deleted from the current label/list. Are you sure? - + Library name already exists Library name already exists - + There is another library with the name '%1'. There is another library with the name '%1'. @@ -1968,73 +1968,73 @@ Missing files: %3 OptionsDialog - + Language Language - + Application language Application language - + System default System default - + Tray icon settings (experimental) Tray icon settings (experimental) - + Close to tray Close to tray - + Start into the system tray Start into the system tray - + Edit Comic Vine API key Edit Comic Vine API key - + Comic Vine API key Comic Vine API key - + ComicInfo.xml legacy support ComicInfo.xml legacy support - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Import metadata from ComicInfo.xml when adding new comics - + Consider 'recent' items added or updated since X days ago Consider 'recent' items added or updated since X days ago - + Third party reader Third party reader - + Write {comic_file_path} where the path should go in the command Write {comic_file_path} where the path should go in the command - + Clear Clear @@ -2199,12 +2199,12 @@ To stop an automatic update tap on the loading indicator next to the Libraries t Appearance - + Options Options - + Restart is needed Restart is needed @@ -3717,12 +3717,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Release notes are not available. - + Previous versions Previous versions @@ -3760,22 +3760,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Save - + Cancel Cancel - + + Keyboard shortcuts + Keyboard shortcuts + + + + Customize the keyboard shortcuts used by the application. + Customize the keyboard shortcuts used by the application. + + + Edit shortcuts Edit shortcuts - + Shortcuts Shortcuts diff --git a/YACReaderLibrary/yacreaderlibrary_es.ts b/YACReaderLibrary/yacreaderlibrary_es.ts index 92b760830..6a3dd0cf8 100644 --- a/YACReaderLibrary/yacreaderlibrary_es.ts +++ b/YACReaderLibrary/yacreaderlibrary_es.ts @@ -166,24 +166,24 @@ No se ha podido cargar el JSON del tema actual. - + Import theme Importar tema - + JSON files (*.json);;All files (*) Archivos JSON (*.json);;Todos los archivos (*) - + Could not import theme from: %1 No se pudo importar el tema desde: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Error al importar @@ -823,7 +823,7 @@ Cómic - + Error opening the library Error abriendo la biblioteca @@ -878,7 +878,7 @@ Marcar como incompleto - + Error updating the library Error actualizando la biblioteca @@ -913,7 +913,7 @@ Biblioteca YACReader - + Error creating the library Errar creando la biblioteca @@ -923,12 +923,12 @@ Se necesita actualizar - + Library name already exists Ya existe el nombre de la biblioteca - + There is another library with the name '%1'. Hay otra biblioteca con el nombre '%1'. @@ -938,12 +938,12 @@ Descargar la nueva versión - + Delete comics Borrar cómics - + All the selected comics will be deleted from your disk. Are you sure? Todos los cómics seleccionados serán borrados de tu disco. ¿Estás seguro? @@ -1117,7 +1117,7 @@ - + Set type Establecer tipo @@ -1412,32 +1412,32 @@ Puedes restaurar una copia de seguridad desde el menú Biblioteca o volver a cre Asignar números comenzando en: - + Invalid image Imagen inválida - + The selected file is not a valid image. El archivo seleccionado no es una imagen válida. - + Error saving cover Error guardando portada - + There was an error saving the cover image. Hubo un error guardando la image de portada. - + Remove comics Eliminar cómics - + Comics will only be deleted from the current label/list. Are you sure? Los cómics sólo se eliminarán de la etiqueta/lista actual. ¿Estás seguro? @@ -1977,78 +1977,78 @@ Archivos ausentes: %3 Apariencia - + Options Opciones - + Language Idioma - + Application language Idioma de la aplicación - + System default Predeterminado del sistema - + Tray icon settings (experimental) Opciones de bandeja de sistema (experimental) - + Close to tray Cerrar a la bandeja - + Start into the system tray Comenzar en la bandeja de sistema - + Edit Comic Vine API key Editar la clave API de Comic Vine - + Comic Vine API key Clave API de Comic Vine - + ComicInfo.xml legacy support Soporte para ComicInfo.xml - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Importar metadatos desde ComicInfo.xml al añadir nuevos cómics - + Consider 'recent' items added or updated since X days ago Considerar elementos 'recientes' añadidos o actualizados desde hace X días - + Third party reader Lector externo - + Write {comic_file_path} where the path should go in the command Escribe {comic_file_path} donde la ruta al cómic debería ir en el comando - + Clear Borrar @@ -2208,7 +2208,7 @@ Para detener una actualización automática, toca en el indicador de carga junto Opciones generales - + Restart is needed Es necesario reiniciar @@ -3721,12 +3721,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Las notas de la versión no están disponibles. - + Previous versions Versiones anteriores @@ -3764,22 +3764,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Guardar - + Cancel Cancelar - + + Keyboard shortcuts + Atajos de teclado + + + + Customize the keyboard shortcuts used by the application. + Personaliza los atajos de teclado utilizados por la aplicación. + + + Edit shortcuts Editar atajos - + Shortcuts Atajos diff --git a/YACReaderLibrary/yacreaderlibrary_fr.ts b/YACReaderLibrary/yacreaderlibrary_fr.ts index c88b09c15..f18a32255 100644 --- a/YACReaderLibrary/yacreaderlibrary_fr.ts +++ b/YACReaderLibrary/yacreaderlibrary_fr.ts @@ -166,24 +166,24 @@ Le thème actuel JSON n'a pas pu être chargé. - + Import theme Importer un thème - + JSON files (*.json);;All files (*) Fichiers JSON (*.json);;Tous les fichiers (*) - + Could not import theme from: %1 Impossible d'importer le thème depuis : %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Échec de l'importation @@ -823,7 +823,7 @@ Bande dessinée - + Error opening the library Erreur lors de l'ouverture de la librairie @@ -913,7 +913,7 @@ Marquer comme incomplet - + Error updating the library Erreur lors de la mise à jour de la librairie @@ -966,7 +966,7 @@ YACReaderLibrary ne vous empêchera pas de créer plus de bibliothèques, mais v Librairie de YACReader - + Error creating the library Erreur lors de la création de la librairie @@ -981,12 +981,12 @@ YACReaderLibrary ne vous empêchera pas de créer plus de bibliothèques, mais v Mise à jour requise - + Library name already exists Le nom de la librairie existe déjà - + There is another library with the name '%1'. Une autre librairie a le nom '%1'. @@ -996,12 +996,12 @@ YACReaderLibrary ne vous empêchera pas de créer plus de bibliothèques, mais v Téléchrger la nouvelle version - + Delete comics Supprimer les comics - + All the selected comics will be deleted from your disk. Are you sure? Tous les comics sélectionnés vont être supprimés de votre disque. Êtes-vous sûr? @@ -1119,7 +1119,7 @@ YACReaderLibrary ne vous empêchera pas de créer plus de bibliothèques, mais v - + Set type Définir le type @@ -1412,32 +1412,32 @@ Vous pouvez restaurer une sauvegarde depuis le menu Bibliothèque ou recréer la Attribuez des numéros commençant par : - + Invalid image Image invalide - + The selected file is not a valid image. Le fichier sélectionné n'est pas une image valide. - + Error saving cover Erreur lors de l'enregistrement de la couverture - + There was an error saving the cover image. Une erreur s'est produite lors de l'enregistrement de l'image de couverture. - + Remove comics Supprimer les bandes dessinées - + Comics will only be deleted from the current label/list. Are you sure? Les bandes dessinées seront uniquement supprimées du label/liste actuelle. Es-tu sûr? @@ -1977,78 +1977,78 @@ Fichiers manquants : %3 Apparence - + Options Possibilités - + Language Langue - + Application language Langue de l'application - + System default Par défaut du système - + Tray icon settings (experimental) Paramètres de l'icône de la barre d'état (expérimental) - + Close to tray Près du plateau - + Start into the system tray Commencez dans la barre d'état système - + Edit Comic Vine API key Modifier la clé API Comic Vine - + Comic Vine API key Clé API Comic Vine - + ComicInfo.xml legacy support Prise en charge héritée de ComicInfo.xml - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Importer des métadonnées depuis ComicInfo.xml lors de l'ajout de nouvelles bandes dessinées - + Consider 'recent' items added or updated since X days ago Considérez les éléments « récents » ajoutés ou mis à jour depuis X jours - + Third party reader Lecteur tiers - + Write {comic_file_path} where the path should go in the command Écrivez {comic_file_path} où le chemin doit aller dans la commande - + Clear Clair @@ -2208,7 +2208,7 @@ Pour arrêter une mise à jour automatique, appuyez sur l'indicateur de cha Général - + Restart is needed Redémarrage nécessaire @@ -3721,12 +3721,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Les notes de version ne sont pas disponibles. - + Previous versions Versions précédentes @@ -3764,22 +3764,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Sauvegarder - + Cancel Annuler - + + Keyboard shortcuts + Raccourcis clavier + + + + Customize the keyboard shortcuts used by the application. + Personnalisez les raccourcis clavier utilisés par l’application. + + + Edit shortcuts Modifier les raccourcis - + Shortcuts Raccourcis diff --git a/YACReaderLibrary/yacreaderlibrary_it.ts b/YACReaderLibrary/yacreaderlibrary_it.ts index 6dd8fca8c..94e316af0 100644 --- a/YACReaderLibrary/yacreaderlibrary_it.ts +++ b/YACReaderLibrary/yacreaderlibrary_it.ts @@ -166,24 +166,24 @@ Impossibile caricare il tema corrente JSON. - + Import theme Importa tema - + JSON files (*.json);;All files (*) File JSON (*.json);;Tutti i file (*) - + Could not import theme from: %1 Impossibile importare il tema da: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Importazione non riuscita @@ -833,7 +833,7 @@ La cartella seleziona e tutto il suo contenuto verranno cancellati dal tuo disco. Sei sicuro? - + Error opening the library Errore nell'apertura della libreria @@ -878,7 +878,7 @@ Libreria - + Comics will only be deleted from the current label/list. Are you sure? I fumetti verranno cancellati dall'etichetta/lista corrente. Sei sicuro? @@ -925,7 +925,7 @@ Errore nel percorso - + Error updating the library Errore aggiornando la libreria @@ -1009,7 +1009,7 @@ YACReader non ti fermerà dal creare altre librerie ma è meglio se terrai il nu Libreria YACReader - + Error creating the library Errore creando la libreria @@ -1029,12 +1029,12 @@ YACReader non ti fermerà dal creare altre librerie ma è meglio se terrai il nu Devi aggiornarmi - + Library name already exists Esiste già una libreria con lo stesso nome - + There is another library with the name '%1'. Esiste già una libreria con il nome '%1'. @@ -1059,27 +1059,27 @@ YACReader non ti fermerà dal creare altre librerie ma è meglio se terrai il nu Rimuovi ed elimina metadati e backup - + Invalid image Immagine non valida - + The selected file is not a valid image. Il file selezionato non è un'immagine valida. - + Error saving cover Errore durante il salvataggio della copertina - + There was an error saving the cover image. Si è verificato un errore durante il salvataggio dell'immagine di copertina. - + Delete comics Cancella i fumetti @@ -1099,12 +1099,12 @@ YACReader non ti fermerà dal creare altre librerie ma è meglio se terrai il nu Nessuna cartella selezionata - + All the selected comics will be deleted from your disk. Are you sure? Tutti i fumetti selezionati saranno cancellati dal tuo disco. Sei sicuro? - + Remove comics Rimuovi i fumetti @@ -1194,7 +1194,7 @@ YACReader non ti fermerà dal creare altre librerie ma è meglio se terrai il nu - + Set type Imposta il tipo @@ -1991,17 +1991,17 @@ File mancanti: %3 Abilita l'immagine di sfondo - + Options Opzioni - + Comic Vine API key API di ComicVine - + Edit Comic Vine API key Edita l'API di ComicVine @@ -2042,63 +2042,63 @@ File mancanti: %3 Aspetto - + Language Lingua - + Application language Lingua dell'applicazione - + System default Predefinita del sistema - + Tray icon settings (experimental) Impostazioni dell'icona nella barra delle applicazioni (sperimentale) - + Close to tray Vicino al vassoio - + Start into the system tray Inizia nella barra delle applicazioni - + ComicInfo.xml legacy support Supporto legacy ComicInfo.xml - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Importa metadati da ComicInfo.xml quando aggiungi nuovi fumetti - + Consider 'recent' items added or updated since X days ago Considera gli elementi "recenti" aggiunti o aggiornati da X giorni fa - + Third party reader Lettore di terze parti - + Write {comic_file_path} where the path should go in the command Scrivi {comic_file_path} dove dovrebbe andare il percorso nel comando - + Clear Cancella @@ -2207,7 +2207,7 @@ Per interrompere un aggiornamento automatico, tocca l'indicatore di caricam Continua a leggere - + Restart is needed Riavvio Necessario @@ -3720,12 +3720,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Le note di rilascio non sono disponibili. - + Previous versions Versioni precedenti @@ -3763,22 +3763,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Salva - + Cancel Cancella - + Shortcuts Scorciatoie - + + Keyboard shortcuts + Scorciatoie da tastiera + + + + Customize the keyboard shortcuts used by the application. + Personalizza le scorciatoie da tastiera utilizzate dall'applicazione. + + + Edit shortcuts Modifica scorciatoia diff --git a/YACReaderLibrary/yacreaderlibrary_ko.ts b/YACReaderLibrary/yacreaderlibrary_ko.ts index a334582c7..64f2d7cb9 100644 --- a/YACReaderLibrary/yacreaderlibrary_ko.ts +++ b/YACReaderLibrary/yacreaderlibrary_ko.ts @@ -166,24 +166,24 @@ 현재 테마 JSON을 불러올 수 없습니다. - + Import theme 테마 가져오기 - + JSON files (*.json);;All files (*) JSON 파일 (*.json);;모든 파일 (*) - + Could not import theme from: %1 다음에서 테마를 가져올 수 없습니다: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed 가져오기 실패 @@ -1057,7 +1057,7 @@ - + Set type 유형 설정 @@ -1377,67 +1377,67 @@ You can restore a backup from the Library menu or recreate the library. 다음 번호부터 부여: - + Invalid image 잘못된 이미지 - + The selected file is not a valid image. 선택한 파일이 유효한 이미지가 아닙니다. - + Error saving cover 표지 저장 오류 - + There was an error saving the cover image. 표지 이미지를 저장하는 중 오류가 발생했습니다. - + Error creating the library 라이브러리 생성 오류 - + Error updating the library 라이브러리 업데이트 오류 - + Error opening the library 라이브러리 열기 오류 - + Delete comics 만화 삭제 - + All the selected comics will be deleted from your disk. Are you sure? 선택한 만화가 모두 디스크에서 삭제됩니다. 확실합니까? - + Remove comics 만화 제거 - + Comics will only be deleted from the current label/list. Are you sure? 만화가 현재 라벨/목록에서만 삭제됩니다. 확실합니까? - + Library name already exists 라이브러리 이름 중복 - + There is another library with the name '%1'. '%1' 이름의 라이브러리가 이미 있습니다. @@ -1972,73 +1972,73 @@ Missing files: %3 OptionsDialog - + Language 언어 - + Application language 응용 프로그램 언어 - + System default 시스템 기본값 - + Tray icon settings (experimental) 트레이 아이콘 설정 (실험적) - + Close to tray 트레이로 최소화 - + Start into the system tray 시스템 트레이에서 시작 - + Edit Comic Vine API key Comic Vine API 키 편집 - + Comic Vine API key Comic Vine API 키 - + ComicInfo.xml legacy support ComicInfo.xml 레거시 지원 - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics 새 만화 추가 시 ComicInfo.xml에서 메타데이터 가져오기 - + Consider 'recent' items added or updated since X days ago X일 전부터 추가되거나 업데이트된 항목을 '최근'으로 간주 - + Third party reader 타사 뷰어 - + Write {comic_file_path} where the path should go in the command 명령어에서 경로가 들어갈 자리에 {comic_file_path}를 입력하세요 - + Clear 지우기 @@ -2203,12 +2203,12 @@ To stop an automatic update tap on the loading indicator next to the Libraries t 외관 - + Options 환경설정 - + Restart is needed 재시작이 필요합니다 @@ -3721,12 +3721,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -3764,22 +3764,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save 저장 - + Cancel 취소 - + + Keyboard shortcuts + 키보드 단축키 + + + + Customize the keyboard shortcuts used by the application. + 애플리케이션에서 사용하는 키보드 단축키를 사용자 지정합니다. + + + Edit shortcuts 단축키 편집 - + Shortcuts 단축키 diff --git a/YACReaderLibrary/yacreaderlibrary_nl.ts b/YACReaderLibrary/yacreaderlibrary_nl.ts index bd20de2c3..e2b9f9b65 100644 --- a/YACReaderLibrary/yacreaderlibrary_nl.ts +++ b/YACReaderLibrary/yacreaderlibrary_nl.ts @@ -166,24 +166,24 @@ De huidige thema-JSON kan niet worden geladen. - + Import theme Thema importeren - + JSON files (*.json);;All files (*) JSON-bestanden (*.json);;Alle bestanden (*) - + Could not import theme from: %1 Kan thema niet importeren uit: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Importeren is mislukt @@ -818,7 +818,7 @@ Deze bibliotheek is gemaakt met een vorige versie van YACReaderLibrary. Het moet worden bijgewerkt. Nu bijwerken? - + Error opening the library Fout bij openen Bibliotheek @@ -857,7 +857,7 @@ Wilt u verwijderen - + Error updating the library Fout bij bijwerken Bibliotheek @@ -882,7 +882,7 @@ YACReader Bibliotheek - + Error creating the library Fout bij aanmaken Bibliotheek @@ -892,12 +892,12 @@ Bijwerken is nodig - + Library name already exists Bibliotheek naam bestaat al - + There is another library with the name '%1'. Er is al een bibliotheek met de naam ' %1 '. @@ -907,12 +907,12 @@ Nieuwe versie ophalen - + Delete comics Strips verwijderen - + All the selected comics will be deleted from your disk. Are you sure? Alle geselecteerde strips worden verwijderd van uw schijf. Weet u het zeker? @@ -1106,7 +1106,7 @@ - + Set type Soort instellen @@ -1412,32 +1412,32 @@ Je kunt een back-up herstellen via het menu Bibliotheek of de bibliotheek opnieu Nummers toewijzen beginnend met: - + Invalid image Ongeldige afbeelding - + The selected file is not a valid image. Het geselecteerde bestand is geen geldige afbeelding. - + Error saving cover Fout bij opslaan van dekking - + There was an error saving the cover image. Er is een fout opgetreden bij het opslaan van de omslagafbeelding. - + Remove comics Verwijder strips - + Comics will only be deleted from the current label/list. Are you sure? Strips worden alleen verwijderd van het huidige label/de huidige lijst. Weet je het zeker? @@ -1977,78 +1977,78 @@ Ontbrekende bestanden: %3 Verschijning - + Options Opties - + Language Taal - + Application language Applicatietaal - + System default Standaard van het systeem - + Tray icon settings (experimental) Instellingen voor ladepictogram (experimenteel) - + Close to tray Dicht bij lade - + Start into the system tray Begin in het systeemvak - + Edit Comic Vine API key Bewerk de Comic Vine API-sleutel - + Comic Vine API key Comic Vine API-sleutel - + ComicInfo.xml legacy support ComicInfo.xml verouderde ondersteuning - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Importeer metagegevens uit ComicInfo.xml wanneer u nieuwe strips toevoegt - + Consider 'recent' items added or updated since X days ago Overweeg 'recente' items die sinds X dagen geleden zijn toegevoegd of bijgewerkt - + Third party reader Lezer van derden - + Write {comic_file_path} where the path should go in the command Schrijf {comic_file_path} waar het pad naartoe moet in de opdracht - + Clear Duidelijk @@ -2208,7 +2208,7 @@ Om een ​​automatische update te stoppen, tikt u op de laadindicator naast de Algemeen - + Restart is needed Herstart is nodig @@ -3721,12 +3721,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Releaseopmerkingen zijn niet beschikbaar. - + Previous versions Vorige versies @@ -3764,22 +3764,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Bewaar - + Cancel Annuleren - + + Keyboard shortcuts + Sneltoetsen + + + + Customize the keyboard shortcuts used by the application. + Pas de sneltoetsen aan die door de toepassing worden gebruikt. + + + Edit shortcuts Snelkoppelingen bewerken - + Shortcuts Snelkoppelingen diff --git a/YACReaderLibrary/yacreaderlibrary_pt.ts b/YACReaderLibrary/yacreaderlibrary_pt.ts index 7f3929360..569a32fcf 100644 --- a/YACReaderLibrary/yacreaderlibrary_pt.ts +++ b/YACReaderLibrary/yacreaderlibrary_pt.ts @@ -166,24 +166,24 @@ O tema atual JSON não pôde ser carregado. - + Import theme Importar tema - + JSON files (*.json);;All files (*) Arquivos JSON (*.json);;Todos os arquivos (*) - + Could not import theme from: %1 Não foi possível importar o tema de: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Falha na importação @@ -1057,7 +1057,7 @@ - + Set type Definir tipo @@ -1377,67 +1377,67 @@ Pode restaurar uma cópia de segurança no menu Biblioteca ou recriar a bibliote Atribua números começando em: - + Invalid image Imagem inválida - + The selected file is not a valid image. O arquivo selecionado não é uma imagem válida. - + Error saving cover Erro ao salvar a capa - + There was an error saving the cover image. Ocorreu um erro ao salvar a imagem da capa. - + Error creating the library Erro ao criar a biblioteca - + Error updating the library Erro ao atualizar a biblioteca - + Error opening the library Erro ao abrir a biblioteca - + Delete comics Excluir quadrinhos - + All the selected comics will be deleted from your disk. Are you sure? Todos os quadrinhos selecionados serão excluídos do seu disco. Tem certeza? - + Remove comics Remover quadrinhos - + Comics will only be deleted from the current label/list. Are you sure? Os quadrinhos serão excluídos apenas do rótulo/lista atual. Tem certeza? - + Library name already exists O nome da biblioteca já existe - + There is another library with the name '%1'. Existe outra biblioteca com o nome '%1'. @@ -1972,73 +1972,73 @@ Arquivos ausentes: %3 OptionsDialog - + Language Idioma - + Application language Idioma do aplicativo - + System default Padrão do sistema - + Tray icon settings (experimental) Configurações do ícone da bandeja (experimental) - + Close to tray Perto da bandeja - + Start into the system tray Comece na bandeja do sistema - + Edit Comic Vine API key Editar chave da API Comic Vine - + Comic Vine API key Chave de API do Comic Vine - + ComicInfo.xml legacy support Suporte legado ComicInfo.xml - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Importe metadados de ComicInfo.xml ao adicionar novos quadrinhos - + Consider 'recent' items added or updated since X days ago Considere itens 'recentes' adicionados ou atualizados há X dias - + Third party reader Leitor de terceiros - + Write {comic_file_path} where the path should go in the command Escreva {comic_file_path} onde o caminho deve ir no comando - + Clear Claro @@ -2203,12 +2203,12 @@ Para interromper uma atualização automática, toque no indicador de carregamen Aparência - + Options Opções - + Restart is needed Reiniciar é necessário @@ -3721,12 +3721,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. As notas de lançamento não estão disponíveis. - + Previous versions Versões anteriores @@ -3764,22 +3764,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Salvar - + Cancel Cancelar - + + Keyboard shortcuts + Atalhos de teclado + + + + Customize the keyboard shortcuts used by the application. + Personalize os atalhos de teclado utilizados pela aplicação. + + + Edit shortcuts Editar atalhos - + Shortcuts Atalhos diff --git a/YACReaderLibrary/yacreaderlibrary_ru.ts b/YACReaderLibrary/yacreaderlibrary_ru.ts index 73d02efb2..8054b83f3 100644 --- a/YACReaderLibrary/yacreaderlibrary_ru.ts +++ b/YACReaderLibrary/yacreaderlibrary_ru.ts @@ -166,24 +166,24 @@ Не удалось загрузить JSON текущей темы. - + Import theme Импортировать тему - + JSON files (*.json);;All files (*) Файлы JSON (*.json);;Все файлы (*) - + Could not import theme from: %1 Не удалось импортировать тему из: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed Импорт не удался @@ -833,7 +833,7 @@ Выбранная папка и все ее содержимое будет удалено с вашего жёсткого диска. Вы уверены? - + Error opening the library Ошибка открытия библиотеки @@ -878,7 +878,7 @@ Библиотека - + Comics will only be deleted from the current label/list. Are you sure? Комиксы будут удалены только из выбранного списка/ярлыка. Вы уверены? @@ -925,7 +925,7 @@ Ошибка в пути - + Error updating the library Ошибка обновления библиотеки @@ -1009,7 +1009,7 @@ YACReaderLibrary не помешает вам создать больше биб Библиотека YACReader - + Error creating the library Ошибка создания библиотеки @@ -1029,12 +1029,12 @@ YACReaderLibrary не помешает вам создать больше биб Необходимо обновление - + Library name already exists Имя папки уже используется - + There is another library with the name '%1'. Уже существует другая папка с именем '%1'. @@ -1059,27 +1059,27 @@ YACReaderLibrary не помешает вам создать больше биб Удалить библиотеку, метаданные и резервные копии - + Invalid image Неверное изображение - + The selected file is not a valid image. Выбранный файл не является допустимым изображением. - + Error saving cover Не удалось сохранить обложку. - + There was an error saving the cover image. Не удалось сохранить изображение обложки. - + Delete comics Удалить комиксы @@ -1099,12 +1099,12 @@ YACReaderLibrary не помешает вам создать больше биб Ни одна папка не была выбрана - + All the selected comics will be deleted from your disk. Are you sure? Все выбранные комиксы будут удалены с вашего жёсткого диска. Вы уверены? - + Remove comics Убрать комиксы @@ -1194,7 +1194,7 @@ YACReaderLibrary не помешает вам создать больше биб - + Set type Тип установки @@ -1991,17 +1991,17 @@ Missing files: %3 Включить фоновое изображение - + Options Настройки - + Comic Vine API key Comic Vine API ключ - + Edit Comic Vine API key Редактировать Comic Vine API ключ @@ -2042,63 +2042,63 @@ Missing files: %3 Появление - + Language Язык - + Application language Язык приложения - + System default Системный по умолчанию - + Tray icon settings (experimental) Настройки значков в трее (экспериментально) - + Close to tray Рядом с лотком - + Start into the system tray Запустите в системном трее - + ComicInfo.xml legacy support Поддержка устаревших версий ComicInfo.xml - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Импортируйте метаданные из ComicInfo.xml при добавлении новых комиксов. - + Consider 'recent' items added or updated since X days ago Учитывайте «недавние» элементы, добавленные или обновленные X дней назад. - + Third party reader Сторонний читатель - + Write {comic_file_path} where the path should go in the command Напишите {comic_file_path}, где должен идти путь в команде. - + Clear Очистить @@ -2207,7 +2207,7 @@ To stop an automatic update tap on the loading indicator next to the Libraries t Продолжить чтение - + Restart is needed Требуется перезагрузка @@ -3720,12 +3720,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Примечания к выпуску недоступны. - + Previous versions Предыдущие версии @@ -3763,22 +3763,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Сохранить - + Cancel Отмена - + Shortcuts Горячие клавиши - + + Keyboard shortcuts + Сочетания клавиш + + + + Customize the keyboard shortcuts used by the application. + Настройте сочетания клавиш, используемые приложением. + + + Edit shortcuts Редактировать горячие клавиши diff --git a/YACReaderLibrary/yacreaderlibrary_source.ts b/YACReaderLibrary/yacreaderlibrary_source.ts index d1d7038eb..022662275 100644 --- a/YACReaderLibrary/yacreaderlibrary_source.ts +++ b/YACReaderLibrary/yacreaderlibrary_source.ts @@ -166,23 +166,23 @@ - + Import theme - + JSON files (*.json);;All files (*) - + Could not import theme from: %1 - + Could not import theme from: %1 @@ -190,7 +190,7 @@ - + Import failed @@ -1053,7 +1053,7 @@ - + Set type @@ -1351,67 +1351,67 @@ You can restore a backup from the Library menu or recreate the library. - + Invalid image - + The selected file is not a valid image. - + Error saving cover - + There was an error saving the cover image. - + Error creating the library - + Error updating the library - + Error opening the library - + Delete comics - + All the selected comics will be deleted from your disk. Are you sure? - + Remove comics - + Comics will only be deleted from the current label/list. Are you sure? - + Library name already exists - + There is another library with the name '%1'. @@ -1944,73 +1944,73 @@ Missing files: %3 OptionsDialog - + Language - + Application language - + System default - + Tray icon settings (experimental) - + Close to tray - + Start into the system tray - + Edit Comic Vine API key - + Comic Vine API key - + ComicInfo.xml legacy support - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics - + Consider 'recent' items added or updated since X days ago - + Third party reader - + Write {comic_file_path} where the path should go in the command - + Clear @@ -2172,12 +2172,12 @@ To stop an automatic update tap on the loading indicator next to the Libraries t - + Options - + Restart is needed @@ -3687,12 +3687,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. - + Previous versions @@ -3730,22 +3730,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save - + Cancel - + + Keyboard shortcuts + + + + + Customize the keyboard shortcuts used by the application. + + + + Edit shortcuts - + Shortcuts diff --git a/YACReaderLibrary/yacreaderlibrary_tr.ts b/YACReaderLibrary/yacreaderlibrary_tr.ts index e708d2eac..dc7d9eba1 100644 --- a/YACReaderLibrary/yacreaderlibrary_tr.ts +++ b/YACReaderLibrary/yacreaderlibrary_tr.ts @@ -166,24 +166,24 @@ Geçerli tema JSON yüklenemedi. - + Import theme Temayı içe aktar - + JSON files (*.json);;All files (*) JSON dosyaları (*.json);;Tüm dosyalar (*) - + Could not import theme from: %1 Tema şu kaynaktan içe aktarılamadı: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed İçe aktarma başarısız oldu @@ -818,7 +818,7 @@ Bu kütüphane YACReaderKütüphabenin bir önceki versiyonun oluşturulmuş, güncellemeye ihtiyacın var. Şimdi güncellemek ister misin ? - + Error opening the library Haa kütüphanesini aç @@ -858,7 +858,7 @@ Kaldırmak ister misin - + Error updating the library Kütüphane güncelleme sorunu @@ -883,7 +883,7 @@ YACReader Kütüphane - + Error creating the library Kütüphane oluşturma sorunu @@ -893,12 +893,12 @@ Güncelleme gerekli - + Library name already exists Kütüphane ismi zaten alınmış - + There is another library with the name '%1'. Bu başka bir kütüphanenin adı '%1'. @@ -908,12 +908,12 @@ Yeni versiyonu indir - + Delete comics Çizgi romanları sil - + All the selected comics will be deleted from your disk. Are you sure? Seçilen tüm çizgi romanlar diskten silinecek emin misin ? @@ -1107,7 +1107,7 @@ - + Set type Türü ayarla @@ -1413,32 +1413,32 @@ Kitaplık menüsünden bir yedeği geri yükleyebilir veya kitaplığı yeniden Şunlardan başlayarak numaralar ata: - + Invalid image Geçersiz resim - + The selected file is not a valid image. Seçilen dosya geçerli bir resim değil. - + Error saving cover Kapak kaydedilirken hata oluştu - + There was an error saving the cover image. Kapak resmi kaydedilirken bir hata oluştu. - + Remove comics Çizgi romanları kaldır - + Comics will only be deleted from the current label/list. Are you sure? Çizgi romanlar yalnızca mevcut etiketten/listeden silinecektir. Emin misin? @@ -1978,78 +1978,78 @@ Eksik dosyalar: %3 Dış görünüş - + Options Ayarlar - + Language Dil - + Application language Uygulama dili - + System default Sistem varsayılanı - + Tray icon settings (experimental) Tepsi simgesi ayarları (deneysel) - + Close to tray Tepsiyi kapat - + Start into the system tray Sistem tepsisinde başlat - + Edit Comic Vine API key Comic Vine API anahtarını düzenle - + Comic Vine API key Comic Vine API anahtarı - + ComicInfo.xml legacy support ComicInfo.xml eski desteği - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics Yeni çizgi roman eklerken meta verileri ComicInfo.xml'den içe aktarın - + Consider 'recent' items added or updated since X days ago X gün öncesinden bu yana eklenen veya güncellenen 'en son' öğeleri göz önünde bulundurun - + Third party reader Üçüncü taraf okuyucu - + Write {comic_file_path} where the path should go in the command Komutta yolun gitmesi gereken yere {comic_file_path} yazın - + Clear Temizle @@ -2209,7 +2209,7 @@ Otomatik güncellemeyi durdurmak için Kitaplıklar başlığının yanındaki y Genel - + Restart is needed Yeniden başlatılmalı @@ -3722,12 +3722,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. Sürüm notları kullanılamıyor. - + Previous versions Önceki sürümler @@ -3765,22 +3765,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save Kaydet - + Cancel Vazgeç - + + Keyboard shortcuts + Klavye kısayolları + + + + Customize the keyboard shortcuts used by the application. + Uygulama tarafından kullanılan klavye kısayollarını özelleştirin. + + + Edit shortcuts Kısayolları düzenle - + Shortcuts Kısayollar diff --git a/YACReaderLibrary/yacreaderlibrary_zh_CN.ts b/YACReaderLibrary/yacreaderlibrary_zh_CN.ts index a6aac2103..7bd595c5f 100644 --- a/YACReaderLibrary/yacreaderlibrary_zh_CN.ts +++ b/YACReaderLibrary/yacreaderlibrary_zh_CN.ts @@ -166,24 +166,24 @@ 无法加载当前主题 JSON。 - + Import theme 导入主题 - + JSON files (*.json);;All files (*) JSON 文件 (*.json);;所有文件 (*) - + Could not import theme from: %1 无法从以下位置导入主题: %1 - + Could not import theme from: %1 @@ -194,7 +194,7 @@ %2 - + Import failed 导入失败 @@ -857,7 +857,7 @@ 重新扫描库的 XML 信息 - + Error opening the library 打开库时出错 @@ -907,7 +907,7 @@ - + Comics will only be deleted from the current label/list. Are you sure? 漫画只会从当前标签/列表中删除。 你确定吗? @@ -981,7 +981,7 @@ 路径错误 - + Error updating the library 更新库时出错 @@ -1077,7 +1077,7 @@ YACReaderLibrary不会阻止您创建更多的库,但是您应该保持较低 YACReader 库 - + Error creating the library 创建库时出错 @@ -1097,12 +1097,12 @@ YACReaderLibrary不会阻止您创建更多的库,但是您应该保持较低 需要更新 - + Library name already exists 库名已存在 - + There is another library with the name '%1'. 已存在另一个名为'%1'的库。 @@ -1155,7 +1155,7 @@ YACReaderLibrary不会阻止您创建更多的库,但是您应该保持较低 - + Set type 设置类型 @@ -1357,27 +1357,27 @@ You can restore a backup from the Library menu or recreate the library. 图书馆信息 - + Invalid image 图片无效 - + The selected file is not a valid image. 所选文件不是有效图像。 - + Error saving cover 保存封面时出错 - + There was an error saving the cover image. 保存封面图像时出错。 - + Delete comics 删除漫画 @@ -1397,12 +1397,12 @@ You can restore a backup from the Library menu or recreate the library. 没有选中的文件夹 - + All the selected comics will be deleted from your disk. Are you sure? 所有选定的漫画都将从您的磁盘中删除。你确定吗? - + Remove comics 移除漫画 @@ -1991,7 +1991,7 @@ Missing files: %3 恢复默认值 - + Close to tray 关闭至托盘 @@ -2011,7 +2011,7 @@ Missing files: %3 1小时 - + Start into the system tray 启动至系统托盘 @@ -2036,32 +2036,32 @@ Missing files: %3 外观 - + Language 语言 - + Application language 应用程序语言 - + System default 系统默认 - + Third party reader 第三方阅读器 - + Write {comic_file_path} where the path should go in the command 在命令中应将路径写入 {comic_file_path} - + Clear 清空 @@ -2091,7 +2091,7 @@ Missing files: %3 更新库时比较文件的修改日期(不推荐) - + Import metadata from ComicInfo.xml when adding new comics 添加新漫画时从 ComicInfo.xml 导入元数据 @@ -2106,22 +2106,22 @@ Missing files: %3 4小时 - + Options 选项 - + Comic Vine API key Comic Vine API 密匙 - + Edit Comic Vine API key 编辑Comic Vine API 密匙 - + Tray icon settings (experimental) 托盘图标设置 (实验特性) @@ -2147,7 +2147,7 @@ Missing files: %3 间隔: - + ComicInfo.xml legacy support ComicInfo.xml 旧版支持 @@ -2178,7 +2178,7 @@ To stop an automatic update tap on the loading indicator next to the Libraries t 常规 - + Consider 'recent' items added or updated since X days ago 参考自 X 天前添加或更新的“最近”项目 @@ -2203,7 +2203,7 @@ To stop an automatic update tap on the loading indicator next to the Libraries t 网格视图 - + Restart is needed 需要重启 @@ -3716,12 +3716,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. 发行说明不可用。 - + Previous versions 以前的版本 @@ -3759,22 +3759,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save 保存 - + Cancel 取消 - + Shortcuts 快捷键 - + + Keyboard shortcuts + 键盘快捷键 + + + + Customize the keyboard shortcuts used by the application. + 自定义应用程序使用的键盘快捷键。 + + + Edit shortcuts 编辑快捷键 diff --git a/YACReaderLibrary/yacreaderlibrary_zh_HK.ts b/YACReaderLibrary/yacreaderlibrary_zh_HK.ts index 82570ba58..7ee79e8d0 100644 --- a/YACReaderLibrary/yacreaderlibrary_zh_HK.ts +++ b/YACReaderLibrary/yacreaderlibrary_zh_HK.ts @@ -167,24 +167,24 @@ 無法載入目前主題 JSON。 - + Import theme 導入主題 - + JSON files (*.json);;All files (*) JSON 檔案 (*.json);;所有檔案 (*) - + Could not import theme from: %1 無法從以下位置匯入主題: %1 - + Could not import theme from: %1 @@ -195,7 +195,7 @@ %2 - + Import failed 導入失敗 @@ -1058,7 +1058,7 @@ - + Set type 套裝類型 @@ -1379,67 +1379,67 @@ You can restore a backup from the Library menu or recreate the library. 嘗試刪除所選漫畫時出現問題。 請檢查所選檔或包含檔夾中的寫入許可權。 - + Invalid image 圖片無效 - + The selected file is not a valid image. 所選檔案不是有效影像。 - + Error saving cover 儲存封面時發生錯誤 - + There was an error saving the cover image. 儲存封面圖片時發生錯誤。 - + Error creating the library 創建庫時出錯 - + Error updating the library 更新庫時出錯 - + Error opening the library 打開庫時出錯 - + Delete comics 刪除漫畫 - + All the selected comics will be deleted from your disk. Are you sure? 所有選定的漫畫都將從您的磁片中刪除。你確定嗎? - + Remove comics 移除漫畫 - + Comics will only be deleted from the current label/list. Are you sure? 漫畫只會從當前標籤/列表中刪除。 你確定嗎? - + Library name already exists 庫名已存在 - + There is another library with the name '%1'. 已存在另一個名為'%1'的庫。 @@ -1974,73 +1974,73 @@ Missing files: %3 OptionsDialog - + Language 語言 - + Application language 應用程式語言 - + System default 系統預設 - + Tray icon settings (experimental) 託盤圖示設置 (實驗特性) - + Close to tray 關閉至託盤 - + Start into the system tray 啟動至系統託盤 - + Edit Comic Vine API key 編輯Comic Vine API 密匙 - + Comic Vine API key Comic Vine API 密匙 - + ComicInfo.xml legacy support ComicInfo.xml 遺留支持 - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics 新增漫畫時從 ComicInfo.xml 匯入元數據 - + Consider 'recent' items added or updated since X days ago 考慮自 X 天前新增或更新的「最近」項目 - + Third party reader 第三方閱讀器 - + Write {comic_file_path} where the path should go in the command 在命令中應將路徑寫入 {comic_file_path} - + Clear 清空 @@ -2205,12 +2205,12 @@ To stop an automatic update tap on the loading indicator next to the Libraries t 外貌 - + Options 選項 - + Restart is needed 需要重啟 @@ -3724,12 +3724,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. 版本資訊無法使用。 - + Previous versions 舊版本 @@ -3767,22 +3767,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save 保存 - + Cancel 取消 - + + Keyboard shortcuts + 鍵盤快捷鍵 + + + + Customize the keyboard shortcuts used by the application. + 自訂應用程式使用的鍵盤快捷鍵。 + + + Edit shortcuts 編輯快捷鍵 - + Shortcuts 快捷鍵 diff --git a/YACReaderLibrary/yacreaderlibrary_zh_TW.ts b/YACReaderLibrary/yacreaderlibrary_zh_TW.ts index cdfbfb82f..a12fcf6d2 100644 --- a/YACReaderLibrary/yacreaderlibrary_zh_TW.ts +++ b/YACReaderLibrary/yacreaderlibrary_zh_TW.ts @@ -167,24 +167,24 @@ 無法載入目前主題 JSON。 - + Import theme 導入主題 - + JSON files (*.json);;All files (*) JSON 檔案 (*.json);;所有檔案 (*) - + Could not import theme from: %1 無法從以下位置匯入主題: %1 - + Could not import theme from: %1 @@ -195,7 +195,7 @@ %2 - + Import failed 導入失敗 @@ -1058,7 +1058,7 @@ - + Set type 套裝類型 @@ -1379,67 +1379,67 @@ You can restore a backup from the Library menu or recreate the library. 嘗試刪除所選漫畫時出現問題。 請檢查所選檔或包含檔夾中的寫入許可權。 - + Invalid image 圖片無效 - + The selected file is not a valid image. 所選檔案不是有效影像。 - + Error saving cover 儲存封面時發生錯誤 - + There was an error saving the cover image. 儲存封面圖片時發生錯誤。 - + Error creating the library 創建庫時出錯 - + Error updating the library 更新庫時出錯 - + Error opening the library 打開庫時出錯 - + Delete comics 刪除漫畫 - + All the selected comics will be deleted from your disk. Are you sure? 所有選定的漫畫都將從您的磁片中刪除。你確定嗎? - + Remove comics 移除漫畫 - + Comics will only be deleted from the current label/list. Are you sure? 漫畫只會從當前標籤/列表中刪除。 你確定嗎? - + Library name already exists 庫名已存在 - + There is another library with the name '%1'. 已存在另一個名為'%1'的庫。 @@ -1974,73 +1974,73 @@ Missing files: %3 OptionsDialog - + Language 語言 - + Application language 應用程式語言 - + System default 系統預設 - + Tray icon settings (experimental) 託盤圖示設置 (實驗特性) - + Close to tray 關閉至託盤 - + Start into the system tray 啟動至系統託盤 - + Edit Comic Vine API key 編輯Comic Vine API 密匙 - + Comic Vine API key Comic Vine API 密匙 - + ComicInfo.xml legacy support ComicInfo.xml 遺留支持 - + Import metadata from ComicInfo.xml when adding new comics Import metada from ComicInfo.xml when adding new comics 新增漫畫時從 ComicInfo.xml 匯入元數據 - + Consider 'recent' items added or updated since X days ago 考慮自 X 天前新增或更新的「最近」項目 - + Third party reader 第三方閱讀器 - + Write {comic_file_path} where the path should go in the command 在命令中應將路徑寫入 {comic_file_path} - + Clear 清空 @@ -2205,12 +2205,12 @@ To stop an automatic update tap on the loading indicator next to the Libraries t 外貌 - + Options 選項 - + Restart is needed 需要重啟 @@ -3724,12 +3724,12 @@ Use quotes to include spaces in a value. YACReader::WhatsNewDialog - + Release notes are not available. 版本資訊無法使用。 - + Previous versions 舊版本 @@ -3767,22 +3767,32 @@ Use quotes to include spaces in a value. YACReaderOptionsDialog - + Save 保存 - + Cancel 取消 - + + Keyboard shortcuts + 鍵盤快速鍵 + + + + Customize the keyboard shortcuts used by the application. + 自訂應用程式使用的鍵盤快速鍵。 + + + Edit shortcuts 編輯快捷鍵 - + Shortcuts 快捷鍵 diff --git a/common/themes/appearance_tab_widget.cpp b/common/themes/appearance_tab_widget.cpp index 387ac0944..4e79f9931 100644 --- a/common/themes/appearance_tab_widget.cpp +++ b/common/themes/appearance_tab_widget.cpp @@ -211,11 +211,16 @@ AppearanceTabWidget::AppearanceTabWidget( themeEditor->activateWindow(); }); - auto *layout = new QVBoxLayout(this); - layout->addWidget(modeBox); - layout->addWidget(themeSelBox); - layout->addWidget(themeEditorBox); - layout->addStretch(); + sectionsLayout = new QVBoxLayout(this); + sectionsLayout->addWidget(modeBox); + sectionsLayout->addWidget(themeSelBox); + sectionsLayout->addWidget(themeEditorBox); + sectionsLayout->addStretch(); +} + +void AppearanceTabWidget::addSection(QWidget *section) +{ + sectionsLayout->insertWidget(sectionsLayout->count() - 1, section); } void AppearanceTabWidget::populateCombo(QComboBox *combo, diff --git a/common/themes/appearance_tab_widget.h b/common/themes/appearance_tab_widget.h index 720827ce2..ac0ea50d6 100644 --- a/common/themes/appearance_tab_widget.h +++ b/common/themes/appearance_tab_widget.h @@ -13,6 +13,7 @@ class AppearanceConfiguration; class QComboBox; class QPushButton; +class QVBoxLayout; class ThemeEditorDialog; class ThemeRepository; @@ -27,6 +28,8 @@ class AppearanceTabWidget : public QWidget std::function applyTheme, QWidget *parent = nullptr); + void addSection(QWidget *section); + private: AppearanceConfiguration *config; ThemeRepository *repository; @@ -47,6 +50,8 @@ class AppearanceTabWidget : public QWidget QPushButton *darkDeleteBtn = nullptr; QPushButton *customDeleteBtn = nullptr; + QVBoxLayout *sectionsLayout; + // Populate a combo with themes, filtered strictly by variant (or all if nullopt). void populateCombo(QComboBox *combo, std::optional variantFilter, const QString &selectedId); void repopulateCombos(); diff --git a/custom_widgets/CMakeLists.txt b/custom_widgets/CMakeLists.txt index 4e35aa059..cabc59989 100644 --- a/custom_widgets/CMakeLists.txt +++ b/custom_widgets/CMakeLists.txt @@ -11,6 +11,8 @@ set(WIDGETS_COMMON_SOURCES yacreader_field_plain_text_edit.cpp yacreader_options_dialog.h yacreader_options_dialog.cpp + yacreader_settings_widget.h + yacreader_settings_widget.cpp yacreader_spin_slider_widget.h yacreader_spin_slider_widget.cpp yacreader_tool_bar_stretch.h diff --git a/custom_widgets/yacreader_options_dialog.cpp b/custom_widgets/yacreader_options_dialog.cpp index 99c214cdd..cc44973ff 100644 --- a/custom_widgets/yacreader_options_dialog.cpp +++ b/custom_widgets/yacreader_options_dialog.cpp @@ -6,6 +6,8 @@ #include #include +#include +#include #include #include #include @@ -21,12 +23,18 @@ YACReaderOptionsDialog::YACReaderOptionsDialog(QWidget *parent) cancel->setDefault(true); - QVBoxLayout *shortcutsLayout = new QVBoxLayout(); - QPushButton *shortcutsButton = new QPushButton(tr("Edit shortcuts")); - shortcutsLayout->addWidget(shortcutsButton); - - shortcutsBox = new QGroupBox(tr("Shortcuts")); - shortcutsBox->setLayout(shortcutsLayout); + shortcutsPage = new QWidget(); + shortcutsPage->setWindowTitle(tr("Shortcuts")); + auto *shortcutsLayout = new QVBoxLayout(shortcutsPage); + auto *shortcutsBox = new QGroupBox(tr("Keyboard shortcuts")); + auto *shortcutsBoxLayout = new QHBoxLayout(shortcutsBox); + auto *shortcutsDescription = new QLabel(tr("Customize the keyboard shortcuts used by the application.")); + auto *shortcutsButton = new QPushButton(tr("Edit shortcuts")); + shortcutsDescription->setWordWrap(true); + shortcutsBoxLayout->addWidget(shortcutsDescription, 1); + shortcutsBoxLayout->addWidget(shortcutsButton, 0, Qt::AlignRight); + shortcutsLayout->addWidget(shortcutsBox); + shortcutsLayout->addStretch(); connect(shortcutsButton, &QAbstractButton::clicked, this, &YACReaderOptionsDialog::editShortcuts); diff --git a/custom_widgets/yacreader_options_dialog.h b/custom_widgets/yacreader_options_dialog.h index 44a0b9a90..ffdebb592 100644 --- a/custom_widgets/yacreader_options_dialog.h +++ b/custom_widgets/yacreader_options_dialog.h @@ -7,7 +7,6 @@ class YACReader3DFlowConfigWidget; class QCheckBox; class QPushButton; class QSettings; -class QGroupBox; class YACReaderOptionsDialog : public QDialog { @@ -18,7 +17,7 @@ class YACReaderOptionsDialog : public QDialog QPushButton *accept; QPushButton *cancel; - QGroupBox *shortcutsBox; + QWidget *shortcutsPage; QSettings *settings; QSettings *previousSettings; diff --git a/custom_widgets/yacreader_settings_widget.cpp b/custom_widgets/yacreader_settings_widget.cpp new file mode 100644 index 000000000..c3a4095ea --- /dev/null +++ b/custom_widgets/yacreader_settings_widget.cpp @@ -0,0 +1,51 @@ +#include "yacreader_settings_widget.h" + +#include +#include +#include +#include +#include + +YACReaderSettingsWidget::YACReaderSettingsWidget(QWidget *parent) + : QWidget(parent), navigation(new QListWidget(this)), pages(new QStackedWidget(this)), splitter(new QSplitter(Qt::Horizontal, this)) +{ + navigation->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); + navigation->setMinimumWidth(140); + navigation->setSelectionMode(QAbstractItemView::SingleSelection); + navigation->setUniformItemSizes(true); + + splitter->addWidget(navigation); + splitter->addWidget(pages); + splitter->setCollapsible(0, false); + splitter->setCollapsible(1, false); + splitter->setStretchFactor(0, 0); + splitter->setStretchFactor(1, 1); + + auto *layout = new QHBoxLayout(this); + layout->setContentsMargins(0, 0, 0, 0); + layout->addWidget(splitter); + + connect(navigation, &QListWidget::currentRowChanged, pages, &QStackedWidget::setCurrentIndex); +} + +int YACReaderSettingsWidget::addPage(QWidget *page, const QString &title, const QIcon &icon) +{ + const int index = pages->addWidget(page); + navigation->addItem(new QListWidgetItem(icon, title)); + updateNavigationSize(); + + if (navigation->currentRow() == -1) + navigation->setCurrentRow(0); + + return index; +} + +void YACReaderSettingsWidget::updateNavigationSize() +{ + constexpr int minimumWidth = 140; + constexpr int horizontalPadding = 32; + + const int navigationWidth = qMax(minimumWidth, navigation->sizeHintForColumn(0) + horizontalPadding); + const int contentWidth = qMax(400, pages->sizeHint().width()); + splitter->setSizes({ navigationWidth, contentWidth }); +} diff --git a/custom_widgets/yacreader_settings_widget.h b/custom_widgets/yacreader_settings_widget.h new file mode 100644 index 000000000..4b4d1f812 --- /dev/null +++ b/custom_widgets/yacreader_settings_widget.h @@ -0,0 +1,27 @@ +#ifndef YACREADER_SETTINGS_WIDGET_H +#define YACREADER_SETTINGS_WIDGET_H + +#include +#include +#include + +class QListWidget; +class QSplitter; +class QStackedWidget; + +class YACReaderSettingsWidget : public QWidget +{ +public: + explicit YACReaderSettingsWidget(QWidget *parent = nullptr); + + int addPage(QWidget *page, const QString &title, const QIcon &icon = { }); + +private: + void updateNavigationSize(); + + QListWidget *navigation; + QStackedWidget *pages; + QSplitter *splitter; +}; + +#endif // YACREADER_SETTINGS_WIDGET_H