3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-30 14:52:17 +00:00

T3Q came out of Mike's asshole

This commit is contained in:
Scare Crowe 2021-11-06 19:59:22 +05:00
parent a3daf00848
commit 6d814c69e0
156 changed files with 27425 additions and 0 deletions

View File

@ -0,0 +1,49 @@
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
# CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level
# CMakeLists.txt file even before calling the project() command.
# The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION)
# command to specify that the current project code is written for the given range of CMake
# versions.
project(lxqt-powermanagement)
include(GNUInstallDirs)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
set(KF5_MINIMUM_VERSION "5.36.0")
set(LXQT_MINIMUM_VERSION "1.0.0")
set(QT_MINIMUM_VERSION "5.15.0")
find_package(Qt5DBus ${QT_MINIMUM_VERSION} REQUIRED)
find_package(Qt5LinguistTools ${QT_MINIMUM_VERSION} REQUIRED)
find_package(Qt5Svg ${QT_MINIMUM_VERSION} REQUIRED)
find_package(Qt5Widgets ${QT_MINIMUM_VERSION} REQUIRED)
find_package(KF5IdleTime ${KF5_MINIMUM_VERSION} REQUIRED)
find_package(KF5Solid ${KF5_MINIMUM_VERSION} REQUIRED)
find_package(lxqt ${LXQT_MINIMUM_VERSION} REQUIRED)
find_package(lxqt-globalkeys-ui ${LXQT_GLOBALKEYS_MINIMUM_VERSION} REQUIRED)
message(STATUS "Building with Qt${Qt5Core_VERSION}")
# Patch Version
set(LXQT_POWERMANAGEMENT_PATCH_VERSION 0)
set(LXQT_POWERMANAGEMENT_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_POWERMANAGEMENT_PATCH_VERSION})
add_definitions(
"-DLXQT_POWERMANAGEMENT_VERSION=\"${LXQT_POWERMANAGEMENT_VERSION}\""
)
include(LXQtPreventInSourceBuilds)
include(LXQtCompilerSettings NO_POLICY_SCOPE)
# Translations **********************************
include(LXQtTranslate)
add_subdirectory(config)
add_subdirectory(src)
add_subdirectory(autostart)

View File

@ -0,0 +1,16 @@
file(GLOB DESKTOP_FILES_IN *.desktop.in)
# Translations **********************************
lxqt_translate_desktop(DESKTOP_FILES
SOURCES
${DESKTOP_FILES_IN}
USE_YAML
)
add_custom_target(lxqt_powermanagement_autostart_desktop_files ALL DEPENDS ${DESKTOP_FILES})
#************************************************
install(FILES
${DESKTOP_FILES}
DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
COMPONENT Runtime
)

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=1.1
TryExec=lxqt-powermanagement
Exec=lxqt-powermanagement
OnlyShowIn=LXQt;
X-LXQt-Need-Tray=true
X-LXQt-Module=true
#TRANSLATIONS_DIR=translations

View File

@ -0,0 +1,73 @@
project(lxqt-config-powermanagement)
set(QTX_LIBRARIES Qt5::Widgets Qt5::DBus Qt5::Svg)
set(SOURCES
main.cpp
mainwindow.cpp
lidwatchersettings.cpp
batterywatchersettings.cpp
idlenesswatchersettings.cpp
powermanagementsettings.cpp
powerkeyssettings.cpp
helpers.cpp
../src/iconproducer.cpp
)
set(UI_FILES
lidwatchersettings.ui
batterywatchersettings.ui
idlenesswatchersettings.ui
powerkeyssettings.ui
)
set(ICON_FILES
icons/laptop-lid.svg
)
set(DESKTOP_FILES_IN
lxqt-config-powermanagement.desktop.in
)
# Translations **********************************
lxqt_translate_ts(QM_FILES
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
SOURCES
${SOURCES}
${UI_FILES}
INSTALL_DIR
${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}
)
lxqt_app_translation_loader(config-powermanagement_QM_LOADER ${PROJECT_NAME})
lxqt_translate_desktop(DESKTOP_FILES SOURCES ${DESKTOP_FILES_IN} USE_YAML)
add_executable(${PROJECT_NAME}
${SOURCES}
${DESKTOP_FILES}
${QM_FILES}
${config-powermanagement_QM_LOADER}
)
target_link_libraries(lxqt-config-powermanagement
lxqt
${QTX_LIBRARIES}
KF5::Solid
)
install(TARGETS
${PROJECT_NAME}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
COMPONENT Runtime
)
install(FILES
${DESKTOP_FILES}
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications"
COMPONENT Runtime
)
install(FILES
${ICON_FILES}
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/devices"
COMPONENT Runtime
)

View File

@ -0,0 +1,111 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <LXQt/Settings>
#include <QDebug>
#include <QLabel>
#include <QGroupBox>
#include <Solid/Battery>
#include "batterywatchersettings.h"
#include "ui_batterywatchersettings.h"
#include "powermanagementsettings.h"
BatteryWatcherSettings::BatteryWatcherSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::BatteryWatcherSettings),
mChargingIconProducer(),
mDischargingIconProducer()
{
mUi->setupUi(this);
fillComboBox(mUi->actionComboBox);
mUi->chargeLevelSlider->setValue(53);
mChargingIconProducer.updateState(Solid::Battery::Charging);
mDischargingIconProducer.updateState(Solid::Battery::Discharging);
connect(mUi->groupBox, &QGroupBox::clicked, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->actionComboBox, QOverload<int>::of(&QComboBox::activated), this, &BatteryWatcherSettings::saveSettings);
connect(mUi->warningSpinBox, &QSpinBox::editingFinished, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->levelSpinBox, &QSpinBox::editingFinished, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->showIconCheckBox, &QCheckBox::clicked, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->showIconCheckBox, &QCheckBox::clicked, mUi->previewBox, &QGroupBox::setEnabled);
connect(mUi->useThemeIconsCheckBox, &QCheckBox::clicked, this, &BatteryWatcherSettings::saveSettings);
connect(mUi->useThemeIconsCheckBox, &QCheckBox::clicked, this, &BatteryWatcherSettings::updatePreview);
connect(mUi->chargeLevelSlider, &QSlider::valueChanged, this, &BatteryWatcherSettings::updatePreview);
connect(&mChargingIconProducer, &IconProducer::iconChanged, this, &BatteryWatcherSettings::onChargeIconChanged);
connect(&mDischargingIconProducer, &IconProducer::iconChanged, this, &BatteryWatcherSettings::onDischargeIconChanged);
updatePreview();
}
BatteryWatcherSettings::~BatteryWatcherSettings()
{
delete mUi;
}
void BatteryWatcherSettings::loadSettings()
{
mUi->groupBox->setChecked(mSettings.isBatteryWatcherEnabled());
setComboBoxToValue(mUi->actionComboBox, mSettings.getPowerLowAction());
mUi->warningSpinBox->setValue(mSettings.getPowerLowWarningTime());
mUi->levelSpinBox->setValue(mSettings.getPowerLowLevel());
mUi->showIconCheckBox->setChecked(mSettings.isShowIcon());
mUi->useThemeIconsCheckBox->setChecked(mSettings.isUseThemeIcons());
}
void BatteryWatcherSettings::saveSettings()
{
mSettings.setBatteryWatcherEnabled(mUi->groupBox->isChecked());
mSettings.setPowerLowAction(currentValue(mUi->actionComboBox));
mSettings.setPowerLowWarningTime(mUi->warningSpinBox->value());
mSettings.setPowerLowLevel(mUi->levelSpinBox->value());
mSettings.setShowIcon(mUi->showIconCheckBox->isChecked());
mSettings.setUseThemeIcons(mUi->useThemeIconsCheckBox->isChecked());
}
void BatteryWatcherSettings::updatePreview()
{
mUi->previewBox->setTitle(tr("Preview") + QString::fromLatin1(" (%1)").arg(mSettings.isUseThemeIcons() ? QIcon::themeName() : tr("built in")));
int chargePercent = mUi->chargeLevelSlider->value();
mChargingIconProducer.updateChargePercent(chargePercent);
mDischargingIconProducer.updateChargePercent(chargePercent);
mUi->chargeLevelLabel->setText(tr("Level: %1%").arg(chargePercent));
}
void BatteryWatcherSettings::onChargeIconChanged()
{
mUi->chargingIcon->setPixmap(mChargingIconProducer.mIcon.pixmap(mUi->chargingIcon->size()));
mUi->chargingLabel->setText(mChargingIconProducer.mIconName);
}
void BatteryWatcherSettings::onDischargeIconChanged()
{
mUi->dischargingIcon->setPixmap(mDischargingIconProducer.mIcon.pixmap(mUi->dischargingIcon->size()));
mUi->dischargingLabel->setText(mDischargingIconProducer.mIconName);
}

View File

@ -0,0 +1,66 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef POWERLOWSETTINGS_H
#define POWERLOWSETTINGS_H
#include <QWidget>
#include <LXQt/Settings>
#include "../config/powermanagementsettings.h"
#include "../src/iconproducer.h"
#include "helpers.h"
namespace Ui {
class BatteryWatcherSettings;
}
class BatteryWatcherSettings : public QWidget
{
Q_OBJECT
public:
explicit BatteryWatcherSettings(QWidget *parent = nullptr);
~BatteryWatcherSettings() override;
public slots:
void loadSettings();
private slots:
void saveSettings();
void updatePreview();
void onChargeIconChanged();
void onDischargeIconChanged();
private:
PowerManagementSettings mSettings;
Ui::BatteryWatcherSettings *mUi;
IconProducer mChargingIconProducer;
IconProducer mDischargingIconProducer;
};
#endif // POWERLOWSETTINGS_H

View File

@ -0,0 +1,249 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BatteryWatcherSettings</class>
<widget class="QWidget" name="BatteryWatcherSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>428</width>
<height>414</height>
</rect>
</property>
<property name="windowTitle">
<string>Battery Watcher Settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>E&amp;nable Battery Watcher</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<widget class="QLabel" name="actionLabel">
<property name="text">
<string>When power is low then:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="actionComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="warningLabel">
<property name="text">
<string>Warning:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="warningSpinBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> seconds</string>
</property>
<property name="maximum">
<number>500</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="levelLabel">
<property name="text">
<string>Level is low at:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="levelSpinBox">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> %</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="showIconLabel">
<property name="text">
<string>Show icon:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="showIconCheckBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="useThemeIconsLabel">
<property name="text">
<string>Use icons from theme:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="useThemeIconsCheckBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="QGroupBox" name="previewBox">
<property name="title">
<string>Preview</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0" colspan="2">
<widget class="QSlider" name="chargeLevelSlider">
<property name="maximum">
<number>100</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="chargingIcon">
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="chargingLabel">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Charging</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="dischargingIcon">
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QLabel" name="chargeLevelLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="dischargingLabel">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Discharging</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>15</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="5" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>25</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,62 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
*
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QComboBox>
#include <LXQt/Power>
#include "helpers.h"
void fillComboBox(QComboBox* comboBox)
{
comboBox->clear();
comboBox->addItem(QObject::tr("Nothing"), -1);
comboBox->addItem(QObject::tr("Ask"), LXQt::Power::PowerShowLeaveDialog);
comboBox->addItem(QObject::tr("Lock screen"), -2); // FIXME
comboBox->addItem(QObject::tr("Suspend"), LXQt::Power::PowerSuspend);
comboBox->addItem(QObject::tr("Hibernate"), LXQt::Power::PowerHibernate);
comboBox->addItem(QObject::tr("Shutdown"), LXQt::Power::PowerShutdown);
comboBox->addItem(QObject::tr("Turn Off monitor(s)"), LXQt::Power::PowerMonitorOff);
}
void setComboBoxToValue(QComboBox* comboBox, int value)
{
for (int index = 0; index < comboBox->count(); index++)
{
if (value == comboBox->itemData(index).toInt())
{
comboBox->setCurrentIndex(index);
return;
}
}
comboBox->setCurrentIndex(0);
}
int currentValue(QComboBox *comboBox)
{
return comboBox->itemData(comboBox->currentIndex()).toInt();
}

View File

@ -0,0 +1,20 @@
/*
* Copyright (c) 2014 Christian Surlykke
*
* This file is part of the LXQt project. <https://lxqt.org>
* It is distributed under the LGPL 2.1 or later license.
* Please refer to the LICENSE file for a copy of the license.
*/
#ifndef POWER_MANAGEMENT_SETTINGS_H
#define POWER_MANAGEMENT_SETTINGS_H
#include <QComboBox>
void fillComboBox(QComboBox* comboBox);
void setComboBoxToValue(QComboBox* comboBox, int value);
int currentValue(QComboBox *comboBox);
#endif // POWER_MANAGEMENT_SETTINGS_H

View File

