Compare commits

...

4 Commits

Author SHA1 Message Date
Alf Gaida
51dddc2edd Adding upstream version 0.10.0. 2015-11-03 00:39:43 +01:00
Alf Gaida
0547729af2 Adding upstream version 0.9.0+20151024. 2015-10-30 22:07:09 +01:00
Alf Gaida
5e3eb96167 Adding upstream version 0.9.0+20150830. 2015-09-03 00:22:41 +02:00
Yukiharu YABUKI
79a5b525d3
Adding upstream version 0.9.0+20150807.
Signed-off-by: Yukiharu YABUKI <yyabuki@debian.org>
2015-08-19 06:37:05 +09:00
16 changed files with 297 additions and 95 deletions

View File

@ -6,5 +6,5 @@ Copyright:
Copyright (c) 2010-2012 Razor team Copyright (c) 2010-2012 Razor team
Copyright (c) 2012-2014 LXQt team Copyright (c) 2012-2014 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. The full text of the licenses can be found in the 'COPYING' file.

View File

@ -1,25 +1,27 @@
cmake_minimum_required(VERSION 2.8.11) cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(lxqt-policykit-agent) project(lxqt-policykit-agent)
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
include(GNUInstallDirs)
find_package(PkgConfig) find_package(PkgConfig)
pkg_check_modules(POLKIT_AGENT REQUIRED polkit-agent-1) pkg_check_modules(POLKIT_AGENT REQUIRED polkit-agent-1)
message(STATUS "polkit agent: ${POLKIT_AGENT_INCLUDE_DIRS} ${POLKIT_AGENT_LIBRARIES}") message(STATUS "polkit agent: ${POLKIT_AGENT_INCLUDE_DIRS} ${POLKIT_AGENT_LIBRARIES}")
set(POLKIT_AGENT_BINARY_DIR "${CMAKE_INSTALL_BINDIR}" CACHE FILEPATH "Directory for install polkit agent")
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
find_package(PolkitQt5-1 REQUIRED) find_package(PolkitQt5-1 REQUIRED)
find_package(Qt5Widgets REQUIRED QUIET) find_package(Qt5Widgets REQUIRED QUIET)
find_package(Qt5LinguistTools REQUIRED QUIET) find_package(Qt5LinguistTools REQUIRED QUIET)
find_package(lxqt REQUIRED QUIET) find_package(lxqt REQUIRED QUIET)
find_package(qt5xdg REQUIRED QUIET)
include(${LXQT_USE_FILE})
include(${QTXDG_USE_FILE})
include(LXQtCompilerSettings NO_POLICY_SCOPE)
include(LXQtTranslate) include(LXQtTranslate)
# Deal with a bug in polkit-qt5 # Deal with a bug in polkit-qt5
@ -37,8 +39,6 @@ message(STATUS " include: ${POLKITQT-1_INCLUDE_DIR}")
# pkg-config --cflags glib-2.0 # pkg-config --cflags glib-2.0
# pkg-config --cflags polkit-agent-1 # pkg-config --cflags polkit-agent-1
include_directories( include_directories(
"${CMAKE_CURRENT_SOURCE_DIR}/src"
"${CMAKE_CURRENT_BINARY_DIR}"
${POLKIT_AGENT_INCLUDE_DIRS} ${POLKIT_AGENT_INCLUDE_DIRS}
"${POLKITQT-1_INCLUDE_DIR}" "${POLKITQT-1_INCLUDE_DIR}"
) )
@ -72,27 +72,27 @@ lxqt_translate_ts(lxqt-policykit-agent_QM_FILES
lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME})
qt5_wrap_ui(lxqt-policykit-agent_UI_CPP ${lxqt-policykit-agent_UI})
add_executable(lxqt-policykit-agent add_executable(lxqt-policykit-agent
${lxqt-policykit-agent_SRCS} ${lxqt-policykit-agent_SRCS}
${lxqt-policykit-agent_MOCS} ${lxqt-policykit-agent_MOCS}
${lxqt-policykit-agent_UI_CPP}
${lxqt-policykit-agent_QM_FILES} ${lxqt-policykit-agent_QM_FILES}
${QM_LOADER} ${QM_LOADER}
) )
target_link_libraries(lxqt-policykit-agent target_link_libraries(lxqt-policykit-agent
Qt5::Widgets Qt5::Widgets
${QTXDG_LIBRARY} lxqt
${LXQT_LIBRARIES}
${POLKITQT-1_CORE_LIBRARY} ${POLKITQT-1_CORE_LIBRARY}
${POLKITQT-1_AGENT_LIBRARY} ${POLKITQT-1_AGENT_LIBRARY}
${POLKIT_AGENT_LIBRARIES} ${POLKIT_AGENT_LIBRARIES}
) )
# install # install
install(TARGETS lxqt-policykit-agent DESTINATION bin) install(TARGETS
lxqt-policykit-agent
DESTINATION "${POLKIT_AGENT_BINARY_DIR}"
COMPONENT Runtime
)
# building tarball with CPack ------------------------------------------------- # building tarball with CPack -------------------------------------------------
include(InstallRequiredSystemLibraries) include(InstallRequiredSystemLibraries)

