Improve user page

pull/11/head
cutefishd 5 years ago
parent fe7cfccbac
commit d9f23e9537

1
debian/control vendored

@ -5,6 +5,7 @@ Maintainer: CutefishOS <cutefishos@foxmail.com>
Build-Depends: cmake,
debhelper (>= 9),
extra-cmake-modules,
libcrypt-dev,
libfreetype6-dev,
libfontconfig1-dev,
libkf5networkmanagerqt-dev,

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
viewBox="0 0 5.8208332 5.8208335"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="down.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
inkscape:cx="30.002067"
inkscape:cy="21.511653"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
units="px"
inkscape:window-width="1671"
inkscape:window-height="997"
inkscape:window-x="407"
inkscape:window-y="117"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="color:#363636;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264583"
d="M 0.79375012,1.9456173 2.4143232,3.5661903 2.910417,4.0622843 3.4065107,3.5661903 5.0270832,1.9456173 4.8400152,1.758549 3.2194421,3.3791212 2.910417,3.6881473 2.6013918,3.3791212 0.98081912,1.758549 Z"
class="ColorScheme-Text"
id="path4" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
viewBox="0 0 5.8208332 5.8208335"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="up.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
inkscape:cx="30.002067"
inkscape:cy="21.511653"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
units="px"
inkscape:window-width="1671"
inkscape:window-height="997"
inkscape:window-x="407"
inkscape:window-y="117"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="color:#363636;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264583"
d="M 5.0270832,3.875216 3.4065101,2.254643 2.9104163,1.758549 2.4143226,2.254643 0.79375011,3.875216 0.98081811,4.0622843 2.6013912,2.4417121 2.9104163,2.132686 3.2194415,2.4417121 4.8400142,4.0622843 Z"
class="ColorScheme-Text"
id="path4" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
viewBox="0 0 5.8208332 5.8208335"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="down.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
inkscape:cx="30.002067"
inkscape:cy="21.511653"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
units="px"
inkscape:window-width="1671"
inkscape:window-height="997"
inkscape:window-x="1025"
inkscape:window-y="486"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="color:#363636;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.264583"
d="M 0.79375012,1.9456173 2.4143232,3.5661903 2.910417,4.0622843 3.4065107,3.5661903 5.0270832,1.9456173 4.8400152,1.758549 3.2194421,3.3791212 2.910417,3.6881473 2.6013918,3.3791212 0.98081912,1.758549 Z"
class="ColorScheme-Text"
id="path4" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
viewBox="0 0 5.8208332 5.8208335"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="up.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
inkscape:cx="30.002067"
inkscape:cy="21.511653"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
units="px"
inkscape:window-width="1671"
inkscape:window-height="997"
inkscape:window-x="1025"
inkscape:window-y="486"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="color:#363636;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.264583"
d="M 5.0270832,3.875216 3.4065101,2.254643 2.9104163,1.758549 2.4143226,2.254643 0.79375017,3.875216 0.98081817,4.0622843 2.6013912,2.4417121 2.9104163,2.132686 3.2194415,2.4417121 4.8400142,4.0622843 Z"
class="ColorScheme-Text"
id="path4" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -2,17 +2,18 @@ import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import QtGraphicalEffects 1.0
import Qt.labs.platform 1.0 as LabsPlatform
import MeuiKit 1.0 as Meui
import Cutefish.Settings 1.0
import Cutefish.Accounts 1.0
import "./UserPage"
ItemPage {
headerTitle: qsTr("User")
UserAccount {
id: currentUser
id: loggedUser
}
UsersModel {
@ -23,10 +24,6 @@ ItemPage {
id: accountsManager
}
AddUserDialog {
id: addUserDialog
}
Scrollable {
anchors.fill: parent
anchors.bottomMargin: Meui.Units.largeSpacing
@ -36,216 +33,43 @@ ItemPage {
id: layout
anchors.fill: parent
Label {
text: qsTr("Currently logged in as")
color: Meui.Theme.disabledTextColor
bottomPadding: Meui.Units.largeSpacing
}
RowLayout {
LabsPlatform.FileDialog {
id: currentUserFileDialog
folder: LabsPlatform.StandardPaths.writableLocation(LabsPlatform.StandardPaths.PicturesLocation)
nameFilters: ["Pictures (*.png *.jpg *.gif)"]
onFileChanged: {
currentUser.iconFileName = currentFile.toString().replace("file://", "")
currentUserImage.source = currentFile
currentUserImage.update()
}
}
Image {
id: currentUserImage
Layout.preferredWidth: 64
Layout.preferredHeight: 64
width: 64
height: width
sourceSize: Qt.size(width, height)
source: currentUser.iconFileName ? "file://" + currentUser.iconFileName : "image://icontheme/default-user"
asynchronous: true
fillMode: Image.PreserveAspectCrop
cache: false
property bool counter: false
MouseArea {
id: userImageMouseArea
anchors.fill: parent
acceptedButtons: Qt.LeftButton
onClicked: currentUserFileDialog.open()
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
}
ColorOverlay {
id: colorOverlay
anchors.fill: currentUserImage
source: currentUserImage
color: "#000000"
opacity: userImageMouseArea.pressed ? 0.3 : 0.2
visible: userImageMouseArea.containsMouse || userImageMouseArea.pressed
}
layer.enabled: true
layer.effect: OpacityMask {
maskSource: Item {
width: currentUserImage.width
height: width
Rectangle {
anchors.fill: parent
radius: width / 2
}
}
}
}
Label {
Layout.alignment: Qt.AlignVCenter
id: currentUserLabel
text: currentUser.displayName
font.pointSize: 16
bottomPadding: Meui.Units.smallSpacing
leftPadding: Meui.Units.largeSpacing
}
Label {
Layout.alignment: Qt.AlignVCenter
id: currentUserLabel2
text: currentUser.userName
color: Meui.Theme.disabledTextColor
visible: currentUser.displayName !== currentUser.userName
font.pointSize: 16
bottomPadding: Meui.Units.smallSpacing
}
Item {
Layout.fillWidth: true
}
Button {
text: additionalSettings.shown ? qsTr("Hide additional settings") : qsTr("Show additional settings")
onClicked: additionalSettings.toggle()
}
}
Hideable {
id: additionalSettings
Label {
text: qsTr("Additional settings")
color: Meui.Theme.disabledTextColor
Layout.bottomMargin: Meui.Units.largeSpacing
}
RowLayout {
Layout.fillWidth: true
Layout.bottomMargin: Meui.Units.smallSpacing
Label {
text: qsTr("Automatic login")
}
Item {
Layout.fillWidth: true
}
Switch {
id: automaticLoginSwitch
Layout.fillHeight: true
leftPadding: 0
rightPadding: 0
onCheckedChanged: currentUser.automaticLogin = checked
}
Component.onCompleted: {
automaticLoginSwitch.checked = currentUser.automaticLogin
}
}
HorizontalDivider {}
}
Label {
id: otherAccountsLabel
text: qsTr("Other Accounts")
color: Meui.Theme.disabledTextColor
topPadding: Meui.Units.largeSpacing
bottomPadding: Meui.Units.largeSpacing
visible: _userView.count > 1
}
ListView {
id: _userView
model: userModel
Layout.fillWidth: true
spacing: Meui.Units.largeSpacing
interactive: false
Layout.preferredHeight: itemHeight * (_userView.count - 1)
Layout.preferredHeight: {
var totalHeight = 0
for (var i = 0; i < _userView.visibleChildren.length; ++i) {
totalHeight += _userView.visibleChildren[i].height
}
totalHeight += (_userView.count - 1) * _userView.spacing
return totalHeight
}
property var itemHeight: 50 + Meui.Units.largeSpacing
property int itemHeight: 64
delegate: Item {
delegate: UserDelegateItem {
width: _userView.width
height: _userView.itemHeight
visible: userId !== currentUser.userId
RowLayout {
id: _itemLayout
anchors.fill: parent
spacing: Meui.Units.largeSpacing
Image {
width: 64
height: width
sourceSize: Qt.size(width, height)
source: iconFileName ? "file:///" + iconFileName : "image://icontheme/default-user"
visible: status === Image.Ready
layer.enabled: true
layer.effect: OpacityMask {
maskSource: Item {
width: currentUserImage.width
height: width
Rectangle {
anchors.fill: parent
radius: width / 2
}
}
}
}
Label {
Layout.alignment: Qt.AlignVCenter
text: userName
font.pointSize: 16
bottomPadding: Meui.Units.smallSpacing
leftPadding: Meui.Units.largeSpacing
}
Label {
Layout.alignment: Qt.AlignVCenter
text: realName
color: Meui.Theme.disabledTextColor
visible: realName !== userName
font.pointSize: 16
bottomPadding: Meui.Units.smallSpacing
}
Item {
Layout.fillWidth: true
}
}
}
}
Item {
height: Meui.Units.largeSpacing * 2
height: Meui.Units.smallSpacing
}
Button {
id: _addUserButton
text: qsTr("Add user")
onClicked: addUserDialog.open()
onClicked: {
var component = Qt.createComponent("AddUserDialog.qml")
if (component.status === Component.Ready) {
var dialog = component.createObject(rootWindow)
dialog.open()
}
}
}
}
}

@ -8,7 +8,6 @@ import Cutefish.Accounts 1.0
Dialog {
id: control
// parent: rootWindow
x: (parent.width - width) / 2
y: (parent.height - height) / 2
modal: true

@ -0,0 +1,161 @@
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import QtGraphicalEffects 1.0
import Qt.labs.platform 1.0 as LabsPlatform
import Cutefish.Settings 1.0
import Cutefish.Accounts 1.0
import MeuiKit 1.0 as Meui
import "../"
Item {
id: control
height: mainLayout.implicitHeight
UserAccount {
id: currentUser
userId: model.userId
}
LabsPlatform.FileDialog {
id: currentUserFileDialog
folder: LabsPlatform.StandardPaths.writableLocation(LabsPlatform.StandardPaths.PicturesLocation)
nameFilters: ["Pictures (*.png *.jpg *.gif)"]
onFileChanged: {
currentUser.iconFileName = currentFile.toString().replace("file://", "")
_userImage.source = currentFile
_userImage.update()
}
}
ColumnLayout {
id: mainLayout
anchors.fill: parent
spacing: 0
RowLayout {
id: _itemLayout
spacing: 0
Image {
id: _userImage
width: 50
height: 50
sourceSize: Qt.size(width, height)
source: iconFileName ? "file:///" + iconFileName : "image://icontheme/default-user"
visible: status === Image.Ready
layer.enabled: true
layer.effect: OpacityMask {
maskSource: Item {
width: _userImage.width
height: width
Rectangle {
anchors.fill: parent
radius: width / 2
}
}
}
}
Label {
Layout.alignment: Qt.AlignVCenter
text: userName
font.pointSize: 16
bottomPadding: Meui.Units.smallSpacing
leftPadding: Meui.Units.largeSpacing
}
Label {
Layout.alignment: Qt.AlignVCenter
text: realName
color: Meui.Theme.disabledTextColor
visible: realName !== userName
font.pointSize: 16
bottomPadding: Meui.Units.smallSpacing
}
Item {
Layout.fillWidth: true
}
Label {
text: qsTr("Currently logged")
rightPadding: Meui.Units.largeSpacing
visible: currentUser.userId === loggedUser.userId
}
Button {
onClicked: additionalSettings.toggle()
implicitWidth: height
Image {
anchors.centerIn: parent
width: 22
height: 22
sourceSize: Qt.size(width, height)
source: Meui.Theme.darkMode ? additionalSettings.shown ? "qrc:/images/dark/up.svg" : "qrc:/images/dark/down.svg"
: additionalSettings.shown ? "qrc:/images/light/up.svg" : "qrc:/images/light/down.svg"
}
}
}
Item {
height: Meui.Units.largeSpacing
}
Hideable {
id: additionalSettings
GridLayout {
Layout.fillWidth: true
Layout.bottomMargin: Meui.Units.smallSpacing
rowSpacing: Meui.Units.largeSpacing
columns: 2
Label {
text: qsTr("Avatar")
Layout.fillWidth: true
}
Button {
text: qsTr("Choose")
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
onClicked: currentUserFileDialog.open()
}
Label {
text: qsTr("Automatic login")
Layout.fillWidth: true
}
Switch {
id: automaticLoginSwitch
Layout.fillHeight: true
leftPadding: 0
rightPadding: 0
onCheckedChanged: currentUser.automaticLogin = checked
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
Component.onCompleted: {
automaticLoginSwitch.checked = currentUser.automaticLogin
}
}
}
Button {
text: qsTr("Delete this user")
enabled: model.userId !== loggedUser.userId
onClicked: accountsManager.deleteUser(userId, true)
}
HorizontalDivider {}
}
}
}

@ -11,8 +11,8 @@ Dialog {
width: Math.max(detailsLayout.implicitWidth, footer.implicitWidth)
x: (rootWindow.width - width) / 4
y: (rootWindow.height - height) / 4
x: (parent.width - width) / 2
y: (parent.height - height) / 2
modal: true
padding: Meui.Units.largeSpacing * 2
@ -155,7 +155,9 @@ Dialog {
text: qsTr("Forget this network")
Layout.alignment: Qt.AlignHCenter
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
onClicked: control.forgetBtnClicked()
onClicked: {
networking.removeConnection(model.connectionPath)
}
}
}
}

@ -118,16 +118,13 @@ Item {
IconButton {
source: "qrc:/images/info.svg"
onClicked: detailsDialog.open()
}
}
WirelessDetailsDialog {
id: detailsDialog
onForgetBtnClicked: {
networking.removeConnection(model.connectionPath)
detailsDialog.close()
onClicked: {
var component = Qt.createComponent("WirelessDetailsDialog.qml")
if (component.status === Component.Ready) {
var dialog = component.createObject(rootWindow)
dialog.open()
}
}
}
}

@ -69,5 +69,10 @@
<file>images/rot270.svg</file>
<file>images/rotnormal.svg</file>
<file>qml/RotationButton.qml</file>
<file>qml/UserPage/UserDelegateItem.qml</file>
<file>images/light/down.svg</file>
<file>images/light/up.svg</file>
<file>images/dark/down.svg</file>
<file>images/dark/up.svg</file>
</qresource>
</RCC>

@ -27,42 +27,36 @@
<context>
<name>AccountsPage</name>
<message>
<location filename="../src/qml/AccountsPage.qml" line="12"/>
<location filename="../src/qml/AccountsPage.qml" line="13"/>
<source>User</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="40"/>
<source>Currently logged in as</source>
<translation>Currently logged in as</translation>
<translation type="vanished">Currently logged in as</translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="126"/>
<source>Hide additional settings</source>
<translation>Hide additional settings</translation>
<translation type="vanished">Hide additional settings</translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="126"/>
<source>Show additional settings</source>
<translation>Show additional settings</translation>
<translation type="vanished">Show additional settings</translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="135"/>
<source>Additional settings</source>
<translation>Additional settings</translation>
<translation type="vanished">Additional settings</translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="145"/>
<source>Automatic login</source>
<translation>Automatic login</translation>
<translation type="vanished">Automatic login</translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="170"/>
<source>Other Accounts</source>
<translation>Other Accounts</translation>
<translation type="vanished">Other Accounts</translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="247"/>
<location filename="../src/qml/AccountsPage.qml" line="65"/>
<source>Add user</source>
<translation>Add user</translation>
</message>
@ -70,12 +64,12 @@
<context>
<name>AddUserDialog</name>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="56"/>
<location filename="../src/qml/AddUserDialog.qml" line="55"/>
<source>Add</source>
<translation>Add</translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="49"/>
<location filename="../src/qml/AddUserDialog.qml" line="48"/>
<source>Cancel</source>
<translation>Cancel</translation>
</message>
@ -116,72 +110,72 @@
<context>
<name>AppearancePage</name>
<message>
<location filename="../src/qml/AppearancePage.qml" line="8"/>
<location filename="../src/qml/AppearancePage.qml" line="10"/>
<source>Appearance</source>
<translation>Appearance</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="50"/>
<location filename="../src/qml/AppearancePage.qml" line="53"/>
<source>Theme</source>
<translation>Theme</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="61"/>
<location filename="../src/qml/AppearancePage.qml" line="64"/>
<source>Light</source>
<translation>Light</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="68"/>
<location filename="../src/qml/AppearancePage.qml" line="71"/>
<source>Dark</source>
<translation>Dark</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="83"/>
<location filename="../src/qml/AppearancePage.qml" line="86"/>
<source>Dim the wallpaper in dark theme</source>
<translation>Dim the wallpaper in dark theme</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="102"/>
<location filename="../src/qml/AppearancePage.qml" line="105"/>
<source>Accent color</source>
<translation>Accent color</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="160"/>
<location filename="../src/qml/AppearancePage.qml" line="184"/>
<source>Font</source>
<translation>Font</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="172"/>
<location filename="../src/qml/AppearancePage.qml" line="196"/>
<source>General Font</source>
<translation>General Font</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="185"/>
<location filename="../src/qml/AppearancePage.qml" line="209"/>
<source>Fixed Font</source>
<translation>Fixed Font</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="198"/>
<location filename="../src/qml/AppearancePage.qml" line="222"/>
<source>Font Size</source>
<translation>Font Size</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="206"/>
<location filename="../src/qml/AppearancePage.qml" line="230"/>
<source>Small</source>
<translation>Small</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="210"/>
<location filename="../src/qml/AppearancePage.qml" line="234"/>
<source>Medium</source>
<translation>Medium</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="214"/>
<location filename="../src/qml/AppearancePage.qml" line="238"/>
<source>Large</source>
<translation>Large</translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="218"/>
<location filename="../src/qml/AppearancePage.qml" line="242"/>
<source>Huge</source>
<translation>Huge</translation>
</message>
@ -197,39 +191,70 @@
<context>
<name>BatteryPage</name>
<message>
<location filename="../src/qml/BatteryPage.qml" line="8"/>
<location filename="../src/qml/BatteryPage.qml" line="9"/>
<source>Battery</source>
<translation>Battery</translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="95"/>
<location filename="../src/qml/BatteryPage.qml" line="12"/>
<source>Last hour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="12"/>
<source>Last 2 hours</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="12"/>
<source>Last 12 hours</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="12"/>
<source>Last 24 hours</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="12"/>
<source>Last 48 hours</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="12"/>
<source>Last 7 days</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="107"/>
<source>History</source>
<translation>History</translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="229"/>
<location filename="../src/qml/BatteryPage.qml" line="231"/>
<location filename="../src/qml/BatteryPage.qml" line="135"/>
<source>W</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Yesterday</source>
<translation>Yesterday</translation>
<translation type="vanished">Yesterday</translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="237"/>
<location filename="../src/qml/BatteryPage.qml" line="239"/>
<source>Today</source>
<translation>Today</translation>
<translation type="vanished">Today</translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="253"/>
<location filename="../src/qml/BatteryPage.qml" line="156"/>
<source>Last Charged to</source>
<translation>Last Charged to</translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="259"/>
<location filename="../src/qml/BatteryPage.qml" line="162"/>
<source>Maximum Capacity</source>
<translation>Maximum Capacity</translation>
</message>
<message>
<location filename="../src/qml/BatteryPage.qml" line="267"/>
<location filename="../src/qml/BatteryPage.qml" line="170"/>
<source>No battery found</source>
<translation>No battery found</translation>
</message>
@ -260,7 +285,32 @@
<translation>Brightness</translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="101"/>
<location filename="../src/qml/DisplayPage.qml" line="87"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="125"/>
<source>Resolution</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="140"/>
<source>Refresh rate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="156"/>
<source>Rotation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="187"/>
<source>Enabled</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="218"/>
<source>Scale</source>
<translation>Scale</translation>
</message>
@ -329,12 +379,12 @@
<translation>Network</translation>
</message>
<message>
<location filename="../src/qml/NetworkPage.qml" line="44"/>
<location filename="../src/qml/NetworkPage.qml" line="45"/>
<source>Wired</source>
<translation>Wired</translation>
</message>
<message>
<location filename="../src/qml/NetworkPage.qml" line="84"/>
<location filename="../src/qml/NetworkPage.qml" line="85"/>
<source>Wi-Fi</source>
<translation>Wi-Fi</translation>
</message>
@ -392,55 +442,78 @@
<translation>About</translation>
</message>
</context>
<context>
<name>UserDelegateItem</name>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="116"/>
<source>Avatar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="121"/>
<source>Choose</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="127"/>
<source>Automatic login</source>
<translation type="unfinished">Automatic login</translation>
</message>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="147"/>
<source>Delete this user</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WirelessDetailsDialog</name>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="46"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="47"/>
<source>Auto-Join</source>
<translation>Auto-Join</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="61"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="62"/>
<source>Security</source>
<translation>Security</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="72"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="73"/>
<source>Signal</source>
<translation>Signal</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="83"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="84"/>
<source>IPv4 Address</source>
<translation>IPv4 Address</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="95"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="96"/>
<source>IPv6 Address</source>
<translation>IPv6 Address</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="107"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="108"/>
<source>MAC Address</source>
<translation>MAC Address</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="119"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="120"/>
<source>Gateway</source>
<translation>Gateway</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="131"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="132"/>
<source>DNS</source>
<translation>DNS</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="154"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="155"/>
<source>Forget this network</source>
<translation>Forget this network</translation>
</message>
<message>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="147"/>
<location filename="../src/qml/WirelessDetailsDialog.qml" line="148"/>
<source>Close</source>
<translation>Close</translation>
</message>
@ -448,22 +521,22 @@
<context>
<name>WirelessItem</name>
<message>
<location filename="../src/qml/WirelessItem.qml" line="175"/>
<location filename="../src/qml/WirelessItem.qml" line="172"/>
<source>Password</source>
<translation>Password</translation>
</message>
<message>
<location filename="../src/qml/WirelessItem.qml" line="194"/>
<location filename="../src/qml/WirelessItem.qml" line="191"/>
<source>Show password</source>
<translation>Show password</translation>
</message>
<message>
<location filename="../src/qml/WirelessItem.qml" line="209"/>
<location filename="../src/qml/WirelessItem.qml" line="206"/>
<source>Connect</source>
<translation>Connect</translation>
</message>
<message>
<location filename="../src/qml/WirelessItem.qml" line="203"/>
<location filename="../src/qml/WirelessItem.qml" line="200"/>
<source>Cancel</source>
<translation>Cancel</translation>
</message>

@ -27,42 +27,36 @@
<context>
<name>AccountsPage</name>
<message>
<location filename="../src/qml/AccountsPage.qml" line="12"/>
<location filename="../src/qml/AccountsPage.qml" line="13"/>
<source>User</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="40"/>
<source>Currently logged in as</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="126"/>
<source>Hide additional settings</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="126"/>
<source>Show additional settings</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="135"/>
<source>Additional settings</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="145"/>
<source>Automatic login</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="170"/>
<source>Other Accounts</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/qml/AccountsPage.qml" line="247"/>
<location filename="../src/qml/AccountsPage.qml" line="65"/>
<source>Add user</source>
<translation></translation>
</message>
@ -70,45 +64,45 @@
<context>
<name>AddUserDialog</name>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="56"/>
<location filename="../src/qml/AddUserDialog.qml" line="55"/>
<source>Add</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="49"/>
<location filename="../src/qml/AddUserDialog.qml" line="48"/>
<source>Cancel</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="76"/>
<location filename="../src/qml/AddUserDialog.qml" line="81"/>
<location filename="../src/qml/AddUserDialog.qml" line="75"/>
<location filename="../src/qml/AddUserDialog.qml" line="80"/>
<source>User name</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="87"/>
<location filename="../src/qml/AddUserDialog.qml" line="92"/>
<location filename="../src/qml/AddUserDialog.qml" line="86"/>
<location filename="../src/qml/AddUserDialog.qml" line="91"/>
<source>Password</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="99"/>
<location filename="../src/qml/AddUserDialog.qml" line="104"/>
<location filename="../src/qml/AddUserDialog.qml" line="98"/>
<location filename="../src/qml/AddUserDialog.qml" line="103"/>
<source>Verify password</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="111"/>
<location filename="../src/qml/AddUserDialog.qml" line="110"/>
<source>Account type</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="116"/>
<location filename="../src/qml/AddUserDialog.qml" line="115"/>
<source>Standard</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AddUserDialog.qml" line="116"/>
<location filename="../src/qml/AddUserDialog.qml" line="115"/>
<source>Administrator</source>
<translation></translation>
</message>
@ -121,67 +115,67 @@
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="52"/>
<location filename="../src/qml/AppearancePage.qml" line="53"/>
<source>Theme</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="63"/>
<location filename="../src/qml/AppearancePage.qml" line="64"/>
<source>Light</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="70"/>
<location filename="../src/qml/AppearancePage.qml" line="71"/>
<source>Dark</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="85"/>
<location filename="../src/qml/AppearancePage.qml" line="86"/>
<source>Dim the wallpaper in dark theme</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="104"/>
<location filename="../src/qml/AppearancePage.qml" line="105"/>
<source>Accent color</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="183"/>
<location filename="../src/qml/AppearancePage.qml" line="184"/>
<source>Font</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="195"/>
<location filename="../src/qml/AppearancePage.qml" line="196"/>
<source>General Font</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="208"/>
<location filename="../src/qml/AppearancePage.qml" line="209"/>
<source>Fixed Font</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="221"/>
<location filename="../src/qml/AppearancePage.qml" line="222"/>
<source>Font Size</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="229"/>
<location filename="../src/qml/AppearancePage.qml" line="230"/>
<source>Small</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="233"/>
<location filename="../src/qml/AppearancePage.qml" line="234"/>
<source>Medium</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="237"/>
<location filename="../src/qml/AppearancePage.qml" line="238"/>
<source>Large</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/AppearancePage.qml" line="241"/>
<location filename="../src/qml/AppearancePage.qml" line="242"/>
<source>Huge</source>
<translation></translation>
</message>
@ -288,27 +282,27 @@
<translation></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="123"/>
<location filename="../src/qml/DisplayPage.qml" line="187"/>
<source>Enabled</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="139"/>
<location filename="../src/qml/DisplayPage.qml" line="125"/>
<source>Resolution</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="154"/>
<location filename="../src/qml/DisplayPage.qml" line="140"/>
<source>Refresh rate</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="170"/>
<location filename="../src/qml/DisplayPage.qml" line="156"/>
<source>Rotation</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/DisplayPage.qml" line="238"/>
<location filename="../src/qml/DisplayPage.qml" line="218"/>
<source>Scale</source>
<translation></translation>
</message>
@ -440,6 +434,34 @@
<translation></translation>
</message>
</context>
<context>
<name>UserDelegateItem</name>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="87"/>
<source>Currently logged</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="122"/>
<source>Avatar</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="127"/>
<source>Choose</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="133"/>
<source>Automatic login</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/UserPage/UserDelegateItem.qml" line="153"/>
<source>Delete this user</source>
<translation></translation>
</message>
</context>
<context>
<name>WirelessDetailsDialog</name>
<message>
@ -496,22 +518,22 @@
<context>
<name>WirelessItem</name>
<message>
<location filename="../src/qml/WirelessItem.qml" line="175"/>
<location filename="../src/qml/WirelessItem.qml" line="172"/>
<source>Password</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/WirelessItem.qml" line="194"/>
<location filename="../src/qml/WirelessItem.qml" line="191"/>
<source>Show password</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/WirelessItem.qml" line="209"/>
<location filename="../src/qml/WirelessItem.qml" line="206"/>
<source>Connect</source>
<translation></translation>
</message>
<message>
<location filename="../src/qml/WirelessItem.qml" line="203"/>
<location filename="../src/qml/WirelessItem.qml" line="200"/>
<source>Cancel</source>
<translation></translation>
</message>

Loading…
Cancel
Save