notifyrc file does not contain translations

Bug #633514 reported by Jonathan Riddell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Triaged
Low
Unassigned
kubuntu-notification-helper (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kubuntu-notification-helper

unfortunately our .desktop translations with gettext patch does not work for notifyrc files (although the gettext domain happens to get added during the build). So translations for kubuntu-notification-helper notificationhelper.notifyrc need to be merged into the file from Launchpad.

Tags: kubuntu
Jonathan Riddell (jr)
Changed in kubuntu-notification-helper (Ubuntu):
milestone: none → ubuntu-10.10
tags: added: kubuntu
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

We don't use the text from the .notifyrc file at all. It all gets overridden by i18n'd strings when the notifications are called. The text is just there because text has to be there.

Revision history for this message
David Planella (dpm) wrote :

I'm not sure what importance to give this for the translations task. How visible are these strings? Do now all notifications appear untranslated in Kubuntu?

Changed in ubuntu-translations:
status: New → Triaged
Revision history for this message
Harald Sitter (apachelogger) wrote :

Minor visiblity I would say.

While they *are* visible, one almost has to look for them... In systemsettings -> notifications foo -> notifications -> in the drop down select system notification helper.
What's more, technically they might appear in the pot BUT I am not entirely sure if the translated strings get fed back into the system (KDE expecting translations within a desktop file and all, while notifyrcs are not necessarily handled like regular desktop files which might be a bit of a problem here).

@JT: why are we not using those strings btw?

Revision history for this message
David Planella (dpm) wrote :

Thanks for the clarification, Harald. Setting the importance accordingly.

Changed in ubuntu-translations:
importance: Undecided → Low
Revision history for this message
Jonathan Riddell (jr) wrote :

OK, however the translations catalogue isn't being loaded.

Running this shows the normal kdelibs catalogs and bits like bluedevil.mo and keyboard.mo but no notificationhelper.mo

strace kded4 --nofork 2>&1 | grep MESSAGES

I don't know how kded decides which if any catalogue to load, possibly a KGlobal::locale()->insertCatalog("notificationhelper"); in the right place is what's needed

Revision history for this message
Jonathan Riddell (jr) wrote :

hmm, running in Spanish I do get translations. Most confused.

Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :

Running in Italian I don't get translations

Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :
Changed in kubuntu-notification-helper (Ubuntu):
milestone: ubuntu-10.10 → maverick-updates
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.