Bug 2753 Some namespaces are not translated in LanguageTa.php (Tamil)
[lhc/web/wiklou.git] / languages / LanguageJa.php
index 916b9af..1dc06a7 100644 (file)
@@ -1,14 +1,11 @@
 <?php
+/**
+  * @package MediaWiki
+  * @subpackage Language
+  */
 global $IP;
 require_once( "LanguageUtf8.php" );
 
-# The names of the namespaces can be set here, but the numbers
-# are magical, so don't change or move them!  The Namespace class
-# encapsulates some of the magic-ness.
-# 名前空間の名前はここで設定できますが、番号は特別なので、
-# 変更したり移動したりしないでね! 名前空間クラスは特殊性を幾らか
-# 隠匿します。
-#
 /* private */ $wgNamespaceNamesJa = array(
        NS_MEDIA          => "Media", /* Media */
        NS_SPECIAL        => "特別", /* Special */
@@ -16,8 +13,8 @@ require_once( "LanguageUtf8.php" );
        NS_TALK           => "ノート", /* Talk */
        NS_USER           => "利用者", /* User */
        NS_USER_TALK      => "利用者‐会話", /* User_talk */
-       NS_WIKIPEDIA      => $wgMetaNamespace, /* Wikipedia */
-       NS_WIKIPEDIA_TALK => "{$wgMetaNamespace}‐ノート", /* Wikipedia_talk */
+       NS_PROJECT        => $wgMetaNamespace, /* Wikipedia */
+       NS_PROJECT_TALK   => "{$wgMetaNamespace}‐ノート", /* Wikipedia_talk */
        NS_IMAGE          => "画像", /* Image */
        NS_IMAGE_TALK     => "画像‐ノート", /* Image_talk */
        NS_MEDIAWIKI      => "MediaWiki", /* MediaWiki */
@@ -38,13 +35,7 @@ require_once( "LanguageUtf8.php" );
        'standard' => "標準",
        'nostalgia' => "ノスタルジア",
        'cologneblue' => "ケルンブルー",
-       'smarty' => "Paddington",
-       'montparnasse' => "Montparnasse",
-       'davinci' => "DaVinci",
-       'mono' => "Mono",
-       'monobook' => "MonoBook",
-       'myskin' => "MySkin"
-);
+) + $wgSkinNamesEn;
 
 
 
@@ -53,65 +44,10 @@ require_once( "LanguageUtf8.php" );
 );
 
 
