Cherry-picking upstream release 0.11.0

* Synced debian foo with experimental
* Bumped compat to 10
* Removed --parallel from rules, standard in compat 10
* Bumped minimum version debhelper to />= 10)
* Bumped minimum version liblxqt0-dev (>= 0.11.0)
* Bumped minimum version libqt5xdg-dev (>= 2.0.0)
* Added build dependency libkf5idletime-dev
* Added build dependency libqt5svg5-dev
* Added Recommends lxqt-powermanagement-l10n
* Added build dependency libqt5xdgiconloader-dev (>= 2.0.0)
* Removed build dependency libx11-xcb-dev
* Removed build dependency libxcb-dpms0-dev
* Removed build dependency libxcb-screensaver0-dev
* Added translation control to rules
* Set CMAKE_BUILD_TYPE=RelWithDebInfo
* Exported LC_ALL=C.UTF-8, make builds reproducible
ubuntu/cosmic debian/0.11.0-2
Alf Gaida 8 years ago
parent 59b51e5bcc
commit c2801837da

1
.gitignore vendored

@ -1,3 +1,4 @@
build
nbproject
*kdev4*
*/translations/lxqt-powermanagement

@ -2,7 +2,7 @@ Upstream Authors:
LXQt team: http://lxqt.org
Copyright:
Copyright (c) 2013-2014 LXQt team
Copyright (c) 2013-2016 LXQt team
License: GPL-2 and LGPL-2.1+
License: LGPL-2.1+
The full text of the licenses can be found in the 'COPYING' file.