@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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="400"
height="250"
id="svg2"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="lid.svg">
<defs
id="defs4">
<filter
inkscape:collect="always"
id="filter3831"
x="-0.66894451"
width="2.337889"
y="-0.63549728"
height="2.2709946">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="15.130887"
id="feGaussianBlur3833" />
</filter>
<filter
inkscape:collect="always"
id="filter3835"
x="-0.058792319"
width="1.1175846"
y="-0.14165475"
height="1.2833095">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="8.3204747"
id="feGaussianBlur3837" />
</filter>
<filter
inkscape:collect="always"
id="filter3839"
x="-0.054746114"
width="1.1094922"
y="-6.9892057"
height="14.978411">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="8.3204747"
id="feGaussianBlur3841" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.59105127"
inkscape:cx="-415.65465"
inkscape:cy="283.12685"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1440"
inkscape:window-height="849"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata7">
<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"
transform="translate(-79.26997,-572.39138)">
<path
style="fill:none;stroke:#000000;stroke-width:18.77737617000000014;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter3839)"
d="m 114,806.07647 364.75903,2.85714"
id="path2994"
inkscape:connector-curvature="0"
transform="matrix(0.92840961,0,0,1,6.016738,0)" />
<path
style="fill:none;stroke:#000000;stroke-width:20.75679016000000132;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:none;filter:url(#filter3835)"
d="M 107.31506,789.13315 446.97064,648.16266"
id="path2994-7"
inkscape:connector-curvature="0"
transform="matrix(0.92840961,0,0,1,6.016738,0)" />
<path
sodipodi:type="arc"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.03783953000000007px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter3831)"
id="path3793"
sodipodi:cx="118.57143"
sodipodi:cy="798.07648"
sodipodi:rx="27.142857"
sodipodi:ry="28.571428"
d="m 145.71428,798.07648 c 0,15.77956 -12.15227,28.57143 -27.14285,28.57143 -14.99059,0 -27.14286,-12.79187 -27.14286,-28.57143 0,-15.77957 12.15227,-28.57143 27.14286,-28.57143 14.99058,0 27.14285,12.79186 27.14285,28.57143 z"
transform="matrix(0.52079989,0,0,0.53905881,36.427947,370.56763)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -0,0 +1,156 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QComboBox>
#include <QDebug>
#include "idlenesswatchersettings.h"
#include "ui_idlenesswatchersettings.h"
#include "helpers.h"
#define MINIMUM_SECONDS 30
IdlenessWatcherSettings::IdlenessWatcherSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::IdlenessWatcherSettings)
{
mUi->setupUi(this);
fillComboBox(mUi->idleACActionComboBox);
fillComboBox(mUi->idleBatteryActionComboBox);
mUi->idleACTimeEdit->setMinimumTime( QTime(0,0,MINIMUM_SECONDS) );
mUi->idleBatteryTimeEdit->setMinimumTime( QTime(0,0,MINIMUM_SECONDS) );
mBacklight = new LXQt::Backlight(this);
// If if no backlight support then disable backlight control:
if(! mBacklight->isBacklightAvailable()) {
mUi->idlenessBacklightWatcherGroupBox->setEnabled(false);
mUi->idlenessBacklightWatcherGroupBox->setChecked(false);
} else {
mBacklightActualValue = mBacklight->getBacklight();
}
mConnectSignals();
}
void IdlenessWatcherSettings::mConnectSignals()
{
connect(mUi->idlenessWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleACActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleACTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleBatteryTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->checkBacklightButton, &QPushButton::pressed, this, &IdlenessWatcherSettings::backlightCheckButtonPressed);
connect(mUi->checkBacklightButton, &QPushButton::released, this, &IdlenessWatcherSettings::backlightCheckButtonReleased);
connect(mUi->idlenessBacklightWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->backlightSlider, &QSlider::valueChanged, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->idleTimeBacklightTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->onBatteryDischargingCheckBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
connect(mUi->disableIdlenessFullscreenBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
}
void IdlenessWatcherSettings::mDisconnectSignals()
{
disconnect(mUi->idlenessWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleACActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleACTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleBatteryTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->checkBacklightButton, &QPushButton::pressed, this, &IdlenessWatcherSettings::backlightCheckButtonPressed);
disconnect(mUi->checkBacklightButton, &QPushButton::released, this, &IdlenessWatcherSettings::backlightCheckButtonReleased);
disconnect(mUi->idlenessBacklightWatcherGroupBox, &QGroupBox::clicked, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->backlightSlider, &QSlider::valueChanged, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->idleTimeBacklightTimeEdit, &QTimeEdit::editingFinished, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->onBatteryDischargingCheckBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
disconnect(mUi->disableIdlenessFullscreenBox, &QCheckBox::toggled, this, &IdlenessWatcherSettings::saveSettings);
}
IdlenessWatcherSettings::~IdlenessWatcherSettings()
{
delete mUi;
}
void IdlenessWatcherSettings::loadSettings()
{
mDisconnectSignals();
mUi->idlenessWatcherGroupBox->setChecked(mSettings.isIdlenessWatcherEnabled());
setComboBoxToValue(mUi->idleACActionComboBox, mSettings.getIdlenessACAction());
mUi->idleACTimeEdit->setTime(mSettings.getIdlenessACTime());
setComboBoxToValue(mUi->idleBatteryActionComboBox, mSettings.getIdlenessBatteryAction());
mUi->idleBatteryTimeEdit->setTime(mSettings.getIdlenessBatteryTime());
if(mBacklight->isBacklightAvailable()) {
mUi->idlenessBacklightWatcherGroupBox->setChecked(mSettings.isIdlenessBacklightWatcherEnabled());
mUi->idleTimeBacklightTimeEdit->setTime(mSettings.getIdlenessBacklightTime());
mUi->backlightSlider->setValue(mSettings.getBacklight());
mUi->onBatteryDischargingCheckBox->setChecked(mSettings.isIdlenessBacklightOnBatteryDischargingEnabled());
}
mUi->disableIdlenessFullscreenBox->setChecked(mSettings.isDisableIdlenessWhenFullscreenEnabled());
mConnectSignals();
}
void IdlenessWatcherSettings::saveSettings()
{
mSettings.setIdlenessWatcherEnabled(mUi->idlenessWatcherGroupBox->isChecked());
mSettings.setIdlenessACAction(currentValue(mUi->idleACActionComboBox));
mSettings.setIdlenessACTime(mUi->idleACTimeEdit->time());
mSettings.setIdlenessBatteryAction(currentValue(mUi->idleBatteryActionComboBox));
mSettings.setIdlenessBatteryTime(mUi->idleBatteryTimeEdit->time());
mSettings.setIdlenessBacklightWatcherEnabled(mBacklight->isBacklightAvailable() ? mUi->idlenessBacklightWatcherGroupBox->isChecked() : false);
mSettings.setIdlenessBacklightTime(mUi->idleTimeBacklightTimeEdit->time());
mSettings.setBacklight(mUi->backlightSlider->value());
mSettings.setIdlenessBacklightOnBatteryDischargingEnabled(mUi->onBatteryDischargingCheckBox->isChecked());
mSettings.setDisableIdlenessWhenFullscreen(mUi->disableIdlenessFullscreenBox->isChecked());
}
void IdlenessWatcherSettings::backlightCheckButtonPressed()
{
if(mBacklight->isBacklightAvailable()) {
mBacklightActualValue = mBacklight->getBacklight();
mBacklight->setBacklight((float)mBacklightActualValue * (float)(mUi->backlightSlider->value())/100.0f);
}
}
void IdlenessWatcherSettings::backlightCheckButtonReleased()
{
if(mBacklight->isBacklightAvailable()) {
mBacklight->setBacklight(mBacklightActualValue);
}
}

View File

@ -0,0 +1,66 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef IDLE_SETTINGS_H
#define IDLE_SETTINGS_H
#include <QGroupBox>
#include <LXQt/Settings>
#include <LXQt/lxqtbacklight.h>
#include "powermanagementsettings.h"
namespace Ui {
class IdlenessWatcherSettings;
}
class IdlenessWatcherSettings : public QWidget
{
Q_OBJECT
public:
explicit IdlenessWatcherSettings(QWidget *parent = nullptr);
~IdlenessWatcherSettings() override;
public Q_SLOTS:
void loadSettings();
private Q_SLOTS:
void saveSettings();
void backlightCheckButtonPressed();
void backlightCheckButtonReleased();
private:
PowerManagementSettings mSettings;
Ui::IdlenessWatcherSettings *mUi;
LXQt::Backlight *mBacklight;
int mBacklightActualValue;
void mConnectSignals();
void mDisconnectSignals();
};
#endif // IDLE_SETTINGS_H

View File

@ -0,0 +1,216 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>IdlenessWatcherSettings</class>
<widget class="QWidget" name="IdlenessWatcherSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>452</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="idlenessWatcherGroupBox">
<property name="title">
<string>Enab&amp;le Idleness Watcher</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="idleTimeACLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>When idle on AC:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="idleACActionComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="idleACActionLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>AC Idle time:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QTimeEdit" name="idleACTimeEdit">
<property name="toolTip">
<string>Minutes:Seconds (min: 01:30)</string>
</property>
<property name="minimumDateTime">
<datetime>
<hour>0</hour>
<minute>1</minute>
<second>0</second>
<year>2000</year>
<month>1</month>
<day>1</day>
</datetime>
</property>
<property name="displayFormat">
<string>mm:ss</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="idleTimeBatteryLabel">
<property name="text">
<string>When idle on Battery:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="idleBatteryActionLabel">
<property name="text">
<string>Battery Idle time:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QTimeEdit" name="idleBatteryTimeEdit">
<property name="toolTip">
<string>Minutes:Seconds (min: 01:30)</string>
</property>
<property name="minimumDateTime">
<datetime>
<hour>0</hour>
<minute>1</minute>
<second>0</second>
<year>2000</year>
<month>1</month>
<day>1</day>
</datetime>
</property>
<property name="displayFormat">
<string>mm:ss</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="idleBatteryActionComboBox"/>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="idlenessBacklightWatcherGroupBox">
<property name="title">
<string>Enable Backlight Change</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="backlightLabel">
<property name="text">
<string>Backlight (%):</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSlider" name="backlightSlider">
<property name="maximum">
<number>100</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="idleTimeBacklightLabel">
<property name="text">
<string>Idle time:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QTimeEdit" name="idleTimeBacklightTimeEdit">
<property name="toolTip">
<string>Minutes:Seconds</string>
</property>
<property name="maximumTime">
<time>
<hour>22</hour>
<minute>59</minute>
<second>59</second>
</time>
</property>
<property name="minimumTime">
<time>
<hour>0</hour>
<minute>0</minute>
<second>1</second>
</time>
</property>
<property name="currentSection">
<enum>QDateTimeEdit::MinuteSection</enum>
</property>
<property name="displayFormat">
<string>mm:ss</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="checkBacklightButton">
<property name="text">
<string>Check backlight</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="onBatteryDischargingCheckBox">
<property name="text">
<string>On battery discharging </string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="disableIdlenessFullscreenBox">
<property name="text">
<string>Disable idleness checks when fullscreen</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,83 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QComboBox>
#include <QDebug>
#include "lidwatchersettings.h"
#include "ui_lidwatchersettings.h"
#include "helpers.h"
LidWatcherSettings::LidWatcherSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::LidWatcherSettings)
{
mUi->setupUi(this);
fillComboBox(mUi->onBatteryActionComboBox);
fillComboBox(mUi->onAcActionComboBox);
fillComboBox(mUi->extMonOnBatteryActionComboBox);
fillComboBox(mUi->extMonOnAcActionComboBox);
connect(mUi->lidWatcherSettingsGroupBox, &QGroupBox::clicked, this, &LidWatcherSettings::saveSettings);
connect(mUi->onBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->onAcActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->extMonOnBatteryActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->extMonOnAcActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &LidWatcherSettings::saveSettings);
connect(mUi->extMonGroupBox, &QGroupBox::clicked, this, &LidWatcherSettings::saveSettings);
}
LidWatcherSettings::~LidWatcherSettings()
{
delete mUi;
}
void LidWatcherSettings::loadSettings()
{
mUi->lidWatcherSettingsGroupBox->setChecked(mSettings.isLidWatcherEnabled());
setComboBoxToValue(mUi->onBatteryActionComboBox, mSettings.getLidClosedAction());
setComboBoxToValue(mUi->onAcActionComboBox, mSettings.getLidClosedAcAction());
mUi->extMonGroupBox->setChecked(mSettings.isEnableExtMonLidClosedActions());
setComboBoxToValue(mUi->extMonOnBatteryActionComboBox, mSettings.getLidClosedExtMonAction());
setComboBoxToValue(mUi->extMonOnAcActionComboBox, mSettings.getLidClosedExtMonAcAction());
}
void LidWatcherSettings::saveSettings()
{
mSettings.setLidWatcherEnabled(mUi->lidWatcherSettingsGroupBox->isChecked());
mSettings.setLidClosedAction(currentValue(mUi->onBatteryActionComboBox));
mSettings.setLidClosedAcAction(currentValue(mUi->onAcActionComboBox));
mSettings.setEnableExtMonLidClosedActions(mUi->extMonGroupBox->isChecked());
mSettings.setLidClosedExtMonAction(currentValue(mUi->extMonOnBatteryActionComboBox));
mSettings.setLidClosedExtMonAcAction(currentValue(mUi->extMonOnAcActionComboBox));
}

View File

@ -0,0 +1,58 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef LIDSETTINGS_H
#define LIDSETTINGS_H
#include <QWidget>
#include <LXQt/Settings>
#include "powermanagementsettings.h"
namespace Ui {
class LidWatcherSettings;
}
class LidWatcherSettings : public QWidget
{
Q_OBJECT
public:
explicit LidWatcherSettings(QWidget *parent = nullptr);
~LidWatcherSettings() override;
public slots:
void loadSettings();
private slots:
void saveSettings();
private:
PowerManagementSettings mSettings;
Ui::LidWatcherSettings *mUi;
};
#endif // LIDSETTINGS_H

View File

@ -0,0 +1,149 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LidWatcherSettings</class>
<widget class="QWidget" name="LidWatcherSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>276</width>
<height>289</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox QGroupBox {
border: none;
padding-top: 30px;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="lidWatcherSettingsGroupBox">
<property name="title">
<string>Enable &amp;Lid Watcher</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Action when lid is closed:</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<widget class="QLabel" name="onBatteryActionLabel">
<property name="text">
<string>On Battery:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="onBatteryActionComboBox">
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
<item>
<property name="text">
<string>Suspend</string>
</property>
</item>
<item>
<property name="text">
<string>Hibernate</string>
</property>
</item>
<item>
<property name="text">
<string>Shut down</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="onAcActionLabel">
<property name="text">
<string>On AC:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="onAcActionComboBox"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="extMonGroupBox">
<property name="title">
<string>When &amp;using external monitor</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<item row="1" column="0">
<widget class="QLabel" name="extMonOnBatteryActionLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>On Battery:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="extMonOnBatteryActionComboBox"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="extMonOnAcActionLabel">
<property name="text">
<string>On AC:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="extMonOnAcActionComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Exec=lxqt-config-powermanagement
Icon=preferences-system-power-management
Categories=Settings;DesktopSettings;Qt;LXQt;
OnlyShowIn=LXQt;
#TRANSLATIONS_DIR=translations

View File

@ -0,0 +1,56 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <LXQt/Globals>
#include <LXQt/SingleApplication>
#include <QCommandLineParser>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
LXQt::SingleApplication a(argc, argv);
a.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCommandLineParser parser;
parser.setApplicationDescription(QStringLiteral("LXQt Config Powermanagement"));
const QString VERINFO = QStringLiteral(LXQT_POWERMANAGEMENT_VERSION
"\nliblxqt " LXQT_VERSION
"\nQt " QT_VERSION_STR);
a.setApplicationVersion(VERINFO);
parser.addVersionOption();
parser.addHelpOption();
parser.process(a);
MainWindow mainWindow;
mainWindow.setWindowIcon(QIcon::fromTheme(QSL("preferences-system-power-management")));
mainWindow.show();
a.setActivationWindow(&mainWindow);
return a.exec();
}

View File

@ -0,0 +1,56 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include "mainwindow.h"
#include "lidwatchersettings.h"
#include "batterywatchersettings.h"
#include "idlenesswatchersettings.h"
#include "powerkeyssettings.h"
#include <LXQt/Globals>
MainWindow::MainWindow(QWidget *parent) :
LXQt::ConfigDialog(tr("Power Management Settings"), new PowerManagementSettings(parent))
{
BatteryWatcherSettings* batteryWatcherSettings = new BatteryWatcherSettings(this);
addPage(batteryWatcherSettings, tr("Battery"), QSL("battery"));
connect(this, &MainWindow::reset, batteryWatcherSettings, &BatteryWatcherSettings::loadSettings);
LidWatcherSettings *lidwatcherSettings = new LidWatcherSettings(this);
addPage(lidwatcherSettings, tr("Lid"), QSL("laptop-lid"));
connect(this, &MainWindow::reset, lidwatcherSettings, &LidWatcherSettings::loadSettings);
IdlenessWatcherSettings* idlenessWatcherSettings = new IdlenessWatcherSettings(this);
addPage(idlenessWatcherSettings, tr("Idle"), (QStringList() << QSL("user-idle") << QSL("user-away")));
connect(this, &MainWindow::reset, idlenessWatcherSettings, &IdlenessWatcherSettings::loadSettings);
PowerKeysSettings* powerKeysSettings = new PowerKeysSettings(this);
addPage(powerKeysSettings, tr("Power keys"), QSL("system-shutdown"));
connect(this, &MainWindow::reset, powerKeysSettings, &PowerKeysSettings::loadSettings);
emit reset();
}

View File

@ -0,0 +1,40 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <LXQt/ConfigDialog>
class MainWindow : public LXQt::ConfigDialog
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
};
#endif // MAINWINDOW_H

View File

@ -0,0 +1,63 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2020 LXQt team
* Authors:
* Pedro L. Lucas <selairi@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include "powerkeyssettings.h"
#include "ui_powerkeyssettings.h"
#include "helpers.h"
PowerKeysSettings::PowerKeysSettings(QWidget *parent) :
QWidget(parent),
mSettings(),
mUi(new Ui::PowerKeysSettings)
{
mUi->setupUi(this);
fillComboBox(mUi->powerKeyActionComboBox);
fillComboBox(mUi->suspendKeyActionComboBox);
fillComboBox(mUi->hibernateKeyActionComboBox);
connect(mUi->powerKeyActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &PowerKeysSettings::saveSettings);
connect(mUi->suspendKeyActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &PowerKeysSettings::saveSettings);
connect(mUi->hibernateKeyActionComboBox, QOverload<int>::of(&QComboBox::activated), this, &PowerKeysSettings::saveSettings);
}
PowerKeysSettings::~PowerKeysSettings()
{
}
void PowerKeysSettings::loadSettings()
{
setComboBoxToValue(mUi->powerKeyActionComboBox, mSettings.getPowerKeyAction());
setComboBoxToValue(mUi->suspendKeyActionComboBox, mSettings.getSuspendKeyAction());
setComboBoxToValue(mUi->hibernateKeyActionComboBox, mSettings.getHibernateKeyAction());
}
void PowerKeysSettings::saveSettings()
{
mSettings.setPowerKeyAction(currentValue(mUi->powerKeyActionComboBox));
mSettings.setSuspendKeyAction(currentValue(mUi->suspendKeyActionComboBox));
mSettings.setHibernateKeyAction(currentValue(mUi->hibernateKeyActionComboBox));
}

View File

@ -0,0 +1,59 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2020 LXQt team
* Authors:
* Pedro L. Lucas <selairi@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef POWER_KEYS_SETTINGS_H
#define POWER_KEYS_SETTINGS_H
#include <QGroupBox>
#include <LXQt/Settings>
#include "powermanagementsettings.h"
namespace Ui {
class PowerKeysSettings;
}
class PowerKeysSettings : public QWidget
{
Q_OBJECT
public:
explicit PowerKeysSettings(QWidget *parent = nullptr);
~PowerKeysSettings() override;
public Q_SLOTS:
void loadSettings();
private Q_SLOTS:
void saveSettings();
private:
PowerManagementSettings mSettings;
Ui::PowerKeysSettings *mUi;
};
#endif // POWER_KEYS_SETTINGS_H

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PowerKeysSettings</class>
<widget class="QWidget" name="PowerKeysSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Handle Power Keys</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="powerKeyLabel">
<property name="text">
<string>Power Key Action:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="powerKeyActionComboBox"/>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="suspendKeyActionComboBox"/>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="hibernateKeyActionComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="suspendKeyLabel">
<property name="text">
<string>Suspend Key Action:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="hibernateKeyLabel">
<property name="text">
<string>Hibernate Key Action:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -0,0 +1,361 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
*
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QDebug>
#include <LXQt/Power>
#include "powermanagementsettings.h"
// the pause state is only for the tray icon and is not saved
bool PowerManagementSettings::mIdlenessWatcherPaused = false;
namespace PowerManagementSettingsConstants
{
const QString RUN_CHECK_LEVEL { QSL("runCheckLevel") };
const QString ENABLE_BATTERY_WATCHER_KEY { QSL("enableBatteryWatcher") };
const QString ENABLE_LID_WATCHER_KEY { QSL("enableLidWatcher") };
const QString ENABLE_IDLENESS_WATCHER_KEY { QL1S("enableIdlenessWatcher") };
const QString ENABLE_IDLENESS_BACKLIGHT_WATCHER_KEY { QL1S("enableIdlenessBacklightWatcher") };
const QString LID_CLOSED_ACTION_KEY { QL1S("lidClosedAction") };
const QString LID_CLOSED_AC_ACTION_KEY { QL1S("lidClosedAcAction") };
const QString LID_CLOSED_EXT_MON_ACTION_KEY { QL1S("lidClosedExtMonAction") };
const QString LID_CLOSED_EXT_MON_AC_ACTION_KEY { QL1S("lidClosedExtMonAcAction") };
const QString ENABLE_EXT_MON_LIDCLOSED_ACTIONS_KEY { QL1S("enableExtMonLidClosedActions") };
const QString POWER_LOW_ACTION_KEY { QL1S("powerLowAction") };
const QString POWER_LOW_WARNING_KEY { QL1S("powerLowWarning") };
const QString POWER_LOW_LEVEL_KEY { QL1S("powerLowLevel") };
const QString SHOW_ICON_KEY { QL1S("showIcon") };
const QString USE_THEME_ICONS_KEY { QL1S("useThemeIcons") };
const QString IDLENESS_AC_ACTION_KEY { QL1S("idlenessACAction") };
const QString IDLENESS_AC_TIME { QL1S("idlenessACTime") };
const QString IDLENESS_BATTERY_ACTION_KEY { QL1S("idlenessBatteryAction") };
const QString IDLENESS_BATTERY_TIME { QL1S("idlenessBatteryTime") };
const QString IDLENESS_BACKLIGHT_TIME { QL1S("idlenessTime") };
const QString IDLENESS_BACKLIGHT { QL1S("backlightIdleness") };
const QString IDLENESS_BACKLIGHT_ON_BATTERY_DISCHARGING { QL1S("backlightIdlenessOnBatteryDischarging") };
const QString DISABLE_IDLENESS_WHEN_FULLSCREEN { QL1S("disableIdlenessWhenFullscreen") };
const QString POWER_KEY_ACTION { QL1S("powerKeyAction") };
const QString SUSPEND_KEY_ACTION { QL1S("suspendKeyAction") };
const QString HIBERNATE_KEY_ACTION { QL1S("hibernateKeyAction") };
}
using namespace PowerManagementSettingsConstants;
PowerManagementSettings::PowerManagementSettings(QObject* parent) : LXQt::Settings(QSL("lxqt-powermanagement"), parent)
{
}
PowerManagementSettings::~PowerManagementSettings()
{
}
int PowerManagementSettings::getRunCheckLevel()
{
return value(RUN_CHECK_LEVEL, 0).toInt();
}
void PowerManagementSettings::setRunCheckLevel(int newLevel)
{
setValue(RUN_CHECK_LEVEL, newLevel);
}
bool PowerManagementSettings::isBatteryWatcherEnabled()
{
return value(ENABLE_BATTERY_WATCHER_KEY, true).toBool();
}
void PowerManagementSettings::setBatteryWatcherEnabled(bool batteryWatcherEnabled)
{
setValue(ENABLE_BATTERY_WATCHER_KEY, batteryWatcherEnabled);
}
int PowerManagementSettings::getPowerLowAction()
{
return value(POWER_LOW_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setPowerLowAction(int powerLowAction)
{
setValue(POWER_LOW_ACTION_KEY, powerLowAction);
}
int PowerManagementSettings::getPowerLowLevel()
{
return value(POWER_LOW_LEVEL_KEY, 5).toInt();
}
void PowerManagementSettings::setPowerLowLevel(int powerLowLevel)
{
setValue(POWER_LOW_LEVEL_KEY, powerLowLevel);
}
int PowerManagementSettings::getPowerLowWarningTime()
{
return value(POWER_LOW_WARNING_KEY, 30).toInt();
}
void PowerManagementSettings::setPowerLowWarningTime(int powerLowWarningTime)
{
setValue(POWER_LOW_WARNING_KEY, powerLowWarningTime);
}
bool PowerManagementSettings::isShowIcon()
{
return value(SHOW_ICON_KEY, true).toBool();
}
void PowerManagementSettings::setShowIcon(bool showIcon)
{
setValue(SHOW_ICON_KEY, showIcon);
}
bool PowerManagementSettings::isUseThemeIcons()
{
return value(USE_THEME_ICONS_KEY, false).toBool();
}
void PowerManagementSettings::setUseThemeIcons(bool useThemeIcons)
{
setValue(USE_THEME_ICONS_KEY, useThemeIcons);
}
bool PowerManagementSettings::isLidWatcherEnabled()
{
return value(ENABLE_LID_WATCHER_KEY, true).toBool();
}
void PowerManagementSettings::setLidWatcherEnabled(bool lidWatcherEnabled)
{
setValue(ENABLE_LID_WATCHER_KEY, lidWatcherEnabled);
}
int PowerManagementSettings::getLidClosedAcAction()
{
return value(LID_CLOSED_AC_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedAcAction(int lidClosedAcAction)
{
setValue(LID_CLOSED_AC_ACTION_KEY, lidClosedAcAction);
}
int PowerManagementSettings::getLidClosedAction()
{
return value(LID_CLOSED_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedAction(int lidClosedAction)
{
setValue(LID_CLOSED_ACTION_KEY, lidClosedAction);
}
int PowerManagementSettings::getLidClosedExtMonAcAction()
{
return value(LID_CLOSED_EXT_MON_AC_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedExtMonAcAction(int lidClosedExtMonAcAction)
{
setValue(LID_CLOSED_EXT_MON_AC_ACTION_KEY, lidClosedExtMonAcAction);
}
int PowerManagementSettings::getLidClosedExtMonAction()
{
return value(LID_CLOSED_EXT_MON_ACTION_KEY, -1).toInt();
}
void PowerManagementSettings::setLidClosedExtMonAction(int lidClosedExtMonAction)
{
setValue(LID_CLOSED_EXT_MON_ACTION_KEY, lidClosedExtMonAction);
}
bool PowerManagementSettings::isEnableExtMonLidClosedActions()
{
return value(ENABLE_EXT_MON_LIDCLOSED_ACTIONS_KEY, 0).toBool();
}
void PowerManagementSettings::setEnableExtMonLidClosedActions(bool enableExtMonLidClosedActions)
{
setValue(ENABLE_EXT_MON_LIDCLOSED_ACTIONS_KEY, enableExtMonLidClosedActions);
}
bool PowerManagementSettings::isIdlenessWatcherEnabled()
{
return value(ENABLE_IDLENESS_WATCHER_KEY, false).toBool();
}
void PowerManagementSettings::setIdlenessWatcherEnabled(bool idlenessWatcherEnabled)
{
setValue(ENABLE_IDLENESS_WATCHER_KEY, idlenessWatcherEnabled);
}
int PowerManagementSettings::getIdlenessACAction()
{
// defaults to nothing (-1) and eventually load legacy value
int oldValue = value(QL1S("idlenessAction"), -1).toInt();
return value(IDLENESS_AC_ACTION_KEY, oldValue).toInt();
}
void PowerManagementSettings::setIdlenessACAction(int idlenessAction)
{
setValue(IDLENESS_AC_ACTION_KEY, idlenessAction);
}
QTime PowerManagementSettings::getIdlenessACTime()
{
// 1. The default value is 15 minutes (the legacy key is also read);
// 2. Intervals greater than or equal to one hour aren't supported; and
// 3. Intervals smaller than one minute are prevented.
int oldValue = qBound(60, value(QL1S("idlenessTimeSecs"), 900).toInt(), 3599);
int m = oldValue / 60;
int s = oldValue - m * 60;
return value(IDLENESS_AC_TIME, QTime(0, m, s)).toTime();
}
void PowerManagementSettings::setIdlenessACTime(QTime idlenessTime)
{
setValue(IDLENESS_AC_TIME, idlenessTime);
}
int PowerManagementSettings::getIdlenessBatteryAction()
{
// defaults to nothing (-1) and eventually load legacy value
int oldValue = value(QL1S("idlenessAction"), -1).toInt();
return value(IDLENESS_BATTERY_ACTION_KEY, oldValue).toInt();
}
void PowerManagementSettings::setIdlenessBatteryAction(int idlenessAction)
{
setValue(IDLENESS_BATTERY_ACTION_KEY, idlenessAction);
}
QTime PowerManagementSettings::getIdlenessBatteryTime()
{
// 1. The default value is 15 minutes (the legacy key is also read);
// 2. Intervals greater than or equal to one hour aren't supported; and
// 3. Intervals smaller than one minute are prevented.
int oldValue = qBound(60, value(QL1S("idlenessTimeSecs"), 900).toInt(), 3599);
int m = oldValue / 60;
int s = oldValue - m * 60;
return value(IDLENESS_BATTERY_TIME, QTime(0, m, s)).toTime();
}
void PowerManagementSettings::setIdlenessBatteryTime(QTime idlenessTime)
{
setValue(IDLENESS_BATTERY_TIME, idlenessTime);
}
bool PowerManagementSettings::isIdlenessBacklightWatcherEnabled()
{
return value(ENABLE_IDLENESS_BACKLIGHT_WATCHER_KEY, false).toBool();
}
void PowerManagementSettings::setIdlenessBacklightWatcherEnabled(bool idlenessBacklightWatcherEnabled)
{
setValue(ENABLE_IDLENESS_BACKLIGHT_WATCHER_KEY, idlenessBacklightWatcherEnabled);
}
QTime PowerManagementSettings::getIdlenessBacklightTime()
{
// default to 1 minute
return value(IDLENESS_BACKLIGHT_TIME, QTime(0, 1)).toTime();
}
void PowerManagementSettings::setIdlenessBacklightTime(QTime idlenessBacklightTime)
{
setValue(IDLENESS_BACKLIGHT_TIME, idlenessBacklightTime);
}
int PowerManagementSettings::getBacklight()
{
return value(IDLENESS_BACKLIGHT, 50).toInt();
}
void PowerManagementSettings::setBacklight(int backlight)
{
setValue(IDLENESS_BACKLIGHT, backlight);
}
bool PowerManagementSettings::isIdlenessBacklightOnBatteryDischargingEnabled()
{
return value(IDLENESS_BACKLIGHT_ON_BATTERY_DISCHARGING, true).toBool();
}
void PowerManagementSettings::setIdlenessBacklightOnBatteryDischargingEnabled(bool enabled)
{
setValue(IDLENESS_BACKLIGHT_ON_BATTERY_DISCHARGING, enabled);
}
bool PowerManagementSettings::isDisableIdlenessWhenFullscreenEnabled()
{
return value(DISABLE_IDLENESS_WHEN_FULLSCREEN, false).toBool();
}
void PowerManagementSettings::setDisableIdlenessWhenFullscreen(bool enabled)
{
setValue(DISABLE_IDLENESS_WHEN_FULLSCREEN, enabled);
}
int PowerManagementSettings::getPowerKeyAction()
{
return value(POWER_KEY_ACTION, LXQt::Power::Action::PowerShutdown).toInt();
}
void PowerManagementSettings::setPowerKeyAction(int action)
{
setValue(POWER_KEY_ACTION, action);
}
int PowerManagementSettings::getSuspendKeyAction()
{
return value(SUSPEND_KEY_ACTION, LXQt::Power::Action::PowerSuspend).toInt();
}
void PowerManagementSettings::setSuspendKeyAction(int action)
{
setValue(SUSPEND_KEY_ACTION, action);
}
int PowerManagementSettings::getHibernateKeyAction()
{
return value(HIBERNATE_KEY_ACTION, LXQt::Power::Action::PowerHibernate).toInt();
}
void PowerManagementSettings::setHibernateKeyAction(int action)
{
setValue(HIBERNATE_KEY_ACTION, action);
}
bool PowerManagementSettings::isIdlenessWatcherPaused() const
{
return mIdlenessWatcherPaused;
}
void PowerManagementSettings::setIdlenessWatcherPaused(bool idlenessWatcherPaused) {
mIdlenessWatcherPaused = idlenessWatcherPaused;
}

View File

@ -0,0 +1,133 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef COMMON_H
#define COMMON_H
#include <QComboBox>
#include <QString>
#include <QTime>
#include <LXQt/Settings>
class PowerManagementSettings : public LXQt::Settings
{
Q_OBJECT
public:
PowerManagementSettings(QObject* parent = nullptr);
~PowerManagementSettings() override;
int getRunCheckLevel();
void setRunCheckLevel(int newLevel);
bool isBatteryWatcherEnabled();
void setBatteryWatcherEnabled(bool batteryWatcherEnabled);
int getPowerLowAction();
void setPowerLowAction(int powerLowAction);
int getPowerLowLevel();
void setPowerLowLevel(int powerLowLevel);
int getPowerLowWarningTime();
void setPowerLowWarningTime(int powerLowWarningTime);
bool isShowIcon();
void setShowIcon(bool showIcon);
bool isUseThemeIcons();
void setUseThemeIcons(bool useThemeIcons);
bool isLidWatcherEnabled();
void setLidWatcherEnabled(bool lidWatcherEnabled);
int getLidClosedAcAction();
void setLidClosedAcAction(int lidClosedAcAction);
int getLidClosedAction();
void setLidClosedAction(int lidClosedAction);
int getLidClosedExtMonAcAction();
void setLidClosedExtMonAcAction(int lidClosedExtMonAcAction);
int getLidClosedExtMonAction();
void setLidClosedExtMonAction(int lidClosedExtMonAction);
bool isEnableExtMonLidClosedActions();
void setEnableExtMonLidClosedActions(bool enableExtMonLidClosedActions);
bool isIdlenessWatcherEnabled();
void setIdlenessWatcherEnabled(bool idlenessWatcherEnabled);
int getIdlenessACAction();
void setIdlenessACAction(int idlenessAction);
QTime getIdlenessACTime();
void setIdlenessACTime(QTime idlenessTime);
int getIdlenessBatteryAction();
void setIdlenessBatteryAction(int idlenessAction);
QTime getIdlenessBatteryTime();
void setIdlenessBatteryTime(QTime idlenessTime);
bool isIdlenessBacklightWatcherEnabled();
void setIdlenessBacklightWatcherEnabled(bool idlenessBacklightWatcherEnabled);
QTime getIdlenessBacklightTime();
void setIdlenessBacklightTime(QTime idlenessBacklightTime);
int getBacklight();
void setBacklight(int backlight);
bool isIdlenessBacklightOnBatteryDischargingEnabled();
void setIdlenessBacklightOnBatteryDischargingEnabled(bool enabled);
bool isDisableIdlenessWhenFullscreenEnabled();
void setDisableIdlenessWhenFullscreen(bool enabled);
int getPowerKeyAction();
void setPowerKeyAction(int action);
int getSuspendKeyAction();
void setSuspendKeyAction(int action);
int getHibernateKeyAction();
void setHibernateKeyAction(int action);
bool isIdlenessWatcherPaused() const;
void setIdlenessWatcherPaused(bool idlenessWatcherPaused);
private:
static bool mIdlenessWatcherPaused;
};
#endif // COMMON_H

View File

@ -0,0 +1,3 @@
project(lxqt-config-powermanagement)
build_component("." "")

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Power Management"
Desktop Entry/GenericName: "Power Management Settings"
Desktop Entry/Comment: "Various settings regarding Power Management like battery or idleness watcher"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "إدارة الطّاقة"
Desktop Entry/GenericName: "إعدادات إدارة الطّاقة"
Desktop Entry/Comment: "عدّة إعدادات لإدارة الطّاقة مثل مراقبات البطّاريّة أو الخمول"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ar">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>إعدادات مراقب البطارية</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>ف&amp;عّل مراقب البطارية</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>التحذير:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> ثا</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>المستوى منخفض عند:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> ٪</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>استخدم الأيقونات من السمة:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>معاينة</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>الشحن</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>تفريغ الشحن</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>عندما تكون البطارية منخفضة:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>اعرض الأيقونة:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>مضمّنة</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>المستوى: %1٪</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>ف&amp;عّل مراقب الخمول</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>وقت الخمول:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>ف&amp;عّل مراقب الغطاء</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>:الإجراء عند إطباق الغطاء</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>:على البطارية</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>لا شيء</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>علّق</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>أسبِت</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>أطفِئ</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>:على محوّل الطاقة</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>عند استخدام شاشة &amp;خارجية</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>إعدادات إدارة الطاقة</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>البطارية</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>الغطاء</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>الخمول</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>لا شيء</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>اقفل الشاشة</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>علّق</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>أسبِت</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>أطفِئ</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>أطفِئ الشاشة/الشاشات</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="arn">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,212 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ast">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Axustes del supervidor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Ac&amp;tivar el supervisor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Alvertir:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>El nivel ye baxu al:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Usar los iconos del estilu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Previsualización</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Cuando&apos;l nivel de batería seya baxu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Amosar l&apos;iconu</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivel: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Activar el supervisor d&apos;inactividá</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="38"/>
<source>When idle then:</source>
<translation>Al haber inactividá:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="57"/>
<source>Idle time:</source>
<translation>Tiempu d&apos;inactividá:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="70"/>
<source> minutes</source>
<translation> minutos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>L&apos;aición al baxar la tapa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Cola batería:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Ivernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Col cargador:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Al &amp;usar una pantalla esterna</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="36"/>
<source>Power Management Settings</source>
<translation>Axustes de la xestión d&apos;enerxía</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="39"/>
<source>Battery</source>
<translation>Batería</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Idle</source>
<translation>Inactividá</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Lock screen</source>
<translation>Bloquiar la pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Ivernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Turn Off monitor(s)</source>
<translation>Apagar pantalles</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Управление на захранването"
Desktop Entry/GenericName: "Настройки на управление на захранването"
Desktop Entry/Comment: "Настройки на поведение при бездействие, натиснат бутон за изключване, ниво на батерия и други"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="bg">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Настройки на монитор на батерията</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Активиране на монитор на батерията</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Продължителност на предупреждение:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> секунди</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Предупреждение при ниво на батерията:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Използване на иконата от системния стил:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Предварителен преглед</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Зареждане</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Разреждане</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Действие при ниско ниво на батерията:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Показване на икона в панела:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>вградена</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Заредена: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Активиране на монитор за бездействие</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Продължителност на бездействие:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Позволяване променяне на осветеност на екрана</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Осветеност (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Минути:Секунди</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Проверка на осветеност</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>При разреждане на батерията </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Активиране на монитор за състоянието на екрана</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Действие при затваряне на екрана:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>На батерия:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Нищо</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Приспиване</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Хибернация</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Изключване</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>В захранване:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;При използване на външен монитор</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Настройки на управление на захранването</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Батерия</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Екран</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Бездействие</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Бутони на захранването</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Форма</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Управление на бутони на захранването</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Бутон за включване:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Бутон приспиване:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Бутон хибернация:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Нищо</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Запитване</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Заключване на екрана</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Приспиване</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Хибернация</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Изключване</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Изключване на монитор</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestió de l'energia"
Desktop Entry/GenericName: "Ajusts de la gestió de l'energia"
Desktop Entry/Comment: "Diversos ajusts pel que fa a la gestió de l'energia com la bateria o l'observador de l'ociositat"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ca">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Ajusts de l&apos;observador de la bateria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Habilita l&apos;observador de la bateria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Advertència:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segons</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>El nivell és baix al:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Utilitza les icones del tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vista prèvia</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Càrrega</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Descàrrega</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Quan l&apos;energia sigui baixa aleshores:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Mostra la icona:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>integrada</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivell: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Habi&amp;lita l&apos;observador de l&apos;ociositat</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Temps d&apos;inactivitat:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Habi&amp;lita l&apos;observador de la tapa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Acció quan la tapa és tancada:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Amb bateria:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Res</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspèn</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hiberna</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apaga</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Amb CA:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Quan s&apos;&amp;utilitzi un monitor extern</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Ajusts de la gestió de l&apos;energia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Bateria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactiu</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Res</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloqueja la pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspèn</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hiberna</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Apaga</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Apaga els monitors</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Správa napájení"
Desktop Entry/GenericName: "Nastavení správy napájení"
Desktop Entry/Comment: "Různá nastavení ohledně správy napájení, jako je stav akumulátoru a přechod do úsporného režimu při nečinnosti"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="cs">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Nastavení sledování akumulátoru</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Sledovat stav akumulátoru</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Varování:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekund</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Téměř vybito je při:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Použít ikony z motivu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Náhled</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Nabíjí se</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Vybíjí se</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Při téměř vybitém akumulátoru:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Zobrazovat ikonu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>vestavěno</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nabití: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>S&amp;ledovat nečinnost (chod naprázdno)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Doba trvání nečinnosti:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Povolit změnu podsvícení</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Při nečinnosti na baterii:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Doba nečinnosti baterie:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Podsvícení (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuty:Sekundy</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Při nečinnosti při napájení ze zásuvky:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Doba nečinnosti při napájení ze zásuvky:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minuty:Sekundy (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Zkontrolovat podsvícení</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Při vybíjení baterie </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Zakázat kontroly nečinnosti při zobrazení na celou obrazovku</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>S&amp;ledovat víko obrazovky</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Akce při zavření víka:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Při napájení z akumulátoru:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nic</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Uspat do paměti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Uspat na disk</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Vypnout</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Při napájení ze zásuvky:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Při po&amp;užívání externí obrazovky</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Nastavení správy napájení</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Akumulátor</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Víko</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Nečinný</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Klávesy napájení</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formulář</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Zacházení s vypínacími klávesami</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Akce při stisknutí klávesy napájení:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Akce při stisknutí klávesy pro uspání:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Akce při stisknutí klávesy pro uspání na disk:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nic</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Zeptat se</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Uzamknout obrazovku</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Uspat do paměti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Uspat na disk</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Vypnout</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Vypnout monitor(y)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="cy">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation></translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Strømstyring"
Desktop Entry/GenericName: "Indstillinger for strømstyring"
Desktop Entry/Comment: "Diverse indstillinger omhandlende strømstyring, såsom batteri- eller tomgangsovervågning"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="da">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Indstillinger for overvågning af batteri</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Aktivér overvågning af batteri</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Advarsel:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekunder</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Niveau er lavt ved:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Brug ikoner fra tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Forhåndsvisning</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Oplader</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Aflader</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Når strøm er lavt:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Vis ikon:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>indbygget</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Niveau: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Aktivér overvågning af inaktivitet</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Inaktivitetstid:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Aktivér ændring af baggrundsbelysning</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Når inaktiv batteri:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Inaktivitetstid for batteri:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Baggrundsbelysning (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutter:Sekunder</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Når inaktiv strømforsyning:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Inaktivitetstid for strømforsyning:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>minutter:sekunder (minimum: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Tjek baggrundsbelysning</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Når batteriet aflades </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Deaktivér tjek af inaktivetet når i fuldskærm</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Aktivér overvågning af låg</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Handling når låget lukkes:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation> batteri:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Intet</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Hvile</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Dvale</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Luk ned</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation> strømforsyning:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Når der bruges ekstern skærm</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Indstillinger for strømstyring</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batteri</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Låg</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inaktivitet</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Strømtaster</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formular</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Håndter strømtaster</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Handling for strømtast:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Handling for suspendertast:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Handling for dvaletast:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Intet</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Spørg</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Lås skærm</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Hvile</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Dvale</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Luk ned</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Sluk skærm(e)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Energieverwaltung"
Desktop Entry/GenericName: "Einstellungen der Energieverwaltung"
Desktop Entry/Comment: "Verschiedene Einstellungen zur Energieverwaltung wie Batterie- oder Leerlaufüberwachung"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Einstellungen zur Batterieüberwachung</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Aktiviere Batterieüberwachung</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Warnung:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> Sekunden</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Niedriger Ladezustand bei:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Nutze Symbole des Themas:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vorschau</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Aufladen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Entladen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Bei niedrigem Ladestand:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Symbol anzeigen:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>eingebaut</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Ladezustand: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Leerlaufüberwachung aktivieren</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Leerlaufzeit:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Änderung der Hintergrundbeleuchtung aktivieren</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>im Akku-Betrieb:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Akkuentladezeit:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Bildschirmhelligkeit (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuten:Sekunden</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Im Netzbetrieb:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Netzlaufzeit:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minuten:Sekunden (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Hintergrundbeleuchtung prüfen</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Beim Entladen der Batterie </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Ladezustandskontrolle ausschalten im Vollbildmodus</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Aktiviere Deckelüberwachung</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Aktion bei geschlossenem Deckel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Batteriebetrieb:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nichts</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Bereitschaftszustand</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Ruhezustand</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Herunterfahren</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Am Netz:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Bei &amp;Verwendung eines externen Bildschirms</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Einstellungen der Energieverwaltung</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batterie</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Deckel</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Leerlauf</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Ein/Aus-Tasten</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formular</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Bearbeite Schalter</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Schalteraktion:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Bereitschaftszustand-Tastenaktion:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Ruhezustand-Tastenaktion:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nichts</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Nachfragen</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Sperre Bildschirm</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Bereitschaft</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Ruhezustand</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Herunterfahren</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Bildschirm(e) ausschalten</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Διαχείριση ενέργειας"
Desktop Entry/GenericName: "Ρυθμίσεις της διαχείρισης ενέργειας"
Desktop Entry/Comment: "Διάφορες ρυθμίσεις σχετικά με την διαχείριση ενέργειας όπως ο επόπτης μπαταρίας ή αδράνειας"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Ρυθμίσεις του επόπτη συσσωρευτή</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Ενεργοποίηση του επόπτη του συσσωρευτή</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Προειδοποίηση:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> δευτερόλεπτα</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Το επίπεδο είναι χαμηλό στο:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Χρήση των εικονιδίων από το θέμα:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Προεπισκόπηση</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Φόρτιση</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Αποφόρτιση</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Όταν η φόρτιση είναι χαμηλή:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Εμφάνιση του εικονιδίου:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>ενσωματωμένο</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Επίπεδο: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Ενεργοποίηση του επόπτη α&amp;δράνειας</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Χρόνος αδράνειας:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Ενεργοποίηση της αλλαγής του οπισθοφωτός</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Κατά την αδράνεια σε λειτουργία συσσωρευτή:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Χρόνος αδράνειας σε συσσωρευτή:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Οπισθόφως (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Λεπτά:Δευτερόλεπτα</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>λλ:δδ</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Κατά την αδράνεια σε λειτουργία τροφοδοτικού AC:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Χρόνος αδράνειας σε AC:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Λεπτά:Δευτερόλεπτα (λεπ: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Έλεγχος οπισθοφωτός</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Κατά την αποφόρτιση του συσσωρευτή </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Απενεργοποίηση των ελέγχων αδράνειας σε λειτουργία πλήρους οθόνης</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ενεργοποίηση του επόπτη &amp;καλύμματος</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Ενέργεια κατά το κλείσιμο του καλύμματος:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Σε συσσωρευτή:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Τίποτα</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Αναστολή</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Νάρκη</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Τερματισμός</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Σε τροφοδοτικό AC:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Όταν χρησιμοποιείται εξωτερική ο&amp;θόνη</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Ρυθμίσεις της διαχείρισης ενέργειας</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Συσσωρευτής</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Κάλυμμα φορητού</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Αδρανής</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Πλήκτρα τροφοδοσίας</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Φόρμα</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Διαχείριση των πλήκτρων τροφοδοσίας</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Ενέργεια του πλήκτρου τροφοδοσίας:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Ενέργεια του πλήκτρου αναστολής:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Ενέργεια του πλήκτρου νάρκωσης:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Τίποτα</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Ερώτηση</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Κλείδωμα οθόνης</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Αναστολή</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Νάρκη</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Τερματισμός</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Απενεργοποίηση των οθονών</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestión de energía"
Desktop Entry/GenericName: "Configuración de la gestión de energía"
Desktop Entry/Comment: "Configuraciones varias relacionadas con la gestión de energía, como la batería o el monitor de inactividad"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="es">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Configuración del monitor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Activar el mo&amp;nitor de batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Aviso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>El nivel es bajo al:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Utilizar iconos del tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vista previa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Cargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Descargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Cuando la carga sea baja:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Mostrar icono:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>integrado</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivel: %1&#xa0;%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Habi&amp;litar el monitor de inactividad</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tiempo para inactividad:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Activar cambio de retroiluminación</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>En caso de inactividad, con batería:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Retroiluminación (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutos:Segundos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>En caso de inactividad, con CA:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutos:Segundos (mínimo: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Comprobar retroiluminación</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Al descargarse la batería </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Deshabilitar las comprobaciones de inactividad en pantalla completa</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Habi&amp;litar el monitor de la tapa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Acción al cerrar la tapa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>En batería:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Enchufado:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Al &amp;usar un monitor externo</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Configuración de la gestión de energía</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batería</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactividad</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Teclas de apagado</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formulario</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Administrar teclas de apagado</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Acción de tecla de apagado:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Acción de tecla de suspensión:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Acción de tecla de hibernación:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nada</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Preguntar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloquear la pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Apagar el monitor</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Toitehaldus"
Desktop Entry/GenericName: "Toitehalduse seadistused"
Desktop Entry/Comment: "Erinevad seadistused, mis seostuvad toitehaldusega, aku kasutusega ja arvuti ooteajaga"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="et">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Akuoleku jälgija seadistused</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Võta &amp;kasutusele akuoleku jälgija</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Hoiatus:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekundit</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Madal aku laetuse tase on:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Kasuta ikoone sellest teemast:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Eelvaade</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Laen akut</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Aku tühjeneb</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Madala akutaseme puhul:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Näita ikooni:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>sisseehitatud</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Tase: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Kasuta &amp;jõudeoleku jälgijat</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Jõudeaeg on:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Kasuta taustavalguse muutmist</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Jõudeolek akutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Jõudeoleku aeg akutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Taustavalgus (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutit:sekundit</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Jõudeolek võrgutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Jõudeoleku aeg võrgutoitel:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutit:sekundit (vähemalt 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Kontrolli taustavalgust</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Kui aku on tühjenemas </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Kui mõni rakendus on täisekraanivaates, siis ära kasuta jõudeoleku seadistusi</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Kasuta &amp;kaane jälgijat</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Tegevus kaane sulgemisel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Akutoitel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ära tee midagi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Vaju unne</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Vaju sügavasse unne</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Seiska</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Võrgutoitel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Kui kasutad &amp;täiendavat monitori</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Toitehalduse seadistused</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Aku</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Kaas</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Ootel</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Toitenupud</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Vorm</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Tegevused toitenupu vajutamisel</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Toitenupp:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Uinakunupu vajutamisel:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Sügava uinaku nupu vajutamisel:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ära tee midagi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Küsi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Lukusta ekraan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Vaju unne</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Vaju sügavasse unne</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Seiska</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Lülita monitor(id) välja</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fi">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Akunvalvonnan asetukset</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Ota käyttöön akun valvonta</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Varoitus:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekuntia</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Latauksen alhainen taso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Käytä teeman kuvakkeita:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Esikatselu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Lataa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Purkaantuu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Kun virta on alhainen:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Näytä kuvake:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>sisäänrakennettu</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Taso: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Ota käyttöön joutilaan ajan valvonta</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Joutilaana olo aika:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Ota käyttöön taustavalon muutos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Taustavalo (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuuttia:sekuntia</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Tarkista taustavalo</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Kun akku purkaantuu </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ota käyttöön kannen valvonta</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Toiminto kun kansi suljetaan:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Akkuvirralla:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ei mitään</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Lepotila</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Horrostila</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Sammuta</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Verkkovirralla:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Kun ulkoisia näyttöjä on käytössä</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Virranhallinnan asetukset</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Akku</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Kansi</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Joutilas</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Virtanäppäimet</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Käsittele virtanäppäimet</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>VIrtanäppäimen toiminto:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Lepotila-näppäimen toiminto:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Horrostilanäppäimen toiminto:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ei mitään</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Kysy</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Lukitse näyttö</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Siirry lepotilaan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Siirry horrostilaan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Sammuta</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Sammuta näyttö/näytöt</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestion de l'énergie"
Desktop Entry/GenericName: "Paramétrage de la gestion de l'énergie"
Desktop Entry/Comment: "Divers paramétrages de la gestion de l'énergie, tels que batteries ou contrôle de l'activité"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fr">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Paramétrage de la surveillance de la batterie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Activer la surveillance de la batterie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Quand la batterie est faible :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Avertissement :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> secondes</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Le niveau est faible pour :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Afficher l&apos;icône :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Utiliser les icônes du thème :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Aperçu</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>En cours de charge</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Décharge</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>intégré(e)</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Niveau : %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Configurer le comportement en cas d&apos;&amp;inactivité</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Temps d&apos;inactivité :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Activer le changement de rétroéclairage</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>En cas d&apos;inactivité sur batterie&#x202f;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Temps d&apos;inactivité sur batterie&#x202f;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Rétroéclairage (%) :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutes:Secondes</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>En cas d&apos;inactivité branché&#xa0;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Temps d&apos;inactivité branché&#xa0;:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutes:Secondes (min&#xa0;: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Vérifier le rétroéclairage</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Lorsque la batterie se décharge </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Désactiver les contrôles d&apos;inactivité en plein écran</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Activer la &amp;surveillance du capot</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Action lorsque le capot est fermé :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Sur batterie :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ne rien faire</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspendre</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hiberner</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Arrêter</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Branché :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Utilisation d&apos;un moniteur externe</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Paramètres de gestion de l&apos;alimentation</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batterie</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Capot</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactivité</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Boutons d&apos;alimentation</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Forme</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Gérer les touches d&apos;alimentation</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Action des touches d&apos;alimentation :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Action de la touche suspendre :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Action de la touche hiberner :</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ne rien faire</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Demander</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Verrouiller l&apos;écran</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspendre</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hiberner</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Arrêter</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Éteindre le(s) moniteur(s)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="gl">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Axustes da supervisión da batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Activar o supervisor da &amp;batería</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Aviso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>O nivel está baixo ao:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Usar as iconas do tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Vista previa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Cargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Descargando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Cando a carga sexa baixa:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Amosar a icona:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>integrada</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivel: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Activar o supervisor de &amp;inactividade</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tempo inactivo:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Activar o supervisor da &amp;tapa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Acción ao pechar a tapa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Coa batería:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Non facer ren</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Con corrente:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Cando se &amp;utilice un monitor externo</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Axustes da xestión de enerxía</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batería</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tapa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactividade</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Non facer ren</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloquear a pantalla</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Apagar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Apagar o(s) monitor(es)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "ניהול צריכת חשמל"
Desktop Entry/GenericName: "הגדרות ניהול צריכת חשמל"
Desktop Entry/Comment: "הגדרות שונות בתחום צריכת החשמל כגון סוללה או מעקב אחר פעילות"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="he">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>הגדרות עוקב סוללה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>ה&amp;פעלת עוקב סוללה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>אזהרה:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> שניות</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>העצמה נמוכה בערך:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>שימוש בסמלים מערכת העיצוב:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>תצוגה מקדימה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>בטעינה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>בפריקה</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>כאשר עצמת המתח יורדת מתחת ל־:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>הצגת סמל:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>מובנית</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>רמה: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>הפ&amp;עלת עוקב השהיה</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>זמן השהיה:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>הפעלת שינוי תאורה אחורית</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>כשאין פעילות עם סוללה:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>זמן חוסר פעילות על סוללה:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>תאורה אחורית (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>שניות:דקות</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>כשאין פעילות בעת חיבור לחשמל:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>זמן חוסר פעילות בעת חיבור לחשמל:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>דקות:שניות (01:30 לכל הפחות)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>בדיקת התאורה האחורית</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>כאשר בפריקת הסוללה </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>להשבית בדיקות חוסר פעילות כשבמסך מלא</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>הפעלת עוקב &amp;כיסוי</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>פעולה כשהכיסוי נסגר:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>על סוללה:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>כלום</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>השהיה</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>תרדמת</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>כיבוי</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>עם חיבור לחשמל:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>בעת &amp;שימוש במסך חיצוני</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>הגדרות ניהול צריכת חשמל</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>סוללה</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>כיסוי</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>השהיה</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>מקשי הפעלה</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>טופס</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>טיפול במקשי ההפעלה</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>פעולת מקש הכיבוי:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>פעולת מקש ההשהיה:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>פעולת מקש התרדמת:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>כלום</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>לשאול</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>לנעול מסך</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>להשהות</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>תרדמת</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>לכבות</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>לכבות צגים</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Upravljanje energijom"
Desktop Entry/GenericName: "Upravljanje energijom Postavke"
Desktop Entry/Comment: "Razne postavke za upravljanje energijom, kao što su praćenja stanja baterije i stanja mirovanja"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hr">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Praćenje stanja baterije Postavke</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Aktiviraj praćenje stanja baterije</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Upozorenje:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> s</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Razina je niska pri:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Koristi ikone teme:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Pregled</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Punjenje</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Pražnjenje</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Kad je razina niska, onda:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Prikaži ikonu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>ugrađeno</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Razina: %1 %</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Aktiviraj praćenje stanja mirovanja</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Vrijeme mirovanja:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Aktiviraj mijenjanje pozadinskog osvjetljenja</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Pozadinsko osvjetljenje (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minute:Sekunde</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Provjeri pozadinsko osvjetljenje</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Pri pražnjenju baterije </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Aktiviraj &amp;praćenje stanja poklopca</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Radnja kad je poklopac zatvoren:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Napajanje baterijom:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ništa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Pripravno stanje</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Stanje mirovanja</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Isključi računalo</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Napajanje strujom:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Kad se &amp;koristi vanjski monitor</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Upravljanje energijom Postavke</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Baterija</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Poklopac</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Mirovanje</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Gumbovi za stanja računala</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Obrazac</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Postavke gumbova za stanja računala</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Gumb za gašenje računala:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Gumb za pripravno stanje:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Gumb za stanje mirovanja:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ništa</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Pitaj</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Zaključaj ekran</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Pripravno stanje</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Stanje mirovanja</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Isključi računalo</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Ugasi monitore</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Energiakezelés"
Desktop Entry/GenericName: "Energiakezelés beállítások"
Desktop Entry/Comment: "Az energiagazdálkodással kapcsolatos különféle beállítások, például akkumulátor- vagy tétlenség-figyelő"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hu">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Akkumulátorfigyelő beállítások</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Akkumulátor figyelő e&amp;ngedélyezése</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Figyelmeztetés:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> másodperc</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Alacsony energiaszint:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Ikonok használata a témából:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Előnézet</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Töltés</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Kisütés</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Alacsony energiaszintnél:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Ikon megjelenítése:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>beépített</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Szint: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Tétle&amp;nségi felügyelet engedélyezése</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tétlenségi idő:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Háttérvilágítás-változtatás engedélyezése</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished">Amikor nincs töltőn és tétlen:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Akkumulátor tétlenségi idő:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Háttérvilágítás (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Perc:másodperc</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Amikor külső tápon tétlen:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Külső táp tétlenségi idő:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Perc:másodperc (minimum: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Háttérvilágítás ellenőrzése</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Az akkumulátor lemerüléséről </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Tétlenségi ellenőrzés kikapcsolás teljes képernyős alkalmazás esetén</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Fedé&amp;lfelügyelet engedélyezése</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Teendő lecsukáskor:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Akkumulátor:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Semmi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Készenlét</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernálás</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Leállítás</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Külső táp:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Külső monitor használatakor</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Energiakezelés beállítások</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Akkumulátor</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Fedél</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Tétlenség</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Bekapcsológombok</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Űrlap</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Bekapcsológombok kezelése</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Bekapcsológomb művelet:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Felfüggesztés gomb művelet:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Hibernálás gomb művelet:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Semmi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Kérdezze meg</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Zárolás</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Készenlét</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernálás</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Leállítás</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Monitor(ok) kikapcsolása</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="id">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Pengaturan Pemantau Baterai</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Aktifkan Pemantau Baterai</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Peringatan:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> detik</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Level rendah di:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Gunakan ikon dari tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Pratayang</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Mengisi daya</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Pengosongan</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Saat daya rendah maka:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Tampilkan ikon:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>bawaan</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Level: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Aktifkan Pemantau Siaga</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Waktu siaga:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Aktifkan Perubahan Lampu Latar</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Lampur latar (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Menit:Detik</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished">mm:dd</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Memerika Lampu latar</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Pada pengurasan batery </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Aktifkan Pemantau &amp;Lid</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Tindakan saat lid ditutup:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Pada Baterai:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Tidak ada</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspensi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernasi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Matikan</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Pada AC:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Ketika mengunakan monitor eksternal</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Pengaturan Manajemen Daya</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Baterai</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Lid</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Siaga</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Borang</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Aksi Kunci Power:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Aksi Kunci Hibernasi:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Tidak ada</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Kunci layar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspensi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernasi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Matikan</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Matikan monitor</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestore energia"
Desktop Entry/GenericName: "Impostazioni del risparmio energetico"
Desktop Entry/Comment: "Diverse impostazioni per il risparmio energetico "

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Impostazioni monitor batteria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Attiva il monitor della batteria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Tempo di attesa:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> secondi</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Livello basso :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Usa icone del tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Anteprima</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>In carica</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Scaricando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Quando il livello è basso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Mostra icona:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>icone integrate</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Livello: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Attiva monitor attività sistema</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tempo di inattività:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Abilita cambiamento luminosità</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Se inattivo a batteria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Tempo di inattività a batteria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Luminosità (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuti:Secondi</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Se inattivo alimentato da rete:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Tempo di inattività alimentato da rete:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minuti:Secondi (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Prova luminosità</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Con batteria in scaricamento </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Disattiva controlli di inattività quando a schermo intero</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Attiva monitor coperchio</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Azione a chiusura:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Alimentazione a batteria:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Niente</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Sospendi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Iberna</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Spegni</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Alimentazione di rete:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Quando è in uso un monitor &amp;esterno</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Impostazioni gestore energia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batteria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Coperchio</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inattività</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Tasti di alimentazione</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Form</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Gestisci tasti di alimentazione</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Azione tasto di accensione:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Azione tasto di sospensione:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Azione tasto di ibernazione:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nessuna azione</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Chiedi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Blocca schermo</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Sospendi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Iberna</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Spegni</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Spegni (tutti) monitor</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "電源管理"
Desktop Entry/GenericName: "電源管理"
Desktop Entry/Comment: "LXQt 電源管理(バッテリー、ふた、アイドル状態など)を設定します"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ja">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>使:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation> (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>: (最小: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>使(&amp;U)</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>[]:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>[]:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>[]:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "전원 관리"
Desktop Entry/GenericName: "전원 관리 설정"
Desktop Entry/Comment: "배터리 또는 유휴 감시자와 같은 전원 관리와 관련된 다양한 설정"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ko">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation> (&amp;N)</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation> :</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation> (&amp;L)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation> :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation> :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation> :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>(%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>AC에서 :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>AC :</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>: (: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation> </translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation> (&amp;L)</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation> :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation> :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation> </translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>AC로 :</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation> (&amp;U)</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation> </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation> </translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation> </translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation> :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation> :</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation> :</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation> </translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation> </translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Maitinimo valdymas"
Desktop Entry/GenericName: "Maitinimo valdymo nustatymai"
Desktop Entry/Comment: "Įvairūs su maitinimo valdymu susiję nustatymai"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="lt">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Baterijos stebėtojo nustatymai</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Į&amp;jungti baterijos stebėtoją</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Įspėjimas:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekundžių</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Žemas lygis yra ties:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Naudoti piktogramas apipavidalinimo:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Peržiūra</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Įkraunama</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Išsikrauna</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Esant žemam energijos lygiui:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Rodyti piktogramą:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>įtaisyta</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Lygis: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Į&amp;jungti neveiklumo stebėtoją</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Neveiklumo laikas:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Įjungti foninio apšvietimo pakeitimus</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Esant neveiklumui naudojant bateriją:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Baterijos neveiklumo laikas:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Foninis apšvietimas (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutės:Sekundės</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Esant neveiklumui naudojant el. maitinimą:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>El. maitinimo neveiklumo laikas:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutės:Sekundės (min.: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Tikrinti foninį apšvietimą</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Baterijai išsikraunant </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Išjungti neveiklumo patikrinimus, kai rodoma visame ekrane</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Įj&amp;ungti dangčio stebėtoją</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Veiksmas, užveriant dangtį:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Naudojant bateriją:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nieko</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Pristabdyti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Užmigdyti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Išjungti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Naudojant. el. maitinimą:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Naudojant išori&amp; monitorių</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Maitinimo tvarkytuvės nustatymai</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Baterija</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Dangtis</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Neveiklumas</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Maitinimo klavišai</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Forma</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Apdoroti maitinimo klavišus</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Maitinimo klavišo veiksmas:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Pristabdymo klavišo veiksmas:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Užmigdymo klavišo veiksmas:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nieko</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Klausti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Užrakinti ekraną</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Pristabdyti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Užmigdyti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Išjungti</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Išjungti monitorių(-ius)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Strømstyring"
Desktop Entry/GenericName: "Strømstyringsinnstillinger"
Desktop Entry/Comment: "Forskjellige innstillinger for strømstyring, som f.eks, batteri- eller lediggangsoppsyn"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nb_NO">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Batteriovervåkningsinnstillinger</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>F&amp;ølg med batteriet</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Advarsel:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekunder</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Nivået er lavt ved:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Bruk symboler fra tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Forhåndsvisning</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Lader</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Utlader</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Når det er lite strøm:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Vis symbol:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>innebygd</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nivå: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Aktiver overvåking av &amp;inaktivitet</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Inaktivitetstid:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Skru bakgrunnsbelysningsendring</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Ved lediggang batteri:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Lediggangstid batteri:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Bagrunnsbelysning (%)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutter:Sekunder</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Ved lediggang lysnettstilkobling:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Lediggangstid lysnett:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished">minutter:sekunder (minimum:01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Sjekk bakgrunnsbelysning</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished">Når batteriet utlades </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Skru av lediggangssjekk i fullskjermsvisning</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Aktiver overvåking av &amp;lokket</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Handling når lokket er lukket:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation> batteri:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ingenting</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Hvile</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Dvale</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Skru av</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation> strømnettet:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Når man br&amp;uker ekstern skjerm</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Strømstyringsinnstillinger</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batteri</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Lokk</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inaktivitet</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Effekt-taster</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished">Skjema</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished">Håndter effekt-taster</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Handling for /av-knapp:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Handling for hviletast:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Handling for dvaletast:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ingenting</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Spør</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Lås skjerm</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Hvile</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Dvale</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Skru av</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Skru av skjerm(er)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Energiebeheer"
Desktop Entry/GenericName: "Energiebeheerinstellingen"
Desktop Entry/Comment: "Instellingen omtrent energiebeheer, zoals accu- en inactiviteitsinstellingen"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Accumonitor-instellingen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Accumonitor i&amp;nschakelen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Waarschuwing:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> seconden</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Laag niveau:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Pictogrammen van thema gebruiken:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Voorvertoning</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Opladen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Ontladen</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Bij laag niveau:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Pictogram tonen:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>meegeleverd</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Niveau: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Inactiviteitsmonitor inschake&amp;len</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Duur van inactiviteit:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Achtergrondverlichting bijstellen</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Bij inactiviteit op accu:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Inactiviteitsduur (accu):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Achtergrondverlichting (in %):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minuten:Seconden</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Bij inactiviteit op netstroom:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Inactiviteitsduur (netstroom):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minuten:Seconden (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Achtergrondverlichting controleren</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Bij ontladen van accu </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Inactiviteitscontroles overslaan bij beeldvullende activiteiten</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Dekse&amp;lmonitor inschakelen</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Actie na sluiten van deksel:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Op accu:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Niets</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Pauzestand</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Slaapstand</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Afsluiten</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Op netstroom:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Bij gebr&amp;uik van extern beeldscherm</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Energiebeheer-instellingen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Accu</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Deksel</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inactief</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Energieknoppen</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Dialoogvenster</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Energieknoppen gebruiken</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Energieknopactie:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Pauzestandknopactie:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Slaapstandknopactie:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Niets</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Vragen</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Scherm vergrendelen</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Pauzestand</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Slaapstand</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Afsluiten</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Beeldscherm(en) uitschakelen</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestion energetica"
Desktop Entry/GenericName: "Paramètres de gestion energetica"
Desktop Entry/Comment: "Divèrs paramètres de gestion energetica, coma la batariá o lo contraròtle de lactivitat"

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Zarządzanie energią"
Desktop Entry/GenericName: "Konfiguracja zarządzania energią"
Desktop Entry/Comment: "Konfiguracja zarządzania energią"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pl">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Ustawienia monitorowania baterii</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>W&amp;łącz monitorowanie baterii</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Ostrzeżenie:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sek</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Poziom niski od:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Użyj ikon z motywu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Podgląd</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Ładowanie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Rozładowywanie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Gdy poziom jest niski:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Pokaż ikonę:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>wbudowana</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Poziom: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>W&amp;łącz monitorowanie bezczynności</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Czas bezczynności:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>W&amp;łącz monitorowanie pokrywy</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Reakcja na zamknięcie pokrywy:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Na baterii:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Brak</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Wstrzymaj</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernuj</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Wyłącz</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Zasilany:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Przy używaniu &amp;zewnętrznego monitora</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Ustawienia zarządzania energią</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Bateria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Pokrywa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Bezczynność</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Brak reakcji</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Zablokuj ekran</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Wstrzymaj</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernuj</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Wyłącz</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Wyłącz ekran(y)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Gestão de energia"
Desktop Entry/GenericName: "Definições do gestor de energia"
Desktop Entry/Comment: "Definições do gestor de energia"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Definições do monitor de energia</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Ativar mo&amp;nitor de energia</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Aviso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>O nível está baixo em:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Utilizar ícones do tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Pré-visualização</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>A carregar</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>A descarregar</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Se a energia estiver baixa:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Mostrar ícone:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>nativo</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nível: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>At&amp;ivar monitor de inatividade</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tempo de inatividade:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Ativar alteração da retro-iluminação</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Se inativo com bateria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Tempo de inatividade se em bateria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Retro-iluminação (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutos:Segundos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Se inativo ligado à corrente:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Tempo de inatividade se ligado à corrente:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutos:Segundos (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Verificar retro-iluminação</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Bateria a descarregar </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Verificações de inatividade se em ecrã completo</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ativar monitori&amp;zador da tampa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Ação ao fechar a tampa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Com bateria:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nada fazer</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Desligar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Com corrente:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Ao &amp;utilizar monitor externo</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Definições de energia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Bateria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tampa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inatividade</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Teclas de energia</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formulário</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Gerir teclas de energia</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Ação da tecla Energia:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Ação da tecla Suspender:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Ação da tecla Hibernar:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nada fazer</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Perguntar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloquear ecrã</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Desligar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Desligar monitor(es)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt_BR">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Configurações do monitor de bateria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>A&amp;tivar monitor de bateria</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Aviso:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Nível baixo em:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Usar ícones do tema:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Pré-visualização</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Carregando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Descarregando</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Em caso de baixa energia:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Exibir ícone:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>integrado</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nível: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Ativar monitor d&amp;e inatividade</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Tempo para inatividade:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Habilitar alteração de luz de fundo</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Quando inativo na bateria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Tempo de inatividade na bateria:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Luz de fundo (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minutos:segundos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Quando inativo na tomada:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Tempo de inatividade na tomada:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minutos:segundos (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Verificar luz de fundo</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Na bateria descarregando </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Desabilitar verificações de inatividade quando em tela cheia</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ativar monitor da &amp;tampa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Ação ao fechar a tampa:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Com bateria:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Não fazer nada</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Desligar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Na tomada:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Ao &amp;utilizar monitor externo</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Configurações do gerenciador de energia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Bateria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Tampa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Inatividade</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Botões de energia</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formulário</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Lidar com botões de energia</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Ação do botão de energia:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Ação do botão de suspender:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Ação do botão de hibernar:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Não fazer nada</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Perguntar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Bloquear tela</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Desligar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Desativar monitor(es)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Управление энергопотреблением"
Desktop Entry/GenericName: "Настройки управления энергопотреблением"
Desktop Entry/Comment: "Настройки управления энергопотреблением"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Настройки наблюдения за батареей</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Разрешить наблюдение за батареей</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Предупреждение:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> секунд</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Низкий уровень при:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Использовать значки из темы:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Предварительный просмотр</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Заряжается</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Разряжается</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>При низком заряде:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Показывать значок:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>встроенная</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Уровень: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>В&amp;ключить наблюдение за простоем</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Время простоя:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Включить изменение подсветки</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>В режиме ожидания от батареи:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Время простоя аккумулятора:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Подсветка (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Минуты:Секунды</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>мм:сс</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>При простое от сети:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Время простоя от сети:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Минуты:Секунды (мин: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Проверить подсветку</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Только при работе от батареи </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Отключить проверку бездействия в полноэкранном режиме</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>В&amp;ключить наблюдение за крышкой</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Действие при закрытии крышки:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>От батареи:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Ничего</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Ждущий режим</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Спящий режим</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Выключить компьютер</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>От сети:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>При &amp;использовании внешнего монитора</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Настройки управления энергопотреблением</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Батарея</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Крышка</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Бездействие</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Кнопки питания</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Form</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Обработка клавиш управления питанием</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Действие кнопки питания:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>При переходе в ждущий режим:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>При переходе в спящий режим:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Ничего</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Спросить</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Блокировать экран</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Ждущий режим</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Спящий режим</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Выключить компьютер</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Выключить монитор(ы)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: ""
Desktop Entry/GenericName: ""
Desktop Entry/Comment: ""

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="si">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Správa napájania"
Desktop Entry/GenericName: "Nastavenia napájania"
Desktop Entry/Comment: "Rôzne nastavenia napájania, napr. nastavenia batérie či úsporný režim"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="sk_SK">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Nastavenie sledovania batérie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Sledovať stav batérie</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Varovanie:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> sekúnd</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Takmer vybité pri:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Použiť ikony z motívu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Náhľad</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Nabíja sa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Vybíja sa</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Pri takmer vybitej batérii:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Zobrazovať ikonu:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>Vstavené</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Nabitie: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Sledovať nečinnosť (chod naprázdno)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Doba trvanie nečinnosti:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Povoliť zmenu podsvietenia</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Pri nečinnosti na batériu:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Doba nečinnosti batérie:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Podsvietenie (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Minúty:Sekundy</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm: ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Pri nečinnosti počas nabíjania:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Doba nečinnosti počas nabíjania:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Minúty:Sekundy (min: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Skontrolovať podsvietenie</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Pri vybíjaní batérie </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Zakázať kontrolu nečinnosti počas zobrazenia na celú obrazovku</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Sledovať kryt obrazovky</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Akcia pri zatvorení:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Pri napájaní z batérie:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Nič</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Uspať do pamäti</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Uspať na disk</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Vypnúť</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Pri napájaní zo zásuvky:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Pri používaní externého monitora</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Nastavenie správy napájania</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Batéria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Kryt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Nečinný</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Vypínacie tlačidlá</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Formulár</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Manipulovanie s klávesmi napájania</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Akcia napájania:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Tlačítko vypnutia:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Tlačítko pre uspatie:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Nič</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Opýtať sa</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Uzamknúť obrazovku</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Uspať do pamäte</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Uspať na disk</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Vypnúť</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Vypnúť monitory</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Güç Yönetimi"
Desktop Entry/GenericName: "Güç Yönetimi Ayarları"
Desktop Entry/Comment: "Pil veya boşta çalışan izleyici gibi Güç Yönetimi ile ilgili çeşitli ayarlar"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="tr">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Pil İzleyici Ayarları</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>Pil İzleyici &amp;Etkin</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Uyarı:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> saniye</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Kritik seviye:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Tema simgesini kullan:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Önizle</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Doluyor</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Boşalıyor</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Pil durumu kritik seviyedeyken:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Simgeyi göster:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>sistem</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Seviye: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Bekleme İzeyicisini Etkin&amp;leştir</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Boşta bekleme süresi:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Arka ık Değişimi Etkin</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>Pil ile boştayken:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Pil boşta kalma süresi:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Arka ık (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Dakika:Saniye</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>dd:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Kabloda boştayken:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Kabloda boşta kalma süresi:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Dakika: Saniye (enaz: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Arka ışığı kontrol et</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Pil boşalırken </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Tam ekranken boşta kalma kontrolünü devre dışı bırakın</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Kapak İzleyicisini Etkinleştir</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Kapak kapatıldığında:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Pil Durumunda:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Hiçbir şey</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Beklemeye Al</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Uykuya Al</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Bilgisayarı Kapat</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>Prize Takılı Durumda:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>Harici ekran k&amp;ullanırken</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Güç Yönetim Ayarları</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Pil</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Kapak</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Bekleme</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Güç tuşları</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Form</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Güç Tuşları Kullanımı</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Güç Tuşu Eylemi:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Askıya Al Tuşu Eylemi:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Beklemeye Al Tuşu Eylemi:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Hiçbir şey</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Sor</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Ekranı kilitle</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Beklemeye Al</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Uykuya Al</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Bilgisayarı Kapat</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Ekran(lar)ı kapat</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Менеджер живлення"
Desktop Entry/GenericName: "Налаштування Менеджера живлення"
Desktop Entry/Comment: "Різні налаштування Менеджера живлення, такі як батарея або годинник бездіяльності"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="uk">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Налаштування вартового батареї</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Ввімкнути вартового батареї</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>Попередження:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> секунди</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>Низький рівень:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>Застосувати піктограми теми:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation>Перегляд</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation>Заряджання</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation>Розряджання</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>Коли заряд нижче ніж:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Показати піктограму:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation>вбудовано в</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>Рівень: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Увімкнути &amp;вартового бездіяльності</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>Час бездіяльності:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation>Увімкнути зміну підсвічування</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation>За бездіяльності під час роботи від акумулятора:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation>Час бездіяльності під час роботи від акумулятора:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation>Підсвічування (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation>Хвилин:Сукунд</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>хх:сс</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation>Під час простою в режимі живлення від мережі:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation>Час простою в режимі живлення від мережі:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>Хвилини:Секунди (хв: 01:30)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation>Перевірити підсвічування</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation>Під час роботи від акумулятора </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation>Вимкнути перевірку простою в повноекранному режимі</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Увімкнути вартового за &amp;кришкою ноутбука</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>Дія коли кришку закрито:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>Від акумулятора:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation>Нічого</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation>Призупинити</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation>Приспати</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation>Вимкнути</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>На живленні від мережі:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Коли використовується зовнішній монітор</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation>Налаштування менеджера живлення</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation>Батарея</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation>Кришка нотбука</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation>Без навантаження</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation>Кнопки живлення</translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation>Форма</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation>Дії кнопок живлення</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>Дія кнопки живлення:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>Дія кнопки зупинки:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Дія кнопки сну:</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation>Нічого</translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation>Питати</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation>Заблокувати екран</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation>Призупинити</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation>Приспати</translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation>Вимкнути</translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>Вимкнути монітор(и)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "Quản lí Năng lượng"
Desktop Entry/GenericName: "Cài đặt Quản lí Năng lượng"
Desktop Entry/Comment: "Nhiều cài đặt khác nhau về Quản lí Năng lượng như là pin hoặc là bộ bảo vệ màn hình"

View File

@ -0,0 +1,3 @@
Desktop Entry/Name: "电源管理"
Desktop Entry/GenericName: "电源管理设置"
Desktop Entry/Comment: "关于电源管理的各种设置,如电池与空闲监视器"

View File

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="54"/>
<source>Warning:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="67"/>
<source> seconds</source>
<translation> </translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="77"/>
<source>Level is low at:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="90"/>
<source> %</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="111"/>
<source>Use icons from theme:</source>
<translation>使:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="125"/>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>Preview</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="162"/>
<source>Charging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="200"/>
<source>Discharging</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="41"/>
<source>When power is low then:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>:</translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="93"/>
<source>built in</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatchersettings.cpp" line="98"/>
<source>Level: %1%</source>
<translation>: %1%</translation>
</message>
</context>
<context>
<name>IdlenessWatcherSettings</name>
<message>
<location filename="../idlenesswatchersettings.ui" line="17"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="151"/>
<source>Idle time:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="122"/>
<source>Enable Backlight Change</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="83"/>
<source>When idle on Battery:</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="90"/>
<source>Battery Idle time:</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="131"/>
<source>Backlight (%):</source>
<translation> (%):</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="158"/>
<source>Minutes:Seconds</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="76"/>
<location filename="../idlenesswatchersettings.ui" line="110"/>
<location filename="../idlenesswatchersettings.ui" line="178"/>
<source>mm:ss</source>
<translation>mm:ss</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="34"/>
<source>When idle on AC:</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="53"/>
<source>AC Idle time:</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="63"/>
<location filename="../idlenesswatchersettings.ui" line="97"/>
<source>Minutes:Seconds (min: 01:30)</source>
<translation>0130</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="185"/>
<source>Check backlight</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="192"/>
<source>On battery discharging </source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="208"/>
<source>Disable idleness checks when fullscreen</source>
<translation></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="23"/>
<source>Enable &amp;Lid Watcher</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="38"/>
<source>Action when lid is closed:</source>
<translation>:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="50"/>
<location filename="../lidwatchersettings.ui" line="115"/>
<source>On Battery:</source>
<translation>:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="58"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="63"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="68"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="73"/>
<source>Shut down</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="81"/>
<location filename="../lidwatchersettings.ui" line="125"/>
<source>On AC:</source>
<translation>:</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="94"/>
<source>When &amp;using external monitor</source>
<translation>使(&amp;U)</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Power Management Settings</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="44"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="48"/>
<source>Idle</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="52"/>
<source>Power keys</source>
<translation></translation>
</message>
</context>
<context>
<name>PowerKeysSettings</name>
<message>
<location filename="../powerkeyssettings.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="20"/>
<source>Handle Power Keys</source>
<translation></translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="26"/>
<source>Power Key Action:</source>
<translation>:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="42"/>
<source>Suspend Key Action:</source>
<translation>:</translation>
</message>
<message>
<location filename="../powerkeyssettings.ui" line="49"/>
<source>Hibernate Key Action:</source>
<translation>Hibernate :</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../helpers.cpp" line="35"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="36"/>
<source>Ask</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="40"/>
<source>Shutdown</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="41"/>
<source>Turn Off monitor(s)</source>
<translation>(s)</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,71 @@
project(lxqt-powermanagement)
set(QTX_LIBRARIES Qt5::Widgets Qt5::DBus Qt5::Svg)
set(SOURCES
watcher.cpp
batteryhelper.cpp
batteryinfoframe.cpp
batteryinfodialog.cpp
batterywatcher.cpp
idlenesswatcher.cpp
lid.cpp
lidwatcher.cpp
main.cpp
powermanagementd.cpp
trayicon.cpp
iconproducer.cpp
powerbutton.cpp
../config/powermanagementsettings.cpp
)
set(UI_FILES
batteryinfoframe.ui
batteryinfodialog.ui
)
set(DESKTOP_FILES_IN
lxqt-powermanagement.desktop.in
)
lxqt_translate_ts(QM_FILES
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
SOURCES
${SOURCES}
${UI_FILES}
INSTALL_DIR
${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}
)
lxqt_app_translation_loader(lxqt-powermanagement_QM_LOADER ${PROJECT_NAME})
include_directories(
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
add_executable(lxqt-powermanagement
${SOURCES}
${RSCS}
${QM_FILES}
${lxqt-powermanagement_QM_LOADER}
${DESKTOP_FILES}
)
target_link_libraries(lxqt-powermanagement
lxqt
${QTX_LIBRARIES}
KF5::Solid
KF5::IdleTime
lxqt-globalkeys
)
install(TARGETS
${PROJECT_NAME}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
COMPONENT Runtime
)
install(FILES
${DESKTOP_FILES}
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications"
COMPONENT Runtime
)

View File

@ -0,0 +1,101 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2011 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QList>
#include <QDebug>
#include <QMap>
#include <QDateTime>
#include <cmath>
#include "batteryhelper.h"
#include "../config/powermanagementsettings.h"
QString BatteryHelper::stateToString(Solid::Battery::ChargeState state)
{
switch (state)
{
case Solid::Battery::NoCharge:
return tr("Empty");
case Solid::Battery::Discharging:
return tr("Discharging");
case Solid::Battery::FullyCharged:
return tr("Fully charged");
case Solid::Battery::Charging:
default:
return tr("Charging");
}
}
QString BatteryHelper::technologyToString(Solid::Battery::Technology tech)
{
switch (tech)
{
case Solid::Battery::LithiumIon:
return tr("Lithium ion");
case Solid::Battery::LithiumPolymer:
return tr("Lithium polymer");
case Solid::Battery::LithiumIronPhosphate:
return tr("Lithium iron phosphate");
case Solid::Battery::LeadAcid:
return tr("Lead acid");
case Solid::Battery::NickelCadmium:
return tr("Nickel cadmium");
case Solid::Battery::NickelMetalHydride:
return tr("Nickel metal hydride");
case Solid::Battery::UnknownTechnology:
default:
return tr("Unknown");
}
}
QString BatteryHelper::typeToString(Solid::Battery::BatteryType type)
{
switch (type)
{
case Solid::Battery::PdaBattery:
return tr("Personal Digital Assistant's battery");
case Solid::Battery::UpsBattery:
return tr("Uninterruptible Power Supply's battery");
case Solid::Battery::PrimaryBattery:
return tr("Primary battery");
case Solid::Battery::MouseBattery:
return tr("Mouse battery");
case Solid::Battery::KeyboardBattery:
return tr("Keyboard battery");
case Solid::Battery::KeyboardMouseBattery:
return tr("Keyboard and mouse's battery");
case Solid::Battery::CameraBattery:
return tr("Camera battery");
case Solid::Battery::PhoneBattery:
return tr("Phone battery");
case Solid::Battery::MonitorBattery:
return tr("Monitor battery");
case Solid::Battery::UnknownBattery:
default:
return tr("Unknown battery");
}
}

View File

@ -0,0 +1,44 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2011 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef BATTERYHELPER_H
#define BATTERYHELPER_H
#include <QVariantMap>
#include <QDateTime>
#include <Solid/Battery>
#include <Solid/Device>
class BatteryHelper : public QObject
{
Q_OBJECT
public:
static QString stateToString(Solid::Battery::ChargeState state);
static QString technologyToString(Solid::Battery::Technology tech);
static QString typeToString(Solid::Battery::BatteryType type);
};
#endif

View File

@ -0,0 +1,52 @@
/*
* Copyright (c) 2014 Christian Surlykke
*
* This file is part of the LXQt project. <https://lxqt.org>
* It is distributed under the LGPL 2.1 or later license.
* Please refer to the LICENSE file for a copy of the license.
*/
#include "batteryinfodialog.h"
#include "ui_batteryinfodialog.h"
#include <LXQt/Globals>
#include <QFormLayout>
#include <QTabWidget>
#include <QDebug>
BatteryInfoDialog::BatteryInfoDialog(QList<Solid::Battery*> batteries, QWidget *parent) :
QDialog(parent),
ui(new Ui::BatteryInfoDialog)
{
ui->setupUi(this);
setWindowTitle(tr("Battery Info"));
if (batteries.size() == 1)
{
BatteryInfoFrame *batteryInfoFrame = new BatteryInfoFrame(batteries[0]);
ui->verticalLayout->insertWidget(0, batteryInfoFrame);
}
else
{
QTabWidget *tabWidget = new QTabWidget(this);
ui->verticalLayout->insertWidget(0, tabWidget);
for (Solid::Battery *const battery : qAsConst(batteries))
{
BatteryInfoFrame *batteryInfoFrame = new BatteryInfoFrame(battery);
tabWidget->addTab(batteryInfoFrame, QSL("BAT"));
}
}
}
BatteryInfoDialog::~BatteryInfoDialog()
{
delete ui;
}
void BatteryInfoDialog::toggleShow()
{
qDebug() << "toggleShow";
isVisible() ? hide() : show();
}

View File

@ -0,0 +1,37 @@
/*
* Copyright (c) 2014 Christian Surlykke
*
* This file is part of the LXQt project. <https://lxqt.org>
* It is distributed under the LGPL 2.1 or later license.
* Please refer to the LICENSE file for a copy of the license.
*/
#ifndef BATTERYINFODIALOG_H
#define BATTERYINFODIALOG_H
#include "batteryinfoframe.h"
#include <QDialog>
#include <QList>
#include <Solid/Battery>
namespace Ui {
class BatteryInfoDialog;
}
class BatteryInfoDialog : public QDialog
{
Q_OBJECT
public:
explicit BatteryInfoDialog(QList<Solid::Battery*> batteries, QWidget *parent = nullptr);
~BatteryInfoDialog() override;
public slots:
void toggleShow();
private:
Ui::BatteryInfoDialog *ui;
};
#endif // BATTERYINFODIALOG_H

View File

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BatteryInfoDialog</class>
<widget class="QDialog" name="BatteryInfoDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>334</width>
<height>301</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>BatteryInfoDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>BatteryInfoDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@ -0,0 +1,70 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <QDateTime>
#include <QDebug>
#include "batteryinfoframe.h"
#include "batteryhelper.h"
#include "ui_batteryinfoframe.h"
#include <LXQt/Globals>
BatteryInfoFrame::BatteryInfoFrame(Solid::Battery *battery) :
QFrame(),
mBattery(battery),
mUi(new Ui::BatteryInfoFrame)
{
mUi->setupUi(this);
mUi->energyFullDesignValue->setText(QString::fromLatin1("%1 Wh").arg(mBattery->energyFullDesign(), 0, 'f', 2));
mUi->typeValue->setText(BatteryHelper::typeToString(mBattery->type()));
mUi->technologyValue->setText(BatteryHelper::technologyToString(mBattery->technology()));
QString vendor = QString::fromLatin1("%1 %2").arg( battery->recallVendor() , battery->serial() );
if (vendor.trimmed().isEmpty())
vendor = QSL("Unknown");
mUi->vendorValue->setText(vendor);
connect(mBattery, &Solid::Battery::energyChanged, this, &BatteryInfoFrame::onBatteryChanged);
connect(mBattery, &Solid::Battery::chargeStateChanged, this, &BatteryInfoFrame::onBatteryChanged);
onBatteryChanged();
}
BatteryInfoFrame::~BatteryInfoFrame()
{
delete mUi;
}
void BatteryInfoFrame::onBatteryChanged()
{
mUi->stateValue->setText(BatteryHelper::stateToString(mBattery->chargeState()));
mUi->energyFullValue->setText(QString::fromLatin1("%1 Wh (%2 %)").arg(mBattery->energyFull(), 0, 'f', 2).arg(mBattery->capacity()));
mUi->energyValue->setText(QString::fromLatin1("%1 Wh (%2 %)").arg(mBattery->energy(), 0, 'f', 2).arg(mBattery->chargePercent()));
mUi->energyRateValue->setText(QString::fromLatin1("%1 W").arg(mBattery->energyRate(), 0, 'f', 2));
mUi->voltageValue->setText(QString::fromLatin1("%1 V").arg(mBattery->voltage(), 0, 'f', 2));
mUi->temperatureValue->setText(QString::fromUtf8("%1 ºC").arg(mBattery->temperature()));
}

View File

@ -0,0 +1,54 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2012 Razor team
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#ifndef BATTERYINFOFRAME_H
#define BATTERYINFOFRAME_H
#include <QFrame>
#include <Solid/Battery>
namespace Ui {
class BatteryInfoFrame;
}
class BatteryInfoFrame : public QFrame
{
Q_OBJECT
public:
explicit BatteryInfoFrame(Solid::Battery* battery);
~BatteryInfoFrame() override;
private slots:
void onBatteryChanged();
private:
Solid::Battery* mBattery;
Ui::BatteryInfoFrame *mUi;
};
#endif // BATTERYINFOFRAME_H

View File

@ -0,0 +1,203 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BatteryInfoFrame</class>
<widget class="QFrame" name="BatteryInfoFrame">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>277</width>
<height>292</height>
</rect>
</property>
<property name="windowTitle">
<string>Power Management</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<property name="spacing">
<number>12</number>
</property>
<item row="10" column="1">
<widget class="QLabel" name="vendorValue">
<property name="text">
<string notr="true">DELL 00</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="typeValue">
<property name="text">
<string notr="true">Primary</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLabel" name="temperatureValue">
<property name="text">
<string notr="true">12.27 ºC</string>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="temperatureCaption">
<property name="text">
<string>Temperature:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="typeCaption">
<property name="text">
<string>Type:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="stateCaption">
<property name="text">
<string>State:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="stateValue">
<property name="text">
<string notr="true">Charging</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="energyFullDesignCaption">
<property name="text">
<string>Energy Full Design:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="energyFullDesignValue">
<property name="text">
<string notr="true">73.26 Wh</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="energyFullCaption">
<property name="text">
<string>Energy Full:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="energyFullValue">
<property name="text">
<string notr="true">64.58 Wh (88.2 %)</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="energyCaption">
<property name="text">
<string>Energy Now:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="energyValue">
<property name="text">
<string notr="true">63.41 Wh (98.2 %)</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="energyRateCaption">
<property name="text">
<string>Energy rate:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="energyRateValue">
<property name="text">
<string notr="true">15.11 W</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="technologyValue">
<property name="text">
<string notr="true">Lithium ion</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="technologyCaption">
<property name="text">
<string>Technology:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLabel" name="voltageValue">
<property name="text">
<string notr="true">12.27 V</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="voltageCaption">
<property name="text">
<string>Voltage:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="vendorCaption">
<property name="text">
<string>Vendor:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

Some files were not shown because too many files have changed in this diff Show More