From 86c8d54eea67b30886f54a1313743fca41b91963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= <zhuzichu520@outlook.com> Date: Sat, 9 Mar 2024 18:40:32 +0800 Subject: [PATCH] update --- example/example_en.ts | 16 +++++++++------- example/example_zh.ts | 20 ++++++++++++++------ example/qml-Qt6/page/T_Dialog.qml | 2 +- example/qml-Qt6/page/T_Home.qml | 2 +- example/qml-Qt6/page/T_Menu.qml | 2 +- example/qml/page/T_Dialog.qml | 2 +- example/qml/page/T_Home.qml | 2 +- example/qml/page/T_Menu.qml | 2 +- 8 files changed, 29 insertions(+), 19 deletions(-) diff --git a/example/example_en.ts b/example/example_en.ts index 3dc816f4..dd51edfa 100644 --- a/example/example_en.ts +++ b/example/example_en.ts @@ -396,7 +396,6 @@ <location filename="qml/global/ItemsOriginal.qml" line="282"/> <location filename="qml-Qt6/global/ItemsOriginal.qml" line="282"/> <source>Presents information from different sources in a tabbed view.</source> - <oldsource>Presents information from different sources in atabbed view.</oldsource> <translation type="unfinished"></translation> </message> <message> @@ -529,7 +528,6 @@ <location filename="qml/global/ItemsOriginal.qml" line="396"/> <location filename="qml-Qt6/global/ItemsOriginal.qml" line="396"/> <source>Scatter Chart</source> - <oldsource>Lang Scatter Chart</oldsource> <translation type="unfinished"></translation> </message> <message> @@ -613,7 +611,6 @@ <location filename="qml/window/LoginWindow.qml" line="31"/> <location filename="qml-Qt6/window/LoginWindow.qml" line="31"/> <source>Please enter the account</source> - <oldsource>Please enter the account number</oldsource> <translation type="unfinished"></translation> </message> <message> @@ -1339,7 +1336,6 @@ Updated content: <location filename="qml/page/T_ColorPicker.qml" line="28"/> <location filename="qml-Qt6/page/T_ColorPicker.qml" line="28"/> <source>Green</source> - <oldsource>Greeb</oldsource> <translation type="unfinished"></translation> </message> <message> @@ -1497,6 +1493,12 @@ Updated content: <source>Click the OK Button</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="qml/page/T_Dialog.qml" line="67"/> + <location filename="qml-Qt6/page/T_Dialog.qml" line="67"/> + <source>Show Triple Button Dialog</source> + <translation type="unfinished"></translation> + </message> <message> <location filename="qml/page/T_Dialog.qml" line="111"/> <location filename="qml-Qt6/page/T_Dialog.qml" line="111"/> @@ -1624,7 +1626,7 @@ My only desire is to be permitted to drive out the traitors and restore the Han. <message> <location filename="qml/page/T_Home.qml" line="27"/> <location filename="qml-Qt6/page/T_Home.qml" line="27"/> - <source>FluentUI Initializr is a FluentUI tool that helps you create and customize Fluent UI projects with various options.</source> + <source>FluentUI Initializr is a Tool that helps you create and customize Fluent UI projects with various options.</source> <translation type="unfinished"></translation> </message> </context> @@ -1767,7 +1769,9 @@ My only desire is to be permitted to drive out the traitors and restore the Han. </message> <message> <location filename="qml/page/T_Menu.qml" line="26"/> + <location filename="qml/page/T_Menu.qml" line="30"/> <location filename="qml-Qt6/page/T_Menu.qml" line="26"/> + <location filename="qml-Qt6/page/T_Menu.qml" line="30"/> <source>Search</source> <translation type="unfinished"></translation> </message> @@ -1963,7 +1967,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han. <location filename="qml/chart/T_PieChart.qml" line="10"/> <location filename="qml-Qt6/chart/T_PieChart.qml" line="10"/> <source>Pie Chart</source> - <oldsource>Doughnut and Pie Chart</oldsource> <translation type="unfinished"></translation> </message> </context> @@ -2030,7 +2033,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han. <location filename="qml/chart/T_PolarAreaChart.qml" line="10"/> <location filename="qml-Qt6/chart/T_PolarAreaChart.qml" line="10"/> <source>Polar Area Chart</source> - <oldsource>PolarArea Chart</oldsource> <translation type="unfinished"></translation> </message> </context> diff --git a/example/example_zh.ts b/example/example_zh.ts index f5f64a70..3fd4fadb 100644 --- a/example/example_zh.ts +++ b/example/example_zh.ts @@ -1497,6 +1497,12 @@ Updated content: <source>Click the OK Button</source> <translation type="unfinished">单击确定按钮</translation> </message> + <message> + <location filename="qml/page/T_Dialog.qml" line="67"/> + <location filename="qml-Qt6/page/T_Dialog.qml" line="67"/> + <source>Show Triple Button Dialog</source> + <translation type="unfinished">显示三个按钮对话框</translation> + </message> <message> <location filename="qml/page/T_Dialog.qml" line="111"/> <location filename="qml-Qt6/page/T_Dialog.qml" line="111"/> @@ -1558,13 +1564,13 @@ Updated content: <location filename="qml/page/T_Expander.qml" line="26"/> <location filename="qml-Qt6/page/T_Expander.qml" line="26"/> <source>Open a radio box</source> - <translation type="unfinished"></translation> + <translation type="unfinished">打开一个单选框</translation> </message> <message> <location filename="qml/page/T_Expander.qml" line="53"/> <location filename="qml-Qt6/page/T_Expander.qml" line="53"/> <source>Open a sliding text box</source> - <translation type="unfinished"></translation> + <translation type="unfinished">打开一个滑动文本框</translation> </message> <message> <location filename="qml/page/T_Expander.qml" line="69"/> @@ -1632,7 +1638,7 @@ My only desire is to be permitted to drive out the traitors and restore the Han. <message> <location filename="qml/page/T_Home.qml" line="27"/> <location filename="qml-Qt6/page/T_Home.qml" line="27"/> - <source>FluentUI Initializr is a FluentUI tool that helps you create and customize Fluent UI projects with various options.</source> + <source>FluentUI Initializr is a Tool that helps you create and customize Fluent UI projects with various options.</source> <translation type="unfinished">FluentUI 脚手架是一个快速创建项目工具,可帮助您创建和自定义具有各种选项的 Fluent UI 项目</translation> </message> </context> @@ -1775,7 +1781,9 @@ My only desire is to be permitted to drive out the traitors and restore the Han. </message> <message> <location filename="qml/page/T_Menu.qml" line="26"/> + <location filename="qml/page/T_Menu.qml" line="30"/> <location filename="qml-Qt6/page/T_Menu.qml" line="26"/> + <location filename="qml-Qt6/page/T_Menu.qml" line="30"/> <source>Search</source> <translation type="unfinished">搜索</translation> </message> @@ -1793,7 +1801,7 @@ My only desire is to be permitted to drive out the traitors and restore the Han. <location filename="qml/page/T_Menu.qml" line="41"/> <location filename="qml-Qt6/page/T_Menu.qml" line="41"/> <source>Check</source> - <translation type="unfinished">Check</translation> + <translation type="unfinished">复选</translation> </message> <message> <location filename="qml/page/T_Menu.qml" line="43"/> @@ -1823,13 +1831,13 @@ My only desire is to be permitted to drive out the traitors and restore the Han. <location filename="qml/page/T_Menu.qml" line="68"/> <location filename="qml-Qt6/page/T_Menu.qml" line="68"/> <source>Show Menu Popup</source> - <translation type="unfinished"></translation> + <translation type="unfinished">打开菜单弹框</translation> </message> <message> <location filename="qml/page/T_Menu.qml" line="115"/> <location filename="qml-Qt6/page/T_Menu.qml" line="115"/> <source>MenuBar</source> - <translation type="unfinished"></translation> + <translation type="unfinished">菜单栏</translation> </message> <message> <location filename="qml/page/T_Menu.qml" line="138"/> diff --git a/example/qml-Qt6/page/T_Dialog.qml b/example/qml-Qt6/page/T_Dialog.qml index a8ba2ed0..23bef093 100644 --- a/example/qml-Qt6/page/T_Dialog.qml +++ b/example/qml-Qt6/page/T_Dialog.qml @@ -64,7 +64,7 @@ FluScrollablePage{ Layout.topMargin: 20 FluButton{ anchors.verticalCenter: parent.verticalCenter - text:"Show Triple Button Dialog" + text: qsTr("Show Triple Button Dialog") onClicked: { triple_btn_dialog.open() } diff --git a/example/qml-Qt6/page/T_Home.qml b/example/qml-Qt6/page/T_Home.qml index 23fa8339..5a850dc4 100644 --- a/example/qml-Qt6/page/T_Home.qml +++ b/example/qml-Qt6/page/T_Home.qml @@ -24,7 +24,7 @@ FluScrollablePage{ ListElement{ icon: "qrc:/example/res/image/favicon.ico" title: qsTr("FluentUI Initalizr") - desc: qsTr("FluentUI Initializr is a FluentUI tool that helps you create and customize Fluent UI projects with various options.") + desc: qsTr("FluentUI Initializr is a Tool that helps you create and customize Fluent UI projects with various options.") url: "https://github.com/zhuzichu520/FluentUI" clicked: function(model){ FluApp.navigate("/fluentInitalizr") diff --git a/example/qml-Qt6/page/T_Menu.qml b/example/qml-Qt6/page/T_Menu.qml index 5f6e51da..56b5ef09 100644 --- a/example/qml-Qt6/page/T_Menu.qml +++ b/example/qml-Qt6/page/T_Menu.qml @@ -27,7 +27,7 @@ FluScrollablePage{ iconSource: FluentIcons.Zoom iconSpacing: 3 onTriggered: { - showError("Search") + showError(qsTr("Search")) } } Action { diff --git a/example/qml/page/T_Dialog.qml b/example/qml/page/T_Dialog.qml index 6df1221b..33ffd56d 100644 --- a/example/qml/page/T_Dialog.qml +++ b/example/qml/page/T_Dialog.qml @@ -64,7 +64,7 @@ FluScrollablePage{ Layout.topMargin: 20 FluButton{ anchors.verticalCenter: parent.verticalCenter - text:"Show Triple Button Dialog" + text: qsTr("Show Triple Button Dialog") onClicked: { triple_btn_dialog.open() } diff --git a/example/qml/page/T_Home.qml b/example/qml/page/T_Home.qml index 6c7ac4b7..e1195786 100644 --- a/example/qml/page/T_Home.qml +++ b/example/qml/page/T_Home.qml @@ -24,7 +24,7 @@ FluScrollablePage{ ListElement{ icon: "qrc:/example/res/image/favicon.ico" title: qsTr("FluentUI Initalizr") - desc: qsTr("FluentUI Initializr is a FluentUI tool that helps you create and customize Fluent UI projects with various options.") + desc: qsTr("FluentUI Initializr is a Tool that helps you create and customize Fluent UI projects with various options.") url: "https://github.com/zhuzichu520/FluentUI" clicked: function(model){ FluApp.navigate("/fluentInitalizr") diff --git a/example/qml/page/T_Menu.qml b/example/qml/page/T_Menu.qml index e98dfcfe..b7c3e32a 100644 --- a/example/qml/page/T_Menu.qml +++ b/example/qml/page/T_Menu.qml @@ -27,7 +27,7 @@ FluScrollablePage{ iconSource: FluentIcons.Zoom iconSpacing: 3 onTriggered: { - showError("Search") + showError(qsTr("Search")) } } Action {