localize several strings

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@412 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2009-03-16 01:34:33 +00:00
parent 5a82434450
commit e1eb49e76f
4 changed files with 8 additions and 3 deletions

View File

@ -79,7 +79,7 @@ function generate_pagination($pagination,$bottom=true) {
$maxPage = min( $curr_page + $links_on_page, $pagination['total'] );
if( $curr_page > 1 ) {
$result .= generate_pagination_link($curr_page-1, generate_pagination_image("prevpage", "previous")).$pagination_spacing;
$result .= generate_pagination_link($curr_page-1, generate_pagination_image("prevpage", getlocal("tag.pagination.previous"))).$pagination_spacing;
}
for($i = $minPage; $i <= $maxPage; $i++ ) {
@ -93,7 +93,7 @@ function generate_pagination($pagination,$bottom=true) {
}
if( $curr_page < $pagination['total'] ) {
$result .= $pagination_spacing.generate_pagination_link($curr_page+1, generate_pagination_image("nextpage", "next"));
$result .= $pagination_spacing.generate_pagination_link($curr_page+1, generate_pagination_image("nextpage", getlocal("tag.pagination.next")));
}
$result.="</div>";
}

View File

@ -16,6 +16,7 @@ button.search=Search
chat.came.from=Vistor came from page {0}
chat.client.changename=Change name
chat.client.name=You are
chat.client.spam.prefix=[spam]&nbsp;
chat.default.username=Visitor
chat.error_page.close=Close...
chat.error_page.head=Error occurred:
@ -310,8 +311,10 @@ settings.wrong.email=Enter proper email address
site.title=openwebim.org
site.url=http://openwebim.org
tag.pagination.info=Page {0} of {1}, {2}-{3} from {4}
tag.pagination.next=next
tag.pagination.no_items.elements=No elements
tag.pagination.no_items=Found 0 elements
tag.pagination.previous=previous
thread.back_to_search=Go to search
thread.chat_log=Chat log
thread.intro=The page displays chat

View File

@ -308,8 +308,10 @@ settings.wrong.email=
site.title=openwebim.org
site.url=http://openwebim.org
tag.pagination.info=Страница {0} из {1}, показаны {2}-{3} из {4}
tag.pagination.next=ñëåäóþùàÿ
tag.pagination.no_items.elements=Нет элементов для отображения.
tag.pagination.no_items=Ничего не найдено
tag.pagination.previous=ïðåäûäóùàÿ
thread.back_to_search=Перейти в поиск
thread.chat_log=Протокол разговора
thread.intro=На данной странице Вы можете просмотреть диалог.

View File

@ -73,7 +73,7 @@ function thread_to_xml($thread,$link) {
$result .= " state=\"$state\" typing=\"".$thread['userTyping']."\">";
$result .="<name>";
if($banForThread) {
$result .= htmlspecialchars("[spam]&nbsp;");
$result .= htmlspecialchars(getstring('chat.client.spam.prefix'));
}
$result .= htmlspecialchars(htmlspecialchars(get_user_name($thread['userName'],$thread['remote'], $thread['userid'])))."</name>";
$result .= "<addr>".htmlspecialchars(get_user_addr($thread['remote']))."</addr>";