-# All special pages have to be listed here: a description of ""
-# will make them not show up on the "Special Pages" page, which
-# is the right thing for some of them (such as the "targeted" ones).
-# 全ての特殊頁はここに列挙しないといけません。
-# "" (空文字列) という説明にすると「特殊頁」頁に掲載しません。
-# これは幾つか (「targeted」とか) に対しては適当なことです。
-
-/* private */ $wgValidSpecialPagesJa = array(
-       "Userlogin"             => "",
-       "Userlogout"    => "",
-       "Preferences"   => "ユーザー設定を保存",
-       "Watchlist"             => "ウォッチリスト",
-       "Recentchanges" => "最近更新したページ",
-       "Upload"                => "画像をアップロードする",
-       "Imagelist"             => "画像リスト",
-       "Listusers"             => "登録済みユーザー",
-       "Statistics"    => "サイトの統計",
-       "Randompage"    => "ランダム記事",
-
-       "Lonelypages"   => "孤立したページ",
-       "Unusedimages"  => "孤立した画像",
-       "Popularpages"  => "人気の記事",
-       "Wantedpages"   => "執筆が待望されている記事",
-       "Shortpages"    => "短い記事",
-       "Longpages"             => "長い記事",
-       "Newpages"              => "新しく登場した記事",
-       "Ancientpages"  => "Oldest articles",
-       "Allpages"              => "タイトル別全ページ",
-
-       "Ipblocklist"   => "ブロックされたIPアドレス",
-       "Maintenance" => "管理ページ",
-       "Specialpages"  => "",
-       "Contributions" => "",
-       "Emailuser"             => "",
-       "Whatlinkshere" => "",
-       "Recentchangeslinked" => "",
-       "Movepage"              => "",
-       "Booksources"   => "外部の参考文献",
-       "Export"        => "XML export",
-       "Version"       => "Version",
-);
-
-/* private */ $wgSysopSpecialPagesJa = array(
-       "Blockip"               => "IPアドレスをブロック",
-       "Asksql"                => "データベースに問い合わせ",
-       "Undelete"              => "消去されたページを閲覧し、復帰させる"
-);
-
-/* private */ $wgDeveloperSpecialPagesJa = array(
-       "Lockdb"                => "データベースを読み出し専用にする",
-       "Unlockdb"              => "データベースを書き込み可能にする",
-);
 
 /* private */ $wgAllMessagesJa = array(
-'special_version_prefix' => '',
-'special_version_postfix' => '',
 # User Toggles
 
-"tog-hover" => "ウィキリンクにツールチップを表示する",
 "tog-underline" => "リンクにアンダーラインをつける",
 "tog-highlightbroken" => "未作成のページへのリンクをハイライトする",
 "tog-justify" => "段落を均等割り付けする",
@@ -171,7 +107,6 @@ require_once( "LanguageUtf8.php" );
 "aboutpage"            => "{{ns:4}}:About",
 "help"                 => "ヘルプ",
 "helppage"             => "{{ns:4}}:Help",
-"wikititlesuffix" => "{{ns:4}}",
 "bugreports"   => "バグの報告",
 "bugreportspage" => "{{ns:4}}:バグの報告",
 "faq"                  => "FAQ",
@@ -206,7 +141,7 @@ require_once( "LanguageUtf8.php" );
 "redirectedfrom" => "($1 から転送)",
 "lastmodified" => "最終更新 $1。",
 "viewcount"            => "このページは $1 回アクセスされました。",
-"printsubtitle" => "(From http://www.wikipedia.org)",
+"printsubtitle" => "(From {{SERVER}})",
 "protectedpage" => "保護されたページ",
 "administrators" => "{{ns:4}}:Administrators",
 "sysoptitle"   => "シスオペによるアクセスが必要",
@@ -287,8 +222,8 @@ again as the same or as a different user.\n",
 "yourpasswordagain" => "パスワード再入力",
 "newusersonly" => " (新規ユーザのみ)",
 "remembermypassword" => "セッションをまたがってパスワードを保持する。",
-"loginproblem" => "<b>ログインでエラーが発生しました。</b><br>再度実行してください。",
-"alreadyloggedin" => "<font color=red><b>ユーザ $1 は、すでにログイン済みです。</b></font><br>\n",
+"loginproblem" => "<b>ログインでエラーが発生しました。</b><br />再度実行してください。",
+"alreadyloggedin" => "<strong>ユーザ $1 は、すでにログイン済みです。</strong><br />\n",
 
 "login"                        => "ログイン",
 "userlogin"            => "ログイン",
@@ -324,7 +259,7 @@ again as the same or as a different user.\n",
 "showpreview"  => "プレビューを実行",
 "blockedtitle" => "ユーザはブロックされています。",
 "blockedtext"  => "あなたのユーザ名またはIPアドレスは $1 によってブロックされています。
-その理由は次の通りです。:<br>$2<p>詳細は管理者にお問い合わせください。",
+その理由は次の通りです。:<br />$2<p>詳細は管理者にお問い合わせください。",
 "newarticle"   => "(新規)",
 "newarticletext" => "新しい記事を書き込んでください。",
 "noarticletext" => "(このページには現在記事がありません。)",
@@ -343,7 +278,7 @@ text editing area as it will appear if you choose to save." */,
 あなたの加える変更の内容は下の文章エリアに示されています。
 変更内容を、上の文章エリアの内容に組み込んで下さい。
 <b>上の文章エリアの内容だけ</b>が、\"Save page\"をクリックした時に
-保存されることになります。\n<p>"
+保存されることになります。<br />"
 /* Someone else has changed this page since you
 started editing it.
 The upper text area contains the page text as it currently exists.
@@ -397,7 +332,6 @@ Please check the URL you used to access this page.\n",
 # 検索結果(Search results)
 #
 "searchresults" => "検索結果" /* "Search results" */,
-"searchingwikipedia" => "{{SITENAME}} を検索中" /* "Searching Wikipedia" */,
 "searchresulttext" => "{{SITENAME}} の検索についての詳しい情報は、 $1 をご覧下さい。"
   /* "For more information about searching Wikipedia, see $1." */ ,
 "searchquery"  => "問い合わせ \"$1\" について、" /* "For query \"$1\"" */,
@@ -434,9 +368,9 @@ containing all of the search terms will appear in the result)." */,
 "preferences"  => "オプション" /* "Preferences" */,
 "prefsnologin" => "ログインしていません" /* "Not logged in" */,
 "prefsnologintext"     =>  "ユーザーオプションを変更するためには、
