jenkins-bot has submitted this change and it was merged.
Change subject: Migrate Intuition to JSON
......................................................................
Migrate Intuition to JSON
Change-Id: I6e9db7e19881f7c7b83e1133d37db7dc0d460192
---
M ffs/IntuitionTextdomains.php
1 file changed, 3 insertions(+), 4 deletions(-)
Approvals:
Siebrand: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ffs/IntuitionTextdomains.php b/ffs/IntuitionTextdomains.php
index 12ab21b..9ea4c9a 100644
--- a/ffs/IntuitionTextdomains.php
+++ b/ffs/IntuitionTextdomains.php
@@ -40,9 +40,8 @@
} else {
// Intuition text-domains are case-insensitive
and internally
// converts to lowercase names starting with a
capital letter.
- // eg. "MyTool" -> "Mytool.i18n.php"
- // No subdirectories!
- $file = ucfirst( $sanitizedName ) . '.i18n.php';
+ // eg. "MyTool" -> "Mytool/%CODE%.json"
+ $file = preg_replace( '/\s+/', '',
"$sanitizedName/%CODE%.json" );
}
if ( isset( $g['descmsg'] ) ) {
@@ -82,7 +81,7 @@
$g['optional'] = array();
}
- $g['format'] = 'php';
+ $g['format'] = 'json';
$copyvars = array(
'aliasfile',
--
To view, visit https://gerrit.wikimedia.org/r/191687
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6e9db7e19881f7c7b83e1133d37db7dc0d460192
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits