From a29192f9b2fe6086f0640864b7e70d38c3d3dc2b Mon Sep 17 00:00:00 2001 From: Silarn Date: Fri, 4 May 2018 16:16:32 -0500 Subject: Incorporate uibase translations into organizer --- src/CMakeLists.txt | 3 +- src/organizer_en.ts | 238 +++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 182 insertions(+), 59 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 41891732..8463f098 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -255,7 +255,8 @@ FIND_PACKAGE(Qt5Qml REQUIRED) FIND_PACKAGE(Qt5LinguistTools) QT5_WRAP_UI(organizer_UIHDRS ${organizer_UIS}) QT5_ADD_RESOURCES(organizer_RCCPPS ${organizer_QRCS}) -QT5_CREATE_TRANSLATION(organizer_translations_qm ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/organizer_en.ts) +SET(mo_translation_sources ${CMAKE_SOURCE_DIR}/src ${project_path}/uibase/src) +QT5_CREATE_TRANSLATION(organizer_translations_qm ${mo_translation_sources} ${CMAKE_SOURCE_DIR}/src/organizer_en.ts) ADD_CUSTOM_TARGET(translations DEPENDS ${organizer_translations_qm}) INCLUDE_DIRECTORIES(${Qt5Declarative_INCLUDES}) diff --git a/src/organizer_en.ts b/src/organizer_en.ts index 8c36e720..4a5593fa 100644 --- a/src/organizer_en.ts +++ b/src/organizer_en.ts @@ -1093,33 +1093,43 @@ Right now the only case I know of where this needs to be overwritten is for the FindDialog + Find + Find what: + + Search term + + Find next occurence from current file position. + &Find Next + + + @@ -1208,82 +1218,82 @@ p, li { white-space: pre-wrap; } - + failed to create backup - + Mod Name - + Name - + Invalid name - + The name you entered is invalid, please enter a different one. - + File format "%1" not supported - + None of the available installer plugins were able to handle that archive - + no error - + 7z.dll not found - + 7z.dll isn't valid - + archive not found - + failed to open archive - + unsupported archive type - + internal library error - + archive invalid - + unknown archive error @@ -1332,6 +1342,50 @@ p, li { white-space: pre-wrap; } + + MOBase::TextViewer + + + Save changes? + + + + + Do you want to save changes to %1? + + + + + failed to write to %1 + + + + + file not found: %1 + + + + + Save + + + + + MOBase::TutorialControl + + + Tutorial failed to start, please check "mo_interface.log" for details. + + + + + MOBase::TutorialManager + + + tutorial manager not set up yet + + + MainWindow @@ -2156,7 +2210,7 @@ Please enter a name: - + Are you sure? @@ -2473,13 +2527,13 @@ You can also use online editors and converters instead. - + Exception: - + Unknown exception @@ -2658,181 +2712,181 @@ You can also use online editors and converters instead. - + Thank you! - + Thank you for your endorsement! - + Request to Nexus failed: %1 - - + + failed to read %1: %2 - - + + Error - + failed to extract %1 (errorcode %2) - + Extract BSA - + This archive contains invalid hashes. Some files may be broken. - + Extract... - + This will restart MO, continue? - + Edit Categories... - + Deselect filter - + Remove - + Enable all - + Disable all - + Unlock load order - + Lock load order - + depends on missing "%1" - + incompatible with "%1" - + Please wait while LOOT is running - + loot failed. Exit code was: %1 - + failed to start loot - + failed to run loot: %1 - + Errors occured - + Backup of load order created - + Choose backup to restore - + No Backups - + There are no backups to restore - - + + Restore failed - - + + Failed to restore the backup. Errorcode: %1 - + Backup of modlist created - + A file with the same name has already been downloaded. What would you like to do? - + Overwrite - + Rename new file - + Ignore file @@ -3861,6 +3915,14 @@ p, li { white-space: pre-wrap; } + + NXMUrl + + + invalid nxm-link: %1 + + + NexusInterface @@ -4908,6 +4970,8 @@ If the folder was still in use, restart MO and try again. + + Error @@ -5068,6 +5132,38 @@ Start elevated anyway? (you will be asked if you want to allow ModOrganizer.exe failed to spawn "%1": %2 + + + failed to open temporary file + + + + + removal of "%1" failed: %2 + + + + + removal of "%1" failed + + + + + "%1" doesn't exist (remove) + + + + + + failed to create directory "%1" + + + + + + failed to copy "%1" to "%2" + + QueryOverwriteDialog @@ -5107,6 +5203,19 @@ Start elevated anyway? (you will be asked if you want to allow ModOrganizer.exe + + QuestionBoxMemory + + + Remember selection + + + + + Remember selection only for + + + SaveTextAsDialog @@ -5978,6 +6087,19 @@ For the other games this is not a sufficient replacement for AI! + + TextViewer + + + Log Viewer + + + + + Placeholder + + + TransferSavesDialog -- cgit v1.3.1