fix: TCP连接清单刷新间隔文案改为动态显示
'每5秒刷新'写死改为读取 applet.refreshInterval 动态显示实际间隔
This commit is contained in:
@@ -187,7 +187,7 @@ Window {
|
||||
Item { Layout.fillWidth: true }
|
||||
|
||||
Text {
|
||||
text: qsTr("Refreshes every 5 seconds")
|
||||
text: qsTr("Refreshes every ") + ((root.applet ? root.applet.refreshInterval : 1000) / 1000) + qsTr(" seconds")
|
||||
font.pixelSize: 11
|
||||
color: theme.textTertiary
|
||||
}
|
||||
|
||||
@@ -363,8 +363,13 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../package/components/TcpConnectionsWindow.qml" line="191"/>
|
||||
<source>Refreshes every 5 seconds</source>
|
||||
<translation>每 5 秒刷新</translation>
|
||||
<source>Refreshes every </source>
|
||||
<translation>每 </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../package/components/TcpConnectionsWindow.qml" line="190"/>
|
||||
<source> seconds</source>
|
||||
<translation> 秒刷新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../package/components/TcpConnectionsWindow.qml" line="204"/>
|
||||
|
||||
Reference in New Issue
Block a user