# HG changeset patch # User Andre Heinecke # Date 1397667908 0 # Node ID 7edfc9b9b360e605244db1f1d32583aee5b2a02b # Parent 16b6d5686835f6ebd0dbb3f0a414f7bd1ad30d3d Add translation for trustbridge diff -r 16b6d5686835 -r 7edfc9b9b360 ui/CMakeLists.txt --- a/ui/CMakeLists.txt Wed Apr 16 17:00:59 2014 +0000 +++ b/ui/CMakeLists.txt Wed Apr 16 17:05:08 2014 +0000 @@ -100,13 +100,6 @@ # TRUSTBRIDGE_SOURCES in the test subdirectory. set(TRUSTBRIDGE_SOURCES_WITH_RESOURCES ${TRUSTBRIDGE_SOURCES}) qt5_add_resources(TRUSTBRIDGE_SOURCES_WITH_RESOURCES ${TRUSTBRIDGE_RESOURCES}) -add_executable(trustbridge ${TRUSTBRIDGE_SOURCES_WITH_RESOURCES}) - -target_link_libraries(trustbridge Qt5::Widgets - trustbridge_common - ${POLARSSL_LIBRARIES} - ${EXTRA_STATIC_LIBS} - ${PROFILING_LIBS}) set(ADMINSTRATOR_SOURCES_WITH_RESOURCES ${ADMINSTRATOR_SOURCES}) qt5_add_resources(ADMINSTRATOR_SOURCES_WITH_RESOURCES ${ADMINSTRATOR_RESOURCES}) @@ -124,9 +117,20 @@ ${ADMINISTRATOR_L10N} ${ADMINISTRATOR_TRANSLATION} ) + + configure_file(l10n/trustbridge.qrc.in trustbridge.qrc) + qt5_add_resources(TRUSTBRIDGE_L10N ${CMAKE_CURRENT_BINARY_DIR}/trustbridge.qrc) + qt5_create_translation(TRUSTBRIDGE_TRANSLATION ${TRUSTBRIDGE_SOURCES_WITH_RESOURCES} + ${CMAKE_CURRENT_SOURCE_DIR}/l10n/trustbridge_de_DE.ts) + add_executable(trustbridge ${TRUSTBRIDGE_SOURCES_WITH_RESOURCES} + ${TRUSTBRIDGE_L10N} + ${TRUSTBRIDGE_TRANSLATION} + ) + else() - message (STATUS "WARNING: Could not find qt linguist tools. Translation will not be included.") - add_executable(administrator ${ADMINSTRATOR_SOURCES_WITH_RESOURCES}) + message (STATUS "WARNING: Could not find qt linguist tools. Translation will not be included.") + add_executable(administrator ${ADMINSTRATOR_SOURCES_WITH_RESOURCES}) + add_executable(trustbridge ${TRUSTBRIDGE_SOURCES_WITH_RESOURCES}) endif() target_link_libraries(administrator Qt5::Widgets @@ -135,6 +139,13 @@ ${EXTRA_STATIC_LIBS} ${PROFILING_LIBS}) +target_link_libraries(trustbridge Qt5::Widgets + trustbridge_common + ${POLARSSL_LIBRARIES} + ${EXTRA_STATIC_LIBS} + ${PROFILING_LIBS}) + + # Tests add_subdirectory(tests) diff -r 16b6d5686835 -r 7edfc9b9b360 ui/l10n/trustbridge.qrc.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/l10n/trustbridge.qrc.in Wed Apr 16 17:05:08 2014 +0000 @@ -0,0 +1,5 @@ + + + @CMAKE_CURRENT_BINARY_DIR@/trustbridge_de_DE.qm + + diff -r 16b6d5686835 -r 7edfc9b9b360 ui/l10n/trustbridge_de_DE.ts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/l10n/trustbridge_de_DE.ts Wed Apr 16 17:05:08 2014 +0000 @@ -0,0 +1,279 @@ + + + + + AboutDialog + + + This dialog contains some text about the application + + + + + Close + + + + + Downloader + + + Invalid response + + + + + + + + Connection lost + + + + + Invalid response from the server + + + + + Failed to initialize SSL Module. + + + + + Failed to connect. + + + + + Connected + + + + + Closing + + + + + HelpDialog + + + This dialog contains some text to help the user. + + + + + Close + + + + + InstallWrapper + + + Could not find certificate installation process. + + + + + Failed to write temporary file. + + + + + Error executing process: %1 + + + + + Error monitoring process: %1 + + + + + Certificate installation timed out. + + + + + Failed to check process status: %1 + + + + + The process failed with return code. %1 + + + + + Failed to start installer process. + + + + + + Failed to complete installation. + + + + + MainWindow + + + An updated certificate list is available. Click here to install. + + + + + An update for %1 is available. Click here to install. + + + + + Check for Updates + + + + + + + Quit + + + + + TrustBridge + + + + + Menu + + + + + Force Update + + + + + Settings + + + + + Statusdialog + + + + + Help + + + + + About + + + + + Managed Certificates + + + + + autoupdate + + + + + Install selected + + + + + Details + + + + + Error executing update + + + + + Installing certificates... + + + + + QObject + + + Certificate: + <bold>%1</bold> + %2, %3 + +Serial number: +%4 +Valid from: <bold>%5</bold> to <bold>%6</bold> + +Issued by: .. + + + + + Failed to parse certificate + + + + + Couldn't detect any system tray on this system. This software can only be used in a desktop environment. + + + + + StatusDialog + + + The following certificates are successfully installed: + + + + + * Email CA 2013 + + + + + * Server CA 2010 + + + + + The following certificates are successfully removed: + + + + + * Email CA 2010 + + + + + Errors while processing certificates: + + + + + * PCA-1-Verwaltung-08 + + + + + Close + + + +