Awn

Untranslatable strings in Awn Settings

Bug #586670 reported by Gabor Karsay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn
Invalid
Medium
Michal Hruby

Bug Description

Awn 0.4.0

In the settings dialog the 5 panels that you can see on top are not translatable, they are not in the .po-files:
Preferences, Task Manager, Applets, Themes, Advanced.
Check for example with: grep Advanced de.po

I don't know how to make them translatable, but I located the strings in awn-settings/awnSettings.py.in beginning at line 1129.

Revision history for this message
Michal Hruby (mhr3) wrote :

Fixed in R700.

Changed in awn:
assignee: nobody → Michal Hruby (mhr3)
importance: Undecided → Medium
milestone: none → 0.4.2
status: New → Fix Committed
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

I found 2 more buttons und 3 tooltips. Tested with Ukrainian, which is 100% translated. This really should have revealed the last untranslatable strings.

At the buttons the translatable-property was not checked, the tooltips were "tooltip-markup", which has no translatable-property (at least in glade-3). Patch makes them "tooltip-text" since they don't use markup anyway.

The patch changes these 5 lines and also one in libawn, that is used by some applets in their context menu as about menu item.

Revision history for this message
Michal Hruby (mhr3) wrote :

I'm sorry, but I'm unable to apply the patch in trunk, could you update it please?

Changed in awn:
status: Fix Committed → Incomplete
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Sure. I hope this patch is better. It patches awn trunk, assuming it's in directory "awn".

Revision history for this message
Michal Hruby (mhr3) wrote :

Ah sorry, I didn't notice this diff wasn't generated by bzr. Anyway fixed in R708, thanks for the patch.

Changed in awn:
status: Incomplete → Fix Committed
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Thank you very much, but maybe I made a mistake by not patching the .pot-file - I thought this is a automated process.

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

I just noticed a side-effect of this patch: The window width can change drastically if the 5 panels are translated. I'll attach a screenshot of (partial) German translation. First, the panels are shown in 2 rows, if you resize the window (make it bigger) and then try to make it smaller, this is the smallest possible size (see screenshot). It seems like all 5 panels are of equal width, maybe it would be better to make them of individual size. But as said before, it's not that bad when the window appears first, just after resizing, you can't get it smaller after that.

Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :

I can confirm Gabor's #7, it happens with Finnish translation as well. See attached picture. I don't think this needs a separate bug report so I post here.

Oxyggen (oxyggen)
Changed in awn:
status: Fix Committed → Incomplete
Revision history for this message
Povilas Kanapickas (p12) wrote :

Can this issue still be observed if using the latest packages from the awn-testing PPA (https://launchpad.net/~awn-testing/+archive/ppa)?

Revision history for this message
Povilas Kanapickas (p12) wrote :

Closing as no information has been received. Feel free to reopen if the bug still manifests itself.

Changed in awn:
status: Incomplete → Invalid
milestone: 0.4.2 → none
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.