Le 14/05/2013 17:17, Thorsten Glaser a écrit :> On Tue, 14 May 2013,
Marc-Etienne Vargenau wrote:
>>> 2) A sentence ends by a period '.'
>>
>> What is a sentence? A title does not need a period.
>
> Indeed, but most of the strings should be sentences, right?
No; see below.
>> About the colon ':', my proposal is to separate the colon from
>> the text and to translate it. This is needed to be consistent and to
>> reduce the number of strings to translate.
>>
>> In an HTML <form> you will display "Language:"
>> In an HTML <table> you will display "Language" in <th>
>> You do not want to have "Language:" AND "Language" in *.po files
>> so you have to code: _("Language")._(":") in the first case.
>
> The gettext tools handle that automatically (except they
> mark the second one as fuzzy), so I’d let that be a tooling
> issue.
>
> Something that worries me more is the use of such short
> strings. "Language" #1, "Language:" and "Language" #2
> may not need the same translations. There is no solution
> for that in gettext land except to disambiguate the source
> strings.
There are many 1-word string e.g. in page
https://fusionforge.org/account/
These strings are not sentences and do not end with a "."
In page https://fusionforge.org/account/, you have
"Language:", in page www/stats/i18n.php you have
"Language". And both must be translated the same.
It is a waste of effort to have two strings in the
*.po files.
Best regards,
Marc-Etienne
--
Marc-Etienne Vargenau [email protected]
Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE
+33 1 30 77 28 33 OnNet 2103 2833
_______________________________________________
Fusionforge-general mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-general