This commit is contained in:
朱子楚\zhuzi 2024-03-15 12:19:38 +08:00
parent 2dbbaa50f7
commit 9d5765eafe
6 changed files with 40 additions and 20 deletions

View File

@ -102,22 +102,22 @@
<context>
<name>InitalizrHelper</name>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="73"/>
<location filename="src/helper/InitalizrHelper.cpp" line="77"/>
<source>The name cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="77"/>
<location filename="src/helper/InitalizrHelper.cpp" line="81"/>
<source>The creation path cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="82"/>
<location filename="src/helper/InitalizrHelper.cpp" line="86"/>
<source>The path does not exist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="88"/>
<location filename="src/helper/InitalizrHelper.cpp" line="92"/>
<source>%1 folder already exists</source>
<translation type="unfinished"></translation>
</message>
@ -1649,7 +1649,9 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
</message>
<message>
<location filename="qml/page/T_InfoBar.qml" line="26"/>
<location filename="qml/page/T_InfoBar.qml" line="50"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="26"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="50"/>
<source>This is an InfoBar in the Info Style</source>
<translation type="unfinished"></translation>
</message>
@ -1683,6 +1685,12 @@ 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>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_InfoBar.qml" line="50"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="50"/>
<source>Manual shutdown is supported</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>T_LineChart</name>

View File

@ -102,22 +102,22 @@
<context>
<name>InitalizrHelper</name>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="73"/>
<location filename="src/helper/InitalizrHelper.cpp" line="77"/>
<source>The name cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="77"/>
<location filename="src/helper/InitalizrHelper.cpp" line="81"/>
<source>The creation path cannot be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="82"/>
<location filename="src/helper/InitalizrHelper.cpp" line="86"/>
<source>The path does not exist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/helper/InitalizrHelper.cpp" line="88"/>
<location filename="src/helper/InitalizrHelper.cpp" line="92"/>
<source>%1 folder already exists</source>
<translation type="unfinished"></translation>
</message>
@ -239,19 +239,19 @@
<location filename="qml/global/ItemsOriginal.qml" line="124"/>
<location filename="qml-Qt6/global/ItemsOriginal.qml" line="124"/>
<source>TimePicker</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/global/ItemsOriginal.qml" line="130"/>
<location filename="qml-Qt6/global/ItemsOriginal.qml" line="130"/>
<source>DatePicker</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/global/ItemsOriginal.qml" line="136"/>
<location filename="qml-Qt6/global/ItemsOriginal.qml" line="136"/>
<source>CalendarPicker</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/global/ItemsOriginal.qml" line="142"/>
@ -1176,7 +1176,7 @@ Updated content:
<location filename="qml/page/T_CalendarPicker.qml" line="10"/>
<location filename="qml-Qt6/page/T_CalendarPicker.qml" line="10"/>
<source>CalendarPicker</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -1373,7 +1373,7 @@ Updated content:
<location filename="qml/page/T_DatePicker.qml" line="10"/>
<location filename="qml-Qt6/page/T_DatePicker.qml" line="10"/>
<source>TimePicker</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_DatePicker.qml" line="23"/>
@ -1665,7 +1665,9 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
</message>
<message>
<location filename="qml/page/T_InfoBar.qml" line="26"/>
<location filename="qml/page/T_InfoBar.qml" line="50"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="26"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="50"/>
<source>This is an InfoBar in the Info Style</source>
<translation type="unfinished">Info样式的信息栏</translation>
</message>
@ -1699,6 +1701,12 @@ 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>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_InfoBar.qml" line="50"/>
<location filename="qml-Qt6/page/T_InfoBar.qml" line="50"/>
<source>Manual shutdown is supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Loading...</source>
<translation type="obsolete">...</translation>
@ -2576,7 +2584,7 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
<location filename="qml/page/T_TimePicker.qml" line="10"/>
<location filename="qml-Qt6/page/T_TimePicker.qml" line="10"/>
<source>TimePicker</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="qml/page/T_TimePicker.qml" line="26"/>

View File

@ -47,7 +47,7 @@ FluScrollablePage{
FluButton{
text: qsTr("InfoBar that needs to be turned off manually")
onClicked: {
showInfo("This is an InfoBar in the Info Style",0,"Manual shutdown is supported")
showInfo(qsTr("This is an InfoBar in the Info Style"),0,qsTr("Manual shutdown is supported"))
}
}
FluButton{

View File

@ -47,7 +47,7 @@ FluScrollablePage{
FluButton{
text: qsTr("InfoBar that needs to be turned off manually")
onClicked: {
showInfo("This is an InfoBar in the Info Style",0,"Manual shutdown is supported")
showInfo(qsTr("This is an InfoBar in the Info Style"),0,qsTr("Manual shutdown is supported"))
}
}
FluButton{

View File

@ -10,6 +10,8 @@ Rectangle {
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 string text: qsTr("Pick a date")
property date from: new Date(1924, 0, 1)
property date to: new Date(2124, 11, 31)
property var current
signal accepted()
id:control
@ -34,8 +36,8 @@ Rectangle {
}
CalendarModel {
id:calender_model
from: new Date(1924, 0, 1)
to: new Date(2124, 11, 31)
from: control.from
to: control.to
}
Item{
id:d

View File

@ -9,6 +9,8 @@ Rectangle {
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 string text: qsTr("Pick a date")
property date from: new Date(1924, 0, 1)
property date to: new Date(2124, 11, 31)
property var current
signal accepted()
id:control
@ -33,8 +35,8 @@ Rectangle {
}
CalendarModel {
id:calender_model
from: new Date(1924, 0, 1)
to: new Date(2124, 11, 31)
from: control.from
to: control.to
}
Item{
id:d