This commit is contained in:
朱子楚\zhuzi 2024-03-13 17:54:11 +08:00
parent e11f1a1232
commit 099e966d9b
46 changed files with 806 additions and 492 deletions

View File

@ -634,128 +634,126 @@
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="24"/> <location filename="qml/window/MainWindow.qml" line="320"/>
<location filename="qml/window/MainWindow.qml" line="321"/> <location filename="qml-Qt6/window/MainWindow.qml" line="320"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="24"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="321"/>
<source>Dark Mode</source> <source>Dark Mode</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="97"/> <location filename="qml/window/MainWindow.qml" line="96"/>
<location filename="qml/window/MainWindow.qml" line="105"/> <location filename="qml/window/MainWindow.qml" line="104"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="97"/> <location filename="qml-Qt6/window/MainWindow.qml" line="96"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="105"/> <location filename="qml-Qt6/window/MainWindow.qml" line="104"/>
<source>Quit</source> <source>Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="qml/window/MainWindow.qml" line="97"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="97"/>
<source>Are you sure you want to exit the program?</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="98"/> <location filename="qml/window/MainWindow.qml" line="98"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="98"/> <location filename="qml-Qt6/window/MainWindow.qml" line="98"/>
<source>Are you sure you want to exit the program?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/window/MainWindow.qml" line="99"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="99"/>
<source>Minimize</source> <source>Minimize</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="102"/> <location filename="qml/window/MainWindow.qml" line="101"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="102"/> <location filename="qml-Qt6/window/MainWindow.qml" line="101"/>
<source>Friendly Reminder</source> <source>Friendly Reminder</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="102"/> <location filename="qml/window/MainWindow.qml" line="101"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="102"/> <location filename="qml-Qt6/window/MainWindow.qml" line="101"/>
<source>FluentUI is hidden from the tray, click on the tray to activate the window again</source> <source>FluentUI is hidden from the tray, click on the tray to activate the window again</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="106"/> <location filename="qml/window/MainWindow.qml" line="105"/>
<location filename="qml/window/MainWindow.qml" line="350"/> <location filename="qml/window/MainWindow.qml" line="349"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="106"/> <location filename="qml-Qt6/window/MainWindow.qml" line="105"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="350"/> <location filename="qml-Qt6/window/MainWindow.qml" line="349"/>
<source>Cancel</source> <source>Cancel</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="117"/> <location filename="qml/window/MainWindow.qml" line="116"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="117"/> <location filename="qml-Qt6/window/MainWindow.qml" line="116"/>
<source>Open in Separate Window</source> <source>Open in Separate Window</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="214"/> <location filename="qml/window/MainWindow.qml" line="213"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="214"/> <location filename="qml-Qt6/window/MainWindow.qml" line="213"/>
<source>Click Time</source> <source>Click Time</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="224"/> <location filename="qml/window/MainWindow.qml" line="223"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="224"/> <location filename="qml-Qt6/window/MainWindow.qml" line="223"/>
<source>Search</source> <source>Search</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="qml/window/MainWindow.qml" line="314"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="314"/>
<source>Finish</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="315"/> <location filename="qml/window/MainWindow.qml" line="315"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="315"/> <location filename="qml-Qt6/window/MainWindow.qml" line="315"/>
<source>Finish</source> <source>Next</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="316"/> <location filename="qml/window/MainWindow.qml" line="316"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="316"/> <location filename="qml-Qt6/window/MainWindow.qml" line="316"/>
<source>Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/window/MainWindow.qml" line="317"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="317"/>
<source>Previous</source> <source>Previous</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="321"/> <location filename="qml/window/MainWindow.qml" line="320"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="321"/> <location filename="qml-Qt6/window/MainWindow.qml" line="320"/>
<source>Here you can switch to night mode.</source> <source>Here you can switch to night mode.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="323"/> <location filename="qml/window/MainWindow.qml" line="322"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="323"/> <location filename="qml-Qt6/window/MainWindow.qml" line="322"/>
<source>Hide Easter eggs</source> <source>Hide Easter eggs</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="323"/> <location filename="qml/window/MainWindow.qml" line="322"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="323"/> <location filename="qml-Qt6/window/MainWindow.qml" line="322"/>
<source>Try a few more clicks!!</source> <source>Try a few more clicks!!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="qml/window/MainWindow.qml" line="346"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="346"/>
<source>Upgrade Tips</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="347"/> <location filename="qml/window/MainWindow.qml" line="347"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="347"/> <location filename="qml-Qt6/window/MainWindow.qml" line="347"/>
<source>Upgrade Tips</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/window/MainWindow.qml" line="348"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="348"/>
<source>FluentUI is currently up to date </source> <source>FluentUI is currently up to date </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="348"/> <location filename="qml/window/MainWindow.qml" line="347"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="348"/> <location filename="qml-Qt6/window/MainWindow.qml" line="347"/>
<source> -- The current app version</source> <source> -- The current app version</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="348"/> <location filename="qml/window/MainWindow.qml" line="347"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="348"/> <location filename="qml-Qt6/window/MainWindow.qml" line="347"/>
<source> <source>
Now go and download the new version Now go and download the new version
@ -764,20 +762,20 @@ Updated content:
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="351"/> <location filename="qml/window/MainWindow.qml" line="350"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="351"/> <location filename="qml-Qt6/window/MainWindow.qml" line="350"/>
<source>OK</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="378"/> <location filename="qml/window/MainWindow.qml" line="377"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="378"/> <location filename="qml-Qt6/window/MainWindow.qml" line="377"/>
<source>The current version is already the latest</source> <source>The current version is already the latest</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="385"/> <location filename="qml/window/MainWindow.qml" line="384"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="385"/> <location filename="qml-Qt6/window/MainWindow.qml" line="384"/>
<source>The network is abnormal</source> <source>The network is abnormal</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1380,48 +1378,33 @@ Updated content:
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="27"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="56"/>
<location filename="qml/page/T_DatePicker.qml" line="61"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="27"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="61"/>
<source>Year</source> <source>Year</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="28"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="57"/>
<location filename="qml/page/T_DatePicker.qml" line="62"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="28"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="62"/>
<source>Month</source> <source>Month</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="29"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="58"/>
<location filename="qml/page/T_DatePicker.qml" line="63"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="29"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="63"/>
<source>Day</source> <source>Day</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="30"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="59"/>
<location filename="qml/page/T_DatePicker.qml" line="64"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="30"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="64"/>
<source>Cancel</source> <source>Cancel</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="31"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="60"/>
<location filename="qml/page/T_DatePicker.qml" line="65"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="31"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="65"/>
<source>OK</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="57"/> <location filename="qml/page/T_DatePicker.qml" line="52"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="57"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="52"/>
<source>showYear=false</source> <source>showYear=false</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1644,14 +1627,8 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Image.qml" line="27"/> <location filename="qml/page/T_Image.qml" line="29"/>
<location filename="qml-Qt6/page/T_Image.qml" line="27"/> <location filename="qml-Qt6/page/T_Image.qml" line="29"/>
<source>Reload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Image.qml" line="30"/>
<location filename="qml-Qt6/page/T_Image.qml" line="30"/>
<source>The image failed to load, please reload</source> <source>The image failed to load, please reload</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1706,12 +1683,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<source>InfoBar that needs to be turned off manually</source> <source>InfoBar that needs to be turned off manually</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="qml/page/T_InfoBar.qml" line="56"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="56"/>
<source>Loading...</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>T_LineChart</name> <name>T_LineChart</name>
@ -1945,26 +1916,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<source>Pagination</source> <source>Pagination</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="qml/page/T_Pagination.qml" line="24"/>
<location filename="qml/page/T_Pagination.qml" line="31"/>
<location filename="qml/page/T_Pagination.qml" line="38"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="24"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="31"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="38"/>
<source>&lt;Previous</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Pagination.qml" line="25"/>
<location filename="qml/page/T_Pagination.qml" line="32"/>
<location filename="qml/page/T_Pagination.qml" line="39"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="25"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="32"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="39"/>
<source>Next&gt;</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>T_PieChart</name> <name>T_PieChart</name>
@ -2267,36 +2218,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<source>ShortcutPicker</source> <source>ShortcutPicker</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="qml/page/T_ShortcutPicker.qml" line="19"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="19"/>
<source>Activate the Shortcut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_ShortcutPicker.qml" line="20"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="20"/>
<source>Press the key combination to change the shortcut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_ShortcutPicker.qml" line="21"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="21"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_ShortcutPicker.qml" line="22"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="22"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_ShortcutPicker.qml" line="23"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="23"/>
<source>Reset</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>T_Slider</name> <name>T_Slider</name>
@ -2766,80 +2687,62 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<context> <context>
<name>T_Tour</name> <name>T_Tour</name>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="14"/> <location filename="qml/page/T_Tour.qml" line="15"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="14"/> <location filename="qml-Qt6/page/T_Tour.qml" line="15"/>
<source>Finish</source> <source>Upload File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="15"/> <location filename="qml/page/T_Tour.qml" line="15"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="15"/> <location filename="qml-Qt6/page/T_Tour.qml" line="15"/>
<source>Next</source> <source>Put your files here.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Tour.qml" line="16"/>
<location filename="qml/page/T_Tour.qml" line="53"/>
<location filename="qml/page/T_Tour.qml" line="55"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="16"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="53"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="55"/>
<source>Save</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="16"/> <location filename="qml/page/T_Tour.qml" line="16"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="16"/> <location filename="qml-Qt6/page/T_Tour.qml" line="16"/>
<source>Previous</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Tour.qml" line="18"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="18"/>
<source>Upload File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Tour.qml" line="18"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="18"/>
<source>Put your files here.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Tour.qml" line="19"/>
<location filename="qml/page/T_Tour.qml" line="56"/>
<location filename="qml/page/T_Tour.qml" line="58"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="19"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="56"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="58"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Tour.qml" line="19"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="19"/>
<source>Save your changes.</source> <source>Save your changes.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="20"/> <location filename="qml/page/T_Tour.qml" line="17"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="20"/> <location filename="qml-Qt6/page/T_Tour.qml" line="17"/>
<source>Other Actions</source> <source>Other Actions</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="20"/> <location filename="qml/page/T_Tour.qml" line="17"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="20"/> <location filename="qml-Qt6/page/T_Tour.qml" line="17"/>
<source>Click to see other actions.</source> <source>Click to see other actions.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="35"/> <location filename="qml/page/T_Tour.qml" line="32"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="35"/> <location filename="qml-Qt6/page/T_Tour.qml" line="32"/>
<source>Begin Tour</source> <source>Begin Tour</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="49"/> <location filename="qml/page/T_Tour.qml" line="46"/>
<location filename="qml/page/T_Tour.qml" line="51"/> <location filename="qml/page/T_Tour.qml" line="48"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="49"/> <location filename="qml-Qt6/page/T_Tour.qml" line="46"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="51"/> <location filename="qml-Qt6/page/T_Tour.qml" line="48"/>
<source>Upload</source> <source>Upload</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="65"/> <location filename="qml/page/T_Tour.qml" line="62"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="65"/> <location filename="qml-Qt6/page/T_Tour.qml" line="62"/>
<source>More</source> <source>More</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -634,128 +634,126 @@
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="24"/> <location filename="qml/window/MainWindow.qml" line="320"/>
<location filename="qml/window/MainWindow.qml" line="321"/> <location filename="qml-Qt6/window/MainWindow.qml" line="320"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="24"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="321"/>
<source>Dark Mode</source> <source>Dark Mode</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="97"/> <location filename="qml/window/MainWindow.qml" line="96"/>
<location filename="qml/window/MainWindow.qml" line="105"/> <location filename="qml/window/MainWindow.qml" line="104"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="97"/> <location filename="qml-Qt6/window/MainWindow.qml" line="96"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="105"/> <location filename="qml-Qt6/window/MainWindow.qml" line="104"/>
<source>Quit</source> <source>Quit</source>
<translation type="unfinished">退</translation> <translation type="unfinished">退</translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="98"/> <location filename="qml/window/MainWindow.qml" line="97"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="98"/> <location filename="qml-Qt6/window/MainWindow.qml" line="97"/>
<source>Are you sure you want to exit the program?</source> <source>Are you sure you want to exit the program?</source>
<translation type="unfinished">退</translation> <translation type="unfinished">退</translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="99"/> <location filename="qml/window/MainWindow.qml" line="98"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="99"/> <location filename="qml-Qt6/window/MainWindow.qml" line="98"/>
<source>Minimize</source> <source>Minimize</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="102"/> <location filename="qml/window/MainWindow.qml" line="101"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="102"/> <location filename="qml-Qt6/window/MainWindow.qml" line="101"/>
<source>Friendly Reminder</source> <source>Friendly Reminder</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="102"/> <location filename="qml/window/MainWindow.qml" line="101"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="102"/> <location filename="qml-Qt6/window/MainWindow.qml" line="101"/>
<source>FluentUI is hidden from the tray, click on the tray to activate the window again</source> <source>FluentUI is hidden from the tray, click on the tray to activate the window again</source>
<translation type="unfinished">FluentUI </translation> <translation type="unfinished">FluentUI </translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="106"/> <location filename="qml/window/MainWindow.qml" line="105"/>
<location filename="qml/window/MainWindow.qml" line="350"/> <location filename="qml/window/MainWindow.qml" line="349"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="106"/> <location filename="qml-Qt6/window/MainWindow.qml" line="105"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="350"/> <location filename="qml-Qt6/window/MainWindow.qml" line="349"/>
<source>Cancel</source> <source>Cancel</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="117"/> <location filename="qml/window/MainWindow.qml" line="116"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="117"/> <location filename="qml-Qt6/window/MainWindow.qml" line="116"/>
<source>Open in Separate Window</source> <source>Open in Separate Window</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="214"/> <location filename="qml/window/MainWindow.qml" line="213"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="214"/> <location filename="qml-Qt6/window/MainWindow.qml" line="213"/>
<source>Click Time</source> <source>Click Time</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="224"/> <location filename="qml/window/MainWindow.qml" line="223"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="224"/> <location filename="qml-Qt6/window/MainWindow.qml" line="223"/>
<source>Search</source> <source>Search</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="315"/> <location filename="qml/window/MainWindow.qml" line="314"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="315"/> <location filename="qml-Qt6/window/MainWindow.qml" line="314"/>
<source>Finish</source> <source>Finish</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="316"/> <location filename="qml/window/MainWindow.qml" line="315"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="316"/> <location filename="qml-Qt6/window/MainWindow.qml" line="315"/>
<source>Next</source> <source>Next</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="317"/> <location filename="qml/window/MainWindow.qml" line="316"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="317"/> <location filename="qml-Qt6/window/MainWindow.qml" line="316"/>
<source>Previous</source> <source>Previous</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="321"/> <location filename="qml/window/MainWindow.qml" line="320"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="321"/> <location filename="qml-Qt6/window/MainWindow.qml" line="320"/>
<source>Here you can switch to night mode.</source> <source>Here you can switch to night mode.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="323"/> <location filename="qml/window/MainWindow.qml" line="322"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="323"/> <location filename="qml-Qt6/window/MainWindow.qml" line="322"/>
<source>Hide Easter eggs</source> <source>Hide Easter eggs</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="323"/> <location filename="qml/window/MainWindow.qml" line="322"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="323"/> <location filename="qml-Qt6/window/MainWindow.qml" line="322"/>
<source>Try a few more clicks!!</source> <source>Try a few more clicks!!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="347"/> <location filename="qml/window/MainWindow.qml" line="346"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="347"/> <location filename="qml-Qt6/window/MainWindow.qml" line="346"/>
<source>Upgrade Tips</source> <source>Upgrade Tips</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="348"/> <location filename="qml/window/MainWindow.qml" line="347"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="348"/> <location filename="qml-Qt6/window/MainWindow.qml" line="347"/>
<source>FluentUI is currently up to date </source> <source>FluentUI is currently up to date </source>
<translation type="unfinished">FluentUI </translation> <translation type="unfinished">FluentUI </translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="348"/> <location filename="qml/window/MainWindow.qml" line="347"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="348"/> <location filename="qml-Qt6/window/MainWindow.qml" line="347"/>
<source> -- The current app version</source> <source> -- The current app version</source>
<translation type="unfinished"> -- </translation> <translation type="unfinished"> -- </translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="348"/> <location filename="qml/window/MainWindow.qml" line="347"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="348"/> <location filename="qml-Qt6/window/MainWindow.qml" line="347"/>
<source> <source>
Now go and download the new version Now go and download the new version
@ -768,20 +766,20 @@ Updated content:
</translation> </translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="351"/> <location filename="qml/window/MainWindow.qml" line="350"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="351"/> <location filename="qml-Qt6/window/MainWindow.qml" line="350"/>
<source>OK</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="378"/> <location filename="qml/window/MainWindow.qml" line="377"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="378"/> <location filename="qml-Qt6/window/MainWindow.qml" line="377"/>
<source>The current version is already the latest</source> <source>The current version is already the latest</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/window/MainWindow.qml" line="385"/> <location filename="qml/window/MainWindow.qml" line="384"/>
<location filename="qml-Qt6/window/MainWindow.qml" line="385"/> <location filename="qml-Qt6/window/MainWindow.qml" line="384"/>
<source>The network is abnormal</source> <source>The network is abnormal</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1384,48 +1382,33 @@ Updated content:
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="27"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="56"/>
<location filename="qml/page/T_DatePicker.qml" line="61"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="27"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="61"/>
<source>Year</source> <source>Year</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="28"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="57"/>
<location filename="qml/page/T_DatePicker.qml" line="62"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="28"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="62"/>
<source>Month</source> <source>Month</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="29"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="58"/>
<location filename="qml/page/T_DatePicker.qml" line="63"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="29"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="63"/>
<source>Day</source> <source>Day</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="30"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="59"/>
<location filename="qml/page/T_DatePicker.qml" line="64"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="30"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="64"/>
<source>Cancel</source> <source>Cancel</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="31"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="60"/>
<location filename="qml/page/T_DatePicker.qml" line="65"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="31"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="65"/>
<source>OK</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_DatePicker.qml" line="57"/> <location filename="qml/page/T_DatePicker.qml" line="52"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="57"/> <location filename="qml-Qt6/page/T_DatePicker.qml" line="52"/>
<source>showYear=false</source> <source>showYear=false</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1656,14 +1639,12 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Image.qml" line="27"/>
<location filename="qml-Qt6/page/T_Image.qml" line="27"/>
<source>Reload</source> <source>Reload</source>
<translation type="unfinished"></translation> <translation type="obsolete"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Image.qml" line="30"/> <location filename="qml/page/T_Image.qml" line="29"/>
<location filename="qml-Qt6/page/T_Image.qml" line="30"/> <location filename="qml-Qt6/page/T_Image.qml" line="29"/>
<source>The image failed to load, please reload</source> <source>The image failed to load, please reload</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1719,10 +1700,8 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_InfoBar.qml" line="56"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="56"/>
<source>Loading...</source> <source>Loading...</source>
<translation type="unfinished">...</translation> <translation type="obsolete">...</translation>
</message> </message>
</context> </context>
<context> <context>
@ -1958,24 +1937,12 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Pagination.qml" line="24"/>
<location filename="qml/page/T_Pagination.qml" line="31"/>
<location filename="qml/page/T_Pagination.qml" line="38"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="24"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="31"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="38"/>
<source>&lt;Previous</source> <source>&lt;Previous</source>
<translation type="unfinished">&lt;</translation> <translation type="obsolete">&lt;</translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Pagination.qml" line="25"/>
<location filename="qml/page/T_Pagination.qml" line="32"/>
<location filename="qml/page/T_Pagination.qml" line="39"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="25"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="32"/>
<location filename="qml-Qt6/page/T_Pagination.qml" line="39"/>
<source>Next&gt;</source> <source>Next&gt;</source>
<translation type="unfinished">&gt;</translation> <translation type="obsolete">&gt;</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2282,34 +2249,24 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_ShortcutPicker.qml" line="19"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="19"/>
<source>Activate the Shortcut</source> <source>Activate the Shortcut</source>
<translation type="unfinished"></translation> <translation type="obsolete"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_ShortcutPicker.qml" line="20"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="20"/>
<source>Press the key combination to change the shortcut</source> <source>Press the key combination to change the shortcut</source>
<translation type="unfinished"></translation> <translation type="obsolete"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_ShortcutPicker.qml" line="21"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="21"/>
<source>Save</source> <source>Save</source>
<translation type="unfinished"></translation> <translation type="obsolete"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_ShortcutPicker.qml" line="22"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="22"/>
<source>Cancel</source> <source>Cancel</source>
<translation type="unfinished"></translation> <translation type="obsolete"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_ShortcutPicker.qml" line="23"/>
<location filename="qml-Qt6/page/T_ShortcutPicker.qml" line="23"/>
<source>Reset</source> <source>Reset</source>
<translation type="unfinished"></translation> <translation type="obsolete"></translation>
</message> </message>
</context> </context>
<context> <context>
@ -2780,80 +2737,74 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<context> <context>
<name>T_Tour</name> <name>T_Tour</name>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="14"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="14"/>
<source>Finish</source> <source>Finish</source>
<translation type="unfinished"></translation> <translation type="obsolete"></translation>
</message>
<message>
<source>Next</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Previous</source>
<translation type="obsolete"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="15"/> <location filename="qml/page/T_Tour.qml" line="15"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="15"/> <location filename="qml-Qt6/page/T_Tour.qml" line="15"/>
<source>Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Tour.qml" line="16"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="16"/>
<source>Previous</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_Tour.qml" line="18"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="18"/>
<source>Upload File</source> <source>Upload File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="18"/> <location filename="qml/page/T_Tour.qml" line="15"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="18"/> <location filename="qml-Qt6/page/T_Tour.qml" line="15"/>
<source>Put your files here.</source> <source>Put your files here.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="19"/> <location filename="qml/page/T_Tour.qml" line="16"/>
<location filename="qml/page/T_Tour.qml" line="56"/> <location filename="qml/page/T_Tour.qml" line="53"/>
<location filename="qml/page/T_Tour.qml" line="58"/> <location filename="qml/page/T_Tour.qml" line="55"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="19"/> <location filename="qml-Qt6/page/T_Tour.qml" line="16"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="56"/> <location filename="qml-Qt6/page/T_Tour.qml" line="53"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="58"/> <location filename="qml-Qt6/page/T_Tour.qml" line="55"/>
<source>Save</source> <source>Save</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="19"/> <location filename="qml/page/T_Tour.qml" line="16"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="19"/> <location filename="qml-Qt6/page/T_Tour.qml" line="16"/>
<source>Save your changes.</source> <source>Save your changes.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="20"/> <location filename="qml/page/T_Tour.qml" line="17"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="20"/> <location filename="qml-Qt6/page/T_Tour.qml" line="17"/>
<source>Other Actions</source> <source>Other Actions</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="20"/> <location filename="qml/page/T_Tour.qml" line="17"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="20"/> <location filename="qml-Qt6/page/T_Tour.qml" line="17"/>
<source>Click to see other actions.</source> <source>Click to see other actions.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="35"/> <location filename="qml/page/T_Tour.qml" line="32"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="35"/> <location filename="qml-Qt6/page/T_Tour.qml" line="32"/>
<source>Begin Tour</source> <source>Begin Tour</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="49"/> <location filename="qml/page/T_Tour.qml" line="46"/>
<location filename="qml/page/T_Tour.qml" line="51"/> <location filename="qml/page/T_Tour.qml" line="48"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="49"/> <location filename="qml-Qt6/page/T_Tour.qml" line="46"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="51"/> <location filename="qml-Qt6/page/T_Tour.qml" line="48"/>
<source>Upload</source> <source>Upload</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="qml/page/T_Tour.qml" line="65"/> <location filename="qml/page/T_Tour.qml" line="62"/>
<location filename="qml-Qt6/page/T_Tour.qml" line="65"/> <location filename="qml-Qt6/page/T_Tour.qml" line="62"/>
<source>More</source> <source>More</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -33,7 +33,7 @@ Item {
FluNetwork.setInterceptor(function(param){ FluNetwork.setInterceptor(function(param){
param.addHeader("Token","000000000000000000000") param.addHeader("Token","000000000000000000000")
}) })
FluApp.init(app) FluApp.init(app,Qt.locale(TranslateHelper.current))
FluApp.windowIcon = "qrc:/example/res/image/favicon.ico" FluApp.windowIcon = "qrc:/example/res/image/favicon.ico"
FluApp.useSystemAppBar = SettingsHelper.getUseSystemAppBar() FluApp.useSystemAppBar = SettingsHelper.getUseSystemAppBar()
FluTheme.darkMode = SettingsHelper.getDarkMode() FluTheme.darkMode = SettingsHelper.getDarkMode()

View File

@ -24,11 +24,6 @@ FluScrollablePage{
} }
FluDatePicker{ FluDatePicker{
current: new Date() current: new Date()
yearText: qsTr("Year")
monthText: qsTr("Month")
dayText: qsTr("Day")
cancelText: qsTr("Cancel")
okText: qsTr("OK")
onAccepted: { onAccepted: {
showSuccess(current.toLocaleDateString()) showSuccess(current.toLocaleDateString())
} }

View File

@ -24,7 +24,6 @@ FluScrollablePage{
width: 384 width: 384
height: 240 height: 240
source: "https://gitee.com/zhu-zichu/zhu-zichu/raw/74f075efe2f8d3c3bb7ba3c2259e403450e4050b/image/banner_4.jpg" source: "https://gitee.com/zhu-zichu/zhu-zichu/raw/74f075efe2f8d3c3bb7ba3c2259e403450e4050b/image/banner_4.jpg"
errorButtonText: qsTr("Reload")
onStatusChanged:{ onStatusChanged:{
if(status === Image.Error){ if(status === Image.Error){
showError(qsTr("The image failed to load, please reload")) showError(qsTr("The image failed to load, please reload"))

View File

@ -53,7 +53,7 @@ FluScrollablePage{
FluButton{ FluButton{
text:"Loading" text:"Loading"
onClicked: { onClicked: {
showLoading(qsTr("Loading...")) showLoading()
} }
} }
} }

View File

@ -21,22 +21,16 @@ FluScrollablePage{
pageCurrent: 1 pageCurrent: 1
pageButtonCount: 5 pageButtonCount: 5
itemCount: 5000 itemCount: 5000
previousText: qsTr("<Previous")
nextText: qsTr("Next>")
} }
FluPagination{ FluPagination{
pageCurrent: 2 pageCurrent: 2
itemCount: 5000 itemCount: 5000
pageButtonCount: 7 pageButtonCount: 7
previousText: qsTr("<Previous")
nextText: qsTr("Next>")
} }
FluPagination{ FluPagination{
pageCurrent: 3 pageCurrent: 3
itemCount: 5000 itemCount: 5000
pageButtonCount: 9 pageButtonCount: 9
previousText: qsTr("<Previous")
nextText: qsTr("Next>")
} }
} }

View File

@ -16,11 +16,6 @@ FluScrollablePage{
paddings: 10 paddings: 10
FluShortcutPicker{ FluShortcutPicker{
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
title: qsTr("Activate the Shortcut")
message: qsTr("Press the key combination to change the shortcut")
positiveText: qsTr("Save")
neutralText: qsTr("Cancel")
negativeText: qsTr("Reset")
} }
} }
CodeExpander{ CodeExpander{

View File

@ -11,9 +11,6 @@ FluScrollablePage{
FluTour{ FluTour{
id:tour id:tour
finishText: qsTr("Finish")
nextText: qsTr("Next")
previousText: qsTr("Previous")
steps:[ steps:[
{title:qsTr("Upload File"),description: qsTr("Put your files here."),target:()=>btn_upload}, {title:qsTr("Upload File"),description: qsTr("Put your files here."),target:()=>btn_upload},
{title:qsTr("Save"),description: qsTr("Save your changes."),target:()=>btn_save}, {title:qsTr("Save"),description: qsTr("Save your changes."),target:()=>btn_save},

View File

@ -33,7 +33,7 @@ Item {
FluNetwork.setInterceptor(function(param){ FluNetwork.setInterceptor(function(param){
param.addHeader("Token","000000000000000000000") param.addHeader("Token","000000000000000000000")
}) })
FluApp.init(app) FluApp.init(app,Qt.locale(TranslateHelper.current))
FluApp.windowIcon = "qrc:/example/res/image/favicon.ico" FluApp.windowIcon = "qrc:/example/res/image/favicon.ico"
FluApp.useSystemAppBar = SettingsHelper.getUseSystemAppBar() FluApp.useSystemAppBar = SettingsHelper.getUseSystemAppBar()
FluTheme.darkMode = SettingsHelper.getDarkMode() FluTheme.darkMode = SettingsHelper.getDarkMode()

View File

@ -24,11 +24,6 @@ FluScrollablePage{
} }
FluDatePicker{ FluDatePicker{
current: new Date() current: new Date()
yearText: qsTr("Year")
monthText: qsTr("Month")
dayText: qsTr("Day")
cancelText: qsTr("Cancel")
okText: qsTr("OK")
onAccepted: { onAccepted: {
showSuccess(current.toLocaleDateString()) showSuccess(current.toLocaleDateString())
} }
@ -58,11 +53,6 @@ FluScrollablePage{
} }
FluDatePicker{ FluDatePicker{
showYear: false showYear: false
yearText: qsTr("Year")
monthText: qsTr("Month")
dayText: qsTr("Day")
cancelText: qsTr("Cancel")
okText: qsTr("OK")
onAccepted: { onAccepted: {
showSuccess(current.toLocaleDateString()) showSuccess(current.toLocaleDateString())
} }

View File

@ -24,7 +24,6 @@ FluScrollablePage{
width: 384 width: 384
height: 240 height: 240
source: "https://gitee.com/zhu-zichu/zhu-zichu/raw/74f075efe2f8d3c3bb7ba3c2259e403450e4050b/image/banner_4.jpg" source: "https://gitee.com/zhu-zichu/zhu-zichu/raw/74f075efe2f8d3c3bb7ba3c2259e403450e4050b/image/banner_4.jpg"
errorButtonText: qsTr("Reload")
onStatusChanged:{ onStatusChanged:{
if(status === Image.Error){ if(status === Image.Error){
showError(qsTr("The image failed to load, please reload")) showError(qsTr("The image failed to load, please reload"))

View File

@ -53,7 +53,7 @@ FluScrollablePage{
FluButton{ FluButton{
text:"Loading" text:"Loading"
onClicked: { onClicked: {
showLoading(qsTr("Loading...")) showLoading()
} }
} }
} }

View File

@ -21,22 +21,16 @@ FluScrollablePage{
pageCurrent: 1 pageCurrent: 1
pageButtonCount: 5 pageButtonCount: 5
itemCount: 5000 itemCount: 5000
previousText: qsTr("<Previous")
nextText: qsTr("Next>")
} }
FluPagination{ FluPagination{
pageCurrent: 2 pageCurrent: 2
itemCount: 5000 itemCount: 5000
pageButtonCount: 7 pageButtonCount: 7
previousText: qsTr("<Previous")
nextText: qsTr("Next>")
} }
FluPagination{ FluPagination{
pageCurrent: 3 pageCurrent: 3
itemCount: 5000 itemCount: 5000
pageButtonCount: 9 pageButtonCount: 9
previousText: qsTr("<Previous")
nextText: qsTr("Next>")
} }
} }

View File

@ -16,11 +16,6 @@ FluScrollablePage{
paddings: 10 paddings: 10
FluShortcutPicker{ FluShortcutPicker{
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
title: qsTr("Activate the Shortcut")
message: qsTr("Press the key combination to change the shortcut")
positiveText: qsTr("Save")
neutralText: qsTr("Cancel")
negativeText: qsTr("Reset")
} }
} }
CodeExpander{ CodeExpander{

View File

@ -11,9 +11,6 @@ FluScrollablePage{
FluTour{ FluTour{
id:tour id:tour
finishText: qsTr("Finish")
nextText: qsTr("Next")
previousText: qsTr("Previous")
steps:[ steps:[
{title:qsTr("Upload File"),description: qsTr("Put your files here."),target:()=>btn_upload}, {title:qsTr("Upload File"),description: qsTr("Put your files here."),target:()=>btn_upload},
{title:qsTr("Save"),description: qsTr("Save your changes."),target:()=>btn_save}, {title:qsTr("Save"),description: qsTr("Save your changes."),target:()=>btn_save},

View File

@ -43,6 +43,21 @@ else()
set(CMAKE_AUTOUIC ON) set(CMAKE_AUTOUIC ON)
endif() endif()
#
find_program(QT_LUPDATE NAMES lupdate)
find_program(QT_LRELEASE NAMES lrelease)
if (NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/${PROJECT_NAME}_en_US.qm)
execute_process(COMMAND ${QT_LUPDATE} ${CMAKE_CURRENT_LIST_DIR} -ts ${PROJECT_NAME}_en_US.ts WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
execute_process(COMMAND ${QT_LRELEASE} ${PROJECT_NAME}_en_US.ts WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
endif ()
if (NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/${PROJECT_NAME}_zh_CN.qm)
execute_process(COMMAND ${QT_LUPDATE} ${CMAKE_CURRENT_LIST_DIR} -ts ${PROJECT_NAME}_zh_CN.ts WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
execute_process(COMMAND ${QT_LRELEASE} ${PROJECT_NAME}_zh_CN.ts WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
endif ()
file(GLOB QM_FILE_PATHS ${CMAKE_CURRENT_LIST_DIR}/ *.qm)
file(COPY ${QM_FILE_PATHS} DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/Qt${QT_VERSION_MAJOR}/imports/FluentUI/i18n")
#Cpp #Cpp
file(GLOB_RECURSE CPP_FILES *.cpp *.h) file(GLOB_RECURSE CPP_FILES *.cpp *.h)
foreach(filepath ${CPP_FILES}) foreach(filepath ${CPP_FILES})
@ -67,7 +82,7 @@ if(QT_VERSION VERSION_GREATER_EQUAL "6.2")
endforeach(filepath) endforeach(filepath)
# #
file(GLOB_RECURSE RES_PATHS *.png *.jpg *.svg *.ico *.ttf *.webp *.js) file(GLOB_RECURSE RES_PATHS *.png *.jpg *.svg *.ico *.ttf *.webp *.js *.qm)
foreach(filepath ${RES_PATHS}) foreach(filepath ${RES_PATHS})
if(${filepath} MATCHES "Qt${QT_VERSION_MAJOR}/") if(${filepath} MATCHES "Qt${QT_VERSION_MAJOR}/")
string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/" "" filename ${filepath}) string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/" "" filename ${filepath})

View File

@ -8,6 +8,7 @@
#include <QUuid> #include <QUuid>
#include <QFontDatabase> #include <QFontDatabase>
#include <QClipboard> #include <QClipboard>
#include <QTranslator>
FluApp::FluApp(QObject *parent):QObject{parent}{ FluApp::FluApp(QObject *parent):QObject{parent}{
useSystemAppBar(false); useSystemAppBar(false);
@ -16,8 +17,18 @@ FluApp::FluApp(QObject *parent):QObject{parent}{
FluApp::~FluApp(){ FluApp::~FluApp(){
} }
void FluApp::init(QObject *target){ void FluApp::init(QObject *target,QLocale locale){
_engine = qmlEngine(target); _engine = qmlEngine(target);
_translator = new QTranslator(this);
qApp->installTranslator(_translator);
const QStringList uiLanguages = locale.uiLanguages();
for (const QString &name : uiLanguages) {
const QString baseName = "fluentuiplugin_" + QLocale(name).name();
if (_translator->load(":/qt/qml/FluentUI/i18n/"+ baseName)) {
_engine->retranslate();
break;
}
}
} }
void FluApp::run(){ void FluApp::run(){

View File

@ -8,6 +8,7 @@
#include <QQmlContext> #include <QQmlContext>
#include <QJsonObject> #include <QJsonObject>
#include <QQmlEngine> #include <QQmlEngine>
#include <QTranslator>
#include "FluWindowRegister.h" #include "FluWindowRegister.h"
#include "stdafx.h" #include "stdafx.h"
#include "singleton.h" #include "singleton.h"
@ -32,7 +33,7 @@ public:
static FluApp *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine){return getInstance();} static FluApp *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine){return getInstance();}
Q_INVOKABLE void run(); Q_INVOKABLE void run();
Q_INVOKABLE void navigate(const QString& route,const QJsonObject& argument = {},FluWindowRegister* windowRegister = nullptr); Q_INVOKABLE void navigate(const QString& route,const QJsonObject& argument = {},FluWindowRegister* windowRegister = nullptr);
Q_INVOKABLE void init(QObject *target); Q_INVOKABLE void init(QObject *target,QLocale locale = QLocale::system());
Q_INVOKABLE void exit(int retCode = 0); Q_INVOKABLE void exit(int retCode = 0);
Q_INVOKABLE QVariant createWindowRegister(QQuickWindow* window,const QString& path); Q_INVOKABLE QVariant createWindowRegister(QQuickWindow* window,const QString& path);
void addWindow(QQuickWindow* window); void addWindow(QQuickWindow* window);
@ -40,6 +41,7 @@ public:
private: private:
QMap<quint64, QQuickWindow*> _windows; QMap<quint64, QQuickWindow*> _windows;
QQmlEngine *_engine; QQmlEngine *_engine;
QTranslator* _translator = nullptr;
}; };
#endif // FLUAPP_H #endif // FLUAPP_H

View File

@ -37,9 +37,9 @@ void FluTheme::refreshColors(){
fontSecondaryColor(isDark ? QColor(222,222,222,255) : QColor(102,102,102,255)); fontSecondaryColor(isDark ? QColor(222,222,222,255) : QColor(102,102,102,255));
fontTertiaryColor(isDark ? QColor(200,200,200,255) : QColor(153,153,153,255)); fontTertiaryColor(isDark ? QColor(200,200,200,255) : QColor(153,153,153,255));
itemNormalColor(isDark ? QColor(255,255,255,0) : QColor(0,0,0,0)); itemNormalColor(isDark ? QColor(255,255,255,0) : QColor(0,0,0,0));
itemHoverColor(isDark ? QColor(255,255,255,255*0.03) : QColor(0,0,0,255*0.03)); itemHoverColor(isDark ? QColor(255,255,255,255*0.06) : QColor(0,0,0,255*0.03));
itemPressColor(isDark ? QColor(255,255,255,255*0.06) : QColor(0,0,0,255*0.06)); itemPressColor(isDark ? QColor(255,255,255,255*0.09) : QColor(0,0,0,255*0.06));
itemCheckColor(isDark ? QColor(255,255,255,255*0.09) : QColor(0,0,0,255*0.09)); itemCheckColor(isDark ? QColor(255,255,255,255*0.12) : QColor(0,0,0,255*0.09));
} }
bool FluTheme::eventFilter(QObject *obj, QEvent *event){ bool FluTheme::eventFilter(QObject *obj, QEvent *event){

View File

@ -6,14 +6,14 @@ import FluentUI 1.0
Rectangle{ Rectangle{
property string title: "" property string title: ""
property string darkText : "深色" property string darkText : qsTr("Dark")
property string lightText : "浅色" property string lightText : qsTr("Light")
property string minimizeText : "最小化" property string minimizeText : qsTr("Minimize")
property string restoreText : "向下还原" property string restoreText : qsTr("Restore")
property string maximizeText : "最大化" property string maximizeText : qsTr("Maximize")
property string closeText : "关闭" property string closeText : qsTr("Close")
property string stayTopText : "置顶" property string stayTopText : qsTr("Sticky on Top")
property string stayTopCancelText : "取消置顶" property string stayTopCancelText : qsTr("Sticky on Top cancelled")
property color textColor: FluTheme.dark ? "#FFFFFF" : "#000000" property color textColor: FluTheme.dark ? "#FFFFFF" : "#000000"
property color minimizeNormalColor: FluTheme.itemNormalColor property color minimizeNormalColor: FluTheme.itemNormalColor
property color minimizeHoverColor: FluTheme.itemHoverColor property color minimizeHoverColor: FluTheme.itemHoverColor

View File

@ -5,7 +5,7 @@ import FluentUI 1.0
FluTextBox{ FluTextBox{
property var items:[] property var items:[]
property string emptyText: "没有找到结果" property string emptyText: qsTr("No results found")
property int autoSuggestBoxReplacement: FluentIcons.Search property int autoSuggestBoxReplacement: FluentIcons.Search
signal itemClicked(var data) signal itemClicked(var data)
signal handleClicked signal handleClicked
@ -99,12 +99,12 @@ FluTextBox{
loadData() loadData()
if(d.flagVisible){ if(d.flagVisible){
var pos = control.mapToItem(null, 0, 0) var pos = control.mapToItem(null, 0, 0)
if(window.height>pos.y+control.height+container.implicitHeight){ if(d.window.height>pos.y+control.height+container.implicitHeight){
control_popup.y = control.height control_popup.y = control.height
} else if(pos.y>container.implicitHeight){ } else if(pos.y>container.implicitHeight){
control_popup.y = -container.implicitHeight control_popup.y = -container.implicitHeight
} else { } else {
control_popup.y = window.height-(pos.y+container.implicitHeight) control_popup.y = d.window.height-(pos.y+container.implicitHeight)
} }
control_popup.visible = true control_popup.visible = true
} }

View File

@ -8,7 +8,7 @@ Rectangle {
property color dividerColor: FluTheme.dark ? Qt.rgba(77/255,77/255,77/255,1) : Qt.rgba(239/255,239/255,239/255,1) property color dividerColor: FluTheme.dark ? Qt.rgba(77/255,77/255,77/255,1) : Qt.rgba(239/255,239/255,239/255,1)
property color hoverColor: FluTheme.dark ? Qt.rgba(68/255,68/255,68/255,1) : Qt.rgba(251/255,251/255,251/255,1) property color hoverColor: FluTheme.dark ? Qt.rgba(68/255,68/255,68/255,1) : Qt.rgba(251/255,251/255,251/255,1)
property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1) property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1)
property string text: "请选择日期" property string text: qsTr("Please select a date")
property var current property var current
signal accepted() signal accepted()
id:control id:control

View File

@ -8,9 +8,9 @@ FluPopup {
id: control id: control
property string title: "" property string title: ""
property string message: "" property string message: ""
property string neutralText: "Close" property string neutralText: qsTr("Close")
property string negativeText: "Cancel" property string negativeText: qsTr("Cancel")
property string positiveText: "OK" property string positiveText: qsTr("OK")
property int messageTextFormart: Text.AutoText property int messageTextFormart: Text.AutoText
property int delayTime: 100 property int delayTime: 100
property int buttonFlags: FluContentDialogType.NegativeButton | FluContentDialogType.PositiveButton property int buttonFlags: FluContentDialogType.NegativeButton | FluContentDialogType.PositiveButton

View File

@ -10,11 +10,11 @@ Rectangle {
property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1) property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1)
property bool showYear: true property bool showYear: true
property var current property var current
property string yearText: "年" property string yearText: qsTr("Year")
property string monthText: "月" property string monthText: qsTr("Month")
property string dayText: "日" property string dayText: qsTr("Day")
property string cancelText: "取消" property string cancelText: qsTr("Cancel")
property string okText: "确定" property string okText: qsTr("OK")
signal accepted() signal accepted()
id:control id:control
color: { color: {

View File

@ -3,7 +3,7 @@ import QtQuick.Controls 2.15
import FluentUI 1.0 import FluentUI 1.0
Image { Image {
property string errorButtonText: "重新加载" property string errorButtonText: qsTr("Reload")
property var clickErrorListener : function(){ property var clickErrorListener : function(){
image.source = "" image.source = ""
image.source = control.source image.source = control.source

View File

@ -5,8 +5,8 @@ import FluentUI 1.0
Item { Item {
signal requestPage(int page,int count) signal requestPage(int page,int count)
property string previousText: "<上一页" property string previousText: qsTr("<Previous")
property string nextText: "下一页>" property string nextText: qsTr("Next>")
property int pageCurrent: 0 property int pageCurrent: 0
property int itemCount: 0 property int itemCount: 0
property int pageButtonCount: 5 property int pageButtonCount: 5

View File

@ -5,11 +5,11 @@ import FluentUI 1.0
FluIconButton { FluIconButton {
id:control id:control
property var current : ["Ctrl","Shift","A"] property var current : ["Ctrl","Shift","A"]
property string title: "激活快捷键" property string title: qsTr("Activate the Shortcut")
property string message: "按下组合键以更改此快捷键" property string message: qsTr("Press the key combination to change the shortcut")
property string positiveText: "保存" property string positiveText: qsTr("Save")
property string neutralText: "取消" property string neutralText: qsTr("Cancel")
property string negativeText: "重置" property string negativeText: qsTr("Reset")
signal accepted() signal accepted()
QtObject{ QtObject{
id: d id: d

View File

@ -3,10 +3,10 @@ import QtQuick.Controls 2.15
import FluentUI 1.0 import FluentUI 1.0
FluMenu{ FluMenu{
property string cutText : "剪切" property string cutText : qsTr("Cut")
property string copyText : "复制" property string copyText : qsTr("Copy")
property string pasteText : "粘贴" property string pasteText : qsTr("Paste")
property string selectAllText : "全选" property string selectAllText : qsTr("Select All")
property var inputItem property var inputItem
id:menu id:menu
enableAnimation: false enableAnimation: false

View File

@ -10,9 +10,9 @@ Popup{
property Component nextButton: com_next_button property Component nextButton: com_next_button
property Component prevButton: com_prev_button property Component prevButton: com_prev_button
property int index : 0 property int index : 0
property string finishText: "结束导览" property string finishText: qsTr("Finish")
property string nextText: "下一步" property string nextText: qsTr("Next")
property string previousText: "上一步" property string previousText: qsTr("Previous")
id:control id:control
padding: 0 padding: 0
parent: Overlay.overlay parent: Overlay.overlay

View File

@ -243,7 +243,7 @@ Window {
anchors.fill: parent anchors.fill: parent
} }
FluInfoBar{ FluInfoBar{
id:infoBar id:info_bar
root: window root: window
} }
FluWindowLifecycle{ FluWindowLifecycle{
@ -268,7 +268,7 @@ Window {
function destoryOnClose(){ function destoryOnClose(){
lifecycle.onDestoryOnClose() lifecycle.onDestoryOnClose()
} }
function showLoading(text = "加载中...",cancel = true){ function showLoading(text = qsTr("Loading..."),cancel = true){
loader_loading.loadingText = text loader_loading.loadingText = text
loader_loading.cancel = cancel loader_loading.cancel = cancel
loader_loading.sourceComponent = com_loading loader_loading.sourceComponent = com_loading
@ -277,16 +277,16 @@ Window {
loader_loading.sourceComponent = undefined loader_loading.sourceComponent = undefined
} }
function showSuccess(text,duration,moremsg){ function showSuccess(text,duration,moremsg){
infoBar.showSuccess(text,duration,moremsg) info_bar.showSuccess(text,duration,moremsg)
} }
function showInfo(text,duration,moremsg){ function showInfo(text,duration,moremsg){
infoBar.showInfo(text,duration,moremsg) info_bar.showInfo(text,duration,moremsg)
} }
function showWarning(text,duration,moremsg){ function showWarning(text,duration,moremsg){
infoBar.showWarning(text,duration,moremsg) info_bar.showWarning(text,duration,moremsg)
} }
function showError(text,duration,moremsg){ function showError(text,duration,moremsg){
infoBar.showError(text,duration,moremsg) info_bar.showError(text,duration,moremsg)
} }
function moveWindowToDesktopCenter(){ function moveWindowToDesktopCenter(){
screen = Qt.application.screens[FluTools.cursorScreenIndex()] screen = Qt.application.screens[FluTools.cursorScreenIndex()]

View File

@ -3,12 +3,6 @@ classname FluentUIPlugin
designersupported designersupported
typeinfo plugins.qmltypes typeinfo plugins.qmltypes
ColorPicker 1.0 Controls/ColorPicker/ColorPicker.qml
Checkerboard 1.0 Controls/ColorPicker/Content/Checkerboard.qml
ColorSlider 1.0 Controls/ColorPicker/Content/ColorSlider.qml
NumberBox 1.0 Controls/ColorPicker/Content/NumberBox.qml
PanelBorder 1.0 Controls/ColorPicker/Content/PanelBorder.qml
SBPicker 1.0 Controls/ColorPicker/Content/SBPicker.qml
FluAcrylic 1.0 Controls/FluAcrylic.qml FluAcrylic 1.0 Controls/FluAcrylic.qml
FluAppBar 1.0 Controls/FluAppBar.qml FluAppBar 1.0 Controls/FluAppBar.qml
FluArea 1.0 Controls/FluArea.qml FluArea 1.0 Controls/FluArea.qml
@ -21,8 +15,8 @@ FluCalendarView 1.0 Controls/FluCalendarView.qml
FluCarousel 1.0 Controls/FluCarousel.qml FluCarousel 1.0 Controls/FluCarousel.qml
FluChart 1.0 Controls/FluChart.qml FluChart 1.0 Controls/FluChart.qml
FluCheckBox 1.0 Controls/FluCheckBox.qml FluCheckBox 1.0 Controls/FluCheckBox.qml
FluClip 1.0 Controls/FluClip.qml
FluColorPicker 1.0 Controls/FluColorPicker.qml FluColorPicker 1.0 Controls/FluColorPicker.qml
FluColorView 1.0 Controls/FluColorView.qml
FluComboBox 1.0 Controls/FluComboBox.qml FluComboBox 1.0 Controls/FluComboBox.qml
FluContentDialog 1.0 Controls/FluContentDialog.qml FluContentDialog 1.0 Controls/FluContentDialog.qml
FluContentPage 1.0 Controls/FluContentPage.qml FluContentPage 1.0 Controls/FluContentPage.qml
@ -38,8 +32,11 @@ FluFocusRectangle 1.0 Controls/FluFocusRectangle.qml
FluIcon 1.0 Controls/FluIcon.qml FluIcon 1.0 Controls/FluIcon.qml
FluIconButton 1.0 Controls/FluIconButton.qml FluIconButton 1.0 Controls/FluIconButton.qml
FluImage 1.0 Controls/FluImage.qml FluImage 1.0 Controls/FluImage.qml
FluImageButton 1.0 Controls/FluImageButton.qml
FluInfoBar 1.0 Controls/FluInfoBar.qml FluInfoBar 1.0 Controls/FluInfoBar.qml
FluItemDelegate 1.0 Controls/FluItemDelegate.qml FluItemDelegate 1.0 Controls/FluItemDelegate.qml
FluLoader 1.0 Controls/FluLoader.qml
FluLoadingButton 1.0 Controls/FluLoadingButton.qml
FluMenu 1.0 Controls/FluMenu.qml FluMenu 1.0 Controls/FluMenu.qml
FluMenuBar 1.0 Controls/FluMenuBar.qml FluMenuBar 1.0 Controls/FluMenuBar.qml
FluMenuBarItem 1.0 Controls/FluMenuBarItem.qml FluMenuBarItem 1.0 Controls/FluMenuBarItem.qml
@ -60,20 +57,24 @@ FluPivot 1.0 Controls/FluPivot.qml
FluPivotItem 1.0 Controls/FluPivotItem.qml FluPivotItem 1.0 Controls/FluPivotItem.qml
FluPopup 1.0 Controls/FluPopup.qml FluPopup 1.0 Controls/FluPopup.qml
FluProgressBar 1.0 Controls/FluProgressBar.qml FluProgressBar 1.0 Controls/FluProgressBar.qml
FluProgressButton 1.0 Controls/FluProgressButton.qml
FluProgressRing 1.0 Controls/FluProgressRing.qml FluProgressRing 1.0 Controls/FluProgressRing.qml
FluQRCode 1.0 Controls/FluQRCode.qml FluQRCode 1.0 Controls/FluQRCode.qml
FluRadioButton 1.0 Controls/FluRadioButton.qml FluRadioButton 1.0 Controls/FluRadioButton.qml
FluRadioButtons 1.0 Controls/FluRadioButtons.qml FluRadioButtons 1.0 Controls/FluRadioButtons.qml
FluRangeSlider 1.0 Controls/FluRangeSlider.qml
FluRatingControl 1.0 Controls/FluRatingControl.qml FluRatingControl 1.0 Controls/FluRatingControl.qml
FluRemoteLoader 1.0 Controls/FluRemoteLoader.qml FluRemoteLoader 1.0 Controls/FluRemoteLoader.qml
FluScreenshot 1.0 Controls/FluScreenshot.qml
FluScrollBar 1.0 Controls/FluScrollBar.qml FluScrollBar 1.0 Controls/FluScrollBar.qml
FluScrollIndicator 1.0 Controls/FluScrollIndicator.qml FluScrollIndicator 1.0 Controls/FluScrollIndicator.qml
FluScrollablePage 1.0 Controls/FluScrollablePage.qml FluScrollablePage 1.0 Controls/FluScrollablePage.qml
FluShadow 1.0 Controls/FluShadow.qml FluShadow 1.0 Controls/FluShadow.qml
FluShortcutPicker 1.0 Controls/FluShortcutPicker.qml
FluSlider 1.0 Controls/FluSlider.qml FluSlider 1.0 Controls/FluSlider.qml
FluSpinBox 1.0 Controls/FluSpinBox.qml FluSpinBox 1.0 Controls/FluSpinBox.qml
FluStatusView 1.0 Controls/FluStatusView.qml FluSplitLayout 1.0 Controls/FluSplitLayout.qml
FluStaggeredLayout 1.0 Controls/FluStaggeredLayout.qml
FluStatusLayout 1.0 Controls/FluStatusLayout.qml
FluTabView 1.0 Controls/FluTabView.qml FluTabView 1.0 Controls/FluTabView.qml
FluTableView 1.0 Controls/FluTableView.qml FluTableView 1.0 Controls/FluTableView.qml
FluText 1.0 Controls/FluText.qml FluText 1.0 Controls/FluText.qml
@ -89,13 +90,5 @@ FluTooltip 1.0 Controls/FluTooltip.qml
FluTour 1.0 Controls/FluTour.qml FluTour 1.0 Controls/FluTour.qml
FluTreeView 1.0 Controls/FluTreeView.qml FluTreeView 1.0 Controls/FluTreeView.qml
FluWindow 1.0 Controls/FluWindow.qml FluWindow 1.0 Controls/FluWindow.qml
FluRangeSlider 1.0 Controls/FluRangeSlider.qml
FluStaggeredView 1.0 Controls/FluStaggeredView.qml
FluProgressButton 1.0 Controls/FluProgressButton.qml
FluLoadingButton 1.0 Controls/FluLoadingButton.qml
FluClip 1.0 Controls/FluClip.qml
FluLoader 1.0 Controls/FluLoader.qml
FluShortcutPicker 1.0 Controls/FluShortcutPicker.qml
FluSplitLayout 1.0 Controls/FluSplitLayout.qml
FluStaggeredLayout 1.0 Controls/FluStaggeredLayout.qml
plugin fluentuiplugin plugin fluentuiplugin

View File

@ -99,5 +99,7 @@
<file>FluentUI/Image/btn_min_pushed.png</file> <file>FluentUI/Image/btn_min_pushed.png</file>
<file>FluentUI/Controls/FluImageButton.qml</file> <file>FluentUI/Controls/FluImageButton.qml</file>
<file>FluentUI/Controls/FluSplitLayout.qml</file> <file>FluentUI/Controls/FluSplitLayout.qml</file>
<file>FluentUI/i18n/fluentuiplugin_en_US.qm</file>
<file>FluentUI/i18n/fluentuiplugin_zh_CN.qm</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@ -6,14 +6,14 @@ import FluentUI
Rectangle{ Rectangle{
property string title: "" property string title: ""
property string darkText : "深色" property string darkText : qsTr("Dark")
property string lightText : "浅色" property string lightText : qsTr("Light")
property string minimizeText : "最小化" property string minimizeText : qsTr("Minimize")
property string restoreText : "向下还原" property string restoreText : qsTr("Restore")
property string maximizeText : "最大化" property string maximizeText : qsTr("Maximize")
property string closeText : "关闭" property string closeText : qsTr("Close")
property string stayTopText : "置顶" property string stayTopText : qsTr("Sticky on Top")
property string stayTopCancelText : "取消置顶" property string stayTopCancelText : qsTr("Sticky on Top cancelled")
property color textColor: FluTheme.dark ? "#FFFFFF" : "#000000" property color textColor: FluTheme.dark ? "#FFFFFF" : "#000000"
property color minimizeNormalColor: FluTheme.itemNormalColor property color minimizeNormalColor: FluTheme.itemNormalColor
property color minimizeHoverColor: FluTheme.itemHoverColor property color minimizeHoverColor: FluTheme.itemHoverColor

View File

@ -4,18 +4,18 @@ import FluentUI
FluTextBox{ FluTextBox{
property var items:[] property var items:[]
property string emptyText: "没有找到结果" property string emptyText: qsTr("No results found")
property int autoSuggestBoxReplacement: FluentIcons.Search property int autoSuggestBoxReplacement: FluentIcons.Search
property var window : Window.window
signal itemClicked(var data) signal itemClicked(var data)
signal handleClicked signal handleClicked
id:control id:control
Component.onCompleted: { Component.onCompleted: {
loadData() loadData()
} }
QtObject{ Item{
id:d id:d
property bool flagVisible: true property bool flagVisible: true
property var window : Window.window
} }
onActiveFocusChanged: { onActiveFocusChanged: {
if(!activeFocus){ if(!activeFocus){
@ -98,12 +98,12 @@ FluTextBox{
loadData() loadData()
if(d.flagVisible){ if(d.flagVisible){
var pos = control.mapToItem(null, 0, 0) var pos = control.mapToItem(null, 0, 0)
if(window.height>pos.y+control.height+container.implicitHeight){ if(d.window.height>pos.y+control.height+container.implicitHeight){
control_popup.y = control.height control_popup.y = control.height
} else if(pos.y>container.implicitHeight){ } else if(pos.y>container.implicitHeight){
control_popup.y = -container.implicitHeight control_popup.y = -container.implicitHeight
} else { } else {
control_popup.y = window.height-(pos.y+container.implicitHeight) control_popup.y = d.window.height-(pos.y+container.implicitHeight)
} }
control_popup.visible = true control_popup.visible = true
} }

View File

@ -8,7 +8,7 @@ Rectangle {
property color dividerColor: FluTheme.dark ? Qt.rgba(77/255,77/255,77/255,1) : Qt.rgba(239/255,239/255,239/255,1) property color dividerColor: FluTheme.dark ? Qt.rgba(77/255,77/255,77/255,1) : Qt.rgba(239/255,239/255,239/255,1)
property color hoverColor: FluTheme.dark ? Qt.rgba(68/255,68/255,68/255,1) : Qt.rgba(251/255,251/255,251/255,1) property color hoverColor: FluTheme.dark ? Qt.rgba(68/255,68/255,68/255,1) : Qt.rgba(251/255,251/255,251/255,1)
property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1) property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1)
property string text: "请选择日期" property string text: qsTr("Please select a date")
property var current property var current
signal accepted() signal accepted()
id:control id:control

View File

@ -8,9 +8,9 @@ FluPopup {
id: control id: control
property string title: "" property string title: ""
property string message: "" property string message: ""
property string neutralText: "Close" property string neutralText: qsTr("Close")
property string negativeText: "Cancel" property string negativeText: qsTr("Cancel")
property string positiveText: "OK" property string positiveText: qsTr("OK")
property int messageTextFormart: Text.AutoText property int messageTextFormart: Text.AutoText
property int delayTime: 100 property int delayTime: 100
property int buttonFlags: FluContentDialogType.NegativeButton | FluContentDialogType.PositiveButton property int buttonFlags: FluContentDialogType.NegativeButton | FluContentDialogType.PositiveButton

View File

@ -10,11 +10,11 @@ Rectangle {
property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1) property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1)
property bool showYear: true property bool showYear: true
property var current property var current
property string yearText: "年" property string yearText: qsTr("Year")
property string monthText: "月" property string monthText: qsTr("Month")
property string dayText: "日" property string dayText: qsTr("Day")
property string cancelText: "取消" property string cancelText: qsTr("Cancel")
property string okText: "确定" property string okText: qsTr("OK")
signal accepted() signal accepted()
id:control id:control
color: { color: {

View File

@ -3,7 +3,7 @@ import QtQuick.Controls
import FluentUI import FluentUI
Image { Image {
property string errorButtonText: "重新加载" property string errorButtonText: qsTr("Reload")
property var clickErrorListener : function(){ property var clickErrorListener : function(){
image.source = "" image.source = ""
image.source = control.source image.source = control.source

View File

@ -5,8 +5,8 @@ import FluentUI
Item { Item {
signal requestPage(int page,int count) signal requestPage(int page,int count)
property string previousText: "<上一页" property string previousText: qsTr("<Previous")
property string nextText: "下一页>" property string nextText: qsTr("Next>")
property int pageCurrent: 0 property int pageCurrent: 0
property int itemCount: 0 property int itemCount: 0
property int pageButtonCount: 5 property int pageButtonCount: 5

View File

@ -5,11 +5,11 @@ import FluentUI
FluIconButton { FluIconButton {
id:control id:control
property var current : ["Ctrl","Shift","A"] property var current : ["Ctrl","Shift","A"]
property string title: "激活快捷键" property string title: qsTr("Activate the Shortcut")
property string message: "按下组合键以更改此快捷键" property string message: qsTr("Press the key combination to change the shortcut")
property string positiveText: "保存" property string positiveText: qsTr("Save")
property string neutralText: "取消" property string neutralText: qsTr("Cancel")
property string negativeText: "重置" property string negativeText: qsTr("Reset")
signal accepted() signal accepted()
QtObject{ QtObject{
id: d id: d

View File

@ -3,10 +3,10 @@ import QtQuick.Controls
import FluentUI import FluentUI
FluMenu{ FluMenu{
property string cutText : "剪切" property string cutText : qsTr("Cut")
property string copyText : "复制" property string copyText : qsTr("Copy")
property string pasteText : "粘贴" property string pasteText : qsTr("Paste")
property string selectAllText : "全选" property string selectAllText : qsTr("Select All")
property var inputItem property var inputItem
id:menu id:menu
enableAnimation: false enableAnimation: false

View File

@ -10,9 +10,9 @@ Popup{
property Component nextButton: com_next_button property Component nextButton: com_next_button
property Component prevButton: com_prev_button property Component prevButton: com_prev_button
property int index : 0 property int index : 0
property string finishText: "结束导览" property string finishText: qsTr("Finish")
property string nextText: "下一步" property string nextText: qsTr("Next")
property string previousText: "上一步" property string previousText: qsTr("Previous")
id:control id:control
padding: 0 padding: 0
parent: Overlay.overlay parent: Overlay.overlay

View File

@ -242,7 +242,7 @@ Window {
anchors.fill: parent anchors.fill: parent
} }
FluInfoBar{ FluInfoBar{
id:infoBar id:info_bar
root: window root: window
} }
FluWindowLifecycle{ FluWindowLifecycle{
@ -267,7 +267,7 @@ Window {
function destoryOnClose(){ function destoryOnClose(){
lifecycle.onDestoryOnClose() lifecycle.onDestoryOnClose()
} }
function showLoading(text = "加载中...",cancel = true){ function showLoading(text = qsTr("Loading..."),cancel = true){
loader_loading.loadingText = text loader_loading.loadingText = text
loader_loading.cancel = cancel loader_loading.cancel = cancel
loader_loading.sourceComponent = com_loading loader_loading.sourceComponent = com_loading
@ -276,16 +276,16 @@ Window {
loader_loading.sourceComponent = undefined loader_loading.sourceComponent = undefined
} }
function showSuccess(text,duration,moremsg){ function showSuccess(text,duration,moremsg){
infoBar.showSuccess(text,duration,moremsg) info_bar.showSuccess(text,duration,moremsg)
} }
function showInfo(text,duration,moremsg){ function showInfo(text,duration,moremsg){
infoBar.showInfo(text,duration,moremsg) info_bar.showInfo(text,duration,moremsg)
} }
function showWarning(text,duration,moremsg){ function showWarning(text,duration,moremsg){
infoBar.showWarning(text,duration,moremsg) info_bar.showWarning(text,duration,moremsg)
} }
function showError(text,duration,moremsg){ function showError(text,duration,moremsg){
infoBar.showError(text,duration,moremsg) info_bar.showError(text,duration,moremsg)
} }
function moveWindowToDesktopCenter(){ function moveWindowToDesktopCenter(){
screen = Qt.application.screens[FluTools.cursorScreenIndex()] screen = Qt.application.screens[FluTools.cursorScreenIndex()]

241
src/fluentuiplugin_en_US.ts Normal file
View File

@ -0,0 +1,241 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_US">
<context>
<name>FluAppBar</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="9"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="10"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="10"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="11"/>
<source>Minimize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="12"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="12"/>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="13"/>
<source>Maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="14"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="14"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="15"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="15"/>
<source>Sticky on Top</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="16"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="16"/>
<source>Sticky on Top cancelled</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluAutoSuggestBox</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAutoSuggestBox.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAutoSuggestBox.qml" line="7"/>
<source>No results found</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluCalendarPicker</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml" line="11"/>
<source>Please select a date</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluContentDialog</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluContentDialog.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluContentDialog.qml" line="11"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluContentDialog.qml" line="12"/>
<location filename="Qt6/imports/FluentUI/Controls/FluContentDialog.qml" line="12"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluContentDialog.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluContentDialog.qml" line="13"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluDatePicker</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="13"/>
<source>Year</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="14"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="14"/>
<source>Month</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="15"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="15"/>
<source>Day</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="16"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="16"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="17"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="17"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluImage</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluImage.qml" line="6"/>
<location filename="Qt6/imports/FluentUI/Controls/FluImage.qml" line="6"/>
<source>Reload</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluPagination</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluPagination.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluPagination.qml" line="8"/>
<source>&lt;Previous</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluPagination.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluPagination.qml" line="9"/>
<source>Next&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluShortcutPicker</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="8"/>
<source>Activate the Shortcut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="9"/>
<source>Press the key combination to change the shortcut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="10"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="10"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="11"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="12"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="12"/>
<source>Reset</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluTextBoxMenu</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="6"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="6"/>
<source>Cut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="7"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="7"/>
<source>Copy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="8"/>
<source>Paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="9"/>
<source>Select All</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluTour</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTour.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTour.qml" line="13"/>
<source>Finish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTour.qml" line="14"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTour.qml" line="14"/>
<source>Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTour.qml" line="15"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTour.qml" line="15"/>
<source>Previous</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluWindow</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluWindow.qml" line="271"/>
<location filename="Qt6/imports/FluentUI/Controls/FluWindow.qml" line="270"/>
<source>Loading...</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

241
src/fluentuiplugin_zh_CN.ts Normal file
View File

@ -0,0 +1,241 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN">
<context>
<name>FluAppBar</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="9"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="10"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="10"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="11"/>
<source>Minimize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="12"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="12"/>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="13"/>
<source>Maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="14"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="14"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="15"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="15"/>
<source>Sticky on Top</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAppBar.qml" line="16"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAppBar.qml" line="16"/>
<source>Sticky on Top cancelled</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluAutoSuggestBox</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluAutoSuggestBox.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluAutoSuggestBox.qml" line="7"/>
<source>No results found</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluCalendarPicker</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml" line="11"/>
<source>Please select a date</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluContentDialog</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluContentDialog.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluContentDialog.qml" line="11"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluContentDialog.qml" line="12"/>
<location filename="Qt6/imports/FluentUI/Controls/FluContentDialog.qml" line="12"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluContentDialog.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluContentDialog.qml" line="13"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluDatePicker</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="13"/>
<source>Year</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="14"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="14"/>
<source>Month</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="15"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="15"/>
<source>Day</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="16"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="16"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluDatePicker.qml" line="17"/>
<location filename="Qt6/imports/FluentUI/Controls/FluDatePicker.qml" line="17"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluImage</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluImage.qml" line="6"/>
<location filename="Qt6/imports/FluentUI/Controls/FluImage.qml" line="6"/>
<source>Reload</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluPagination</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluPagination.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluPagination.qml" line="8"/>
<source>&lt;Previous</source>
<translation type="unfinished">&lt;</translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluPagination.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluPagination.qml" line="9"/>
<source>Next&gt;</source>
<translation type="unfinished">&gt;</translation>
</message>
</context>
<context>
<name>FluShortcutPicker</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="8"/>
<source>Activate the Shortcut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="9"/>
<source>Press the key combination to change the shortcut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="10"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="10"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="11"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="11"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluShortcutPicker.qml" line="12"/>
<location filename="Qt6/imports/FluentUI/Controls/FluShortcutPicker.qml" line="12"/>
<source>Reset</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluTextBoxMenu</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="6"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="6"/>
<source>Cut</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="7"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="7"/>
<source>Copy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="8"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="8"/>
<source>Paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="9"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTextBoxMenu.qml" line="9"/>
<source>Select All</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluTour</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTour.qml" line="13"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTour.qml" line="13"/>
<source>Finish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTour.qml" line="14"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTour.qml" line="14"/>
<source>Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluTour.qml" line="15"/>
<location filename="Qt6/imports/FluentUI/Controls/FluTour.qml" line="15"/>
<source>Previous</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FluWindow</name>
<message>
<location filename="Qt5/imports/FluentUI/Controls/FluWindow.qml" line="271"/>
<location filename="Qt6/imports/FluentUI/Controls/FluWindow.qml" line="270"/>
<source>Loading...</source>
<translation type="unfinished">...</translation>
</message>
</context>
</TS>