diff --git a/src/shortcutmanager.cpp b/src/shortcutmanager.cpp index 6c60d28..eb8cfa2 100644 --- a/src/shortcutmanager.cpp +++ b/src/shortcutmanager.cpp @@ -15,26 +15,26 @@ struct ActionInfo { // Order must match ShortcutManager::Action enum static const ActionInfo kDefaults[ShortcutManager::ActionCount] = { - {"ToggleHelp", QT_TR_NOOP("Show/hide keyboard shortcuts"), QKeySequence(Qt::Key_F1), ShortcutManager::CatNotConfigurable}, - {"CloseViewer", QT_TR_NOOP("Close viewer"), QKeySequence(Qt::Key_Escape), ShortcutManager::CatImageViewer}, - {"CloseViewerAlt", QT_TR_NOOP("Close viewer (alt)"), QKeySequence(Qt::Key_Return), ShortcutManager::CatImageViewer}, - {"NextImage", QT_TR_NOOP("Next image"), QKeySequence(Qt::Key_PageDown), ShortcutManager::CatImageViewer}, - {"PrevImage", QT_TR_NOOP("Previous image"), QKeySequence(Qt::Key_PageUp), ShortcutManager::CatImageViewer}, - {"PanLeft", QT_TR_NOOP("Pan left"), QKeySequence(Qt::Key_Left), ShortcutManager::CatImageViewer}, - {"PanRight", QT_TR_NOOP("Pan right"), QKeySequence(Qt::Key_Right), ShortcutManager::CatImageViewer}, - {"PanUp", QT_TR_NOOP("Pan up"), QKeySequence(Qt::Key_Up), ShortcutManager::CatImageViewer}, - {"PanDown", QT_TR_NOOP("Pan down"), QKeySequence(Qt::Key_Down), ShortcutManager::CatImageViewer}, - {"ZoomOriginal", QT_TR_NOOP("Zoom to original size"), QKeySequence(Qt::Key_Slash), ShortcutManager::CatImageViewer}, - {"ZoomFit", QT_TR_NOOP("Zoom to fit screen"), QKeySequence(Qt::Key_Asterisk), ShortcutManager::CatImageViewer}, - {"ZoomIn", QT_TR_NOOP("Zoom in"), QKeySequence(Qt::Key_Plus), ShortcutManager::CatImageViewer}, - {"ZoomOut", QT_TR_NOOP("Zoom out"), QKeySequence(Qt::Key_Minus), ShortcutManager::CatImageViewer}, - {"ToggleExif", QT_TR_NOOP("Toggle EXIF info"), QKeySequence(Qt::Key_I), ShortcutManager::CatImageViewer}, - {"EditCaption", QT_TR_NOOP("Edit caption"), QKeySequence(Qt::Key_E), ShortcutManager::CatImageViewer}, - {"ToggleFullscreen",QT_TR_NOOP("Toggle fullscreen"), QKeySequence(Qt::Key_F11), ShortcutManager::CatImageViewer}, - {"ActivateEntry", QT_TR_NOOP("Open folder / image"), QKeySequence(Qt::Key_Return), ShortcutManager::CatBrowser}, - {"PrevFolder", QT_TR_NOOP("Previous folder"), QKeySequence(Qt::ALT | Qt::Key_Left), ShortcutManager::CatBrowser}, - {"NextFolder", QT_TR_NOOP("Next folder"), QKeySequence(Qt::ALT | Qt::Key_Right), ShortcutManager::CatBrowser}, - {"MoveToTrash", QT_TR_NOOP("Move image to trash"), QKeySequence(Qt::Key_Delete), ShortcutManager::CatBrowser}, + {"ToggleHelp", QT_TRANSLATE_NOOP("ShortcutManager", "Show/hide keyboard shortcuts"), QKeySequence(Qt::Key_F1), ShortcutManager::CatNotConfigurable}, + {"CloseViewer", QT_TRANSLATE_NOOP("ShortcutManager", "Close viewer"), QKeySequence(Qt::Key_Escape), ShortcutManager::CatImageViewer}, + {"CloseViewerAlt", QT_TRANSLATE_NOOP("ShortcutManager", "Close viewer (alt)"), QKeySequence(Qt::Key_Return), ShortcutManager::CatImageViewer}, + {"NextImage", QT_TRANSLATE_NOOP("ShortcutManager", "Next image"), QKeySequence(Qt::Key_PageDown), ShortcutManager::CatImageViewer}, + {"PrevImage", QT_TRANSLATE_NOOP("ShortcutManager", "Previous image"), QKeySequence(Qt::Key_PageUp), ShortcutManager::CatImageViewer}, + {"PanLeft", QT_TRANSLATE_NOOP("ShortcutManager", "Pan left"), QKeySequence(Qt::Key_Left), ShortcutManager::CatImageViewer}, + {"PanRight", QT_TRANSLATE_NOOP("ShortcutManager", "Pan right"), QKeySequence(Qt::Key_Right), ShortcutManager::CatImageViewer}, + {"PanUp", QT_TRANSLATE_NOOP("ShortcutManager", "Pan up"), QKeySequence(Qt::Key_Up), ShortcutManager::CatImageViewer}, + {"PanDown", QT_TRANSLATE_NOOP("ShortcutManager", "Pan down"), QKeySequence(Qt::Key_Down), ShortcutManager::CatImageViewer}, + {"ZoomOriginal", QT_TRANSLATE_NOOP("ShortcutManager", "Zoom to original size"), QKeySequence(Qt::Key_Slash), ShortcutManager::CatImageViewer}, + {"ZoomFit", QT_TRANSLATE_NOOP("ShortcutManager", "Zoom to fit screen"), QKeySequence(Qt::Key_Asterisk), ShortcutManager::CatImageViewer}, + {"ZoomIn", QT_TRANSLATE_NOOP("ShortcutManager", "Zoom in"), QKeySequence(Qt::Key_Plus), ShortcutManager::CatImageViewer}, + {"ZoomOut", QT_TRANSLATE_NOOP("ShortcutManager", "Zoom out"), QKeySequence(Qt::Key_Minus), ShortcutManager::CatImageViewer}, + {"ToggleExif", QT_TRANSLATE_NOOP("ShortcutManager", "Toggle EXIF info"), QKeySequence(Qt::Key_I), ShortcutManager::CatImageViewer}, + {"EditCaption", QT_TRANSLATE_NOOP("ShortcutManager", "Edit caption"), QKeySequence(Qt::Key_E), ShortcutManager::CatImageViewer}, + {"ToggleFullscreen",QT_TRANSLATE_NOOP("ShortcutManager", "Toggle fullscreen"), QKeySequence(Qt::Key_F11), ShortcutManager::CatImageViewer}, + {"ActivateEntry", QT_TRANSLATE_NOOP("ShortcutManager", "Open folder / image"), QKeySequence(Qt::Key_Return), ShortcutManager::CatBrowser}, + {"PrevFolder", QT_TRANSLATE_NOOP("ShortcutManager", "Previous folder"), QKeySequence(Qt::ALT | Qt::Key_Left), ShortcutManager::CatBrowser}, + {"NextFolder", QT_TRANSLATE_NOOP("ShortcutManager", "Next folder"), QKeySequence(Qt::ALT | Qt::Key_Right), ShortcutManager::CatBrowser}, + {"MoveToTrash", QT_TRANSLATE_NOOP("ShortcutManager", "Move image to trash"), QKeySequence(Qt::Key_Delete), ShortcutManager::CatBrowser}, }; } // namespace diff --git a/translations/da.ts b/translations/da.ts index 4fa7ba7..77f8a08 100644 --- a/translations/da.ts +++ b/translations/da.ts @@ -2,6 +2,25 @@ + ImageViewWidget + + Close viewer + Luk fremviser + + + Next / previous image + Næste / forrige billede + + + Pan image + Panorer billede + + + Zoom in / out + Zoom ind / ud + + + MainWindow Go @@ -69,7 +88,7 @@ The file is write-protected. Cannot save caption. - Filen er skrivebeskyttet. Kan ikke gemme billedtekst. + Filen er skrivebeskyttet. Kan ikke gemme billedtekst. Edit Caption @@ -79,6 +98,82 @@ Caption-Abstract: Billedtekst: + + Click to open in browser + Klik for at åbne i browseren + + + The file is write-protected and cannot be edited. + +%1 + Filen er skrivebeskyttet og kan ikke redigeres. + +%1 + + + Copy filename + Kopier filnavn + + + Copy full path + Kopier fuld sti + + + Rotate Left + Roter mod venstre + + + Rotate Right + Roter mod højre + + + Edit description + Rediger beskrivelse + + + Move to trash + Flyt til papirkurv + + + Cannot Rotate Image + Kan ikke rotere billede + + + The file is write-protected and cannot be rotated. + +%1 + Filen er skrivebeskyttet og kan ikke roteres. + +%1 + + + The image orientation could not be changed. The format may not support EXIF orientation. + +%1 + Billedets orientering kunne ikke ændres. Formatet understøtter muligvis ikke EXIF-orientering. + +%1 + + + Move to Trash + Flyt til papirkurv + + + Move "%1" to the trash? + Flyt "%1" til papirkurven? + + + Cannot Move to Trash + Kan ikke flytte til papirkurv + + + The file could not be moved to the trash. + +%1 + Filen kunne ikke flyttes til papirkurven. + +%1 + PreferencesDialog @@ -168,25 +263,6 @@ - ImageViewWidget - - Close viewer - Luk fremviser - - - Next / previous image - Næste / forrige billede - - - Pan image - Panorer billede - - - Zoom in / out - Zoom ind / ud - - - ShortcutManager Show/hide keyboard shortcuts @@ -264,5 +340,9 @@ Next folder Næste mappe + + Move image to trash + Flyt billede til papirkurv +