Comment 6 for bug 666370

Revision history for this message
Johan Engelen (johanengelen) wrote : Re: [Bug 666370] Re: Not all units in the Object Transform dialog are translatable

On 17-4-2011 23:52, Fernando Lucchesi Bastos Jurema wrote:
> Perhaps there could be a constant DEG with value "°"(on utils/units.h or maybe somewhere else). That would solve the problem for programmers:
> double deg_angle = _spin_angle.getValue(DEG);
>
> If that's not a good solution I'll work on the translatable version.

Maybe I am whining too much; the programmer issue is a bit dumb, sorry
for bringing that up. (a #define DEG "º" maybe nice though yeah, add it
in units.h)
But I am also worried a bit that I wouldn't have recognized the symbol
in Inkscape...
Otoh, maybe I'll try and get the unit to display inside the widget (like
the zoom entry box, bottomright), and then it would look much nicer to
have the °.

Note: ASCII defines two ° thingies: 248 ° and 167 º. Which one do you
want to take?