Re-use translations in .desktop files

Bug #305433 reported by Gabor Kelemen on 2008-12-05
6
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Medium
Unassigned
app-install-data-ubuntu (Ubuntu)
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? :)

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
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  Edit
Everyone can see this information.

Other bug subscribers