You should also warn about strings that, translated, end and begin with
a whitespace but the original string does not.

On Sat, 2009-05-16 at 18:19 +0200, Chusslove Illich wrote:
> Some whitespace checks added in this run.
> 
> One is to warn when the original text ends with space after a colon (e.g.
> "Difficulty: ") and the translation misses the trailing space. In English
> the trailing space is significant here, preventing that what follows the
> label sticks to it. But this check alone produces 600+ warnings, and it may
> be that in some languages the trailing space really should be removed (CJK
> comes to mind), or is simply too unimportant a detail.
> 
> There is a similar check for leading space too, except that it triggers no
> matter what character follows the space, because this is rarely a mistake
> and usually significant in original (unlike the mostly superfluous trailing
> space when not following the colon). But it may still be insignificant in
> some languages.
> 
> So I've made it that, at the moment, only explicitly listed languages are
> checked for matching outer whitespace to original. Whoever wants into this
> list, tell.
> 
> _______________________________________________
> Wesnoth-i18n mailing list
> Wesnoth-i18n@gna.org
> https://mail.gna.org/listinfo/wesnoth-i18n


_______________________________________________
Wesnoth-i18n mailing list
Wesnoth-i18n@gna.org
https://mail.gna.org/listinfo/wesnoth-i18n

Reply via email to