Paladox has submitted this change and it was merged.

Change subject: Fix i18n
......................................................................


Fix i18n

* Fixes directory to look for in i18n.

Change-Id: I4b89b22776ac8cea1180e2f87fe6719bda416edd
---
M CollapsibleVector.i18n.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Paladox: Verified; Looks good to me, approved
  jenkins-bot: Checked



diff --git a/CollapsibleVector.i18n.php b/CollapsibleVector.i18n.php
index 5eb3bcd..a5e726d 100644
--- a/CollapsibleVector.i18n.php
+++ b/CollapsibleVector.i18n.php
@@ -15,7 +15,7 @@
        function wfJsonI18nShim838dd91d281628a2( $cache, $code, &$cachedData ) {
                $codeSequence = array_merge( array( $code ), 
$cachedData['fallbackSequence'] );
                foreach ( $codeSequence as $csCode ) {
-                       $fileName = dirname( __FILE__ ) . 
"/./i18n/$csCode.json";
+                       $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json";
                        if ( is_readable( $fileName ) ) {
                                $data = FormatJson::decode( file_get_contents( 
$fileName ), true );
                                foreach ( array_keys( $data ) as $key ) {
@@ -32,4 +32,4 @@
        }
 
        $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 
'wfJsonI18nShim838dd91d281628a2';
-}
+}
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/176379
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4b89b22776ac8cea1180e2f87fe6719bda416edd
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CollapsibleVector
Gerrit-Branch: master
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to