[vlc-devel] [PATCH 1/2] lua http: make string easier to translate

Rob Jonson rob at hobbyistsoftware.com
Thu Jun 6 15:15:50 CEST 2013

On 6 June 2013 12:41, Rafaël Carré <funman at videolan.org> wrote:

> +"<!-- VLC_PASSWORD_NOT_SET --></body></html>";
> +
> +static const char no_password_body[] = N_(
>  "<p>Password for Web interface has not been set.</p>"
>  "<p>Please use --http-password, or set a password in </p>"
>  "<p>Preferences > All > Main interfaces > Lua > Lua HTTP >
> Password.</p>"
> -"<!-- VLC_PASSWORD_NOT_SET --></body></html>");
> +);
> +

Hi Rafël,

forgive me if I misunderstood this, but I think you are setting up this
whole chunk of html to be translated.

the user-visible bits can certainly benefit from translation, but the

should definitely not be translated. This is designed to be a
machine-readable tag so that remote control apps can readily tell what is
going on.




Hobbyist Software is a trading name of Hobbyist Software Limited.
Registered office Flat 4 Eastmead Court, Bristol BS9 1HP. Registered in
England. Company no:7876492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130606/087ea21c/attachment.html>

More information about the vlc-devel mailing list