[aur-dev] [PATCH] Fix for information leak in login logic.

Loui louipc.ist at gmail.com
Wed Feb 20 07:26:34 EST 2008


On 2/20/08, Simo Leone <simo at archlinux.org> wrote:
> We have translated strings for all
>  the login errors already, however we dont use __() on them right now in
>  the template. We could just do something like __($login_error), but this
>  makes it impossible for the translation string scanner to look for the
>  strings that need translation.
>  Ideas?

maybe add some kind of comment directive to scan
## trans: Translate this fool!
$login_error = "Translate this fool!";

I don't know what other apps do for this type of thing. This is just a
crazy idea I just came up with.




More information about the aur-dev mailing list