r106610 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106609‎ | r106610 | r106611 >
Date:23:01, 18 December 2011
Author:yaron
Status:ok
Tags:
Comment:
Replaced hardcoded colon in display with 'colon-separator' message
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Utils.php
@@ -441,7 +441,7 @@
442442 foreach ( $form_names as $form_name ) {
443443 $select_body .= "\t" . Xml::element( 'option', null, $form_name ) . "\n";
444444 }
445 - return "\t$form_label:" . Xml::tags( 'select', array( 'name' => 'form' ), $select_body ) . "\n";
 445+ return "\t$form_label" . wfMsg( 'colon-separator' ) . Xml::tags( 'select', array( 'name' => 'form' ), $select_body ) . "\n";
446446 }
447447
448448 /**

Status & tagging log