-<a href=\"{{localurle:Special:Userlogin}}\">ログイン</a>している必要があります。"
+[[Special:Userlogin|ログイン]]している必要があります。"
 /* "You must be <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+  "{{localurle:Special:Userlogin}}\">logged in</a>
 to set user preferences." */,
 "prefsreset"   => "ユーザー設定は初期化されました。" /* "Preferences have been reset from storage." */,
 "qbsettings"   => "クイックバー設定" /* "Quickbar settings" */,
@@ -513,11 +447,10 @@ See also the [http://meta.wikipedia.org/wiki/Special:Recentchanges recent meta d
 "reuploaddesc" => "アップロードのフォームへ戻る Return to the upload form.",
 "uploadnologin" => "ログインしていません、 Not logged in",
 "uploadnologintext"    => "ユーザーオプションを変更するためには、
-<a href=\"{{localurle:Special:Userlogin}}\">ログイン</a>している必要があります。
+[[Special:Userlogin|ログイン]]している必要があります。
 
-You must be <a href=\"{{localurle:Special:Userlogin}}\">logged in</a>
+You must be [[Special:Userlogin|logged in]]
 to upload files.",
-"uploadfile"   => "ファイルのアップロード  Upload file",
 "uploaderror"  => "アップロード エラー  Upload error",
 "uploadtext"   => "'''ご注意!'''
 ここにファイルをアップロードする前に、ウィキペディアの[[Project:画像利用の方針|画像利用の方針]]を
@@ -555,12 +488,12 @@ to upload files.",
 
 /* <strong>STOP!</strong> Before you upload here,
 make sure to read and follow Wikipedia's <a href=\"" .
-wfLocalUrlE( "Wikipedia:Image_use_policy" ) . "\">image use policy</a>.
+"{{localurle:Wikipedia:Image_use_policy}}\">image use policy</a>.
 <p>To view or search previously uploaded images,
-go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
+go to the <a href=\"" . "{{localurle:Special:Imagelist}}" .
 "\">list of uploaded images</a>.
 Uploads and deletions are logged on the <a href=\"" .
-wfLocalUrlE( "Wikipedia:Upload_log" ) . "\">upload log</a>.
+"{{localurle:Wikipedia:Upload_log}}\">upload log</a>.
 <p>Use the form below to upload new image files for use in
 illustrating your articles.
 On most browsers, you will see a \"Browse...\" button, which will
@@ -593,19 +526,10 @@ All times shown are server time (UTC). */,
 
 "filename"             => "ファイル名",
 "filedesc"             => "ファイルの概要",
-"affirmation"  => "このファイルの著作権者は$1のライセンスに基づく
-使用を許可したことをここに表明します。
-
-I affirm that the copyright holder of this file
-agrees to license it under the terms of the $1.",
 "copyrightpage" => "{{ns:4}}:Copyrights",
 
 "copyrightpagename" => "ウィキペディアの著作権",
 "uploadedfiles"        => "アップロードされたファイル",
-"noaffirmation" => "あなたのアップロードが著作権の侵害にあたらない旨を
-表明して下さい。"
-/* "You must affirm that your upload does not violate
-any copyrights." */,
 "ignorewarning"        => "警告を無視し、保存してしまう" /* "Ignore warning and save file anyway." */,
 "minlength"            => "ファイル名は3文字以上である必要があります。" /* "Image names must be at least three letters." */,
 "badfilename"  => "ファイル名は\"$1\"へ変更されました。" /* "Image name has been changed to \"$1\"." */,
@@ -625,17 +549,15 @@ created and by whom, and anything else you may know about it." */,
 
 "uploadwarning" => "アップロード 警告" /* "Upload warning" */,
 "savefile"             => "ファイルを保存" /* "Save file" */,
-"uploadedimage" => "\"$1\"をアップロードしました。" /* "uploaded \"$1\"" */,
+"uploadedimage" => "\"[[$1]]\"をアップロードしました。" /* "uploaded \"$1\"" */,
 
 # Image list
 #
 "imagelist"            => "画像リスト",
 "imagelisttext"                => "$1枚の画像を$2に表示しています",
 "getimagelist"         => "画像リストを取得",
-"ilshowmatch"           => "マッチする名前の画像を全て表示",
 "ilsubmit"             => "検索",
 "showlast"             => "$2に$1枚の画像を表示",
-"all"                  => "全て",
 "byname"               => "名前順",
 "bydate"               => "日付順",
 "bysize"               => "サイズ順",
@@ -646,7 +568,7 @@ created and by whom, and anything else you may know about it." */,
 "revertimg"            => "差戻",
 "deleteimg"            => "削除",
 "deleteimgcompletely"          => "削除",
-"imghistlegend"         => "凡例: (最新)=最新版の画像, (削除)=この版の画像を削除, (差戻)=この版の画像に差し戻す<br><b>アップロードされた画像を見るには日付をクリックします。</b>",
+"imghistlegend"         => "凡例: (最新)=最新版の画像, (削除)=この版の画像を削除, (差戻)=この版の画像に差し戻す<br /><b>アップロードされた画像を見るには日付をクリックします。</b>",
 "imagelinks"           => "リンク",
 "linkstoimage"         => "この画像にリンクしているページの一覧:",
 "nolinkstoimage"        => "この画像にリンクしているページはありません。",
@@ -679,8 +601,6 @@ created and by whom, and anything else you may know about it." */,
 "listusers"            => "登録ユーザー一覧",
 "specialpages"         => "特別ページ",
 "spheading"            => "特別ページ",
-"sysopspheading"        => "シスオペ用特別ページ (pages for sysop)",
-"developerspheading"    => "開発者用特別ページ (pages for developper)",
 "protectpage"          => "Protect page",
 "recentchangeslinked"   => "リンクを見張る",
 "rclsub"               => "(to pages linked from \"$1\")",
@@ -698,13 +618,13 @@ created and by whom, and anything else you may know about it." */,
 #
 "mailnologin"  => "送信先のアドレスがありません。" /* No send address"*/,
 "mailnologintext" => "ログインしていません。メールを送信するためには、
-あなたの電子メールアドレスを<a href=\"{{localurle:Special:Userlogin}}\">ユーザーオプション</a>
+あなたの電子メールアドレスを[[Special:Userlogin|ユーザーオプション]]
 で指定し、
-<a href=\"{{localurle:Special:Userlogin\">ログイン</a>している必要があります。"
+[[Special:Userlogin|ログイン]]している必要があります。"
 /* You must be <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+  "{{localurle:Special:Userlogin}}\">logged in</a>
 and have a valid e-mail address in your <a href=\"" .
-  wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
+  "{{localurle:Special:Preferences}}\">preferences</a>
 to send e-mail to other users." */,
 "emailuser"            => "このユーザーにメールを送る" /* "E-mail this user" */,
 "emailpage"            => "メール送信ページ" /* "E-mail user" */,
@@ -737,9 +657,9 @@ or has chosen not to receive e-mail from other users." */,
 "nowatchlist"  => "あなたのウォッチリストは空です。" /* "You have no items on your watchlist." */,
 "watchnologin" => "ログインしていません" /* "Not logged in" */,
 "watchnologintext"     => "ウォッチリストを変更するためには、
-<a href=\"{{localurle:Special:Userlogin}}\">ログイン</a>している必要があります。"
+[[Special:Userlogin|ログイン]]している必要があります。"
 /* "You must be <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+  "{{localurle:Special:Userlogin}}\">logged in</a>
 to modify your watchlist." */,
 "addedwatch"   => "ウォッチリストに加えました" /* "Added to watchlist" */,
 "addedwatchtext" => "ページ\"$1\" をあなたの
@@ -755,10 +675,10 @@ to modify your watchlist." */,
 \"ウォッチリストから削除\" のリンクをクリックして下さい。",
 
 /* The page \"$1\" has been added to your <a href=\"" .
-  wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
+  "{{localurle:Special:Watchlist}}\">watchlist</a>.
 Future changes to this page and its associated Talk page will be listed there,
 and the page will appear <b>bolded</b> in the <a href=\"" .
-  wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
+  "{{localurle:Special:Recentchanges}}\">list of recent changes</a> to
 make it easier to pick out.</p>
 
 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar." */
@@ -785,7 +705,6 @@ or image along with all of its history from the database.
 Please confirm that you intend to do this, that you understand the
 consequences, and that you are doing this in accordance with
 [[{{ns:4}}:Policy]].",
-"confirmcheck" => "はい。上記の通りです。 Yes, I really want to delete this.",
 "actioncomplete" => "削除を完了しました。 Action complete",
 "deletedtext"  => "\"$1\" は削除されました。 \"$1\" has been deleted.
 最近の削除に関しては$2 を参照して下さい。
@@ -839,17 +758,16 @@ pages that were vandalized).",
 "ipbreason"            => "Reason",
 "ipbsubmit"            => "Block this address",
 "badipaddress" => "The IP address is badly formed.",
