diff options
-rw-r--r-- | GentooToolbox/properties/TranslationProperties.body.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GentooToolbox/properties/TranslationProperties.body.php b/GentooToolbox/properties/TranslationProperties.body.php index 517059f3..4e541162 100644 --- a/GentooToolbox/properties/TranslationProperties.body.php +++ b/GentooToolbox/properties/TranslationProperties.body.php @@ -11,10 +11,10 @@ class GTBXTranslationProperties { public static function setupProperties() { - SMWDIProperty::registerProperty('___LANG', '_str', wfMsgForContent('gtbx-prop-lang')); + SMWDIProperty::registerProperty('___LANG', '_str', wfMessage('gtbx-prop-lang')->inContentLanguage()->text()); SMWDIProperty::registerPropertyAlias('___LANG', 'Language'); - SMWDIProperty::registerProperty('___TRANS', '_boo', wfMsgForContent('gtbx-prop-trans')); + SMWDIProperty::registerProperty('___TRANS', '_boo', wfMessage('gtbx-prop-trans')->inContentLanguage()->text()); SMWDIProperty::registerPropertyAlias('___TRANS', 'Is Translation Page'); return true; |