Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Russian translation #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

slichtzzz
Copy link

Add Russian translation

Add Russian translation
@mbkma
Copy link
Member

mbkma commented Nov 15, 2022

Our translation is done at transifex. Please see https://wiki.mate-desktop.org/contributing/translation/getting-started/ on how to translate.

@slichtzzz
Copy link
Author

Yes, I know! And I would gladly do this, but the "Description" on line 9 in this file ("Control multimedia volume") is abcent in the ru.po file, which you can easily check here:

https://github.com/mate-desktop/mate-media/blob/master/po/ru.po

as well as in any other *.po file

That's why the descriptions are not translated in the interface. Of course, the correct way is to put the description line back to *.po files, but I am not sure how this could be done. Do you have any idea how this could be fixed?

@mbkma
Copy link
Member

mbkma commented Nov 16, 2022

Yeah, at the moment "Description" on line 9 is translated here

#: mate-volume-control/org.mate.applets.GvcApplet.mate-panel-applet.desktop.in.in:9
. But it makes no sense because at line 9 of mate-volume-control/org.mate.applets.GvcApplet.mate-panel-applet.desktop.in.in the text to translate is different:

@slichtzzz
Copy link
Author

So, it is obvious that this is incorrect. The correct way is to have a new entry in the mate-media/po/ru.po file:

#: mate-volume-control/org.mate.applets.GvcApplet.mate-panel-applet.desktop.in.in:9
msgid "Control multimedia volume"
msgstr "Регулятор громкости мультимедиа"

@mbkma
Copy link
Member

mbkma commented Nov 16, 2022

Yes, *.po files are generated from the template mate-media.pot which in turn is generated by the makepot script. Now the question is why the makepot script (which really just executes the make mate-media.pot command) does not generate the mate-media.pot file correctly.

@slichtzzz
Copy link
Author

Yes, exactly! And at least couple applets ("inhibit" & "brightness") from "mate-power-manager" package have the same problem. I didn't check all the MATE applets, but some of them could have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants