]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses: Fix positioning of i18n strings in button labels
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Fri, 10 Jul 2015 05:57:48 +0000 (15:57 +1000)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 31 Aug 2015 04:58:06 +0000 (14:58 +1000)
Since the visual length of localised strings is not necessarily equal to
the number of chars in the array, button labels could 'finish' early.

For example:
'[確定]  ' and '[  說明  ]  '
vs the correct
'[ 確定 ]' and '[   說明   ]'

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>

No differences found