View File

@ -1,9 +1,8 @@
GNU LESSER GENERAL PUBLIC LICENSE GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999 Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. of this license document, but changing it is not allowed.
@ -23,8 +22,7 @@ specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations strategy to use in any particular case, based on the explanations below.
below.
When we speak of free software, we are referring to freedom of use, When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that not price. Our General Public Licenses are designed to make sure that
@ -89,9 +87,9 @@ libraries. However, the Lesser license provides advantages in certain
special circumstances. special circumstances.
For example, on rare occasions, there may be a special need to For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it encourage the widest possible use of a certain library, so that it becomes
becomes a de-facto standard. To achieve this, non-free programs must a de-facto standard. To achieve this, non-free programs must be
be allowed to use the library. A more frequent case is that a free allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License. software only, so we use the Lesser General Public License.
@ -138,8 +136,8 @@ included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for "Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control interface definition files, plus the scripts used to control compilation
compilation and installation of the library. and installation of the library.
Activities other than copying, distribution and modification are not Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of covered by this License; they are outside its scope. The act of
@ -305,10 +303,10 @@ of these things:
the user installs one, as long as the modified version is the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with. interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at least c) Accompany the work with a written offer, valid for at
three years, to give the same user the materials specified in least three years, to give the same user the materials
Subsection 6a, above, for a charge no more than the cost of specified in Subsection 6a, above, for a charge no more
performing this distribution. than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above from a designated place, offer equivalent access to copy the above
@ -386,10 +384,9 @@ all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library. refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under If any portion of this section is held invalid or unenforceable under any
any particular circumstance, the balance of the section is intended to particular circumstance, the balance of the section is intended to apply,
apply, and the section as a whole is intended to apply in other and the section as a whole is intended to apply in other circumstances.
circumstances.
It is not the purpose of this section to induce you to infringe any It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any patents or other property right claims or to contest validity of any
@ -407,11 +404,11 @@ be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in 12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License original copyright holder who places the Library under this License may add
may add an explicit geographical distribution limitation excluding those an explicit geographical distribution limitation excluding those countries,
countries, so that distribution is permitted only in or among so that distribution is permitted only in or among countries not thus
countries not thus excluded. In such case, this License incorporates excluded. In such case, this License incorporates the limitation as if
the limitation as if written in the body of this License. written in the body of this License.
13. The Free Software Foundation may publish revised and/or new 13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time. versions of the Lesser General Public License from time to time.

View File

