diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/i18n/i18n.pro | 4 | ||||
-rw-r--r-- | examples/i18n/mywidget_tr.qm | bin | 0 -> 337 bytes | |||
-rw-r--r-- | examples/i18n/mywidget_tr.ts | 70 | ||||
-rw-r--r-- | examples/i18n/mywidget_zh.qm | bin | 706 -> 764 bytes | |||
-rw-r--r-- | examples/i18n/mywidget_zh.ts | 34 |
5 files changed, 92 insertions, 16 deletions
diff --git a/examples/i18n/i18n.pro b/examples/i18n/i18n.pro index e46561410..fda72255e 100644 --- a/examples/i18n/i18n.pro +++ b/examples/i18n/i18n.pro @@ -10,6 +10,7 @@ HEADERS = mywidget.h SOURCES = main.cpp \ mywidget.cpp TRANSLATIONS = mywidget.ts \ + mywidget_ar.ts \ mywidget_cs.ts \ mywidget_de.ts \ mywidget_el.ts \ @@ -19,5 +20,8 @@ TRANSLATIONS = mywidget.ts \ mywidget_jp.ts \ mywidget_ko.ts \ mywidget_no.ts \ + mywidget_pt.ts \ mywidget_ru.ts \ + mywidget_sk.ts \ + mywidget_tr.ts \ mywidget_zh.ts diff --git a/examples/i18n/mywidget_tr.qm b/examples/i18n/mywidget_tr.qm Binary files differnew file mode 100644 index 000000000..6bd22c41d --- /dev/null +++ b/examples/i18n/mywidget_tr.qm diff --git a/examples/i18n/mywidget_tr.ts b/examples/i18n/mywidget_tr.ts new file mode 100644 index 000000000..0074d2567 --- /dev/null +++ b/examples/i18n/mywidget_tr.ts @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS language="tr"> +<context> + <name>MyWidget</name> + <message> + <source>E&xit</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Ctrl+Q</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>&File</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Internationalization Example</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Language: English</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>The Main Window</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>View</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Perspective</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Isometric</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Oblique</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>First</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Second</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Third</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QVDialog</name> + <message> + <source>OK</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/examples/i18n/mywidget_zh.qm b/examples/i18n/mywidget_zh.qm Binary files differindex a890c0961..33d3d721f 100644 --- a/examples/i18n/mywidget_zh.qm +++ b/examples/i18n/mywidget_zh.qm diff --git a/examples/i18n/mywidget_zh.ts b/examples/i18n/mywidget_zh.ts index 8b015d6d6..9f0b183fd 100644 --- a/examples/i18n/mywidget_zh.ts +++ b/examples/i18n/mywidget_zh.ts @@ -1,68 +1,70 @@ -<!DOCTYPE TS><TS> +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS> <context encoding="UTF-8"> <name>MyWidget</name> <message encoding="UTF-8"> <source>View</source> - <translation type="unfinished">视图</translation> + <translation>檢視</translation> </message> <message encoding="UTF-8"> <source>&File</source> - <translation type="unfinished">文件[&F]</translation> + <translation>檔案[&F]</translation> </message> <message encoding="UTF-8"> <source>E&xit</source> - <translation type="unfinished">退出[&x]</translation> + <translation>退出[&x]</translation> </message> <message encoding="UTF-8"> <source>First</source> - <translation type="unfinished">第一个</translation> + <translation>第一個</translation> </message> <message encoding="UTF-8"> <source>Third</source> - <translation type="unfinished">第三个</translation> + <translation>第三個</translation> </message> <message encoding="UTF-8"> <source>Language: English</source> - <translation type="unfinished">语言: 简体中文</translation> + <translation>語言: 正體中文</translation> </message> <message encoding="UTF-8"> <source>The Main Window</source> - <translation type="unfinished">主窗口</translation> + <translation>主視窗</translation> </message> <message encoding="UTF-8"> <source>Ctrl+Q</source> - <translation type="unfinished">Ctrl+Q</translation> + <translation>Ctrl+Q</translation> </message> <message encoding="UTF-8"> <source>Oblique</source> - <translation type="unfinished">斜投影</translation> + <translation>斜角投影</translation> </message> <message encoding="UTF-8"> <source>Second</source> - <translation type="unfinished">第二个</translation> + <translation>第二個</translation> </message> <message encoding="UTF-8"> <source>Isometric</source> - <translation type="unfinished">等角投影</translation> + <translation>等角投影</translation> </message> <message encoding="UTF-8"> <source>Perspective</source> - <translation type="unfinished">透视投影</translation> + <translation>透視投影</translation> </message> <message encoding="UTF-8"> <source>Internationalization Example</source> - <translation type="unfinished">国际化范例</translation> + <translation>國際化範例</translation> </message> </context> <context> <name>QVDialog</name> <message> <source>OK</source> - <translation type="unfinished"></translation> + <translation>確定</translation> </message> <message> <source>Cancel</source> - <translation type="unfinished"></translation> + <translation>取消</translation> </message> </context> </TS> |