-"noblockreason" => "You must supply a reason for the block.",
 "blockipsuccesssub" => "Block succeeded",
 "blockipsuccesstext" => "The IP address \"$1\" has been blocked.
-<br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
+<br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
 "unblockip"            => "Unblock IP address",
 "unblockiptext"        => "Use the form below to restore write access
 to a previously blocked IP address.",
 "ipusubmit"            => "Unblock this address",
 "ipusuccess"   => "IP address \"$1\" unblocked",
 "ipblocklist"  => "List of blocked IP addresses",
-"blocklistline"        => "$1, $2 blocked $3",
+"blocklistline"        => "$1, $2 blocked $3 ($4)",
 "blocklink"            => "block",
 "unblocklink"  => "unblock",
 "contribslink" => "contribs",
@@ -875,23 +793,9 @@ Please confirm that this is what you intend to do.",
 "lockdbsuccesssub" => "Database lock succeeded",
 "unlockdbsuccesssub" => "Database lock removed",
 "lockdbsuccesstext" => "The {{SITENAME}} database has been locked.
-<br>Remember to remove the lock after your maintenance is complete.",
+<br />Remember to remove the lock after your maintenance is complete.",
 "unlockdbsuccesstext" => "The {{SITENAME}} database has been unlocked.",
 
-# SQL query     (この部分は管理者用なので当面英文を残しておきます。)
-#
-"asksql"               => "SQL query",
-"asksqltext"   => "Use the form below to make a direct query of the
-{{SITENAME}} database.
-Use single quotes ('like this') to delimit string literals.
-This can often add considerable load to the server, so please use
-this function sparingly.",
-"sqlquery"             => "Enter query",
-"querybtn"             => "Submit query",
-"selectonly"   => "Queries other than \"SELECT\" are restricted to
-{{SITENAME}} developers.",
-"querysuccessful" => "Query successful",
-
 # Move page ページの移動
 #
 "movepage"             => "ページの移動",
