jenkins-bot has submitted this change and it was merged.

Change subject: Fix static method invocation via $this
......................................................................


Fix static method invocation via $this

Change-Id: I4a4799095b07495a8be5645098e6591408151f6f
---
M ffs/GettextFFS.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/ffs/GettextFFS.php b/ffs/GettextFFS.php
index 4fc91a9..35cbe0b 100644
--- a/ffs/GettextFFS.php
+++ b/ffs/GettextFFS.php
@@ -506,13 +506,13 @@
 
                if ( preg_match( '/{{PLURAL:GETTEXT/i', $msgid ) ) {
                        $forms = $this->splitPlural( $msgid, 2 );
-                       $content .= 'msgid ' . $this->escape( $forms[0] ) . 
"\n";
-                       $content .= 'msgid_plural ' . $this->escape( $forms[1] 
) . "\n";
+                       $content .= 'msgid ' . self::escape( $forms[0] ) . "\n";
+                       $content .= 'msgid_plural ' . self::escape( $forms[1] ) 
. "\n";
 
                        try {
                                $forms = $this->splitPlural( $msgstr, 
$pluralCount );
                                foreach ( $forms as $index => $form ) {
-                                       $content .= "msgstr[$index] " . 
$this->escape( $form ) . "\n";
+                                       $content .= "msgstr[$index] " . 
self::escape( $form ) . "\n";
                                }
                        } catch ( GettextPluralException $e ) {
                                $flags[] = 'invalid-plural';

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4a4799095b07495a8be5645098e6591408151f6f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.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