Kaldari has uploaded a new change for review.
https://gerrit.wikimedia.org/r/85940
Change subject: Add comments about localization of licensing strings.
......................................................................
Add comments about localization of licensing strings.
Change-Id: Iac3a1d117898b9922c7528a9a1d53cba5b767898
---
M includes/skins/SkinMobile.php
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/40/85940/1
diff --git a/includes/skins/SkinMobile.php b/includes/skins/SkinMobile.php
index 644714d..e859c36 100644
--- a/includes/skins/SkinMobile.php
+++ b/includes/skins/SkinMobile.php
@@ -336,8 +336,10 @@
// Construct the link to the licensinsing terms
if ( $wgRightsText ) {
- // Use shorter text for some common licensing strings.
- // See Installer.i18n.php for the currently offered
strings.
+ // Use shorter text for some common licensing strings.
See Installer.i18n.php
+ // for the currently offered strings. Unfortunately,
there is no good way to
+ // comprehensively support localized licensing strings
since the license (as
+ // stored in LocalSetttings.php) is just freeform text,
not an i18n key.
$licenses = array(
'Creative Commons Attribution-Share Alike 3.0'
=> 'CC BY-SA 3.0',
'Creative Commons Attribution Share Alike' =>
'CC BY-SA',
--
To view, visit https://gerrit.wikimedia.org/r/85940
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac3a1d117898b9922c7528a9a1d53cba5b767898
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits