Talk:Toolserver:~purodha/dbswithuser.php

From mediawiki.org

This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.

add a language[edit]

Chinese Simplified:

	case 'zh' :
	case 'zh-hans' :
		{
			$dir = ('ltr');
			$iut['ttl'] = ('维基侦探');
			$iut['inp'] = ('请输入:');
			$iut['usr'] = ('用户名');
			$iut['lan'] = ('界面语言(Language)');
			$iut['gob'] = ('确认');
			$iut['sel'] = ('已选择:');
			$iut['num'] = ('序号');
			$iut['wdb'] = ('维基');
			$iut['url'] = ('维基首页');
			$iut['usp'] = ('用户页');
			$iut['uid'] = ('用户编号');
			$iut['usi'] = ('用户注册日期');
			$iut['ugr'] = ('用户类别');
			$iut['uec'] = ('用户编辑次数');
			$iut['src'] = ('程序源代码');
			$itt['src'] = ($iut['src']);
			$iut['bug'] = ('报告缺陷(Bug)');
			$itt['bug'] = ($iut['bug']);
			$iut['uhp'] = ('作者主页');
			$itt['uhp'] = ($iut['uhp']);
			$iut['thp'] = ('工具服务器主页'); 
			$itt['thp'] = ($iut['thp']);
			$iut['spo'] = ('赞助商');
			$itt['spo'] = ('Wikimedia(维基媒体) Deutschland Gesellschaft zur Förderung Freien Wissens e.V.');
			break;
		}
				<select name="uselang">
					<option value="de"'.(html_a_selected($lang=='de')).'> Deutsch </option>
					<option value="en"'.(html_a_selected($lang=='en')).'> English </option>
					<option value="fr"'.(html_a_selected($lang=='fr')).'> Français </option>
					<option value="ksh"'.(html_a_selected($lang=='ksh')).'> Kölsch </option>
					<option value="zxx"'.(html_a_selected($lang=='zxx')).'> zxx </option>
					<option value="zh"'.(html_a_selected($lang=='zh')).'> 简体中文 </option>
				</select>