From eed3a6049e428a0b8b75045727467d56ad5d5437 Mon Sep 17 00:00:00 2001 From: Oleg-designer Date: Sat, 29 May 2021 12:27:16 +0300 Subject: [PATCH] ref #15 Add new languages and translation --- CMakeLists.txt | 8 ++++++-- NotifyModule.qrc | 5 +++++ qmlNotify_languages/de.ts | 11 +++++++++++ qmlNotify_languages/es.ts | 11 +++++++++++ qmlNotify_languages/fr.ts | 11 +++++++++++ qmlNotify_languages/pl.ts | 11 +++++++++++ qmlNotify_languages/zh.ts | 11 +++++++++++ 7 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 qmlNotify_languages/de.ts create mode 100644 qmlNotify_languages/es.ts create mode 100644 qmlNotify_languages/fr.ts create mode 100644 qmlNotify_languages/pl.ts create mode 100644 qmlNotify_languages/zh.ts diff --git a/CMakeLists.txt b/CMakeLists.txt index c556fd6..b6649fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,10 +34,14 @@ target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) set(LANGS ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/en.ts ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/ru.ts + ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/uk.ts ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/ja.ts ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/tr.ts - ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/uk.ts) - + ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/zh.ts + ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/de.ts + ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/fr.ts + ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/es.ts + ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/pl.ts) prepareQM( ${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR} "${LANGS}") diff --git a/NotifyModule.qrc b/NotifyModule.qrc index cba7025..68a69a8 100644 --- a/NotifyModule.qrc +++ b/NotifyModule.qrc @@ -11,6 +11,11 @@ qmlNotify_languages/ja.qm qmlNotify_languages/en.qm qmlNotify_languages/uk.qm + qmlNotify_languages/pl.qm + qmlNotify_languages/es.qm + qmlNotify_languages/fr.qm + qmlNotify_languages/de.qm + qmlNotify_languages/zh.qm icons/Warning.png diff --git a/qmlNotify_languages/de.ts b/qmlNotify_languages/de.ts new file mode 100644 index 0000000..b918166 --- /dev/null +++ b/qmlNotify_languages/de.ts @@ -0,0 +1,11 @@ + + + + + NotificationForm + + Message + Botschaft + + + diff --git a/qmlNotify_languages/es.ts b/qmlNotify_languages/es.ts new file mode 100644 index 0000000..ffb535e --- /dev/null +++ b/qmlNotify_languages/es.ts @@ -0,0 +1,11 @@ + + + + + NotificationForm + + Message + Mensaje + + + diff --git a/qmlNotify_languages/fr.ts b/qmlNotify_languages/fr.ts new file mode 100644 index 0000000..b1d0e30 --- /dev/null +++ b/qmlNotify_languages/fr.ts @@ -0,0 +1,11 @@ + + + + + NotificationForm + + Message + Un message + + + diff --git a/qmlNotify_languages/pl.ts b/qmlNotify_languages/pl.ts new file mode 100644 index 0000000..5d17eaf --- /dev/null +++ b/qmlNotify_languages/pl.ts @@ -0,0 +1,11 @@ + + + + + NotificationForm + + Message + Wiadomość + + + diff --git a/qmlNotify_languages/zh.ts b/qmlNotify_languages/zh.ts new file mode 100644 index 0000000..db5c2bf --- /dev/null +++ b/qmlNotify_languages/zh.ts @@ -0,0 +1,11 @@ + + + + + NotificationForm + + Message + 信息 + + +