Update translations

pull/55/head
reionwong 4 years ago
parent 425f5b9a03
commit e5f13bcba7

@ -26,6 +26,7 @@ import Cutefish.Bluez 1.0 as Bluez
import "../"
ItemPage {
id: control
headerTitle: qsTr("Bluetooth")
property bool bluetoothDisConnected: Bluez.Manager.bluetoothBlocked
@ -45,8 +46,12 @@ ItemPage {
}
Bluez.DevicesProxyModel {
id: devicesProxyModel
sourceModel: devicesModel
}
Bluez.DevicesModel {
id: devicesModel
sourceModel: Bluez.DevicesModel { }
}
BluetoothManager {
@ -110,7 +115,13 @@ ItemPage {
Layout.fillWidth: true
Layout.preferredHeight: itemHeight * count + ((count - 1) * spacing)
model: devicesModel //Bluez.Manager.bluetoothOperational ? devicesModel : []
model: devicesProxyModel //Bluez.Manager.bluetoothOperational ? devicesModel : []
section.property: "Section"
section.delegate: Label {
text: section == "Connected" ? qsTr("Connected devices")
: qsTr("Available devices")
}
delegate: Item {
width: ListView.view.itemHeight
@ -120,7 +131,7 @@ ItemPage {
anchors.fill: parent
Label {
text: model.DeviceFullName
text: model.Device
}
}
}

@ -41,7 +41,7 @@ ItemPage {
ColumnLayout {
id: layout
anchors.fill: parent
spacing: FishUI.Units.largeSpacing * 2
spacing: FishUI.Units.largeSpacing
RoundedItem {
Label {
@ -73,6 +73,16 @@ ItemPage {
}
}
}
Label {
color: FishUI.Theme.disabledTextColor
leftPadding: FishUI.Units.largeSpacing * 2
rightPadding: FishUI.Units.largeSpacing
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: "<b>%1:</b> %2".arg(qsTr("Performance"))
.arg(qsTr("CPU and GPU frequencies will be increased, while power consumption and heat generation will be increased."))
}
}
}
}

@ -381,9 +381,15 @@
</message>
<message>
<location filename="../src/qml/Power/Main.qml" line="70"/>
<location filename="../src/qml/Power/Main.qml" line="83"/>
<source>Performance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/Power/Main.qml" line="84"/>
<source>CPU and GPU frequencies will be increased, while power consumption and heat generation will be increased.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/User/Main.qml" line="31"/>
<source>User</source>
@ -462,11 +468,21 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/Bluetooth/Main.qml" line="29"/>
<location filename="../src/qml/Bluetooth/Main.qml" line="84"/>
<location filename="../src/qml/Bluetooth/Main.qml" line="30"/>
<location filename="../src/qml/Bluetooth/Main.qml" line="89"/>
<source>Bluetooth</source>
<translation type="unfinished">Bluetooth</translation>
</message>
<message>
<location filename="../src/qml/Bluetooth/Main.qml" line="122"/>
<source>Connected devices</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/Bluetooth/Main.qml" line="123"/>
<source>Available devices</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/Wired/Main.qml" line="32"/>
<location filename="../src/qml/Wired/Main.qml" line="80"/>

@ -381,9 +381,15 @@
</message>
<message>
<location filename="../src/qml/Power/Main.qml" line="70"/>
<location filename="../src/qml/Power/Main.qml" line="83"/>
<source>Performance</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/Power/Main.qml" line="84"/>
<source>CPU and GPU frequencies will be increased, while power consumption and heat generation will be increased.</source>
<translation>CPUGPU</translation>
</message>
<message>
<location filename="../src/qml/User/Main.qml" line="31"/>
<source>User</source>
@ -462,11 +468,21 @@
<translation>线</translation>
</message>
<message>
<location filename="../src/qml/Bluetooth/Main.qml" line="29"/>
<location filename="../src/qml/Bluetooth/Main.qml" line="84"/>
<location filename="../src/qml/Bluetooth/Main.qml" line="30"/>
<location filename="../src/qml/Bluetooth/Main.qml" line="89"/>
<source>Bluetooth</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/Bluetooth/Main.qml" line="122"/>
<source>Connected devices</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/Bluetooth/Main.qml" line="123"/>
<source>Available devices</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/Wired/Main.qml" line="32"/>
<location filename="../src/qml/Wired/Main.qml" line="80"/>
@ -681,7 +697,7 @@
<message>
<location filename="../src/qml/SideBar.qml" line="82"/>
<source>Bluetooth</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../src/qml/SideBar.qml" line="141"/>

Loading…
Cancel
Save