@ -0,0 +1,218 @@
lxqt-powermanagement-0.11.0 / 2016-09-24
========================================
* README.md: Replace dependency XCB with KIdleTime
* Idleness Watcher: rely on KIdleTime instead of XCB (#33)
* fix indents
* Update and extend README.md
* Add Catalan translation
* Add Arabic Translation for Desktop File
* I18N: Fix Plural Strings (#38)
* Removes the QEventLoop from the Watcher class
* build: Use external translations
* ts-files removal (#34)
* Bump year Fix licenses, lxqt-powermanagement is LGPL only
* Fix source language in Italian translation file
* Italian translation update
* Update Russian translation Remove ru_RU files
* Fix typo in Greek translation
* update: lxqt-powermanagement_hu.ts
* Add German translation
0.10.0 / 2015-10-31
===================
* Update translations
* Fix LICENSE file
* Add (re)enabling info message
* Rename "On Ac" to "On AC" to have a single string for both
* Fix typo in message
* Remove "LXQt " from .desktop to follow pattern
* Update batteryhelper.cpp
* Fixed typo Unkown -> Unknown
* lidwatcher: don't listen to Changed signal
* Add some missing license headers
* OnlyShowIn=LXQt;
* Add Greek (el) translation Add the 'Comment' key in desktop file
* Add key "Comment" to desktop entry file
* Rename LxQt to LXQt everywhere
* Handles CMake policy CMP0063
* Use the LXQtCompilerSettings CMake module
* Make built-in icon move clockwise when charging
* Fix red-painting of built-in icon when power low
* Adds Runtime install COMPONENT
* Coding sytle change
* Use GNUInstallDirs
* Removes non existent RESOURCES
* Use CMAKE_AUTOUIC, drop qt5_wrap_ui()
* Remove unneeded include_directories() entries
* Minor strings update
* Updates the build system to the Targets infrastructure
* Remove trailing whitespaces
* Enable screen locking from the idleness watcher
* Prevent a too small value for the idle watcher
* Correctly check for batteries on first run
* re-add notification about missing battery
* Added italian translations
* Hungarian translations added
* Support CMake 2.8.11 again
* Typos: fix "Idle" capitalization and misspelling
* Add icons to the action in the systray icon's menu
* Polish translation updated
* Only show batteries of type PrimaryBattery. Fixes #535
* Make lxqt-powermanagement tray's tooltip work again
* Fix warning from clang
* Fix some wrong use of Solid::Battery::capacity instead of ..::energy
* Align slots and connects with what signals Solid offers
* Make batterywatcher react to energylevel- and powersupplystate changes
* Port to KF5's Solid
0.9.0 / 2015-01-26
==================
* Portuguese update
* Fix some translation keys
* Small layoutchange in batterysettings
* Fix strings to be easier translatable
* Portuguese update
* Add Japanese translation
* - Unify naming for a unique lxqt. No more suffixes
* Fix battery info dialog's layout
* Small tweak to the built-in icon
* Added semitransparent background to built in icon
* Simplified rendering of built-in icons and added a gradient to them
* Use SingleApplication rather than Application
* Handle more than one battery
* Reordered responsibillities between classes
* Some refactoring
* Some cleanup
* Remove cancel button from batteryinfodialog.ui
* Correct one fontsize in batteryinfo.ui
* Refactor battery info dialog to handle more than one battery
* Cleaned out a lot of old debug statements
* Adjusted how chargelevels are mapped to icons
* Added icon preview to batterywatcher config
* Factor out icon producing in separate class
* Clean up code for picking battery icon from theme
* Add icon to config window
* Fix config gui
* Use the new LXQtTranslate modules.
* Fixes translations not being loaded.
* Updates translations
* Adds and uses QtTranslate cmake module for handling .ts translations
* Add Russian translation
* Include Qt5Gui_PRIVATE_INCLUDE_DIRS for qplatformnativeinterface.h
* Clean up CMakeLists.txt, drop Qt4 support
* Adds option to disable systray icon in preferences and on the icon's context menu
0.8.0 / 2014-06-29
==================
* Fix incorrect lib linking.
* Add initial Qt5 support.
* Add missing lgpl-headers
* Recognize Alec Moskvin as author in 'about' dialog
* Fix includes, hopefuly correct this time
* Clean up includes
* Tell logind to not handle lidswitch when lidwatcher is enabled
* Added contextmenu to battery systemtray icon
* On first run disable lidwatcher/batterywatcher if lid/battery not present
* Add missing ${QTXDG_INCLUDE_DIRS} to include_directories().
* Use preferred header style
* Temporary fix for #86
* Corrected badly formed includes. Fix for #81
0.7.0 / 2014-05-01
==================
* Remove outdated and unused manpage
* Add AUTHORS
* Strings improvements
* Add CPack rules for creating tarball
* Fix .desktop icon (thanks, @agaida)
* Improvements to .desktop file
* Adapt to recent upower api changes
* Update README
* Fix updating of minutes and seconds in idleness settings
* Fix small bugs in idleness-settings, update of seconds
* Fix icons in configure-powermanager
* Slightly more userfriendly idleness-settings-dialog
* Added first-time-run notification with configure-button
* Some cleanup + fix idlenesswatcher to use power
* More code cleanup
* Minor adjustments to config ui's
* cleanup
* Code cleanup
* ui cleanups
* Clean up battery-watcher-settings ui
* Fixed lxqt-config-powermanagement.desktop file
* Renames and cleanup
* Lid, Idleness and Battery merged into one application
* Normalize imports
* Config for idleness and some more options for lidsettings
* Removed CMAKE_SOURCE_DIR usage from CMakeLists.txt files
* Fix renaming bugs, replacing lxqt-qt with lxde-qt
* Finish the crazy razor=>lxqt renaming tasks.
* rename razor to lxqt in some strings
* Replace lxqt with ${LXQT_LIBRARIES} when linking.
* Compile-time dependancy on lxqt library added
* Project name fixed
* Fix build and adopt new APIs of liblxqt.
* Renamed some #ifndef/#define s
* Make powermanagement compile and link with liblxqt and libqtxdg
* Changed prefix from lz to lxqt for all powermanagement apps
* Cleanup of old razor-autosuspend code
* cmake-files cleanup
* Initial commit
* Renames and cleanup in config
* Renames and cleanup in idleness
* Renames and cleanup in battery
* Rename and cleanup in lid
* Split razorautosuspend into lid and battery, make stuff compile
* Moved razorqt-screenlocker into razor-autosuspend
* X-RAZOR changed to Razor in desktop files
* razor-autosuspend handle more battery-icon naming schemes
* Fix underlinking with QtDbus
* Autosuspend: Force icon to update when settings change
* Autosuspend: Add config option to start/stop
* Autosuspend: Perform a first-run check for a battery
* Set battery info dialog title
* Trtanslations
* Fixes to razor-autosuspend trayicon drawing
* New, dynamically generated battery icon for razor-autosuspend
* preliminary manpages primary for razorqt and usefully in venenux
* autosuspend: fix discharging()
* Razor-autosuspend fix missing initialization of Battery
* Rename fields in razor-config-autosuspend to comply with code style
* Rename variables in razor-autosuspend to comply with coding standards
* Now possible to use theme-icons in razor-autosuspend
* Translations updated
* Translations updated
* first part of fixes based on Coverity Scan (code static analysis)
* Fix components missing translations
* Added copyright headers to constants.h, batteryinfo.h and batteryinfo.cpp in razor-autosuspend
* Typos found during translation
* Translations
* Delete bad en_GB translations
* Update translations
* Enable translations for some components that were missing them
* Load setting on startup and fix wrong slot
* razor-autosuspend watch for changes in settings
* Translations updated
* Removed line num from TS files.
* Make razorqt-autosuspend a module
* Generate translations for razorqt-autosuspend
* Use flexible layouts
* Translations
* Deleted old translation methods.
* New translation infrastructure
* Fixes in the debs files for the razor-config-autosuspend.desktop
* razor-autosuspend: When batteryinfo open it closes when trayicon clicked
* Detailed battery info when clicking razor-autosuspend tray icon
* razor-autosuspend registers as dbus-service (org.razor-qt.razor-autosuspend) - fixes #346
* Razor-autosuspend: power-low-level is now configurable
* Razor-autosuspend: Added shutdown as action on lidclosed or powerlow
* Added config app for razor-autosuspend
* Moved razor-autosuspend sourcefiles to src-dir
* Moved razor-autosuspend to toplevel as it is not really a part of razorqt-power

@ -1,4 +1,31 @@
lxqt-powermanagement
====================
# lxqt-powermanagement
Power management module for LXQt
## Overview
This repository is providing tools to monitor power management events and optionally trigger actions like e. g. shut down a system when laptop batteries are low on power.
The core components are two binaries `lxqt-powermanagement` and `lxqt-config-powermanagement`.
`lxqt-powermanagement` is running in a daemon-like manner as so-called "LXQt Module" and doing the actual work. GUI "Power Management Settings (binary `lxqt-config-powermanagement`) is used to customize settings.
Warning messages are displayed on the desktop by [lxqt-notificationd](https://github.com/lxde/lxqt-notificationd).
## Installation
### Compiling source code
Runtime dependencies are UPower, KIdleTime, qtsvg and [liblxqt](https://github.com/lxde/liblxqt).
Additional build dependencies are CMake and Solid, optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information.
Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems.
To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual.
### Binary packages
Official binary packages are provided by all major Linux distributions like Arch Linux, Debian (as of Debian stretch only), Fedora and openSUSE. Just use your package manager to search for string `lxqt-powermanagement`.
## Configuration, Usage
Daemon-like `lxqt-powermanagement` can be adjusted from section "Basic Settings" in configuration dialogue "LXQt Session Settings" (binary `lxqt-config-session`) of [lxqt-session](https://github.com/lxde/lxqt-session).
To customize settings there's configuration dialogue "Power Management Settings" (binary `lxqt-config-powermanagement`). It can be opened from the panel's main menu - Preferences - LXQt Settings - Power Management and is provided by the "Configuration Center" (binary `lxqt-config`) of [lxqt-config](https://github.com/lxde/lxqt-config) as well.

@ -36,6 +36,16 @@ lxqt_translate_ts(QM_FILES
${UI_FILES}
INSTALL_DIR
${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}
PULL_TRANSLATIONS
${PULL_TRANSLATIONS}
CLEAN_TRANSLATIONS
${CLEAN_TRANSLATIONS}
TRANSLATIONS_REPO
${TRANSLATIONS_REPO}
TRANSLATIONS_REFSPEC
${TRANSLATIONS_REFSPEC}
REPO_SUBDIR
"lxqt-powermanagement/${PROJECT_NAME}"
)
lxqt_app_translation_loader(config-powermanagement_QM_LOADER ${PROJECT_NAME})

@ -1,217 +0,0 @@
<?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="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</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>Lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -0,0 +1,3 @@
Name[ar]=إدارة الطّاقة
GenericName[ar]=إعدادات إدارة الطّاقة
Comment[ar]=عدّة إعدادات لإدارة الطّاقة مثل مراقبات البطّاريّة أو الخمول

@ -0,0 +1,3 @@
Name[ca]=Gestió de l'energia
GenericName[ca]=Ajusts de la gestió de l'energia
Comment[ca]=Diversos ajusts pel que fa a la gestió de l'energia com la bateria o l'observador de l'ociositat

@ -0,0 +1,3 @@
Name[de]=Energieverwaltung
GenericName[de]=Einstellungen der Energieverwaltung
Comment[de]=Verschiedene Einstellungen zur Energieverwaltung wie Batterie- oder Leerlaufüberwachung

@ -1,229 +0,0 @@
<?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 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>Όταν η ενέργεια είναι χαμηλά τότε:</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 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="14"/>
<source>Form</source>
<translation>Φόρμα</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Ενεργοποίηση του επόπτη α&amp;δράνειας</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>Όταν είναι αδρανής:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation>Χρόνος αδράνειας:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation> λεπτά</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation> δευτερόλεπτα</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation>Φόρμα</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ενεργοποίηση του επόπτη &amp;καλύμματος</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation>Ενέργεια κατά το κλείσιμο του καλύμματος</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation>Σε μπαταρία</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation>Τίποτα</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation>Αναστολή</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation>Νάρκη</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation>Τερματισμός</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>Σε τροφοδοτικό AC</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>Όταν χρησιμοποιείται εξωτερική ο&amp;θόνη</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">Σε τροφοδοτικό AC</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">Διαμόρφωση της διαχείρισης ενέργειας του LXQt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation>Μπαταρία</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation>Κάλυμμα φορητού</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished">Αδράνεια</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>Lock screen</source>
<translation>Κλείδωμα οθόνης</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Αναστολή</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Νάρκη</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Τερματισμός</translation>
</message>
</context>
</TS>

@ -1,229 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hu_HU">
<context>
<name>BatteryWatcherSettings</name>
<message>
<location filename="../batterywatchersettings.ui" line="14"/>
<source>Battery Watcher Settings</source>
<translation>Akkumulátor figyelő beállítás</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 a témából:</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>Alacsony energiánál:</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="97"/>
<source>Show icon:</source>
<translation>Ikon mutatás:</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="14"/>
<source>Form</source>
<translation>Űrlap</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Tétle&amp;nségi felügyelet</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>Tétlenség esetén:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation>Tétlenségi idő:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation> perc</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation> másodperc</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation>Űrlap</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Fedélfelügyelet</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation>Teendő fedélzáráskor</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation>Akkumulátor</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation>Semmi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation>Készenlét</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation>Alvás</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation>Kikapcsolás</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>Külső táp</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>&amp;Külső monitor használatakor</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">Külső táp</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">LXQt energiafelügyelet beállítás</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation>Akkumulátor</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation>Fedél</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished">Tétlenség</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>Lock screen</source>
<translation>Képernyőzár</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Készenlét</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Alvás</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Kikapcsolás</translation>
</message>
</context>
</TS>

@ -1,229 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it" sourcelanguage="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 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>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 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="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>&amp;Attiva monitor attività sistema</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>Quando inattivo:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation>Tempo di inattività:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation> minuti</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation> secondi</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation>&amp;Attiva monitor coperchio</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation>Azione a chiusura</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation>Alimentazione a batteria</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation>Niente</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation>Sospendi</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation>Iberna</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation>Spegni</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>Alimentazione di rete</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>Quando è in uso un monitor &amp;esterno</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">Alimentazione di rete</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">Configurazione gestione energetica di LXQt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation>Batteria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation>Coperchio</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished">Inattività</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>Lock screen</source>
<translation>Blocca schermo</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Sospendi</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Iberna</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Spegni</translation>
</message>
</context>
</TS>

@ -1,229 +0,0 @@
<?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 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>:</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 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="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation> </translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation> </translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>AC</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>使</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">AC</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">LXQt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished"></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>Lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation></translation>
</message>
</context>
</TS>

@ -1,229 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pl_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 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>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 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="14"/>
<source>Form</source>
<translation>Form</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>W&amp;łącz monitorowanie bezczynności</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>Gdy bezczynny:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation>Czas bezczynności:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation>min</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation>sek</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation>Form</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation>W&amp;łącz monitorowanie pokrywy</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation>Reakcja na zamknięcie pokrywy</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation>Na baterii</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation>Brak</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation>Wstrzymaj</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation>Hibernuj</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation>Wyłącz</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>Na zasilaniu</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>Przy używaniu &amp;zewnętrznego monitora</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">Na zasilaniu</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">LXQt Konfiguracja zarządzania energią</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation>Bateria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation>Pokrywa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished">Bezczynność</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>Lock screen</source>
<translation>Zablokuj ekran</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Wstrzymaj</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Hibernuj</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Wyłącz</translation>
</message>
</context>
</TS>

@ -1,229 +0,0 @@
<?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 monitorizador de energia</translation>
</message>
<message>
<location filename="../batterywatchersettings.ui" line="26"/>
<source>E&amp;nable Battery Watcher</source>
<translation>&amp;Ativar monitorizador 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 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>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 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="14"/>
<source>Form</source>
<translation>Formulário</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Ativar monitori&amp;zador de inatividade</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>Se existir inatividade:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation>Tempo para inatividade:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation> minutos</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation>Formulário</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Ativar monitori&amp;zador da tampa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation>Ação ao fechar a tampa</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation>Com bateria</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation>Nada fazer</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation>Suspender</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation>Hibernar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation>Desligar</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>Com corrente</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>Ao &amp;utilizar monitor externo</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">Com corrente</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">Configuração do gestor de energia do LXQt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation>Bateria</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation>Tampa</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished">inatividade</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>Lock screen</source>
<translation>Bloquear ecrã</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>Hibernar</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Desligar</translation>
</message>
</context>
</TS>

@ -1,229 +0,0 @@
<?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 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>При низком заряде:</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 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="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Включить наблюдение за простоем</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>При простое:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation>Время простоя:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation> минут</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation> секунд</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Включить наблюдение за крышкой</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation>Действие при закрытии крышки</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation>От батареи</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation>Ничего</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation>Ждущий режим</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation>Спящий режим</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation>Выключить</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>От сети</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>При использовании внешнего монитора</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">От сети</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">Настройка энергопотребления LXQt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation>Батарея</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation>Крышка</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished">бездействие</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>Lock screen</source>
<translation>Блокирвать экран</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Ждущий режим</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Спящий режим</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Выключить компьютер</translation>
</message>
</context>
</TS>

@ -1,3 +0,0 @@
# Translations
GenericName[ru_RU]=Настройки управления энергопотреблением
Name[ru_RU]=Управление энергопотреблением

@ -1,229 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru_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 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>При низком заряде:</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 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="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="20"/>
<source>Enab&amp;le Idleness Watcher</source>
<translation>Включить наблюдение за простоем</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="41"/>
<source>When idle then:</source>
<translation>При простое:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="60"/>
<source>Idle time:</source>
<translation>Время простоя:</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="73"/>
<source> minutes</source>
<translation> минут</translation>
</message>
<message>
<location filename="../idlenesswatchersettings.ui" line="86"/>
<source> seconds</source>
<translation> секунд</translation>
</message>
</context>
<context>
<name>LidWatcherSettings</name>
<message>
<location filename="../lidwatchersettings.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="26"/>
<source>Enable &amp;Lid Watcher</source>
<translation>Включить наблюдение за крышкой</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="41"/>
<source>Action when lid is closed</source>
<translation>Действие при закрытии крышки</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="53"/>
<location filename="../lidwatchersettings.ui" line="118"/>
<source>On Battery</source>
<translation>От батареи</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="61"/>
<source>Nothing</source>
<translation>Ничего</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="66"/>
<source>Suspend</source>
<translation>Ждущий режим</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="71"/>
<source>Hibernate</source>
<translation>Спящий режим</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="76"/>
<source>Shut down</source>
<translation>Выключить</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="84"/>
<location filename="../lidwatchersettings.ui" line="128"/>
<source>On AC</source>
<translation>От сети</translation>
</message>
<message>
<location filename="../lidwatchersettings.ui" line="97"/>
<source>When &amp;using external monitor</source>
<translation>При использовании внешнего монитора</translation>
</message>
<message>
<source>On Ac</source>
<translation type="vanished">От сети</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>LXQt Powermanagement Configuration</source>
<translation type="vanished">Настройка энергопотребления LXQt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="34"/>
<source>Power Management Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="37"/>
<source>Battery</source>
<translation>Батарея</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="41"/>
<source>Lid</source>
<translation>Крышка</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="45"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>idle</source>
<translation type="vanished">бездействие</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>Lock screen</source>
<translation>Блокирвать экран</translation>
</message>
<message>
<location filename="../helpers.cpp" line="37"/>
<source>Suspend</source>
<translation>Ждущий режим</translation>
</message>
<message>
<location filename="../helpers.cpp" line="38"/>
<source>Hibernate</source>
<translation>Спящий режим</translation>
</message>
<message>
<location filename="../helpers.cpp" line="39"/>
<source>Shutdown</source>
<translation>Выключить компьютер</translation>
</message>
</context>
</TS>

2
debian/.gitignore vendored

@ -1,7 +1,7 @@
/*.debhelper
/*.log
/*.substvars
/debhelper-build-stamp
/files
/lxqt-powermanagement/
/lxqt-powermanagement-dbg/

22
debian/changelog vendored

@ -1,3 +1,25 @@
lxqt-powermanagement (0.11.0-2) unstable; urgency=medium
* Cherry-picking upstream release 0.11.0
* Synced debian foo with experimental
* Bumped compat to 10
* Removed --parallel from rules, standard in compat 10
* Bumped minimum version debhelper to />= 10)
* Bumped minimum version liblxqt0-dev (>= 0.11.0)
* Bumped minimum version libqt5xdg-dev (>= 2.0.0)
* Added build dependency libkf5idletime-dev
* Added build dependency libqt5svg5-dev
* Added Recommends lxqt-powermanagement-l10n
* Added build dependency libqt5xdgiconloader-dev (>= 2.0.0)
* Removed build dependency libx11-xcb-dev
* Removed build dependency libxcb-dpms0-dev
* Removed build dependency libxcb-screensaver0-dev
* Added translation control to rules
* Set CMAKE_BUILD_TYPE=RelWithDebInfo
* Exported LC_ALL=C.UTF-8, make builds reproducible
-- Alf Gaida <agaida@siduction.org> Tue, 18 Oct 2016 17:25:42 +0200
lxqt-powermanagement (0.10.0-4) unstable; urgency=medium
* Added Recommends: upower (Closes: #828697)

2
debian/compat vendored

@ -1 +1 @@
9
10

16
debian/control vendored

@ -5,24 +5,23 @@ Uploaders: Alf Gaida <agaida@siduction.org>,
Andrew Lee (李健秋) <ajqlee@debian.org>
Section: x11
Priority: optional
Build-Depends: debhelper (>= 9),
Build-Depends: debhelper (>= 10),
cmake (>= 3.0.2),
libkf5idletime-dev,
libkf5solid-dev,
libkf5windowsystem-dev,
liblxqt0-dev (>= 0.10.0),
liblxqt0-dev (>= 0.11.0),
libqt5svg5-dev,
libqt5x11extras5-dev,
libqt5xdg-dev (>= 1.3.0),
libqt5xdg-dev (>= 2.0.0),
libqt5xdgiconloader-dev (>= 2.0.0),
libx11-dev,
libx11-xcb-dev,
libxcb-dpms0-dev,
libxcb-screensaver0-dev,
pkg-config,
qtbase5-private-dev,
qttools5-dev,
qttools5-dev-tools
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/git/pkg-lxqt/lxqt-powermanagement.git/?h=debian/sid
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/lxqt-powermanagement.git/?h=debian/sid
Vcs-Git: https://anonscm.debian.org/git/pkg-lxqt/lxqt-powermanagement.git -b debian/sid
Homepage: https://github.com/lxde/lxqt-powermanagement
@ -30,7 +29,8 @@ Package: lxqt-powermanagement
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
Recommends: upower
Recommends: lxqt-powermanagement-l10n,
upower
Description: power management module for LXQt
The Power management module for LXQt.
.

2
debian/copyright vendored

@ -1,6 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lxqt-powermanagement
Source: https://github.com/lxde/lxqt-openssh-askpass
Source: https://github.com/lxde/lxqt-powermanagement
Files: *
Copyright: 2013-2016 LXQt team

4
debian/gbp.conf vendored

@ -2,3 +2,7 @@
debian-branch = debian/sid
upstream-branch = upstream/latest
pristine-tar = True
[import-orig]
# Use git cherrypick -n upstream instead.
merge = False

14
debian/rules vendored

@ -1,9 +1,15 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
# export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export LC_ALL=C.UTF-8
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh ${@} --buildsystem cmake \
--parallel
dh ${@} --buildsystem cmake
override_dh_auto_configure:
dh_auto_configure -- \
-DPULL_TRANSLATIONS=OFF\
-DUPDATE_TRANSLATIONS=OFF\
-DCMAKE_BUILD_TYPE=RelWithDebInfo

@ -1,63 +1,50 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (GNU/Linux)
mQINBFJevCYBEACx+Hvy+Vsuf+V5jeLUnzjAmHoy8DfTeGWr3ts30IapLHrfi0+U
WpzNnISO77yTr4VNboVZH+GHM/rnPfieODfB4ZW6CZLlInMSKUXcgQsEqXpyBZhA
Ib/SPy2bOfHly1uRJes0uRDsH5+v/hD74sByfnjQlrvI68O6wvGZmDFMNNPVO8+/
OWBSBNkBuVrrZOMSPsLwQGJ4UtUQ4whburaPJG4VZJc5DLbzJGbEuACc0IAEYJS3
7AfXVXn4j4Gc9F3o1xTUnbOBnwGPquWwUIm3FM7Ec2OdkvMt3EwvnkMAfeVrq3iE
FDD/KZTxdL0BZH3QD8gB7Jm4v4f3Nkobg6JCvCbcH3wBdZW4mASbwWzfRaDC2zHb
ErTglD7PpShLKZZ0pr9okWZEGw4Ku3q8ALi1JXK/ePTmsBlvkVskOJ3Nnd0avgH4
+Q/vZoKfH8EhNY745rI+8CE9iv6V9XiSUt4CKEWAENt4A8hq6U2vV+jZv3B6AgD7
ZjiI59yD4YuYubu8rCnNizTgh1voVw3ietknn/x2H5yH8fByWZ5uL87C0ky/uma6
ZGbiiAtM4kdkyDMrfRV5nlEG9EKAGPVu5mjeSCrfkETwZ9OFPz1AuDye4ZEXrrcC
iRQ7RX6/GtW18aHER0kzGnfwx5KJzkDrRBY8A2PdXLBcrsN4WpK9EX01PQARAQAB
tCNKZXJvbWUgTGVjbGFuY2hlIDxqZXJvbWVAbGVjbGFuLmNoPokCPwQTAQIAKQUC
Ul68JgIbAwUJAeEzgAcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEDfgrx/a
SPNzSHIP/1ewXcC0TFBcvDD7MrIP7anyNfiWfW7cxkR8GSamkg6HTa6Ndyr1FFjJ
OoDFUP37jWhu59CsHxs2D0zRWJktezfvElscRgqbHcdpIznqsGdI8hXCZafhBGVb
sdAB2LRawcXGxnXt7XajPcSVwLWRE62caBqohznU2iWvI780WNjEbZoA0LhZwaFF
UUPJm8ea9v0IkZVKUyg9WONZ1U7FEG9SaEiSpI8kJdx1fvCwZVDV/NRO5GqnJaho
P1LCne4YdwS6pt1/fRgk32IHxxZfHlLzLHxb6v1JmIg72x28qCmGyK9oFBDbbnYu
6Aq8XbHogOrD5vJM2Pfm2IhV0+JHOjfQbddv8tsAH1M+LI+tToXmg5st1AU3wnTn
pda3hjA1avKwkfBPW/osHc8782ViyS9iX2e9iDtMv608guij4NjpGExzGCypHOd8
+VXRwJDjvgDynkL206MZ+wn0j5wHsIE8F3Y5Bp1thQOrdDli5MYNQoXhjFmH46XT
bcr84IgW0+AiXZdoFUqvwtzrWy2Onuw5R3k4OyV4skN4DkWXyAk/V+Y4K39JvTKf
H9YuiQ9blNzCu8WiAnjKnh9kNl9E/TyEwI6cHFmIPqF8ST9tJytWHtrKvU9csvXX
n8XNJmpcv2R1e6N+VuWWm5zUPTouv3AxCacLbm8Lh3ymGsk7ZEyhiQIcBBABAgAG
BQJSsFYyAAoJEBMY76xfu9vO6v0P/3wSj3/kE4nP4HfgcVJSzi+lm1ycpbLDZtgh
P1G+zJLVmA+E41vEZimeiYQxBAelatJz+CHzQo3LZ2oVChzVrZcVHn9k4P3pib69
qCVif3/y0Wmecn+u2TWbOvJ7mthfO7T3W7rkW1/9ES7bUaXcXWQ2sjUBVqFkFsVt
xgJDo8wcxA+K4Yf06GCbxFwrB7X5GraWIkzqGnyse3XAQn8aORAXmE8Yd0FHOjEZ
Beb9shChnkYc3lEvNY8ioCaYSF9xr/Iz9cwpfPkpqFiVYWadtb+Gqeh6zC7vPmcT
zHxrgkq1WwQlSBm724tPt9xuGQoOglqEa23vlQZfv20nyrYjLeYUy6pMCRq7vn/n
nkQOcXF7yQlnqR6xKk0tWsM4e6du0ZvbjBbhHV/kBFVGCLm/upTwoMVm0WJTbr4T
5XfIZo7eA0lvGtUhe1PgcOidBikHfAIfYxu0BoMXoL4jbcQdR5+YBDEfsS0jPhCl
mew2ScW/R/UhUknJUVFTma0KHXzEmKiqeeUCDtwEi6fxdicAYkbcekgkfFiD/w8N
Lk3Uf+0x2MdKA36nUobFkk38oU+GW37kFWJs3f1YRuQFao896eNW/E8ekVMLNxOl
nCjnSbabaxDnxPTyW2KlNjf/QUEK4pT6S5QmuCSrle3PQpaSbAZDHzLBIL9gd3m6
MH7+SvV4uQINBFJevCYBEADiXDUqstSdhIyuionS2KtE3IeEBIqS7GY8QPRBylIZ
ACVHFI/1HxChBqYVGFaDEQn3gj5lUUQPubfWaxzjF6+UNVQW4+cxmTocndAwfDbI
+E5BLdieFUzbAA05MV5ZjPhTNbSk1jpy4bNy0FILwNqc89Y6SoCbv1r3tZLCrBas
1+AfWknBynx0siGMbLFxtzR6hUkNz9URxt13FrzpUWMpAL8ZQGczOTSaWLrZA5l9
xLzJ9ww8uM+C2Xej3/sANxi+kQE2GVMKurPS0TICwVWZxbdW/ytIkO67Rhse0q3t
vzjdawfCFRxv7XQB2ZJ6irDxbpHiJoojSWCHJadIyCG03iOiaqsSVvi4KnxtUck+
udOEJUV5sxdzgeRrsDpeaN//KCWW9WjfsSkvOqP6S1gmWpNFdzF5XrzcgvqvSNqo
XejfakUTJqsIIEHO0zGuJFVzJNh2hQ/9dhjIspUORhtNKaljNvePiBrj2yqmd9PY
FlH1KMHe4H+YVIwPiyeNA87Pu+1yNo8gT7mXhGRfibgWjbt146WUJ7+l2StJMApn
eNSCartNaUNPnw96i2l5c9AsJ3SWC6XWpWzOLVj+9XceeA11lu/ogqEMHzx81NjH
2TePxwKTKxZnAvDmqryp++IgY2/OgIoIk3ZRdYu/dPijTOYWfCet/9/9kAFr9PeJ
KwARAQABiQIlBBgBAgAPBQJSXrwmAhsMBQkB4TOAAAoJEDfgrx/aSPNzJv0QAKkx
lCKEZ6ahAUuNWslsHnNWaHFHNawEO3NIEtQZGVFk2BYISupizvjZF6MnymO/9UFM
pzV6fp3xNdqaKWQBjScOgMgCASRixW2tMAKbJGHZKp3dBixpHgXxy2oOGMS+mQ5m
gWy07usq2YesoMD0K/SG6EnoRPHBvrJihArzMFVUY9hD3hk8bhiy8w9bCYFe+gkm
zpQl3/KN01kyt5LjzEBcIOw8qIBQe9Pk8PyOK75lPoNME714LatgOsyw2kaSQ9Sv
hziRGC5z/fV3PmH7XhSjENPKnCJU51GUMMLaL28t9o7Afh6Q8UV31/JO36vmQXQV
+b+0BoGqEmf3AKBASb2Cr2q4pZFjywwSUXHZ9hQyu1tpbE1dS6aI01kM0y270pk7
W/ajuzuOxAVL1bJAanL/5+DWM03esZPVdEWhxpWEM40Z6Rhq+Xb2a5xfwCN9PmaQ
o9fez0I+yh53s7Ypv0tBj05FPe5L48+pDi6pz5nddN1B0FzF58jVfsBZUjBlY24+
VwQeAaWkRXZrSEdtBS5ufsi80x/cNCSTJBWqtborKL1iGgf5MDPYRMSvmZXAeIld
pyL/0pbW7iokewyKzpFfo7KEbwLxB+flWaBZ867JpF4yyRj3b4qcvcyV8QnsoB7Z
KhxTl3gGwD/t0HUcu85zcfs4GkealYhIWfGaAso2
=fF8P
mQINBFXQeMMBEACif4+9pTrC6uNmRng0ZbzLh7p3cazmbnp2YFgDQDJZ7ZNmebxy
ngRuRhjGuDcFAL/37BwJnrBpfZFK9ljoH4Fo5Jm9cOELaTy7AIcEiV9dKMyrKF1E
C76d8jHVuzuPbI92DkFdLZAdk+qjrrAy0x43PvUd+aaBGLcFs1ZMk7gOvElc2d95
zWWSp5anjukmGbp+EsStnWJkF6VHj56qmklfYy5ioiVBOSpXo/RsACAcIlz8C8A1
d4tNMiB2uF2OrUfrL8DD6m3nBqep+AYbIQrxMl9kUQH3I33e9kH/L+SHQyE6phS8
Czq06WjV4TcJ9VWxm7hQCNLYSxhZYYr1AW45lS5+xmfBOq2qeLgvjbFxa8PPrsp6
Bqgt8MjwUkXjU5IB7YulUBvFU2l0MJZWDBuNy0oNtCe1cU3JyIqLKjvzQQQ9eD5L
o3Ul704TLHz0z+67Rxh05Mi4JvyFMjnooSJkNH8/7yXoBN0ZGOh1/5zMU1gK5bmP
6hKgis2exSZNIS74mF6/PqGgcwk3PyI4T3keUQoNPj11M2EznLHxY19QZfQ5oMed
8xOlHKjpcm8PYMB4gduNXlV7gI9h7UxuC5GuPiP2lmM6wUyHu48divxDk5UYgPEC
xlPI2wHCNDsuy0EruCYIvrMSZfpYCCSrmXiOORBLO5qXkauILLkJarHqjQARAQAB
tCBBbGYgR2FpZGEgPGFnYWlkYUBzaWR1Y3Rpb24ub3JnPokCOAQTAQIAIgUCVdB4
wwIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQQsnI069epeOT2xAAgSHf
41103cnElGf6TokPl4J6hdRPy2CUAjmBtMfr8eajYvGDGgnmsh9AGYGURjfFVCCf
Ag+8b6nF3xg03UmgsuSO8H78HGv9kKzF9aHmLt+SXq3jUX+LnIkFHErZWjFAKdJr
luu1j6ltxLe9PQljxZnugzMaUbW8eEPKvcriiDn3S4/DtikW/jpGA0MTY4ZWs9pZ
L/6iRRH99L2X/cWO4sCgDXCTt4oK0f5OvwiuCoVOM+PYoIm31JICCKOlqamkCn7d
2KH3nsy0v7tXgnrnb/zr8jVGsZLzUE51AFOzb5Ec74/2SAq8X4gbTppttLXEIooq
nbepitW/PePkPY5gpfwHtFbl88qFnir+ABMefqRZkzeh0tsxJVLVHGP1KZykXpv7
96A6Q1h7Zo9Ny7WwN5Xl02g35LVCaPyzd3A8A4315uMuP3iziq57UktKqh9d5S3t
jfK7e9UfFQZBLfxn2sNPsjdYSNUQp/PXTTk/599h359WVuUIR866T8K7N7EEon3p
qLItZljQ9Nmr/yGwKi9iQgi2LtZj5KUcF1zBLzZKf95FvoqSZqBXdFSjm+eYGaCH
Q2IBnhyP92lEknSK9ystUJXmY69tQKBFqJxScwaS+7a/rfLKssQjSWxqk+SX4QeW
e9z9FUpo71bq0Zkc/M9aOCoEEmhg4Ob/JWy08oC5Ag0EVdB4wwEQAKZDCc/C41y0
omLFCAJybvHiFScM+jOpyGpQvceoviEhIT7h1br/pnSEMkgPQEDPWJGtKueg1/94
sXTH24uefr3Y6JdZoBtprxl4JXUoOndgq1QH1xuUsy3/9YWU8Qboy9j8a8w0oCDE
T8Z03KHCwqzD3K+44jhmhF+0eLoaaY8ohS8ziP+DcFKVHyatmS5yCCdjVrj6PxMp
uy/y5SXT1kmiPdVAIzQlM5DlN6o46TV+BH0pPvVYjtwf31o0FckJxy5S1v0koCNB
vX2b7tTDPKzn8G18eUVhGoUTZBUCp1gg36wJ0YY4xgZ9vI/xDCeHeAkyvGtaTAoy
qP4rHoUO5KVRSDh7frSlrdbLGWHaQwOhcqoKd4qP/164wHPGkgHL1vztdOc7l1wx
q3gMh2uwmJR0NRrw4WVuaIqL9lEbGBNijlmGsuqXfsMRhc/qoqgVDWvrcCtEoOwl
TONGobW3jpCCjpa9SeGNjxuY6IVLn0lfX4hItNVY9sFA+H+yj4uBQ7zsmMUXafxt
Yllm0f98yGNg5lnJg4bLOYu3IkpogUKNA3qkZ+6vRtwH70/bJGp7qdx/3G4W5dMX
asd/rJjdELW+R/NVULAmK1ETSklaa3Z6vbTu8bN8gvP8pmMJ8f/U8+qzkuAqc201
Z4O+s7ZsQfTiz5mm7zPGIYTnppDSno/rABEBAAGJAh8EGAECAAkFAlXQeMMCGwwA
CgkQQsnI069epeMt0g/+JrwLhULD6NOxaLgxboh/KZkh/7ViU4cB+QPT8JIcWxkZ
zj8uk85TUitEUzKmjp/ItCrhQE5WNNWbz/FBnAuLtaQuHhcHMA3Vu95UUCGi1vyZ
ZRlS3YRM6S9BOzrjG7fGQJmO/RU3g6rb0TAwGFxDHj8t4JEDTc3zASG7wV/VTn06
d8XIH9CZOw3kUuhkQ3OR/PEj1BCeCC+caC+tBjO0fgvDp8RV7NFQQ9kH8R3/xlWd
6KMPtILE6fUft6LubWRGd1P5JBuzXivELolASajewbYtL/s87CCji3ngq0aT9raK
m02wqFzNbX1iv+w2iqPQXq6pdRyxtJ8+Q8Z7zEBGJS5nkrYjsLTduZIjJHYHYH7f
3/ydVjQ3z12iqHKElgaRI7RUmpNiNxVIr+TtuxzeC6G+CF++XNkUtJODvCmRaoJS
waYsitz8+LSv3tawZJ0iQkKc9nerQMuBD+AzIr3i4NgXiEIN513esUtnKzeyIIsL
ntUcBjXKuLCj8OZrZtexjq7edWWbN57/3ikyS2Z7y0i3O30qk5jmccSaS6kA7xTY
WCDFzbN2v2y+vGu9KYn+2HtrP2BtNa8JTh3waNeLUTpn4GV4mMrsZjOy6vhhHb91
1TKfI1gvjk7lE9xaWmcDjdI55dw3jIq8kK9SdgORGq9/S3g7KJNRjme+6GjqQfk=
=h7ww
-----END PGP PUBLIC KEY BLOCK-----

4
debian/watch vendored

@ -1,3 +1,3 @@
version=3
version=4
opts="pgpsigurlmangle=s/$/.asc/" \
https://github.com/lxde/lxqt-powermanagement/releases .*/([\d\.]+).tar.gz
https://github.com/lxde/lxqt-powermanagement/releases .*/lxqt-powermanagement-([\d\.]+).tar.xz

@ -15,7 +15,6 @@ set(SOURCES
powermanagementd.cpp
trayicon.cpp
iconproducer.cpp
x11helper.cpp
../config/powermanagementsettings.cpp
)
@ -28,12 +27,6 @@ set(DESKTOP_FILES_IN
lxqt-powermanagement.desktop.in
)
qt5_add_dbus_adaptor(SOURCES
org.freedesktop.ScreenSaver.xml
idlenesswatcher.h
IdlenessWatcher
)
lxqt_translate_ts(QM_FILES
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
SOURCES
@ -41,56 +34,24 @@ lxqt_translate_ts(QM_FILES
${UI_FILES}
INSTALL_DIR
${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}
PULL_TRANSLATIONS
${PULL_TRANSLATIONS}
CLEAN_TRANSLATIONS
${CLEAN_TRANSLATIONS}
TRANSLATIONS_REPO
${TRANSLATIONS_REPO}
TRANSLATIONS_REFSPEC
${TRANSLATIONS_REFSPEC}
REPO_SUBDIR
"lxqt-powermanagement/${PROJECT_NAME}"
)
lxqt_app_translation_loader(lxqt-powermanagement_QM_LOADER ${PROJECT_NAME})
# XCB stuff (TODO: move into findXCB)
find_package(PkgConfig)
pkg_check_modules(PKG_XCB xcb)
find_path(XCB_INCLUDE_DIR xcb/xcb.h
${PKG_XCB_INCLUDE_DIRS}
)
find_library(XCB_LIBRARY NAMES xcb
PATHS
${PKG_XCB_LIBRARY_DIRS}
)
pkg_check_modules(PKG_X11_XCB x11-xcb)
find_path(X11_XCB_INCLUDE_DIR X11/Xlib-xcb.h
${PKG_X11_XCB_INCLUDE_DIRS}
)
find_library(X11_XCB_LIBRARY NAMES X11-xcb
PATHS
${PKG_X11_XCB_LIBRARY_DIRS}
)
pkg_check_modules(PKG_XCB_SCREENSAVER xcb-screensaver)
find_path(XCB_SCREENSAVER_INCLUDE_DIR xcb/screensaver.h
${PKG_XCB_SCREENSAVER_INCLUDE_DIRS}
)
find_library(XCB_SCREENSAVER_LIBRARY NAMES xcb-screensaver
PATHS
${PKG_XCB_SCREENSAVER_LIBRARY_DIRS}
)
pkg_check_modules(PKG_XCB_DPMS xcb-dpms)
find_path(XCB_DPMS_INCLUDE_DIR xcb/dpms.h
${PKG_XCB_SCREENSAVER_INCLUDE_DIRS}
)
find_library(XCB_DPMS_LIBRARY NAMES xcb-dpms
PATHS
${PKG_XCB_DPMS_LIBRARY_DIRS}
)
find_package(KF5IdleTime REQUIRED)
include_directories(
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
${XCB_INCLUDE_DIR}
${X11_XCB_INCLUDE_DIR}
${XCB_SCREENSAVER_INCLUDE_DIR}
${XCB_DPMS_INCLUDE_DIR}
)
add_executable(lxqt-powermanagement
@ -104,11 +65,8 @@ add_executable(lxqt-powermanagement
target_link_libraries(lxqt-powermanagement
lxqt
${QTX_LIBRARIES}
${XCB_LIBRARY}
${XCB_SCREENSAVER_LIBRARY}
${XCB_DPMS_LIBRARY}
${X11_XCB_LIBRARY}
KF5::Solid
KF5::IdleTime
)
install(TARGETS

@ -122,13 +122,13 @@ void BatteryWatcher::batteryChanged()
switch (mSettings.getPowerLowAction())
{
case LXQt::Power::PowerSuspend:
notification->setBody(tr("Suspending in %1 seconds").arg(secondsToAction));
notification->setBody(tr("Suspending in %n second(s)", nullptr, secondsToAction).arg(secondsToAction));
break;
case LXQt::Power::PowerHibernate:
notification->setBody(tr("Hibernating in %1 seconds").arg(secondsToAction));
notification->setBody(tr("Hibernating in %n second(s)", nullptr, secondsToAction).arg(secondsToAction));
break;
case LXQt::Power::PowerShutdown:
notification->setBody(tr("Shutting down in %1 seconds").arg(secondsToAction));
notification->setBody(tr("Shutting down in %n second(s)", nullptr, secondsToAction).arg(secondsToAction));
break;
}

@ -183,18 +183,18 @@ QIcon IconProducer::buildCircleIcon(Solid::Battery::ChargeState state, int charg
if (chargeLevel > 99)
chargeLevel = 99;
double angle;
double angle;
QString sweepFlag;
if (state == Solid::Battery::Discharging)
{
angle = M_PI_2 + 2 * M_PI * chargeLevel/100;
sweepFlag = "0";
}
else
{
angle = M_PI_2 - 2 *M_PI * chargeLevel/100;
sweepFlag = "1";
}
if (state == Solid::Battery::Discharging)
{
angle = M_PI_2 + 2 * M_PI * chargeLevel/100;
sweepFlag = "0";
}
else
{
angle = M_PI_2 - 2 *M_PI * chargeLevel/100;
sweepFlag = "1";
}
double circle_endpoint_x = 80.0 * cos(angle) + 100;
double circle_endpoint_y = -80.0 * sin(angle) + 100;

@ -22,262 +22,46 @@
*
* END_COMMON_COPYRIGHT_HEADER */
#include <xcb/dpms.h>
#include <xcb/screensaver.h>
#include <QCoreApplication>
#include <QDebug>
#include <QDBusServiceWatcher>
#include <LXQt/ProgramFinder>
#include "screensaveradaptor.h"
#include "idlenesswatcher.h"
#include "x11helper.h"
/* lockers:
*
* xlock(more)
* i3lock -n
* slock
* alock
* xtrlock
*/
#include <QCoreApplication>
#include <KIdleTime>
#include <QDebug>
IdlenessWatcher::IdlenessWatcher(QObject* parent):
Watcher(parent),
mPSettings(),
mErrorNotification(tr("LXQt Idleness watcher failed to start")),
mDBusWatcher(this),
mInhibitorCookie(0),
mIsLocked(false)
Watcher(parent)
{
qDebug() << "Starting idlenesswatcher";
mConn = X11Helper::connection();
xcb_prefetch_extension_data(mConn, &xcb_screensaver_id);
xcb_prefetch_extension_data(mConn, &xcb_dpms_id);
xcb_screensaver_query_version_cookie_t verCookie = xcb_screensaver_query_version_unchecked(mConn, XCB_SCREENSAVER_MAJOR_VERSION, XCB_SCREENSAVER_MINOR_VERSION);
xcb_dpms_get_version_cookie_t dpmsVerCookie = xcb_dpms_get_version_unchecked(mConn, XCB_DPMS_MAJOR_VERSION, XCB_DPMS_MINOR_VERSION);
// Note that XCB is asynchronous, so we want to make requests ASAP and get the responses as late as possible.
mScreen = screenOfDisplay(mConn, 0);
mErrorNotification.setUrgencyHint(LXQt::Notification::UrgencyCritical);
mErrorNotification.setIcon("object-unlocked");
mErrorNotification.setTimeout(0);
new ScreenSaverAdaptor(this);
QDBusConnection sessionBus = QDBusConnection::sessionBus();
if (!sessionBus.registerService("org.freedesktop.ScreenSaver")
|| !sessionBus.registerObject("/ScreenSaver", this))
{
mErrorNotification.setBody(tr("D-Bus interface org.freedesktop.ScreenSaver is already registered"));
mErrorNotification.update();
qWarning() << "ERROR: D-Bus interface org.freedesktop.ScreenSaver is already registered";
}
mDBusWatcher.setConnection(QDBusConnection::sessionBus());
mDBusWatcher.setWatchMode(QDBusServiceWatcher::WatchForUnregistration);
connect(&mTimer, SIGNAL(timeout()), SLOT(idleTimeout()));
connect(&mPSettings, SIGNAL(settingsChanged()), SLOT(restartTimer()));
connect(this, SIGNAL(done()), this, SLOT(restartTimer()));
connect(&mDBusWatcher, SIGNAL(serviceUnregistered(QString)), SLOT(serviceUnregistered(QString)));
connect(&mLockProcess, SIGNAL(finished(int,QProcess::ExitStatus)), SLOT(screenUnlocked(int,QProcess::ExitStatus)));
connect(&mErrorNotification, SIGNAL(actionActivated(int)), SLOT(notificationAction(int)));
// Get XCB responses ...
const xcb_query_extension_reply_t* extReply = xcb_get_extension_data(mConn, &xcb_screensaver_id);
const xcb_query_extension_reply_t* dpmsExtReply = xcb_get_extension_data(mConn, &xcb_dpms_id);
xcb_screensaver_query_version_reply_t* verReply = xcb_screensaver_query_version_reply(mConn, verCookie, NULL);
xcb_dpms_get_version_reply_t* dpmsVerReply = xcb_dpms_get_version_reply(mConn, dpmsVerCookie, NULL);
if (mScreen && extReply && extReply->present && dpmsExtReply && dpmsExtReply->present
&& verReply && dpmsVerReply
&& verReply->server_major_version == XCB_SCREENSAVER_MAJOR_VERSION
&& verReply->server_minor_version >= XCB_SCREENSAVER_MINOR_VERSION
//&& dpmsVerReply->server_major_version == XCB_DPMS_MAJOR_VERSION
//&& dpmsVerReply->server_minor_version >= XCB_DPMS_MINOR_VERSION
)
{
free(verReply);
free(dpmsVerReply);
}
else
{
mErrorNotification.setBody(tr("The X11 Screensaver extension is not usable"));
mErrorNotification.update();
if (verReply)
free(verReply);
qCritical() << "ERROR: Can't use the X11 Screensaver Extension!";
}
mErrorNotification.setActions(QStringList(tr("Configure...")));
qDebug() << "LXQt Screenlocker started.";
qDebug() << "timeout:" << getMaxIdleTimeoutMs() << "ms, lock command:" << mLockCommand;
restartTimer();
}
xcb_screen_t* IdlenessWatcher::screenOfDisplay(xcb_connection_t* conn, int screen)
{
xcb_screen_iterator_t iter = xcb_setup_roots_iterator(xcb_get_setup(conn));
for (; iter.rem; --screen, xcb_screen_next(&iter))
if (screen == 0)
return iter.data;
return NULL;
}
uint IdlenessWatcher::getIdleTimeMs()
{
xcb_screensaver_query_info_cookie_t infoCookie = xcb_screensaver_query_info_unchecked(mConn, mScreen->root);
xcb_screensaver_query_info_reply_t* infoReply = xcb_screensaver_query_info_reply(mConn, infoCookie, NULL);
if (!infoReply)
{
qWarning() << "Bad reply from X11 Screensaver";
return 0;
}
uint msSinceUserInput = infoReply->ms_since_user_input;
free(infoReply);
return msSinceUserInput;
}
uint IdlenessWatcher::getMaxIdleTimeoutMs()
{
return 1000 * mPSettings.getIdlenessTimeSecs();
}
void IdlenessWatcher::idleTimeout()
{
uint msSinceUserInput = getIdleTimeMs();
if (msSinceUserInput >= getMaxIdleTimeoutMs())
{
mTimer.stop();
doAction(mPSettings.getIdlenessAction());
}
else
mTimer.start(getMaxIdleTimeoutMs() - msSinceUserInput);
}
void IdlenessWatcher::restartTimer()
{
qDebug() << ">>> Timer Restarted, waiting: " << getMaxIdleTimeoutMs() << "msecs";
mTimer.start(getMaxIdleTimeoutMs());
}
void IdlenessWatcher::screenUnlocked(int exitCode, QProcess::ExitStatus exitStatus)
{
mIsLocked = false;
emit ActiveChanged(false);
if (exitCode == 0)
{
restartTimer();
}
else
{
mErrorNotification.setSummary(tr("ERROR: Screen unlocked"));
if (exitStatus == QProcess::NormalExit)
mErrorNotification.setBody(tr("Locking program \"%1\" exited with error code %2").arg(mLockCommand).arg(exitCode));
else
mErrorNotification.setBody(tr("Locking program \"%1\" crashed with error code %2").arg(mLockCommand).arg(exitCode));
mErrorNotification.update();
mTimer.stop();
connect(&mErrorNotification, SIGNAL(notificationClosed(CloseReason)), SLOT(idleTimeout()));
}
}
void IdlenessWatcher::notificationAction(int num)
{
switch (num)
{
case 0: // "Configure"
QProcess::startDetached("lxqt-config-screenlocker");
}
}
void IdlenessWatcher::serviceUnregistered(const QString& service)
{
for (QMutableMapIterator<uint, QString> iter(mInhibitors); iter.hasNext();)
{
if (iter.next().value() == service)
{
qDebug() << "Service unregistered:" << iter.value();
mDBusWatcher.removeWatchedService(iter.value());
iter.remove();
}
}
if (mInhibitors.isEmpty())
restartTimer();
}
/* ---------- D-Bus methods ---------- */
void IdlenessWatcher::Lock()
{
// lockScreen();
}
uint IdlenessWatcher::GetSessionIdleTime()
{
return getIdleTimeMs() / 1000;
}
connect(KIdleTime::instance(),
static_cast<void (KIdleTime::*)(int)>(&KIdleTime::timeoutReached),
this,
&IdlenessWatcher::timeoutReached);
uint IdlenessWatcher::GetActiveTime()
{
if (!mIsLocked)
return 0;
return mLockTime.secsTo(QDateTime::currentDateTime());
}
connect(&mPSettings, &LXQt::Settings::settingsChanged,
this, &IdlenessWatcher::onSettingsChanged);
bool IdlenessWatcher::GetActive()
{
return mIsLocked;
setup();
}
bool IdlenessWatcher::SetActive(bool activate)
IdlenessWatcher::~IdlenessWatcher()
{
//if (!activate)
return false;
//return lockScreen();
KIdleTime::instance()->removeAllIdleTimeouts();
}
void IdlenessWatcher::SimulateUserActivity()
void IdlenessWatcher::setup()
{
restartTimer();
}
uint IdlenessWatcher::Inhibit(const QString& applicationName, const QString& reasonForInhibit)
{
mInhibitorCookie++;
QString service(this->message().service());
qDebug() << "*** Inhibit by" << applicationName << ":" << reasonForInhibit << ". Service:" << service << "->" << mInhibitorCookie;
mDBusWatcher.addWatchedService(service);
qDebug() << mDBusWatcher.watchedServices();
mInhibitors.insert(mInhibitorCookie, service);
mTimer.stop();
return mInhibitorCookie;
}
void IdlenessWatcher::UnInhibit(uint cookie)
{
qDebug() << "*** Uninhibit" << cookie;
mDBusWatcher.removeWatchedService(mInhibitors.value(cookie));
mInhibitors.remove(cookie);
if (mInhibitors.isEmpty())
restartTimer();
int timeout = 1000 * mPSettings.getIdlenessTimeSecs();
KIdleTime::instance()->addIdleTimeout(timeout);
}
uint IdlenessWatcher::Throttle(const QString& applicationName, const QString& reasonForThrottle)
void IdlenessWatcher::timeoutReached(int identifier)
{
Q_UNUSED(applicationName);
Q_UNUSED(reasonForThrottle);
return 0;
doAction(mPSettings.getIdlenessAction());
}
void IdlenessWatcher::UnThrottle(uint cookie)
void IdlenessWatcher::onSettingsChanged()
{
Q_UNUSED(cookie);
KIdleTime::instance()->removeAllIdleTimeouts();
setup();
}

@ -25,67 +25,24 @@
#ifndef IDLENESSWATCHER_H
#define IDLENESSWATCHER_H
#include <xcb/xcb.h>
#include <QMap>
#include <QTimer>
#include <QProcess>
#include <QDateTime>
#include <QDBusContext>
#include <QDBusServiceWatcher>
#include <LXQt/Settings>
#include <LXQt/Notification>
#include "../config/powermanagementsettings.h"
#include "watcher.h"
class IdlenessWatcher : public Watcher, protected QDBusContext
class IdlenessWatcher : public Watcher
{
Q_OBJECT
public:
explicit IdlenessWatcher(QObject* parent = 0);
signals:
void ActiveChanged(bool in0);
public slots:
void Lock();
uint GetSessionIdleTime();
uint GetActiveTime();
bool GetActive();
bool SetActive(bool activate);
void SimulateUserActivity();
uint Inhibit(const QString& applicationName, const QString& reasonForInhibit);
void UnInhibit(uint cookie);
uint Throttle(const QString& applicationName, const QString& reasonForThrottle);
void UnThrottle(uint cookie);
virtual ~IdlenessWatcher();
private slots:
void idleTimeout();
void screenUnlocked(int exitCode, QProcess::ExitStatus exitStatus);
void notificationAction(int num);
void serviceUnregistered(const QString& service);
void restartTimer();
void setup();
void timeoutReached(int identifier);
void onSettingsChanged();
private:
uint getIdleTimeMs();
uint getMaxIdleTimeoutMs();
static xcb_screen_t* screenOfDisplay(xcb_connection_t* mConn, int screen);
PowerManagementSettings mPSettings;
QTimer mTimer;
QProcess mLockProcess;
LXQt::Notification mErrorNotification;
QString mLockCommand;
QDateTime mLockTime;
QMap<uint,QString> mInhibitors;
QDBusServiceWatcher mDBusWatcher;
xcb_connection_t* mConn;
xcb_screen_t* mScreen;
uint mInhibitorCookie;
bool mIsLocked;
bool mTurnOffDisplay;
};
#endif // IDLENESSWATCHER_H

@ -1,42 +0,0 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.ScreenSaver">
<signal name="ActiveChanged">
<arg type="b"/>
</signal>
<method name="Lock">
</method>
<method name="SimulateUserActivity">
</method>
<method name="GetActive">
<arg type="b" direction="out"/>
</method>
<method name="GetActiveTime">
<arg name="seconds" type="u" direction="out"/>
</method>
<method name="GetSessionIdleTime">
<arg name="seconds" type="u" direction="out"/>
</method>
<method name="SetActive">
<arg type="b" direction="out"/>
<arg name="e" type="b" direction="in"/>
</method>
<method name="Inhibit">
<arg name="application_name" type="s" direction="in"/>
<arg name="reason_for_inhibit" type="s" direction="in"/>
<arg name="cookie" type="u" direction="out"/>
</method>
<method name="UnInhibit">
<arg name="cookie" type="u" direction="in"/>
</method>
<method name="Throttle">
<arg name="application_name" type="s" direction="in"/>
<arg name="reason_for_throttle" type="s" direction="in"/>
<arg name="cookie" type="u" direction="out"/>
</method>
<method name="UnThrottle">
<arg name="cookie" type="u" direction="in"/>
</method>
</interface>
</node>

@ -25,6 +25,7 @@
#include <QDebug>
#include <QStringList>
#include <QProcess>
#include "batteryhelper.h"
#include "powermanagementd.h"

@ -1,312 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1,432 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>Battery</name>
<message>
<source>Charging</source>
<translation type="vanished">Φόρτιση</translation>
</message>
<message>
<source>Discharging</source>
<translation type="vanished">Αποφόρτιση</translation>
</message>
<message>
<source>Empty</source>
<translation type="vanished">Άδεια</translation>
</message>
<message>
<source>Fully charged</source>
<translation type="vanished">Γεμάτη</translation>
</message>
<message>
<source>Pending charge</source>
<translation type="vanished">Φορτίζεται</translation>
</message>
<message>
<source>Pending discharge</source>
<translation type="vanished">Αποφορτίζεται</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Άγνωστο</translation>
</message>
</context>
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished">Άδεια</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished">Αποφόρτιση</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished">Γεμάτη</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished">Φόρτιση</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished">Ιόντων λιθίου</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished">Πολυμερούς λιθίου</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished">Λίθιου Φωσφορικού άλατος σιδήρου</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished">Μολύβδου οξέος</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished">Νικελίου καδμίου</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished">Υβριδική νικελίου μετάλλου</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfo</name>
<message>
<source>Power Management</source>
<translation type="vanished">Διαχείριση ενέργειας</translation>
</message>
<message>
<source>Battery info</source>
<translation type="vanished">Πληροφορίες της μπαταρίας</translation>
</message>
<message>
<source>Energy Now:</source>
<translation type="vanished">Η τρέχουσα ενέργεια:</translation>
</message>
<message>
<source>Updated:</source>
<translation type="vanished">Ενημερωμένη:</translation>
</message>
<message>
<source>Technology:</source>
<translation type="vanished">Τεχνολογία:</translation>
</message>
<message>
<source>Model:</source>
<translation type="vanished">Μοντέλο:</translation>
</message>
<message>
<source>Energy rate:</source>
<translation type="vanished">Ρυθμός ενέργειας:</translation>
</message>
<message>
<source>Voltage:</source>
<translation type="vanished">Τάση:</translation>
</message>
<message>
<source>Energy Full, Design:</source>
<translation type="vanished">Πλήρης ενέργεια, σχεδιασμός:</translation>
</message>
<message>
<source>Energy Full:</source>
<translation type="vanished">Πλήρης ενέργεια:</translation>
</message>
<message>
<source>State:</source>
<translation type="vanished">Κατάσταση:</translation>
</message>
<message>
<source>Lithium ion</source>
<translation type="vanished">Ιόντων λιθίου</translation>
</message>
<message>
<source>Lithium polymer</source>
<translation type="vanished">Πολυμερούς λιθίου</translation>
</message>
<message>
<source>Lithium iron phosphate</source>
<translation type="vanished">Λίθιου Φωσφορικού άλατος σιδήρου</translation>
</message>
<message>
<source>Lead acid</source>
<translation type="vanished">Μολύβδου οξέος</translation>
</message>
<message>
<source>Nickel cadmium</source>
<translation type="vanished">Νικελίου καδμίου</translation>
</message>
<message>
<source>Nickel metal hydride</source>
<translation type="vanished">Υβριδική νικελίου μετάλλου</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Άγνωστη</translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished">Διαχείριση ενέργειας</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished">Κατάσταση:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished">Πλήρης ενέργεια:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished">Η τρέχουσα ενέργεια:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished">Ρυθμός ενέργειας:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished">Τεχνολογία:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished">Τάση:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation>Καμιά μπαταρία!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation>Το LXQT δεν μπόρεσε να βρει δεδομένα για οποιαδήποτε μπαταρία - η εποπτεία απενεργοποιήθηκε</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation>Η ενέργεια είναι χαμηλή!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation>Αναστολή σε %1 δευτερόλεπτα</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation>Νάρκωση σε %1 δευτερόλεπτα</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation>Τερματισμός σε %1 δευτερόλεπτα</translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation>Η εκκίνηση του επόπτη αδράνειας του LXQt απέτυχε</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation>Η διεπαφή του D-Bus org.freedesktop.ScreenSaver έχει καταχωρηθεί ήδη</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation>Η επέκταση της προστασίας οθόνης X11 δεν μπορεί να χρησιμοποιηθεί</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation>Διαμόρφωση...</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation>ΣΦΑΛΜΑ: Οθόνη ξεκλείδωτη</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation>Το πρόγραμμα κλειδώματος «%1» τερματίστηκε με τον κωδικό σφάλματος %2</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation>Το πρόγραμμα κλειδώματος «%1» κατέρρευσε με τον κωδικό σφάλματος %2</translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation>Διαχείριση ενέργειας</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation>Εκτελείτε την διαχείριση ενέργειας του LXQt για πρώτη φορά.
Μπορείτε να την διαμορφώσετε από τις ρυθμίσεις...
</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation>Διαμόρφωση...</translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation>Διαμόρφωση</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation>Σχετικά</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation>Απενεργοποίηση του εικονιδίου</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>discharging</source>
<translation type="vanished">αποφορτίζεται</translation>
</message>
<message>
<source>charging</source>
<translation type="vanished">φορτίζεται</translation>
</message>
<message>
<source>&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - Powermanagement for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="vanished">&lt;p&gt; &lt;b&gt;Διαχείριση ενέργειας του LXQt&lt;/b&gt;&lt;br/&gt; - Διαχείριση της ενέργειας για το γραφικό περιβάλλον LXQt&lt;/p&gt;&lt;p&gt; Συγγραφείς:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - και άλλοι από τα έργα Razor και LXQt&lt;/p&gt;&lt;p&gt; Πνευματικά δικαιώματα &amp;copy; 2012-2014&lt;/p&gt;</translation>
</message>
</context>
</TS>

@ -1,431 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hu_HU">
<context>
<name>Battery</name>
<message>
<source>Charging</source>
<translation type="vanished">Töltés</translation>
</message>
<message>
<source>Discharging</source>
<translation type="vanished">Kisütés</translation>
</message>
<message>
<source>Empty</source>
<translation type="vanished">Üres</translation>
</message>
<message>
<source>Fully charged</source>
<translation type="vanished">Teletöltve</translation>
</message>
<message>
<source>Pending charge</source>
<translation type="vanished">Tölthetőség</translation>
</message>
<message>
<source>Pending discharge</source>
<translation type="vanished">Kisüthetőség</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Ismeretlen</translation>
</message>
</context>
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished">Üres</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished">Kisütés</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished">Teletöltve</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished">Töltés</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished">Lítium ion</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished">Lítium polimer</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished">Lítium vasfoszfát</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished">Savas ólom</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished">Nikkel kadmium</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished">Nikkel fémhidrid</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished">Ismeretlen</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfo</name>
<message>
<source>Power Management</source>
<translation type="vanished">Energiakezelés</translation>
</message>
<message>
<source>Battery info</source>
<translation type="vanished">Akkumulátor információ</translation>
</message>
<message>
<source>Energy Now:</source>
<translation type="vanished">Állapot:</translation>
</message>
<message>
<source>Updated:</source>
<translation type="vanished">Frissítve:</translation>
</message>
<message>
<source>Technology:</source>
<translation type="vanished">Technológia:</translation>
</message>
<message>
<source>Model:</source>
<translation type="vanished">Modell:</translation>
</message>
<message>
<source>Energy rate:</source>
<translation type="vanished">Energiaállapot:</translation>
</message>
<message>
<source>Voltage:</source>
<translation type="vanished">Feszültség:</translation>
</message>
<message>
<source>Energy Full, Design:</source>
<translation type="vanished">Névleges kapacitás: </translation>
</message>
<message>
<source>Energy Full:</source>
<translation type="vanished">Teljes kapacitás:</translation>
</message>
<message>
<source>State:</source>
<translation type="vanished">Állapot:</translation>
</message>
<message>
<source>Lithium ion</source>
<translation type="vanished">Lítium ion</translation>
</message>
<message>
<source>Lithium polymer</source>
<translation type="vanished">Lítium polimer</translation>
</message>
<message>
<source>Lithium iron phosphate</source>
<translation type="vanished">Lítium vasfoszfát</translation>
</message>
<message>
<source>Lead acid</source>
<translation type="vanished">Savas ólom</translation>
</message>
<message>
<source>Nickel cadmium</source>
<translation type="vanished">Nikkel kadmium</translation>
</message>
<message>
<source>Nickel metal hydride</source>
<translation type="vanished">Nikkel fémhidrid</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Ismeretlen</translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished">Energiakezelés</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished">Állapot:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished">Teljes kapacitás:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished">Állapot:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished">Energiaállapot:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished">Technológia:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished">Feszültség:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation>Nincs akku!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation>Az LXQt nem ismert fel akkut - figyelés tiltva</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation>Alacsony feszültség!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation>%1 másodperc múlva készülség</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation>%1 másodperc múlva mélykészenlét</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation>%1 másodperc múlva kikapcsolás</translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation>Az LXQt tétlenség figyelő indítása sikertelen</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation>A D-Bus interface org.freedesktop.ScreenSaver imár regisztrálva van.</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation>Az X11 képernyővédő bővítmény használhatatlan</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation>Beállítás...</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation>HIBA: A képernyő nem zárolt</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation>A&quot;%1&quot; program %2 hibakóddal kilépett</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation>A&quot;%1&quot; program %2 hibakóddal összeomlott</translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation>Energiakezelés</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation>Az LXQt energiakezelő első alkalommal fut.
A beállításokban konfigurálható...</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation>Beállítás...</translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation>Beállítás</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation>Rólunk</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation>Ikon tiltása</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>discharging</source>
<translation type="vanished">kisütés</translation>
</message>
<message>
<source>charging</source>
<translation type="vanished">töltés</translation>
</message>
<message>
<source>&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - Powermanagement for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="vanished">&lt;p&gt; &lt;b&gt;LXQt energiakezelő&lt;/b&gt;&lt;br/&gt; - Energiakezelő az LXQt asztal részére&lt;/p&gt;&lt;p&gt; Szerzők:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - és még többen a Razor és LXQt fejlesztőiből.&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</translation>
</message>
</context>
</TS>

@ -1,430 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ja">
<context>
<name>Battery</name>
<message>
<source>Charging</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Discharging</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Empty</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Fully charged</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Pending charge</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Pending discharge</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished"></translation>
</message>
</context>
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfo</name>
<message>
<source>Power Management</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Battery info</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Energy Now:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Updated:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Technology:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Model:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Energy rate:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Voltage:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Energy Full, Design:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Energy Full:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>State:</source>
<translation type="vanished">:</translation>
</message>
<message>
<source>Lithium ion</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Lithium polymer</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Lithium iron phosphate</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Lead acid</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Nickel cadmium</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Nickel metal hydride</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished"></translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation>!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation></translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation>!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation>%1</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation>%1</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation>%1</translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation>LXQt</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation>D-Bus org.freedesktop.ScreenSaver </translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation>X11使</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation>: </translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation> &quot;%1&quot; %2 </translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation> &quot;%1&quot; %2 </translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation></translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation>LXQt</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation></translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>discharging</source>
<translation type="vanished"></translation>
</message>
<message>
<source>charging</source>
<translation type="vanished"></translation>
</message>
<message>
<source>&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - Powermanagement for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="vanished">&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - LXQt&lt;/p&gt;&lt;p&gt; 作者:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - Razor-qtLXQt&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</translation>
</message>
</context>
</TS>

@ -1,367 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pl_PL">
<context>
<name>Battery</name>
<message>
<source>Charging</source>
<translation type="vanished">Ładowanie</translation>
</message>
<message>
<source>Discharging</source>
<translation type="vanished">Rozładowywanie</translation>
</message>
<message>
<source>Empty</source>
<translation type="vanished">Pusta</translation>
</message>
<message>
<source>Fully charged</source>
<translation type="vanished">W pełni naładowana</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Nieznana</translation>
</message>
</context>
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished">Pusta</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished">Rozładowywanie</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished">W pełni naładowana</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished">Ładowanie</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished">Nieznana</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfo</name>
<message>
<source>Battery info</source>
<translation type="vanished">Informacje o baterii</translation>
</message>
<message>
<source>Technology:</source>
<translation type="vanished">Technologia:</translation>
</message>
<message>
<source>Model:</source>
<translation type="vanished">Model:</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Nieznana</translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished">Zarządzanie zasilaniem</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished">Technologia:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation>Brak baterii!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation>LXQt nie znalazł danych o żadnej baterii - monitorowanie wyłączone</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation>Niski poziom zasilania!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation>Wstrzymanie nastąpi w ciągu %1 sekund</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation>Hibernacja nastąpi w ciągu %1 sekund</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation>Wyłączenie systemu nastąpi w ciągu %1 sekund</translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation>Konfiguruj...</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation>BŁĄD: Ekran odblokowany</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation>Zarządzanie zasilaniem</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation>Uruchamiasz zarządzanie energią LXQt po raz pierwszy.
Możesz skonfiguroweć jego ustawienia...</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation>Konfiguruj...</translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation>Konfiguruj</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation>Info</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation>Wyłącz ikonę</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>discharging</source>
<translation type="vanished">rozładowywanie</translation>
</message>
<message>
<source>charging</source>
<translation type="vanished">ładowanie</translation>
</message>
<message>
<source>&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - Powermanagement for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="vanished">&lt;p&gt; &lt;b&gt;LXQt Zarządzanie Energią&lt;/b&gt;&lt;br/&gt; - Zarządzanie energią dla środowiska LXQt&lt;/p&gt;&lt;p&gt; Autorzy:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - i inni z projektów Razor oraz LXQt&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</translation>
</message>
</context>
</TS>

@ -1,431 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt">
<context>
<name>Battery</name>
<message>
<source>Charging</source>
<translation type="vanished">A carregar</translation>
</message>
<message>
<source>Discharging</source>
<translation type="vanished">A descarregar</translation>
</message>
<message>
<source>Empty</source>
<translation type="vanished">Vazia</translation>
</message>
<message>
<source>Fully charged</source>
<translation type="vanished">Totalmente carregada</translation>
</message>
<message>
<source>Pending charge</source>
<translation type="vanished">Por carregar</translation>
</message>
<message>
<source>Pending discharge</source>
<translation type="vanished">Por descarregar</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Desconhecido</translation>
</message>
</context>
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished">Vazia</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished">A descarregar</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished">Totalmente carregada</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished">A carregar</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished">Ião de lítio</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished">Polímero de lítio</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished">Fosfato de Ferro-Lítio</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished">Ácido de chumbo</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished">Níquel-Cádmio</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished">Níquel-Hidreto Metálico</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished">Desconhecido</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfo</name>
<message>
<source>Power Management</source>
<translation type="vanished">Gestão de energia</translation>
</message>
<message>
<source>Battery info</source>
<translation type="vanished">Informações da bateria</translation>
</message>
<message>
<source>Energy Now:</source>
<translation type="vanished">Energia atual:</translation>
</message>
<message>
<source>Updated:</source>
<translation type="vanished">Atualização:</translation>
</message>
<message>
<source>Technology:</source>
<translation type="vanished">Tecnologia:</translation>
</message>
<message>
<source>Model:</source>
<translation type="vanished">Modelo:</translation>
</message>
<message>
<source>Energy rate:</source>
<translation type="vanished">Taxa de energia:</translation>
</message>
<message>
<source>Voltage:</source>
<translation type="vanished">Tensão:</translation>
</message>
<message>
<source>Energy Full, Design:</source>
<translation type="vanished">Energia máxima teórica:</translation>
</message>
<message>
<source>Energy Full:</source>
<translation type="vanished">Energia máxima:</translation>
</message>
<message>
<source>State:</source>
<translation type="vanished">Estado:</translation>
</message>
<message>
<source>Lithium ion</source>
<translation type="vanished">Ião de lítio</translation>
</message>
<message>
<source>Lithium polymer</source>
<translation type="vanished">Polímero de lítio</translation>
</message>
<message>
<source>Lithium iron phosphate</source>
<translation type="vanished">Fosfato de Ferro-Lítio</translation>
</message>
<message>
<source>Lead acid</source>
<translation type="vanished">Ácido de chumbo</translation>
</message>
<message>
<source>Nickel cadmium</source>
<translation type="vanished">Níquel-Cádmio</translation>
</message>
<message>
<source>Nickel metal hydride</source>
<translation type="vanished">Níquel-Hidreto Metálico</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Desconhecido</translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished">Gestão de energia</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished">Estado:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished">Energia máxima:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished">Energia atual:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished">Taxa de energia:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished">Tecnologia:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished">Tensão:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation>Nenhuma bateria!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation>O LXQt não consegui encontrar qualquer bateria e a monitorização foi desativada</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation>Energia baixa!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation>Suspensão dentro de %1 segundos</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation>Hibernação dentro de %1 segundos</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation>A desligar dentro de %1 segundos</translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation>O monitorizador de inatividade não foi iniciado</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation>A interface D-Bus org.freedesktop.ScreenSaver já está registada</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation>A extensão X 11 Screensaver não pode ser utilizada</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation>Configurar...</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation>Erro: ecrã não bloqueado</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation>O bloqueio do programa &quot;%1&quot; terminou com o erro &quot;%2&quot;</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation>O bloqueio do programa &quot;%1&quot; crashou com o erro &quot;%2&quot;</translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation>Gestão de energia</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation>Está a executar a gestão de energia do LXQt pela primeira vez.
Pode configurar as opções nas definições...</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation>Configurar...</translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation>Configurar</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation>Sobre</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation>Desativar ícone</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>discharging</source>
<translation type="vanished">a descarregar</translation>
</message>
<message>
<source>charging</source>
<translation type="vanished">a carregar</translation>
</message>
<message>
<source>&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - Powermanagement for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="vanished">&lt;p&gt; &lt;b&gt;Gestor de energia do LXQt&lt;/b&gt;&lt;br/&gt;Gestão de energia para o ambiente de trabalho LXQt&lt;/p&gt;&lt;p&gt; Autores:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - e outros colaboradores dos projetos Razor e LXQt&lt;/p&gt;&lt;p&gt; Direitos de autor &amp;copy; 2012-2015&lt;/p&gt;</translation>
</message>
</context>
</TS>

@ -1,427 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru">
<context>
<name>Battery</name>
<message>
<source>Charging</source>
<translation type="vanished">Заряжается</translation>
</message>
<message>
<source>Discharging</source>
<translation type="vanished">Разряжается</translation>
</message>
<message>
<source>Empty</source>
<translation type="vanished">Пустая</translation>
</message>
<message>
<source>Fully charged</source>
<translation type="vanished">Полностью заряжена</translation>
</message>
<message>
<source>Pending charge</source>
<translation type="vanished">Ожидает заряда</translation>
</message>
<message>
<source>Pending discharge</source>
<translation type="vanished">Ожидает разряда</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Неизвестно</translation>
</message>
</context>
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished">Пустая</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished">Разряжается</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished">Полностью заряжена</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished">Заряжается</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished">Литий-ионная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished">Литий-полимерная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished">Литий-железо-фосфатная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished">Свинцово-кислотная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished">Никель-кадмиевая</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished">Никель-металл-гидридная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished">Неизвестно</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfo</name>
<message>
<source>Power Management</source>
<translation type="vanished">Управление энергопотреблением</translation>
</message>
<message>
<source>Battery info</source>
<translation type="vanished">Информация о батарее</translation>
</message>
<message>
<source>Energy Now:</source>
<translation type="vanished">Заряд сейчас:</translation>
</message>
<message>
<source>Updated:</source>
<translation type="vanished">Обновлено:</translation>
</message>
<message>
<source>Technology:</source>
<translation type="vanished">Технология:</translation>
</message>
<message>
<source>Model:</source>
<translation type="vanished">Модель:</translation>
</message>
<message>
<source>Energy rate:</source>
<translation type="vanished">Мощность тока:</translation>
</message>
<message>
<source>Voltage:</source>
<translation type="vanished">Напряжение:</translation>
</message>
<message>
<source>Energy Full, Design:</source>
<translation type="vanished">Максимальный заряд:</translation>
</message>
<message>
<source>State:</source>
<translation type="vanished">Состояние:</translation>
</message>
<message>
<source>Lithium ion</source>
<translation type="vanished">Литий-ионная</translation>
</message>
<message>
<source>Lithium polymer</source>
<translation type="vanished">Литий-полимерная</translation>
</message>
<message>
<source>Lithium iron phosphate</source>
<translation type="vanished">Литий-железо-фосфатная</translation>
</message>
<message>
<source>Lead acid</source>
<translation type="vanished">Свинцово-кислотная</translation>
</message>
<message>
<source>Nickel cadmium</source>
<translation type="vanished">Никель-кадмиевая</translation>
</message>
<message>
<source>Nickel metal hydride</source>
<translation type="vanished">Никель-металл-гидридная</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Неизвестно</translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished">Управление энергопотреблением</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished">Состояние:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished">Заряд сейчас:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished">Мощность тока:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished">Технология:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished">Напряжение:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation>Нет батареи!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation>LXQt не смог найти информацию о какой-либо батарее - наблюдение отменено</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation>Низкий заряд!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation>Ждущий режим через %1 секунд</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation>Спящий режим через %1 секунд</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation>Выключение компьютера через %1 секунд</translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation>Не удалось запустить наблюдение за простоем LXQt </translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation>Интерфейс D-Bus org.freedesktop.ScreenSaver уже зарегистрирован</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation>Расширение X11 Скринсейвер непригодно для использования</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation>Настроить</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation>ОШИБКА: экран разблокирован</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation>Программа блокировки экрана &quot;%1&quot; вышла с кодом ошибки %2</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation>Программа блокировки экрана &quot;%1&quot; упала с кодом ошибки %2</translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation>Управление энергопотреблением</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation>Вы запускаете управление энергопотреблением LXQt впервые.
Вы можете сконфигурировать его в настройках</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation>Настроить</translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<source>discharging</source>
<translation type="vanished">разряжается</translation>
</message>
<message>
<source>charging</source>
<translation type="vanished">заряжается</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation>О программе</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation>Настроить</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation>Не показывать значок</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - Powermanagement for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="vanished">&lt;p&gt; &lt;b&gt;Управление энергопотреблением LXQt&lt;/b&gt;&lt;br/&gt; - Управление энергопотреблением для окружения рабочего стола LXQt&lt;/p&gt;&lt;p&gt; Авторы:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - и другие из проектов Razor и LXQt&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</translation>
</message>
</context>
</TS>

@ -1,427 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru_RU">
<context>
<name>Battery</name>
<message>
<source>Charging</source>
<translation type="vanished">Заряжается</translation>
</message>
<message>
<source>Discharging</source>
<translation type="vanished">Разряжается</translation>
</message>
<message>
<source>Empty</source>
<translation type="vanished">Пустая</translation>
</message>
<message>
<source>Fully charged</source>
<translation type="vanished">Полностью заряжена</translation>
</message>
<message>
<source>Pending charge</source>
<translation type="vanished">Ожидает заряда</translation>
</message>
<message>
<source>Pending discharge</source>
<translation type="vanished">Ожидает разряда</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Неизвестно</translation>
</message>
</context>
<context>
<name>BatteryHelper</name>
<message>
<location filename="../batteryhelper.cpp" line="42"/>
<source>Empty</source>
<translation type="unfinished">Пустая</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="44"/>
<source>Discharging</source>
<translation type="unfinished">Разряжается</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="46"/>
<source>Fully charged</source>
<translation type="unfinished">Полностью заряжена</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="49"/>
<source>Charging</source>
<translation type="unfinished">Заряжается</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="58"/>
<source>Lithium ion</source>
<translation type="unfinished">Литий-ионная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="60"/>
<source>Lithium polymer</source>
<translation type="unfinished">Литий-полимерная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="62"/>
<source>Lithium iron phosphate</source>
<translation type="unfinished">Литий-железо-фосфатная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="64"/>
<source>Lead acid</source>
<translation type="unfinished">Свинцово-кислотная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="66"/>
<source>Nickel cadmium</source>
<translation type="unfinished">Никель-кадмиевая</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="68"/>
<source>Nickel metal hydride</source>
<translation type="unfinished">Никель-металл-гидридная</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="71"/>
<source>Unknown</source>
<translation type="unfinished">Неизвестно</translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="80"/>
<source>Personal Digital Assistant&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="82"/>
<source>Uninterruptible Power Supply&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="84"/>
<source>Primary battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="86"/>
<source>Mouse battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="88"/>
<source>Keyboard battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="90"/>
<source>Keyboard and mouse&apos;s battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="92"/>
<source>Camera battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="94"/>
<source>Phone battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="96"/>
<source>Monitor battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryhelper.cpp" line="99"/>
<source>Unknown battery</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfo</name>
<message>
<source>Power Management</source>
<translation type="vanished">Управление энергопотреблением</translation>
</message>
<message>
<source>Battery info</source>
<translation type="vanished">Информация о батарее</translation>
</message>
<message>
<source>Energy Now:</source>
<translation type="vanished">Заряд сейчас:</translation>
</message>
<message>
<source>Updated:</source>
<translation type="vanished">Обновлено:</translation>
</message>
<message>
<source>Technology:</source>
<translation type="vanished">Технология:</translation>
</message>
<message>
<source>Model:</source>
<translation type="vanished">Модель:</translation>
</message>
<message>
<source>Energy rate:</source>
<translation type="vanished">Мощность тока:</translation>
</message>
<message>
<source>Voltage:</source>
<translation type="vanished">Напряжение:</translation>
</message>
<message>
<source>Energy Full, Design:</source>
<translation type="vanished">Максимальный заряд:</translation>
</message>
<message>
<source>State:</source>
<translation type="vanished">Состояние:</translation>
</message>
<message>
<source>Lithium ion</source>
<translation type="vanished">Литий-ионная</translation>
</message>
<message>
<source>Lithium polymer</source>
<translation type="vanished">Литий-полимерная</translation>
</message>
<message>
<source>Lithium iron phosphate</source>
<translation type="vanished">Литий-железо-фосфатная</translation>
</message>
<message>
<source>Lead acid</source>
<translation type="vanished">Свинцово-кислотная</translation>
</message>
<message>
<source>Nickel cadmium</source>
<translation type="vanished">Никель-кадмиевая</translation>
</message>
<message>
<source>Nickel metal hydride</source>
<translation type="vanished">Никель-металл-гидридная</translation>
</message>
<message>
<source>Unknown</source>
<translation type="vanished">Неизвестно</translation>
</message>
</context>
<context>
<name>BatteryInfoDialog</name>
<message>
<location filename="../batteryinfodialog.ui" line="14"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfodialog.cpp" line="22"/>
<source>Battery Info</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryInfoFrame</name>
<message>
<location filename="../batteryinfoframe.ui" line="14"/>
<source>Power Management</source>
<translation type="unfinished">Управление энергопотреблением</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="53"/>
<source>Temperature:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="63"/>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="73"/>
<source>State:</source>
<translation type="unfinished">Состояние:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="90"/>
<source>Energy Full Design:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="107"/>
<source>Energy Full:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="124"/>
<source>Energy Now:</source>
<translation type="unfinished">Заряд сейчас:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="141"/>
<source>Energy rate:</source>
<translation type="unfinished">Мощность тока:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="165"/>
<source>Technology:</source>
<translation type="unfinished">Технология:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="182"/>
<source>Voltage:</source>
<translation type="unfinished">Напряжение:</translation>
</message>
<message>
<location filename="../batteryinfoframe.ui" line="192"/>
<source>Vendor:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BatteryWatcher</name>
<message>
<location filename="../batterywatcher.cpp" line="47"/>
<source>No battery!</source>
<translation>Нет батареи!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="48"/>
<source>LXQt could not find data about any battery - monitoring disabled</source>
<translation>LXQt не смог найти информацию о какой-либо батарее - наблюдение отменено</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="113"/>
<source>Power low!</source>
<translation>Низкий заряд!</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="125"/>
<source>Suspending in %1 seconds</source>
<translation>Ждущий режим через %1 секунд</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="128"/>
<source>Hibernating in %1 seconds</source>
<translation>Спящий режим через %1 секунд</translation>
</message>
<message>
<location filename="../batterywatcher.cpp" line="131"/>
<source>Shutting down in %1 seconds</source>
<translation>Выключение компьютера через %1 секунд</translation>
</message>
</context>
<context>
<name>IdlenessWatcher</name>
<message>
<location filename="../idlenesswatcher.cpp" line="50"/>
<source>LXQt Idleness watcher failed to start</source>
<translation>Не удалось запустить наблюдение за простоем LXQt </translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="73"/>
<source>D-Bus interface org.freedesktop.ScreenSaver is already registered</source>
<translation>Интерфейс D-Bus org.freedesktop.ScreenSaver уже зарегистрирован</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="107"/>
<source>The X11 Screensaver extension is not usable</source>
<translation>Расширение X11 Скринсейвер непригодно для использования</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="114"/>
<source>Configure...</source>
<translation>Настроить</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="179"/>
<source>ERROR: Screen unlocked</source>
<translation>ОШИБКА: экран разблокирован</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="181"/>
<source>Locking program &quot;%1&quot; exited with error code %2</source>
<translation>Программа блокировки экрана &quot;%1&quot; вышла с кодом ошибки %2</translation>
</message>
<message>
<location filename="../idlenesswatcher.cpp" line="183"/>
<source>Locking program &quot;%1&quot; crashed with error code %2</source>
<translation>Программа блокировки экрана &quot;%1&quot; упала с кодом ошибки %2</translation>
</message>
</context>
<context>
<name>PowerManagementd</name>
<message>
<location filename="../powermanagementd.cpp" line="107"/>
<source>Power Management</source>
<translation>Управление энергопотреблением</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="108"/>
<source>You are running LXQt Power Management for the first time.
You can configure it from settings... </source>
<translation>Вы запускаете управление энергопотреблением LXQt впервые.
Вы можете сконфигурировать его в настройках</translation>
</message>
<message>
<location filename="../powermanagementd.cpp" line="109"/>
<source>Configure...</source>
<translation>Настроить</translation>
</message>
</context>
<context>
<name>TrayIcon</name>
<message>
<source>discharging</source>
<translation type="vanished">разряжается</translation>
</message>
<message>
<source>charging</source>
<translation type="vanished">заряжается</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="61"/>
<location filename="../trayicon.cpp" line="92"/>
<source>About</source>
<translation>О программе</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="59"/>
<source>Configure</source>
<translation>Настроить</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="63"/>
<source>Disable icon</source>
<translation>Не показывать значок</translation>
</message>
<message>
<location filename="../trayicon.cpp" line="93"/>
<source>&lt;p&gt; &lt;b&gt;LXQt Power Management&lt;/b&gt;&lt;br/&gt; - Power Management for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="111"/>
<source>LXQt Power Management info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="112"/>
<source>The LXQt Power Management tray icon can be (re)enabled in &lt;i&gt;lxqt-config-powermanagement&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../trayicon.cpp" line="114"/>
<source>Configure now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;p&gt; &lt;b&gt;LXQt Powermanagement&lt;/b&gt;&lt;br/&gt; - Powermanagement for the LXQt Desktop Environment&lt;/p&gt;&lt;p&gt; Authors:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - and others from the Razor and LXQt projects&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</source>
<translation type="vanished">&lt;p&gt; &lt;b&gt;Управление энергопотреблением LXQt&lt;/b&gt;&lt;br/&gt; - Управление энергопотреблением для окружения рабочего стола LXQt&lt;/p&gt;&lt;p&gt; Авторы:&lt;br/&gt; &amp;nbsp; Christian Surlykke, Alec Moskvin&lt;br/&gt; &amp;nbsp; - и другие из проектов Razor и LXQt&lt;/p&gt;&lt;p&gt; Copyright &amp;copy; 2012-2014&lt;/p&gt;</translation>
</message>
</context>
</TS>

@ -31,7 +31,6 @@ Watcher::Watcher(QObject *parent) :
QObject(parent),
mScreenSaver(this)
{
connect(&mScreenSaver, SIGNAL(done()), &mLoop, SLOT(quit()));
}
Watcher::~Watcher()
@ -44,7 +43,6 @@ void Watcher::doAction(int action)
if (action == -2)
{
mScreenSaver.lockScreen();
mLoop.exec();
}
else if (action >= 0)
mPower.doAction((LXQt::Power::Action) action);

@ -31,7 +31,6 @@ signals:
private:
LXQt::Power mPower;
LXQt::ScreenSaver mScreenSaver;
QEventLoop mLoop;
};
#endif // WATCHER_H

@ -1,42 +0,0 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXDE-Qt - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright (C) 2012 Alec Moskvin <alecm@gmx.com>
*
* This 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 "x11helper.h"
#include <QtGui/QGuiApplication>
#include <qpa/qplatformnativeinterface.h>
Display* X11Helper::display()
{
QPlatformNativeInterface *native = qApp->platformNativeInterface();
void* display = native->nativeResourceForWindow("display", 0);
return reinterpret_cast<Display*>(display);
}
xcb_connection_t* X11Helper::connection()
{
QPlatformNativeInterface *native = qApp->platformNativeInterface();
void* connection = native->nativeResourceForWindow("connection", 0);
return reinterpret_cast<xcb_connection_t*>(connection);
}

@ -1,54 +0,0 @@
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXDE-Qt - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright (C) 2013 Alec Moskvin <alecm@gmx.com>
*
* This 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 X11HELPER_H
#define X11HELPER_H
#include <xcb/xcb.h>
// Avoid polluting everything with X11/Xlib.h:
typedef struct _XDisplay Display;
/**
* @brief The X11Helper class is class to get the X11 Display or XCB connection
*
* It's intended to be used as a wrapper/replacement for QX11Info, which is removed in Qt5.
*/
class X11Helper
{
public:
/**
* @brief display Returns the X11 display
* @return
*/
static Display* display();
/**
* @brief connection Returns the XCB connection
* @return
*/
static xcb_connection_t* connection();
};
#endif // X11HELPER_H
Loading…
Cancel
Save