@@ -916,7 +820,7 @@ proceeding." */,
 "movearticle"  => "ページの移動",
 "movenologin"  => "ログインしていません",
 "movenologintext" => "この機能を利用するためには、ユーザー登録をして、
-<a href=\"{{localurle:Special:Userlogin}}\">ログイン</a>している必要が
+[[Special:Userlogin|ログイン]]している必要が
 あります。",
 "newtitle"             => "新しいページへ" /* "To new title" */,
 "movepagebtn"  => "ページを移動" /* "Move page" */,
@@ -932,12 +836,12 @@ Please choose another name." */,
 
 # Math
 
-       'mw_math_png' => "常にPNG",
-       'mw_math_simple' => "シンプルな数式はHTML、それ以外はPNG",
-       'mw_math_html' => "できる限りHTML、さもなければPNG",
-       'mw_math_source' => "TeXのままにする (テキストブラウザ向け)",
-        'mw_math_modern' => "可能ならばMathMLを使う (実験中の機能)",
-       'mw_math_mathml' => 'MathML',
+'mw_math_png' => "常にPNG",
+'mw_math_simple' => "シンプルな数式はHTML、それ以外はPNG",
+'mw_math_html' => "できる限りHTML、さもなければPNG",
+'mw_math_source' => "TeXのままにする (テキストブラウザ向け)",
+'mw_math_modern' => "可能ならばMathMLを使う (実験中の機能)",
+'mw_math_mathml' => 'MathML',
 
 );
 