@ -1,18 +1,18 @@
.TH lxqt-policykit-agent "1" "September 2012" "LxQt\-qt\ 0.5.0" "LxQt\-Qt\ Module" .TH lxqt-policykit-agent "1" "September 2012" "LXQt\ 0.5.0" "LXQt\ Module"
.SH NAME .SH NAME
lxqt-policykit-agent \- Polkit agent for \fBLXDE-Qt\fR: the faster and lighter QT Desktop Environment lxqt-policykit-agent \- Polkit agent for \fBLXQt\fR: the faster and lighter QT Desktop Environment
.SH SYNOPSIS .SH SYNOPSIS
.B lxqt-policykit-agent .B lxqt-policykit-agent
[\fICurrently No command line arguments\fR] [\fICurrently No command line arguments\fR]
.br .br
.SH DESCRIPTION .SH DESCRIPTION
This module handles policykit for \fBLXDE-Qt\fR. The polkit module, will perform This module handles policykit for \fBLXQt\fR. The polkit module, will perform
security tast over scale action privilegies. security tast over scale action privilegies.
.P .P
The \fBLXDE-Qt modules\fR are desktop independent tools, The \fBLXQt modules\fR are desktop independent tools,
and operate as daemons for the local user for desktop specific operations. and operate as daemons for the local user for desktop specific operations.
.P .P
\fBLXDE-Qt\fR is an advanced, easy-to-use, and fast desktop environment based on Qt \fBLXQt\fR is an advanced, easy-to-use, and fast desktop environment based on Qt
technologies, ships several core desktop components, all of which are optional: technologies, ships several core desktop components, all of which are optional:
.P .P
* Panel * Panel
@ -25,28 +25,28 @@ technologies, ships several core desktop components, all of which are optional:
.P .P
These components perform similar actions to those available in other desktop These components perform similar actions to those available in other desktop
environments, and their name is self-descriptive. They are usually not launched environments, and their name is self-descriptive. They are usually not launched
by hand but automatically, when choosing a LxQt\-Qt session in the Display by hand but automatically, when choosing a LXQt\-Qt session in the Display
Manager. Manager.
.SH BEHAVIOR .SH BEHAVIOR
The module detected on shares privilege escalation, and maintain a security dialog The module detected on shares privilege escalation, and maintain a security dialog
that ask for the user's key need for action. that ask for the user's key need for action.
.SH AUTOSTART .SH AUTOSTART
The module only are showed on \fBLXDE-Qt\fR desktop, but u can create an autostart action The module only are showed on \fBLXQt\fR desktop, but u can create an autostart action
for u prefered desktop environment. for u prefered desktop environment.
.SH "REPORTING BUGS" .SH "REPORTING BUGS"
Report bugs to https://github.com/LXDE-Qt/LXDE-Qt/issues Report bugs to https://github.com/lxde/lxqt/issues
.SH "SEE ALSO" .SH "SEE ALSO"
\fBLXDE-Qt\fR it has been tailored for users who value simplicity, speed, and \fBLXQt\fR it has been tailored for users who value simplicity, speed, and
an intuitive interface, also intended for less powerful machines. See: an intuitive interface, also intended for less powerful machines. See:
.\" any module must refers to session app, for more info on start it .\" any module must refers to session app, for more info on start it
.P .P
\fBlxqt-session.1\fR LXDE-Qt for manage LXDE-Qt complete environment \fBlxqt-session.1\fR LXQt for manage LXQt complete environment
.P .P
\fBstart-lxqt.1\fR LXDE-Qt display management independient starup. \fBstart-lxqt.1\fR LXQt display management independient starup.
.P .P
\fBlxqt-config-session.1\fR LXDE-Qt application for performing session autostart applications \fBlxqt-config-session.1\fR LXQt application for performing session autostart applications
.P .P
.SH AUTHOR .SH AUTHOR
This manual page was created by \fBPICCORO Lenz McKAY\fR \fI<mckaygerhard@gmail.com>\fR This manual page was created by \fBPICCORO Lenz McKAY\fR \fI<mckaygerhard@gmail.com>\fR
for \fBLXDE-Qt\fR project and VENENUX GNU/Linux but can be used by others. for \fBLXQt\fR project and VENENUX GNU/Linux.

View File

@ -40,10 +40,10 @@ int main(int argc, char *argv[])
g_type_init(); g_type_init();
#endif #endif
LxQt::Application app(argc, argv); LXQt::Application app(argc, argv);
app.setQuitOnLastWindowClosed(false); app.setQuitOnLastWindowClosed(false);
LxQtPolicykit::PolicykitAgent agent; LXQtPolicykit::PolicykitAgent agent;
return app.exec(); return app.exec();
} }

