Compare commits
72 Commits
debian/0.1
...
ubuntu/que
Author | SHA1 | Date | |
---|---|---|---|
|
bcb6a5033d | ||
|
19247eaa67 | ||
|
4b5d33b1eb | ||
|
e3fd1e729e | ||
749182df67 | |||
3363fde9dc | |||
75c07ccf67 | |||
a4edc56bd2 | |||
287906ab3d | |||
cac4867b46 | |||
c8b04d05e3 | |||
|
c0480a0807 | ||
|
3463cebeb3 | ||
|
57b9a9adcb | ||
|
4a6ed8419b | ||
|
08b4e84914 | ||
|
5f3e67e81b | ||
cf746d95c2 | |||
32138b1dc9 | |||
e6dc566c2d | |||
ad87d1f6e5 | |||
187823c0d5 | |||
87cec251c9 | |||
4b9e1ef3c8 | |||
|
8a70d1d8b3 | ||
|
7bd59a6a71 | ||
|
b7e75534e7 | ||
|
5fe4736ab0 | ||
|
8777ec00c1 | ||
dfb737fc20 | |||
a99336fc4e | |||
58afc48529 | |||
9317a55824 | |||
8ffbb6b224 | |||
872c945667 | |||
3a59d60567 | |||
|
7c9e5812e5 | ||
|
f73cf65ed6 | ||
637dd20c32 | |||
01f6aea297 | |||
cff345742c | |||
06b71afe52 | |||
898ec56868 | |||
dfa2006f30 | |||
|
0228e0c017 | ||
|
4d121b8ce2 | ||
|
fe91f1694e | ||
|
edd9b46301 | ||
|
ec76ff16ef | ||
|
273bc3f2d7 | ||
|
4cef58935c | ||
|
bb05b283f0 | ||
|
935a41901d | ||
|
3a1a5374af | ||
|
0b2551c063 | ||
|
374c6946ba | ||
|
fe2e92c87e | ||
|
e2a3791698 | ||
|
c8122fb9c3 | ||
|
102979ed87 | ||
|
e4e632bdb6 | ||
|
483680a672 | ||
|
b5654b5590 | ||
|
e071d8d657 | ||
|
4c5d865c54 | ||
|
ea300003ee | ||
|
d1800aa6d7 | ||
|
0258053518 | ||
|
e04885a98f | ||
|
abe1bf9f3c | ||
|
f71380240d | ||
|
0f3c4fbd41 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
build
|
|
8
AUTHORS
8
AUTHORS
@ -1,8 +0,0 @@
|
|||||||
Upstream Authors:
|
|
||||||
LXQt team: http://lxqt.org
|
|
||||||
|
|
||||||
Copyright:
|
|
||||||
Copyright (c) 2014 LXQt team
|
|
||||||
|
|
||||||
License: LGPL-2.1+
|
|
||||||
The full text of the licenses can be found in the 'COPYING' file.
|
|
@ -1,34 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
|
||||||
|
|
||||||
project(lxqt-admin)
|
|
||||||
|
|
||||||
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
|
|
||||||
|
|
||||||
# Set default installation paths
|
|
||||||
set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "Installation path for libraries")
|
|
||||||
|
|
||||||
find_package(Qt5Widgets REQUIRED QUIET)
|
|
||||||
find_package(lxqt REQUIRED QUIET)
|
|
||||||
find_package(KF5WindowSystem REQUIRED QUIET)
|
|
||||||
|
|
||||||
find_package(PkgConfig)
|
|
||||||
pkg_check_modules(OOBS REQUIRED
|
|
||||||
glib-2.0
|
|
||||||
liboobs-1
|
|
||||||
)
|
|
||||||
|
|
||||||
include(LXQtCompilerSettings NO_POLICY_SCOPE)
|
|
||||||
include(LXQtTranslate)
|
|
||||||
|
|
||||||
add_subdirectory(lxqt-admin-time)
|
|
||||||
add_subdirectory(lxqt-admin-user)
|
|
||||||
|
|
||||||
# building tarball with CPack -------------------------------------------------
|
|
||||||
include(InstallRequiredSystemLibraries)
|
|
||||||
set(CPACK_PACKAGE_VERSION_MAJOR ${LXQT_MAJOR_VERSION})
|
|
||||||
set(CPACK_PACKAGE_VERSION_MINOR ${LXQT_MINOR_VERSION})
|
|
||||||
set(CPACK_PACKAGE_VERSION_PATCH ${LXQT_PATCH_VERSION})
|
|
||||||
set(CPACK_GENERATOR TBZ2)
|
|
||||||
set(CPACK_SOURCE_GENERATOR TBZ2)
|
|
||||||
set(CPACK_SOURCE_IGNORE_FILES /build/;.gitignore;.*~;.git;.kdev4;temp)
|
|
||||||
include(CPack)
|
|
458
COPYING
458
COPYING
@ -1,458 +0,0 @@
|
|||||||
GNU LESSER GENERAL PUBLIC LICENSE
|
|
||||||
Version 2.1, February 1999
|
|
||||||
|
|
||||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
[This is the first released version of the Lesser GPL. It also counts
|
|
||||||
as the successor of the GNU Library Public License, version 2, hence
|
|
||||||
the version number 2.1.]
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
|
||||||
Licenses are intended to guarantee your freedom to share and change
|
|
||||||
free software--to make sure the software is free for all its users.
|
|
||||||
|
|
||||||
This license, the Lesser General Public License, applies to some
|
|
||||||
specially designated software packages--typically libraries--of the
|
|
||||||
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
|
|
||||||
this license or the ordinary General Public License is the better
|
|
||||||
strategy to use in any particular case, based on the explanations below.
|
|
||||||
|
|
||||||
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
|
|
||||||
you have the freedom to distribute copies of free software (and charge
|
|
||||||
for this service if you wish); that you receive source code or can get
|
|
||||||
it if you want it; that you can change the software and use pieces of
|
|
||||||
it in new free programs; and that you are informed that you can do
|
|
||||||
these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
|
||||||
distributors to deny you these rights or to ask you to surrender these
|
|
||||||
rights. These restrictions translate to certain responsibilities for
|
|
||||||
you if you distribute copies of the library or if you modify it.
|
|
||||||
|
|
||||||
For example, if you distribute copies of the library, whether gratis
|
|
||||||
or for a fee, you must give the recipients all the rights that we gave
|
|
||||||
you. You must make sure that they, too, receive or can get the source
|
|
||||||
code. If you link other code with the library, you must provide
|
|
||||||
complete object files to the recipients, so that they can relink them
|
|
||||||
with the library after making changes to the library and recompiling
|
|
||||||
it. And you must show them these terms so they know their rights.
|
|
||||||
|
|
||||||
We protect your rights with a two-step method: (1) we copyright the
|
|
||||||
library, and (2) we offer you this license, which gives you legal
|
|
||||||
permission to copy, distribute and/or modify the library.
|
|
||||||
|
|
||||||
To protect each distributor, we want to make it very clear that
|
|
||||||
there is no warranty for the free library. Also, if the library is
|
|
||||||
modified by someone else and passed on, the recipients should know
|
|
||||||
that what they have is not the original version, so that the original
|
|
||||||
author's reputation will not be affected by problems that might be
|
|
||||||
introduced by others.
|
|
||||||
|
|
||||||
Finally, software patents pose a constant threat to the existence of
|
|
||||||
any free program. We wish to make sure that a company cannot
|
|
||||||
effectively restrict the users of a free program by obtaining a
|
|
||||||
restrictive license from a patent holder. Therefore, we insist that
|
|
||||||
any patent license obtained for a version of the library must be
|
|
||||||
consistent with the full freedom of use specified in this license.
|
|
||||||
|
|
||||||
Most GNU software, including some libraries, is covered by the
|
|
||||||
ordinary GNU General Public License. This license, the GNU Lesser
|
|
||||||
General Public License, applies to certain designated libraries, and
|
|
||||||
is quite different from the ordinary General Public License. We use
|
|
||||||
this license for certain libraries in order to permit linking those
|
|
||||||
libraries into non-free programs.
|
|
||||||
|
|
||||||
When a program is linked with a library, whether statically or using
|
|
||||||
a shared library, the combination of the two is legally speaking a
|
|
||||||
combined work, a derivative of the original library. The ordinary
|
|
||||||
General Public License therefore permits such linking only if the
|
|
||||||
entire combination fits its criteria of freedom. The Lesser General
|
|
||||||
Public License permits more lax criteria for linking other code with
|
|
||||||
the library.
|
|
||||||
|
|
||||||
We call this license the "Lesser" General Public License because it
|
|
||||||
does Less to protect the user's freedom than the ordinary General
|
|
||||||
Public License. It also provides other free software developers Less
|
|
||||||
of an advantage over competing non-free programs. These disadvantages
|
|
||||||
are the reason we use the ordinary General Public License for many
|
|
||||||
libraries. However, the Lesser license provides advantages in certain
|
|
||||||
special circumstances.
|
|
||||||
|
|
||||||
For example, on rare occasions, there may be a special need to
|
|
||||||
encourage the widest possible use of a certain library, so that it becomes
|
|
||||||
a de-facto standard. To achieve this, non-free programs must be
|
|
||||||
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
|
|
||||||
case, there is little to gain by limiting the free library to free
|
|
||||||
software only, so we use the Lesser General Public License.
|
|
||||||
|
|
||||||
In other cases, permission to use a particular library in non-free
|
|
||||||
programs enables a greater number of people to use a large body of
|
|
||||||
free software. For example, permission to use the GNU C Library in
|
|
||||||
non-free programs enables many more people to use the whole GNU
|
|
||||||
operating system, as well as its variant, the GNU/Linux operating
|
|
||||||
system.
|
|
||||||
|
|
||||||
Although the Lesser General Public License is Less protective of the
|
|
||||||
users' freedom, it does ensure that the user of a program that is
|
|
||||||
linked with the Library has the freedom and the wherewithal to run
|
|
||||||
that program using a modified version of the Library.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow. Pay close attention to the difference between a
|
|
||||||
"work based on the library" and a "work that uses the library". The
|
|
||||||
former contains code derived from the library, whereas the latter must
|
|
||||||
be combined with the library in order to run.
|
|
||||||
|
|
||||||
GNU LESSER GENERAL PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. This License Agreement applies to any software library or other
|
|
||||||
program which contains a notice placed by the copyright holder or
|
|
||||||
other authorized party saying it may be distributed under the terms of
|
|
||||||
this Lesser General Public License (also called "this License").
|
|
||||||
Each licensee is addressed as "you".
|
|
||||||
|
|
||||||
A "library" means a collection of software functions and/or data
|
|
||||||
prepared so as to be conveniently linked with application programs
|
|
||||||
(which use some of those functions and data) to form executables.
|
|
||||||
|
|
||||||
The "Library", below, refers to any such software library or work
|
|
||||||
which has been distributed under these terms. A "work based on the
|
|
||||||
Library" means either the Library or any derivative work under
|
|
||||||
copyright law: that is to say, a work containing the Library or a
|
|
||||||
portion of it, either verbatim or with modifications and/or translated
|
|
||||||
straightforwardly into another language. (Hereinafter, translation is
|
|
||||||
included without limitation in the term "modification".)
|
|
||||||
|
|
||||||
"Source code" for a work means the preferred form of the work for
|
|
||||||
making modifications to it. For a library, complete source code means
|
|
||||||
all the source code for all modules it contains, plus any associated
|
|
||||||
interface definition files, plus the scripts used to control compilation
|
|
||||||
and installation of the library.
|
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not
|
|
||||||
covered by this License; they are outside its scope. The act of
|
|
||||||
running a program using the Library is not restricted, and output from
|
|
||||||
such a program is covered only if its contents constitute a work based
|
|
||||||
on the Library (independent of the use of the Library in a tool for
|
|
||||||
writing it). Whether that is true depends on what the Library does
|
|
||||||
and what the program that uses the Library does.
|
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Library's
|
|
||||||
complete source code as you receive it, in any medium, provided that
|
|
||||||
you conspicuously and appropriately publish on each copy an
|
|
||||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
|
||||||
all the notices that refer to this License and to the absence of any
|
|
||||||
warranty; and distribute a copy of this License along with the
|
|
||||||
Library.
|
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy,
|
|
||||||
and you may at your option offer warranty protection in exchange for a
|
|
||||||
fee.
|
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Library or any portion
|
|
||||||
of it, thus forming a work based on the Library, and copy and
|
|
||||||
distribute such modifications or work under the terms of Section 1
|
|
||||||
above, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The modified work must itself be a software library.
|
|
||||||
|
|
||||||
b) You must cause the files modified to carry prominent notices
|
|
||||||
stating that you changed the files and the date of any change.
|
|
||||||
|
|
||||||
c) You must cause the whole of the work to be licensed at no
|
|
||||||
charge to all third parties under the terms of this License.
|
|
||||||
|
|
||||||
d) If a facility in the modified Library refers to a function or a
|
|
||||||
table of data to be supplied by an application program that uses
|
|
||||||
the facility, other than as an argument passed when the facility
|
|
||||||
is invoked, then you must make a good faith effort to ensure that,
|
|
||||||
in the event an application does not supply such function or
|
|
||||||
table, the facility still operates, and performs whatever part of
|
|
||||||
its purpose remains meaningful.
|
|
||||||
|
|
||||||
(For example, a function in a library to compute square roots has
|
|
||||||
a purpose that is entirely well-defined independent of the
|
|
||||||
application. Therefore, Subsection 2d requires that any
|
|
||||||
application-supplied function or table used by this function must
|
|
||||||
be optional: if the application does not supply it, the square
|
|
||||||
root function must still compute square roots.)
|
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
|
||||||
identifiable sections of that work are not derived from the Library,
|
|
||||||
and can be reasonably considered independent and separate works in
|
|
||||||
themselves, then this License, and its terms, do not apply to those
|
|
||||||
sections when you distribute them as separate works. But when you
|
|
||||||
distribute the same sections as part of a whole which is a work based
|
|
||||||
on the Library, the distribution of the whole must be on the terms of
|
|
||||||
this License, whose permissions for other licensees extend to the
|
|
||||||
entire whole, and thus to each and every part regardless of who wrote
|
|
||||||
it.
|
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
|
||||||
exercise the right to control the distribution of derivative or
|
|
||||||
collective works based on the Library.
|
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Library
|
|
||||||
with the Library (or with a work based on the Library) on a volume of
|
|
||||||
a storage or distribution medium does not bring the other work under
|
|
||||||
the scope of this License.
|
|
||||||
|
|
||||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
|
||||||
License instead of this License to a given copy of the Library. To do
|
|
||||||
this, you must alter all the notices that refer to this License, so
|
|
||||||
that they refer to the ordinary GNU General Public License, version 2,
|
|
||||||
instead of to this License. (If a newer version than version 2 of the
|
|
||||||
ordinary GNU General Public License has appeared, then you can specify
|
|
||||||
that version instead if you wish.) Do not make any other change in
|
|
||||||
these notices.
|
|
||||||
|
|
||||||
Once this change is made in a given copy, it is irreversible for
|
|
||||||
that copy, so the ordinary GNU General Public License applies to all
|
|
||||||
subsequent copies and derivative works made from that copy.
|
|
||||||
|
|
||||||
This option is useful when you wish to copy part of the code of
|
|
||||||
the Library into a program that is not a library.
|
|
||||||
|
|
||||||
4. You may copy and distribute the Library (or a portion or
|
|
||||||
derivative of it, under Section 2) in object code or executable form
|
|
||||||
under the terms of Sections 1 and 2 above provided that you accompany
|
|
||||||
it with the complete corresponding machine-readable source code, which
|
|
||||||
must be distributed under the terms of Sections 1 and 2 above on a
|
|
||||||
medium customarily used for software interchange.
|
|
||||||
|
|
||||||
If distribution of object code is made by offering access to copy
|
|
||||||
from a designated place, then offering equivalent access to copy the
|
|
||||||
source code from the same place satisfies the requirement to
|
|
||||||
distribute the source code, even though third parties are not
|
|
||||||
compelled to copy the source along with the object code.
|
|
||||||
|
|
||||||
5. A program that contains no derivative of any portion of the
|
|
||||||
Library, but is designed to work with the Library by being compiled or
|
|
||||||
linked with it, is called a "work that uses the Library". Such a
|
|
||||||
work, in isolation, is not a derivative work of the Library, and
|
|
||||||
therefore falls outside the scope of this License.
|
|
||||||
|
|
||||||
However, linking a "work that uses the Library" with the Library
|
|
||||||
creates an executable that is a derivative of the Library (because it
|
|
||||||
contains portions of the Library), rather than a "work that uses the
|
|
||||||
library". The executable is therefore covered by this License.
|
|
||||||
Section 6 states terms for distribution of such executables.
|
|
||||||
|
|
||||||
When a "work that uses the Library" uses material from a header file
|
|
||||||
that is part of the Library, the object code for the work may be a
|
|
||||||
derivative work of the Library even though the source code is not.
|
|
||||||
Whether this is true is especially significant if the work can be
|
|
||||||
linked without the Library, or if the work is itself a library. The
|
|
||||||
threshold for this to be true is not precisely defined by law.
|
|
||||||
|
|
||||||
If such an object file uses only numerical parameters, data
|
|
||||||
structure layouts and accessors, and small macros and small inline
|
|
||||||
functions (ten lines or less in length), then the use of the object
|
|
||||||
file is unrestricted, regardless of whether it is legally a derivative
|
|
||||||
work. (Executables containing this object code plus portions of the
|
|
||||||
Library will still fall under Section 6.)
|
|
||||||
|
|
||||||
Otherwise, if the work is a derivative of the Library, you may
|
|
||||||
distribute the object code for the work under the terms of Section 6.
|
|
||||||
Any executables containing that work also fall under Section 6,
|
|
||||||
whether or not they are linked directly with the Library itself.
|
|
||||||
|
|
||||||
6. As an exception to the Sections above, you may also combine or
|
|
||||||
link a "work that uses the Library" with the Library to produce a
|
|
||||||
work containing portions of the Library, and distribute that work
|
|
||||||
under terms of your choice, provided that the terms permit
|
|
||||||
modification of the work for the customer's own use and reverse
|
|
||||||
engineering for debugging such modifications.
|
|
||||||
|
|
||||||
You must give prominent notice with each copy of the work that the
|
|
||||||
Library is used in it and that the Library and its use are covered by
|
|
||||||
this License. You must supply a copy of this License. If the work
|
|
||||||
during execution displays copyright notices, you must include the
|
|
||||||
copyright notice for the Library among them, as well as a reference
|
|
||||||
directing the user to the copy of this License. Also, you must do one
|
|
||||||
of these things:
|
|
||||||
|
|
||||||
a) Accompany the work with the complete corresponding
|
|
||||||
machine-readable source code for the Library including whatever
|
|
||||||
changes were used in the work (which must be distributed under
|
|
||||||
Sections 1 and 2 above); and, if the work is an executable linked
|
|
||||||
with the Library, with the complete machine-readable "work that
|
|
||||||
uses the Library", as object code and/or source code, so that the
|
|
||||||
user can modify the Library and then relink to produce a modified
|
|
||||||
executable containing the modified Library. (It is understood
|
|
||||||
that the user who changes the contents of definitions files in the
|
|
||||||
Library will not necessarily be able to recompile the application
|
|
||||||
to use the modified definitions.)
|
|
||||||
|
|
||||||
b) Use a suitable shared library mechanism for linking with the
|
|
||||||
Library. A suitable mechanism is one that (1) uses at run time a
|
|
||||||
copy of the library already present on the user's computer system,
|
|
||||||
rather than copying library functions into the executable, and (2)
|
|
||||||
will operate properly with a modified version of the library, if
|
|
||||||
the user installs one, as long as the modified version is
|
|
||||||
interface-compatible with the version that the work was made with.
|
|
||||||
|
|
||||||
c) Accompany the work with a written offer, valid for at
|
|
||||||
least three years, to give the same user the materials
|
|
||||||
specified in Subsection 6a, above, for a charge no more
|
|
||||||
than the cost of performing this distribution.
|
|
||||||
|
|
||||||
d) If distribution of the work is made by offering access to copy
|
|
||||||
from a designated place, offer equivalent access to copy the above
|
|
||||||
specified materials from the same place.
|
|
||||||
|
|
||||||
e) Verify that the user has already received a copy of these
|
|
||||||
materials or that you have already sent this user a copy.
|
|
||||||
|
|
||||||
For an executable, the required form of the "work that uses the
|
|
||||||
Library" must include any data and utility programs needed for
|
|
||||||
reproducing the executable from it. However, as a special exception,
|
|
||||||
the materials to be distributed need not include anything that is
|
|
||||||
normally distributed (in either source or binary form) with the major
|
|
||||||
components (compiler, kernel, and so on) of the operating system on
|
|
||||||
which the executable runs, unless that component itself accompanies
|
|
||||||
the executable.
|
|
||||||
|
|
||||||
It may happen that this requirement contradicts the license
|
|
||||||
restrictions of other proprietary libraries that do not normally
|
|
||||||
accompany the operating system. Such a contradiction means you cannot
|
|
||||||
use both them and the Library together in an executable that you
|
|
||||||
distribute.
|
|
||||||
|
|
||||||
7. You may place library facilities that are a work based on the
|
|
||||||
Library side-by-side in a single library together with other library
|
|
||||||
facilities not covered by this License, and distribute such a combined
|
|
||||||
library, provided that the separate distribution of the work based on
|
|
||||||
the Library and of the other library facilities is otherwise
|
|
||||||
permitted, and provided that you do these two things:
|
|
||||||
|
|
||||||
a) Accompany the combined library with a copy of the same work
|
|
||||||
based on the Library, uncombined with any other library
|
|
||||||
facilities. This must be distributed under the terms of the
|
|
||||||
Sections above.
|
|
||||||
|
|
||||||
b) Give prominent notice with the combined library of the fact
|
|
||||||
that part of it is a work based on the Library, and explaining
|
|
||||||
where to find the accompanying uncombined form of the same work.
|
|
||||||
|
|
||||||
8. You may not copy, modify, sublicense, link with, or distribute
|
|
||||||
the Library except as expressly provided under this License. Any
|
|
||||||
attempt otherwise to copy, modify, sublicense, link with, or
|
|
||||||
distribute the Library is void, and will automatically terminate your
|
|
||||||
rights under this License. However, parties who have received copies,
|
|
||||||
or rights, from you under this License will not have their licenses
|
|
||||||
terminated so long as such parties remain in full compliance.
|
|
||||||
|
|
||||||
9. You are not required to accept this License, since you have not
|
|
||||||
signed it. However, nothing else grants you permission to modify or
|
|
||||||
distribute the Library or its derivative works. These actions are
|
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
|
||||||
modifying or distributing the Library (or any work based on the
|
|
||||||
Library), you indicate your acceptance of this License to do so, and
|
|
||||||
all its terms and conditions for copying, distributing or modifying
|
|
||||||
the Library or works based on it.
|
|
||||||
|
|
||||||
10. Each time you redistribute the Library (or any work based on the
|
|
||||||
Library), the recipient automatically receives a license from the
|
|
||||||
original licensor to copy, distribute, link with or modify the Library
|
|
||||||
subject to these terms and conditions. You may not impose any further
|
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
|
||||||
You are not responsible for enforcing compliance by third parties with
|
|
||||||
this License.
|
|
||||||
|
|
||||||
11. If, as a consequence of a court judgment or allegation of patent
|
|
||||||
infringement or for any other reason (not limited to patent issues),
|
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot
|
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you
|
|
||||||
may not distribute the Library at all. For example, if a patent
|
|
||||||
license would not permit royalty-free redistribution of the Library by
|
|
||||||
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
|
|
||||||
refrain entirely from distribution of the Library.
|
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under any
|
|
||||||
particular circumstance, the balance of the section is intended to apply,
|
|
||||||
and the section as a whole is intended to apply in other circumstances.
|
|
||||||
|
|
||||||
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
|
|
||||||
such claims; this section has the sole purpose of protecting the
|
|
||||||
integrity of the free software distribution system which is
|
|
||||||
implemented by public license practices. Many people have made
|
|
||||||
generous contributions to the wide range of software distributed
|
|
||||||
through that system in reliance on consistent application of that
|
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
|
||||||
to distribute software through any other system and a licensee cannot
|
|
||||||
impose that choice.
|
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
|
||||||
be a consequence of the rest of this License.
|
|
||||||
|
|
||||||
12. If the distribution and/or use of the Library is restricted in
|
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
|
||||||
original copyright holder who places the Library under this License may add
|
|
||||||
an explicit geographical distribution limitation excluding those countries,
|
|
||||||
so that distribution is permitted only in or among countries not thus
|
|
||||||
excluded. In such case, this License incorporates the limitation as if
|
|
||||||
written in the body of this License.
|
|
||||||
|
|
||||||
13. The Free Software Foundation may publish revised and/or new
|
|
||||||
versions of the Lesser General Public License from time to time.
|
|
||||||
Such new versions will be similar in spirit to the present version,
|
|
||||||
but may differ in detail to address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Library
|
|
||||||
specifies a version number of this License which applies to it and
|
|
||||||
"any later version", you have the option of following the terms and
|
|
||||||
conditions either of that version or of any later version published by
|
|
||||||
the Free Software Foundation. If the Library does not specify a
|
|
||||||
license version number, you may choose any version ever published by
|
|
||||||
the Free Software Foundation.
|
|
||||||
|
|
||||||
14. If you wish to incorporate parts of the Library into other free
|
|
||||||
programs whose distribution conditions are incompatible with these,
|
|
||||||
write to the author to ask for permission. For software which is
|
|
||||||
copyrighted by the Free Software Foundation, write to the Free
|
|
||||||
Software Foundation; we sometimes make exceptions for this. Our
|
|
||||||
decision will be guided by the two goals of preserving the free status
|
|
||||||
of all derivatives of our free software and of promoting the sharing
|
|
||||||
and reuse of software generally.
|
|
||||||
|
|
||||||
NO WARRANTY
|
|
||||||
|
|
||||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
|
||||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
|
||||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
|
||||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
|
||||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
|
||||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
|
||||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
|
||||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
|
||||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
|
||||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
|
||||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
|
||||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
|
||||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
|
||||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
|
||||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
||||||
DAMAGES.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
1
debian/.gitignore
vendored
1
debian/.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
/*.debhelper
|
/*.debhelper
|
||||||
/*.log
|
/*.log
|
||||||
/*.substvars
|
/*.substvars
|
||||||
|
/debhelper-build-stamp
|
||||||
/files
|
/files
|
||||||
|
|
||||||
/lxqt-admin/
|
/lxqt-admin/
|
||||||
|
228
debian/changelog
vendored
228
debian/changelog
vendored
@ -1,3 +1,231 @@
|
|||||||
|
lxqt-admin (2.2.0-0ubuntu1) questing; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
- Update build dependencies.
|
||||||
|
* Update copyright file.
|
||||||
|
* Update Standards-Version to 4.7.2, no changes needed.
|
||||||
|
|
||||||
|
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 31 Jul 2025 15:59:04 -0500
|
||||||
|
|
||||||
|
lxqt-admin (2.1.0-0ubuntu3) plucky; urgency=medium
|
||||||
|
|
||||||
|
* Update Standards-Version to 4.7.1, no changes needed.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 21 Feb 2025 16:39:22 -0600
|
||||||
|
|
||||||
|
lxqt-admin (2.1.0-0ubuntu2) plucky; urgency=medium
|
||||||
|
|
||||||
|
* No-change rebuild for lxqt-build-tools C++17 -> C++20.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 03 Jan 2025 03:55:08 -0600
|
||||||
|
|
||||||
|
lxqt-admin (2.1.0-0ubuntu1) plucky; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
- Bump build dependencies.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 15 Nov 2024 15:32:22 -0600
|
||||||
|
|
||||||
|
lxqt-admin (2.0.0-0ubuntu1) oracular; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Bump Standards-Version to 4.7.0, no changes necessary.
|
||||||
|
* Adjust build dependencies.
|
||||||
|
* Update copyright file.
|
||||||
|
|
||||||
|
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 15 Aug 2024 16:37:50 -0500
|
||||||
|
|
||||||
|
lxqt-admin (1.4.0-0ubuntu1) noble; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Bump build dependencies.
|
||||||
|
* Update copyright years.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Sun, 12 Nov 2023 18:00:48 -0600
|
||||||
|
|
||||||
|
lxqt-admin (1.3.0-0ubuntu1) mantic; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Bump build dependencies.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 11 Aug 2023 09:49:20 -0500
|
||||||
|
|
||||||
|
lxqt-admin (1.2.0-1ubuntu1) lunar; urgency=medium
|
||||||
|
|
||||||
|
[ ChangZhuo Chen ]
|
||||||
|
* Add Repository-Browse to upstream metadata.
|
||||||
|
|
||||||
|
[ Aaron Rainbolt ]
|
||||||
|
* Revert a sync from Debian.
|
||||||
|
* Bumped Standards-Version to 4.6.2, no changes necessary.
|
||||||
|
* Updated copyright file.
|
||||||
|
|
||||||
|
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Sun, 12 Feb 2023 20:24:28 -0600
|
||||||
|
|
||||||
|
lxqt-admin (1.2.0-0ubuntu1) lunar; urgency=medium
|
||||||
|
|
||||||
|
* New upstream version.
|
||||||
|
* Fix the watch file, for real this time.
|
||||||
|
* Lubuntuify the package slightly, to make debhelper happy.
|
||||||
|
* Bump build dependencies in debian/control.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Thu, 17 Nov 2022 22:12:20 -0600
|
||||||
|
|
||||||
|
lxqt-admin (1.1.0-1) experimental; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Upstreamed compatible changes from Ubuntu, modifying the following files:
|
||||||
|
- control
|
||||||
|
- copyright
|
||||||
|
- docs
|
||||||
|
- lintian-overrides
|
||||||
|
- lxqt-admin-l10n.install
|
||||||
|
- rules
|
||||||
|
- upstream/*
|
||||||
|
|
||||||
|
-- Aaron Rainbolt <arraybolt3@gmail.com> Tue, 12 Jul 2022 16:16:35 -0500
|
||||||
|
|
||||||
|
lxqt-admin (0.16.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
[ Alf Gaida ]
|
||||||
|
* Switched to gbp
|
||||||
|
* Bumped Standards-Version to 4.4.0, no changes needed
|
||||||
|
|
||||||
|
[ Andrew Lee (李健秋) ]
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Andrew Lee (李健秋) <ajqlee@debian.org> Thu, 07 Jan 2021 16:39:02 +0800
|
||||||
|
|
||||||
|
lxqt-admin (0.14.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Cherry-picking new upstream version 0.14.1.
|
||||||
|
* Bumped minimum version liblxqt0-dev (>= 0.14.1~)
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Tue, 26 Feb 2019 01:44:09 +0100
|
||||||
|
|
||||||
|
lxqt-admin (0.14.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Cherry-picking new upstream version 0.14.0.
|
||||||
|
* Bumped Standards to 4.3.0, no changes needed
|
||||||
|
* Dropped d/compat, use debhelper-compat = 12, no changes needed
|
||||||
|
* Fixed years in d/copyright
|
||||||
|
* Bumped minimum version liblxqt0-dev (>= 0.14.0~)
|
||||||
|
* Removed obsolete PULL_TRANSLATIONS= OFF from dh_auto_configure
|
||||||
|
* Added l10n-package, moved from lxqt-l10n
|
||||||
|
* Removed fix-duplicated-key.patch, applied upstream
|
||||||
|
* Added d/upstream/metadata
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Sun, 27 Jan 2019 16:17:25 +0100
|
||||||
|
|
||||||
|
lxqt-admin (0.13.0-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Fixed language in desktop file (ported back from upstream)
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Sat, 07 Jul 2018 19:56:09 +0200
|
||||||
|
|
||||||
|
lxqt-admin (0.13.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Cherry-picking new upstream version 0.13.0.
|
||||||
|
* Bumped build dependency liblxqt0-dev to >= 0.13.0~
|
||||||
|
* Added build dependency libpolkit-qt5-1-dev
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Thu, 24 May 2018 20:30:33 +0200
|
||||||
|
|
||||||
|
lxqt-admin (0.12.0-5) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Bumped compat to 11
|
||||||
|
* Bumped debhelper to >= 11~
|
||||||
|
* Bumped Standards to 4.1.4, no changes needed
|
||||||
|
* Changed Homepage, Source and watch to lxqt
|
||||||
|
* Changed VCS fields to salsa
|
||||||
|
* Bumped years in copyright
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Fri, 27 Apr 2018 23:35:26 +0200
|
||||||
|
|
||||||
|
lxqt-admin (0.12.0-4) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Bumped Standards to 4.1.2
|
||||||
|
* Removed debian/gbp.conf
|
||||||
|
* Removed branch from VCS fields
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Thu, 14 Dec 2017 18:02:38 +0100
|
||||||
|
|
||||||
|
lxqt-admin (0.12.0-3) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Transition to unstable
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Mon, 04 Dec 2017 21:20:46 +0100
|
||||||
|
|
||||||
|
lxqt-admin (0.12.0-2) experimental; urgency=medium
|
||||||
|
|
||||||
|
* Pick up the right versions (fixed liblxqt and lxqt-build-tools)
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Mon, 23 Oct 2017 19:49:42 +0200
|
||||||
|
|
||||||
|
lxqt-admin (0.12.0-1) experimental; urgency=medium
|
||||||
|
|
||||||
|
* Cherry-picking new upstream version 0.12.0.
|
||||||
|
* Switched to experimental
|
||||||
|
* Bumped Standards to 4.1.1 - no changes needed
|
||||||
|
* Bumped liblxqt to >= 0.12.0
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Sun, 22 Oct 2017 23:35:49 +0200
|
||||||
|
|
||||||
|
lxqt-admin (0.11.1-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Bumped Standards to 4.0.0 - no changes needed
|
||||||
|
* Recommend lxqt-qtplugin (Closes: #866233)
|
||||||
|
* Recommend lxqt-policykit (Closes: #866684)
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Fri, 30 Jun 2017 23:04:11 +0200
|
||||||
|
|
||||||
|
lxqt-admin (0.11.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Cherry-picking new upstream version 0.11.1
|
||||||
|
* Removed some build dependencies:
|
||||||
|
-cmake
|
||||||
|
-libqt5xdg-dev
|
||||||
|
-libqt5xdgiconloader-dev
|
||||||
|
-pkg-config
|
||||||
|
-qttools5-dev
|
||||||
|
-qttools5-dev-tools
|
||||||
|
* Bumped build dependency liblxqt0-dev (>= 0.11.1)
|
||||||
|
* Bumped years in d/copyright
|
||||||
|
* Fixed d/gbp.conf
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Mon, 02 Jan 2017 12:11:04 +0100
|
||||||
|
|
||||||
|
lxqt-admin (0.11.0-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Cherry-picking new upstream version 0.11.0
|
||||||
|
* Synced debian foo with experimental
|
||||||
|
* Bumped compat to 10
|
||||||
|
* Removed --parallel from rules, standard compat 10
|
||||||
|
* Bumped minimum version debhelper (>= 10)
|
||||||
|
* Bumped minimum version liblxqt0-dev (>= 0.11.0)
|
||||||
|
* Bumped minimum version libqt5xdg-dev (>= 2.0.0)
|
||||||
|
* Added build dependency libqt5xdgiconloader-dev (>= 2.0.0)
|
||||||
|
* Added build dependency libqt5svg5-dev
|
||||||
|
* Removed build dependency liboobs-1-dev
|
||||||
|
* Added recommends lxqt-admin-l10n
|
||||||
|
* Added a lintian-override for lxqt-admin-user-helper
|
||||||
|
* Exported LC_ALL=C.UTF-8 - define language settings for reproducible
|
||||||
|
builds
|
||||||
|
* Fixed VCS-Fields, use https
|
||||||
|
* Bumped copyright years
|
||||||
|
* Added hardening to rules
|
||||||
|
* Added translation control to rules
|
||||||
|
* Set CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
* Added README.md to docs
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Tue, 18 Oct 2016 01:54:42 +0200
|
||||||
|
|
||||||
|
lxqt-admin (0.10.0-3) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Remove dbg package in favor of dbgsym.
|
||||||
|
|
||||||
|
-- Alf Gaida <agaida@siduction.org> Sat, 26 Dec 2015 18:05:24 +0100
|
||||||
|
|
||||||
lxqt-admin (0.10.0-2) unstable; urgency=medium
|
lxqt-admin (0.10.0-2) unstable; urgency=medium
|
||||||
|
|
||||||
* Merge from experimental.
|
* Merge from experimental.
|
||||||
|
1
debian/compat
vendored
1
debian/compat
vendored
@ -1 +0,0 @@
|
|||||||
9
|
|
57
debian/control
vendored
57
debian/control
vendored
@ -1,30 +1,32 @@
|
|||||||
Source: lxqt-admin
|
Source: lxqt-admin
|
||||||
Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
|
Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
|
||||||
|
Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
|
||||||
Uploaders: Alf Gaida <agaida@siduction.org>,
|
Uploaders: Alf Gaida <agaida@siduction.org>,
|
||||||
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
|
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
|
||||||
Andrew Lee (李健秋) <ajqlee@debian.org>
|
Andrew Lee (李健秋) <ajqlee@debian.org>,
|
||||||
|
Simon Quigley <tsimonq2@debian.org>,
|
||||||
|
Aaron Rainbolt <arraybolt3@gmail.com>
|
||||||
Section: x11
|
Section: x11
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends: debhelper (>= 9),
|
Build-Depends: debhelper-compat (= 13),
|
||||||
cmake (>= 3.0.2),
|
libkf6windowsystem-dev,
|
||||||
liboobs-1-dev,
|
liblxqt2-dev (>= 2.2.0),
|
||||||
libkf5windowsystem-dev,
|
libpolkit-qt6-1-dev,
|
||||||
liblxqt0-dev (>= 0.10.0),
|
libsystemd-dev,
|
||||||
libqt5x11extras5-dev,
|
|
||||||
libqt5xdg-dev (>= 1.3.0),
|
|
||||||
libx11-dev,
|
libx11-dev,
|
||||||
pkg-config,
|
qt6-svg-dev (>= 6.6.0)
|
||||||
qttools5-dev,
|
Standards-Version: 4.7.2
|
||||||
qttools5-dev-tools
|
Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-admin-packaging
|
||||||
Standards-Version: 3.9.6
|
Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-admin-packaging.git
|
||||||
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-lxqt/lxqt-admin.git/?h=debian/sid
|
Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/lxqt-admin
|
||||||
Vcs-Git: git://anonscm.debian.org/pkg-lxqt/lxqt-admin.git -b debian/sid
|
Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-admin.git
|
||||||
Homepage: https://github.com/lxde/lxqt-admin
|
Homepage: https://github.com/lxqt/lxqt-admin
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
Package: lxqt-admin
|
Package: lxqt-admin
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends},
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
${shlibs:Depends}
|
Recommends: lxqt-admin-l10n, lxqt-policykit, lxqt-qtplugin
|
||||||
Description: Admin tools for LXQt
|
Description: Admin tools for LXQt
|
||||||
Admin tools for LXQt, as of now:
|
Admin tools for LXQt, as of now:
|
||||||
* lxqt-admin-time
|
* lxqt-admin-time
|
||||||
@ -32,15 +34,12 @@ Description: Admin tools for LXQt
|
|||||||
.
|
.
|
||||||
This package contain the LXQt Admin Tools.
|
This package contain the LXQt Admin Tools.
|
||||||
|
|
||||||
Package: lxqt-admin-dbg
|
Package: lxqt-admin-l10n
|
||||||
Architecture: any
|
Architecture: all
|
||||||
Section: debug
|
Multi-Arch: foreign
|
||||||
Priority: extra
|
Section: localization
|
||||||
Depends: ${misc:Depends},
|
Depends: qt6-translations-l10n, ${misc:Depends}
|
||||||
lxqt-admin (= ${binary:Version})
|
Description: Language package for lxqt-admin
|
||||||
Description: Admin tools for LXQt (debug)
|
The l10n files for lxqt-admin.
|
||||||
Admin tools for LXQt, as of now:
|
|
||||||
* lxqt-admin-time
|
|
||||||
* lxqt-admin-user
|
|
||||||
.
|
.
|
||||||
This package provides the debugging symbols.
|
This package contains the l10n files needed by lxqt-admin.
|
||||||
|
15
debian/copyright
vendored
15
debian/copyright
vendored
@ -1,15 +1,18 @@
|
|||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: lxqt-admin
|
Upstream-Name: lxqt-admin
|
||||||
Source: https://github.com/lxde/lxqt-admin
|
Source: https://github.com/lxqt/lxqt-admin
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2014-2015 LXQt team
|
Copyright: 2014-2025 LXQt team
|
||||||
2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
2014-2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
|
|
||||||
Files: debian/*
|
Files: debian/*
|
||||||
Copyright: 2014-2015 Alf Gaida <agaida@siduction.org>
|
Copyright: 2021-2025 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
|
||||||
2015 Andrew Lee (李健秋) <ajqlee@debian.org>
|
2022 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
|
||||||
|
2014-2019 Alf Gaida <agaida@siduction.org>
|
||||||
|
2015 Andrew Lee (李健秋) <ajqlee@debian.org>
|
||||||
|
2025 Aaron Rainbolt <arraybolt3@ubuntu.com>
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
|
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
|
1
debian/docs
vendored
1
debian/docs
vendored
@ -1 +1,2 @@
|
|||||||
AUTHORS
|
AUTHORS
|
||||||
|
README.md
|
||||||
|
7
debian/gbp.conf
vendored
7
debian/gbp.conf
vendored
@ -1,7 +1,6 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
debian-branch = debian
|
debian-branch = debian/sid
|
||||||
|
upstream-branch = upstream/latest
|
||||||
pristine-tar = True
|
pristine-tar = True
|
||||||
|
compression = xz
|
||||||
|
|
||||||
[import-orig]
|
|
||||||
# Use git cherrypick -n upstream instead.
|
|
||||||
merge = False
|
|
||||||
|
9
debian/lintian-overrides
vendored
9
debian/lintian-overrides
vendored
@ -1,7 +1,8 @@
|
|||||||
# there will be no manual for a foreseable time
|
# there will be no manual for a foreseable time
|
||||||
lxqt-admin: binary-without-manpage usr/bin/lxqt-admin-time
|
lxqt-admin: no-manual-page [usr/bin/lxqt-admin-time]
|
||||||
lxqt-admin: binary-without-manpage usr/bin/lxqt-admin-user
|
lxqt-admin: no-manual-page [usr/bin/lxqt-admin-user]
|
||||||
|
lxqt-admin: no-manual-page [usr/bin/lxqt-admin-user-helper]
|
||||||
|
|
||||||
# the category is right, but not in freedesktop right now
|
# the category is right, but not in freedesktop right now
|
||||||
lxqt-admin: desktop-entry-invalid-category LXQt usr/share/applications/lxqt-admin-time.desktop
|
lxqt-admin: desktop-entry-invalid-category LXQt [usr/share/applications/lxqt-admin-time.desktop]
|
||||||
lxqt-admin: desktop-entry-invalid-category LXQt usr/share/applications/lxqt-admin-user.desktop
|
lxqt-admin: desktop-entry-invalid-category LXQt [usr/share/applications/lxqt-admin-user.desktop]
|
||||||
|
2
debian/lxqt-admin-l10n.install
vendored
Normal file
2
debian/lxqt-admin-l10n.install
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
usr/share/lxqt/translations/lxqt-admin-time/
|
||||||
|
usr/share/lxqt/translations/lxqt-admin-user/
|
6
debian/lxqt-admin.install
vendored
Normal file
6
debian/lxqt-admin.install
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
usr/bin/lxqt-admin-time
|
||||||
|
usr/bin/lxqt-admin-user
|
||||||
|
usr/bin/lxqt-admin-user-helper
|
||||||
|
usr/share/applications/lxqt-admin-time.desktop
|
||||||
|
usr/share/applications/lxqt-admin-user.desktop
|
||||||
|
usr/share/polkit-1/actions/org.lxqt.lxqt-admin-user.policy
|
4
debian/lxqt-admin.lintian-overrides
vendored
Normal file
4
debian/lxqt-admin.lintian-overrides
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# This is expected/okay
|
||||||
|
lxqt-admin: desktop-entry-lacks-keywords-entry [usr/share/applications/*.desktop]
|
||||||
|
lxqt-admin: desktop-entry-invalid-category LXQt [usr/share/applications/*.desktop]
|
||||||
|
lxqt-admin: no-manual-page [usr/bin/*]
|
17
debian/rules
vendored
17
debian/rules
vendored
@ -1,13 +1,16 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
#export DH_VERBOSE=1
|
# export DH_VERBOSE=1
|
||||||
|
|
||||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
export LC_ALL=C.UTF-8
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh ${@} --buildsystem cmake --parallel
|
dh ${@} --buildsystem cmake
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_missing:
|
||||||
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxqt-admin
|
dh_missing --fail-missing
|
||||||
|
|
||||||
override_dh_strip:
|
override_dh_auto_configure:
|
||||||
dh_strip --dbg-package=lxqt-admin-dbg
|
dh_auto_configure -- \
|
||||||
|
-DUPDATE_TRANSLATIONS=OFF \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
12
debian/salsa-ci.yml
vendored
Normal file
12
debian/salsa-ci.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# For more information on what jobs are run see:
|
||||||
|
# https://salsa.debian.org/salsa-ci-team/pipeline
|
||||||
|
#
|
||||||
|
# To enable the jobs, go to your repository (at salsa.debian.org)
|
||||||
|
# and click over Settings > CI/CD > Expand (in General pipelines).
|
||||||
|
# In "Custom CI config path" write debian/salsa-ci.yml and click
|
||||||
|
# in "Save Changes". The CI tests will run after the next commit.
|
||||||
|
---
|
||||||
|
include:
|
||||||
|
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||||
|
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
||||||
|
|
1
debian/source/options
vendored
1
debian/source/options
vendored
@ -1,2 +1 @@
|
|||||||
tar-ignore=.gitignore
|
tar-ignore=.gitignore
|
||||||
tar-ignore=lxqt-admin.kdev4
|
|
||||||
|
6
debian/upstream/metadata
vendored
Normal file
6
debian/upstream/metadata
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Name: lxqt-admin
|
||||||
|
Bug-Database: https://github.com/lxqt/lxqt-admin/issues
|
||||||
|
Bug-Submit: https://github.com/lxqt/lxqt-admin/issues/new
|
||||||
|
Changelog: https://github.com/lxqt/lxqt-admin/blob/master/CHANGELOG
|
||||||
|
Repository: https://github.com/lxqt/lxqt-admin
|
||||||
|
Repository-Browse: https://github.com/lxqt/lxqt-admin
|
109
debian/upstream/signing-key.asc
vendored
109
debian/upstream/signing-key.asc
vendored
@ -1,63 +1,52 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
|
||||||
|
|
||||||
mQINBFJevCYBEACx+Hvy+Vsuf+V5jeLUnzjAmHoy8DfTeGWr3ts30IapLHrfi0+U
|
mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0
|
||||||
WpzNnISO77yTr4VNboVZH+GHM/rnPfieODfB4ZW6CZLlInMSKUXcgQsEqXpyBZhA
|
ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K
|
||||||
Ib/SPy2bOfHly1uRJes0uRDsH5+v/hD74sByfnjQlrvI68O6wvGZmDFMNNPVO8+/
|
X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF
|
||||||
OWBSBNkBuVrrZOMSPsLwQGJ4UtUQ4whburaPJG4VZJc5DLbzJGbEuACc0IAEYJS3
|
uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/
|
||||||
7AfXVXn4j4Gc9F3o1xTUnbOBnwGPquWwUIm3FM7Ec2OdkvMt3EwvnkMAfeVrq3iE
|
1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAGYH0gnj0GpOve4ftnaG
|
||||||
FDD/KZTxdL0BZH3QD8gB7Jm4v4f3Nkobg6JCvCbcH3wBdZW4mASbwWzfRaDC2zHb
|
sAId2CQwm3oYF4Tu7yBPTOBpkaKkNaT+UdwTyeKERuCZ9ocZWX++/YF9ItRkJ5mM
|
||||||
ErTglD7PpShLKZZ0pr9okWZEGw4Ku3q8ALi1JXK/ePTmsBlvkVskOJ3Nnd0avgH4
|
zoP1GluWn2atNWpRh/K97gyAGgr2fSmrAA4d1JrVbMujZAHoHAOKwJKqX9jPziPZ
|
||||||
+Q/vZoKfH8EhNY745rI+8CE9iv6V9XiSUt4CKEWAENt4A8hq6U2vV+jZv3B6AgD7
|
BFHfhcIOzG3ZhXAuumHsd7uwfPBVt20g+G+cOjBghbSSu9EOtMkAZl1g3ybvZixu
|
||||||
ZjiI59yD4YuYubu8rCnNizTgh1voVw3ietknn/x2H5yH8fByWZ5uL87C0ky/uma6
|
Jtxa5exZWEmU7vtytEb8eq9Dj5XcGoTDbErE2RpJ/20HPzhyRKg9RN4iGS+0OiHS
|
||||||
ZGbiiAtM4kdkyDMrfRV5nlEG9EKAGPVu5mjeSCrfkETwZ9OFPz1AuDye4ZEXrrcC
|
oRbDi5IEOizvQjp2bsBmfa3rsoDSOqF2pevp+u8I56I6bU1GFpxxNC5IGvgo2Q79
|
||||||
iRQ7RX6/GtW18aHER0kzGnfwx5KJzkDrRBY8A2PdXLBcrsN4WpK9EX01PQARAQAB
|
quz0oIk5hs3eLlUdEYsLGwR6pWJaJyf36vuDsq7iLrLyvHI5irAowO4r1QARAQAB
|
||||||
tCNKZXJvbWUgTGVjbGFuY2hlIDxqZXJvbWVAbGVjbGFuLmNoPokCPwQTAQIAKQUC
|
tCVQZWRyYW0gUG91cmFuZyA8dHN1amFuMjAwMEBnbWFpbC5jb20+iQJOBBMBCAA4
|
||||||
Ul68JgIbAwUJAeEzgAcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEDfgrx/a
|
FiEEGd/fOleb1QnbtXLYvnkwB60i334FAl6cxrwCGwMFCwkIBwIGFQoJCAsCBBYC
|
||||||
SPNzSHIP/1ewXcC0TFBcvDD7MrIP7anyNfiWfW7cxkR8GSamkg6HTa6Ndyr1FFjJ
|
AwECHgECF4AACgkQvnkwB60i335f9RAAgRpn8gUa/l10UkVAnpM2Cz0MuNMwwCOq
|
||||||
OoDFUP37jWhu59CsHxs2D0zRWJktezfvElscRgqbHcdpIznqsGdI8hXCZafhBGVb
|
IfVnuZuPBtYYiTU5Su++/aPZe3fF5B4v61F+XjNi7qeVL2t52X3jZ/iIx9Syasb+
|
||||||
sdAB2LRawcXGxnXt7XajPcSVwLWRE62caBqohznU2iWvI780WNjEbZoA0LhZwaFF
|
vDAIfQ5t6lKXvOptWxf6vteOg6CHbXwpGHbPjUkUS2vQwRikjBnR0SnkrMoXtgSX
|
||||||
UUPJm8ea9v0IkZVKUyg9WONZ1U7FEG9SaEiSpI8kJdx1fvCwZVDV/NRO5GqnJaho
|
amPFqsitNrOhEJfeDfo0NzKESZuliWrCFt2v8c5q18G8cCZAvPLBlGuwRl58cDep
|
||||||
P1LCne4YdwS6pt1/fRgk32IHxxZfHlLzLHxb6v1JmIg72x28qCmGyK9oFBDbbnYu
|
3EIibMI/9MUSJbKoiHlK+LcHtG7BQTNis/e7Pe1PkRmExfhxe1lNajtOx8FO72Tq
|
||||||
6Aq8XbHogOrD5vJM2Pfm2IhV0+JHOjfQbddv8tsAH1M+LI+tToXmg5st1AU3wnTn
|
B6zY6drippM9VaIc1M+zp9BRpsFu8whOmapCqlXHRgAK8xTdQRIGInQFqLWPOxSC
|
||||||
pda3hjA1avKwkfBPW/osHc8782ViyS9iX2e9iDtMv608guij4NjpGExzGCypHOd8
|
f0B6N+EvQvgkyFQ1rW+u91OJBma46uKkhrwf+mDttVRncaIAkgE6e6pqm18yIPFk
|
||||||
+VXRwJDjvgDynkL206MZ+wn0j5wHsIE8F3Y5Bp1thQOrdDli5MYNQoXhjFmH46XT
|
D42rt/yHcOl+2qkcJS3gPcg5UvlCzqOwg1rKZQIk+TcPuDx3r2UghDEYZN9X6vw3
|
||||||
bcr84IgW0+AiXZdoFUqvwtzrWy2Onuw5R3k4OyV4skN4DkWXyAk/V+Y4K39JvTKf
|
zCBufr7ygZNf4tkbnVARFWTR4GzyCseFkWgOVZL9DccAhs8NeMy1WLkUzB75adeR
|
||||||
H9YuiQ9blNzCu8WiAnjKnh9kNl9E/TyEwI6cHFmIPqF8ST9tJytWHtrKvU9csvXX
|
3LONmEL7xOI8FuknKY4e6EcWhmstNIDgXfRe0hwO0VBdW3unoZC/K2ZM/ZuZyMdK
|
||||||
n8XNJmpcv2R1e6N+VuWWm5zUPTouv3AxCacLbm8Lh3ymGsk7ZEyhiQIcBBABAgAG
|
TFjvYJrNewmymKge68wo0054bGZn8oz17i2AosJz7kW+ITsxmxhVcpfl4bav9Neq
|
||||||
BQJSsFYyAAoJEBMY76xfu9vO6v0P/3wSj3/kE4nP4HfgcVJSzi+lm1ycpbLDZtgh
|
RpQwhnhK9bC5Ag0EXpzGvAEQANbeRHFbpgQVIqV9WVOVnTj4FIqrTPTPKKa02vJA
|
||||||
P1G+zJLVmA+E41vEZimeiYQxBAelatJz+CHzQo3LZ2oVChzVrZcVHn9k4P3pib69
|
7tGpgFapgvjdxnMxJfV6wuwOBUUFLR7DrXlV8EVFAYc5qTIeSQXvJsWw6gQ3+f0D
|
||||||
qCVif3/y0Wmecn+u2TWbOvJ7mthfO7T3W7rkW1/9ES7bUaXcXWQ2sjUBVqFkFsVt
|
z13oGOhZPBIzIKnV/MZI/jhIio8kSPWAuM5hR2X9Hvw3/CLo+H+hZZ6cFYoCxrQS
|
||||||
xgJDo8wcxA+K4Yf06GCbxFwrB7X5GraWIkzqGnyse3XAQn8aORAXmE8Yd0FHOjEZ
|
tTzcKMkdQizLLa+WNbqUSxg6I/P5k/smUDY9gKW7RtI5t/PupA3WTnsVD6CYWa3Q
|
||||||
Beb9shChnkYc3lEvNY8ioCaYSF9xr/Iz9cwpfPkpqFiVYWadtb+Gqeh6zC7vPmcT
|
c1O/1mUgqT6nQ5N9KCPpjZQRT6D6eIMmePtS85z4PPeYMJxPsKRYWPGRxKhCSdZl
|
||||||
zHxrgkq1WwQlSBm724tPt9xuGQoOglqEa23vlQZfv20nyrYjLeYUy6pMCRq7vn/n
|
/0wsC8aRtmwYT729e0ZgTAmUnj+rQp5hboF/ZPFjIoXR9G+0HnoY0a/nqVO4lUON
|
||||||
nkQOcXF7yQlnqR6xKk0tWsM4e6du0ZvbjBbhHV/kBFVGCLm/upTwoMVm0WJTbr4T
|
AV25GnMFGVyiHHlbH/0gboywwnzEg8BZbk+Z/61oOzBIW09sfG8fn8bsbkpL+nHf
|
||||||
5XfIZo7eA0lvGtUhe1PgcOidBikHfAIfYxu0BoMXoL4jbcQdR5+YBDEfsS0jPhCl
|
Mi/Vauge6wSfw7I5AfSiwrSDNHmKVsu39koWV6JGxEeFr2MffF+CuaoJCNOr/ZII
|
||||||
mew2ScW/R/UhUknJUVFTma0KHXzEmKiqeeUCDtwEi6fxdicAYkbcekgkfFiD/w8N
|
SYR5ku3Y/lMKyUH1Oas0RWzFrdRcInqYK90A0x083zP4V445MvCwbRPzQAkm9wOP
|
||||||
Lk3Uf+0x2MdKA36nUobFkk38oU+GW37kFWJs3f1YRuQFao896eNW/E8ekVMLNxOl
|
kILLhE5FW+9/O0/9bpx4joJUDLV4d3hFZy7GSHKiZUs1QW6BV75JQKqoi+cVt+/L
|
||||||
nCjnSbabaxDnxPTyW2KlNjf/QUEK4pT6S5QmuCSrle3PQpaSbAZDHzLBIL9gd3m6
|
+o1S8CMNekjqdC2mWRosM3doo51zT/FWNzQA1QcoZP2hORJDfw66y+4wPq6o8y1W
|
||||||
MH7+SvV4uQINBFJevCYBEADiXDUqstSdhIyuionS2KtE3IeEBIqS7GY8QPRBylIZ
|
jR35ABEBAAGJAjYEGAEIACAWIQQZ3986V5vVCdu1cti+eTAHrSLffgUCXpzGvAIb
|
||||||
ACVHFI/1HxChBqYVGFaDEQn3gj5lUUQPubfWaxzjF6+UNVQW4+cxmTocndAwfDbI
|
DAAKCRC+eTAHrSLffgbJD/4qW5YOo/BayBhaUh2L7VP7JNlECb/2xNNOFKI1NjNr
|
||||||
+E5BLdieFUzbAA05MV5ZjPhTNbSk1jpy4bNy0FILwNqc89Y6SoCbv1r3tZLCrBas
|
nOmgSJLzf74Uhmt5W+iVjmJBHrDceprIPkizmPrn90kIsPIMtHIDNxzUgKZHbnza
|
||||||
1+AfWknBynx0siGMbLFxtzR6hUkNz9URxt13FrzpUWMpAL8ZQGczOTSaWLrZA5l9
|
j1vZyAeC+JV79X1hOVpprj1TJwy65lpxXNyYnGqeIOgyFokn9fOHXv8aMQwpNuUr
|
||||||
xLzJ9ww8uM+C2Xej3/sANxi+kQE2GVMKurPS0TICwVWZxbdW/ytIkO67Rhse0q3t
|
bdUJ1C75jYrvwy/NR1DczIFFYgsbkDGDtjVBjyMc5JAgvUBz37/iVPJfWP6dKVnf
|
||||||
vzjdawfCFRxv7XQB2ZJ6irDxbpHiJoojSWCHJadIyCG03iOiaqsSVvi4KnxtUck+
|
abRnUVzHgvgK7bnab00SA1TiWvjHURGjo+5rnRtv8X/AgStc2Phjq68TMIgMn0F2
|
||||||
udOEJUV5sxdzgeRrsDpeaN//KCWW9WjfsSkvOqP6S1gmWpNFdzF5XrzcgvqvSNqo
|
kjUVvfQotNqzo9madNshvUDmsGtAzKh4e0dS1ear7u3nRp4Z7fqSrTEtXKNbEPwZ
|
||||||
XejfakUTJqsIIEHO0zGuJFVzJNh2hQ/9dhjIspUORhtNKaljNvePiBrj2yqmd9PY
|
wdWrWmmQLacNQBSe/FtcMzGF6xIVr4lnrL0bFjqBdQpdTC7vns3QSKk8/GFiEfpv
|
||||||
FlH1KMHe4H+YVIwPiyeNA87Pu+1yNo8gT7mXhGRfibgWjbt146WUJ7+l2StJMApn
|
kzXrDbGV7jX2OWDjNHKcmXX2+E1CsNaJgS7zOgZw5jvbvlTLJUwyYNlM1VLI2OFW
|
||||||
eNSCartNaUNPnw96i2l5c9AsJ3SWC6XWpWzOLVj+9XceeA11lu/ogqEMHzx81NjH
|
Oa86l8pqli+B7rpTbsAE9Ut8qUaWjm87oUNSJbaKgqNnMaE+b/8VJaEeWHgQJwsD
|
||||||
2TePxwKTKxZnAvDmqryp++IgY2/OgIoIk3ZRdYu/dPijTOYWfCet/9/9kAFr9PeJ
|
bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO
|
||||||
KwARAQABiQIlBBgBAgAPBQJSXrwmAhsMBQkB4TOAAAoJEDfgrx/aSPNzJv0QAKkx
|
NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO
|
||||||
lCKEZ6ahAUuNWslsHnNWaHFHNawEO3NIEtQZGVFk2BYISupizvjZF6MnymO/9UFM
|
sw==
|
||||||
pzV6fp3xNdqaKWQBjScOgMgCASRixW2tMAKbJGHZKp3dBixpHgXxy2oOGMS+mQ5m
|
=gSIv
|
||||||
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
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
8
debian/watch
vendored
8
debian/watch
vendored
@ -1,3 +1,5 @@
|
|||||||
version=3
|
version=4
|
||||||
opts="pgpsigurlmangle=s/$/.asc/" \
|
opts="searchmode=plain, \
|
||||||
https://github.com/lxde/lxqt-admin/releases .*/([\d\.]+).tar.gz
|
pgpsigurlmangle=s/$/.asc/, \
|
||||||
|
uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \
|
||||||
|
https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz
|
||||||
|
@ -1,72 +0,0 @@
|
|||||||
project(lxqt-admin-time)
|
|
||||||
|
|
||||||
# build static helper class first
|
|
||||||
include_directories (
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
${OOBS_INCLUDE_DIRS}
|
|
||||||
)
|
|
||||||
|
|
||||||
set ( lxqt-admin-time_HDRS
|
|
||||||
timeadmindialog.h
|
|
||||||
datetime.h
|
|
||||||
timezone.h
|
|
||||||
)
|
|
||||||
|
|
||||||
set ( lxqt-admin-time_SRCS
|
|
||||||
main.cpp
|
|
||||||
timeadmindialog.cpp
|
|
||||||
datetime.cpp
|
|
||||||
timezone.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
set ( lxqt-admin-time_MOCS
|
|
||||||
timeadmindialog.h
|
|
||||||
datetime.h
|
|
||||||
timezone.h
|
|
||||||
)
|
|
||||||
|
|
||||||
set( lxqt-admin-time_UIS
|
|
||||||
datetime.ui
|
|
||||||
timezone.ui
|
|
||||||
)
|
|
||||||
|
|
||||||
qt5_wrap_cpp(MOCS ${lxqt-admin-time_MOCS})
|
|
||||||
qt5_wrap_ui(UIS ${lxqt-admin-time_UIS})
|
|
||||||
|
|
||||||
# Translations **********************************
|
|
||||||
lxqt_translate_ts(lxqt-admin-time_QM_FILES
|
|
||||||
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
|
|
||||||
SOURCES
|
|
||||||
${lxqt-admin-time_HDRS}
|
|
||||||
${lxqt-admin-time_SRCS}
|
|
||||||
${lxqt-admin-time_UIS}
|
|
||||||
INSTALL_DIR
|
|
||||||
"${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
|
|
||||||
)
|
|
||||||
|
|
||||||
lxqt_translate_desktop(DESKTOP_FILES
|
|
||||||
SOURCES
|
|
||||||
lxqt-admin-time.desktop.in
|
|
||||||
)
|
|
||||||
|
|
||||||
lxqt_app_translation_loader(lxqt-admin-time_QM_LOADER ${PROJECT_NAME})
|
|
||||||
#************************************************
|
|
||||||
|
|
||||||
add_executable(lxqt-admin-time
|
|
||||||
${lxqt-admin-time_SRCS}
|
|
||||||
${UIS}
|
|
||||||
${MOCS}
|
|
||||||
${DESKTOP_FILES}
|
|
||||||
${lxqt-admin-time_QM_FILES}
|
|
||||||
${lxqt-admin-time_QM_LOADER}
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(lxqt-admin-time
|
|
||||||
KF5::WindowSystem
|
|
||||||
Qt5::Widgets
|
|
||||||
lxqt
|
|
||||||
${OOBS_LIBRARIES}
|
|
||||||
)
|
|
||||||
|
|
||||||
install(TARGETS lxqt-admin-time RUNTIME DESTINATION bin)
|
|
||||||
install(FILES ${DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
|
@ -1,103 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#include "datetime.h"
|
|
||||||
#include "ui_datetime.h"
|
|
||||||
#include <QTime>
|
|
||||||
#include <QTimer>
|
|
||||||
#include <QTextCharFormat>
|
|
||||||
|
|
||||||
DateTime::DateTime(QWidget *parent) :
|
|
||||||
QWidget(parent),
|
|
||||||
ui(new Ui::DateTime)
|
|
||||||
{
|
|
||||||
ui->setupUi(this);
|
|
||||||
mTimer = new QTimer(this);
|
|
||||||
connect(mTimer,SIGNAL(timeout()),SLOT(timeout()));
|
|
||||||
|
|
||||||
|
|
||||||
//highlight today
|
|
||||||
QDate date = QDate::currentDate();
|
|
||||||
QTextCharFormat format = ui->calendar->dateTextFormat(date);
|
|
||||||
QBrush brush;
|
|
||||||
brush.setColor(Qt::green);
|
|
||||||
format.setBackground(brush);
|
|
||||||
ui->calendar->setDateTextFormat(date,format);
|
|
||||||
|
|
||||||
reload();
|
|
||||||
}
|
|
||||||
|
|
||||||
DateTime::~DateTime()
|
|
||||||
{
|
|
||||||
delete ui;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DateTime::timeout()
|
|
||||||
{
|
|
||||||
ui->edit_time->blockSignals(true);
|
|
||||||
ui->edit_time->setTime(QTime::currentTime());
|
|
||||||
ui->edit_time->blockSignals(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
void DateTime::reload()
|
|
||||||
{
|
|
||||||
ui->calendar->setSelectedDate(QDate::currentDate());
|
|
||||||
ui->edit_time->setTime(QTime::currentTime());
|
|
||||||
mTimer->start(1000);
|
|
||||||
|
|
||||||
mModified = 0;
|
|
||||||
emit changed(mModified);
|
|
||||||
}
|
|
||||||
|
|
||||||
void DateTime::on_edit_time_userTimeChanged(const QTime &time)
|
|
||||||
{
|
|
||||||
mModified |= M_TIME;
|
|
||||||
mTimer->stop();
|
|
||||||
|
|
||||||
emit changed(mModified);
|
|
||||||
}
|
|
||||||
|
|
||||||
QDateTime DateTime::dateTime() const
|
|
||||||
{
|
|
||||||
QDateTime dt(ui->calendar->selectedDate(),ui->edit_time->time());
|
|
||||||
return dt;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DateTime::on_calendar_selectionChanged()
|
|
||||||
{
|
|
||||||
QDate date = ui->calendar->selectedDate();
|
|
||||||
if (date != QDate::currentDate())
|
|
||||||
{
|
|
||||||
mModified |= M_DATE;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
mModified &= ~M_DATE;
|
|
||||||
}
|
|
||||||
|
|
||||||
emit changed(mModified);
|
|
||||||
}
|
|
@ -1,71 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#ifndef DATETIME_H
|
|
||||||
#define DATETIME_H
|
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
namespace Ui {
|
|
||||||
class DateTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
class DateTime : public QWidget
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit DateTime(QWidget *parent = 0);
|
|
||||||
~DateTime();
|
|
||||||
|
|
||||||
enum modified_enum {M_DATE = 0x1, M_TIME = 0x2};
|
|
||||||
Q_DECLARE_FLAGS(modified_t, modified_enum)
|
|
||||||
|
|
||||||
QDateTime dateTime() const;
|
|
||||||
inline modified_t modified() const {return mModified;}
|
|
||||||
|
|
||||||
public Q_SLOTS:
|
|
||||||
void reload();
|
|
||||||
|
|
||||||
|
|
||||||
private Q_SLOTS:
|
|
||||||
void on_edit_time_userTimeChanged(const QTime &time);
|
|
||||||
void timeout();
|
|
||||||
void on_calendar_selectionChanged();
|
|
||||||
|
|
||||||
Q_SIGNALS:
|
|
||||||
void changed(bool);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Ui::DateTime *ui;
|
|
||||||
QTimer * mTimer;
|
|
||||||
modified_t mModified;
|
|
||||||
};
|
|
||||||
|
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(DateTime::modified_t)
|
|
||||||
|
|
||||||
#endif // DATETIME_H
|
|
@ -1,100 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>DateTime</class>
|
|
||||||
<widget class="QWidget" name="DateTime">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>354</width>
|
|
||||||
<height>308</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>50</width>
|
|
||||||
<height>50</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_time">
|
|
||||||
<property name="text">
|
|
||||||
<string>Time:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QTimeEdit" name="edit_time">
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>400</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="currentSection">
|
|
||||||
<enum>QDateTimeEdit::HourSection</enum>
|
|
||||||
</property>
|
|
||||||
<property name="displayFormat">
|
|
||||||
<string>HH:mm:ss</string>
|
|
||||||
</property>
|
|
||||||
<property name="time">
|
|
||||||
<time>
|
|
||||||
<hour>0</hour>
|
|
||||||
<minute>0</minute>
|
|
||||||
<second>0</second>
|
|
||||||
</time>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="text">
|
|
||||||
<string>Date:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QCalendarWidget" name="calendar">
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>400</width>
|
|
||||||
<height>173</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<spacer name="verticalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></string>
|
|
||||||
</property>
|
|
||||||
<property name="wordWrap">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<resources/>
|
|
||||||
<connections/>
|
|
||||||
</ui>
|
|
@ -1,11 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Date and Time
|
|
||||||
GenericName=Date and Time Settings
|
|
||||||
Comment=Configure the date and time of your system
|
|
||||||
Exec=lxqt-admin-time
|
|
||||||
Icon=preferences-system
|
|
||||||
Categories=Settings;System;DesktopSettings;Qt;LXQt;
|
|
||||||
OnlyShowIn=LXQt;
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,39 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#include <LXQt/SingleApplication>
|
|
||||||
#include "timeadmindialog.h"
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
LXQt::SingleApplication app(argc, argv);
|
|
||||||
TimeAdminDialog dlg;
|
|
||||||
dlg.setWindowIcon(QIcon::fromTheme("preferences-system"));
|
|
||||||
app.setActivationWindow(&dlg);
|
|
||||||
dlg.show();
|
|
||||||
return app.exec();
|
|
||||||
}
|
|
@ -1,167 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#include "timeadmindialog.h"
|
|
||||||
#include <QLabel>
|
|
||||||
#include <QCloseEvent>
|
|
||||||
#include <QMessageBox>
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QMap>
|
|
||||||
|
|
||||||
#include "datetime.h"
|
|
||||||
#include "timezone.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define ZONETAB_PATH "/usr/share/zoneinfo/zone.tab"
|
|
||||||
|
|
||||||
TimeAdminDialog::TimeAdminDialog(QWidget *parent):
|
|
||||||
LXQt::ConfigDialog(tr("Time and date configuration"),new LXQt::Settings("TimeDate"), parent),
|
|
||||||
mTimeConfig(OOBS_TIME_CONFIG(oobs_time_config_get())),
|
|
||||||
mUserLogedIn(false)
|
|
||||||
{
|
|
||||||
oobs_object_update(OOBS_OBJECT(mTimeConfig));
|
|
||||||
|
|
||||||
setMinimumSize(QSize(400,400));
|
|
||||||
mWindowTitle = windowTitle();
|
|
||||||
|
|
||||||
|
|
||||||
mDateTimeWidget = new DateTime(this);
|
|
||||||
addPage(mDateTimeWidget,tr("Date and time"));
|
|
||||||
connect(this,SIGNAL(reset()),mDateTimeWidget,SLOT(reload()));
|
|
||||||
connect(mDateTimeWidget,&DateTime::changed,this,&TimeAdminDialog::onChanged);
|
|
||||||
mDateTimeWidget->setProperty("pModified",M_TIMEDATE);
|
|
||||||
|
|
||||||
QStringList zones;
|
|
||||||
QString currentZone;
|
|
||||||
loadTimeZones(zones,currentZone);
|
|
||||||
mTimezoneWidget = new Timezone(zones,currentZone,this);
|
|
||||||
addPage(mTimezoneWidget,tr("Timezone"));
|
|
||||||
connect(this,&TimeAdminDialog::reset,mTimezoneWidget,&Timezone::reload);
|
|
||||||
connect(mTimezoneWidget,&Timezone::changed,this,&TimeAdminDialog::onChanged);
|
|
||||||
mTimezoneWidget->setProperty("pModified",M_TIMEZONE);
|
|
||||||
}
|
|
||||||
|
|
||||||
TimeAdminDialog::~TimeAdminDialog()
|
|
||||||
{
|
|
||||||
if(mTimeConfig)
|
|
||||||
g_object_unref(mTimeConfig);
|
|
||||||
}
|
|
||||||
|
|
||||||
void TimeAdminDialog::onChanged(bool ch)
|
|
||||||
{
|
|
||||||
widgets_modified_enum flag = (widgets_modified_enum)
|
|
||||||
sender()->property("pModified").toUInt();
|
|
||||||
ch ? mWidgetsModified |= flag : mWidgetsModified &= ~flag;
|
|
||||||
showChangedStar();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void TimeAdminDialog::showChangedStar()
|
|
||||||
{
|
|
||||||
if (mWidgetsModified)
|
|
||||||
setWindowTitle(mWindowTitle + "*");
|
|
||||||
else
|
|
||||||
setWindowTitle(mWindowTitle);
|
|
||||||
}
|
|
||||||
|
|
||||||
void TimeAdminDialog::closeEvent(QCloseEvent *event)
|
|
||||||
{
|
|
||||||
//save changes to system
|
|
||||||
if (mWidgetsModified)
|
|
||||||
{
|
|
||||||
if (logInUser())
|
|
||||||
{
|
|
||||||
saveChangesToSystem();
|
|
||||||
event->accept();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
event->ignore();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void TimeAdminDialog::loadTimeZones(QStringList & timeZones, QString & currentTimezone)
|
|
||||||
{
|
|
||||||
timeZones.clear();
|
|
||||||
QFile file(ZONETAB_PATH);
|
|
||||||
if(file.open(QIODevice::ReadOnly))
|
|
||||||
{
|
|
||||||
QByteArray line;
|
|
||||||
while(!file.atEnd())
|
|
||||||
{
|
|
||||||
line = file.readLine().trimmed();
|
|
||||||
if(line.isEmpty() || line[0] == '#') // skip comments or empty lines
|
|
||||||
continue;
|
|
||||||
QList<QByteArray> items = line.split('\t');
|
|
||||||
if(items.length() <= 2)
|
|
||||||
continue;
|
|
||||||
timeZones.append(QLatin1String(items[2]));
|
|
||||||
}
|
|
||||||
file.close();
|
|
||||||
}
|
|
||||||
currentTimezone = QString::fromLatin1(oobs_time_config_get_timezone(mTimeConfig));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void TimeAdminDialog::saveChangesToSystem()
|
|
||||||
{
|
|
||||||
QByteArray timeZone = mTimezoneWidget->timezone().toLatin1();
|
|
||||||
// FIXME: currently timezone settings does not work. is this a bug of system-tools-backend?
|
|
||||||
if(!timeZone.isEmpty() && mWidgetsModified.testFlag(M_TIMEZONE))
|
|
||||||
oobs_time_config_set_timezone(mTimeConfig, timeZone.constData());
|
|
||||||
|
|
||||||
if(mWidgetsModified.testFlag(M_TIMEDATE))
|
|
||||||
{
|
|
||||||
QDate d = mDateTimeWidget->dateTime().date();
|
|
||||||
QTime t = mDateTimeWidget->dateTime().time();
|
|
||||||
// oobs seems to use 0 based month
|
|
||||||
oobs_time_config_set_time(mTimeConfig, d.year(), d.month() - 1, d.day(), t.hour(), t.minute(), t.second());
|
|
||||||
}
|
|
||||||
oobs_object_commit(OOBS_OBJECT(mTimeConfig));
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TimeAdminDialog::logInUser()
|
|
||||||
{
|
|
||||||
if (mUserLogedIn)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
GError* err = NULL;
|
|
||||||
if(oobs_object_authenticate(OOBS_OBJECT(mTimeConfig), &err))
|
|
||||||
{
|
|
||||||
mUserLogedIn = true;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else if(err)
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Authentication Error"), QString::fromUtf8(err->message));
|
|
||||||
g_error_free(err);
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
@ -1,71 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#include <LXQt/ConfigDialog>
|
|
||||||
#include <glib.h>
|
|
||||||
#include <oobs/oobs-timeconfig.h>
|
|
||||||
#include <oobs/oobs-ntpconfig.h>
|
|
||||||
#include <oobs/oobs-ntpserver.h>
|
|
||||||
|
|
||||||
class DateTime;
|
|
||||||
class Timezone;
|
|
||||||
|
|
||||||
class TimeAdminDialog: public LXQt::ConfigDialog
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
TimeAdminDialog(QWidget * parent = NULL) ;
|
|
||||||
~TimeAdminDialog();
|
|
||||||
|
|
||||||
|
|
||||||
typedef enum {M_TIMEDATE = 1 , M_TIMEZONE = 0x2} widgets_modified_enum;
|
|
||||||
Q_DECLARE_FLAGS(widgets_modified_t, widgets_modified_enum)
|
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void closeEvent(QCloseEvent * event);
|
|
||||||
|
|
||||||
private Q_SLOTS:
|
|
||||||
void onChanged(bool);
|
|
||||||
|
|
||||||
private:
|
|
||||||
bool logInUser();
|
|
||||||
void saveChangesToSystem();
|
|
||||||
void loadTimeZones(QStringList & timeZones, QString & currentTimezone);
|
|
||||||
void showChangedStar();
|
|
||||||
|
|
||||||
private:
|
|
||||||
OobsTimeConfig* mTimeConfig;
|
|
||||||
DateTime * mDateTimeWidget;
|
|
||||||
Timezone * mTimezoneWidget;
|
|
||||||
bool mUserLogedIn;
|
|
||||||
QString mWindowTitle;
|
|
||||||
widgets_modified_t mWidgetsModified;
|
|
||||||
};
|
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(TimeAdminDialog::widgets_modified_enum)
|
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(TimeAdminDialog::widgets_modified_t)
|
|
@ -1,88 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#include "timezone.h"
|
|
||||||
#include "ui_timezone.h"
|
|
||||||
|
|
||||||
Timezone::Timezone(const QStringList & zones, const QString & currentimezone, QWidget *parent) :
|
|
||||||
QWidget(parent),
|
|
||||||
ui(new Ui::Timezone),
|
|
||||||
mZoneChanged(false),
|
|
||||||
mZonesList(zones)
|
|
||||||
{
|
|
||||||
ui->setupUi(this);
|
|
||||||
|
|
||||||
if (!currentimezone.isEmpty())
|
|
||||||
ui->label_timezone->setText(currentimezone);
|
|
||||||
else
|
|
||||||
ui->label_timezone->setText(tr("None"));
|
|
||||||
|
|
||||||
mZonesList.sort();
|
|
||||||
ui->list_zones->addItems(mZonesList);
|
|
||||||
|
|
||||||
reload();
|
|
||||||
}
|
|
||||||
|
|
||||||
Timezone::~Timezone()
|
|
||||||
{
|
|
||||||
delete ui;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Timezone::reload()
|
|
||||||
{
|
|
||||||
ui->list_zones->setCurrentRow(-1);
|
|
||||||
mZoneChanged = false;
|
|
||||||
QList<QListWidgetItem *> list = ui->list_zones->findItems(ui->label_timezone->text(),Qt::MatchExactly);
|
|
||||||
if (list.count())
|
|
||||||
ui->list_zones->setCurrentItem(list.at(0));
|
|
||||||
|
|
||||||
emit changed(mZoneChanged);
|
|
||||||
}
|
|
||||||
|
|
||||||
QString Timezone::timezone() const
|
|
||||||
{
|
|
||||||
if (ui->list_zones->currentItem())
|
|
||||||
return ui->list_zones->currentItem()->text();
|
|
||||||
else
|
|
||||||
return QString();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Timezone::on_list_zones_itemActivated(QListWidgetItem * item)
|
|
||||||
{
|
|
||||||
bool old = mZoneChanged;
|
|
||||||
mZoneChanged = item->text() != ui->label_timezone->text();
|
|
||||||
|
|
||||||
if (mZoneChanged != old)
|
|
||||||
emit changed(mZoneChanged);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Timezone::on_edit_filter_textChanged(const QString &arg1)
|
|
||||||
{
|
|
||||||
QRegExp reg(arg1, Qt::CaseInsensitive,QRegExp::Wildcard);
|
|
||||||
ui->list_zones->clear();
|
|
||||||
ui->list_zones->addItems(mZonesList.filter(reg));
|
|
||||||
}
|
|
@ -1,65 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#ifndef TIMEZONE_H
|
|
||||||
#define TIMEZONE_H
|
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
namespace Ui {
|
|
||||||
class Timezone;
|
|
||||||
}
|
|
||||||
|
|
||||||
class QListWidgetItem;
|
|
||||||
class Timezone : public QWidget
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit Timezone(const QStringList & zones, const QString & currentimezone, QWidget *parent = 0);
|
|
||||||
~Timezone();
|
|
||||||
QString timezone() const;
|
|
||||||
inline bool isChanged() const {return mZoneChanged;}
|
|
||||||
|
|
||||||
public slots:
|
|
||||||
void reload();
|
|
||||||
|
|
||||||
Q_SIGNALS:
|
|
||||||
void changed(bool);
|
|
||||||
|
|
||||||
private slots:
|
|
||||||
void on_list_zones_itemActivated(QListWidgetItem *item);
|
|
||||||
void on_edit_filter_textChanged(const QString &arg1);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Ui::Timezone *ui;
|
|
||||||
bool mZoneChanged;
|
|
||||||
QString mCurrentTimeZone;
|
|
||||||
QStringList mZonesList;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // TIMEZONE_H
|
|
@ -1,65 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>Timezone</class>
|
|
||||||
<widget class="QWidget" name="Timezone">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>400</width>
|
|
||||||
<height>300</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
|
||||||
<item>
|
|
||||||
<layout class="QFormLayout" name="formLayout">
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="text">
|
|
||||||
<string>Your current timezone:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QLabel" name="label_timezone">
|
|
||||||
<property name="text">
|
|
||||||
<string>TextLabel</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLineEdit" name="edit_filter">
|
|
||||||
<property name="placeholderText">
|
|
||||||
<string>Filter</string>
|
|
||||||
</property>
|
|
||||||
<property name="clearButtonEnabled">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QListWidget" name="list_zones"/>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></string>
|
|
||||||
</property>
|
|
||||||
<property name="wordWrap">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<resources/>
|
|
||||||
<connections/>
|
|
||||||
</ui>
|
|
@ -1,78 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="23"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="53"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="89"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="19"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="54"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[de]=Datum und Zeit
|
|
||||||
GenericName[de]=Einstellungen für Datum und Zeit
|
|
||||||
Comment[de]=Konfiguriert das Datum und die Zeit des Systems
|
|
@ -1,79 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="de">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="23"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Zeit:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translatorcomment>No need to translate.</translatorcomment>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="53"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Datum:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="89"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Das Sichern der Einstellungen benötigt Administrator-Rechte.<br>Nach dem Betätigen der Schließen-Schaltfläche wird die Berechtigung eingeholt.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Zeit und Datum einstellen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Datum und Zeit</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Zeitzone</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Authentifizierungsfehler</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="19"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>Derzeitige Zeitzone:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation>Textfeld</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Filter</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="54"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Das Sichern der Einstellungen benötigt Administrator-Rechte.<br>Nach dem Betätigen der Schließen-Schaltfläche wird die Berechtigung eingeholt.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>Keine</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,3 +0,0 @@
|
|||||||
Name[el]=Ημερομηνία και ώρα
|
|
||||||
GenericName[el]=Ρυθμίσεις της ημερομηνίας και της ώρας
|
|
||||||
Comment[el]=Διαμόρφωση της ημερομηνίας και της ώρας του συστήματός σας
|
|
@ -1,78 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="el">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="23"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Ώρα:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation>HH:mm:ss</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="53"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Ημερομηνία:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="89"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Η αποθήκευση των αλλαγών απαιτεί δικαιώματα διαχειριστή.<br>Θα ερωτηθείτε αφού κάνετε κλικ στο κουμπί του κλεισίματος</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Διαμόρφωση της ώρας και της ημερομηνίας</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Ημερομηνία και ώρα</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Ωρολογιακή ζώνη</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Σφάλμα πιστοποίησης</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="19"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>Η τρέχουσα ζώνη ώρας:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation>Ετικέτα κειμένου</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Φίλτρο</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="54"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Η αποθήκευση των αλλαγών απαιτεί δικαιώματα διαχειριστή.<br>Θα ερωτηθείτε αφού κάνετε κλικ στο κουμπί του κλεισίματος</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>Καμία</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,98 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="hr_HR">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="20"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation type="unfinished">Postavke datuma i vremena</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation type="unfinished">Vrijeme:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation type="unfinished">HH:mm:ss</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation type="unfinished">Nadnevak</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation type="unfinished"><html><head/><body><p>Spremanje pronjena zahtjeva adminstracijske dozvole.<br>Biti će zatražene nakon što kliknete na dugme zatvori</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation type="unfinished">Konfiguracija vremena i nadnevka</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation type="unfinished">Nadnevak i vrijeme</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation type="unfinished">Vremenska zona</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="14"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation type="unfinished">Postavljanje vremenske zone</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation type="unfinished">Vaša trenutna vremenska zona</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="42"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation type="unfinished"><html><head/><body><p>Spremanje pronjena zahtjeva adminstracijske dozvole.<br>Biti će zatražene nakon što kliknete na dugme zatvori</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation type="unfinished">Nijedan</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[hu]=Dátum és idő
|
|
||||||
GenericName[hu]=Dátum és időbeállítás
|
|
||||||
Comment[hu]=A rendszeridő beállítása
|
|
@ -1,98 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="hu_HU">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="20"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation>Űrlap</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation>Dátum és időbeállítás</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Idő:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Dátum:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Változtatások csak rendszergazdaként menthetők,<br>jelszóbekérés a kilépés után.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Dátum és időbeállítások</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Dátum és idő</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Időzóna</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Hitelesítési hiba</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="14"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation>Űrlap</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation>Időzóna beállítás</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>Mostani időzóna:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="42"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation>Szövegcím</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Szűrő</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Változtatások csak rendszergazdaként menthetők,<br>jelszóbekérés a kilépés után.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>Nincs</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,3 +0,0 @@
|
|||||||
#Translations
|
|
||||||
Name[it]=Data e ora
|
|
||||||
Comment[it]=Configura la data e l'ora del sistema
|
|
@ -1,100 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="it_IT" sourcelanguage="it_IT">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="20"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation>Imposta data e ora</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Ora:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Data:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation>Il salvataggio richiede privilegi di amministratore,
|
|
||||||
saranno chiesti dopo la chiusura di questa finestra.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Configura data e ora</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Data e ora</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Fuso orario</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Errore di autenticazione</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="14"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation>Configura fuso orario</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>Fuso orario attuale:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="42"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation>nessuno</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Filtro</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation type="unfinished">Il salvataggio richiede privilegi di amministratore,
|
|
||||||
saranno chiesti dopo la chiusura di questa finestra.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name[ja]=日時設定
|
|
||||||
GenericName[ja]=日時の設定
|
|
||||||
Comment[ja]=システムに日付と時刻を設定します
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,98 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="ja">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="20"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation>フォーム</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation>日時設定</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>時刻:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation>HH:mm:ss</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>日付</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>変更の保存には管理権限が必要です。<br>閉じるボタンを押した直後に要求されるでしょう。</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>日時設定</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>日時</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>タイムゾーン</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>認証エラー</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="14"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation>フォーム</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation>タイムゾーン設定</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>現在のタイムゾーン</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="42"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation>テキストラベル</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>フィルター</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>変更の保存には管理権限が必要です。<br>閉じるボタンを押した直後に要求されるでしょう。</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>なし</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[pl]=Data i czas
|
|
||||||
GenericName[pl]=Ustawienia daty i czasu
|
|
||||||
|
|
@ -1,98 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="pl_PL">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="20"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation>Konfiguracja daty i czasu</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Czas:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Data:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation type="unfinished"><html><head/><body><p>Zapisywanie zmian wymaga uprawnień administratora.<br>Zostaniesz poproszony o hasło.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Konfiguracja daty i czasu</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Data i czas</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Strefa czasowa</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Błąd autoryzacji</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="14"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation>Ustawienia strefy czasowej</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>Twoja aktualna strefa czasowa:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="42"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Filtr</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation type="unfinished"><html><head/><body><p>Zapisywanie zmian wymaga uprawnień administratora.<br>Zostaniesz poproszony o hasło.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>Żadna</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[pt]=Data e hora
|
|
||||||
GenericName[pt]=Definições de data e hora
|
|
||||||
Comment[pt]=Configurar a data e a hora do seu sistema
|
|
@ -1,98 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.0" language="pt">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="20"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation>Formulário</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation>Configuração de data e hora</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Hora:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation>H:mm:ss</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Data:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>A gravação de alterações requer permissões de administrador.<br>A senha será solicitada ao clicar em Fechar.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Configuração de data e hora</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Data e hora</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Fuso horário</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Erro de autenticação</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="14"/>
|
|
||||||
<source>Form</source>
|
|
||||||
<translation>Formulário</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation>Configuração de fuso horário</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>O seu fuso horário:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="42"/>
|
|
||||||
<source>TextLabel</source>
|
|
||||||
<translation>Texto</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Filtrar</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>A gravação de alterações requer permissões de administrador.<br>A senha será solicitada ao clicar em Fechar.</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>Nenhum</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name[ru]=Дата и время
|
|
||||||
GenericName[ru]=Настройки даты и времени
|
|
||||||
Comment[ru]=Настроить дату и время вашей системы
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,83 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="ru">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation>Настройка даты и времени</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Время:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation>ЧЧ:мм:сс</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Дата:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Для сохранения изменений необходимы права администратора.<br>Пароль будет запрошен после нажатия на кнопку «Закрыть»</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Настройки даты и времени</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Дата и время</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Часовой пояс</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Ошибка аутентификации</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation>Настройки часового пояса</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>Ваш текущий часовой пояс:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Фильтр</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Для сохранения изменений необходимы права администратора.<br>Пароль будет запрошен после нажатия на кнопку «Закрыть»</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>Нет</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name[ru_RU]=Дата и время
|
|
||||||
GenericName[ru_RU]=Настройки даты и времени
|
|
||||||
Comment[ru_RU]=Настроить дату и время вашей системы
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,83 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="ru_RU">
|
|
||||||
<context>
|
|
||||||
<name>DateTime</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="32"/>
|
|
||||||
<source>Time and date setup</source>
|
|
||||||
<translation>Настройка даты и времени</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="39"/>
|
|
||||||
<source>Time:</source>
|
|
||||||
<translation>Время:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="55"/>
|
|
||||||
<source>HH:mm:ss</source>
|
|
||||||
<translation>ЧЧ:мм:сс</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="69"/>
|
|
||||||
<source>Date:</source>
|
|
||||||
<translation>Дата:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../datetime.ui" line="105"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Для сохранения изменений необходимы права администратора.<br>Пароль будет запрошен после нажатия на кнопку «Закрыть»</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>TimeAdminDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="42"/>
|
|
||||||
<source>Time and date configuration</source>
|
|
||||||
<translation>Настройки даты и времени</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="53"/>
|
|
||||||
<source>Date and time</source>
|
|
||||||
<translation>Дата и время</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="62"/>
|
|
||||||
<source>Timezone</source>
|
|
||||||
<translation>Часовой пояс</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timeadmindialog.cpp" line="162"/>
|
|
||||||
<source>Authentication Error</source>
|
|
||||||
<translation>Ошибка аутентификации</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>Timezone</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="26"/>
|
|
||||||
<source>Timezone setup</source>
|
|
||||||
<translation>Настройки часового пояса</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="35"/>
|
|
||||||
<source>Your current timezone:</source>
|
|
||||||
<translation>Ваш текущий часовой пояс:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="51"/>
|
|
||||||
<source>Filter</source>
|
|
||||||
<translation>Фильтр</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.ui" line="70"/>
|
|
||||||
<source><html><head/><body><p>Saving changes requires admin permissions.<br>You will be requested after clicking close button</p></body></html></source>
|
|
||||||
<translation><html><head/><body><p>Для сохранения изменений необходимы права администратора.<br>Пароль будет запрошен после нажатия на кнопку «Закрыть»</p></body></html></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../timezone.cpp" line="42"/>
|
|
||||||
<source>None</source>
|
|
||||||
<translation>Нет</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,66 +0,0 @@
|
|||||||
project(lxqt-admin-user)
|
|
||||||
|
|
||||||
# build static helper class first
|
|
||||||
include_directories (
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
${OOBS_INCLUDE_DIRS}
|
|
||||||
)
|
|
||||||
|
|
||||||
set ( lxqt-admin-user_SRCS
|
|
||||||
main.cpp
|
|
||||||
mainwindow.cpp
|
|
||||||
userdialog.cpp
|
|
||||||
groupdialog.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
set ( lxqt-admin-user_MOCS
|
|
||||||
mainwindow.h
|
|
||||||
userdialog.h
|
|
||||||
groupdialog.h
|
|
||||||
)
|
|
||||||
|
|
||||||
set( lxqt-admin-user_UIS
|
|
||||||
mainwindow.ui
|
|
||||||
userdialog.ui
|
|
||||||
groupdialog.ui
|
|
||||||
)
|
|
||||||
|
|
||||||
qt5_wrap_cpp(MOCS ${lxqt-admin-user_MOCS})
|
|
||||||
qt5_wrap_ui(UIS ${lxqt-admin-user_UIS})
|
|
||||||
|
|
||||||
# Translations **********************************
|
|
||||||
lxqt_translate_ts(lxqt-admin-user_QM_FILES
|
|
||||||
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
|
|
||||||
SOURCES
|
|
||||||
${lxqt-admin-user_MOCS}
|
|
||||||
${lxqt-admin-user_SRCS}
|
|
||||||
${lxqt-admin-user_UIS}
|
|
||||||
INSTALL_DIR
|
|
||||||
"${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
|
|
||||||
)
|
|
||||||
|
|
||||||
lxqt_translate_desktop(DESKTOP_FILES
|
|
||||||
SOURCES
|
|
||||||
lxqt-admin-user.desktop.in
|
|
||||||
)
|
|
||||||
lxqt_app_translation_loader(lxqt-admin-user_QM_LOADER ${PROJECT_NAME})
|
|
||||||
#************************************************
|
|
||||||
|
|
||||||
add_executable(lxqt-admin-user
|
|
||||||
${lxqt-admin-user_SRCS}
|
|
||||||
${UIS}
|
|
||||||
${MOCS}
|
|
||||||
${DESKTOP_FILES}
|
|
||||||
${lxqt-admin-user_QM_FILES}
|
|
||||||
${lxqt-admin-user_QM_LOADER}
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(lxqt-admin-user
|
|
||||||
KF5::WindowSystem
|
|
||||||
Qt5::Widgets
|
|
||||||
lxqt
|
|
||||||
${OOBS_LIBRARIES}
|
|
||||||
)
|
|
||||||
|
|
||||||
install(TARGETS lxqt-admin-user RUNTIME DESTINATION bin)
|
|
||||||
install(FILES ${DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
|
@ -1,130 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.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
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "groupdialog.h"
|
|
||||||
#include <QMessageBox>
|
|
||||||
|
|
||||||
#define DEFAULT_GID_MIN 1000
|
|
||||||
#define DEFAULT_GID_MAX 32768
|
|
||||||
|
|
||||||
GroupDialog::GroupDialog(OobsGroup *group, QWidget *parent, Qt::WindowFlags f):
|
|
||||||
QDialog(parent, f),
|
|
||||||
mGroup(group ? OOBS_GROUP(g_object_ref(group)) : NULL)
|
|
||||||
{
|
|
||||||
ui.setupUi(this);
|
|
||||||
|
|
||||||
OobsGroupsConfig* groupsConfig = OOBS_GROUPS_CONFIG(oobs_groups_config_get());
|
|
||||||
if(group) // edit an exiting group
|
|
||||||
{
|
|
||||||
ui.groupName->setReadOnly(true);
|
|
||||||
ui.groupName->setText(oobs_group_get_name(group));
|
|
||||||
mOldGId = oobs_group_get_gid(group);
|
|
||||||
ui.gid->setValue(mOldGId);
|
|
||||||
}
|
|
||||||
else // create a new group
|
|
||||||
{
|
|
||||||
mOldGId = -1;
|
|
||||||
ui.gid->setValue(oobs_groups_config_find_free_gid(groupsConfig, DEFAULT_GID_MIN, DEFAULT_GID_MAX));
|
|
||||||
}
|
|
||||||
|
|
||||||
GList* groupUsers = oobs_group_get_users(mGroup); // all users in this group
|
|
||||||
// load all users
|
|
||||||
OobsUsersConfig* usersConfig = OOBS_USERS_CONFIG(oobs_users_config_get());
|
|
||||||
OobsList* users = oobs_users_config_get_users(usersConfig);
|
|
||||||
if(users)
|
|
||||||
{
|
|
||||||
OobsListIter it;
|
|
||||||
gboolean valid = oobs_list_get_iter_first(users, &it);
|
|
||||||
while(valid)
|
|
||||||
{
|
|
||||||
OobsUser* user = OOBS_USER(oobs_list_get(users, &it));
|
|
||||||
QListWidgetItem* item = new QListWidgetItem();
|
|
||||||
item->setText(oobs_user_get_login_name(user));
|
|
||||||
item->setFlags(Qt::ItemIsEnabled|Qt::ItemIsUserCheckable|Qt::ItemIsSelectable);
|
|
||||||
if(g_list_find(groupUsers, user)) // the user is in this group
|
|
||||||
item->setCheckState(Qt::Checked);
|
|
||||||
else
|
|
||||||
item->setCheckState(Qt::Unchecked);
|
|
||||||
QVariant obj = QVariant::fromValue<void*>(user);
|
|
||||||
item->setData(Qt::UserRole, obj);
|
|
||||||
ui.userList->addItem(item);
|
|
||||||
valid = oobs_list_iter_next(users, &it);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
g_list_free(groupUsers);
|
|
||||||
}
|
|
||||||
|
|
||||||
GroupDialog::~GroupDialog()
|
|
||||||
{
|
|
||||||
if(mGroup)
|
|
||||||
g_object_unref(mGroup);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GroupDialog::accept()
|
|
||||||
{
|
|
||||||
OobsGroupsConfig* groupsConfig = OOBS_GROUPS_CONFIG(oobs_groups_config_get());
|
|
||||||
gid_t gid = ui.gid->value();
|
|
||||||
if(gid != mOldGId && oobs_groups_config_is_gid_used(groupsConfig, gid))
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Error"), tr("The group ID is in use."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!mGroup) // create a new group
|
|
||||||
{
|
|
||||||
QByteArray groupName = ui.groupName->text().toLatin1();
|
|
||||||
if(groupName.isEmpty())
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Error"), tr("The group name cannot be empty."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(oobs_groups_config_is_name_used(groupsConfig, groupName))
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Error"), tr("The group name is in use."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mGroup = oobs_group_new(groupName);
|
|
||||||
}
|
|
||||||
oobs_group_set_gid(mGroup, gid);
|
|
||||||
|
|
||||||
// update users
|
|
||||||
GList* groupUsers = oobs_group_get_users(mGroup); // all users in this group
|
|
||||||
int rowCount = ui.userList->count();
|
|
||||||
for(int row = 0; row < rowCount; ++row)
|
|
||||||
{
|
|
||||||
QListWidgetItem* item = ui.userList->item(row);
|
|
||||||
QVariant obj = item->data(Qt::UserRole);
|
|
||||||
OobsUser* user = OOBS_USER(obj.value<void*>());
|
|
||||||
if(g_list_find(groupUsers, user)) // the user belongs to this group previously
|
|
||||||
{
|
|
||||||
if(item->checkState() == Qt::Unchecked) // it's unchecked, remove it
|
|
||||||
oobs_group_remove_user(mGroup, user);
|
|
||||||
}
|
|
||||||
else // the user does not belong to this group previously
|
|
||||||
{
|
|
||||||
if(item->checkState() == Qt::Checked) // it's checked, we want it!
|
|
||||||
oobs_group_add_user(mGroup, user);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
g_list_free(groupUsers);
|
|
||||||
|
|
||||||
oobs_object_commit(OOBS_OBJECT(mGroup));
|
|
||||||
QDialog::accept();
|
|
||||||
}
|
|
@ -1,54 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.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
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef GROUPDIALOG_H
|
|
||||||
#define GROUPDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
|
||||||
#include "ui_groupdialog.h"
|
|
||||||
#include <glib.h>
|
|
||||||
#include <oobs/oobs-usersconfig.h>
|
|
||||||
#include <oobs/oobs-groupsconfig.h>
|
|
||||||
|
|
||||||
class GroupDialog : public QDialog
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
GroupDialog(OobsGroup* group = NULL, QWidget *parent = NULL, Qt::WindowFlags f = 0);
|
|
||||||
~GroupDialog();
|
|
||||||
|
|
||||||
OobsGroup* group()
|
|
||||||
{
|
|
||||||
return mGroup;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual void accept();
|
|
||||||
|
|
||||||
private:
|
|
||||||
bool hasUser(OobsUser* user);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Ui::GroupDialog ui;
|
|
||||||
OobsGroup* mGroup;
|
|
||||||
gid_t mOldGId;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // GROUPDIALOG_H
|
|
@ -1,105 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>GroupDialog</class>
|
|
||||||
<widget class="QDialog" name="GroupDialog">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>400</width>
|
|
||||||
<height>360</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>Group Settings</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QFormLayout" name="formLayout">
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="text">
|
|
||||||
<string>Group name:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QLineEdit" name="groupName"/>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1">
|
|
||||||
<widget class="QSpinBox" name="gid">
|
|
||||||
<property name="maximum">
|
|
||||||
<number>32768</number>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="0">
|
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="text">
|
|
||||||
<string>Group ID:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0" colspan="2">
|
|
||||||
<widget class="QLabel" name="label_3">
|
|
||||||
<property name="text">
|
|
||||||
<string>Users belong to this group:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="3" column="0" colspan="2">
|
|
||||||
<widget class="QListWidget" name="userList">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>1</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="4" column="0" colspan="2">
|
|
||||||
<widget class="QDialogButtonBox" name="buttonBox">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="standardButtons">
|
|
||||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<resources/>
|
|
||||||
<connections>
|
|
||||||
<connection>
|
|
||||||
<sender>buttonBox</sender>
|
|
||||||
<signal>accepted()</signal>
|
|
||||||
<receiver>GroupDialog</receiver>
|
|
||||||
<slot>accept()</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>248</x>
|
|
||||||
<y>254</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>157</x>
|
|
||||||
<y>274</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>buttonBox</sender>
|
|
||||||
<signal>rejected()</signal>
|
|
||||||
<receiver>GroupDialog</receiver>
|
|
||||||
<slot>reject()</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>316</x>
|
|
||||||
<y>260</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>286</x>
|
|
||||||
<y>274</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
</connections>
|
|
||||||
</ui>
|
|
@ -1,11 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Users and Groups
|
|
||||||
GenericName=User and Group Settings
|
|
||||||
Comment=Configure the users and groups of your system
|
|
||||||
Exec=lxqt-admin-user
|
|
||||||
Icon=preferences-system
|
|
||||||
Categories=Settings;System;DesktopSettings;Qt;LXQt;
|
|
||||||
OnlyShowIn=LXQt;
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,39 +0,0 @@
|
|||||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
|
||||||
* (c)LGPL2+
|
|
||||||
*
|
|
||||||
* LXQt - a lightweight, Qt based, desktop toolset
|
|
||||||
* http://lxqt.org
|
|
||||||
*
|
|
||||||
* Copyright: 2014 LXQt team
|
|
||||||
* Authors:
|
|
||||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
|
||||||
*
|
|
||||||
* This program or library is free software; you can redistribute it
|
|
||||||
* and/or modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU Lesser General
|
|
||||||
* Public License along with this library; if not, write to the
|
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*
|
|
||||||
* END_COMMON_COPYRIGHT_HEADER */
|
|
||||||
|
|
||||||
#include <LXQt/SingleApplication>
|
|
||||||
#include "mainwindow.h"
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
LXQt::SingleApplication app(argc, argv);
|
|
||||||
MainWindow window;
|
|
||||||
window.setWindowIcon(QIcon::fromTheme("preferences-system"));
|
|
||||||
app.setActivationWindow(&window);
|
|
||||||
window.show();
|
|
||||||
return app.exec();
|
|
||||||
}
|
|
@ -1,249 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.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
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "mainwindow.h"
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QMessageBox>
|
|
||||||
#include "userdialog.h"
|
|
||||||
#include "groupdialog.h"
|
|
||||||
|
|
||||||
MainWindow::MainWindow():
|
|
||||||
QMainWindow(),
|
|
||||||
mUsersConfig(OOBS_USERS_CONFIG(oobs_users_config_get())),
|
|
||||||
mGroupsConfig(OOBS_GROUPS_CONFIG(oobs_groups_config_get()))
|
|
||||||
{
|
|
||||||
ui.setupUi(this);
|
|
||||||
connect(ui.actionAdd, SIGNAL(triggered(bool)), SLOT(onAdd()));
|
|
||||||
connect(ui.actionDelete, SIGNAL(triggered(bool)), SLOT(onDelete()));
|
|
||||||
connect(ui.actionProperties, SIGNAL(triggered(bool)), SLOT(onEditProperties()));
|
|
||||||
connect(ui.actionRefresh, SIGNAL(triggered(bool)), SLOT(onRefresh()));
|
|
||||||
|
|
||||||
onRefresh(); // load the settings
|
|
||||||
|
|
||||||
g_signal_connect(mUsersConfig, "changed" , G_CALLBACK(onUsersConfigChanged), this);
|
|
||||||
g_signal_connect(mGroupsConfig, "changed" , G_CALLBACK(onGroupsConfigChanged), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
if(mUsersConfig)
|
|
||||||
{
|
|
||||||
g_signal_handlers_disconnect_by_func(mUsersConfig, (void*)G_CALLBACK(onUsersConfigChanged), this);
|
|
||||||
g_object_unref(mUsersConfig);
|
|
||||||
}
|
|
||||||
if(mGroupsConfig)
|
|
||||||
g_object_unref(mGroupsConfig);
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::loadUsers()
|
|
||||||
{
|
|
||||||
ui.userList->clear();
|
|
||||||
OobsList* users = oobs_users_config_get_users(mUsersConfig);
|
|
||||||
if(users)
|
|
||||||
{
|
|
||||||
OobsListIter it;
|
|
||||||
gboolean valid = oobs_list_get_iter_first(users, &it);
|
|
||||||
while(valid)
|
|
||||||
{
|
|
||||||
GObject* obj = oobs_list_get(users, &it);
|
|
||||||
OobsUser* user = OOBS_USER(obj);
|
|
||||||
uid_t uid = oobs_user_get_uid(user);
|
|
||||||
if(uid > 499 && oobs_user_get_shell(user)) // exclude system users
|
|
||||||
{
|
|
||||||
QString fullName = QString::fromUtf8(oobs_user_get_full_name(user));
|
|
||||||
QString loginName = QString::fromLatin1(oobs_user_get_login_name(user));
|
|
||||||
QString homeDir = QString::fromLocal8Bit(oobs_user_get_home_directory(user));
|
|
||||||
QString groupName;
|
|
||||||
OobsGroup* group = oobs_user_get_main_group(user);
|
|
||||||
if(group)
|
|
||||||
groupName = QString::fromLatin1(oobs_group_get_name(group));
|
|
||||||
|
|
||||||
QTreeWidgetItem* item = new QTreeWidgetItem();
|
|
||||||
item->setData(0, Qt::DisplayRole, loginName);
|
|
||||||
QVariant obj = QVariant::fromValue<void*>(user);
|
|
||||||
item->setData(0, Qt::UserRole, obj);
|
|
||||||
item->setData(1, Qt::DisplayRole, uid);
|
|
||||||
item->setData(2, Qt::DisplayRole, fullName);
|
|
||||||
item->setData(3, Qt::DisplayRole, groupName);
|
|
||||||
item->setData(4, Qt::DisplayRole, homeDir);
|
|
||||||
ui.userList->addTopLevelItem(item);
|
|
||||||
}
|
|
||||||
valid = oobs_list_iter_next(users, &it);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::loadGroups()
|
|
||||||
{
|
|
||||||
ui.groupList->clear();
|
|
||||||
// load groups
|
|
||||||
OobsList* groups = oobs_groups_config_get_groups(mGroupsConfig);
|
|
||||||
if(groups)
|
|
||||||
{
|
|
||||||
OobsListIter it;
|
|
||||||
gboolean valid = oobs_list_get_iter_first(groups, &it);
|
|
||||||
while(valid)
|
|
||||||
{
|
|
||||||
OobsGroup* group = OOBS_GROUP(oobs_list_get(groups, &it));
|
|
||||||
QTreeWidgetItem* item = new QTreeWidgetItem();
|
|
||||||
item->setData(0, Qt::DisplayRole, QString::fromLatin1(oobs_group_get_name(group)));
|
|
||||||
QVariant obj = QVariant::fromValue<void*>(group);
|
|
||||||
item->setData(0, Qt::UserRole, obj);
|
|
||||||
item->setData(1, Qt::DisplayRole, oobs_group_get_gid(group));
|
|
||||||
ui.groupList->addTopLevelItem(item);
|
|
||||||
valid = oobs_list_iter_next(groups, &it);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
OobsUser *MainWindow::userFromItem(QTreeWidgetItem *item)
|
|
||||||
{
|
|
||||||
if(item)
|
|
||||||
{
|
|
||||||
QVariant obj = item->data(0, Qt::UserRole);
|
|
||||||
OobsUser* user = OOBS_USER(obj.value<void*>());
|
|
||||||
return user;
|
|
||||||
}
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
OobsGroup* MainWindow::groupFromItem(QTreeWidgetItem *item)
|
|
||||||
{
|
|
||||||
if(item)
|
|
||||||
{
|
|
||||||
QVariant obj = item->data(0, Qt::UserRole);
|
|
||||||
return OOBS_GROUP(obj.value<void*>());
|
|
||||||
}
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
bool MainWindow::authenticate(T *obj)
|
|
||||||
{
|
|
||||||
GError* err = NULL;
|
|
||||||
if(!oobs_object_authenticate(OOBS_OBJECT(obj), &err))
|
|
||||||
{
|
|
||||||
if(err)
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Error"), QString::fromUtf8(err->message));
|
|
||||||
g_error_free(err);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::onAdd()
|
|
||||||
{
|
|
||||||
if(ui.tabWidget->currentIndex() == PageUsers)
|
|
||||||
{
|
|
||||||
if(authenticate(mUsersConfig))
|
|
||||||
{
|
|
||||||
UserDialog dlg(NULL, this);
|
|
||||||
if(dlg.exec() == QDialog::Accepted)
|
|
||||||
{
|
|
||||||
OobsUser* user = dlg.user();
|
|
||||||
oobs_users_config_add_user(mUsersConfig, user);
|
|
||||||
oobs_object_commit(OOBS_OBJECT(mUsersConfig));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (ui.tabWidget->currentIndex() == PageGroups)
|
|
||||||
{
|
|
||||||
if(authenticate(mGroupsConfig))
|
|
||||||
{
|
|
||||||
GroupDialog dlg(NULL, this);
|
|
||||||
if(dlg.exec() == QDialog::Accepted)
|
|
||||||
{
|
|
||||||
OobsGroup* group = dlg.group();
|
|
||||||
oobs_groups_config_add_group(mGroupsConfig, group);
|
|
||||||
oobs_object_commit(OOBS_OBJECT(mGroupsConfig));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::onDelete()
|
|
||||||
{
|
|
||||||
if(ui.tabWidget->currentIndex() == PageUsers)
|
|
||||||
{
|
|
||||||
QTreeWidgetItem* item = ui.userList->currentItem();
|
|
||||||
OobsUser* user = userFromItem(item);
|
|
||||||
if(user)
|
|
||||||
{
|
|
||||||
if(QMessageBox::question(this, tr("Confirm"), tr("Are you sure you want to delete the selected user?"), QMessageBox::Ok|QMessageBox::Cancel) == QMessageBox::Ok)
|
|
||||||
{
|
|
||||||
oobs_users_config_delete_user(mUsersConfig, user);
|
|
||||||
oobs_object_commit(OOBS_OBJECT(mUsersConfig));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if(ui.tabWidget->currentIndex() == PageGroups)
|
|
||||||
{
|
|
||||||
QTreeWidgetItem* item = ui.groupList->currentItem();
|
|
||||||
OobsGroup* group = groupFromItem(item);
|
|
||||||
if(group)
|
|
||||||
{
|
|
||||||
if(QMessageBox::question(this, tr("Confirm"), tr("Are you sure you want to delete the selected group?"), QMessageBox::Ok|QMessageBox::Cancel) == QMessageBox::Ok)
|
|
||||||
{
|
|
||||||
oobs_groups_config_delete_group(mGroupsConfig, group);
|
|
||||||
oobs_object_commit(OOBS_OBJECT(mGroupsConfig));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::onEditProperties()
|
|
||||||
{
|
|
||||||
if(ui.tabWidget->currentIndex() == PageUsers)
|
|
||||||
{
|
|
||||||
QTreeWidgetItem* item = ui.userList->currentItem();
|
|
||||||
OobsUser* user = userFromItem(item);
|
|
||||||
if(user)
|
|
||||||
{
|
|
||||||
if(authenticate(mUsersConfig))
|
|
||||||
{
|
|
||||||
UserDialog dlg(user, this);
|
|
||||||
dlg.exec();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if(ui.tabWidget->currentIndex() == PageGroups)
|
|
||||||
{
|
|
||||||
QTreeWidgetItem* item = ui.groupList->currentItem();
|
|
||||||
OobsGroup* group = groupFromItem(item);
|
|
||||||
if(group)
|
|
||||||
{
|
|
||||||
if(authenticate(mGroupsConfig))
|
|
||||||
{
|
|
||||||
GroupDialog dlg(group, this);
|
|
||||||
dlg.exec();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::onRefresh()
|
|
||||||
{
|
|
||||||
oobs_object_update(OOBS_OBJECT(mUsersConfig));
|
|
||||||
loadUsers();
|
|
||||||
oobs_object_update(OOBS_OBJECT(mGroupsConfig));
|
|
||||||
loadGroups();
|
|
||||||
}
|
|
@ -1,77 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.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
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef MAINWINDOW_H
|
|
||||||
#define MAINWINDOW_H
|
|
||||||
|
|
||||||
#include <QMainWindow>
|
|
||||||
#include "ui_mainwindow.h"
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
#include <oobs/oobs-usersconfig.h>
|
|
||||||
#include <oobs/oobs-groupsconfig.h>
|
|
||||||
|
|
||||||
class MainWindow : public QMainWindow
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
PageUsers = 0,
|
|
||||||
PageGroups
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit MainWindow();
|
|
||||||
virtual ~MainWindow();
|
|
||||||
|
|
||||||
private:
|
|
||||||
void loadUsers();
|
|
||||||
void loadGroups();
|
|
||||||
OobsUser* userFromItem(QTreeWidgetItem* item);
|
|
||||||
OobsGroup* groupFromItem(QTreeWidgetItem *item);
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
bool authenticate(T* obj);
|
|
||||||
|
|
||||||
static void onUsersConfigChanged(OobsObject* obj, MainWindow* _this)
|
|
||||||
{
|
|
||||||
_this->loadUsers();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void onGroupsConfigChanged(OobsObject* obj, MainWindow* _this)
|
|
||||||
{
|
|
||||||
_this->loadGroups();
|
|
||||||
}
|
|
||||||
|
|
||||||
private Q_SLOTS:
|
|
||||||
void onAdd();
|
|
||||||
void onDelete();
|
|
||||||
void onEditProperties();
|
|
||||||
void onRefresh();
|
|
||||||
|
|
||||||
private:
|
|
||||||
Ui::MainWindow ui;
|
|
||||||
OobsUsersConfig* mUsersConfig;
|
|
||||||
OobsGroupsConfig* mGroupsConfig;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // MAINWINDOW_H
|
|
@ -1,195 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>MainWindow</class>
|
|
||||||
<widget class="QMainWindow" name="MainWindow">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>640</width>
|
|
||||||
<height>480</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>User and Group Settings</string>
|
|
||||||
</property>
|
|
||||||
<widget class="QWidget" name="centralwidget">
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
|
||||||
<property name="margin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<item>
|
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
|
||||||
<property name="currentIndex">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property name="documentMode">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<widget class="QWidget" name="tab">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>&Users</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
||||||
<item>
|
|
||||||
<widget class="QTreeWidget" name="userList">
|
|
||||||
<property name="rootIsDecorated">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="itemsExpandable">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="expandsOnDoubleClick">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<attribute name="headerStretchLastSection">
|
|
||||||
<bool>false</bool>
|
|
||||||
</attribute>
|
|
||||||
<column>
|
|
||||||
<property name="text">
|
|
||||||
<string>Login Name</string>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
<column>
|
|
||||||
<property name="text">
|
|
||||||
<string>User ID</string>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
<column>
|
|
||||||
<property name="text">
|
|
||||||
<string>Full Name</string>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
<column>
|
|
||||||
<property name="text">
|
|
||||||
<string>Group</string>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
<column>
|
|
||||||
<property name="text">
|
|
||||||
<string>Home Directory</string>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="showSystemUsers">
|
|
||||||
<property name="enabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Show system users (for advanced users only)</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QWidget" name="tab_2">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>&Groups</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
||||||
<item>
|
|
||||||
<widget class="QTreeWidget" name="groupList">
|
|
||||||
<property name="rootIsDecorated">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="itemsExpandable">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<column>
|
|
||||||
<property name="text">
|
|
||||||
<string>Name</string>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
<column>
|
|
||||||
<property name="text">
|
|
||||||
<string>Group ID</string>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QToolBar" name="toolBar">
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>toolBar</string>
|
|
||||||
</property>
|
|
||||||
<property name="movable">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="toolButtonStyle">
|
|
||||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
||||||
</property>
|
|
||||||
<attribute name="toolBarArea">
|
|
||||||
<enum>TopToolBarArea</enum>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="toolBarBreak">
|
|
||||||
<bool>false</bool>
|
|
||||||
</attribute>
|
|
||||||
<addaction name="actionAdd"/>
|
|
||||||
<addaction name="actionDelete"/>
|
|
||||||
<addaction name="actionProperties"/>
|
|
||||||
<addaction name="actionRefresh"/>
|
|
||||||
</widget>
|
|
||||||
<widget class="QStatusBar" name="statusbar"/>
|
|
||||||
<action name="actionAdd">
|
|
||||||
<property name="icon">
|
|
||||||
<iconset theme="list-add">
|
|
||||||
<normaloff/>
|
|
||||||
</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Add</string>
|
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Add new users or groups</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionDelete">
|
|
||||||
<property name="icon">
|
|
||||||
<iconset theme="list-remove">
|
|
||||||
<normaloff/>
|
|
||||||
</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Delete</string>
|
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Delete selected item</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionProperties">
|
|
||||||
<property name="icon">
|
|
||||||
<iconset theme="document-properties">
|
|
||||||
<normaloff/>
|
|
||||||
</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Properties</string>
|
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>edit properties of the selected item</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionRefresh">
|
|
||||||
<property name="icon">
|
|
||||||
<iconset theme="view-refresh">
|
|
||||||
<normaloff/>
|
|
||||||
</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Refresh</string>
|
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Refresh the lists</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
</widget>
|
|
||||||
<resources/>
|
|
||||||
<connections/>
|
|
||||||
</ui>
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[de]=Benutzer und Gruppen
|
|
||||||
GenericName[de]=Einstellungen für Benutzer und Gruppen
|
|
||||||
Comment[de]=Konfiguriert die Benutzer und Gruppen des Systems
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="de">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Gruppeneinstellungen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Gruppen-Name:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>Gruppen-ID:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>Benutzer in dieser Gruppe:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="86"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="95"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="100"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Fehler</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="86"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>Die Gruppen-ID existiert bereits.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="95"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>Der Gruppen-Name kann nicht leer sein.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="100"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>Der Gruppen-Name existiert bereits.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Nutzer- und Gruppeneinstellungen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>&Nutzer</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Anmeldename</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>Nutzer-ID</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Vollständiger Name</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Gruppe</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Nutzerverzeichnis</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Systemnutzer anzeigen (nur für erfahrene Nutzer)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>&Gruppen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Name</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>Gruppen-ID</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>Werkzeugleiste</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Hinzufügen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Neue Nutzer oder Gruppen hinzufügen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Entfernen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Ausgewähltes Element löschen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Eigenschaften</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>Eigenschaften des ausgewählten Elements editieren</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Erneuern</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Listen erneuern</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Fehler</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Bestätigen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Wollen Sie den ausgewählten Nutzer wirklich löschen?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Wollen Sie die ausgewählte Gruppe wirklich löschen?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Nutzereinstellungen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Allgemein</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Vollständiger Name:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Anmeldename:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Kennwort setzen:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>Nutzer-ID:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Hauptgruppe:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Erweitert</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Befehlsinterpreter (shell):</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Nutzerverzeichnis:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="67"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Kennwort ändern:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="128"/>
|
|
||||||
<location filename="../userdialog.cpp" line="141"/>
|
|
||||||
<location filename="../userdialog.cpp" line="146"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Fehler</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="128"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>Die Nutzer-ID existiert bereits.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="141"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>Der Nutzername kann nicht leer sein.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="146"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>Der Nutzername existiert bereits.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="162"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Bestätigen</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="162"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Wollen Sie wirklich ein "leeres Kennwort" für den Nutzer vergeben?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,3 +0,0 @@
|
|||||||
Name[el]=Χρήστες και ομάδες
|
|
||||||
GenericName[el]=Ρυθμίσεις χρηστών και ομάδων
|
|
||||||
Comment[el]=Διαμόρφωση των χρηστών και των ομάδων του συστήματός σας
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="el">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Ρυθμίσεις ομάδας</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Όνομα ομάδας:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>Αναγνωριστικό ομάδας:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>Χρήστες που ανήκουν στην ομάδα: </translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Σφάλμα</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>Το αναγνωριστικό της ομάδας χρησιμοποιείται ήδη.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>Το όνομα της ομάδας δεν μπορεί να είναι κενό.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>Το όνομα της ομάδας χρησιμοποιείται ήδη.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Ρυθμίσεις χρηστών και ομάδων</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>&Χρήστες</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Όνομα χρήστη</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>Αναγνωριστικό χρήστη</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Πλήρες όνομα</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Ομάδα</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Προσωπικός κατάλογος</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Εμφάνιση των χρηστών του συστήματος (μόνο για προηγμένους χρήστες)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>&Ομάδες</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Όνομα</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>Αναγνωριστικό ομάδας</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>Γραμμή εργαλείων</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Προσθήκη</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Προσθήκη νέων χρηστών ή ομάδων</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Διαγραφή</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Διαγραφή του επιλεγμένου αντικειμένου</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Ιδιότητες</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>Επεξεργασία των ιδιοτήτων για το επιλεγμένο αντικείμενο</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Ανανέωση</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Ανανέωση της λίστας</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Σφάλμα</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Επιβεβαίωση</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Είστε σίγουρος-η ότι θέλετε να διαγράψετε τον επιλεγμένο χρήστη;</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Είστε σίγουρος-η ότι θέλετε να διαγράψετε την επιλεγμένη ομάδα;</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Ρυθμίσεις χρήστη</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Γενικά</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Πλήρες όνομα:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Όνομα χρήστη:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Ορισμός του κωδικού πρόσβασης:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>Αναγνωριστικό χρήστη:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Κύρια ομάδα:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Προηγμένο</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Κέλυφος σύνδεσης:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Προσωπικός κατάλογος:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Αλλαγή του κωδικού πρόσβασης:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Σφάλμα</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>Το αναγνωριστικό του χρήστη χρησιμοποιείται ήδη. </translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>Το όνομα χρήστη δεν μπορεί να είναι κενό.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>Το όνομα του χρήστη χρησιμοποιείται ήδη.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Επιβεβαίωση</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Είστε σίγουρος-η ότι θέλετε να χρησιμοποιήσετε έναν «κενό κωδικό πρόσβασης» για τον χρήστη;</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="hr_HR">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation type="unfinished">Postavke grupe</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation type="unfinished">Ime grupe:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation type="unfinished">ID grupe</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation type="unfinished">Korisnici koji pripadaju ovoj grupi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation type="unfinished">Greška</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation type="unfinished">ID grupe je u uporabi.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation type="unfinished">Ime grupe ne može biti prazno.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation type="unfinished">Ime grupe je u uporabi.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation type="unfinished">Postavke korisnika i grupe</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation type="unfinished">&Korisnici</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation type="unfinished">Ime prijave</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation type="unfinished">ID korisnika</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation type="unfinished">Puno ime</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation type="unfinished">Grupa</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation type="unfinished">Osobna mapa</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation type="unfinished">&Grupe</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation type="unfinished">Ime</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation type="unfinished">ID grupe</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation type="unfinished">alatna traka</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation type="unfinished">Dodaj</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation type="unfinished">Dodaj nove korisnike ili grupe</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation type="unfinished">Izbriši</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation type="unfinished">Izbriši odabranu stavku</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation type="unfinished">Svojstva</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation type="unfinished">uredi svojstva odabrane stavke</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation type="unfinished">Osvježi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation type="unfinished">Osvježi liste</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation type="unfinished">Greška</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation type="unfinished">Potvrdi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation type="unfinished">Jeste li sigurni da želite izbrisati odabranoga korisnika?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation type="unfinished">Jeste li sigurni da želite izbrisati odabranu grupu?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation type="unfinished">Postavke korisnika</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation type="unfinished">Općenito</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation type="unfinished">Puno ime:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation type="unfinished">Ime prijave:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation type="unfinished">Postavi lozinku:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation type="unfinished">ID korisnika:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation type="unfinished">Glavna grupa:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation type="unfinished">Napredno</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation type="unfinished">Ljuska prijave:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation type="unfinished">Osobna mapa:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation type="unfinished">Promjeni lozinku:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation type="unfinished">Greška</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation type="unfinished">ID korisnika je u uporabi.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation type="unfinished">Korisničko ime ne može biti prazno.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation type="unfinished">Korisničko ime je u uoprabi.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation type="unfinished">Potvrdi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation type="unfinished">Jeste li sigurni da želite koristiti "praznu lozinku" za korisnika?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[hu]=Felhasználók és csoportok
|
|
||||||
GenericName[hu]=Felhasználó és csoportkezelés
|
|
||||||
Comment[hu]=A rendszer felhasználóinak és csoportjainak kezeése
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="hu_HU">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Csoportbeállítás</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Csoportnév:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>Csoport ID</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>A csoport tagjai:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Hiba</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>Csoport ID foglalt.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>Csoportnév nem lehet üres.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>Csoportnév foglalt.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Felhasználók és csoportok</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>&Felhasználók</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Bejelenkezési név</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>Felhasználó ID</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Teljes név</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Csoport</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Saját könyvtár</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Rendszer felhasználók is látszanak (csak haladóknak)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>&Csoportok</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Név</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>Csoport ID</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>eszközsáv</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Hozzáad</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Új felhasználó, vagy csoport hozzáadása</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Törlés</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Kiválasztott törlése</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Tulajdonságok</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>A választott elem módosítása</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Frisítés</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Lista frissítése</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Hiba</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Megerősítés</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Tényleg töröljük az illető felhasználót?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Tényleg töröljük az illető csoportot?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Felhasználó beállítása</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Alap</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Teljes név:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Bejelenkezési név:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Jelszóbeállítás:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>Felhasználó ID:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Főcsoport</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Bővített</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Parancsértelmező:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Saját könyvtár:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Jelszóváltoztatás:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Hiba</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>Felhasználó ID foglalt.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>Felhasználónév nem lehet üres.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>Felhasználónév foglalt.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Megerősítés</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Üres legyen a jelszava a felhasználónak?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,3 +0,0 @@
|
|||||||
#Translations
|
|
||||||
Name[it]=Utenti e gruppi
|
|
||||||
Comment[it]=Configura utenti e gruppi del sistema
|
|
@ -1,264 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="it_IT" sourcelanguage="it_IT">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Gestione gruppi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Nome del gruppo:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>ID gruppo:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>Utenti appartenenti:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Errore</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>ID già in uso</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>Il nome non può essere vuoto.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>Il nome è già in uso.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Impostazioni utenti e gruppi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translatorcomment>remove &_ in source</translatorcomment>
|
|
||||||
<translation type="unfinished">Utenti</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Nome Login</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>ID utente</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Nome completo</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Gruppo</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Cartella Home</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Mostra utenti di sistema (avanzato)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>Gruppi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Nome</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>ID gruppo</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Aggiungi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Aggiungi utenti o gruppi nuovi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Cancella</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Cancella selezionato</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Proprietà</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>Modifica proprietà</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Aggiorna</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Aggiorna lista</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Errore</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Conferma</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Si è sicuro di voler cancellare l'utente selezionato?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Si è sicuro di voler cancellare il gruppo selezionato?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Impostazioni utente</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Generali</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Nome completo:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Nome al Login:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Scegli il password:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>ID utente</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Gruppo principale:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Avanzate:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Shell del login:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Cartella home:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Cambia password:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Errore</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>ID già in uso.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>Il nome non può essere vuoto.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>Il nome è già in uso.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Conferma</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Si è sicuro di volere un password vuoto per l'utente?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name[ja]=ユーザーとグループ
|
|
||||||
GenericName[ja]=ユーザーとグループの設定
|
|
||||||
Comment[ja]=システム上のユーザーとグループを設定します
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="ja">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>グループ設定</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>グループ名:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>グループID:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>このグループに属しているユーザー:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>エラー</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>そのグループIDはすでに使われています</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>グループ名を入力する必要があります</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>そのグループ名はすでに使われています</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>ユーザーとグループの設定</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>ユーザー(&U)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>ログイン名</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>ユーザーID</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>フルネーム</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>グループ</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>ホームディレクトリー</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>システムユーザーを表示(上級者専用)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>グループ(&G)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>名前</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>グループID</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>ツールバー</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>追加</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>新しいユーザーまたはグループを追加</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>削除</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>選択した項目を削除</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>プロパティー</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>選択した項目のプロパティーを編集</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>再読込み</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>リストを再読込み</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>エラー</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>確認</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>本当に、選択したユーザーを削除してよいですか?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>本当に、選択したグループを削除してよいですか?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>ユーザー設定</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>一般</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>フルネーム:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>ログイン名:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>パスワードを設定:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>ユーザーID:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>メイングループ:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>高度</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>ログインシェル:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>ホームディレクトリー:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>パスワードを変更:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>エラー</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>そのユーザーIDはすでに使われています</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>ユーザー名を入力する必要があります</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>そのユーザー名はすでに使われています</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>確認</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>本当に、空のパスワードをそのユーザーに設定してよいですか?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[pl]=Użytkownicy i grupy
|
|
||||||
GenericName[pl]=Zarządzanie użytkownikami i grupami
|
|
||||||
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="pl_PL">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Ustawienia Grup</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Nazwa grupy:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>ID grupy:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>Użytkownicy należący do tej grupy:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Błąd</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>ID grupy jest już w użyciu.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>Nazwa grupy nie może być pusta.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>Ta nazwa grupy jest już w użyciu.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Ustawienia użytkowników i grup</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>&Użytkownicy</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Login</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>ID użytkownika</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Pełna nazwa</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Grupa</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Katalog domowy</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Pokaż użytkowników systemowych (dla zaawansowanych)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>&Grupy</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Nazwa</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>ID grupy</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>Pasek narzędzi</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Dodaj</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Dodaj nowych użytkowników lub grupy</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Usuń</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Usuń zaznaczoną pozycję</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Właściwości</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>edytuj właściwości dla wybranej pozycji</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Odśwież</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Odśwież listę</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Błąd</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Potwierdzenie</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Czy na pewno chcesz usunąć wybranego użytkownika?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Czy na pewno chcesz usunąć wybraną grupę?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Ustawienia użytkownika</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Ogólne</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Pełna nazwa:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Login:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Ustaw hasło:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>ID użytkownika:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Grupa główna:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Zaawansowane</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Powłoka:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Katalog domowy:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Zmień hasło:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Błąd</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>To ID użytkownika jest już w użyciu.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>Nazwa użytkownika nie może być pusta.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>Ta nazwa użytkownika jest już w użyciu.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Potwierdzenie</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Czy na pewno chcesz użyć "pustego hasła" dla tego użytkownika?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,4 +0,0 @@
|
|||||||
#TRANSLATIONS
|
|
||||||
Name[pt]=Utilizadores e grupos
|
|
||||||
GenericName[pt]=Definições de utilizadores e grupos
|
|
||||||
Comment[pt]=Configurar os utilizadores e os grupos do seu sistema
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.0" language="pt">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Definições de grupo</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Nome do grupo:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>ID do grupo:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>Utilizadores pertencentes a este grupo:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Erro</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>O ID do grupo já está em utilização.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>O nome do grupo não pode estar vazio.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>O nome do grupo já está em utilização.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Definições de grupo e utilizador</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>&Utilizadores</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Nome de acesso</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>ID de utilizador</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Nome completo</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Grupo</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Pasta pessoal</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Mostrar utilizadores de sistema</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>&Grupos</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Nome</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>ID do grupo</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>Barra de ferramentas</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Adicionar</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Adicionar utilizadores ou grupos</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Eliminar</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Eliminar item selecionado</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Propriedades</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>Editar propriedades do item selecionado</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Atualizar</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Atualizar as listas</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Erro</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Confirmação</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Tem a certeza que quer eliminar o utilizador selecionado?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Tem a certeza que quer eliminar o grupo selecionado?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Definições de utilizador</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Geral</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Nome completo:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Nome de acesso:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Definir senha:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>ID de utilizador:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Grupo principal:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Avançado</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Consola de acesso:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Pasta pessoal:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Mudar senha:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Erro</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>O ID do utilizador já está em utilização.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>O nome de utilizador não pode estar vazio.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>O nome de utilizador já está em utilização.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Confirmação</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Tem a certeza que quer definir uma senha vazia para o utilizador?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name[ru]=Пользователи и группы
|
|
||||||
GenericName[ru]=Настройки пользователей и групп
|
|
||||||
Comment[ru]=Настроить пользователей и группы вашей системы
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="ru">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Настройки группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Имя группы:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>ID группы:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>Пользователи, относящиеся к этой группе:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Ошибка</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>ID группы уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>Имя группы не может быть пустым.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>Имя группы уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Настройки пользователя и группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>&Пользователи</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Логин пользователя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>ID пользователя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Полное имя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Группа</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Домашний каталог</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Показывать системных пользователей (только для продвинутых пользователей)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>&Группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Имя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>ID группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>Панель</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Добавить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Добавить новых пользователей или группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Удалить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Удалить выбранный элемент</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Свойства</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>Редактировать свойства выделенного элемента</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Обновить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Обновить список</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Ошибка</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Подтвердить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Вы действительно хотите удалить выбранного пользователя?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Вы действительно хотите удалить выбранную группу?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Настройки пользователя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Общие</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Полное имя:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Логин пользователя:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Установить пароль:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>ID пользователя:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Главная группа:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Расширенные</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Оболочка:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Домашний каталог:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Изменить пароль:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Ошибка</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>Пользовательский ID уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>Имя пользователя не может быть пустым.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>Имя пользователя уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Подтвердить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Вы действительно хотите использовать пустой пароль для этого пользователя?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name[ru_RU]=Пользователи и группы
|
|
||||||
GenericName[ru_RU]=Настройки пользователей и групп
|
|
||||||
Comment[ru_RU]=Настроить пользователей и группы вашей системы
|
|
||||||
|
|
||||||
#TRANSLATIONS_DIR=translations
|
|
@ -1,263 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!DOCTYPE TS>
|
|
||||||
<TS version="2.1" language="ru_RU">
|
|
||||||
<context>
|
|
||||||
<name>GroupDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="14"/>
|
|
||||||
<source>Group Settings</source>
|
|
||||||
<translation>Настройки группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="20"/>
|
|
||||||
<source>Group name:</source>
|
|
||||||
<translation>Имя группы:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="37"/>
|
|
||||||
<source>Group ID:</source>
|
|
||||||
<translation>ID группы:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.ui" line="44"/>
|
|
||||||
<source>Users belong to this group:</source>
|
|
||||||
<translation>Пользователи, относящиеся к этой группе:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Ошибка</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="83"/>
|
|
||||||
<source>The group ID is in use.</source>
|
|
||||||
<translation>ID группы уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="92"/>
|
|
||||||
<source>The group name cannot be empty.</source>
|
|
||||||
<translation>Имя группы не может быть пустым.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../groupdialog.cpp" line="97"/>
|
|
||||||
<source>The group name is in use.</source>
|
|
||||||
<translation>Имя группы уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>MainWindow</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="14"/>
|
|
||||||
<source>User and Group Settings</source>
|
|
||||||
<translation>Настройки пользователя и группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="31"/>
|
|
||||||
<source>&Users</source>
|
|
||||||
<translation>&Пользователи</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="50"/>
|
|
||||||
<source>Login Name</source>
|
|
||||||
<translation>Логин пользователя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="55"/>
|
|
||||||
<source>User ID</source>
|
|
||||||
<translation>ID пользователя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="60"/>
|
|
||||||
<source>Full Name</source>
|
|
||||||
<translation>Полное имя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="65"/>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation>Группа</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="70"/>
|
|
||||||
<source>Home Directory</source>
|
|
||||||
<translation>Домашний каталог</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="81"/>
|
|
||||||
<source>Show system users (for advanced users only)</source>
|
|
||||||
<translation>Показывать системных пользователей (только для продвинутых пользователей)</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="89"/>
|
|
||||||
<source>&Groups</source>
|
|
||||||
<translation>&Группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="102"/>
|
|
||||||
<source>Name</source>
|
|
||||||
<translation>Имя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="107"/>
|
|
||||||
<source>Group ID</source>
|
|
||||||
<translation>ID группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
|
||||||
<source>toolBar</source>
|
|
||||||
<translation>Панель</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="147"/>
|
|
||||||
<source>Add</source>
|
|
||||||
<translation>Добавить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="150"/>
|
|
||||||
<source>Add new users or groups</source>
|
|
||||||
<translation>Добавить новых пользователей или группы</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="160"/>
|
|
||||||
<source>Delete</source>
|
|
||||||
<translation>Удалить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="163"/>
|
|
||||||
<source>Delete selected item</source>
|
|
||||||
<translation>Удалить выбранный элемент</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="173"/>
|
|
||||||
<source>Properties</source>
|
|
||||||
<translation>Свойства</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="176"/>
|
|
||||||
<source>edit properties of the selected item</source>
|
|
||||||
<translation>Редактировать свойства выделенного элемента</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="186"/>
|
|
||||||
<source>Refresh</source>
|
|
||||||
<translation>Обновить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.ui" line="189"/>
|
|
||||||
<source>Refresh the lists</source>
|
|
||||||
<translation>Обновить список</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="145"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Ошибка</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Подтвердить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="191"/>
|
|
||||||
<source>Are you sure you want to delete the selected user?</source>
|
|
||||||
<translation>Вы действительно хотите удалить выбранного пользователя?</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../mainwindow.cpp" line="204"/>
|
|
||||||
<source>Are you sure you want to delete the selected group?</source>
|
|
||||||
<translation>Вы действительно хотите удалить выбранную группу?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
|
||||||
<name>UserDialog</name>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="14"/>
|
|
||||||
<source>User Settings</source>
|
|
||||||
<translation>Настройки пользователя</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="24"/>
|
|
||||||
<source>General</source>
|
|
||||||
<translation>Общие</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="33"/>
|
|
||||||
<source>Full name:</source>
|
|
||||||
<translation>Полное имя:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="43"/>
|
|
||||||
<source>Login name:</source>
|
|
||||||
<translation>Логин пользователя:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="53"/>
|
|
||||||
<source>Set password:</source>
|
|
||||||
<translation>Установить пароль:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="77"/>
|
|
||||||
<source>User ID:</source>
|
|
||||||
<translation>ID пользователя:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="84"/>
|
|
||||||
<source>Main group:</source>
|
|
||||||
<translation>Главная группа:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="99"/>
|
|
||||||
<source>Advanced</source>
|
|
||||||
<translation>Расширенные</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="105"/>
|
|
||||||
<source>Login shell:</source>
|
|
||||||
<translation>Оболочка:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.ui" line="122"/>
|
|
||||||
<source>Home directory:</source>
|
|
||||||
<translation>Домашний каталог:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="64"/>
|
|
||||||
<source>Change password:</source>
|
|
||||||
<translation>Изменить пароль:</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>Error</source>
|
|
||||||
<translation>Ошибка</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="125"/>
|
|
||||||
<source>The user ID is in use.</source>
|
|
||||||
<translation>Пользовательский ID уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="138"/>
|
|
||||||
<source>The user name cannot be empty.</source>
|
|
||||||
<translation>Имя пользователя не может быть пустым.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="143"/>
|
|
||||||
<source>The user name is in use.</source>
|
|
||||||
<translation>Имя пользователя уже используется.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Confirm</source>
|
|
||||||
<translation>Подтвердить</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../userdialog.cpp" line="159"/>
|
|
||||||
<source>Are you sure you want to use an "empty password" for the user?</source>
|
|
||||||
<translation>Вы действительно хотите использовать пустой пароль для этого пользователя?</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
</TS>
|
|
@ -1,181 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.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
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "userdialog.h"
|
|
||||||
#include <QMessageBox>
|
|
||||||
|
|
||||||
#define DEFAULT_UID_MIN 1000
|
|
||||||
#define DEFAULT_UID_MAX 32768
|
|
||||||
|
|
||||||
UserDialog::UserDialog(OobsUser* user, QWidget* parent):
|
|
||||||
QDialog(),
|
|
||||||
mUser(user ? OOBS_USER(g_object_ref(user)) : NULL),
|
|
||||||
mFullNameChanged(false),
|
|
||||||
mHomeDirChanged(false)
|
|
||||||
{
|
|
||||||
ui.setupUi(this);
|
|
||||||
|
|
||||||
// load all groups
|
|
||||||
OobsGroupsConfig* groupsConfig = OOBS_GROUPS_CONFIG(oobs_groups_config_get());
|
|
||||||
OobsList* groups = oobs_groups_config_get_groups(groupsConfig);
|
|
||||||
if(groups)
|
|
||||||
{
|
|
||||||
OobsListIter it;
|
|
||||||
gboolean valid = oobs_list_get_iter_first(groups, &it);
|
|
||||||
while(valid)
|
|
||||||
{
|
|
||||||
OobsGroup* group = OOBS_GROUP(oobs_list_get(groups, &it));
|
|
||||||
ui.mainGroup->addItem(oobs_group_get_name(group));
|
|
||||||
valid = oobs_list_iter_next(groups, &it);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
connect(ui.loginName, SIGNAL(textChanged(QString)), SLOT(onLoginNameChanged(QString)));
|
|
||||||
|
|
||||||
OobsUsersConfig* userConfig = OOBS_USERS_CONFIG(oobs_users_config_get());
|
|
||||||
|
|
||||||
// add known shells to the combo box for selection
|
|
||||||
GList* shells = oobs_users_config_get_available_shells(userConfig);
|
|
||||||
for(GList* l = shells; l; l = l->next)
|
|
||||||
{
|
|
||||||
const char* shell = (const char*)l->data;
|
|
||||||
ui.loginShell->addItem(QLatin1String(shell));
|
|
||||||
}
|
|
||||||
|
|
||||||
if(user) // edit an existing user
|
|
||||||
{
|
|
||||||
mOldUid = oobs_user_get_uid(user);
|
|
||||||
ui.loginName->setReadOnly(true);
|
|
||||||
ui.loginName->setText(oobs_user_get_login_name(user));
|
|
||||||
ui.changePasswd->setText(tr("Change password:"));
|
|
||||||
ui.uid->setValue(mOldUid);
|
|
||||||
ui.fullName->setText(oobs_user_get_full_name(user));
|
|
||||||
ui.loginShell->setEditText(oobs_user_get_shell(user));
|
|
||||||
ui.homeDir->setText(QString::fromLocal8Bit(oobs_user_get_home_directory(user)));
|
|
||||||
|
|
||||||
OobsGroup* group = oobs_user_get_main_group(user);
|
|
||||||
ui.mainGroup->setEditText(oobs_group_get_name(group));
|
|
||||||
}
|
|
||||||
else // create a new user
|
|
||||||
{
|
|
||||||
mOldUid = -1;
|
|
||||||
ui.loginName->setReadOnly(false);
|
|
||||||
ui.loginName->setFocus();
|
|
||||||
ui.changePasswd->setChecked(true);
|
|
||||||
ui.uid->setValue(oobs_users_config_find_free_uid(userConfig, DEFAULT_UID_MIN, DEFAULT_UID_MAX));
|
|
||||||
ui.loginShell->setEditText(oobs_users_config_get_default_shell(userConfig));
|
|
||||||
ui.mainGroup->setCurrentIndex(-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
UserDialog::~UserDialog()
|
|
||||||
{
|
|
||||||
if(mUser)
|
|
||||||
g_object_unref(mUser);
|
|
||||||
}
|
|
||||||
|
|
||||||
void UserDialog::onLoginNameChanged(const QString& text)
|
|
||||||
{
|
|
||||||
if(!mFullNameChanged)
|
|
||||||
{
|
|
||||||
ui.fullName->blockSignals(true);
|
|
||||||
ui.fullName->setText(text);
|
|
||||||
ui.fullName->blockSignals(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!mHomeDirChanged)
|
|
||||||
{
|
|
||||||
ui.homeDir->blockSignals(true);
|
|
||||||
ui.homeDir->setText("/home/" + text);
|
|
||||||
ui.homeDir->blockSignals(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void UserDialog::onFullNameChanged(const QString& text)
|
|
||||||
{
|
|
||||||
mFullNameChanged = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UserDialog::onHomeDirChanged(const QString& text)
|
|
||||||
{
|
|
||||||
mHomeDirChanged = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UserDialog::accept()
|
|
||||||
{
|
|
||||||
OobsUsersConfig* usersConfig = OOBS_USERS_CONFIG(oobs_users_config_get());
|
|
||||||
uid_t uid = ui.uid->value();
|
|
||||||
if(uid != mOldUid && oobs_users_config_is_uid_used(usersConfig, uid))
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Error"), tr("The user ID is in use."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool createNew;
|
|
||||||
if(mUser)
|
|
||||||
createNew = false;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
createNew = true;
|
|
||||||
QByteArray loginName = ui.loginName->text().toLatin1();
|
|
||||||
if(loginName.isEmpty())
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Error"), tr("The user name cannot be empty."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(oobs_users_config_is_login_used(usersConfig, loginName))
|
|
||||||
{
|
|
||||||
QMessageBox::critical(this, tr("Error"), tr("The user name is in use."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mUser = oobs_user_new(loginName);
|
|
||||||
}
|
|
||||||
oobs_user_set_uid(mUser, uid);
|
|
||||||
|
|
||||||
QByteArray fullName = ui.fullName->text().toUtf8();
|
|
||||||
oobs_user_set_full_name(mUser, fullName);
|
|
||||||
|
|
||||||
// change password
|
|
||||||
if(ui.changePasswd->isChecked())
|
|
||||||
{
|
|
||||||
QByteArray passwd = ui.passwd->text().toLatin1();
|
|
||||||
if(passwd.isEmpty()) // show warnings if the password is empty
|
|
||||||
{
|
|
||||||
if(QMessageBox::warning(this, tr("Confirm"), tr("Are you sure you want to use an \"empty password\" for the user?"), QMessageBox::Yes|QMessageBox::No) == QMessageBox::Yes)
|
|
||||||
oobs_user_set_password_empty(mUser, true);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
oobs_user_set_password(mUser, passwd);
|
|
||||||
}
|
|
||||||
|
|
||||||
QByteArray homeDir = ui.homeDir->text().toLocal8Bit();
|
|
||||||
oobs_user_set_home_directory(mUser, homeDir);
|
|
||||||
|
|
||||||
// main group
|
|
||||||
OobsGroupsConfig* groupsConfig = OOBS_GROUPS_CONFIG(oobs_groups_config_get());
|
|
||||||
QByteArray groupName = ui.mainGroup->currentText().toLatin1();
|
|
||||||
OobsGroup* group = oobs_groups_config_get_from_name(groupsConfig, groupName);
|
|
||||||
oobs_user_set_main_group(mUser, group);
|
|
||||||
|
|
||||||
if(!createNew)
|
|
||||||
oobs_object_commit_async(OOBS_OBJECT(mUser), NULL, NULL);
|
|
||||||
QDialog::accept();
|
|
||||||
}
|
|
@ -1,65 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.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
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef USERDIALOG_H
|
|
||||||
#define USERDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
|
||||||
#include "ui_userdialog.h"
|
|
||||||
#include <glib.h>
|
|
||||||
#include <oobs/oobs-usersconfig.h>
|
|
||||||
#include <oobs/oobs-groupsconfig.h>
|
|
||||||
|
|
||||||
class UserDialog : public QDialog
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
UserDialog(OobsUser* user = NULL, QWidget* parent = NULL);
|
|
||||||
~UserDialog();
|
|
||||||
|
|
||||||
OobsUser* user()
|
|
||||||
{
|
|
||||||
return mUser;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual void accept();
|
|
||||||
|
|
||||||
private Q_SLOTS:
|
|
||||||
void onLoginNameChanged(const QString& text);
|
|
||||||
void onFullNameChanged(const QString& text);
|
|
||||||
void onHomeDirChanged(const QString& text);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Ui::UserDialog ui;
|
|
||||||
OobsUser* mUser;
|
|
||||||
uid_t mOldUid;
|
|
||||||
#if 0
|
|
||||||
QByteArray mOldLoginName;
|
|
||||||
QByteArray mOldFullName;
|
|
||||||
QByteArray mOldGroupName;
|
|
||||||
QByteArray mOldHomeDir;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
bool mFullNameChanged;
|
|
||||||
bool mHomeDirChanged;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USERDIALOG_H
|
|
@ -1,193 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>UserDialog</class>
|
|
||||||
<widget class="QDialog" name="UserDialog">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>403</width>
|
|
||||||
<height>293</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>User Settings</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
|
||||||
<item>
|
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
|
||||||
<property name="currentIndex">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<widget class="QWidget" name="tab">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>General</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QFormLayout" name="formLayout_2">
|
|
||||||
<property name="fieldGrowthPolicy">
|
|
||||||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
||||||
</property>
|
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QLabel" name="label_3">
|
|
||||||
<property name="text">
|
|
||||||
<string>Full name:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="1">
|
|
||||||
<widget class="QLineEdit" name="fullName"/>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="text">
|
|
||||||
<string>Login name:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QLineEdit" name="loginName"/>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="0">
|
|
||||||
<widget class="QCheckBox" name="changePasswd">
|
|
||||||
<property name="text">
|
|
||||||
<string>Set password:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1">
|
|
||||||
<widget class="QLineEdit" name="passwd">
|
|
||||||
<property name="enabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="echoMode">
|
|
||||||
<enum>QLineEdit::Password</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="4" column="1">
|
|
||||||
<widget class="QSpinBox" name="uid">
|
|
||||||
<property name="maximum">
|
|
||||||
<number>32768</number>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="4" column="0">
|
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="text">
|
|
||||||
<string>User ID:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="5" column="0">
|
|
||||||
<widget class="QLabel" name="label_5">
|
|
||||||
<property name="text">
|
|
||||||
<string>Main group:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="5" column="1">
|
|
||||||
<widget class="QComboBox" name="mainGroup">
|
|
||||||
<property name="editable">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QWidget" name="tab_2">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>Advanced</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QFormLayout" name="formLayout">
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="label_4">
|
|
||||||
<property name="text">
|
|
||||||
<string>Login shell:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QComboBox" name="loginShell">
|
|
||||||
<property name="editable">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1">
|
|
||||||
<widget class="QLineEdit" name="homeDir"/>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="0">
|
|
||||||
<widget class="QLabel" name="label_7">
|
|
||||||
<property name="text">
|
|
||||||
<string>Home directory:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QDialogButtonBox" name="buttonBox">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="standardButtons">
|
|
||||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<resources/>
|
|
||||||
<connections>
|
|
||||||
<connection>
|
|
||||||
<sender>buttonBox</sender>
|
|
||||||
<signal>accepted()</signal>
|
|
||||||
<receiver>UserDialog</receiver>
|
|
||||||
<slot>accept()</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>248</x>
|
|
||||||
<y>254</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>157</x>
|
|
||||||
<y>274</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>buttonBox</sender>
|
|
||||||
<signal>rejected()</signal>
|
|
||||||
<receiver>UserDialog</receiver>
|
|
||||||
<slot>reject()</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>316</x>
|
|
||||||
<y>260</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>286</x>
|
|
||||||
<y>274</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>changePasswd</sender>
|
|
||||||
<signal>toggled(bool)</signal>
|
|
||||||
<receiver>passwd</receiver>
|
|
||||||
<slot>setEnabled(bool)</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>71</x>
|
|
||||||
<y>125</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>192</x>
|
|
||||||
<y>129</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
</connections>
|
|
||||||
</ui>
|
|
@ -1,3 +0,0 @@
|
|||||||
[Project]
|
|
||||||
Manager=KDevCMakeManager
|
|
||||||
Name=lxqt-admin
|
|
Loading…
x
Reference in New Issue
Block a user