Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/191850

Change subject: Use lower case (sanitized) folder names
......................................................................

Use lower case (sanitized) folder names

Change-Id: I530a463750cb0ecccc7467d843826e42f477ff39
---
M ffs/IntuitionTextdomains.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/50/191850/1

diff --git a/ffs/IntuitionTextdomains.php b/ffs/IntuitionTextdomains.php
index fd3f49e..9ea4c9a 100644
--- a/ffs/IntuitionTextdomains.php
+++ b/ffs/IntuitionTextdomains.php
@@ -41,7 +41,7 @@
                                // Intuition text-domains are case-insensitive 
and internally
                                // converts to lowercase names starting with a 
capital letter.
                                // eg. "MyTool" -> "Mytool/%CODE%.json"
-                               $file = preg_replace( '/\s+/', '', 
"$name/%CODE%.json" );
+                               $file = preg_replace( '/\s+/', '', 
"$sanitizedName/%CODE%.json" );
                        }
 
                        if ( isset( $g['descmsg'] ) ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I530a463750cb0ecccc7467d843826e42f477ff39
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to