From 453d8d8f475ddbe1bb9197dba5575ce410385f72 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 1 Aug 2004 22:40:57 +0000 Subject: [PATCH] "lang" insted of "_language" --- plugins/multilingual.sma | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/multilingual.sma b/plugins/multilingual.sma index cb4e2af1..723bbe5b 100755 --- a/plugins/multilingual.sma +++ b/plugins/multilingual.sma @@ -66,14 +66,14 @@ public plugin_init() { public client_infochanged(id) { new lang[3] - get_user_info(id,"_language",lang,2) + get_user_info(id,"lang",lang,2) if ( lang_exists(lang) ) copy(g_userLang[id],2,lang) else if ( g_userLang[id][0] ) - set_user_info(id,"_language",g_userLang[id]) + set_user_info(id,"lang",g_userLang[id]) else - set_user_info(id,"_language","en") + set_user_info(id,"lang","en") } public cmdLang(id,level,cid) { @@ -160,7 +160,7 @@ public actionMenu(id,key) { new pLang[3] get_lang(g_menuLang[id][0],pLang) copy(g_userLang[id],2,pLang) - set_user_info(id,"_language",pLang) + set_user_info(id,"lang",pLang) client_print(id,print_chat,"%L",id,"SET_LANG_USER",pLang) showMenu(id) }