setarg = common.setarg
strip = common.strip
+_ = vlc.gettext._
+N_ = vlc.gettext.N_
+
--[[ Setup default environement ]]
env = { prompt = "> ";
width = 70;
autocompletion = 1;
autoalias = 1;
- welcome = "Remote control interface initialized. Type `help' for help.";
+ welcome = _("Remote control interface initialized. Type `help' for help.");
flatplaylist = 0;
}
if value then
local var,val = split_input(value)
if val then
- s = string.gsub(val,"\"(.*)\"","%1")
+ local s = string.gsub(val,"\"(.*)\"","%1")
if type(client.env[var])==type(1) then
client.env[var] = tonumber(s)
else