Siebrand has uploaded a new change for review.

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


Change subject: Add missing i18n for percentage
......................................................................

Add missing i18n for percentage

Change-Id: I808cdcf76af5eec78816608a39283a9c8aabbae0
---
M tag/PageTranslationHooks.php
1 file changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/tag/PageTranslationHooks.php b/tag/PageTranslationHooks.php
index 9e69833..1445ce6 100644
--- a/tag/PageTranslationHooks.php
+++ b/tag/PageTranslationHooks.php
@@ -253,8 +253,8 @@
 
                        $percentImage = Xml::element( 'img', array(
                                'src' => TranslateUtils::assetPath( 
"resources/images/prog-$image.png" ),
-                               'alt' => "$percent%", // @todo i18n missing.
-                               'title' => "$percent%", // @todo i18n missing.
+                               'alt' => wfMessage('percent', $percent 
)->text(),
+                               'title' => wfMessage('percent', $percent 
)->text(),
                                'width' => '9',
                                'height' => '9',
                        ) );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I808cdcf76af5eec78816608a39283a9c8aabbae0
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