View File

@ -36,7 +36,7 @@
#include "policykitagentgui.h" #include "policykitagentgui.h"
namespace LxQtPolicykit namespace LXQtPolicykit
{ {
PolicykitAgent::PolicykitAgent(QObject *parent) PolicykitAgent::PolicykitAgent(QObject *parent)
@ -68,7 +68,7 @@ void PolicykitAgent::initiateAuthentication(const QString &actionId,
{ {
if (m_inProgress) if (m_inProgress)
{ {
QMessageBox::information(0, tr("PolicyKit Information"), "Another authentization in progress. Please try it again later"); QMessageBox::information(0, tr("PolicyKit Information"), tr("Another authentization in progress. Please try it again later."));
return; return;
} }
m_inProgress = true; m_inProgress = true;

View File

@ -38,7 +38,7 @@
#include <QApplication> #include <QApplication>
#include <QHash> #include <QHash>
namespace LxQtPolicykit namespace LXQtPolicykit
{ {
class PolicykitAgentGUI; class PolicykitAgentGUI;

View File

@ -24,11 +24,11 @@
* Boston, MA 02110-1301 USA * Boston, MA 02110-1301 USA
* *
* END_COMMON_COPYRIGHT_HEADER */ * END_COMMON_COPYRIGHT_HEADER */
#include <XdgIcon> #include <XdgIcon>
#include "policykitagentgui.h" #include "policykitagentgui.h"
namespace LxQtPolicykit namespace LXQtPolicykit
{ {
@ -45,7 +45,7 @@ PolicykitAgentGUI::PolicykitAgentGUI(const QString &actionId,
messageLabel->setText(message); messageLabel->setText(message);
iconLabel->setPixmap(XdgIcon::fromTheme(iconName).pixmap(64, 64)); iconLabel->setPixmap(XdgIcon::fromTheme(iconName).pixmap(64, 64));
foreach (PolkitQt1::Identity identity, identities) foreach (PolkitQt1::Identity identity, identities)
{ {
m_identityMap[identity.toString()] = identity; m_identityMap[identity.toString()] = identity;

View File

@ -33,7 +33,7 @@
#include "ui_policykitagentgui.h" #include "ui_policykitagentgui.h"
namespace LxQtPolicykit namespace LXQtPolicykit
{ {
class PolicykitAgentGUI : public QDialog, public Ui::PolicykitAgentGUI class PolicykitAgentGUI : public QDialog, public Ui::PolicykitAgentGUI

View File

@ -1,38 +1,51 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.0" language="en_US"> <TS version="2.1">
<context> <context>
<name>PolicykitAgentGUI</name> <name>LXQtPolicykit::PolicykitAgent</name>
<message>
<source>Authentication Required</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Identity:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Password:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LxQtPolicykit::PolicykitAgent</name>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<location filename="../src/policykitagent.cpp" line="149"/>
<source>PolicyKit Information</source> <source>PolicyKit Information</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<source>Another authentization in progress. Please try it again later.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization Failed</source> <source>Authorization Failed</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization failed for some reason</source> <source>Authorization failed for some reason</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="144"/>
<source>PolicyKit Error</source> <source>PolicyKit Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>PolicykitAgentGUI</name>
<message>
<location filename="../src/policykitagentgui.ui" line="14"/>
<source>Authentication Required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="55"/>
<source>Identity:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="65"/>
<source>Password:</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS> </TS>

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de">
<context>
<name>LXQtPolicykit::PolicykitAgent</name>
<message>
<location filename="../src/policykitagent.cpp" line="71"/>
<location filename="../src/policykitagent.cpp" line="149"/>
<source>PolicyKit Information</source>
<translation>PolicyKit Information</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="71"/>
<source>Another authentization in progress. Please try it again later.</source>
<translation>Eine andere Authentisierung wird gerade durchgeführt. Bitte später noch einmal versuchen.</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization Failed</source>
<translation>Autorisierung fehlgeschlagen</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization failed for some reason</source>
<translation>Autorisierung aus irgendeinem Grund fehlgeschlagen</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="144"/>
<source>PolicyKit Error</source>
<translation>PolicyKit Fehler</translation>
</message>
</context>
<context>
<name>PolicykitAgentGUI</name>
<message>
<location filename="../src/policykitagentgui.ui" line="14"/>
<source>Authentication Required</source>
<translation>Authentisierung benötigt</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="55"/>
<source>Identity:</source>
<translation>Identität:</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="65"/>
<source>Password:</source>
<translation>Kennwort:</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>LXQtPolicykit::PolicykitAgent</name>
<message>
<location filename="../src/policykitagent.cpp" line="71"/>
<location filename="../src/policykitagent.cpp" line="149"/>
<source>PolicyKit Information</source>
<translation>Πληροφορίες PolicyKit</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="71"/>
<source>Another authentization in progress. Please try it again later.</source>
<translation>Μια άλλη ταυτοποίηση είναι σε εξέλιξη. Παρακαλώ προσπαθήστε ξανά αργότερα.</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization Failed</source>
<translation>Η ταυτοποίηση απέτυχε</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization failed for some reason</source>
<translation>Η ταυτοποίηση για κάποια αιτία απέτυχε</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="144"/>
<source>PolicyKit Error</source>
<translation>Σφάλμα PolicyKit</translation>
</message>
</context>
<context>
<name>PolicykitAgentGUI</name>
<message>
<location filename="../src/policykitagentgui.ui" line="14"/>
<source>Authentication Required</source>
<translation>Απαιτείται ταυτοποίηση</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="55"/>
<source>Identity:</source>
<translation>Ταυτότητα:</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="65"/>
<source>Password:</source>
<translation>Κωδικός πρόσβασης:</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_US">
<context>
<name>LXQtPolicykit::PolicykitAgent</name>
<message>
<location filename="../src/policykitagent.cpp" line="71"/>
<location filename="../src/policykitagent.cpp" line="149"/>
<source>PolicyKit Information</source>
<translation>Policykit információ</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="71"/>
<source>Another authentization in progress. Please try it again later.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization Failed</source>
<translation>Hitelesítés sikertelen</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization failed for some reason</source>
<translation>Hitelesítés valami miatt sikertelen</translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="144"/>
<source>PolicyKit Error</source>
<translation>Policykit hiba</translation>
</message>
</context>
<context>
<name>PolicykitAgentGUI</name>
<message>
<location filename="../src/policykitagentgui.ui" line="14"/>
<source>Authentication Required</source>
<translation>Hitelesítés kell</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="55"/>
<source>Identity:</source>
<translation>Név:</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="65"/>
<source>Password:</source>
<translation>Jelszó:</translation>
</message>
</context>
</TS>

View File

@ -1,38 +1,51 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.0" language="pt"> <TS version="2.1" language="pt">
<context> <context>
<name>PolicykitAgentGUI</name> <name>LXQtPolicykit::PolicykitAgent</name>
<message>
<source>Authentication Required</source>
<translation>Requer autenticação</translation>
</message>
<message>
<source>Identity:</source>
<translation>Identidade:</translation>
</message>
<message>
<source>Password:</source>
<translation>Senha:</translation>
</message>
</context>
<context>
<name>LxQtPolicykit::PolicykitAgent</name>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<location filename="../src/policykitagent.cpp" line="149"/>
<source>PolicyKit Information</source> <source>PolicyKit Information</source>
<translation>Informaçoes PolicyKit</translation> <translation>Informaçoes PolicyKit</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<source>Another authentization in progress. Please try it again later.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization Failed</source> <source>Authorization Failed</source>
<translation>Falha de autenticação</translation> <translation>Falha de autenticação</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization failed for some reason</source> <source>Authorization failed for some reason</source>
<translation>A autenticação falhou por alguma razão</translation> <translation>A autenticação falhou por alguma razão</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="144"/>
<source>PolicyKit Error</source> <source>PolicyKit Error</source>
<translation>Erro PolicyKit</translation> <translation>Erro PolicyKit</translation>
</message> </message>
</context> </context>
<context>
<name>PolicykitAgentGUI</name>
<message>
<location filename="../src/policykitagentgui.ui" line="14"/>
<source>Authentication Required</source>
<translation>Requer autenticação</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="55"/>
<source>Identity:</source>
<translation>Identidade:</translation>
</message>
<message>
<location filename="../src/policykitagentgui.ui" line="65"/>
<source>Password:</source>
<translation>Senha:</translation>
</message>
</context>
</TS> </TS>

View File

@ -2,20 +2,30 @@
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="ru"> <TS version="2.1" language="ru">
<context> <context>
<name>LxQtPolicykit::PolicykitAgent</name> <name>LXQtPolicykit::PolicykitAgent</name>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<location filename="../src/policykitagent.cpp" line="149"/>
<source>PolicyKit Information</source> <source>PolicyKit Information</source>
<translation>Информация PolicyKit</translation> <translation>Информация PolicyKit</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<source>Another authentization in progress. Please try it again later.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization Failed</source> <source>Authorization Failed</source>
<translation>Авторизация не удалась</translation> <translation>Авторизация не удалась</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization failed for some reason</source> <source>Authorization failed for some reason</source>
<translation>Авторизация не удалась по какой-то причине</translation> <translation>Авторизация не удалась по какой-то причине</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="144"/>
<source>PolicyKit Error</source> <source>PolicyKit Error</source>
<translation>Ошибка PolicyKit</translation> <translation>Ошибка PolicyKit</translation>
</message> </message>
@ -23,14 +33,17 @@
<context> <context>
<name>PolicykitAgentGUI</name> <name>PolicykitAgentGUI</name>
<message> <message>
<location filename="../src/policykitagentgui.ui" line="14"/>
<source>Authentication Required</source> <source>Authentication Required</source>
<translation>Требуется аутентификация</translation> <translation>Требуется аутентификация</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagentgui.ui" line="55"/>
<source>Identity:</source> <source>Identity:</source>
<translation>Идентификация:</translation> <translation>Идентификация:</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagentgui.ui" line="65"/>
<source>Password:</source> <source>Password:</source>
<translation>Пароль:</translation> <translation>Пароль:</translation>
</message> </message>

View File

@ -2,20 +2,30 @@
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="ru_RU"> <TS version="2.1" language="ru_RU">
<context> <context>
<name>LxQtPolicykit::PolicykitAgent</name> <name>LXQtPolicykit::PolicykitAgent</name>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<location filename="../src/policykitagent.cpp" line="149"/>
<source>PolicyKit Information</source> <source>PolicyKit Information</source>
<translation>Информация PolicyKit</translation> <translation>Информация PolicyKit</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="71"/>
<source>Another authentization in progress. Please try it again later.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization Failed</source> <source>Authorization Failed</source>
<translation>Авторизация не удалась</translation> <translation>Авторизация не удалась</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="132"/>
<source>Authorization failed for some reason</source> <source>Authorization failed for some reason</source>
<translation>Авторизация не удалась по какой-то причине</translation> <translation>Авторизация не удалась по какой-то причине</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagent.cpp" line="144"/>
<source>PolicyKit Error</source> <source>PolicyKit Error</source>
<translation>Ошибка PolicyKit</translation> <translation>Ошибка PolicyKit</translation>
</message> </message>
@ -23,14 +33,17 @@
<context> <context>
<name>PolicykitAgentGUI</name> <name>PolicykitAgentGUI</name>
<message> <message>
<location filename="../src/policykitagentgui.ui" line="14"/>
<source>Authentication Required</source> <source>Authentication Required</source>
<translation>Требуется аутентификация</translation> <translation>Требуется аутентификация</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagentgui.ui" line="55"/>
<source>Identity:</source> <source>Identity:</source>
<translation>Идентификация:</translation> <translation>Идентификация:</translation>
</message> </message>
<message> <message>
<location filename="../src/policykitagentgui.ui" line="65"/>
<source>Password:</source> <source>Password:</source>
<translation>Пароль:</translation> <translation>Пароль:</translation>
</message> </message>