After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629378 - Make the .desktop files localizable
Make the .desktop files localizable
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Zeeshan Ali
Depends on:
Blocks:
 
 
Reported: 2010-09-11 18:27 UTC by Gabor Kelemen
Modified: 2010-09-16 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix localization problems in .desktop files (3.27 KB, patch)
2010-09-11 18:27 UTC, Gabor Kelemen
none Details | Review
Second try (5.18 KB, patch)
2010-09-13 21:11 UTC, Gabor Kelemen
none Details | Review

Description Gabor Kelemen 2010-09-11 18:27:59 UTC
Created attachment 170035 [details] [review]
Fix localization problems in .desktop files

I noticed that the localization of the .desktop files does not work, there are several small problems, attached patch fixes all of them. As the strings are already there, fixing this would be no string freeze break.
Comment 1 Zeeshan Ali 2010-09-13 14:31:22 UTC
(In reply to comment #0)
> Created an attachment (id=170035) [details] [review]
> Fix localization problems in .desktop files

  Thanks but your patch doesn't apply cleanly over current master. Also I (and all maintainers) will appreciate it if you use `git  format-patch` to prepare your patches.
Comment 2 Gabor Kelemen 2010-09-13 21:11:35 UTC
Created attachment 170193 [details] [review]
Second try

Here it is, I just didn't noticed that a simple git diff does not include the result of a former git mv.
Comment 3 Zeeshan Ali 2010-09-15 19:27:12 UTC
Pushed to git master with minor modification to git log message.

> As the strings are already there, fixing this would be no string freeze break.

  Where is there? I don't see the strings from desktop files anywhere in the po files.
Comment 4 Gabor Kelemen 2010-09-15 20:20:02 UTC
Not in the po files, but in the source.

The basic idea is this: if you add a new string after freeze to the source, that is a problem: if we do not update the translation, this string might appear to users in English. We don't want to see English strings, so we have string freeze to avoid this situation.

However, if the string is already in the source, marking it as translatable is not a problem, because it would certainly appear in English - but now we get a chance to translate it.

Our goal is not to see "100%" written next to the software name on a web page, but to see the software actually speaking our languages - this patch helps in achieving this.

So please, push it to the gnome-2-32 branch too, translators won't bite :)
Comment 5 Zeeshan Ali 2010-09-16 10:24:07 UTC
(In reply to comment #4)
>
> So please, push it to the gnome-2-32 branch too, translators won't bite :)

  There is also the Hard Code Freeze in effect, I'll push this change along with some other fixes to gnome-2-32 when its over.