[vlc-devel] [PATCH 1/2] lua http: make string easier to translate
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 >
> -"<!-- VLC_PASSWORD_NOT_SET --></body></html>");
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
<!-- VLC_PASSWORD_NOT_SET -->
should definitely not be translated. This is designed to be a
machine-readable tag so that remote control apps can readily tell what is
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...
More information about the vlc-devel