Line breaking

anders at jenbo.dk anders at jenbo.dk
Sat Oct 19 14:02:59 UTC 2013


You will in most cases end up with:
Roghainnean an
t-siostaim

But as I mentioned it depends on the users font settings and they could 
end up with:
Roghainnean
an t-siostaim

or even:
Roghainnean an t-siostaim

But by using the non breakable hyphon (unicode 2011) you make sure that 
no one gets:
Roghainnean an t-
siostaim

Den 19-10-2013 15:09, Yuri Chornoivan skrev:
> написане Sat, 19 Oct 2013 15:13:11 +0300, Michael Bauer 
> <fios at akerbeltz.org>:
>
>> LOL guys I'm totally confused now. Which is it? The outcome I want is 
>> that when I get this in Launchpad:
>>
>> System Settings
>> Roghainnean an t-siostaim
>>
>> the result for the user on screen is
>> Roghainnean
>> an t-siostaim
>>
>> or at least
>>
>> Roghainnean an
>> t-siostaim
>>
>> NOT as it currently is:
>> Roghainnean an t-
>> siostaim
>>
>>
>> Either approach suggested to date is fine by me but I'd kind of like 
>> to know which one works before I go changing a lot, seeing there's 
>> only 1 l10n update a year, I can't very well experiment ;)
>>
>> Michael
>
> Can you tell from where this translation is (PO-file)?
>
> If it is from .desktop file, open it (the file can be usually found in 
> /usr/share/applications) in the text editor ("gksudo gedit" in the 
> Terminal) and try to experiment with Name[gd] line. You need to logout 
> then login for the changes to take effect.
>
> If it is from the general translations (saved in /usr/share/locale/gd) 
> try to edit and recompile it with CLI or PoEdit.
>
> It is better to use Anders Jenbo advice to achieve what you want now.
>
>>
>>> It should be \x00AD (U+00AD, soft hyphen, shy).
>>>
>>> Sources:
>>>
>>> Gtk+: https://bugzilla.gnome.org/show_bug.cgi?id=580275
>>>
>>> Qt: http://qt-project.org/doc/qt-5.0/qtcore/qtextboundaryfinder.html
>>>
>>>
>>
>>> A soft hyphon hints that a word can be broaken and a hyphon inserted,
>>> pretty much the opposed of what Michael seams to want here.
>>
>>> You need to insert the actual charector - . If you don't have a 
>>> keyboard
>>> combination for typing it then save it to a text file for handy use in
>>> the future.
>>>
>>
>




More information about the ubuntu-translators mailing list