mirror of https://github.com/cutefishos/core
refactor(core): remove unused shutdown UI
parent
4c9a11b02d
commit
a73777d33b
@ -1,23 +0,0 @@
|
||||
project(cutefish-shutdown)
|
||||
|
||||
add_executable(cutefish-shutdown
|
||||
main.cpp
|
||||
actions.cpp
|
||||
qml.qrc
|
||||
)
|
||||
|
||||
target_link_libraries(cutefish-shutdown
|
||||
Qt6::Core
|
||||
Qt6::Widgets
|
||||
Qt6::Quick
|
||||
Qt6::QuickControls2
|
||||
Qt6::DBus
|
||||
)
|
||||
|
||||
file(GLOB TS_FILES translations/*.ts)
|
||||
qt6_add_translation(QM_FILES ${TS_FILES})
|
||||
add_custom_target(shutdown-translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES})
|
||||
add_dependencies(cutefish-shutdown shutdown-translations)
|
||||
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cutefish-shutdown/translations)
|
||||
|
||||
install(TARGETS cutefish-shutdown RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
@ -1,89 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 CutefishOS Team.
|
||||
*
|
||||
* Author: Reion Wong <aj@cutefishos.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import Qt5Compat.GraphicalEffects
|
||||
import FishUI 1.0 as FishUI
|
||||
|
||||
Item {
|
||||
id: control
|
||||
width: 128
|
||||
height: width
|
||||
|
||||
property string text
|
||||
property string icon
|
||||
property int iconSize: 52
|
||||
property bool checked: false
|
||||
signal clicked
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
acceptedButtons: Qt.LeftButton
|
||||
onClicked: control.clicked()
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: layout
|
||||
anchors.fill: parent
|
||||
spacing: FishUI.Units.largeSpacing * 1.5
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
Item {
|
||||
height: control.iconSize
|
||||
Layout.fillWidth: true
|
||||
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
width: parent.height + FishUI.Units.largeSpacing * 2
|
||||
height: parent.height + FishUI.Units.largeSpacing * 2
|
||||
z: -1
|
||||
color: "white"
|
||||
opacity: mouseArea.pressed ? 0.1 : mouseArea.containsMouse || control.checked ? 0.2 : 0
|
||||
radius: height / 2
|
||||
}
|
||||
|
||||
Image {
|
||||
id: image
|
||||
anchors.centerIn: parent
|
||||
source: control.icon
|
||||
sourceSize: Qt.size(width, height)
|
||||
width: control.iconSize
|
||||
height: width
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
id: _label
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
text: control.text
|
||||
color: "white"
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,82 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 CutefishOS Team.
|
||||
*
|
||||
* Author: revenmartin <revenmartin@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "actions.h"
|
||||
#include <QCommandLineParser>
|
||||
#include <QDBusInterface>
|
||||
#include <QApplication>
|
||||
|
||||
const static QString s_dbusName = "com.cutefish.Session";
|
||||
const static QString s_pathName = "/Session";
|
||||
const static QString s_interfaceName = "com.cutefish.Session";
|
||||
|
||||
const static QString s_screenSaverService = "org.freedesktop.ScreenSaver";
|
||||
const static QString s_screenSaverPath = "/ScreenSaver";
|
||||
const static QString s_screenSaverInterface = "org.freedesktop.ScreenSaver";
|
||||
|
||||
Actions::Actions(QObject *parent)
|
||||
: QObject(parent)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Actions::shutdown()
|
||||
{
|
||||
QDBusInterface iface(s_dbusName, s_pathName, s_interfaceName, QDBusConnection::sessionBus());
|
||||
if (iface.isValid()) {
|
||||
iface.call("powerOff");
|
||||
}
|
||||
}
|
||||
|
||||
void Actions::logout()
|
||||
{
|
||||
QDBusInterface iface(s_dbusName, s_pathName, s_interfaceName, QDBusConnection::sessionBus());
|
||||
if (iface.isValid()) {
|
||||
iface.call("logout");
|
||||
}
|
||||
}
|
||||
|
||||
void Actions::reboot()
|
||||
{
|
||||
QDBusInterface iface(s_dbusName, s_pathName, s_interfaceName, QDBusConnection::sessionBus());
|
||||
if (iface.isValid()) {
|
||||
iface.call("reboot");
|
||||
}
|
||||
}
|
||||
|
||||
void Actions::lockScreen()
|
||||
{
|
||||
QDBusInterface iface(s_screenSaverService,
|
||||
s_screenSaverPath,
|
||||
s_screenSaverInterface,
|
||||
QDBusConnection::sessionBus());
|
||||
if (iface.isValid()) {
|
||||
iface.call(QStringLiteral("Lock"));
|
||||
}
|
||||
qApp->exit(0);
|
||||
}
|
||||
|
||||
void Actions::suspend()
|
||||
{
|
||||
QDBusInterface iface(s_dbusName, s_pathName, s_interfaceName, QDBusConnection::sessionBus());
|
||||
if (iface.isValid()) {
|
||||
iface.call("suspend");
|
||||
}
|
||||
QCoreApplication::exit(0);
|
||||
}
|
||||
@ -1,39 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 CutefishOS Team.
|
||||
*
|
||||
* Author: revenmartin <revenmartin@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef ACTIONS_H
|
||||
#define ACTIONS_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class Actions : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Actions(QObject *parent = nullptr);
|
||||
|
||||
Q_INVOKABLE void shutdown();
|
||||
Q_INVOKABLE void logout();
|
||||
Q_INVOKABLE void reboot();
|
||||
Q_INVOKABLE void lockScreen();
|
||||
Q_INVOKABLE void suspend();
|
||||
};
|
||||
|
||||
#endif // ACTIONS_H
|
||||
@ -1,8 +0,0 @@
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<style id="current-color-scheme" type="text/css">.ColorScheme-Text {
|
||||
color:#363636;
|
||||
}</style>
|
||||
</defs>
|
||||
<path class="ColorScheme-Text" d="m12 1c-6.0751 0-11 4.9249-11 11 0 6.0751 4.9249 11 11 11 6.0751 0 11-4.9249 11-11 0-6.0751-4.9249-11-11-11zm0 0.91667c5.5688 0 10.083 4.5145 10.083 10.083 0 5.5688-4.5145 10.083-10.083 10.083-5.5688 0-10.083-4.5145-10.083-10.083 0-5.5688 4.5145-10.083 10.083-10.083zm-0.0358 1.8333c-2.0313 0-3.6667 1.6353-3.6667 3.6667v3.6667h-1.0026c-0.94792 0-1.7116 0.81767-1.7116 1.8333v3.6667c0 1.0157 0.76363 1.8333 1.7116 1.8333h9.4105c0.94792 0 1.7116-0.81767 1.7116-1.8333v-3.6667c0-1.0157-0.76363-1.8333-1.7116-1.8333h-1.0742v-3.6667c0-2.0313-1.6353-3.6667-3.6667-3.6667zm0 0.91667c1.5235 0 2.75 1.4309 2.75 3.2083v3.2083h-5.5v-3.2083c0-1.7774 1.2265-3.2083 2.75-3.2083zm-4.5475 7.3333h9.1667c0.50783 0 0.91667 0.40883 0.91667 0.91667v3.6667c0 0.50783-0.40883 0.91667-0.91667 0.91667h-9.1667c-0.50783 0-0.91667-0.40883-0.91667-0.91667v-3.6667c0-0.50783 0.40883-0.91667 0.91667-0.91667z" fill="#fff" stroke-width=".91667"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB |
@ -1,8 +0,0 @@
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<style id="current-color-scheme" type="text/css">.ColorScheme-Text {
|
||||
color:#dedede;
|
||||
}</style>
|
||||
</defs>
|
||||
<path class="ColorScheme-Text" d="m12 1a11 11 0 0 0-11 11 11 11 0 0 0 11 11 11 11 0 0 0 11-11 11 11 0 0 0-11-11zm0 0.91667a10.083 10.083 0 0 1 10.083 10.083 10.083 10.083 0 0 1-10.083 10.083 10.083 10.083 0 0 1-10.083-10.083 10.083 10.083 0 0 1 10.083-10.083zm2.997 2.75-7.5804 7.3333 7.5804 7.3333 0.6696-0.64167-6.9108-6.6917 6.9108-6.6917z" fill="#fff" stroke-width=".91667"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 613 B |
@ -1,8 +0,0 @@
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<style id="current-color-scheme" type="text/css">.ColorScheme-Text {
|
||||
color:#dedede;
|
||||
}</style>
|
||||
</defs>
|
||||
<path class="ColorScheme-Text" d="m1 12a11 11 0 0 1 1.5326-5.577l4.9307 4.9289-0.65169 0.64811-4.0373-4.0373a10.083 10.083 0 0 0-0.85759 4.0373 10.083 10.083 0 0 0 10.083 10.083 10.083 10.083 0 0 0 4.9056-1.2873l0.66781 0.67138a11 11 0 0 1-5.5734 1.5326 11 11 0 0 1-11-11zm5.423-9.4673a11 11 0 0 1 5.577-1.5326 11 11 0 0 1 11 11 11 11 0 0 1-1.5326 5.577l-4.9307-4.9289 0.64811-0.64811 4.0373 4.039a10.083 10.083 0 0 0 0.86116-4.039 10.083 10.083 0 0 0-10.083-10.083 10.083 10.083 0 0 0-4.9056 1.2873z" fill="#fff" stroke-width=".91667"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 785 B |
@ -1,8 +0,0 @@
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<style id="current-color-scheme" type="text/css">.ColorScheme-Text {
|
||||
color:#dedede;
|
||||
}</style>
|
||||
</defs>
|
||||
<path class="ColorScheme-Text" d="m11.083 1.0002v8.25h1.8333v-8.25h-1.8333zm2.75 0.15576v0.93638a10.083 10.083 0 0 1 8.25 9.9082 10.083 10.083 0 0 1-10.083 10.083 10.083 10.083 0 0 1-10.083-10.083 10.083 10.083 0 0 1 8.25-9.9101v-0.92382a11 11 0 0 0-9.1667 10.833 11 11 0 0 0 11 11 11 11 0 0 0 11-11 11 11 0 0 0-9.1667-10.844z" fill="#fff" stroke-width=".91667"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 597 B |
@ -1,9 +0,0 @@
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<style id="current-color-scheme" type="text/css">.ColorScheme-Text {
|
||||
color:#dedede;
|
||||
}</style>
|
||||
<g class="ColorScheme-Text" transform="matrix(.9893 0 0 .9893 -2.9572 -4.7003)" fill="#fff">
|
||||
<path d="m9.762 5.762a12 12 0 0 0-4e-3 8e-3 12 12 0 0 0-5.758 10.23 12 12 0 0 0 12 12 12 12 0 0 0 10.238-5.762l-0.732-0.732a11 11 0 0 1-5.506 1.494 11 11 0 0 1-11-11 11 11 0 0 1 1.486-5.502 11 11 0 0 1 8e-3 -4e-3zm-0.962 1.94a12 12 0 0 0-0.8 4.298 12 12 0 0 0 12 12 12 12 0 0 0 4.326-0.82 11 11 0 0 1-8.326 3.82 11 11 0 0 1-11-11 11 11 0 0 1 3.8-8.299zm13.2-1.702v1h2.293l-2.293 2.293v0.707h4v-1h-2.293l2.293-2.293v-0.707h-0.707z"/>
|
||||
<path d="m20 13v1h2.293l-2.293 2.293v0.707h4v-1h-2.293l2.293-2.293v-0.707h-0.707zm-6-5v1h2.293l-2.293 2.293v0.707h4v-1h-2.293l2.293-2.293v-0.707h-0.707z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 913 B |
@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 CutefishOS Team.
|
||||
*
|
||||
* Author: revenmartin <revenmartin@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <QGuiApplication>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QQmlContext>
|
||||
|
||||
#include <QFile>
|
||||
#include <QLocale>
|
||||
#include <QTranslator>
|
||||
#include <QDBusConnection>
|
||||
|
||||
#include "actions.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QGuiApplication app(argc, argv);
|
||||
|
||||
if (!QDBusConnection::sessionBus().registerService("com.cutefish.ShutdownUI")) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!QDBusConnection::sessionBus().registerObject("/ShutdownUI", &app)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Translations
|
||||
QLocale locale;
|
||||
QString qmFilePath = QString("%1/%2.qm").arg("/usr/share/cutefish-shutdown/translations/").arg(locale.name());
|
||||
if (QFile::exists(qmFilePath)) {
|
||||
QTranslator *translator = new QTranslator(QGuiApplication::instance());
|
||||
if (translator->load(qmFilePath)) {
|
||||
QGuiApplication::installTranslator(translator);
|
||||
} else {
|
||||
translator->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
const QUrl url(QStringLiteral("qrc:/main.qml"));
|
||||
QObject::connect(&engine, &QQmlApplicationEngine::objectCreated,
|
||||
&app, [url](QObject *obj, const QUrl &objUrl) {
|
||||
if (!obj && url == objUrl)
|
||||
QCoreApplication::exit(-1);
|
||||
}, Qt::QueuedConnection);
|
||||
engine.rootContext()->setContextProperty("actions", new Actions);
|
||||
engine.load(url);
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
@ -1,279 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 CutefishOS Team.
|
||||
*
|
||||
* Author: Reion Wong <aj@cutefishos.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Window 2.3
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import Qt5Compat.GraphicalEffects
|
||||
|
||||
import Cutefish.Accounts 1.0 as Accounts
|
||||
import Cutefish.System 1.0 as System
|
||||
import FishUI 1.0 as FishUI
|
||||
|
||||
ApplicationWindow {
|
||||
width: Screen.width
|
||||
height: Screen.height
|
||||
visible: true
|
||||
visibility: Window.FullScreen
|
||||
flags: Qt.FramelessWindowHint
|
||||
id: root
|
||||
|
||||
function exit() {
|
||||
Qt.quit()
|
||||
}
|
||||
|
||||
System.Wallpaper {
|
||||
id: wallpaper
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: wallpaper.color
|
||||
visible: wallpaper.type === 1
|
||||
}
|
||||
|
||||
Image {
|
||||
id: wallpaperImage
|
||||
anchors.fill: parent
|
||||
source: "file://" + wallpaper.path
|
||||
sourceSize: Qt.size(width * FishUI.Dpi.ratio,
|
||||
height * FishUI.Dpi.ratio)
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
asynchronous: false
|
||||
clip: true
|
||||
cache: false
|
||||
smooth: false
|
||||
visible: wallpaper.type === 0
|
||||
}
|
||||
|
||||
FastBlur {
|
||||
id: wallpaperBlur
|
||||
anchors.fill: parent
|
||||
radius: 64
|
||||
source: wallpaperImage
|
||||
cached: true
|
||||
visible: wallpaperImage.visible
|
||||
}
|
||||
|
||||
ColorOverlay {
|
||||
anchors.fill: parent
|
||||
source: parent
|
||||
color: "#000000"
|
||||
opacity: 0.2
|
||||
}
|
||||
|
||||
Accounts.UserAccount {
|
||||
id: currentUser
|
||||
}
|
||||
|
||||
onActiveChanged: {
|
||||
if (!active)
|
||||
exit()
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: exit()
|
||||
}
|
||||
|
||||
Item {
|
||||
id: rootItem
|
||||
anchors.fill: parent
|
||||
focus: true
|
||||
|
||||
Keys.enabled: true
|
||||
Keys.onEscapePressed: {
|
||||
Qt.quit()
|
||||
}
|
||||
|
||||
Keys.onEnterPressed: {
|
||||
buttonsItem.action()
|
||||
}
|
||||
|
||||
Keys.onReturnPressed: {
|
||||
buttonsItem.action()
|
||||
}
|
||||
|
||||
Keys.onLeftPressed: {
|
||||
if (buttonsItem.currentIndex === -1 || buttonsItem.currentIndex === 0) {
|
||||
buttonsItem.currentIndex = 0
|
||||
} else {
|
||||
buttonsItem.currentIndex = buttonsItem.currentIndex - 1
|
||||
}
|
||||
|
||||
buttonsItem.updateChecked()
|
||||
}
|
||||
|
||||
Keys.onRightPressed: {
|
||||
if (buttonsItem.currentIndex >= 4) {
|
||||
|
||||
} else {
|
||||
buttonsItem.currentIndex = buttonsItem.currentIndex + 1
|
||||
}
|
||||
|
||||
buttonsItem.updateChecked()
|
||||
}
|
||||
|
||||
Item {
|
||||
id: userItem
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: buttonsItem.top
|
||||
anchors.bottomMargin: root.height * 0.05
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
spacing: FishUI.Units.largeSpacing
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
Image {
|
||||
id: userIcon
|
||||
|
||||
property int iconSize: 60
|
||||
|
||||
Layout.preferredHeight: iconSize
|
||||
Layout.preferredWidth: iconSize
|
||||
sourceSize: String(source) === "image://icontheme/default-user" ? Qt.size(iconSize, iconSize) : undefined
|
||||
source: currentUser.iconFileName ? "file:///" + currentUser.iconFileName : "image://icontheme/default-user"
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
layer.enabled: true
|
||||
layer.effect: OpacityMask {
|
||||
maskSource: Item {
|
||||
width: userIcon.width
|
||||
height: userIcon.height
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: parent.height / 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// No Action
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
text: currentUser.userName
|
||||
color: "white"
|
||||
|
||||
// No Action
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
id: buttonsItem
|
||||
anchors.centerIn: parent
|
||||
width: buttonsLayout.implicitWidth
|
||||
height: buttonsLayout.implicitHeight
|
||||
|
||||
property int currentIndex: -1
|
||||
|
||||
function updateChecked() {
|
||||
shutdownButton.checked = currentIndex === 0
|
||||
rebootButton.checked = currentIndex === 1
|
||||
logoutButton.checked = currentIndex === 2
|
||||
lockscreenButton.checked = currentIndex === 3
|
||||
suspendButton.checked = currentIndex === 4
|
||||
}
|
||||
|
||||
function action() {
|
||||
if (buttonsItem.currentIndex === -1 || buttonsItem.currentIndex > 4)
|
||||
return
|
||||
|
||||
switch (currentIndex) {
|
||||
case 0:
|
||||
actions.shutdown()
|
||||
break
|
||||
case 1:
|
||||
actions.reboot()
|
||||
break
|
||||
case 2:
|
||||
actions.logout()
|
||||
break
|
||||
case 3:
|
||||
actions.lockScreen()
|
||||
break
|
||||
case 4:
|
||||
actions.suspend()
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: buttonsLayout
|
||||
anchors.fill: parent
|
||||
spacing: root.width * 0.015
|
||||
|
||||
IconButton {
|
||||
id: shutdownButton
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: qsTr("Shutdown")
|
||||
icon: "qrc:///icons/system-shutdown.svg"
|
||||
onClicked: actions.shutdown()
|
||||
}
|
||||
|
||||
IconButton {
|
||||
id: rebootButton
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: qsTr("Reboot")
|
||||
icon: "qrc:///icons/system-reboot.svg"
|
||||
onClicked: actions.reboot()
|
||||
}
|
||||
|
||||
IconButton {
|
||||
id: logoutButton
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: qsTr("Logout")
|
||||
icon: "qrc:///icons/system-log-out.svg"
|
||||
onClicked: actions.logout()
|
||||
}
|
||||
|
||||
IconButton {
|
||||
id: lockscreenButton
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: qsTr("Lock screen")
|
||||
icon: "qrc:/icons/system-lock-screen.svg"
|
||||
onClicked: actions.lockScreen()
|
||||
}
|
||||
|
||||
IconButton {
|
||||
id: suspendButton
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: qsTr("Suspend")
|
||||
icon: "qrc:///icons/system-suspend.svg"
|
||||
onClicked: actions.suspend()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,11 +0,0 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>main.qml</file>
|
||||
<file>icons/system-log-out.svg</file>
|
||||
<file>icons/system-reboot.svg</file>
|
||||
<file>icons/system-shutdown.svg</file>
|
||||
<file>icons/system-suspend.svg</file>
|
||||
<file>IconButton.qml</file>
|
||||
<file>icons/system-lock-screen.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="be_Latn">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Vykliučennie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Pierazahruzka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Vyjsci z sieansu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Spiačy režym</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="bn">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>বন্ধ করুন</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>পুনরায় চালু করুন</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>লগ আউট</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>স্ক্রীন লক করুন</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>স্থগিত করুন</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="bs">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Ugasiti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Ponovno pokreni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Odjavi se</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspendiraj</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="cs" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Vypnout</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Restartovat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Odhlásit se</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Uspat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="da">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Luk ned</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Genstart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Log ud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspender</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de_DE" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Herunterfahren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Neustart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Abmelden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Bereitschaft</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Shutdown</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Reboot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Log out</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Lock screen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspend</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="eo">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="es" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Apagar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Reiniciar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Cerrar sesión</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspender</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="es_MX" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Apagar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Reiniciar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Cerrar Sesión</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspender</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="fi">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Sammuta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Käynnistä uudelleen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Kirjaudu ulos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Keskeytä</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="fr">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Éteindre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Redémarrer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Se déconnecter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspendre</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="hi">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>शट डाउन</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="hr">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Isključi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Ponovno pokreni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Odjava</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Zaključni zalon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Zaustavi</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="hu">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Leállítás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Újraindítás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Kijelentkezés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Alvó állapot</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="id">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Matikan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Boot Ulang</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Keluar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Tangguhkan</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ie">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Extinter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Reiniciar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Cluder li session</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspender</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Spegni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Riavvia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Disconnettiti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Sospendi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ja">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>シャットダウン</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>再起動</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>ログアウト</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>画面をロック</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>サスペンド</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="lt">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Išjungti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Paleisti iš naujo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Atsijungti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Užrakinti ekraną</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Pristabdyti</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="lv">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Izslēgt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Restartēt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Izrakstīties</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Bloķēt ekrānu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Aizmidzināt</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="mg">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Vonoina</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Averina alefa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Mivoaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Hidiana ny ecran</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Ajanona</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ml">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="nb_NO" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Slå av</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Omstart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Logg ut</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Hvilemodus</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ne">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>पावर अफ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>पुन: सुचारु</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>लग आउट</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>सस्पेन्ड</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="nl">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Sluit af</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Herstart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Meld af</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Vergrendelscherm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Slaapstand</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pl_PL">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Wyłącz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Uruchom ponownie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Wyloguj się</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Uśpij</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pt_BR" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Desligar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Reiniciar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Encerrar sessão</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspender</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pt_PT">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Desligar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Reiniciar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Terminar sessão</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspender</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ro">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Închidere</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Repornire</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Delogare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Blocare ecran</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Întrerupere</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="si">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>නික්මෙන්න</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>අත්හිටුවන්න</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sk">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Vypnúť</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Reštartovať</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Odhlásiť sa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Uspať</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="so">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Dami</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Soo daar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Ka bax</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Haki</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sr">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Isključi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Pokreni ponovo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Odjavi se</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Zaključaj ekran</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Suspenduj</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sv" sourcelanguage="de_DE">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Stäng av</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Starta om</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Logga ut</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Viloläge</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sw">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Zima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Wakisha tena</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Toka Nje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Funga skrini</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Simamisha</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ta">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>நிறுத்தவும்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>மீண்டும் துவக்கவும்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>வெளியேறு</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>இடைநிறுத்து</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="tzm">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="uz">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Ishni yakunlash</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Qayta yuklash</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>Chiqish</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Uhlatish</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="vi">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>Tắt nguồn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>Khởi động lại</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>Đăng xuất</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>Khóa màn hình</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>Ngủ đông</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh_CN">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="74"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>关机</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="82"/>
|
||||
<source>Reboot</source>
|
||||
<translation>重新启动</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="90"/>
|
||||
<source>Logout</source>
|
||||
<translation>注销</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="98"/>
|
||||
<source>Lock screen</source>
|
||||
<translation>锁屏</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="106"/>
|
||||
<source>Suspend</source>
|
||||
<translation>休眠</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh_Hant">
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../main.qml" line="67"/>
|
||||
<source>Shutdown</source>
|
||||
<translation>關閉電腦</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="75"/>
|
||||
<source>Reboot</source>
|
||||
<translation>重新啓動</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="83"/>
|
||||
<source>Logout</source>
|
||||
<translation>登出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.qml" line="91"/>
|
||||
<source>Suspend</source>
|
||||
<translation>掛起</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name></name>
|
||||
</context>
|
||||
</TS>
|
||||
Loading…
Reference in New Issue