Skip to content

i18n: add Russian translation - #6

Merged
lucaswotta merged 3 commits into
lucaswotta:mainfrom
mrvi0:i18n/ru
Oct 15, 2026
Merged

lucaswotta merged 3 commits into
lucaswotta:mainfrom
mrvi0:i18n/ru

Conversation

@mrvi0

@mrvi0 mrvi0 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds po/ru.po with all 32 strings translated
  • Registers ru in po/LINGUAS
  • Reuses GNOME Shell wording for «Принудительно завершить» (Force Quit)

Part of #5 (Russian)

Test plan

  • msgfmt --check on po/ru.po → 32 translated messages
  • Install extension with Russian locale and spot-check prefs + notifications

mrvi0 and others added 3 commits October 16, 2026 00:32
Add po/ru.po using GNOME Shell wording for Force Quit and register ru
in po/LINGUAS.
Header and msgstr lines need literal \n escapes; the first draft broke
msgfmt. Keep GNOME Shell Force Quit wording.
GNOME Shell translates "Force Quit" as «Принудительно завершить» and
the Activities overview as «Обзор». The app name in "%s was force
quit" can be of any gender or number, so wrap it in «Приложение».

@lucaswotta lucaswotta left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the translation, it reads naturally! msgfmt --check and msgcmp against the POT pass, and the catalog builds and loads.

I pushed one commit on top (9f3c485) with the changes I'd call necessary:

  1. Force Quit: GNOME Shell translates it as «Принудительно завершить» (closeDialog, gnome-48 through main), so I switched the menu item and the two strings that quote it to that wording.
  2. Activities overview: GNOME calls it «Обзор» (panel.js, Settings), so the prefs text now starts «Откройте «Обзор» и удерживайте Ctrl…».
  3. %s was force quit: %s is an app name or a window title, so a fixed neuter participle breaks agreement («Firefox завершено», «Файлы завершено»). It's now «Приложение «%s» завершено принудительно».

Everything else stays as you wrote it. I'll squash on merge. I also changed Closes #5 to Part of #5 in the description, since #5 tracks every language and should stay open.

Спасибо!

@lucaswotta lucaswotta added the enhancement New feature or request label Oct 15, 2026
@lucaswotta
lucaswotta merged commit e6a5735 into lucaswotta:main Oct 15, 2026
1 check passed
@lucaswotta lucaswotta mentioned this pull request Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants