From: Jens Frank Date: Tue, 28 Dec 2004 23:59:43 +0000 (+0000) Subject: BUG#1213 - i18n for Title: and User: labels X-Git-Tag: 1.5.0alpha1~1015 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=5b7d2e0d366b219ce32a68b1fa8f8b84cf21bba6;p=lhc%2Fweb%2Fwiklou.git BUG#1213 - i18n for Title: and User: labels --- diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index 6d6dbbb3f2..5eb8711c5d 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -318,7 +318,7 @@ class LogViewer { */ function getUserInput() { $user = htmlspecialchars( $this->reader->queryUser() ); - return "User: \n"; + return wfMsg('specialloguserlabel') . "\n"; } /** @@ -327,7 +327,7 @@ class LogViewer { */ function getTitleInput() { $title = htmlspecialchars( $this->reader->queryTitle() ); - return "Title: \n"; + return wfMsg('speciallogtitlelabel') . "\n"; } /** diff --git a/languages/Language.php b/languages/Language.php index b31031e18d..51383ab8eb 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1751,6 +1751,10 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\'); 'variantname-zh-sg' => 'sg', 'variantname-zh' => 'zh', +# labels for User: and Title: on Special:Log pages +'specialloguserlabel' => 'User: ', +'speciallogtitlelabel' => 'Title: ', + ); #-------------------------------------------------------------------------- diff --git a/languages/LanguageDe.php b/languages/LanguageDe.php index f1eb8b08d3..d8a93b29d5 100644 --- a/languages/LanguageDe.php +++ b/languages/LanguageDe.php @@ -1184,7 +1184,9 @@ Diskussions-Seite nicht, da schon eine mit dem neuen Titel existiert. Bitte glei 'mw_math_source' =>"Als TeX belassen (für Textbrowser)", 'mw_math_modern' => "Empfehlenswert für moderne Browser", 'mw_math_mathml' => 'MathML (experimentell)', - +# labels for User: and Title: on Special:Log pages +'specialloguserlabel' => 'Benutzer: ', +'speciallogtitlelabel' => 'Titel: ', );