Re-use translations in .desktop files

Bug #305433 reported by Gabor Kelemen
6
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Triaged
Medium
Unassigned
app-install-data-ubuntu (Ubuntu)
New
Undecided
Unassigned

Bug Description

Currently, desktopize.sh does not care about existing translations in .desktop files, however reusing those would be the expected behaviour. So here is reuse-translations.sh, to generate po files from desktop files.
There is only one problem with it, the sed expression intended to replace \ by \\ does not work, don't know why - this makes the update of ar and he to fail.

For performance reasosns, desktopize.sh should also be modified, as the "update all po files" part would take ages to complete and it's unnecessary, given that the files would be uploaded to LP. I'm not sure however that this is the best solution - what happens if other distributions want to use g-a-i? :)

Tags: patch
Revision history for this message
Gabor Kelemen (kelemeng) wrote :
Revision history for this message
Gabor Kelemen (kelemeng) wrote :
Revision history for this message
David Planella (dpm) wrote :

Thanks a lot Gabor.

That could potentially save a big amount of translation work. Michael, do you think you could have a look at the scripts?

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Pierre Slamich (pierre-slamich) wrote :

Which Michael are you talking about ? None is subscribed to the bug.

summary: - Reuse translations in desktop files
+ Re-use translations in .desktop files
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.