i18n: Add Russian translation for desktop entry and AppStream data - #2007
Open
wehrwolfmann wants to merge 1 commit into
Open
i18n: Add Russian translation for desktop entry and AppStream data#2007wehrwolfmann wants to merge 1 commit into
wehrwolfmann wants to merge 1 commit into
Conversation
The desktop entry and the AppStream metadata are not part of the Transifex resource, so they stay untranslated in every language. This adds Russian for the generic name, the summary, the description and the screenshot caption. GenericName is translated instead of adding a Comment, because Plasma's launcher and KRunner use the generic name first and only fall back to Comment when it is empty.
Author
|
Gentle nudge on this one — it is two lines in the desktop entry and two in the metainfo, no code involved. Rebased cleanly on main as of today. Happy to adjust the wording if you would rather have something else there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The launcher entry and the AppStream data are about the only user-visible strings MediaElch ships that are not translated into anything — they are not part of the Transifex resource, so they can only arrive as a patch. On a Russian desktop that shows: the application itself speaks Russian, while the menu and the software centre still say "Media Manager".
I translated
GenericNameinstead of adding aComment. Plasma's launcher and KRunner take the generic name first and only fall back toCommentwhen it is empty, so aComment[ru]on its own would have changed nothing — I tried it locally and the menu still read "Media Manager"; withGenericName[ru]it reads "Менеджер медиатеки". That also keeps the entry free of a second field saying the same thing twice.The wording follows the Russian UI translation that is already on Transifex (фильмы, сериалы, концерты, музыка, файлы NFO), so the menu and the application use the same terms.
desktop-file-validatestays clean andappstreamcli validatereports exactly the same notes as before the change;appstreamcli composepicks up all three translated strings into the catalogue.