Shirayuki has uploaded a new change for review.

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


Change subject: Give grep a chance to find the usages
......................................................................

Give grep a chance to find the usages

Change-Id: Ieea6fdb982163a3329558dae34123cdafdd58425
---
M ffs/MediaWikiComplexMessages.php
M specials/SpecialImportTranslations.php
2 files changed, 6 insertions(+), 4 deletions(-)


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

diff --git a/ffs/MediaWikiComplexMessages.php b/ffs/MediaWikiComplexMessages.php
index 88cb79c..91a4fd3 100644
--- a/ffs/MediaWikiComplexMessages.php
+++ b/ffs/MediaWikiComplexMessages.php
@@ -45,6 +45,8 @@
        }
 
        public function getTitle() {
+               // Give grep a chance to find the usages:
+               // translate-magic-special, translate-magic-words, 
translate-magic-namespace
                return wfMessage( 'translate-magic-' . $this->id )->text();
        }
 
diff --git a/specials/SpecialImportTranslations.php 
b/specials/SpecialImportTranslations.php
index 2c3c785..a6014f6 100644
--- a/specials/SpecialImportTranslations.php
+++ b/specials/SpecialImportTranslations.php
@@ -104,10 +104,10 @@
         */
        protected function checkError( $msg ) {
                // Give grep a chance to find the usages:
-               // translate-import-err-type-not-supported, 
translate-import-err-dl-failed,
-               // translate-import-err-ul-failed, 
translate-import-err-invalid-title,
-               // translate-import-err-no-such-file, 
translate-import-err-stale-group,
-               // translate-import-err-no-headers, 
translate-import-err-warnings
+               // translate-import-err-dl-failed, 
translate-import-err-ul-failed,
+               // translate-import-err-invalid-title, 
translate-import-err-no-such-file,
+               // translate-import-err-stale-group, 
translate-import-err-no-headers,
+               // translate-import-err-warnings
                if ( $msg[0] !== 'ok' ) {
                        $errorWrap = "<div class='error'>\n$1\n</div>";
                        $msg[0] = 'translate-import-err-' . $msg[0];

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

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

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

Reply via email to