@@ -948,20 +852,6 @@ class LanguageJa extends LanguageUtf8 {
                return $wgNamespaceNamesJa;
        }
 
-       function getNsText( $index ) {
-               global $wgNamespaceNamesJa;
-               return $wgNamespaceNamesJa[$index];
-       }
-
-       function getNsIndex( $text ) {
-               global $wgNamespaceNamesJa;
-
-               foreach ( $wgNamespaceNamesJa as $i => $n ) {
-                       if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
-               }
-               return false;
-       }
-
        function getQuickbarSettings() {
                global $wgQuickbarSettingsJa;
                return $wgQuickbarSettingsJa;
@@ -972,12 +862,13 @@ class LanguageJa extends LanguageUtf8 {
                return $wgSkinNamesJa;
        }
 
-       # Inherit default userAdjust()
+       function getDateFormats() {
+               return false;
+       }
 
-       function date( $ts, $adj = false )
-       {
+       function date( $ts, $adj = false, $format = false, $tc = false ) {
                global $wgWeekdayAbbreviationsJa;
-               if ( $adj ) { $ts = $this->userAdjust( $ts ); }
+               if ( $adj ) { $ts = $this->userAdjust( $ts, $tc ); }
 
                $x = getdate(mktime(( (int)substr( $ts, 8, 2) ),
                        (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
@@ -990,46 +881,23 @@ class LanguageJa extends LanguageUtf8 {
                return $d;
        }
 
-       function time( $ts, $adj = false )
-       {
-               if ( $adj ) { $ts = $this->userAdjust( $ts ); }
+       function time( $ts, $adj = false, $format = false, $tc = false ) {
+               if ( $adj ) { $ts = $this->userAdjust( $ts, $tc ); }
 
                $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
                return $t;
        }
 
-       function timeanddate( $ts, $adj = false )
-       {
-               return $this->date( $ts, $adj ) . " " . $this->time( $ts, $adj );
-       }
-
-       # Inherit default rfc1123()
-
-       function getValidSpecialPages()
-       {
-               global $wgValidSpecialPagesJa;
-               return $wgValidSpecialPagesJa;
-       }
-
-       function getSysopSpecialPages()
-       {
-               global $wgSysopSpecialPagesJa;
-               return $wgSysopSpecialPagesJa;
-       }
-
-       function getDeveloperSpecialPages()
-       {
-               global $wgDeveloperSpecialPagesJa;
-               return $wgDeveloperSpecialPagesJa;
+       function timeanddate( $ts, $adj = false, $format = false, $tc = false ) {
+               return $this->date( $ts, $adj, $format, $tc ) . " " . $this->time( $ts, $adj, $format, $tc );
        }
 
-       function getMessage( $key )
-       {
+       function getMessage( $key ) {
                global $wgAllMessagesJa;
                if(array_key_exists($key, $wgAllMessagesJa))
                        return $wgAllMessagesJa[$key];
                else
-                       return Language::getMessage($key);
+                       return parent::getMessage($key);
        }
 
        function stripForSearch( $string ) {
@@ -1061,8 +929,7 @@ class LanguageJa extends LanguageUtf8 {
 
        # Italic is not appropriate for Japanese script
        # Unfortunately most browsers do not recognise this, and render <em> as italic
-       function emphasize( $text )
-       {
+       function emphasize( $text ) {
                return $text;
        }
 }