Skip to content

Commit

Permalink
fix(gui): typos in ui text; update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
dynobo committed Apr 26, 2024
1 parent 6b6e351 commit 81cbf62
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 34 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

## v0.5.5 (upcoming)

- All: Add russian translation. Thanks, @ViktorOn! ([#611](https://github.com/dynobo/normcap/pull/611))
- All: Update spanish translation. Thanks, @haggen88! ([#614](https://github.com/dynobo/normcap/pull/614))
- Linux: Add `xsel` as another clipboard handler. Try `--clipboard-handler xsel` if
Normcap's result isn't copied to the clipboard correctly.
- Linux: Fix clipboard on Gnome 46 + Wayland. ([#620](https://github.com/dynobo/normcap/pull/620))
Expand Down
2 changes: 1 addition & 1 deletion normcap/gui/menu_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def _add_application_section(self, menu: QtWidgets.QMenu) -> None:
submenu.addAction(action)

# L10N: Entry in main menu's 'Application' section.
action = QtGui.QAction(_("Donate a coffee"), about_group)
action = QtGui.QAction(_("Donate for coffee"), about_group)
action.setObjectName(URLS.buymeacoffee)
submenu.addAction(action)

Expand Down
15 changes: 4 additions & 11 deletions normcap/gui/tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,17 @@
from PySide6 import QtCore, QtGui, QtNetwork, QtWidgets

from normcap import __version__, clipboard, ocr, screengrab
from normcap.gui import ( # noqa: F401 (loads resources!)
from normcap.gui import (
constants,
introduction,
resources,
resources, # noqa: F401 (loads resources!)
system_info,
utils,
)
from normcap.gui.language_manager import LanguageManager
from normcap.gui.localization import _
from normcap.gui.menu_button import MenuButton
from normcap.gui.models import (
Capture,
CaptureMode,
Days,
Rect,
Screen,
Seconds,
)
from normcap.gui.models import Capture, CaptureMode, Days, Rect, Screen, Seconds
from normcap.gui.notification import Notifier
from normcap.gui.settings import Settings
from normcap.gui.update_check import UpdateChecker
Expand Down Expand Up @@ -432,7 +425,7 @@ def _ensure_screenshot_permission(self) -> bool:
"Grant it via the dialog that will appear after you clicked 'Ok'.<br>"
"Then start NormCap again.<br>"
"<br>"
"<small>Sometimes, this might not work. If that is the case for you then"
"<small>Sometimes, this might not work. If that is the case for you "
"then please<br>"
"<a href='{issues_url}'>report this as bug</a> on GitHub.</small>"
).format(issues_url=constants.URLS.issues)
Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/de_DE/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ msgstr "Problem melden"

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr "Einen Kaffee spenden"

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -416,7 +416,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""
"<b>NormCap fehlt die Berechtigung für Screenshots.</b><br><br>Erteile diese "
Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/es_ES/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ msgstr "Informar de un problema"

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr "Donar un cafe"

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -414,7 +414,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant "
"it via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as bug</"
"case for you then please<br><a href='{issues_url}'>report this as bug</"
"a> on GitHub.</small>"
msgstr ""
"<b>A NormCap le falta el permiso para la captura de pantalla.</"
Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/fr_FR/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ msgstr ""

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr ""

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -380,7 +380,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/hi_IN/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ msgstr ""

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr ""

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -380,7 +380,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/it_IT/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ msgstr ""

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr ""

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -379,7 +379,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/pl_PL/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ msgstr ""

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr ""

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -386,7 +386,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/pt_PT/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ msgstr ""

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr ""

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -380,7 +380,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/ru_RU/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ msgstr "Сообщить о проблеме"

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr "Донат на кофе"

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -417,7 +417,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""
"<b>У NormCap отсутствует разрешение на захват экрана.</b><br><br>Предоставьте "
Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/sv_SE/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ msgstr "Rapportera ett problem"

#. Entry in main menu's 'Application' section.
#: normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr "Donera en kopp kaffe"

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -407,7 +407,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant "
"it via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as bug</"
"case for you then please<br><a href='{issues_url}'>report this as bug</"
"a> on GitHub.</small>"
msgstr ""
"<b>NormCap saknar behörighet för skärmklipp.</b><br><br>Bevilja det via "
Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/uk_UA/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ msgstr ""

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr ""

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -386,7 +386,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions normcap/resources/locales/zh_CN/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ msgstr ""

#. Entry in main menu's 'Application' section.
#: /home/holger/Code/normcap/normcap/gui/menu_button.py:384
msgid "Donate a coffee"
msgid "Donate for coffee"
msgstr ""

#. Tooltip of main menu's 'close' entry. Use <56 chars p. line.
Expand Down Expand Up @@ -374,7 +374,7 @@ msgid ""
"<b>NormCap is missing the permission for screen capture.</b><br><br>Grant it"
" via the dialog that will appear after you clicked 'Ok'.<br>Then start "
"NormCap again.<br><br><small>Sometimes, this might not work. If that is the "
"case for you thenthen please<br><a href='{issues_url}'>report this as "
"case for you then please<br><a href='{issues_url}'>report this as "
"bug</a> on GitHub.</small>"
msgstr ""

Expand Down

0 comments on commit 81cbf62

Please sign in to comment.