mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-04-26 21:54:33 +00:00
Merge pull request #16 from QuasarApp/task_15
Add new languages and translation
This commit is contained in:
commit
032cd05c12
@ -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}")
|
||||
|
||||
|
@ -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>
|
||||
|
11
qmlNotify_languages/de.ts
Normal file
11
qmlNotify_languages/de.ts
Normal file
@ -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>
|
11
qmlNotify_languages/es.ts
Normal file
11
qmlNotify_languages/es.ts
Normal file
@ -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>
|
11
qmlNotify_languages/fr.ts
Normal file
11
qmlNotify_languages/fr.ts
Normal file
@ -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>
|
11
qmlNotify_languages/pl.ts
Normal file
11
qmlNotify_languages/pl.ts
Normal file
@ -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>
|
11
qmlNotify_languages/zh.ts
Normal file
11
qmlNotify_languages/zh.ts
Normal file
@ -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>
|
Loading…
x
Reference in New Issue
Block a user