fix dates localization

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@522 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2009-06-04 01:14:26 +00:00
parent 62f839a2a4
commit 84ef59b133
20 changed files with 24 additions and 1 deletions

View File

@ -3,6 +3,7 @@
[!] 404 installation problem [!] 404 installation problem
[+] new permission: "Ability to modify profile" [+] new permission: "Ability to modify profile"
[+] new project name: Mibew Messenger [+] new project name: Mibew Messenger
[!] fixed localization of dates for all languages
1.6.0 1.6.0
----- -----

View File

@ -130,7 +130,6 @@ function get_locale() {
} }
$current_locale = get_locale(); $current_locale = get_locale();
setlocale(LC_TIME, $current_locale);
$messages = array(); $messages = array();
$output_encoding = array(); $output_encoding = array();

View File

@ -422,6 +422,7 @@ tag.pagination.previous=Vorheriges
thread.back_to_search=zur Suche gehen thread.back_to_search=zur Suche gehen
thread.chat_log=Chat Log thread.chat_log=Chat Log
thread.intro=Die Seite zeigt Chats an thread.intro=Die Seite zeigt Chats an
time.locale=de_DE
topMenu.admin=Administration topMenu.admin=Administration
topMenu.logoff=Logout topMenu.logoff=Logout
topMenu.main=Home topMenu.main=Home

View File

@ -423,6 +423,7 @@ tag.pagination.previous=previous
thread.back_to_search=Go to search thread.back_to_search=Go to search
thread.chat_log=Chat log thread.chat_log=Chat log
thread.intro=This page displays chat details and content. thread.intro=This page displays chat details and content.
time.locale=en_US
topMenu.admin=Home topMenu.admin=Home
topMenu.logoff=Exit topMenu.logoff=Exit
topMenu.main=Home topMenu.main=Home

View File

@ -422,6 +422,7 @@ tag.pagination.previous=précédent
thread.back_to_search=Aller rechercher thread.back_to_search=Aller rechercher
thread.chat_log=Session de dialogue thread.chat_log=Session de dialogue
thread.intro=Cette page affiche la conversation thread.intro=Cette page affiche la conversation
time.locale=fr_FR
topMenu.admin=Administration topMenu.admin=Administration
topMenu.logoff=Sortie topMenu.logoff=Sortie
topMenu.main=Accueil topMenu.main=Accueil

View File

@ -422,6 +422,7 @@ tag.pagination.previous=הקודם
thread.back_to_search=עבור לחיפוש thread.back_to_search=עבור לחיפוש
thread.chat_log=סיכום השיחה thread.chat_log=סיכום השיחה
thread.intro=בעמוד נוכחי ניתן לצפות בשיחה thread.intro=בעמוד נוכחי ניתן לצפות בשיחה
time.locale=he_IL
topMenu.admin=תפריט של הנציגים topMenu.admin=תפריט של הנציגים
topMenu.logoff=יציאה topMenu.logoff=יציאה
topMenu.main=בית topMenu.main=בית

View File

@ -422,6 +422,7 @@ tag.pagination.previous=precedente
thread.back_to_search=Ritorna a cerca thread.back_to_search=Ritorna a cerca
thread.chat_log=Chat log thread.chat_log=Chat log
thread.intro=La pagina che visualizza la chat thread.intro=La pagina che visualizza la chat
time.locale=it_IT
topMenu.admin=Amministrazione topMenu.admin=Amministrazione
topMenu.logoff=Uscita topMenu.logoff=Uscita
topMenu.main=Home topMenu.main=Home

View File

@ -422,6 +422,7 @@ tag.pagination.previous=poprzednie
thread.back_to_search=Przyjedź do wyszukiwania thread.back_to_search=Przyjedź do wyszukiwania
thread.chat_log=Logi rozmowy thread.chat_log=Logi rozmowy
thread.intro=Strona wyświetla rozmowę thread.intro=Strona wyświetla rozmowę
time.locale=pl_PL
topMenu.admin=Administracja topMenu.admin=Administracja
topMenu.logoff=Wyloguj się topMenu.logoff=Wyloguj się
topMenu.main=Strona główna topMenu.main=Strona główna

View File

@ -301,6 +301,7 @@ tag.pagination.no_items=Encontrado 0 elemento(s)
thread.back_to_search=Procurar thread.back_to_search=Procurar
thread.chat_log=Log do chat thread.chat_log=Log do chat
thread.intro=Está página mostra todos os chats thread.intro=Está página mostra todos os chats
time.locale=pt_BR
topMenu.admin=Administração topMenu.admin=Administração
topMenu.logoff=Sair topMenu.logoff=Sair
topMenu.users=Visitantes topMenu.users=Visitantes

View File

@ -423,6 +423,7 @@ tag.pagination.previous=
thread.back_to_search=Перейти в поиск thread.back_to_search=Перейти в поиск
thread.chat_log=Протокол разговора thread.chat_log=Протокол разговора
thread.intro=На данной странице Вы можете просмотреть диалог. thread.intro=На данной странице Вы можете просмотреть диалог.
time.locale=ru_RU
topMenu.admin=Операторское меню topMenu.admin=Операторское меню
topMenu.logoff=Выход topMenu.logoff=Выход
topMenu.main=Главная topMenu.main=Главная

