1
0

Changed system to use ISO 639-1.

This commit is contained in:
Alexander Harkness 2013-08-13 09:46:15 +01:00
parent ff7e4b5bb9
commit 40094c2620

View File

@ -1,8 +1,8 @@
-- This plugin copyright Alexander Harkness 2013, licensed under the MIT license. -- This plugin copyright Alexander Harkness 2013, licensed under the MIT license.
-- Configuration -- Configuration
g_ServerLang = "english" g_ServerLang = "en"
g_ConsoleLang = "english" g_ConsoleLang = "en"
-- Global Variables -- Global Variables
g_Plugin = nil g_Plugin = nil
@ -23,7 +23,7 @@ function Initialize( Plugin )
Plugin:SetVersion( 1 ) Plugin:SetVersion( 1 )
-- This is the place for commands! -- This is the place for commands!
g_PluginManager:BindCommand("/language", "transapi.setlang", HandleLanguageCommand, " - Set your preferred language.") g_PluginManager:BindCommand("/language", "transapi.setlang", HandleLanguageCommand, " - Set your preferred language (use ISO 639-1)")
-- Load the userdata file. -- Load the userdata file.
g_UserData = cIniFile( g_PluginDir .. "/userdata.ini" ) g_UserData = cIniFile( g_PluginDir .. "/userdata.ini" )