r50958 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50957‎ | r50958 | r50959 >
Date:12:42, 24 May 2009
Author:minuteelectron
Status:deferred
Tags:
Comment:
* Modified version of the OpenLayers header to support language codes with a hyphen.
Modified paths:
  • /trunk/extensions/Translate/ffs/OpenLayers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/OpenLayers.php
@@ -97,7 +97,7 @@
9898 * license. See http://svn.openlayers.org/trunk/openlayers/license.txt for the
9999 * full text of the license. */
100100
101 -/* Translators (post 2008):
 101+/* Translators (2009 onwards):
102102 $authorList */
103103
104104 /**
@@ -110,7 +110,7 @@
111111 * <OpenLayers.Lang.translate>. Entry bodies are normal strings or
112112 * strings formatted for use with <OpenLayers.String.format> calls.
113113 */
114 -OpenLayers.Lang.$code = {
 114+OpenLayers.Lang["$code"] = OpenLayers.Util.applyDefaults({
115115
116116
117117 EOT;

Status & tagging log