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 @@ <file>qmlNotify_languages/ja.qm</file> <file>qmlNotify_languages/en.qm</file> <file>qmlNotify_languages/uk.qm</file> + <file>qmlNotify_languages/pl.qm</file> + <file>qmlNotify_languages/es.qm</file> + <file>qmlNotify_languages/fr.qm</file> + <file>qmlNotify_languages/de.qm</file> + <file>qmlNotify_languages/zh.qm</file> </qresource> <qresource prefix="/icons"> <file alias="warning">icons/Warning.png</file> 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="de_DE" sourcelanguage="en"> +<context> + <name>NotificationForm</name> + <message> + <source>Message</source> + <translation>Botschaft</translation> + </message> +</context> +</TS> 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="es" sourcelanguage="en"> +<context> + <name>NotificationForm</name> + <message> + <source>Message</source> + <translation>Mensaje</translation> + </message> +</context> +</TS> 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="fr" sourcelanguage="en"> +<context> + <name>NotificationForm</name> + <message> + <source>Message</source> + <translation>Un message</translation> + </message> +</context> +</TS> 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="pl" sourcelanguage="en"> +<context> + <name>NotificationForm</name> + <message> + <source>Message</source> + <translation>Wiadomość</translation> + </message> +</context> +</TS> 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="zh" sourcelanguage="en"> +<context> + <name>NotificationForm</name> + <message> + <source>Message</source> + <translation>信息</translation> + </message> +</context> +</TS>