]> git.sesse.net Git - vlc/blobdiff - share/lua/intf/rc.lua
Experimental lua gettext support.
[vlc] / share / lua / intf / rc.lua
index c02d0a917252906c8a1e7c998e57cb014b446ad7..af78f4ce04efd35ab35cb24f2ca54268cbadf971 100644 (file)
@@ -61,12 +61,15 @@ skip2 = function(foo) return skip(skip(foo)) end
 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;
       }