pax_global_header 0000666 0000000 0000000 00000000064 13167713615 0014524 g ustar 00root root 0000000 0000000 52 comment=acb34d782a7a9a3f197b93b84bbc7a3e9f6a22de
SafeEyes-2.0.0/ 0000775 0000000 0000000 00000000000 13167713615 0013227 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/.gitignore 0000664 0000000 0000000 00000002217 13167713615 0015221 0 ustar 00root root 0000000 0000000 # Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Glade temporary files
*.glade~
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# dotenv
.env
# virtualenv
.venv
venv/
ENV/
# Spyder project settings
.spyderproject
# Rope project settings
.ropeproject
# Visual Studio Code settings
.vscode/ SafeEyes-2.0.0/LICENSE 0000664 0000000 0000000 00000104505 13167713615 0014241 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, 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
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If 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 convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU 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
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "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 PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM 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 PROGRAM (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 PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{one line to give the program's name and a brief idea of what it does.}
Copyright (C) {year} {name of author}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
{project} Copyright (C) {year} {fullname}
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
SafeEyes-2.0.0/MANIFEST.in 0000664 0000000 0000000 00000000042 13167713615 0014761 0 ustar 00root root 0000000 0000000 include LICENSE
include README.md
SafeEyes-2.0.0/README.md 0000664 0000000 0000000 00000021340 13167713615 0014506 0 ustar 00root root 0000000 0000000 # Safe Eyes
[](https://badge.fury.io/gh/slgobinath%2FSafeEyes)
[](https://badge.fury.io/py/safeeyes)
[](https://hosted.weblate.org/engage/safe-eyes/?utm_source=widget)
Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder. A Free and Open Source Linux alternative to EyeLeo.
Visit to the official site: http://slgobinath.github.io/SafeEyes/ for more details.
## Safe Eyes command-line arguements
```
usage: safeeyes [-h] [-a | -d | -e | -q | -s | -t] [--debug] [--version]
Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to
take breaks while you're working long hours at the computer.
optional arguments:
-h, --help show this help message and exit
-a, --about show the about dialog
-d, --disable disable the currently running safeeyes instance
-e, --enable enable the currently running safeeyes instance
-q, --quit quit the running safeeyes instance and exit
-s, --settings show the settings dialog
-t, --take-break take a break now
--debug start safeeyes in debug mode
--version show program's version number and exit
```
## Installation guide
Safe Eyes is available in Ubuntu PPA, Arch AUR and Python PyPI. You can choose any installation source and install on any Linux system with Python 3. To see how to install Safe Eyes, visit [Getting Started](http://slgobinath.github.io/SafeEyes/#introduction)
### Compile from source
Ensure to meet the following dependencies when compiling from source:
- gir1.2-appindicator3-0.1
- gir1.2-notify-0.7
- libappindicator-gtk3
- python3-psutil
- xprintidle (optional)
## Features
- Remind you to take breaks
- Disable keyboard during breaks
- Notification before and after breaks
- Smart pause if system is idle
- Customizable using plug-ins
- Multi-screen support
- Customizable user interface
- RPC API to control externally
- Command-line arguments to control the running instance
## Writing Safe Eyes plug-in
A plugin is a combination of two files: `plugin.py` and `config.json`. These two files must be placed in a directory: `~/.config/safeeyes/plugins/`. Optionally a plugin also can have an image file `icon.png` which is used to represent the plugin in the Settings dialog.
For example, a Weather plugin may have the following file structure:
```
~
└── .config
└── safeeyes
└── plugins
└── weather
├── config.json
├── icon.png
└── plugin.py
```
The `icon.png` must be `24x24` pixels size. If `icon.png` is not available, the default gear icon will be shown in the Settings dialog.
A sample `config.json` is provided below:
```json
{
"meta": {
"name": "Weather",
"description": "Show the current weather on break screen",
"version": "0.0.1"
},
"dependencies": {
"python_modules": ["pyowm"],
"shell_commands": [],
"operating_systems": [],
"desktop_environments": [],
"resources": []
},
"settings": [
{
"id": "api",
"label": "OpenWeatherMap API Key",
"type": "TEXT",
"default": ""
},
{
"id": "location",
"label": "Location",
"type": "TEXT",
"default": ""
}
],
"break_override_allowed": true
}
```
The `meta` properties must provide the name of the plugin, a short description and the current version of the plugin.
The `dependencies` property defines various dependency constraints of the plugin. The dependencies can be Python modules, commandline tools, desktop environments or Safe Eyes resources. The `operating_systems` property is reserved for operating system dependency but not checked for at the moment.
If a dependency is not available, the Safe Eyes will not load the plugin. The Settings dialog will show a warning symbol and a message to install/check the missing dependencies. Dependencies are checked in the order of *Desktop Environment*, *Python Modules*, *Commandline Tools* and *Resources*. If a dependency is not available, Safe Eyes will stop looking for the rest.
The configurations related to the plugin must be defined in `settings`. Each setting must have an `id`, `label`, `type` and a default value matching the `type`. Safe Eyes 2.0.0 supports only the following types: `INT`, `TEXT` and `BOOL`. According to the types, Settings dialog will show a *Spin*, *Text Field* or *Switch Button* as the input field.
The optional `break_override_allowed` property lets users to override the status of plugins by enable or disable based on break.
The `plugin.py` can have one or more of the following functions:
```python
def on_init(context, safeeyes_config, plugin_config):
"""
Executes after loading the plugin for the first time and after every changes in configuration.
"""
pass
def on_start():
"""
Executes when Safe Eyes is enabled.
"""
pass
def on_stop():
"""
Executes when Safe Eyes is disabled.
"""
pass
def enable():
"""
Executes after plugin.py is loaded as a module.
"""
pass
def disable():
"""
Executes after disabling the plugin at the runtime.
"""
pass
def update_next_break(date_time):
"""
Update the next break time.
"""
pass
def on_pre_break(break_obj):
"""
Executes before on_start_break break.
"""
pass
def on_start_break(break_obj):
"""
Executes when starting a break.
"""
pass
def on_countdown(countdown, seconds):
"""
Keep track of seconds passed from the beginning of break.
"""
pass
def on_stop_break():
"""
Executes at the end of breaks.
"""
pass
def on_exit():
"""
Executes before Safe Eyes exits
"""
pass
def get_widget_title(break_obj):
"""
Return the widget title.
"""
return 'Widget Title'
def get_widget_content(break_obj):
"""
Return the widget content.
"""
return 'Widget Content'
```
All the above functions are optional and it is the developer's choice to choose the functions to implement. The `pre_break` and `start_break` methods can return `True` if they want to skip the specific break. If a plugin skips the break by returning `True`, the corresponding lifecycle method will not be invoked from the upcoming plugins. The execution order of plugins is not predefined so the plugins should not make any assumption about other plugins.
Plugins willing to show an entry in the break screen must implement both `get_widget_title` and `get_widget_content`. They should return a single line string as the output. If either the title or content is an empty string, the message will not be displayed in the break screen. It is added as an option to skip selective breaks depending on the domain.
A sample `plugin.py` is shown below to disaplay the current weather information:
```python
import logging
import pyowm
api = None
location = None
owm = None
weather_details = None
def init(ctx, safeeyes_config, plugin_config):
"""
Initialize the plugin.
"""
logging.debug('Initialize Weather plugin')
global api
global location
global owm
api = plugin_config['api']
location = plugin_config['location']
if api != "" and location != "":
owm = pyowm.OWM(api)
def get_widget_title(break_obj):
"""
Return the widget title.
"""
logging.debug('Get the weather information')
global weather_details
if owm:
try:
observation = owm.weather_at_place(location)
weather = observation.get_weather()
temp = weather.get_temperature('celsius').get('temp')
humidity = weather.get_humidity()
wind_speed = weather.get_wind().get('speed')
weather_details = 'Temperature: %s℃\t\tHumidity: %s\tWind Speed: %s' % (temp, humidity, wind_speed)
except BaseException:
# Can be a network error
weather_details = None
if weather_details:
return 'Weather'
def get_widget_content(break_obj):
"""
Return the weather details.
"""
return weather_details
```
To get more ideas, go through the existing plugins available in [system plugins](https://github.com/slgobinath/SafeEyes/tree/master/safeeyes/plugins).
## License
GNU General Public License v3
SafeEyes-2.0.0/debian/ 0000775 0000000 0000000 00000000000 13167713615 0014451 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/debian/changelog 0000664 0000000 0000000 00000003010 13167713615 0016315 0 ustar 00root root 0000000 0000000 safeeyes (2.0.0-1) xenial; urgency=low
* Completely rededesigned architecture and user interface
* Show next break time in tray icon in supported environments
* Enable keyboard shortcuts
* Fix screen flickering in KDE
* Show the break type in the notification
* Make pyaudio optional
* Support postponing the break
* Handle configuration update efficiently
* Move to Python 3
* Add plugin support
* Add custom breaks
* Add optional break image feature
* Add lock screen support
* Prevent disabling Safe Eyes after notification
* Fix random crash
* Use system language if available
* Fix disable menu issue in Elementary OS
* Fix long breaks in hours
* Fix locale time format issue
* Advanced configurations and disable for given time
* Optional audible alert and pause Safe Eyes if system is idle
* Bug fix for no breaks after 1st one
* Add about dialog and language selection to Settings dialog
* Fixing bug in multiscreen support
* Add next break information to tray menu
* Support translation
* Adding multiscreen support & handling system suspend
* Fixing bug in Ubuntu MATE environment
* Removing apscheduler dependency
* Fixing seconds instead of minutes bug
* Bug fixes for Ubuntu 14.04 and keyboard lock during break
* Reducing minimal Python requirement
* Fixing appindicator version mismatch
* Fixing apscheduler version mismatch
* Initial release
-- Gobinath Loganathan Sat, 15 Oct 2016 06:28:40 +0530
SafeEyes-2.0.0/debian/compat 0000664 0000000 0000000 00000000002 13167713615 0015647 0 ustar 00root root 0000000 0000000 9
SafeEyes-2.0.0/debian/control 0000664 0000000 0000000 00000002343 13167713615 0016056 0 ustar 00root root 0000000 0000000 Source: safeeyes
Section: utils
Priority: optional
Maintainer: Gobinath Loganathan
Build-Depends: debhelper (>= 9), python3, python3-setuptools
Standards-Version: 3.9.6
X-Python3-Version: >= 3.4
Homepage: https://github.com/slgobinath/SafeEyes/
Package: safeeyes
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, gir1.2-appindicator3-0.1, python3 (>= 3.4.0), python3-xlib, python3-dbus, gir1.2-notify-0.7, python3-babel, x11-utils, xprintidle, alsa-utils, python3-psutil
Description: Safe Eyes
Safe Eyes is a simple tool to remind you to take periodic breaks for your eyes. This is essential for anyone spending more time on the computer to avoid eye strain and other physical problems.
.
Features:
- Short breaks with eye exercises
- Long breaks to change physical position and to warm up
- Strict break for those who are addicted to computer
- Do not disturb when working with full-screen applications( Eg: Watching movies)
- Notifications before every break
- Optional audible alert at the end of break
- Option to lock screen after long breaks
- Smart pause and resume based on system idle time
- Multi-monitor support
- Plugins to utilize Safe Eyes
- Elegant and customizable design
SafeEyes-2.0.0/debian/copyright 0000664 0000000 0000000 00000002003 13167713615 0016377 0 ustar 00root root 0000000 0000000 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: uget-chrome-wrapper
Source: https://github.com/slgobinath/SafeEyes/
Files: *
Copyright: 2016 Gobinath Loganathan
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". SafeEyes-2.0.0/debian/rules 0000775 0000000 0000000 00000000102 13167713615 0015522 0 ustar 00root root 0000000 0000000 #!/usr/bin/make -f
%:
dh $@ --with python3 --buildsystem=pybuild
SafeEyes-2.0.0/safeeyes/ 0000775 0000000 0000000 00000000000 13167713615 0015033 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/AboutDialog.py 0000664 0000000 0000000 00000004017 13167713615 0017601 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2016 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
This module creates the AboutDialog which shows the version and license.
"""
import os
from safeeyes import Utility
ABOUT_DIALOG_GLADE = os.path.join(Utility.BIN_DIRECTORY, "glade/about_dialog.glade")
class AboutDialog(object):
"""
AboutDialog reads the about_dialog.glade and build the user interface using that file.
It shows the application name with version, a small description, license and the GitHub url.
"""
def __init__(self, version):
builder = Utility.create_gtk_builder(ABOUT_DIALOG_GLADE)
builder.connect_signals(self)
self.window = builder.get_object('window_about')
builder.get_object('lbl_decription').set_label(_('description'))
builder.get_object('lbl_license').set_label(_('License') + ':')
# Set the version at the runtime
builder.get_object('lbl_app_name').set_label('Safe Eyes ' + version)
def show(self):
"""
Show the About dialog.
"""
self.window.show_all()
def on_window_delete(self, *args):
"""
Window close event handler.
"""
self.window.destroy()
def on_close_clicked(self, *args):
"""
Close button click event handler.
"""
self.window.destroy()
SafeEyes-2.0.0/safeeyes/BreakScreen.py 0000664 0000000 0000000 00000021735 13167713615 0017601 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2016 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
import logging
import os
import threading
import time
import gi
from safeeyes import Utility
from Xlib.display import Display
from Xlib.display import X
gi.require_version('Gtk', '3.0')
from gi.repository import Gdk
from gi.repository import GLib
from gi.repository import Gtk
BREAK_SCREEN_GLADE = os.path.join(Utility.BIN_DIRECTORY, "glade/break_screen.glade")
class BreakScreen(object):
"""
The fullscreen window which prevents users from using the computer.
This class reads the break_screen.glade and build the user interface.
"""
def __init__(self, context, on_skip, on_postpone, style_sheet_path):
self.context = context
self.count_labels = []
self.display = Display()
self.enable_postpone = False
self.enable_shortcut = False
self.is_pretified = False
self.keycode_shortcut_postpone = 65
self.keycode_shortcut_skip = 9
self.on_postpone = on_postpone
self.on_skip = on_skip
self.shortcut_disable_time = 2
self.strict_break = False
self.windows = []
# Initialize the theme
css_provider = Gtk.CssProvider()
css_provider.load_from_path(style_sheet_path)
Gtk.StyleContext.add_provider_for_screen(Gdk.Screen.get_default(), css_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
def initialize(self, config):
"""
Initialize the internal properties from configuration
"""
logging.info("Initialize the break screen")
self.enable_postpone = config.get('allow_postpone', False)
self.keycode_shortcut_postpone = config.get('shortcut_postpone', 65)
self.keycode_shortcut_skip = config.get('shortcut_skip', 9)
self.shortcut_disable_time = config.get('shortcut_disable_time', 2)
self.strict_break = config.get('strict_break', False)
def skip_break(self):
"""
Skip the break from the break screen
"""
logging.info("User skipped the break")
# Must call on_skip before close to lock screen before closing the break screen
self.on_skip()
self.close()
def postpone_break(self):
"""
Postpone the break from the break screen
"""
logging.info("User postponed the break")
self.on_postpone()
self.close()
def on_window_delete(self, *args):
"""
Window close event handler.
"""
logging.info("Closing the break screen")
self.__release_keyboard()
self.close()
def on_skip_clicked(self, button):
"""
Skip button press event handler.
"""
self.skip_break()
def on_postpone_clicked(self, button):
"""
Postpone button press event handler.
"""
self.postpone_break()
def show_count_down(self, countdown, seconds):
"""
Show/update the count down on all screens.
"""
self.enable_shortcut = not self.strict_break and self.shortcut_disable_time <= seconds
mins, secs = divmod(countdown, 60)
timeformat = '{:02d}:{:02d}'.format(mins, secs)
GLib.idle_add(lambda: self.__update_count_down(timeformat))
def show_message(self, break_obj, widget):
"""
Show the break screen with the given message on all displays.
"""
message = break_obj.name
image_path = break_obj.image
self.enable_shortcut = not self.strict_break and self.shortcut_disable_time <= 0
GLib.idle_add(lambda: self.__show_break_screen(message, image_path, widget))
def close(self):
"""
Hide the break screen from active window and destroy all other windows
"""
logging.info("Close the break screen(s)")
self.__release_keyboard()
# Destroy other windows if exists
GLib.idle_add(lambda: self.__destroy_all_screens())
def __show_break_screen(self, message, image_path, widget):
"""
Show an empty break screen on all screens.
"""
# Lock the keyboard
thread = threading.Thread(target=self.__lock_keyboard)
thread.start()
logging.info("Show break screens in all displays")
screen = Gtk.Window().get_screen()
no_of_monitors = screen.get_n_monitors()
for monitor in range(no_of_monitors):
monitor_gemoetry = screen.get_monitor_geometry(monitor)
x = monitor_gemoetry.x
y = monitor_gemoetry.y
builder = Gtk.Builder()
builder.add_from_file(BREAK_SCREEN_GLADE)
builder.connect_signals(self)
window = builder.get_object("window_main")
lbl_message = builder.get_object("lbl_message")
lbl_count = builder.get_object("lbl_count")
lbl_widget = builder.get_object("lbl_widget")
img_break = builder.get_object("img_break")
box_buttons = builder.get_object("box_buttons")
# Add the buttons
if not self.strict_break:
# Add postpone button
if self.enable_postpone:
btn_postpone = Gtk.Button(_('Postpone'))
btn_postpone.get_style_context().add_class('btn_postpone')
btn_postpone.connect('clicked', self.on_postpone_clicked)
btn_postpone.set_visible(True)
box_buttons.pack_start(btn_postpone, True, True, 0)
# Add the skip button
btn_skip = Gtk.Button(_('Skip'))
btn_skip.get_style_context().add_class('btn_skip')
btn_skip.connect('clicked', self.on_skip_clicked)
btn_skip.set_visible(True)
box_buttons.pack_start(btn_skip, True, True, 0)
# Set values
if image_path:
img_break.set_from_file(image_path)
lbl_message.set_label(message)
lbl_widget.set_markup(widget)
self.windows.append(window)
self.count_labels.append(lbl_count)
# Set visual to apply css theme. It should be called before show method.
window.set_visual(window.get_screen().get_rgba_visual())
if self.context['desktop'] == 'kde':
# Fix flickering screen in KDE by setting opacity to 1
window.set_opacity(0.9)
window.stick()
window.set_keep_above(True)
window.present()
window.move(x, y)
window.fullscreen()
def __update_count_down(self, count):
"""
Update the countdown on all break screens.
"""
for label in self.count_labels:
label.set_text(count)
def __lock_keyboard(self):
"""
Lock the keyboard to prevent the user from using keyboard shortcuts
"""
logging.info("Lock the keyboard")
self.lock_keyboard = True
# Grab the keyboard
root = self.display.screen().root
root.change_attributes(event_mask=X.KeyPressMask | X.KeyReleaseMask)
root.grab_keyboard(True, X.GrabModeAsync, X.GrabModeAsync, X.CurrentTime)
# Consume keyboard events
while self.lock_keyboard:
if self.display.pending_events() > 0:
# Avoid waiting for next event by checking pending events
event = self.display.next_event()
if self.enable_shortcut and event.type == X.KeyPress:
if event.detail == self.keycode_shortcut_skip:
self.skip_break()
break
elif self.enable_postpone and event.detail == self.keycode_shortcut_postpone:
self.postpone_break()
break
else:
# Reduce the CPU usage by sleeping for a second
time.sleep(1)
def __release_keyboard(self):
"""
Release the locked keyboard.
"""
logging.info("Unlock the keyboard")
self.lock_keyboard = False
self.display.ungrab_keyboard(X.CurrentTime)
self.display.flush()
def __destroy_all_screens(self):
"""
Close all the break screens.
"""
for win in self.windows:
win.destroy()
del self.windows[:]
del self.count_labels[:]
SafeEyes-2.0.0/safeeyes/PluginManager.py 0000664 0000000 0000000 00000031143 13167713615 0020140 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2017 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
PluginManager loads all enabled plugins and call their lifecycle methods.
A plugin must have the following directory structure:
|- config.json
|- plugin.py
|- icon.png (Optional)
The plugin.py can have following methods but all are optional:
- description()
If a custom description has to be displayed, use this function
- on_init(context, safeeyes_config, plugin_config)
Initialize the plugin. Will be called after loading and after every changes in configuration
- on_start()
Executes when Safe Eyes is enabled
- on_stop()
Executes when Safe Eyes is disabled
- enable()
Executes once the plugin.py is loaded as a module
- disable()
Executes if the plugin is disabled at the runtime by the user
- on_exit()
Executes before Safe Eyes exits
"""
import importlib
import inspect
import logging
import os
import sys
from safeeyes import Utility
sys.path.append(os.path.abspath(Utility.SYSTEM_PLUGINS_DIR))
sys.path.append(os.path.abspath(Utility.USER_PLUGINS_DIR))
HORIZONTAL_LINE_LENGTH = 64
class PluginManager(object):
"""
Imports the Safe Eyes plugins and calls the methods defined in those plugins.
"""
def __init__(self, context, config):
logging.info('Load all the plugins')
self.__plugins = {}
self.__plugins_on_init = []
self.__plugins_on_start = []
self.__plugins_on_stop = []
self.__plugins_on_exit = []
self.__plugins_on_pre_break = []
self.__plugins_on_start_break = []
self.__plugins_on_stop_break = []
self.__plugins_on_countdown = []
self.__plugins_update_next_break = []
self.__widget_plugins = []
self.last_break = None
self.horizontal_line = '─' * HORIZONTAL_LINE_LENGTH
def init(self, context, config):
"""
Initialize all the plugins with init(context, safeeyes_config, plugin_config) function.
"""
# Load the plugins
for plugin in config.get('plugins'):
try:
self.__load_plugin(plugin, context)
except BaseException:
logging.error('Error in loading the plugin: %s', plugin['id'])
continue
# Initialize the plugins
for plugin in self.__plugins_on_init:
plugin['module'].init(context, config, plugin['config'])
return True
def start(self):
"""
Execute the on_start() function of plugins.
"""
for plugin in self.__plugins_on_start:
plugin['module'].on_start()
return True
def stop(self):
"""
Execute the on_stop() function of plugins.
"""
for plugin in self.__plugins_on_stop:
plugin['module'].on_stop()
return True
def exit(self):
"""
Execute the on_exit() function of plugins.
"""
for plugin in self.__plugins_on_exit:
plugin['module'].on_exit()
return True
def pre_break(self, break_obj):
"""
Execute the on_pre_break(break_obj) function of plugins.
"""
for plugin in self.__plugins_on_pre_break:
if break_obj.plugin_enabled(plugin['id'], plugin['enabled']):
if plugin['module'].on_pre_break(break_obj):
return False
return True
def start_break(self, break_obj):
"""
Execute the start_break(break_obj) function of plugins.
"""
self.last_break = break_obj
for plugin in self.__plugins_on_start_break:
if break_obj.plugin_enabled(plugin['id'], plugin['enabled']):
if plugin['module'].on_start_break(break_obj):
return False
return True
def stop_break(self):
"""
Execute the stop_break() function of plugins.
"""
for plugin in self.__plugins_on_stop_break:
if self.last_break.plugin_enabled(plugin['id'], plugin['enabled']):
plugin['module'].on_stop_break()
def countdown(self, countdown, seconds):
"""
Execute the on_countdown(countdown, seconds) function of plugins.
"""
for plugin in self.__plugins_on_countdown:
if self.last_break.plugin_enabled(plugin['id'], plugin['enabled']):
plugin['module'].on_countdown(countdown, seconds)
def update_next_break(self, break_time):
"""
Execute the update_next_break(break_time) function of plugins.
"""
for plugin in self.__plugins_update_next_break:
plugin['module'].update_next_break(break_time)
return True
def get_break_screen_widgets(self, break_obj):
"""
Return the HTML widget generated by the plugins.
The widget is generated by calling the get_widget_title and get_widget_content functions of plugins.
"""
widget = ''
for plugin in self.__widget_plugins:
if break_obj.plugin_enabled(plugin['id'], plugin['enabled']):
try:
title = plugin['module'].get_widget_title(break_obj).upper().strip()
if title == '':
continue
content = plugin['module'].get_widget_content(break_obj)
if content == '':
continue
widget += '{}\n{}\n{}\n\n\n'.format(title, self.horizontal_line, content)
except BaseException:
continue
return widget.strip()
def __has_method(self, module, method_name, no_of_args=0):
"""
Check whether the given function is defined in the module or not.
"""
if hasattr(module, method_name):
if len(inspect.getargspec(getattr(module, method_name)).args) == no_of_args:
return True
return False
def __remove_if_exists(self, list_of_items, item):
"""
Remove the item from the list_of_items it it exists.
"""
if item in list_of_items:
list_of_items.remove(item)
def __load_plugin(self, plugin, context):
"""
Load the given plugin.
"""
plugin_enabled = plugin['enabled']
if plugin['id'] in self.__plugins and not plugin_enabled:
# A disabled plugin but that was loaded earlier
plugin_obj = self.__plugins[plugin['id']]
if plugin_obj['enabled']:
# Previously enabled but now disabled
plugin_obj['enabled'] = False
self.__remove_if_exists(self.__plugins_on_start, plugin_obj)
self.__remove_if_exists(self.__plugins_on_stop, plugin_obj)
self.__remove_if_exists(self.__plugins_on_exit, plugin_obj)
self.__remove_if_exists(self.__plugins_update_next_break, plugin_obj)
# Call the plugin.disable method if available
if self.__has_method(plugin_obj['module'], 'disable'):
plugin_obj['module'].disable()
logging.info("Successfully unloaded the plugin '%s'", plugin['id'])
if not plugin_obj['break_override_allowed']:
# Remaining methods also should be removed
self.__remove_if_exists(self.__plugins_on_init, plugin_obj)
self.__remove_if_exists(self.__plugins_on_pre_break, plugin_obj)
self.__remove_if_exists(self.__plugins_on_start_break, plugin_obj)
self.__remove_if_exists(self.__plugins_on_stop_break, plugin_obj)
self.__remove_if_exists(self.__plugins_on_countdown, plugin_obj)
self.__remove_if_exists(self.__widget_plugins, plugin_obj)
del self.__plugins[plugin['id']]
return
# Look for plugin.py
plugin_dir = None
if os.path.isfile(os.path.join(Utility.SYSTEM_PLUGINS_DIR, plugin['id'], 'plugin.py')):
plugin_dir = Utility.SYSTEM_PLUGINS_DIR
elif os.path.isfile(os.path.join(Utility.USER_PLUGINS_DIR, plugin['id'], 'plugin.py')):
plugin_dir = Utility.USER_PLUGINS_DIR
else:
logging.error('plugin.py not found for the plugin: %s', plugin['id'])
return
# Look for config.json
plugin_config_path = os.path.join(plugin_dir, plugin['id'], 'config.json')
if not os.path.isfile(plugin_config_path):
logging.error('config.json not found for the plugin: %s', plugin['id'])
return
plugin_config = Utility.load_json(plugin_config_path)
if plugin_config is None:
return
if (plugin_enabled or plugin_config.get('break_override_allowed', False)):
if plugin['id'] in self.__plugins:
# The plugin is already enabled or partially loaded due to break_override_allowed
# Use the existing plugin object
plugin_obj = self.__plugins[plugin['id']]
if plugin_obj['enabled']:
# Already loaded completely
return
# Plugin was partially loaded due to break_override_allowed
if plugin_enabled:
# Load the rest of the methods
plugin_obj['enabled'] = True
module = plugin_obj['module']
if self.__has_method(module, 'on_start'):
self.__plugins_on_start.append(plugin_obj)
if self.__has_method(module, 'on_stop'):
self.__plugins_on_stop.append(plugin_obj)
if self.__has_method(module, 'on_exit'):
self.__plugins_on_exit.append(plugin_obj)
if self.__has_method(module, 'update_next_break', 1):
self.__plugins_update_next_break.append(plugin_obj)
else:
# This is the first time to load the plugin
# Check for dependencies
if Utility.check_plugin_dependencies(plugin_config):
return
# Load the plugin module
module = importlib.import_module((plugin['id'] + '.plugin'))
logging.info("Successfully loaded %s", str(module))
plugin_obj = {'id': plugin['id'], 'module': module, 'config': plugin.get('settings', {}), 'enabled': plugin_enabled, 'break_override_allowed': plugin_config.get('break_override_allowed', False)}
self.__plugins[plugin['id']] = plugin_obj
if self.__has_method(module, 'enable'):
module.enable()
if plugin_enabled:
if self.__has_method(module, 'on_start'):
self.__plugins_on_start.append(plugin_obj)
if self.__has_method(module, 'on_stop'):
self.__plugins_on_stop.append(plugin_obj)
if self.__has_method(module, 'on_exit'):
self.__plugins_on_exit.append(plugin_obj)
if self.__has_method(module, 'update_next_break', 1):
self.__plugins_update_next_break.append(plugin_obj)
if self.__has_method(module, 'init', 3):
self.__plugins_on_init.append(plugin_obj)
if self.__has_method(module, 'on_pre_break', 1):
self.__plugins_on_pre_break.append(plugin_obj)
if self.__has_method(module, 'on_start_break', 1):
self.__plugins_on_start_break.append(plugin_obj)
if self.__has_method(module, 'on_stop_break', 0):
self.__plugins_on_stop_break.append(plugin_obj)
if self.__has_method(module, 'on_countdown', 2):
self.__plugins_on_countdown.append(plugin_obj)
if self.__has_method(module, 'get_widget_title', 1) and self.__has_method(module, 'get_widget_content', 1):
self.__widget_plugins.append(plugin_obj)
SafeEyes-2.0.0/safeeyes/SafeEyes.py 0000664 0000000 0000000 00000023546 13167713615 0017123 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2017 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
SafeEyes connects all the individual components and provide the complete application.
"""
import atexit
import logging
from threading import Timer
import dbus
import gi
from dbus.mainloop.glib import DBusGMainLoop
from safeeyes import Utility
from safeeyes.AboutDialog import AboutDialog
from safeeyes.BreakScreen import BreakScreen
from safeeyes.model import State
from safeeyes.rpc import RPCServer
from safeeyes.PluginManager import PluginManager
from safeeyes.SafeEyesCore import SafeEyesCore
from safeeyes.settings import SettingsDialog
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
SAFE_EYES_VERSION = "2.0.0"
class SafeEyes(object):
"""
This class represents a runnable Safe Eyes instance.
"""
def __init__(self, system_locale, config):
self.active = False
self.break_screen = None
self.safe_eyes_core = None
self.config = config
self.context = {}
self.plugins_manager = None
self.settings_dialog_active = False
self.rpc_server = None
# Initialize the Safe Eyes Context
self.context['version'] = SAFE_EYES_VERSION
self.context['desktop'] = Utility.desktop_environment()
self.context['locale'] = system_locale
self.context['api'] = {}
self.context['api']['show_settings'] = lambda: Utility.execute_main_thread(self.show_settings)
self.context['api']['show_about'] = lambda: Utility.execute_main_thread(self.show_about)
self.context['api']['enable_safeeyes'] = lambda next_break_time=-1: Utility.execute_main_thread(self.enable_safeeyes, next_break_time)
self.context['api']['disable_safeeyes'] = lambda: Utility.execute_main_thread(self.disable_safeeyes)
self.context['api']['quit'] = lambda: Utility.execute_main_thread(self.quit)
if self.config.get('persist_state'):
self.context['session'] = Utility.open_session()
else:
self.context['session'] = {'plugin': {}}
self.break_screen = BreakScreen(self.context, self.on_skipped, self.on_postponed, Utility.STYLE_SHEET_PATH)
self.break_screen.initialize(self.config)
self.plugins_manager = PluginManager(self.context, self.config)
self.safe_eyes_core = SafeEyesCore(self.context)
self.safe_eyes_core.on_pre_break += self.plugins_manager.pre_break
self.safe_eyes_core.on_start_break += self.start_break
self.safe_eyes_core.on_count_down += self.countdown
self.safe_eyes_core.on_stop_break += self.stop_break
self.safe_eyes_core.on_update_next_break += self.update_next_break
self.safe_eyes_core.initialize(self.config)
self.context['api']['take_break'] = lambda: Utility.execute_main_thread(self.safe_eyes_core.take_break)
self.context['api']['has_breaks'] = self.safe_eyes_core.has_breaks
self.plugins_manager.init(self.context, self.config)
atexit.register(self.persist_session)
self.rpc_server = RPCServer(self.config.get('rpc_port'), self.context)
self.rpc_server.start()
def start(self):
"""
Start Safe Eyes
"""
if self.safe_eyes_core.has_breaks():
self.active = True
self.context['state'] = State.START
self.plugins_manager.start() # Call the start method of all plugins
self.safe_eyes_core.start()
self.handle_system_suspend()
def show_settings(self):
"""
Listen to tray icon Settings action and send the signal to Settings dialog.
"""
if not self.settings_dialog_active:
logging.info("Show Settings dialog")
self.settings_dialog_active = True
settings_dialog = SettingsDialog(self.config, self.save_settings)
settings_dialog.show()
def show_about(self):
"""
Listen to tray icon About action and send the signal to About dialog.
"""
logging.info("Show About dialog")
about_dialog = AboutDialog(SAFE_EYES_VERSION)
about_dialog.show()
def quit(self):
"""
Listen to the tray menu quit action and stop the core, notification and the app itself.
"""
logging.info("Quit Safe Eyes")
self.context['state'] = State.QUIT
self.plugins_manager.stop()
self.safe_eyes_core.stop()
self.plugins_manager.exit()
self.rpc_server.stop()
Gtk.main_quit()
def handle_suspend_callback(self, sleeping):
"""
If the system goes to sleep, Safe Eyes stop the core if it is already active.
If it was active, Safe Eyes will become active after wake up.
"""
if sleeping:
# Sleeping / suspending
if self.active:
logging.info("Stop Safe Eyes due to system suspend")
self.plugins_manager.stop()
self.safe_eyes_core.stop()
else:
# Resume from sleep
if self.active and self.safe_eyes_core.has_breaks():
logging.info("Resume Safe Eyes after system wakeup")
self.plugins_manager.start()
self.safe_eyes_core.start()
def handle_system_suspend(self):
"""
Setup system suspend listener.
"""
DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus()
bus.add_signal_receiver(self.handle_suspend_callback, 'PrepareForSleep', 'org.freedesktop.login1.Manager', 'org.freedesktop.login1')
def on_skipped(self):
"""
Listen to break screen Skip action and send the signal to core.
"""
logging.info("User skipped the break")
self.safe_eyes_core.skip()
self.plugins_manager.stop_break()
def on_postponed(self):
"""
Listen to break screen Postpone action and send the signal to core.
"""
logging.info("User postponed the break")
self.safe_eyes_core.postpone()
self.plugins_manager.stop_break()
def save_settings(self, config):
"""
Listen to Settings dialog Save action and write to the config file.
"""
self.settings_dialog_active = False
logging.info("Saving settings to safeeyes.json")
# Stop the Safe Eyes core
if self.active:
self.plugins_manager.stop()
self.safe_eyes_core.stop()
# Write the configuration to file
config.save()
self.persist_session()
logging.info("Initialize SafeEyesCore with modified settings")
# Restart the core and intialize the components
self.config = config
self.safe_eyes_core.initialize(config)
self.break_screen.initialize(config)
self.plugins_manager.init(self.context, self.config)
if self.active and self.safe_eyes_core.has_breaks():
# 1 sec delay is required to give enough time for core to be stopped
Timer(1.0, self.safe_eyes_core.start).start()
self.plugins_manager.start()
def enable_safeeyes(self, scheduled_next_break_time=-1):
"""
Listen to tray icon enable action and send the signal to core.
"""
if not self.active and self.safe_eyes_core.has_breaks():
self.active = True
self.safe_eyes_core.start(scheduled_next_break_time)
self.plugins_manager.start()
def disable_safeeyes(self):
"""
Listen to tray icon disable action and send the signal to core.
"""
if self.active:
self.active = False
self.plugins_manager.stop()
self.safe_eyes_core.stop()
def start_break(self, break_obj):
"""
Pass the break information to plugins and break screen.
"""
if not self.plugins_manager.start_break(break_obj):
return False
# Get the HTML widgets content from plugins
widget = self.plugins_manager.get_break_screen_widgets(break_obj)
self.break_screen.show_message(break_obj, widget)
return True
def countdown(self, countdown, seconds):
"""
Pass the countdown to plugins and break screen.
"""
self.break_screen.show_count_down(countdown, seconds)
self.plugins_manager.countdown(countdown, seconds)
return True
def update_next_break(self, break_time):
"""
Update the next break to plugins and save the session.
"""
self.plugins_manager.update_next_break(break_time)
if self.config.get('persist_state'):
Utility.write_json(Utility.SESSION_FILE_PATH, self.context['session'])
def stop_break(self):
"""
Stop the current break.
"""
self.break_screen.close()
self.plugins_manager.stop_break()
return True
def take_break(self):
"""
Take a break now.
"""
self.safe_eyes_core.take_break()
def persist_session(self):
"""
Save the session object to the session file.
"""
if self.config.get('persist_state'):
Utility.write_json(Utility.SESSION_FILE_PATH, self.context['session'])
else:
Utility.delete(Utility.SESSION_FILE_PATH)
SafeEyes-2.0.0/safeeyes/SafeEyesCore.py 0000664 0000000 0000000 00000030460 13167713615 0017725 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2016 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
SafeEyesCore provides the core functionalities of Safe Eyes.
"""
import datetime
import logging
import threading
import time
from safeeyes import Utility
from safeeyes.model import Break
from safeeyes.model import BreakType
from safeeyes.model import EventHook
from safeeyes.model import State
class SafeEyesCore(object):
"""
Core of Safe Eyes runs the scheduler and notifies the breaks.
"""
def __init__(self, context):
"""
Create an instance of SafeEyesCore and initialize the variables.
"""
self.break_count = 0
self.break_interval = 0
self.breaks = None
self.long_break_duration = 0
self.next_break_index = context['session'].get('next_break_index', 0)
self.postpone_duration = 0
self.pre_break_warning_time = 0
self.running = False
self.short_break_duration = 0
self.scheduled_next_break_time = -1
# This event is fired before for a break
self.on_pre_break = EventHook()
# This event is fired at the start of a break
self.on_start_break = EventHook()
# This event is fired during every count down
self.on_count_down = EventHook()
# This event is fired at the end of a break
self.on_stop_break = EventHook()
# This event is fired when deciding the next break time
self.on_update_next_break = EventHook()
self.waiting_condition = threading.Condition()
self.lock = threading.Lock()
self.context = context
self.context['skipped'] = False
self.context['postponed'] = False
self.context['state'] = State.WAITING
self.context['new_cycle'] = False
def initialize(self, config):
"""
Initialize the internal properties from configuration
"""
logging.info("Initialize the core")
self.breaks = []
self.pre_break_warning_time = config.get('pre_break_warning_time')
self.long_break_duration = config.get('long_break_duration')
self.short_break_duration = config.get('short_break_duration')
self.break_interval = config.get('break_interval')
self.postpone_duration = config.get('postpone_duration')
self.__init_breaks(BreakType.SHORT_BREAK, config.get('short_breaks'), config.get('no_of_short_breaks_per_long_break'))
self.__init_breaks(BreakType.LONG_BREAK, config.get('long_breaks'), config.get('no_of_short_breaks_per_long_break'))
self.break_count = len(self.breaks)
if self.break_count == 0:
# No breaks found
return
self.next_break_index = (self.next_break_index) % self.break_count
self.context['session']['next_break_index'] = self.next_break_index
def start(self, next_break_time=-1):
"""
Start Safe Eyes is it is not running already.
"""
if not self.has_breaks():
return
with self.lock:
if not self.running:
logging.info("Start Safe Eyes core")
self.running = True
self.scheduled_next_break_time = int(next_break_time)
Utility.start_thread(self.__scheduler_job)
def stop(self):
"""
Stop Safe Eyes if it is running.
"""
with self.lock:
if not self.running:
return
logging.info("Stop Safe Eye core")
# Prevent resuming from a long break
if self.has_breaks() and self.__is_long_break():
# Next break will be a long break.
self.__select_next_break()
# Stop the break thread
self.waiting_condition.acquire()
self.running = False
if self.context['state'] != State.QUIT:
self.context['state'] = State.STOPPED
self.waiting_condition.notify_all()
self.waiting_condition.release()
def skip(self):
"""
User skipped the break using Skip button
"""
self.context['skipped'] = True
def postpone(self):
"""
User postponed the break using Postpone button
"""
self.context['postponed'] = True
def take_break(self):
"""
Calling this method stops the scheduler and show the next break screen
"""
if not self.has_breaks():
return
if not self.context['state'] == State.WAITING:
return
Utility.start_thread(self.__take_break)
def has_breaks(self):
"""
Check whether Safe Eyes has breaks or not.
"""
return bool(self.breaks)
def __take_break(self):
"""
Show the next break screen
"""
logging.info('Take a break due to external request')
with self.lock:
if not self.running:
return
logging.info("Stop the scheduler")
# Stop the break thread
self.waiting_condition.acquire()
self.running = False
self.waiting_condition.notify_all()
self.waiting_condition.release()
time.sleep(1) # Wait for 1 sec to ensure the sceduler is dead
self.running = True
self.context['new_cycle'] = self.next_break_index == 0
Utility.execute_main_thread(self.__fire_start_break)
def __scheduler_job(self):
"""
Scheduler task to execute during every interval
"""
if not self.running:
return
self.context['state'] = State.WAITING
time_to_wait = self.break_interval # In minutes
if self.context['postponed']:
# Wait until the postpone time
time_to_wait = self.postpone_duration
self.context['postponed'] = False
current_time = datetime.datetime.now()
current_timestamp = int(current_time.timestamp())
if current_timestamp < self.scheduled_next_break_time:
time_to_wait = int((self.scheduled_next_break_time - current_timestamp) / 60)
self.scheduled_next_break_time = -1
next_break_time = current_time + datetime.timedelta(minutes=time_to_wait)
self.on_update_next_break.fire(next_break_time)
if self.__is_long_break():
self.context['break_type'] = 'long'
else:
self.context['break_type'] = 'short'
# Wait for the pre break warning period
logging.info("Waiting for %s minutes until next break", time_to_wait)
self.__wait_for(time_to_wait * 60) # Convert to seconds
logging.info("Pre-break waiting is over")
if not self.running:
return
self.context['new_cycle'] = self.next_break_index == 0
Utility.execute_main_thread(self.__fire_pre_break)
def __fire_pre_break(self):
"""
Show the notification and start the break after the notification.
"""
self.context['state'] = State.PRE_BREAK
if not self.on_pre_break.fire(self.breaks[self.next_break_index]):
# Plugins wanted to ignore this break
self.__start_next_break()
return
Utility.start_thread(self.__wait_until_prepare)
def __wait_until_prepare(self):
logging.info("Wait for %d seconds before the break", self.pre_break_warning_time)
# Wait for the pre break warning period
self.__wait_for(self.pre_break_warning_time)
if not self.running:
return
Utility.execute_main_thread(self.__fire_start_break)
def __fire_start_break(self):
# Show the break screen
if not self.on_start_break.fire(self.breaks[self.next_break_index]):
# Plugins wanted to ignore this break
self.__start_next_break()
return
Utility.start_thread(self.__start_break)
def __start_break(self):
"""
Start the break screen.
"""
self.context['state'] = State.BREAK
break_obj = self.breaks[self.next_break_index]
countdown = break_obj.time
total_break_time = countdown
while countdown and self.running and not self.context['skipped'] and not self.context['postponed']:
seconds = total_break_time - countdown
self.on_count_down.fire(countdown, seconds)
time.sleep(1) # Sleep for 1 second
countdown -= 1
Utility.execute_main_thread(self.__fire_stop_break)
def __fire_stop_break(self):
# Loop terminated because of timeout (not skipped) -> Close the break alert
if not self.context['skipped'] and not self.context['postponed']:
logging.info("Break is terminated automatically")
self.on_stop_break.fire()
# Reset the skipped flag
self.context['skipped'] = False
self.__start_next_break()
def __wait_for(self, duration):
"""
Wait until someone wake up or the timeout happens.
"""
self.waiting_condition.acquire()
self.waiting_condition.wait(duration)
self.waiting_condition.release()
def __select_next_break(self):
"""
Select the next break.
"""
self.next_break_index = (self.next_break_index + 1) % self.break_count
self.context['session']['next_break_index'] = self.next_break_index
def __is_long_break(self):
"""
Check if the next break is long break.
"""
return self.breaks[self.next_break_index].type is BreakType.LONG_BREAK
def __start_next_break(self):
if not self.context['postponed']:
self.__select_next_break()
if self.running:
# Schedule the break again
Utility.start_thread(self.__scheduler_job)
def __init_breaks(self, break_type, break_configs, short_breaks_per_long_break=0):
"""
Fill the self.breaks using short and local breaks.
"""
# Defin the default break time
default_break_time = self.short_break_duration
# Duplicate short breaks to equally distribute the long breaks
if break_type is BreakType.LONG_BREAK:
if self.breaks:
default_break_time = self.long_break_duration
required_short_breaks = short_breaks_per_long_break * len(break_configs)
no_of_short_breaks = len(self.breaks)
short_break_index = 0
while no_of_short_breaks < required_short_breaks:
self.breaks.append(self.breaks[short_break_index])
short_break_index += 1
no_of_short_breaks += 1
else:
# If there are no short breaks, extend the break interval according to long break interval
self.break_interval = int(self.break_interval * short_breaks_per_long_break)
iteration = 1
for break_config in break_configs:
name = _(break_config['name'])
break_time = break_config.get('duration', default_break_time)
image = break_config.get('image')
plugins = break_config.get('plugins', None)
# Validate time value
if not isinstance(break_time, int) or break_time <= 0:
logging.error('Invalid time in break: ' + str(break_config))
continue
break_obj = Break(break_type, name, break_time, image, plugins)
if break_type is BreakType.SHORT_BREAK:
self.breaks.append(break_obj)
else:
# Long break
index = iteration * (short_breaks_per_long_break + 1) - 1
self.breaks.insert(index, break_obj)
iteration += 1
SafeEyes-2.0.0/safeeyes/Utility.py 0000664 0000000 0000000 00000040104 13167713615 0017047 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2017 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
This module contains utility functions for Safe Eyes and its plugins.
"""
import errno
import imp
import json
import locale
import logging
import os
import shutil
import subprocess
import threading
from distutils.version import LooseVersion
from logging.handlers import RotatingFileHandler
import babel.dates
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import GLib
gi.require_version('Gdk', '3.0')
BIN_DIRECTORY = os.path.dirname(os.path.realpath(__file__))
HOME_DIRECTORY = os.path.expanduser('~')
CONFIG_DIRECTORY = os.path.join(HOME_DIRECTORY, '.config/safeeyes')
CONFIG_FILE_PATH = os.path.join(CONFIG_DIRECTORY, 'safeeyes.json')
CONFIG_RESOURCE = os.path.join(CONFIG_DIRECTORY, 'resource')
SESSION_FILE_PATH = os.path.join(CONFIG_DIRECTORY, 'session.json')
STYLE_SHEET_PATH = os.path.join(CONFIG_DIRECTORY, 'style/safeeyes_style.css')
SYSTEM_CONFIG_FILE_PATH = os.path.join(BIN_DIRECTORY, "config/safeeyes.json")
SYSTEM_STYLE_SHEET_PATH = os.path.join(BIN_DIRECTORY, "config/style/safeeyes_style.css")
LOG_FILE_PATH = os.path.join(CONFIG_DIRECTORY, 'safeeyes.log')
SYSTEM_PLUGINS_DIR = os.path.join(BIN_DIRECTORY, 'plugins')
USER_PLUGINS_DIR = os.path.join(CONFIG_DIRECTORY, 'plugins')
LOCALE_PATH = os.path.join(BIN_DIRECTORY, 'config/locale')
DESKTOP_ENVIRONMENT = None
def get_resource_path(resource_name):
"""
Return the user-defined resource if a system resource is overridden by the user.
Otherwise, return the system resource. Return None if the specified resource does not exist.
"""
if resource_name is None:
return None
resource_location = os.path.join(CONFIG_RESOURCE, resource_name)
if not os.path.isfile(resource_location):
resource_location = os.path.join(BIN_DIRECTORY, 'resource', resource_name)
if not os.path.isfile(resource_location):
# Resource not found
resource_location = None
return resource_location
def start_thread(target_function, **args):
"""
Execute the function in a separate thread.
"""
thread = threading.Thread(target=target_function, kwargs=args)
thread.start()
def execute_main_thread(target_function, args=None):
"""
Execute the given function in main thread.
"""
if args:
GLib.idle_add(lambda: target_function(args))
else:
GLib.idle_add(target_function)
def system_locale():
"""
Return the system locale. If not available, return en_US.UTF-8.
"""
try:
locale.setlocale(locale.LC_ALL, '')
sys_locale = locale.getlocale(locale.LC_TIME)[0]
if not sys_locale:
sys_locale = 'en_US.UTF-8'
return sys_locale
except BaseException:
# Some systems does not return proper locale
return 'en_US.UTF-8'
def format_time(time):
"""
Format time based on the system time.
"""
sys_locale = system_locale()
return babel.dates.format_time(time, format='short', locale=sys_locale)
def mkdir(path):
"""
Create directory if not exists.
"""
try:
os.makedirs(path)
except OSError as exc:
if exc.errno == errno.EEXIST and os.path.isdir(path):
pass
else:
logging.error('Error while creating ' + str(path))
raise
def load_json(json_path):
"""
Load the JSON file from the given path.
"""
json_obj = None
if os.path.isfile(json_path):
try:
with open(json_path) as config_file:
json_obj = json.load(config_file)
except BaseException:
pass
return json_obj
def write_json(json_path, json_obj):
"""
Write the JSON object at the given path
"""
try:
with open(json_path, 'w') as json_file:
json.dump(json_obj, json_file, indent=4, sort_keys=True)
except BaseException:
pass
def delete(file_path):
"""
Delete the given file or directory
"""
try:
os.remove(file_path)
except OSError:
pass
def check_plugin_dependencies(plugin_config):
"""
Check the plugin dependencies.
"""
# Check the desktop environment
if plugin_config['dependencies']['desktop_environments']:
# Plugin has restrictions on desktop environments
if DESKTOP_ENVIRONMENT not in plugin_config['dependencies']['desktop_environments']:
return _('Plugin does not support %s desktop environment') % DESKTOP_ENVIRONMENT
# Check the Python modules
for module in plugin_config['dependencies']['python_modules']:
if not module_exist(module):
return _("Please install the Python module '%s'") % module
# Check the shell commands
for command in plugin_config['dependencies']['shell_commands']:
if not command_exist(command):
return _("Please install the command-line tool '%s'") % command
# Check the resources
for resource in plugin_config['dependencies']['resources']:
if get_resource_path(resource) is None:
return _('Please add the resource %(resource)s to %(config_resource)s directory') % {'resource': resource, 'config_resource': CONFIG_RESOURCE}
return None
def load_plugins_config(safeeyes_config):
"""
Load all the plugins from the given directory.
"""
configs = []
for plugin in safeeyes_config.get('plugins'):
plugin_path = os.path.join(SYSTEM_PLUGINS_DIR, plugin['id'])
if not os.path.isdir(plugin_path):
# User plugin
plugin_path = os.path.join(USER_PLUGINS_DIR, plugin['id'])
plugin_config_path = os.path.join(plugin_path, 'config.json')
plugin_icon_path = os.path.join(plugin_path, 'icon.png')
plugin_module_path = os.path.join(plugin_path, 'plugin.py')
if not os.path.isfile(plugin_module_path):
return
icon = None
if os.path.isfile(plugin_icon_path):
icon = plugin_icon_path
else:
icon = get_resource_path('ic_plugin.png')
config = load_json(plugin_config_path)
if config is None:
continue
dependency_description = check_plugin_dependencies(config)
if dependency_description:
plugin['enabled'] = False
config['error'] = True
config['meta']['description'] = dependency_description
icon = get_resource_path('ic_warning.png')
else:
config['error'] = False
config['id'] = plugin['id']
config['icon'] = icon
config['enabled'] = plugin['enabled']
for setting in config['settings']:
setting['safeeyes_config'] = plugin['settings']
configs.append(config)
return configs
def desktop_environment():
"""
Detect the desktop environment.
"""
global DESKTOP_ENVIRONMENT
desktop_session = os.environ.get('DESKTOP_SESSION')
current_desktop = os.environ.get('XDG_CURRENT_DESKTOP')
env = 'unknown'
if desktop_session is not None:
desktop_session = desktop_session.lower()
if desktop_session in ['gnome', 'unity', 'budgie-desktop', 'cinnamon', 'mate', 'xfce4', 'lxde', 'pantheon', 'fluxbox', 'blackbox', 'openbox', 'icewm', 'jwm', 'afterstep', 'trinity', 'kde']:
env = desktop_session
elif desktop_session.startswith('xubuntu') or (current_desktop is not None and 'xfce' in current_desktop):
env = 'xfce'
elif desktop_session.startswith('lubuntu'):
env = 'lxde'
elif 'plasma' in desktop_session or desktop_session.startswith('kubuntu') or os.environ.get('KDE_FULL_SESSION') == 'true':
env = 'kde'
elif os.environ.get('GNOME_DESKTOP_SESSION_ID'):
env = 'gnome'
elif desktop_session.startswith('ubuntu'):
env = 'unity'
DESKTOP_ENVIRONMENT = env
return env
def execute_command(command, args=[]):
"""
Execute the shell command without waiting for its response.
"""
if command:
command_to_execute = []
if isinstance(command, str):
command_to_execute.append(command)
else:
command_to_execute.extend(command)
if args:
command_to_execute.extend(args)
try:
subprocess.Popen(command_to_execute)
except BaseException:
logging.error('Error in executing the command ' + str(command))
def command_exist(command):
"""
Check whether the given command exist in the system or not.
"""
if shutil.which(command):
return True
return False
def module_exist(module):
"""
Check wther the given Python module exists or not.
"""
try:
imp.find_module(module)
return True
except ImportError:
return False
def merge_configs(new_config, old_config):
"""
Merge the values of old_config into the new_config.
"""
new_config = new_config.copy()
new_config.update(old_config)
return new_config
def initialize_safeeyes():
"""
Create the config file and style sheet in ~/.config/safeeyes directory.
"""
logging.info('Copy the config files to ~/.config/safeeyes')
style_dir_path = os.path.join(HOME_DIRECTORY, '.config/safeeyes/style')
startup_dir_path = os.path.join(HOME_DIRECTORY, '.config/autostart')
# Remove the ~/.config/safeeyes directory
delete(os.path.join(CONFIG_DIRECTORY, 'safeeyes.json'))
# Remove the startup file
delete(os.path.join(HOME_DIRECTORY, os.path.join(startup_dir_path, 'safeeyes.desktop')))
# Create the ~/.config/safeeyes/style directory
mkdir(style_dir_path)
mkdir(startup_dir_path)
# Copy the safeeyes.json
shutil.copy2(SYSTEM_CONFIG_FILE_PATH, CONFIG_FILE_PATH)
# Copy the new startup file
try:
os.symlink("/usr/share/applications/safeeyes.desktop", os.path.join(startup_dir_path, 'safeeyes.desktop'))
except OSError:
pass
# Copy the new style sheet
if not os.path.isfile(STYLE_SHEET_PATH):
shutil.copy2(SYSTEM_STYLE_SHEET_PATH, STYLE_SHEET_PATH)
def intialize_logging(debug):
"""
Initialize the logging framework using the Safe Eyes specific configurations.
"""
# Create the directory to store log file if not exist
if not os.path.exists(CONFIG_DIRECTORY):
try:
os.makedirs(CONFIG_DIRECTORY)
except OSError:
pass
# Configure logging.
root_logger = logging.getLogger()
log_formatter = logging.Formatter('%(asctime)s [%(levelname)s]:[%(threadName)s] %(message)s')
# Append the logs and overwrite once reached 5MB
file_handler = RotatingFileHandler(LOG_FILE_PATH, mode='a', maxBytes=5 * 1024 * 1024, backupCount=2, encoding=None, delay=0)
file_handler.setFormatter(log_formatter)
if debug:
file_handler.setLevel(logging.DEBUG)
root_logger.setLevel(logging.DEBUG)
console_handler = logging.StreamHandler()
console_handler.setFormatter(log_formatter)
root_logger.addHandler(console_handler)
else:
file_handler.setLevel(logging.INFO)
root_logger.setLevel(logging.INFO)
root_logger.addHandler(file_handler)
def __open_plugin_config(plugins_dir, plugin_id):
"""
Open the given plugin's configuration.
"""
plugin_config_path = os.path.join(plugins_dir, plugin_id, 'config.json')
plugin_module_path = os.path.join(plugins_dir, plugin_id, 'plugin.py')
if not os.path.isfile(plugin_config_path) or not os.path.isfile(plugin_module_path):
# Either the config.json or plugin.py is not available
return None
return load_json(plugin_config_path)
def __update_plugin_config(plugin, plugin_config, config):
"""
Update the plugin configuration.
"""
if plugin_config is None:
config['plugins'].remove(plugin)
else:
if LooseVersion(plugin.get('version', '0.0.0')) != LooseVersion(plugin_config['meta']['version']):
# Update the configuration
plugin['version'] = plugin_config['meta']['version']
setting_ids = []
# Add the new settings
for setting in plugin_config['settings']:
setting_ids.append(setting['id'])
if plugin['settings'].get(setting['id'], None) is None:
plugin['settings'][setting['id']] = setting['default']
# Remove the removed ids
keys_to_remove = []
for key in plugin.get('settings', []):
if key not in setting_ids:
keys_to_remove.append(key)
for key in keys_to_remove:
del plugin['settings'][key]
def __add_plugin_config(plugin_id, plugin_config, safe_eyes_config):
"""
"""
if plugin_config is None:
return
config = {}
config['id'] = plugin_id
config['enabled'] = False # By default plugins are disabled
config['version'] = plugin_config['meta']['version']
if plugin_config['settings']:
config['settings'] = {}
for setting in plugin_config['settings']:
config['settings'][setting['id']] = setting['default']
safe_eyes_config['plugins'].append(config)
def merge_plugins(config):
"""
Merge plugin configurations with Safe Eyes configuration.
"""
system_plugins = None
user_plugins = None
# Load system plugins id
if os.path.isdir(SYSTEM_PLUGINS_DIR):
system_plugins = os.listdir(SYSTEM_PLUGINS_DIR)
else:
system_plugins = []
# Load user plugins id
if os.path.isdir(USER_PLUGINS_DIR):
user_plugins = os.listdir(USER_PLUGINS_DIR)
else:
user_plugins = []
# Create a list of existing plugins
for plugin in config['plugins']:
plugin_id = plugin['id']
if plugin_id in system_plugins:
plugin_config = __open_plugin_config(SYSTEM_PLUGINS_DIR, plugin_id)
__update_plugin_config(plugin, plugin_config, config)
system_plugins.remove(plugin_id)
elif plugin_id in user_plugins:
plugin_config = __open_plugin_config(USER_PLUGINS_DIR, plugin_id)
__update_plugin_config(plugin, plugin_config, config)
user_plugins.remove(plugin_id)
else:
config['plugins'].remove(plugin)
# Add all system plugins
for plugin_id in system_plugins:
plugin_config = __open_plugin_config(SYSTEM_PLUGINS_DIR, plugin_id)
__add_plugin_config(plugin_id, plugin_config, config)
# Add all user plugins
for plugin_id in user_plugins:
plugin_config = __open_plugin_config(USER_PLUGINS_DIR, plugin_id)
__add_plugin_config(plugin_id, plugin_config, config)
def open_session():
"""
Open the last session.
"""
logging.info('Reading the session file')
session = load_json(SESSION_FILE_PATH)
if session is None:
session = {'plugin': {}}
return session
def create_gtk_builder(glade_file):
"""
Create a Gtk builder and load the glade file.
"""
builder = Gtk.Builder()
builder.set_translation_domain('safeeyes')
builder.add_from_file(glade_file)
# Tranlslate all sub components
for obj in builder.get_objects():
if (not isinstance(obj, Gtk.SeparatorMenuItem)) and hasattr(obj, "get_label"):
label = obj.get_label()
if label is not None:
obj.set_label(_(label))
elif hasattr(obj, "get_title"):
title = obj.get_title()
if title is not None:
obj.set_title(_(title))
return builder
SafeEyes-2.0.0/safeeyes/__init__.py 0000664 0000000 0000000 00000000000 13167713615 0017132 0 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/__main__.py 0000775 0000000 0000000 00000012111 13167713615 0017124 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python3
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2016 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
Safe Eyes is a utility to remind you to take break frequently to protect your eyes from eye strain.
"""
import argparse
import gettext
import locale
import logging
import sys
from threading import Timer
import gi
import psutil
from safeeyes import Utility
from safeeyes.model import Config
from safeeyes.SafeEyes import SafeEyes
from safeeyes.SafeEyes import SAFE_EYES_VERSION
from safeeyes.rpc import RPCClient
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
gettext.install('safeeyes', Utility.LOCALE_PATH)
def __running():
"""
Check if SafeEyes is already running.
"""
process_count = 0
for proc in psutil.process_iter():
if not proc.cmdline:
continue
try:
# Check if safeeyes is in process arguments
if callable(proc.cmdline):
# Latest psutil has cmdline function
cmd_line = proc.cmdline()
else:
# In older versions cmdline was a list object
cmd_line = proc.cmdline
if ('python3' in cmd_line[0] or 'python' in cmd_line[0]) and ('safeeyes' in cmd_line[1] or 'safeeyes' in cmd_line):
process_count += 1
if process_count > 1:
return True
# Ignore if process does not exist or does not have command line args
except (IndexError, psutil.NoSuchProcess):
pass
return False
def __evaluate_arguments(args, safe_eyes):
"""
Evaluate the arguments and execute the operations.
"""
if args.about:
Utility.execute_main_thread(safe_eyes.show_about)
elif args.disable:
Utility.execute_main_thread(safe_eyes.disable_safeeyes)
elif args.enable:
Utility.execute_main_thread(safe_eyes.enable_safeeyes)
elif args.settings:
Utility.execute_main_thread(safe_eyes.show_settings)
elif args.take_break:
Utility.execute_main_thread(safe_eyes.take_break)
def main():
"""
Start the Safe Eyes.
"""
system_locale = gettext.translation('safeeyes', localedir=Utility.LOCALE_PATH, languages=[Utility.system_locale(), 'en_US'], fallback=True)
system_locale.install()
# locale.bindtextdomain is required for Glade files
# gettext.bindtextdomain(gettext.textdomain(), Utility.LOCALE_PATH)
locale.bindtextdomain('safeeyes', Utility.LOCALE_PATH)
parser = argparse.ArgumentParser(prog='safeeyes', description=_('description'))
group = parser.add_mutually_exclusive_group()
group.add_argument('-a', '--about', help=_('show the about dialog'), action='store_true')
group.add_argument('-d', '--disable', help=_('disable the currently running safeeyes instance'), action='store_true')
group.add_argument('-e', '--enable', help=_('enable the currently running safeeyes instance'), action='store_true')
group.add_argument('-q', '--quit', help=_('quit the running safeeyes instance and exit'), action='store_true')
group.add_argument('-s', '--settings', help=_('show the settings dialog'), action='store_true')
group.add_argument('-t', '--take-break', help=_('Take a break now').lower(), action='store_true')
parser.add_argument('--debug', help=_('start safeeyes in debug mode'), action='store_true')
parser.add_argument('--version', action='version', version='%(prog)s ' + SAFE_EYES_VERSION)
args = parser.parse_args()
# Initialize the logging
Utility.intialize_logging(args.debug)
config = Config()
if __running():
logging.info("Safe Eyes is already running")
rpc_client = RPCClient(config.get('rpc_port'))
if args.about:
rpc_client.show_about()
elif args.disable:
rpc_client.disable_safeeyes()
elif args.enable:
rpc_client.enable_safeeyes()
elif args.settings:
rpc_client.show_settings()
elif args.take_break:
rpc_client.take_break()
elif args.quit:
rpc_client.quit()
else:
# Default behavior is opening settings
rpc_client.show_settings()
sys.exit(0)
elif not args.quit:
logging.info("Starting Safe Eyes")
safeeyes = SafeEyes(system_locale, config)
safeeyes.start()
Timer(1.0, lambda: __evaluate_arguments(args, safeeyes)).start()
Gtk.main()
if __name__ == '__main__':
main()
SafeEyes-2.0.0/safeeyes/config/ 0000775 0000000 0000000 00000000000 13167713615 0016300 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ 0000775 0000000 0000000 00000000000 13167713615 0017537 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ca/ 0000775 0000000 0000000 00000000000 13167713615 0020122 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ca/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021707 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ca/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000015613 13167713615 0024061 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2017-10-08 12:42+0000\n"
"Last-Translator: Gobinath L \n"
"Language-Team: Catalan \n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2.17-dev\n"
# Short break
msgid "Tightly close your eyes"
msgstr "Tanqueu fortament els ulls"
# Short break
msgid "Roll your eyes a few times to each side"
msgstr "Moveu els ulls a banda i banda"
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr "Gireu els ulls en sentit horari"
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr "Gireu els ulls en sentit antihorari"
# Short break
msgid "Blink your eyes"
msgstr "Parpallegeu"
# Short break
msgid "Focus on a point in the far distance"
msgstr "Fixeu la mirada en un punt llunyà"
# Short break
msgid "Have some water"
msgstr "Bebeu una mica d'aigua"
# Long break
msgid "Walk for a while"
msgstr "Camineu una estona"
# Long break
msgid "Lean back at your seat and relax"
msgstr "Reclineu-vos sobre la cadira i relaxeu-vos"
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr "Tanca"
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
"Safe Eyes protegeix els vostres ulls de la fatiga visual (astenopia) "
"recordant-vos que feu petits descansos mentre esteu treballant amb "
"l'ordinador"
# About dialog
msgid "License"
msgstr "Llicència"
# Break screen
msgid "Skip"
msgstr "Omet"
# Break screen
msgid "Postpone"
msgstr "Posposa"
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr "Durada d'una posposició (en minuts)"
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/cs/ 0000775 0000000 0000000 00000000000 13167713615 0020144 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/cs/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021731 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/cs/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000022253 13167713615 0024101 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2017-10-08 12:42+0000\n"
"Last-Translator: Gobinath L \n"
"Language-Team: Czech \n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 2.17-dev\n"
# Short break
msgid "Tightly close your eyes"
msgstr "Zavřete oči"
# Short break
msgid "Roll your eyes a few times to each side"
msgstr "Zakroužete očima (několikrát na každou stranu)"
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr "Zakroužete očima ve směru hodinových ručiček"
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr "Zakroužete očima proti směru hodinových ručiček"
# Short break
msgid "Blink your eyes"
msgstr "Zamrkejte"
# Short break
msgid "Focus on a point in the far distance"
msgstr "Zaostřete pohled na nějaký vzdálený objekt"
# Short break
msgid "Have some water"
msgstr "Napijte se vody"
# Long break
msgid "Walk for a while"
msgstr "Na chvíli se projděte"
# Long break
msgid "Lean back at your seat and relax"
msgstr "Opřete se zády do židle a uvolněte se"
# Commandline arg description
msgid "show the about dialog"
msgstr "zobrazit dialog O programu"
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr "zakázat spuštěnou instanci safeeyes"
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr "povolit spuštěnou instanci safeeyes"
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr "ukončit spuštěnou instanci safeeyes"
# Commandline arg description
msgid "show the settings dialog"
msgstr "zobrazit dialog nastavení"
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr "spustit safeeyes v módu pro ladění"
# About dialog
msgid "Close"
msgstr "Zavřít"
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
"Safe Eyes chrání vaše oči před následky přetěžování (asthenopie), když "
"dlouho hledíte do obrazovky počítače, připomínáním potřebných přestávek"
# About dialog
msgid "License"
msgstr "Licence"
# Break screen
msgid "Skip"
msgstr "Přeskočit"
# Break screen
msgid "Postpone"
msgstr "Odložit"
# Settings dialog
msgid "Break duration (in seconds)"
msgstr "Délka přestávky (v sekundách)"
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr "Interval mezi dvěma přestávkami (v minutách)"
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr "Čas pro přípravu na přestávku (v sekundách)"
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr "Zakázat klávesové zkratky po dobu (v sekundách)"
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr "Odložit trvání (v minutách)"
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr "Přísné přestávky (nelze je přeskočit)"
# Settings dialog
msgid "Allow postponing breaks"
msgstr "Povolit přeskakování přestávek"
# Settings dialog
msgid "Persist the internal state"
msgstr "Zachovat vnitřní stav"
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr "Dlouhé přestávky musí být násobkem krátkých přestávek"
# Settings dialog
msgid "Options"
msgstr "Možností"
# Settings dialog
msgid "Short Breaks"
msgstr "Krátké přestávky"
# Settings dialog
msgid "Long Breaks"
msgstr "Dlouhé přestávky"
# Settings dialog
msgid "Break"
msgstr "Přestávka"
# Settings dialog
msgid "Breaks"
msgstr "Přestávky"
# Settings dialog
msgid "Plugins"
msgstr "Rozšíření"
# Settings dialog
msgid "Type"
msgstr "Typ"
# Settings dialog
msgid "Short"
msgstr "Krátká"
# Settings dialog
msgid "Long"
msgstr "Dlouhá"
# Settings dialog
msgid "Image"
msgstr "Obrázek"
# Settings dialog
msgid "Select"
msgstr "Vybrat"
# Settings dialog
msgid "Please select an image"
msgstr "Vyberte obrázek"
# Settings dialog
msgid "Duration"
msgstr "Trvání"
# Settings dialog
msgid "Override"
msgstr "Převážit"
# Settings dialog
msgid "Time (in seconds)"
msgstr "Čas (v sekundách)"
# Settings dialog
msgid "Break Settings"
msgstr "Nastavení přestávek"
# Settings dialog
msgid "Plugin Settings"
msgstr "Nastavení rozšíření"
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr "Rozšíření nepodporuje pracovní prostředí %s"
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr "Prosím nainstalujte si modul pro Python '%s'"
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr "Prosím nainstalujte si nástroj pro příkazový řádek'%s'"
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr "Prosím přidejte prostředek %(resource)s do adresáře %(config_resource)s"
# Settings dialog
msgid "New Break"
msgstr "Nová přestávka"
# Settings dialog
msgid "Remove"
msgstr "Odstranit"
# Settings dialog
msgid "Discard"
msgstr "Zahodit"
# Settings dialog
msgid "Save"
msgstr "Uložit"
# plugin/audiblealert
msgid "Audible Alert"
msgstr "Zvukové upozornění"
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr "Přehrát na konci přestávek zvukové upozornění"
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr "Nerušit"
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr "Přeskočit přestávku, pokud je spuštěný program přes celou obrazovku"
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr "Tato okna nikdy nepřerušovat"
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr "Přerušovat tato okna nehledě na jejich stav"
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr "Přepnout nepřerušitelná okna do normálního módu"
# plugin/healthstats
msgid "Health Statistics"
msgstr "Statistiky o zdraví"
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr "Zobrazit statistiky o zdraví založené na používání Safe Eyes"
# plugin/notification
msgid "Notification"
msgstr "Oznámení"
# plugin/notification
msgid "Show a system notification before breaks"
msgstr "Zobrazit oznámení před přestávkami"
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr "Připravte se na přestávku za %s sekund"
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr "Připravte se na dlouhou přestávku za %s sekund"
# plugin/screensaver
msgid "Screensaver"
msgstr "Spořič obrazovky"
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr "Zamknout obrazovku spořičem obrazovky po dlouhých přestávkách"
# plugin/screensaver
msgid "Custom screensaver command"
msgstr "Vlastní spořič obrazovky"
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr "Minimum sekund do zapnutí spořiče"
# plugin/smartpause
msgid "Smart Pause"
msgstr "Chytrá pauza"
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr "Pozastavit Safe Eyes když je systém v klidu"
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr "Minimální čas v klidu na pozastavení Safe Eyes"
#: plugins/trayicon
msgid "Tray Icon"
msgstr "Systémová oblast"
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr "Zobrazit ikonu v systémové oblasti"
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr "Zobrazit čas příští přestávky v systémové oblasti"
#: plugins/trayicon
msgid "About"
msgstr "O programu"
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr "Zakázat Safe Eyes"
#: plugins/trayicon
msgid "Disabled until %s"
msgstr "Zakázat do %s"
#: plugins/trayicon
msgid "Disabled until restart"
msgstr "Zakázat do restartu"
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr "Povolit Safe Eyes"
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] "Na %d hodinu"
msgstr[1] "Na %d hodiny"
msgstr[2] "Na %d hodin"
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] "Na %d minutu"
msgstr[1] "Na %d minuty"
msgstr[2] "Na %d minut"
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] "Na %d sekundu"
msgstr[1] "Na %d sekundy"
msgstr[2] "Na %d sekund"
#: plugins/trayicon
msgid "Next break at %s"
msgstr "Příští přestávka v %s"
#: plugins/trayicon
msgid "No Breaks Available"
msgstr "Žádné přestávky"
#: plugins/trayicon
msgid "Settings"
msgstr "Nastavení"
#: plugins/trayicon
msgid "Take a break now"
msgstr "Dát si přestávku"
#: plugins/trayicon
msgid "Until restart"
msgstr "Do restartu"
#: plugins/trayicon
msgid "Quit"
msgstr "Ukončit"
SafeEyes-2.0.0/safeeyes/config/locale/de/ 0000775 0000000 0000000 00000000000 13167713615 0020127 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/de/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021714 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/de/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024070 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: de\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/en_US/ 0000775 0000000 0000000 00000000000 13167713615 0020550 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/en_US/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0022335 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/en_US/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000021433 13167713615 0024504 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2017-09-17 07:59-0400\n"
"PO-Revision-Date: 2017-10-08 12:42+0000\n"
"Last-Translator: Gobinath L \n"
"Language-Team: English (United States) \n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2.17-dev\n"
"Generated-By: pygettext.py 1.5\n"
# Short break
msgid "Tightly close your eyes"
msgstr "Tightly close your eyes"
# Short break
msgid "Roll your eyes a few times to each side"
msgstr "Roll your eyes a few times to each side"
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr "Rotate your eyes in clockwise direction"
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr "Rotate your eyes in counterclockwise direction"
# Short break
msgid "Blink your eyes"
msgstr "Blink your eyes"
# Short break
msgid "Focus on a point in the far distance"
msgstr "Focus on a point in the far distance"
# Short break
msgid "Have some water"
msgstr "Have some water"
# Long break
msgid "Walk for a while"
msgstr "Walk for a while"
# Long break
msgid "Lean back at your seat and relax"
msgstr "Lean back at your seat and relax"
# Commandline arg description
msgid "show the about dialog"
msgstr "show the about dialog"
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr "disable the currently running safeeyes instance"
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr "enable the currently running safeeyes instance"
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr "quit the running safeeyes instance and exit"
# Commandline arg description
msgid "show the settings dialog"
msgstr "show the settings dialog"
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr "start safeeyes in debug mode"
# About dialog
msgid "Close"
msgstr "Close"
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
"Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you "
"to take breaks while you're working long hours at the computer"
# About dialog
msgid "License"
msgstr "License"
# Break screen
msgid "Skip"
msgstr "Skip"
# Break screen
msgid "Postpone"
msgstr "Postpone"
# Settings dialog
msgid "Break duration (in seconds)"
msgstr "Break duration (in seconds)"
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr "Interval between two breaks (in minutes)"
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr "Time to prepare for a break (in seconds)"
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr "Keyboard shortcuts disabled period (in seconds)"
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr "Postpone duration (in minutes)"
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr "Strict break (No way to skip breaks)"
# Settings dialog
msgid "Allow postponing breaks"
msgstr "Allow postponing breaks"
# Settings dialog
msgid "Persist the internal state"
msgstr "Persist the internal state"
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr "Long break interval must be a multiple of short break interval"
# Settings dialog
msgid "Options"
msgstr "Options"
# Settings dialog
msgid "Short Breaks"
msgstr "Short Breaks"
# Settings dialog
msgid "Long Breaks"
msgstr "Long Breaks"
# Settings dialog
msgid "Break"
msgstr "Break"
# Settings dialog
msgid "Breaks"
msgstr "Breaks"
# Settings dialog
msgid "Plugins"
msgstr "Plugins"
# Settings dialog
msgid "Type"
msgstr "Type"
# Settings dialog
msgid "Short"
msgstr "Short"
# Settings dialog
msgid "Long"
msgstr "Long"
# Settings dialog
msgid "Image"
msgstr "Image"
# Settings dialog
msgid "Select"
msgstr "Select"
# Settings dialog
msgid "Please select an image"
msgstr "Please select an image"
# Settings dialog
msgid "Duration"
msgstr "Duration"
# Settings dialog
msgid "Override"
msgstr "Override"
# Settings dialog
msgid "Time (in seconds)"
msgstr "Time (in seconds)"
# Settings dialog
msgid "Break Settings"
msgstr "Break Settings"
# Settings dialog
msgid "Plugin Settings"
msgstr "Plugin Settings"
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr "Plugin does not support %s desktop environment"
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr "Please install the Python module '%s'"
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr "Please install the command-line tool '%s'"
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr "Please add the resource %(resource)s to %(config_resource)s directory"
# Settings dialog
msgid "New Break"
msgstr "New Break"
# Settings dialog
msgid "Remove"
msgstr "Remove"
# Settings dialog
msgid "Discard"
msgstr "Discard"
# Settings dialog
msgid "Save"
msgstr "Save"
# plugin/audiblealert
msgid "Audible Alert"
msgstr "Audible Alert"
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr "Play an audible alert at the end of breaks"
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr "Do Not Disturb"
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr "Skip the break if the active window is in fullscreen mode"
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr "Do not interrupt these windows anytime"
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr "Interrupt these windows regardless of their state"
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr "Switch the interruptible windows to normal mode"
# plugin/healthstats
msgid "Health Statistics"
msgstr "Health Statistics"
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr "Show statistics based on how you use Safe Eyes"
# plugin/notification
msgid "Notification"
msgstr "Notification"
# plugin/notification
msgid "Show a system notification before breaks"
msgstr "Show a system notification before breaks"
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr "Ready for a short break in %s seconds"
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr "Ready for a long break in %s seconds"
# plugin/screensaver
msgid "Screensaver"
msgstr "Screensaver"
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr "Lock the screen after long breaks by starting screensaver"
# plugin/screensaver
msgid "Custom screensaver command"
msgstr "Custom screensaver command"
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr "Minimum seconds to skip without screensaver"
# plugin/smartpause
msgid "Smart Pause"
msgstr "Smart Pause"
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr "Pause Safe Eyes if the system is idle"
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr "Minimum idle time to pause Safe Eyes"
#: plugins/trayicon
msgid "Tray Icon"
msgstr "Tray Icon"
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr "Show a tray icon in the notification area"
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr "Show next break time in tray icon"
#: plugins/trayicon
msgid "About"
msgstr "About"
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr "Disable Safe Eyes"
#: plugins/trayicon
msgid "Disabled until %s"
msgstr "Disabled until %s"
#: plugins/trayicon
msgid "Disabled until restart"
msgstr "Disabled until restart"
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr "Enable Safe Eyes"
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] "For %d Hour"
msgstr[1] "For %d Hours"
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] "For %d Minute"
msgstr[1] "For %d Minutes"
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] "For %d Second"
msgstr[1] "For %d Seconds"
#: plugins/trayicon
msgid "Next break at %s"
msgstr "Next break at %s"
#: plugins/trayicon
msgid "No Breaks Available"
msgstr "No Breaks Available"
#: plugins/trayicon
msgid "Settings"
msgstr "Settings"
#: plugins/trayicon
msgid "Take a break now"
msgstr "Take a break now"
#: plugins/trayicon
msgid "Until restart"
msgstr "Until restart"
#: plugins/trayicon
msgid "Quit"
msgstr "Quit"
SafeEyes-2.0.0/safeeyes/config/locale/es/ 0000775 0000000 0000000 00000000000 13167713615 0020146 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/es/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021733 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/es/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024107 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/et/ 0000775 0000000 0000000 00000000000 13167713615 0020147 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/et/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021734 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/et/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024110 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: et\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/fa/ 0000775 0000000 0000000 00000000000 13167713615 0020125 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/fa/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021712 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/fa/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014414 13167713615 0024062 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: fa\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/fr/ 0000775 0000000 0000000 00000000000 13167713615 0020146 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/fr/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021733 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/fr/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014471 13167713615 0024106 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Language: fr\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/hi/ 0000775 0000000 0000000 00000000000 13167713615 0020137 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/hi/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021724 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/hi/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024100 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: hi\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/hu/ 0000775 0000000 0000000 00000000000 13167713615 0020153 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/hu/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021740 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/hu/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024114 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: hu\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/id/ 0000775 0000000 0000000 00000000000 13167713615 0020133 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/id/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021720 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/id/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014414 13167713615 0024070 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: id\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/it/ 0000775 0000000 0000000 00000000000 13167713615 0020153 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/it/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021740 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/it/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000022023 13167713615 0024103 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2017-10-10 17:46+0000\n"
"Last-Translator: Guglielmo Wilmup \n"
"Language-Team: Italian \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2.17-dev\n"
# Short break
msgid "Tightly close your eyes"
msgstr "Serra gli occhi"
# Short break
msgid "Roll your eyes a few times to each side"
msgstr "Muovi a piccoli intervalli gli occhi ruotandoli verso ogni lato"
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr "Ruota gli occhi in senso orario"
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr "Ruota gli occhi in senso antiorario"
# Short break
msgid "Blink your eyes"
msgstr "Apri e chiudi velocemente le palpebre"
# Short break
msgid "Focus on a point in the far distance"
msgstr "Focalizza un punto in lontananza"
# Short break
msgid "Have some water"
msgstr "Bevi dell'acqua"
# Long break
msgid "Walk for a while"
msgstr "Cammina per un pò"
# Long break
msgid "Lean back at your seat and relax"
msgstr "Torna a sederti e rilassati"
# Commandline arg description
msgid "show the about dialog"
msgstr "Mostra la finestra Informazioni"
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr "interrompe l'istanza corrente di Safe Eyes"
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr "abilità l'istanza corrente di Safe Eyes"
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr "chiude l'istanza corrente di Safe Eyes ed esce"
# Commandline arg description
msgid "show the settings dialog"
msgstr "mostra la finestra delle preferenze"
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr "avvia Safe Eyes in modalità debug"
# About dialog
msgid "Close"
msgstr "Esci"
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
"Descrizione nella finestra informazioni\n"
"Safe Eyes protegge gli occhi dall'affaticamento (asthenopia) ricordandoti di "
"fare una pausa mentre lavori per lunghe ore al computer"
# About dialog
msgid "License"
msgstr "Licenza"
# Break screen
msgid "Skip"
msgstr "Salta"
# Break screen
msgid "Postpone"
msgstr "Posponi"
# Settings dialog
msgid "Break duration (in seconds)"
msgstr "Durata pausa (in secondi)"
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr "Intervallo fra due pause (in minuti)"
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr "Tempo prima di una pausa (in secondi)"
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr "Durata della disattivazione per le scorciatoie da tastiera (in secondi)"
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr "Posponi durata (in minuti)"
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr "Pausa ferrea (non c'è modo di saltarla)"
# Settings dialog
msgid "Allow postponing breaks"
msgstr "Consenti di posporre le pause"
# Settings dialog
#, fuzzy
msgid "Persist the internal state"
msgstr "Persistenza dello stato interno"
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
"L'intervallo per la pausa lunga deve essere un multiplo dell'intervallo per "
"la pausa breve"
# Settings dialog
msgid "Options"
msgstr "Preferenze"
# Settings dialog
msgid "Short Breaks"
msgstr "Pause brevi"
# Settings dialog
msgid "Long Breaks"
msgstr "Pause lunghe"
# Settings dialog
msgid "Break"
msgstr "Pausa"
# Settings dialog
msgid "Breaks"
msgstr "Pause"
# Settings dialog
msgid "Plugins"
msgstr "Estensioni"
# Settings dialog
msgid "Type"
msgstr "Modello"
# Settings dialog
msgid "Short"
msgstr "Breve"
# Settings dialog
msgid "Long"
msgstr "Lunga"
# Settings dialog
msgid "Image"
msgstr "Immagine"
# Settings dialog
msgid "Select"
msgstr "Seleziona"
# Settings dialog
msgid "Please select an image"
msgstr "Seleziona una immagine"
# Settings dialog
msgid "Duration"
msgstr "Durata"
# Settings dialog
msgid "Override"
msgstr "Sovrascrive"
# Settings dialog
msgid "Time (in seconds)"
msgstr "Tempo (in secondi)"
# Settings dialog
msgid "Break Settings"
msgstr "Preferenze per la pausa"
# Settings dialog
msgid "Plugin Settings"
msgstr "Preferenze delle estensioni"
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr "L'estensione non supporta %s l'ambiente desktop"
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr "Devi installare il modulo Python '%s'"
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr "Devi installare lo strumento a riga di comando '%s'"
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
"Aggiungi la/le risorse %(resource) nella/e cartella/e %(config_resource)"
# Settings dialog
msgid "New Break"
msgstr "Nuova pausa"
# Settings dialog
msgid "Remove"
msgstr "Togli"
# Settings dialog
msgid "Discard"
msgstr "Abbandona"
# Settings dialog
msgid "Save"
msgstr "Salva"
# plugin/audiblealert
msgid "Audible Alert"
msgstr "Avviso sonoro"
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr "Emette un avviso acustico alla fine delle pause"
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr "Non disturbare"
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr "Salta la pausa se la finestra attiva è a schermo intero"
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr "Non interrompe le finestre in oggetto (sempre)"
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr "Interrompe le finestre in oggetto in base al loro stato"
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr "Passa le finestre interrompibili a modalità normale"
# plugin/healthstats
msgid "Health Statistics"
msgstr "Statistiche"
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr "Mostra le statistiche basate su come viene usato Safe Eyes"
# plugin/notification
msgid "Notification"
msgstr "Notifiche"
# plugin/notification
msgid "Show a system notification before breaks"
msgstr "Mostra una notifica di sistema prima della pausa"
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr "Pausa breve tra %s secondi"
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr "Pausa lunga tra %s secondi"
# plugin/screensaver
msgid "Screensaver"
msgstr "Salvaschermo"
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr "Blocca lo schermo dopo una pausa lunga avviando il salvaschermo"
# plugin/screensaver
msgid "Custom screensaver command"
msgstr "Comando personalizzato per il salvaschermo"
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr "Tempo minimo per il salto senza salvaschermo (in secondi)"
# plugin/smartpause
msgid "Smart Pause"
msgstr "Pausa intelligente"
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr "Sospendi Safe Eyes quando il sistema è inattivo"
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr "Tempo minimo di inattività per mettere in pausa Safe Eyes"
#: plugins/trayicon
msgid "Tray Icon"
msgstr "Icona"
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr "Mostra l'icona nell'area di notifica"
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr "Mostra la prossima pausa accanto all'icona"
#: plugins/trayicon
msgid "About"
msgstr "Informazioni"
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr "Disabilita Safe Eyes"
#: plugins/trayicon
msgid "Disabled until %s"
msgstr "Disabilita fino a %s"
#: plugins/trayicon
msgid "Disabled until restart"
msgstr "Disabilita fino al riavvio"
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr "Abilita Safe Eyes"
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] "Per un'ora"
msgstr[1] "Per %d ore"
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] "Per un minuto"
msgstr[1] "Per %d minuti"
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] "Per un secondo"
msgstr[1] "Per %d secondi"
#: plugins/trayicon
msgid "Next break at %s"
msgstr "Prossima pausa tra %s"
#: plugins/trayicon
msgid "No Breaks Available"
msgstr "Non sono previste pause"
#: plugins/trayicon
msgid "Settings"
msgstr "Preferenze"
#: plugins/trayicon
msgid "Take a break now"
msgstr "Fai una pausa adesso"
#: plugins/trayicon
msgid "Until restart"
msgstr "Fino al riavvio"
#: plugins/trayicon
msgid "Quit"
msgstr "Esci"
SafeEyes-2.0.0/safeeyes/config/locale/mk/ 0000775 0000000 0000000 00000000000 13167713615 0020146 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/mk/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021733 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/mk/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014530 13167713615 0024102 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
"Language: mk\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/nl/ 0000775 0000000 0000000 00000000000 13167713615 0020150 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/nl/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021735 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/nl/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024111 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: nl\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/pl/ 0000775 0000000 0000000 00000000000 13167713615 0020152 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/pl/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021737 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/pl/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014633 13167713615 0024112 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: pl\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/pt/ 0000775 0000000 0000000 00000000000 13167713615 0020162 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/pt/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021747 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/pt/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024123 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: pt\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/ru/ 0000775 0000000 0000000 00000000000 13167713615 0020165 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ru/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021752 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ru/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014653 13167713615 0024127 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: ru\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/sk/ 0000775 0000000 0000000 00000000000 13167713615 0020154 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/sk/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021741 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/sk/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014574 13167713615 0024120 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"Language: sk\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/ta/ 0000775 0000000 0000000 00000000000 13167713615 0020143 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ta/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021730 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/ta/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000034160 13167713615 0024100 0 ustar 00root root 0000000 0000000 # SAFE EYES TAMIL TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2017-09-17 07:59-0400\n"
"PO-Revision-Date: 2017-10-08 12:42+0000\n"
"Last-Translator: Gobinath L \n"
"Language-Team: Tamil \n"
"Language: ta\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2.17-dev\n"
"Generated-By: pygettext.py 1.5\n"
# Short break
msgid "Tightly close your eyes"
msgstr "உங்கள் கண்களை இறுக்கமாக மூடுங்கள்"
# Short break
msgid "Roll your eyes a few times to each side"
msgstr "உங்கள் கண்களை இடம் வலமாக உருட்டுங்கள்"
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr "உங்கள் கண்களை வலஞ்சுழியாக சுழற்றுங்கள்"
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr "உங்கள் கண்களை இடஞ்சுழியாக சுழற்றுங்கள்"
# Short break
msgid "Blink your eyes"
msgstr "உங்கள் கண்களை சிமிட்டுங்கள்"
# Short break
msgid "Focus on a point in the far distance"
msgstr "தூரத்தில் உள்ள ஒரு பொருளை பாருங்கள்"
# Short break
msgid "Have some water"
msgstr "கொஞ்சம் தண்ணீர் குடியுங்கள்"
# Long break
msgid "Walk for a while"
msgstr "சிறிது தூரம் நடவுங்கள்"
# Long break
msgid "Lean back at your seat and relax"
msgstr "கதிைரயில் பின்பக்கமாக சாய்ந்து ஓய்வெடுங்கள்"
# Commandline arg description
msgid "show the about dialog"
msgstr "தகவல் சாளரத்தை காண்பி"
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr "செயற்பட்டு கொண்டிருக்கும் Safe Eyes ஐ முடக்கு"
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr "முடக்க பட்டிருக்கும் Safe Eyes ஐ செயல்படுத்துக"
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr "செயற்பட்டு கொண்டிருக்கும் Safe Eyes ஐ நிறுத்துக"
# Commandline arg description
msgid "show the settings dialog"
msgstr "அமைப்புகள் சாளரத்தை காண்பி"
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr "வழு நீக்கும் முறையில் Safe Eyes ஐ ஆரம்பிக்குக"
# About dialog
msgid "Close"
msgstr "மூடு"
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
"அடிக்கடி ஓய்வெடுக்க அறிவுறுத்துவதன் மூலம் Safe Eyes கணனியில் நீண்ட நேரம் "
"பணியாற்றுவதால் ஏற்படும் கண் சோர்வை தடுக்கிறது"
# About dialog
msgid "License"
msgstr "மென்பொருள் உரிமம்"
# Break screen
msgid "Skip"
msgstr "தவிர்"
# Break screen
msgid "Postpone"
msgstr "ஒத்தி வை"
# Settings dialog
msgid "Break duration (in seconds)"
msgstr "இடைவேளையின் கால அளவு (விநாடிகளில்)"
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr "இரண்டு இடைவேளைகளுக்கிடையிலான இடைவெளி (நிமிடங்களில்)"
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr "இடைவேளைக்கு தயாராக தேவைப்படும் நேரம் (விநாடிகளில்)"
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr "விசைப்பலகை குறுக்குவழிகள் முடக்கப்பட்டிருக்கும் காலம் (விநாடிகளில்)"
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr "இடைவேளையை ஒத்தி வைக்கும் காலம் (நிமிடங்களில்)"
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr "கட்டாய இடைவேளை (இடைவேளையை தவிர்க்க முடியாது)"
# Settings dialog
msgid "Allow postponing breaks"
msgstr "இடைவேளையை ஒத்திவைக்க அனுமதிக்கவும்"
# Settings dialog
msgid "Persist the internal state"
msgstr "உள்ளக நிலையை தக்கவைத்து கொள்ளவும்"
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr "நீண்ட இடைவேளைகளுக்கிடையிலான நேரம் குறுகிய இடைவேளைகளுக்கிடையிலான நேரத்தின் மடங்காக இருக்க வேண்டும்"
# Settings dialog
msgid "Options"
msgstr "தேர்வுகள்"
# Settings dialog
msgid "Short Breaks"
msgstr "குறுகிய இடைவேளைகள்"
# Settings dialog
msgid "Long Breaks"
msgstr "நீண்ட இடைவேளைகள்"
# Settings dialog
msgid "Break"
msgstr "இடைவேளை"
# Settings dialog
msgid "Breaks"
msgstr "இடைவேளைகள்"
# Settings dialog
msgid "Plugins"
msgstr "நீட்சிகள்"
# Settings dialog
msgid "Type"
msgstr "வகை"
# Settings dialog
msgid "Short"
msgstr "குறுகியது"
# Settings dialog
msgid "Long"
msgstr "நீண்டது"
# Settings dialog
msgid "Image"
msgstr "படம்"
# Settings dialog
msgid "Select"
msgstr "தேர்ந்தெடு"
# Settings dialog
msgid "Please select an image"
msgstr "ஒரு படத்தைத் தேர்ந்தெடுக்கவும்"
# Settings dialog
msgid "Duration"
msgstr "கால அளவு"
# Settings dialog
msgid "Override"
msgstr "இயல்புநிலை அமைப்புகளை மீறவும்"
# Settings dialog
msgid "Time (in seconds)"
msgstr "நேரம் (விநாடிகளில்)"
# Settings dialog
msgid "Break Settings"
msgstr "இடைவேளை அமைப்புகள்"
# Settings dialog
msgid "Plugin Settings"
msgstr "நீட்சி அமைப்புகள்"
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr "இந்த நீட்சி %s முகத்திரை சூழலை ஆதரிக்கவில்லை"
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr "தயவுசெய்து '%s' Python தொகுப்பை நிறுவவும்"
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr "தயவுசெய்து '%s' முனைய கட்டளையை நிறுவுக"
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr "தயவுசெய்து %(resource)s வளத்தை %(config_resource)s கோப்புறையில் சேர்க்கவும்"
# Settings dialog
msgid "New Break"
msgstr "புதிய இடைவேளை"
# Settings dialog
msgid "Remove"
msgstr "அகற்று"
# Settings dialog
msgid "Discard"
msgstr "நிராகரி"
# Settings dialog
msgid "Save"
msgstr "சேமி"
# plugin/audiblealert
msgid "Audible Alert"
msgstr "ஒலிச் சமிக்ஞய்"
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr "இடைவேளைகளின் முடிவில் ஒலிச் சமிக்ஞய்"
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr "தொந்தரவு செய்ய வேண்டாம்"
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr "பாவனையிலுள்ள சாளரம் முழுத்திரையில் இருப்பின் இடைவேளையை தவிர்"
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr "இந்த சாளரங்கள் எந்த நிலையிலிருந்தாலும் குறுக்கிட வேண்டாம்"
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr "இந்த சாளரங்களின் நிலையை பொருட்படுத்தாது குறுக்கிடுக"
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr "குறுக்கீடு செய்யும் போது சாளரங்களை சாதாரண நிலைக்கு மாற்றுக"
# plugin/healthstats
msgid "Health Statistics"
msgstr "ஆரோக்கிய புள்ளிவிவரங்கள்"
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr "Safe Eyes பயன்பாடு அடிப்படையிலான ஆரோக்கிய புள்ளிவிவரங்கள்"
# plugin/notification
msgid "Notification"
msgstr "முன்னறிவிப்பு"
# plugin/notification
msgid "Show a system notification before breaks"
msgstr "இடைவேளைகளின் முன் தயார்படுத்தலுக்கான அறிவிப்பு"
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr "%s விநாடிகளில் குறுகிய இடைவேளைக்கு தயாராகுங்கள்"
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr "{} விநாடிகளில் நீண்ட இடைவேளைக்கு தயாராகுங்கள்"
# plugin/screensaver
msgid "Screensaver"
msgstr "திரைக் காப்பு"
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr "நீண்ட இடைவேளைகளின் பின் திரைக்காப்பு மென்பொருள் இயக்கம்"
# plugin/screensaver
msgid "Custom screensaver command"
msgstr "மாறுபட்ட திரைக்காப்பு கட்டளை"
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr "திரைக்காப்பு மென்பொருளை செயற்படுத்தாமல் தவிர்ப்பதற்கான வினாடிகள்"
# plugin/smartpause
msgid "Smart Pause"
msgstr "நுண்ணறிவு இடைநிறுத்தம்"
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr "கணினி செயலற்று இருந்தால் Safe Eyesஐ இடைநிறுத்துக"
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr "Safe Eyesஐ இடைநிறுத்துவதற்கான குறைந்தபட்ச செயலற்ற வினாடிகள்"
#: plugins/trayicon
msgid "Tray Icon"
msgstr "Safe Eyes சின்னம்"
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr "அறிவிப்பு பகுதியில் Safe Eyes சின்னம்"
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr "அடுத்த இடைவேளை நேரத்தை Safe Eyes சின்னத்திற்கு அருகில் காண்பிக்கவும்"
#: plugins/trayicon
msgid "About"
msgstr "Safe Eyes குறித்த தகவல்கள்"
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr "Safe Eyes ஐ நிறுத்துக"
#: plugins/trayicon
msgid "Disabled until %s"
msgstr "%s வரை நிறுத்தி வைக்கப்பட்டுள்ளது"
#: plugins/trayicon
msgid "Disabled until restart"
msgstr "மறுதுவக்கம் வரை நிறுத்தி வைக்கப்பட்டுள்ளது"
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr "Safe Eyes ஐ செயல்படுத்துக"
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] "%d மணித்தியாலத்திற்கு"
msgstr[1] "%d மணித்தியாலங்களுக்கு"
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] "%d நிமிடத்திற்கு"
msgstr[1] "%d நிமிடங்களுக்கு"
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] "%d வினாடிக்கு"
msgstr[1] "%d வினாடிகளுக்கு"
#: plugins/trayicon
msgid "Next break at %s"
msgstr "அடுத்த இடைவேளை %s"
#: plugins/trayicon
msgid "No Breaks Available"
msgstr "இடைவேளைகள் வரையறுக்கப்படவில்லை"
#: plugins/trayicon
msgid "Settings"
msgstr "அமைப்பு"
#: plugins/trayicon
msgid "Take a break now"
msgstr "சுயவிருப்பிலான இடைவேளை"
#: plugins/trayicon
msgid "Until restart"
msgstr "மீள ஆரம்பிக்கும் வரை"
#: plugins/trayicon
msgid "Quit"
msgstr "நிறுத்து"
SafeEyes-2.0.0/safeeyes/config/locale/tr/ 0000775 0000000 0000000 00000000000 13167713615 0020164 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/tr/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021751 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/tr/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014472 13167713615 0024125 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: tr\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/uk/ 0000775 0000000 0000000 00000000000 13167713615 0020156 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/uk/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021743 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/uk/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014653 13167713615 0024120 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: uk\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/vi/ 0000775 0000000 0000000 00000000000 13167713615 0020155 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/vi/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0021742 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/vi/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000014414 13167713615 0024112 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: vi\n"
# Short break
msgid "Tightly close your eyes"
msgstr ""
# Short break
msgid "Roll your eyes a few times to each side"
msgstr ""
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr ""
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr ""
# Short break
msgid "Blink your eyes"
msgstr ""
# Short break
msgid "Focus on a point in the far distance"
msgstr ""
# Short break
msgid "Have some water"
msgstr ""
# Long break
msgid "Walk for a while"
msgstr ""
# Long break
msgid "Lean back at your seat and relax"
msgstr ""
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr ""
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr ""
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr ""
# Break screen
msgid "Postpone"
msgstr ""
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/locale/zh_CN/ 0000775 0000000 0000000 00000000000 13167713615 0020540 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/zh_CN/LC_MESSAGES/ 0000775 0000000 0000000 00000000000 13167713615 0022325 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/locale/zh_CN/LC_MESSAGES/safeeyes.po 0000664 0000000 0000000 00000015464 13167713615 0024503 0 ustar 00root root 0000000 0000000 # SAFE EYES ENGLISH TRANSLATION.
# Copyright (C) 2017 Gobinath
# Gobinath slgobinath@gmail.com, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2017-10-08 12:42+0000\n"
"Last-Translator: Gobinath L \n"
"Language-Team: Chinese (Simplified) \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 2.17-dev\n"
# Short break
msgid "Tightly close your eyes"
msgstr "闭上您的眼睛休息一会"
# Short break
msgid "Roll your eyes a few times to each side"
msgstr "左右滚动一下您的眼珠"
# Short break
msgid "Rotate your eyes in clockwise direction"
msgstr "顺时针方向转动您的眼珠"
# Short break
msgid "Rotate your eyes in counterclockwise direction"
msgstr "逆时针方向转动您的眼珠"
# Short break
msgid "Blink your eyes"
msgstr "眨眨眼"
# Short break
msgid "Focus on a point in the far distance"
msgstr "望远:将视线聚焦到远处物体上"
# Short break
msgid "Have some water"
msgstr "喝一点水"
# Long break
msgid "Walk for a while"
msgstr "站起来走走"
# Long break
msgid "Lean back at your seat and relax"
msgstr "靠在椅背上休息一会"
# Commandline arg description
msgid "show the about dialog"
msgstr ""
# Commandline arg description
msgid "disable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "enable the currently running safeeyes instance"
msgstr ""
# Commandline arg description
msgid "quit the running safeeyes instance and exit"
msgstr ""
# Commandline arg description
msgid "show the settings dialog"
msgstr ""
# Commandline arg description
msgid "start safeeyes in debug mode"
msgstr ""
# About dialog
msgid "Close"
msgstr "关闭"
# Description in about dialog
# Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to take breaks while you're working long hours at the computer
msgid "description"
msgstr "当您持续使用电脑办公太长时间时,Safe Eyes 会提醒您休息一下,通过这种方式来保护您的眼睛,使您远离视疲劳"
# About dialog
msgid "License"
msgstr ""
# Break screen
msgid "Skip"
msgstr "跳过"
# Break screen
msgid "Postpone"
msgstr "推迟休息"
# Settings dialog
msgid "Break duration (in seconds)"
msgstr ""
# Settings dialog
msgid "Interval between two breaks (in minutes)"
msgstr ""
# Settings dialog
msgid "Time to prepare for a break (in seconds)"
msgstr ""
# Settings dialog
msgid "Keyboard shortcuts disabled period (in seconds)"
msgstr ""
# Settings dialog
msgid "Postpone duration (in minutes)"
msgstr ""
# Settings dialog
msgid "Strict break (No way to skip breaks)"
msgstr ""
# Settings dialog
msgid "Allow postponing breaks"
msgstr ""
# Settings dialog
msgid "Persist the internal state"
msgstr ""
# Settings dialog
msgid "Long break interval must be a multiple of short break interval"
msgstr ""
# Settings dialog
msgid "Options"
msgstr ""
# Settings dialog
msgid "Short Breaks"
msgstr ""
# Settings dialog
msgid "Long Breaks"
msgstr ""
# Settings dialog
msgid "Break"
msgstr ""
# Settings dialog
msgid "Breaks"
msgstr ""
# Settings dialog
msgid "Plugins"
msgstr ""
# Settings dialog
msgid "Type"
msgstr ""
# Settings dialog
msgid "Short"
msgstr ""
# Settings dialog
msgid "Long"
msgstr ""
# Settings dialog
msgid "Image"
msgstr ""
# Settings dialog
msgid "Select"
msgstr ""
# Settings dialog
msgid "Please select an image"
msgstr ""
# Settings dialog
msgid "Duration"
msgstr ""
# Settings dialog
msgid "Override"
msgstr ""
# Settings dialog
msgid "Time (in seconds)"
msgstr ""
# Settings dialog
msgid "Break Settings"
msgstr ""
# Settings dialog
msgid "Plugin Settings"
msgstr ""
# Settings dialog
msgid "Plugin does not support %s desktop environment"
msgstr ""
# Settings dialog
msgid "Please install the Python module '%s'"
msgstr ""
# Settings dialog
msgid "Please install the command-line tool '%s'"
msgstr ""
# Settings dialog
msgid "Please add the resource %(resource)s to %(config_resource)s directory"
msgstr ""
# Settings dialog
msgid "New Break"
msgstr ""
# Settings dialog
msgid "Remove"
msgstr ""
# Settings dialog
msgid "Discard"
msgstr ""
# Settings dialog
msgid "Save"
msgstr ""
# plugin/audiblealert
msgid "Audible Alert"
msgstr ""
# plugin/audiblealert
msgid "Play an audible alert at the end of breaks"
msgstr ""
# plugin/donotdisturb
msgid "Do Not Disturb"
msgstr ""
# plugin/donotdisturb
msgid "Skip the break if the active window is in fullscreen mode"
msgstr ""
# plugin/donotdisturb
msgid "Do not interrupt these windows anytime"
msgstr ""
# plugin/donotdisturb
msgid "Interrupt these windows regardless of their state"
msgstr ""
# plugin/donotdisturb
msgid "Switch the interruptible windows to normal mode"
msgstr ""
# plugin/healthstats
msgid "Health Statistics"
msgstr ""
# plugin/healthstats
msgid "Show statistics based on how you use Safe Eyes"
msgstr ""
# plugin/notification
msgid "Notification"
msgstr ""
# plugin/notification
msgid "Show a system notification before breaks"
msgstr ""
# plugin/notification
msgid "Ready for a short break in %s seconds"
msgstr ""
# plugin/notification
msgid "Ready for a long break in %s seconds"
msgstr ""
# plugin/screensaver
msgid "Screensaver"
msgstr ""
# plugin/screensaver
msgid "Lock the screen after long breaks by starting screensaver"
msgstr ""
# plugin/screensaver
msgid "Custom screensaver command"
msgstr ""
# plugin/screensaver
msgid "Minimum seconds to skip without screensaver"
msgstr ""
# plugin/smartpause
msgid "Smart Pause"
msgstr ""
# plugin/smartpause
msgid "Pause Safe Eyes if the system is idle"
msgstr ""
# plugin/smartpause
msgid "Minimum idle time to pause Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Tray Icon"
msgstr ""
#: plugins/trayicon
msgid "Show a tray icon in the notification area"
msgstr ""
#: plugins/trayicon
msgid "Show next break time in tray icon"
msgstr ""
#: plugins/trayicon
msgid "About"
msgstr ""
#: plugins/trayicon
msgid "Disable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "Disabled until %s"
msgstr ""
#: plugins/trayicon
msgid "Disabled until restart"
msgstr ""
#: plugins/trayicon
msgid "Enable Safe Eyes"
msgstr ""
#: plugins/trayicon
msgid "For %d Hour"
msgid_plural "For %d Hours"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Minute"
msgid_plural "For %d Minutes"
msgstr[0] ""
#: plugins/trayicon
msgid "For %d Second"
msgid_plural "For %d Seconds"
msgstr[0] ""
#: plugins/trayicon
msgid "Next break at %s"
msgstr ""
#: plugins/trayicon
msgid "No Breaks Available"
msgstr ""
#: plugins/trayicon
msgid "Settings"
msgstr ""
#: plugins/trayicon
msgid "Take a break now"
msgstr ""
#: plugins/trayicon
msgid "Until restart"
msgstr ""
#: plugins/trayicon
msgid "Quit"
msgstr ""
SafeEyes-2.0.0/safeeyes/config/safeeyes.json 0000664 0000000 0000000 00000005572 13167713615 0021010 0 ustar 00root root 0000000 0000000 {
"meta": {
"config_version": "6.0.0"
},
"allow_postpone": false,
"break_interval": 15,
"long_break_duration": 60,
"no_of_short_breaks_per_long_break": 5,
"pre_break_warning_time": 10,
"short_break_duration": 15,
"persist_state": false,
"postpone_duration": 5,
"rpc_port": 7200,
"shortcut_disable_time": 2,
"shortcut_skip": 9,
"shortcut_postpone": 65,
"strict_break": false,
"short_breaks": [
{
"name": "Tightly close your eyes"
},
{
"name": "Roll your eyes a few times to each side"
},
{
"name": "Rotate your eyes in clockwise direction"
},
{
"name": "Rotate your eyes in counterclockwise direction"
},
{
"name": "Blink your eyes"
},
{
"name": "Focus on a point in the far distance"
},
{
"name": "Have some water"
}
],
"long_breaks": [
{
"name": "Walk for a while"
},
{
"name": "Lean back at your seat and relax"
}
],
"plugins": [
{
"id": "donotdisturb",
"enabled": true,
"version": "0.0.1",
"settings": {
"skip_break_windows": "",
"take_break_windows": "",
"unfullscreen": true
}
},
{
"id": "notification",
"enabled": true,
"version": "0.0.1"
},
{
"id": "audiblealert",
"enabled": true,
"version": "0.0.1"
},
{
"id": "trayicon",
"enabled": true,
"version": "0.0.1",
"settings": {
"show_time_in_tray": false,
"disable_options": [
{
"time": 30,
"unit": "minute"
},
{
"time": 1,
"unit": "hour"
},
{
"time": 2,
"unit": "hour"
},
{
"time": 3,
"unit": "hour"
}
]
}
},
{
"id": "smartpause",
"enabled": true,
"version": "0.0.1",
"settings": {
"idle_time": 3
}
},
{
"id": "screensaver",
"enabled": true,
"version": "0.0.1",
"settings": {
"command": "",
"min_seconds": 3
}
},
{
"id": "healthstats",
"enabled": false,
"version": "0.0.1"
}
]
}
SafeEyes-2.0.0/safeeyes/config/style/ 0000775 0000000 0000000 00000000000 13167713615 0017440 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/config/style/safeeyes_style.css 0000664 0000000 0000000 00000003574 13167713615 0023207 0 ustar 00root root 0000000 0000000 /*
* Safe Eyes is a utility to remind you to take break frequently
* to protect your eyes from eye strain.
* Copyright (C) 2016 Gobinath
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
.window_main {
background: black;
opacity: 0.9;
}
.btn_skip {
color: white;
font-size: 10pt;
border-radius: 25px;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 25px;
padding-right: 25px;
border-color: white;
background: transparent;
border-width: 2px;
border-image: none;
}
.btn_skip:hover {
background: white;
color: black;
}
.btn_postpone{
color: white;
font-size: 10pt;
border-radius: 25px;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 25px;
padding-right: 25px;
border-color: white;
background: transparent;
border-width: 2px;
border-image: none;
}
.btn_postpone:hover {
background: white;
color: black;
}
.lbl_message {
font-size: 22pt;
color: white;
font-weight: bold;
}
.lbl_count {
font-size: 12pt;
color: white;
}
.lbl_widget {
font-size: 9pt;
color: white;
}
.btn_properties {
border-radius: 15px;
}
.lbl_plugin_name {
font-weight: bold;
}
.lbl_plugin_description {
color: #9B9B9B;
}
.info_bar_long_break {
opacity: 0.9;
border-radius: 5px;
} SafeEyes-2.0.0/safeeyes/glade/ 0000775 0000000 0000000 00000000000 13167713615 0016107 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/glade/about_dialog.glade 0000664 0000000 0000000 00000022421 13167713615 0021537 0 ustar 00root root 0000000 0000000
SafeEyes-2.0.0/safeeyes/glade/break_screen.glade 0000664 0000000 0000000 00000021300 13167713615 0021524 0 ustar 00root root 0000000 0000000
FalsecenterTruesafeeyesTrueTrueFalseFalseFalsecenterTrueFalseTrueTrueTrueFalse00TrueFalsevertical10TrueFalsecentercenter10TrueFalse00TrueFalsecentercenterTrue15TrueFalseHello Worldcenter003TrueFalsecenter0.20000000298023224TrueFalse0011TrueFalsecenter50True13013FalseTrue0TrueFalseWidget0.25TrueTrueend1012
SafeEyes-2.0.0/safeeyes/glade/item_bool.glade 0000664 0000000 0000000 00000004427 13167713615 0021065 0 ustar 00root root 0000000 0000000
TrueFalse555510TrueFalsecenterlabel0TrueTrue0TrueTrueendcenterFalseFalseend1
SafeEyes-2.0.0/safeeyes/glade/item_break.glade 0000664 0000000 0000000 00000005204 13167713615 0021210 0 ustar 00root root 0000000 0000000
TrueFalse5555TrueFalsecenterlabel0TrueTrue0TrueTrueTruecentercenterimg_propertiesTrueFalseTrue1TrueFalsegtk-properties
SafeEyes-2.0.0/safeeyes/glade/item_int.glade 0000664 0000000 0000000 00000004766 13167713615 0020732 0 ustar 00root root 0000000 0000000
100110TrueFalse555510TrueFalsecenterlabel0TrueTrue0TrueTrueendcenteradjustment_valueFalseTrue1
SafeEyes-2.0.0/safeeyes/glade/item_plugin.glade 0000664 0000000 0000000 00000013207 13167713615 0021424 0 ustar 00root root 0000000 0000000
TrueFalsegtk-propertiesTrueFalse5555TrueFalsecentercentergtk-aboutFalseTrue0TrueFalse5verticalTrueFalsestartendPlugin Name0.050000000745058061TrueTrue0TrueFalsestartstartPlugin Description0.050000000745058060TrueTrue1TrueTrue1TrueFalse5TrueTrueendcenterFalseTrue0TrueTrueTruecentercenterimg_propertiesTrueFalseFalse1FalseTrue2
SafeEyes-2.0.0/safeeyes/glade/item_text.glade 0000664 0000000 0000000 00000004340 13167713615 0021110 0 ustar 00root root 0000000 0000000
TrueFalse555510TrueFalsecenterlabel0TrueTrue0TrueTrueendcenterFalseTrue1
SafeEyes-2.0.0/safeeyes/glade/new_break.glade 0000664 0000000 0000000 00000023035 13167713615 0021045 0 ustar 00root root 0000000 0000000
100110
Long
FalsePropertiesFalseTruecenter-on-parent50050TruesafeeyesdialogTruecenterTrueFalse10101010vertical5TrueFalse0TrueFalse12TrueFalse10510vertical3TrueTruecenterFalseTrue0TrueFalse10TrueFalsestartcenterTypeFalseTrue0TrueFalselst_break_types000FalseTrueend1FalseTrue1TrueFalse10TrueFalsestartcenterImageFalseTrue0SelectTrueTrueTrueimg_breakTrueFalseTrueend1FalseTrue2TrueFalseBreakFalseFalse0TrueFalse0TrueFalse12TrueFalse10510vertical3TrueFalse10TrueFalsestartcenterOverrideFalseTrue0TrueTrueendcenterFalseTrueend1FalseTrue0TrueFalse100TrueFalsestartcenterTime (in seconds)FalseTrue0TrueTrueendcenteradjustment_durationFalseTrueend1FalseTrue1TrueFalseDurationFalseFalse1TrueFalse0TrueFalse12TrueFalse510vertical3TrueFalse1051010TrueFalsestartcenterOverrideFalseTrue0TrueTrueendcenterFalseTrueend1FalseTrue0TrueFalse1010TrueTrueFalseTrue1TrueFalsePluginsFalseFalse2TrueFalsetopendRemoveTrueTrueTrueTrueTrue0FalseFalse3
SafeEyes-2.0.0/safeeyes/glade/settings_dialog.glade 0000664 0000000 0000000 00000152103 13167713615 0022266 0 ustar 00root root 0000000 0000000
151516005101201511515160151601516015TrueFalsegtk-addFalseSafe Eyescenter450600safeeyescenterTrueTrueFalseTrueFalse10101010vertical15TrueFalse0inTrueFalse12TrueFalse101010vertical15TrueTrueFalse5TrueFalseInterval between two breaks (in minutes)FalseTrue0TrueTrueendcenter1numberadjust_short_break_interval1Trueif-valid1FalseFalseend1FalseTrue0TrueFalse5TrueFalseBreak duration (in seconds)FalseTrue0TrueTrueendcenter1numberadjust_short_break_duration1Trueif-valid1FalseFalseend1FalseTrue1TrueFalseShort BreaksFalseTrue0TrueFalse0inTrueFalse12TrueFalse101010vertical15TrueTrueFalseTrueTrueFalse6startFalseFalse0False16TrueFalsegtk-infoFalseTrue0TrueFalseLong break interval must be a multiple of short break interval0FalseTrue1FalseFalse0TrueTrue0TrueFalse5TrueFalseInterval between two breaks (in minutes)FalseTrue0TrueTrueendcenter1numberadjust_long_break_interval1TrueTrueTrueif-valid1FalseFalseend1FalseTrue1TrueFalse5TrueFalseBreak duration (in seconds)FalseTrue0TrueTrueendcenter1numberadjust_long_break_duration1Trueif-valid1FalseFalseend1FalseTrue2TrueFalseLong BreaksFalseTrue1TrueFalse0inTrueFalse12TrueFalse101010vertical15TrueTrueFalse5TrueFalseTime to prepare for a break (in seconds)FalseTrue0TrueTrueendcenter1numberadjust_time_to_prepare1Trueif-valid1FalseFalseend1FalseTrue0TrueFalse5TrueFalseStrict break (No way to skip breaks)FalseTrue0TrueTrueendcenterFalseFalseend1FalseTrue1TrueFalse5TrueFalseAllow postponing breaksFalseTrue0TrueTrueendcenterFalseFalseend1FalseTrue2TrueFalse5TrueFalsePostpone duration (in minutes)FalseTrue0TrueTrueendcenter1numberadjust_postpone_duration1Trueif-valid1FalseFalseend1FalseTrue3TrueFalse5TrueFalseKeyboard shortcuts disabled period (in seconds)FalseTrue0TrueTrueendcenter1numberadjust_disable_keyboard_shortcut_duration1Trueif-valid1FalseFalseend1FalseTrue4TrueFalse5TrueFalsePersist the internal stateFalseTrue0TrueTrueendcenterFalseFalseend1FalseTrue5TrueFalseOptionsFalseTrue2TrueTrueFalseSettingslbl_settingsTrueFalseTrueFalseverticalTrueTrueneverTrueFalsenoneTrueFalse10101010verticalTrueFalseverticalTrueTrueTrueTrueFalsevertical5TrueFalseShort BreaksFalseTrue0TrueFalse10FalseTrue1TrueTrueTrueFalsevertical5TrueFalseLong BreaksFalseTrue2TrueTrue0TrueTrue0TrueFalse551010endTrueTrueTrueendimg_addTrueTrue1FalseTrueend1TrueFalse10FalseTrue21TrueTrueFalseBreaks1TrueFalseTrueTrueneverinTrueFalseTrueFalse10101010vertical52TrueTrueFalsePlugins2TrueFalse
SafeEyes-2.0.0/safeeyes/glade/settings_plugin.glade 0000664 0000000 0000000 00000004415 13167713615 0022327 0 ustar 00root root 0000000 0000000
FalsePropertiesFalseTruecenter-on-parent40010TruesafeeyesdialogTruecenterTrueFalse1010vertical15True
SafeEyes-2.0.0/safeeyes/model.py 0000664 0000000 0000000 00000012132 13167713615 0016504 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2017 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
This module contains the entity classes used by Safe Eyes and its plugins.
"""
from distutils.version import LooseVersion
from enum import Enum
from safeeyes import Utility
class Break(object):
"""
An entity class which represents a break.
"""
def __init__(self, break_type, name, time, image, plugins):
self.type = break_type
self.name = name
self.time = time
self.image = image
self.plugins = plugins
def __str__(self):
return 'Break: {{name: "{}", type: {}, time: {}}}\n'.format(self.name, self.type, self.time)
def __repr__(self):
return str(self)
def is_long_break(self):
"""
Check whether this break is a long break.
"""
return self.type == BreakType.LONG_BREAK
def is_short_break(self):
"""
Check whether this break is a short break.
"""
return self.type == BreakType.SHORT_BREAK
def plugin_enabled(self, plugin_id, is_plugin_enabled):
"""
Check whether this break supports the given plugin.
"""
if self.plugins:
return plugin_id in self.plugins
else:
return is_plugin_enabled
class BreakType(Enum):
"""
Type of Safe Eyes breaks.
"""
SHORT_BREAK = 1
LONG_BREAK = 2
class State(Enum):
"""
Possible states of Safe Eyes.
"""
START = 0,
WAITING = 1,
PRE_BREAK = 2,
BREAK = 3,
STOPPED = 4,
QUIT = 5
class EventHook(object):
"""
Hook to attach and detach listeners to system events.
"""
def __init__(self):
self.__handlers = []
def __iadd__(self, handler):
self.__handlers.append(handler)
return self
def __isub__(self, handler):
self.__handlers.remove(handler)
return self
def fire(self, *args, **keywargs):
"""
Fire all listeners attached with.
"""
for handler in self.__handlers:
if not handler(*args, **keywargs):
return False
return True
class Config(object):
"""
The configuration of Safe Eyes.
"""
def __init__(self):
# Read the config files
self.__user_config = Utility.load_json(Utility.CONFIG_FILE_PATH)
self.__system_config = Utility.load_json(Utility.SYSTEM_CONFIG_FILE_PATH)
if self.__user_config is None:
Utility.initialize_safeeyes()
self.__user_config = self.__system_config
self.save()
else:
system_config_version = self.__system_config['meta']['config_version']
meta_obj = self.__user_config.get('meta', None)
if meta_obj is None:
# Corrupted user config
self.__user_config = self.__system_config
else:
user_config_version = str(meta_obj.get('config_version', '0.0.0'))
if LooseVersion(user_config_version) != LooseVersion(system_config_version):
# Update the user config
self.__merge_dictionary(self.__user_config, self.__system_config)
self.__user_config = self.__system_config
Utility.merge_plugins(self.__user_config)
self.save()
def __merge_dictionary(self, old_dict, new_dict):
"""
Merge the dictionaries.
"""
for key in new_dict:
if key == "meta":
continue
if key in old_dict:
new_value = new_dict[key]
old_value = old_dict[key]
if type(new_value) is type(old_value):
# Both properties have same type
if isinstance(new_value, dict):
self.__merge_dictionary(old_value, new_value)
else:
new_dict[key] = old_value
def save(self):
"""
Save the configuration to file.
"""
Utility.write_json(Utility.CONFIG_FILE_PATH, self.__user_config)
def get(self, key, default_value=None):
"""
Get the value.
"""
value = self.__user_config.get(key, default_value)
if value is None:
value = self.__system_config.get(key, None)
return value
def set(self, key, value):
"""
Set the value.
"""
self.__user_config[key] = value
SafeEyes-2.0.0/safeeyes/plugins/ 0000775 0000000 0000000 00000000000 13167713615 0016514 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/plugins/audiblealert/ 0000775 0000000 0000000 00000000000 13167713615 0021151 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/plugins/audiblealert/config.json 0000664 0000000 0000000 00000000630 13167713615 0023310 0 ustar 00root root 0000000 0000000 {
"meta": {
"name": "Audible Alert",
"description": "Play an audible alert at the end of breaks",
"version": "0.0.1"
},
"dependencies": {
"python_modules": [],
"shell_commands": ["aplay"],
"operating_systems": [],
"desktop_environments": [],
"resources": ["alert.wav"]
},
"settings": [],
"break_override_allowed": true
} SafeEyes-2.0.0/safeeyes/plugins/audiblealert/icon.png 0000664 0000000 0000000 00000000674 13167713615 0022616 0 ustar 00root root 0000000 0000000 PNG
IHDR ש PLTE >D 4tRNS
!"#9>M^chikpqstu|x IDATB@ GE)E[ft/iEdPfj%mJlJ.!)B\2*L T~F,K#e1 OV4M+_Vl g(f;v: _:d:` IENDB` SafeEyes-2.0.0/safeeyes/plugins/audiblealert/plugin.py 0000664 0000000 0000000 00000003170 13167713615 0023022 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2017 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
Audible Alert plugin plays a sound after each breaks to notify the user that the break has end.
"""
import logging
from safeeyes import Utility
context = None
def init(ctx, safeeyes_config, plugin_config):
"""
Initialize the plugin.
"""
global context
logging.debug('Initialize Audible Alert plugin')
context = ctx
def on_stop_break():
"""
After the break, play the alert sound
"""
# Do not play if the break is skipped or postponed
if context['skipped'] or context['postponed']:
return
logging.info('Playing audible alert')
try:
# Open the sound file
path = Utility.get_resource_path('alert.wav')
if path is None:
return
Utility.execute_command('aplay', ['-q', path])
except BaseException:
logging.error('Failed to play audible alert')
SafeEyes-2.0.0/safeeyes/plugins/donotdisturb/ 0000775 0000000 0000000 00000000000 13167713615 0021234 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/plugins/donotdisturb/config.json 0000664 0000000 0000000 00000001707 13167713615 0023401 0 ustar 00root root 0000000 0000000 {
"meta": {
"name": "Do Not Disturb",
"description": "Skip the break if the active window is in fullscreen mode",
"version": "0.0.1"
},
"dependencies": {
"python_modules": [],
"shell_commands": ["xprop"],
"operating_systems": [],
"desktop_environments": [],
"resources": []
},
"settings": [
{
"id": "skip_break_windows",
"label": "Do not interrupt these windows anytime",
"type": "TEXT",
"default": ""
},
{
"id": "take_break_windows",
"label": "Interrupt these windows regardless of their state",
"type": "TEXT",
"default": ""
},
{
"id": "unfullscreen",
"label": "Switch the interruptible windows to normal mode",
"type": "BOOL",
"default": true
}
],
"break_override_allowed": true
} SafeEyes-2.0.0/safeeyes/plugins/donotdisturb/icon.png 0000664 0000000 0000000 00000000325 13167713615 0022672 0 ustar 00root root 0000000 0000000 PNG
IHDR ש 3PLTE F tRNS
.1toO AIDAT(c`y0 /;# V]A XF+`VŹys31 X3BA IENDB` SafeEyes-2.0.0/safeeyes/plugins/donotdisturb/plugin.py 0000664 0000000 0000000 00000006345 13167713615 0023114 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# Safe Eyes is a utility to remind you to take break frequently
# to protect your eyes from eye strain.
# Copyright (C) 2017 Gobinath
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
Skip Fullscreen plugin skips the break if the active window is fullscreen.
NOTE: Do not remove the unused import 'GdkX11' becuase it is required in Ubuntu 14.04
"""
import logging
import re
import subprocess
import gi
gi.require_version('Gdk', '3.0')
from gi.repository import Gdk
from gi.repository import GdkX11
context = None
skip_break_window_classes = []
take_break_window_classes = []
unfullscreen_allowed = True
def is_active_window_skipped():
"""
Check for full-screen applications.
This method must be executed by the main thread. If not, it will cause to random failure.
"""
logging.info('Searching for full-screen application')
screen = Gdk.Screen.get_default()
active_window = screen.get_active_window()
if active_window:
active_xid = str(active_window.get_xid())
cmdlist = ['xprop', '-root', '-notype', '-id', active_xid, 'WM_CLASS', '_NET_WM_STATE']
try:
stdout = subprocess.check_output(cmdlist).decode('utf-8')
except subprocess.CalledProcessError:
logging.warning('Error in finding full-screen application')
else:
if stdout:
is_fullscreen = 'FULLSCREEN' in stdout
# Extract the process name
process_names = re.findall('"(.+?)"', stdout)
if process_names:
process = process_names[1].lower()
if process in skip_break_window_classes:
return True
elif process in take_break_window_classes:
if is_fullscreen and unfullscreen_allowed:
try:
active_window.unfullscreen()
except BaseException:
logging.error('Error in unfullscreen the window ' + process)
return False
return is_fullscreen
return False
def init(ctx, safeeyes_config, plugin_config):
global context
global skip_break_window_classes
global take_break_window_classes
global unfullscreen_allowed
logging.debug('Initialize Skip Fullscreen plugin')
context = ctx
skip_break_window_classes = plugin_config['skip_break_windows'].split()
take_break_window_classes = plugin_config['take_break_windows'].split()
unfullscreen_allowed = plugin_config['unfullscreen']
def on_start_break(break_obj):
"""
"""
return is_active_window_skipped()
SafeEyes-2.0.0/safeeyes/plugins/healthstats/ 0000775 0000000 0000000 00000000000 13167713615 0021040 5 ustar 00root root 0000000 0000000 SafeEyes-2.0.0/safeeyes/plugins/healthstats/config.json 0000664 0000000 0000000 00000000616 13167713615 0023203 0 ustar 00root root 0000000 0000000 {
"meta": {
"name": "Health Statistics",
"description": "Show statistics based on how you use Safe Eyes",
"version": "0.0.1"
},
"dependencies": {
"python_modules": [],
"shell_commands": [],
"operating_systems": [],
"desktop_environments": [],
"resources": []
},
"settings": [],
"break_override_allowed": true
} SafeEyes-2.0.0/safeeyes/plugins/healthstats/icon.png 0000664 0000000 0000000 00000001137 13167713615 0022500 0 ustar 00root root 0000000 0000000 PNG
IHDR ש PLTE # KtRNS
"*-4567;<=>ABFGLOQRY[]^dghoqx{G~ IDAT:Q w+EA
|J`*ߏ={A?ƽ2
V//@OhPUy3PL[EsË"3f,Sdȃp-q%瞆
*%4H
eMJp)+H@:"e)Zib_N