View File

@ -416,6 +416,7 @@ tag.pagination.previous=anterior
thread.back_to_search=Buscar thread.back_to_search=Buscar
thread.chat_log=conversación log thread.chat_log=conversación log
thread.intro=La pagina muestra la conversación thread.intro=La pagina muestra la conversación
time.locale=es_ES
topMenu.admin=Administración topMenu.admin=Administración
topMenu.logoff=Salir topMenu.logoff=Salir
topMenu.main=Inicio topMenu.main=Inicio

View File

@ -267,6 +267,7 @@ tag.pagination.no_items=
thread.back_to_search=Arama yap thread.back_to_search=Arama yap
thread.chat_log=Ýleti Geçmiþi thread.chat_log=Ýleti Geçmiþi
thread.intro=Görüþme Alaný thread.intro=Görüþme Alaný
time.locale=tr_TR
topMenu.admin=Yöentim Paneli topMenu.admin=Yöentim Paneli
topMenu.logoff=Çýkýþ topMenu.logoff=Çýkýþ
topMenu.users=Müþteriler topMenu.users=Müþteriler

View File

@ -178,6 +178,7 @@ tag.pagination.no_items=ͳ
thread.back_to_search=Ïåðåéòè â ïîøóê thread.back_to_search=Ïåðåéòè â ïîøóê
thread.chat_log=Ïðîòîêîë ðàçìîâè thread.chat_log=Ïðîòîêîë ðàçìîâè
thread.intro=Íà ö³é ñòîð³íö³ Âè ìîæåòå ïîäèâèòèñü ä³àëîã. thread.intro=Íà ö³é ñòîð³íö³ Âè ìîæåòå ïîäèâèòèñü ä³àëîã.
time.locale=uk_UA
topMenu.admin=Îïåðàòîðñüêå ìåíþ topMenu.admin=Îïåðàòîðñüêå ìåíþ
topMenu.logoff=Âèõ³ä topMenu.logoff=Âèõ³ä
topMenu.users=³äâ³äóâà÷³ topMenu.users=³äâ³äóâà÷³

View File

@ -298,6 +298,7 @@ tag.pagination.no_items=找到 0 个
thread.back_to_search=搜寻 thread.back_to_search=搜寻
thread.chat_log=对谈纪录 thread.chat_log=对谈纪录
thread.intro=显示对谈页面 thread.intro=显示对谈页面
time.locale=zh_CN
topMenu.admin=管理员 topMenu.admin=管理员
topMenu.logoff=离开 topMenu.logoff=离开
topMenu.users=客服上线 topMenu.users=客服上线

View File

@ -372,6 +372,7 @@ tag.pagination.previous=上一個
thread.back_to_search=搜尋 thread.back_to_search=搜尋
thread.chat_log=對談紀錄 thread.chat_log=對談紀錄
thread.intro=顯示對談頁面 thread.intro=顯示對談頁面
time.locale=zh_TW
topMenu.admin=管理員 topMenu.admin=管理員
topMenu.logoff=離開 topMenu.logoff=離開
topMenu.main=首頁 topMenu.main=首頁

View File

@ -21,6 +21,8 @@ $operator = check_login();
$page = array(); $page = array();
$errors = array(); $errors = array();
setlocale(LC_TIME, getstring("time.locale"));
$link = connect(); $link = connect();
if( isset($_GET['act']) && $_GET['act'] == 'del' ) { if( isset($_GET['act']) && $_GET['act'] == 'del' ) {

View File

@ -21,6 +21,8 @@ require_once('../libs/pagination.php');
$operator = check_login(); $operator = check_login();
loadsettings(); loadsettings();
setlocale(LC_TIME, getstring("time.locale"));
$page = array(); $page = array();
$query = isset($_GET['q']) ? myiconv(getoutputenc(), $webim_encoding, $_GET['q']) : false; $query = isset($_GET['q']) ? myiconv(getoutputenc(), $webim_encoding, $_GET['q']) : false;

View File

@ -18,6 +18,8 @@ require_once('../libs/operator.php');
$operator = check_login(); $operator = check_login();
setlocale(LC_TIME, getstring("time.locale"));
$page = array(); $page = array();
$page['operator'] = topage(get_operator_name($operator)); $page['operator'] = topage(get_operator_name($operator));
$page['availableDays'] = range(1,31); $page['availableDays'] = range(1,31);

View File

@ -21,6 +21,8 @@ $operator = check_login();
$page = array(); $page = array();
setlocale(LC_TIME, getstring("time.locale"));
function thread_info($id) { function thread_info($id) {
$link = connect(); $link = connect();
$thread = select_one_row("select userName,agentName,remote,userAgent,". $thread = select_one_row("select userName,agentName,remote,userAgent,".

View File

@ -23,6 +23,8 @@ loadsettings();
$page = array(); $page = array();
setlocale(LC_TIME, getstring("time.locale"));
$userid = ""; $userid = "";
if( isset($_GET['userid'])) { if( isset($_GET['userid'])) {
$userid = verifyparam( "userid", "/^.{0,63}$/", ""); $userid = verifyparam( "userid", "/^.{0,63}$/", "");