mate-desktop / mate-media

Media tools for MATE
https://mate-desktop.org
GNU General Public License v2.0
19 stars 25 forks source link

Add Russian translation #193

Open slichtzzz opened 2 years ago

slichtzzz commented 2 years ago

Add Russian translation

mbkma commented 2 years ago

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

slichtzzz commented 2 years ago

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 commented 2 years ago

Yeah, at the moment "Description" on line 9 is translated here https://github.com/mate-desktop/mate-media/blob/9cb20f31afc556805c604a7be0d34f0531060c89/po/ru.po#L52. 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: https://github.com/mate-desktop/mate-media/blob/9cb20f31afc556805c604a7be0d34f0531060c89/mate-volume-control/org.mate.applets.GvcApplet.mate-panel-applet.desktop.in.in#L9

slichtzzz commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.