Skip to content

Commit 54a2ea6

Browse files
authored
Merge pull request #674 from slgobinath/master
Release v2.2.3
2 parents a4c83b6 + b924521 commit 54a2ea6

File tree

58 files changed

+1382
-440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1382
-440
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ A clear and concise description of what you expected to happen.
2525
- Desktop Env [e.g. Gnome, KDE]
2626
- Version [e.g. 2.0.3]
2727

28+
**Flatpak issues**: If you experience any issue with flatpak, first please ensure that the bug is present in the [native package](https://github.com/slgobinath/SafeEyes?tab=readme-ov-file#installation-guide), and it is not a flatpak-only bug. Flatpak-only bugs should be reported at https://github.com/flathub/io.github.slgobinath.SafeEyes. (**Please erase this paragraph before creating the bug report**)
29+
2830
**Debug Log**
2931
Run the Safe Eyes using `safeeyes --debug` command attach the ~/safeeyes.log` file.
3032

.github/pull_request_template.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Description
2+
3+
Describe your changes here, and link to related issues if available.
4+
5+
Reminder to run `python validate_po.py --extract` if you have added new translatable strings.

README.md

+21-5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Safe Eyes is available on the official repositories of many popular the distribu
4343
<img src="https://repology.org/badge/vertical-allrepos/safeeyes.svg" alt="Packaging status" align="right">
4444
</a>
4545

46-
It is also available in Ubuntu PPA, Arch AUR, Gentoo and Python PyPI. You can choose any installation source and install on any Linux system with Python 3.
46+
It is also available in Ubuntu PPA, Arch AUR and Python PyPI. You can choose any installation source and install on any Linux system with Python 3.
4747

4848

4949
### Ubuntu, Linux Mint and other Ubuntu Derivatives
@@ -79,13 +79,15 @@ sudo apt-get install safeeyes
7979
```
8080

8181
### Fedora
82-
82+
If you want to use Smart Pause plugin, install the latest xprintidle from: [alonid/xprintidle](https://copr.fedorainfracloud.org/coprs/alonid/xprintidle/)
8383
```bash
8484
sudo dnf install python3-psutil python3-packaging cairo-devel python3-devel gobject-introspection-devel cairo-gobject-devel
8585
sudo pip3 install safeeyes
8686
sudo gtk-update-icon-cache /usr/share/icons/hicolor
8787
```
8888

89+
We are looking for an official package maintainer for Fedora. Please [contact us](https://github.com/slgobinath/SafeEyes/issues/611) if you are interested.
90+
8991
### OpenSUSE Tumbleweed
9092

9193
```bash
@@ -100,7 +102,7 @@ sudo apk add safeeyes
100102
```
101103

102104
### Flatpak
103-
105+
**Warning**: Many plugins and features don't work well in the flatpak. We recommend that you use one of the native packages listed above. Flatpak-only bugs should be reported at https://github.com/flathub/io.github.slgobinath.SafeEyes.
104106
```bash
105107
flatpak install flathub io.github.slgobinath.SafeEyes
106108
```
@@ -184,14 +186,22 @@ For more details, please check the issue: [#329](https://github.com/slgobinath/S
184186

185187
Thirdparty plugins are available at another GitHub repository: [safeeyes-plugins](https://github.com/slgobinath/safeeyes-plugins). More details about how to write your own plugin and how to install third-party plugin are available there.
186188

189+
## Local development
190+
191+
When adding new translatable strings in the source code, make sure to run `python validate_po.py --extract` to add them to the translation template. You will need to install `python3-polib` for this.
192+
193+
Examples for translatable strings are `_("This is a string")` in Python code, or `<property name="label" translatable="yes">This is a label</property>` in Glade/xml files.
194+
195+
To ensure the new strings are well-formed, you can use `python validate_po.py --validate`.
196+
187197
## How to Release?
188198

189199
0. Run `update-po.sh` to generate new translation files (which will be eventually updated by translators). Commit and push the changes to the master branch.
190200
1. Checkout the latest commits from the `master` branch
191201
2. Run `python3 -m safeeyes` to make sure nothing is broken
192202
3. Update the Safe Eyes version in the following places (Open the project in VSCode and search for the current version):
193-
- [setup.py](https://github.com/slgobinath/SafeEyes/blob/master/setup.py#L83)
194-
- [setup.py](https://github.com/slgobinath/SafeEyes/blob/master/setup.py#L90)
203+
- [setup.py](https://github.com/slgobinath/SafeEyes/blob/master/setup.py#L82)
204+
- [setup.py](https://github.com/slgobinath/SafeEyes/blob/master/setup.py#L89)
195205
- [safeeyes.py](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/safeeyes.py#L42)
196206
- [io.github.slgobinath.SafeEyes.metainfo.xml](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml#L56)
197207
- [about_dialog.glade](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/glade/about_dialog.glade#L74)
@@ -200,6 +210,12 @@ Thirdparty plugins are available at another GitHub repository: [safeeyes-plugins
200210
6. Create a pull-request from `master` to `release`
201211
7. Merge the PR to release **with merge commit** (Important to merge with merge commit)
202212

213+
## How you can help improving translation of Safe Eyes
214+
215+
First check if translations for your language are already available on [Weblate](https://hosted.weblate.org/engage/safe-eyes/), which is the cloud based translation platform we use.
216+
217+
- If the language is already there, feel free to add new translations or improve the existing ones.
218+
- If it is not there, please [open an issue](https://github.com/slgobinath/SafeEyes/issues) in Github so that we can add your language to Weblate.
203219

204220
## License
205221

debian/changelog

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
safeeyes (2.2.3) jammy; urgency=medium
2+
3+
* Translations
4+
5+
* Make config and stylesheet files non-executable
6+
7+
* Retry loading trayicon plugin to fix races on startup
8+
9+
* Fix "Show next break time in tray icon" for desktops support tray icons
10+
with labels
11+
12+
* Fix next break time in tray icon when disabling SafeEyes
13+
14+
* Make SafeEyes compatible with Python 3.6 again
15+
16+
* Add 'hyprland' to the list of recognized desktop sessions
17+
18+
* Remove hard dependency on X11
19+
20+
-- Mel Dafert <[email protected]> Wed, 25 Dec 2024 11:46:00 +0000
21+
122
safeeyes (2.2.2) jammy; urgency=medium
223

324
* Fixed translations

safeeyes/config/locale/ar/LC_MESSAGES/safeeyes.po

+19-15
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: \n"
88
"POT-Creation-Date: \n"
9-
"PO-Revision-Date: 2024-07-26 11:09+0000\n"
10-
"Last-Translator: RDWN IT <raraja701@gmail.com>\n"
9+
"PO-Revision-Date: 2024-09-17 01:09+0000\n"
10+
"Last-Translator: Barman Anonymous Please <barman-object-knee@duck.com>\n"
1111
"Language-Team: Arabic <https://hosted.weblate.org/projects/safe-eyes/"
1212
"translations/ar/>\n"
1313
"Language: ar\n"
@@ -16,11 +16,11 @@ msgstr ""
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
1818
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
19-
"X-Generator: Weblate 5.7-dev\n"
19+
"X-Generator: Weblate 5.8-dev\n"
2020

2121
# Short break
2222
msgid "Gently close your eyes"
23-
msgstr ""
23+
msgstr "أغمض عينيك بلطف"
2424

2525
# Short break
2626
msgid "Roll your eyes a few times to each side"
@@ -40,7 +40,7 @@ msgstr "اغمز بعينيك"
4040

4141
# Short break
4242
msgid "Focus on a point in the far distance"
43-
msgstr "ركّز على نقطة في المدى البعيد"
43+
msgstr "ركّز على نقطة بعيدة"
4444

4545
# Short break
4646
msgid "Have some water"
@@ -76,7 +76,7 @@ msgstr "إظهار لوحة اﻹعدادات"
7676

7777
# Commandline arg description
7878
msgid "start safeeyes in debug mode"
79-
msgstr "ابدأ عيون سليمة في وضع التنقيح"
79+
msgstr "ابدأ safeeyes في وضع التنقيح (debug)"
8080

8181
# Commandline arg description
8282
msgid "print the status of running safeeyes instance and exit"
@@ -109,7 +109,11 @@ msgstr "الرخصة"
109109

110110
# About dialog
111111
msgid "List of Contributors"
112-
msgstr ""
112+
msgstr "قائمة المساهمين"
113+
114+
# About dialog
115+
msgid "Help us translate this app"
116+
msgstr "ساعدنا في ترجمة هذا التطبيق"
113117

114118
# Break screen
115119
msgid "Skip"
@@ -535,36 +539,36 @@ msgstr "أوقِف الوسائط"
535539

536540
# plugin/limitconsecutiveskipping
537541
msgid "Limit Consecutive Skipping"
538-
msgstr ""
542+
msgstr "تقييد التخطي المتتالي"
539543

540544
# plugin/limitconsecutiveskipping
541545
msgid "How many skips or postpones are allowed in a row"
542-
msgstr ""
546+
msgstr "عدد مرات التخطي أو التأجيل المسموح بها على التوالي"
543547

544548
# plugin/limitconsecutiveskipping
545549
msgid "Limit how many breaks can be skipped or postponed in a row"
546-
msgstr ""
550+
msgstr "حدد عدد فترات الاستراحة التي يمكن تخطيها أو تأجيلها على التوالي"
547551

548552
# plugin/limitconsecutiveskipping
549553
#, python-format
550554
msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row"
551-
msgstr ""
555+
msgstr "تم تخطي أو تأجيل %(num)d/%(allowed)d من فترات الاستراحة على التوالي"
552556

553557
# safeeyes/platform/io.github.slgobinath.SafeEyes.desktop
554558
msgid "RSI Prevention"
555-
msgstr ""
559+
msgstr "الوقاية من الإصابات الناتجة عن الإجهاد المتكرر للعينين"
556560

557561
msgid ""
558562
"Please install service providing tray icons for your desktop environment."
559-
msgstr ""
563+
msgstr "يرجى تثبيت خدمة توفر أيقونات في علبة النظام لبيئة سطح المكتب الخاصة بك."
560564

561565
#, python-format
562566
msgid "Next long break at %s"
563-
msgstr ""
567+
msgstr "الاستراحة الطويلة القادمة في %s"
564568

565569
#, python-format
566570
msgid "Next breaks at %(short)s/%(long)s"
567-
msgstr ""
571+
msgstr "الاستراحة القادمة في %(short)s/%(long)s"
568572

569573
#, python-format
570574
msgid "The required plugin '%s' is missing dependencies!"

safeeyes/config/locale/bg/LC_MESSAGES/safeeyes.po

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ msgstr "Лиценз"
110110
msgid "List of Contributors"
111111
msgstr ""
112112

113+
# About dialog
114+
msgid "Help us translate this app"
115+
msgstr ""
116+
113117
# Break screen
114118
msgid "Skip"
115119
msgstr "Пропускане"

0 commit comments

Comments
 (0)