GNOME Bugzilla – Bug 708404
Use markup for superscript in text string
Last modified: 2014-03-04 00:08:38 UTC
There is a " km²" string in the translation, but the use of Unicode superscript should be avoided as Unicode superscripts are encoded for use in specific linguistic context and not for general text superscripts, instead Pango markup should be used https://developer.gnome.org/pango/stable/PangoMarkupFormat.html, so it should be " km<sup>2</sup>" (while making sure its interpreted as markup of course). Pango markup has the additional benefit that other digits can be used for the superscript, e.g. for Arabic or Persian translations where the European digits are not used. I would have came up with a patch myself, but I didn’t manage to get maps running out of git checkout.
I'm afraid we are too far into freezes to do this. No need for patch, just get us a freeze break and I can easily fix it: https://wiki.gnome.org/ReleasePlanning/Freezes
I don’t think it is worth breaking the string freeze that late, so it can wait to after 3.10 branching.
Can this be done for 3.12 now?
(In reply to comment #3) > Can this be done for 3.12 now? Too late. We are already in a freeze but we can ask for exceptions. Things would have gone faster if there was a patch submitted for this. :(
(In reply to comment #0) > > I would have came up with a patch myself, but I didn’t manage to get maps > running out of git checkout. Can you try now? Have you tried jhbuild? A patch against 3.10 won't be bad either.
Created attachment 270851 [details] [review] Patch I can’t get master too build (too new dependencies) and jhbuild is an overkill for such a simple fix, so I tested it with 3.10 then rebased the patch on master.
Thanks!