Re: String freeze break: Anjuta



On Fri, Mar 18, 2011 at 12:23 PM, F Wolff <friedel translate org za> wrote:
>>       const gchar* i18n_regex = _("[Pp]assword.*:");
>
> If/when this goes in, can we please expand the comment with a URL that
> describes the regex syntax? Even for translators who know what regular
> expressions are, they might be used to another syntax than POSIX. I
> guess only half of the people contributing in my team would know what
> regular expressions are, and we don't want anybody to break this,
> right? :-)


Better off give an example of how one would do this if sometimes the
string is translated and sometimes not.

For example su, sudo, login may be translated (to "parole" for
example), but ssh not.

We'll need to match on Parole, parole, Password, password.


-- 
 .
..: Lucian


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]