Re: String freeze break: Anjuta



Op Do, 2011-03-17 om 13:53 -0400 skryf Johannes Schmid:
> Hi!
> 
> To fix
> https://bugzilla.gnome.org/show_bug.cgi?id=645049
> 
> I would need to add a string to anjuta:
> 
> 	/* 
> 	 * Translators: This regex should match the password prompts of
> 	 * at least the "su" and the "sudo" command line utility in your
> 	 * language and possible other things like "ssh".
> 	 */
> 	const gchar* i18n_regex = _("[Pp]assword.*:");
> 
> I know that regular expressions aren't nice to translate but it is
> difficult to get right in any other way. It always tried the english and
> the localized version of this expression to match password prompts.
> 
> I ask for a string-freeze break because otherwise installation as root
> doesn't work for non-english users.


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? :-)

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation



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