GNOME Bugzilla – Bug 706767
Remove markup from translatable strings
Last modified: 2013-09-12 17:14:11 UTC
Created attachment 253075 [details] [review] Fix for found strings Translatable strings if possible should not contain markup. The attached patch removes two of them I found while translating. WARNING: I haven't tried to run app with these changes!
Review of attachment 253075 [details] [review]: Hi and thanks for this! There is a problem however... whenever you open those files with glade and save, Glade will override your values like this: - <attribute name="size" value="larger"/> + <attribute name="size" value="0"/> ...but then the text is not visible anymore. Even then however, it seems that Glade was at least trying to do the correct thing... because if I try your patch vanilla (with value="larger"), I get this traceback when rendering: Traceback (most recent call last):
+ Trace 232441
self.progress = RenderingProgressDialog(self.app, self)
"renderingprogress.ui"))
return info.invoke(*args, **kwargs)
Created attachment 254421 [details] [review] Fix for found strings Looks like it should be "font_size" instead of "size". At least Glade now shows these two labels.
Hi Aurimas, The problem remains: glade will ignore and reset those properties. Try saving the glade file and you'll notice those attributes you added are now gone... I'm wondering if that's now an actual bug in glade that needs to be filed as a dependency for this bug here. (note: you should update your git checkout of master as one of the strings has been replaced by something else :)
Actually, this is the same issue as 670650 so let's continue there. *** This bug has been marked as a duplicate of bug 670650 ***