packaging: Add Russian translations for the desktop entry and metainfo - #4162
Open
wehrwolfmann wants to merge 1 commit into
Open
packaging: Add Russian translations for the desktop entry and metainfo#4162wehrwolfmann wants to merge 1 commit into
wehrwolfmann wants to merge 1 commit into
Conversation
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 desktop entry and the AppStream metainfo currently ship English only, so on a Russian system micro shows up in the application menu and in software centers like GNOME Software or KDE Discover with untranslated text. This adds Russian for the generic name, the comment and the keywords in
micro.desktop, and for the summary, the description and the screenshot caption in the metainfo file. The name Micro is left alone, and nothing changes for anyone not running a Russian locale.I tried it on Arch with KDE Plasma 6 under
ru_RU.UTF-8: with the modifiedmicro.desktopin~/.local/share/applicationsand the caches rebuilt, the menu entry reads "Редактирование текстовых файлов в терминале", while the very same file under an English locale still reads "Edit text files in a terminal".desktop-file-validateandappstreamcli validatesay exactly what they said before the change, and passing the metainfo throughappstreamcli composeandconvertshows the Russian summary, description and keywords landing in the generated DEP-11 catalog that software centers actually read.Happy to adjust the phrasing if you would rather have the description follow the English text more literally.