From: Gabriel Wicke Date: Fri, 9 Apr 2004 19:22:51 +0000 (+0000) Subject: access keys and tooltips use wfMsg now X-Git-Tag: 1.3.0beta1~501 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=e33c9a2fbebbd1a3ee753cf41c2ac6c57419e35f;p=lhc%2Fweb%2Fwiklou.git access keys and tooltips use wfMsg now --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 41c634db15..d66e8f726c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -299,16 +299,16 @@ class EditPage { if ( 0 != $wgUser->getID() || $wgAllowAnonymousMinor ) { $minoredithtml = "minoredit?" checked='checked'":""). - " accesskey='i' id='wpMinoredit' />". - ""; + " accesskey='".wfMsg('accesskey-minoredit')."' id='wpMinoredit' />". + ""; } $watchhtml = ""; if ( 0 != $wgUser->getID() ) { $watchhtml = "watchthis?" checked='checked'":""). - " accesskey='w' id='wpWatchthis' />". - ""; + " accesskey='".wfMsg('accesskey-watch')."' id='wpWatchthis' />". + ""; } $checkboxhtml = $minoredithtml . $watchhtml . "
"; @@ -364,8 +364,10 @@ htmlspecialchars( $wgLang->recodeForEdit( $this->textbox1 ) ) .
{$editsummary} {$checkboxhtml} - - + + {$cancel} | {$edithelp}

{$copywarn} section ) . "\" name=\"wpSection\" />