'wcf.global.page.previous': '{capture assign=pagePrevious}{lang}wcf.global.page.previous{/lang}{/capture}{@$pagePrevious|encodeJS}',
'wcf.global.button.collapsible': '{lang}wcf.global.button.collapsible{/lang}',
'wcf.global.button.disable': '{lang}wcf.global.button.disable{/lang}',
+ 'wcf.global.button.disabledI18n': '{lang}wcf.global.button.disabledI18n{/lang}',
'wcf.global.button.enable': '{lang}wcf.global.button.enable{/lang}',
'wcf.global.confirmation.cancel': '{lang}wcf.global.confirmation.cancel{/lang}',
'wcf.global.confirmation.confirm': '{lang}wcf.global.confirmation.confirm{/lang}',
_prepareElement: function(enableOnInit) {
this._element.wrap('<div class="wcf-preInput" />');
var $wrapper = this._element.parent();
- var $button = $('<p class="wcf-button wcf-dropdownCaption"><span>enable i18n</span></p>').prependTo($wrapper);
+ var $button = $('<p class="wcf-button wcf-dropdownCaption"><span>' + WCF.Language.get('wcf.global.button.disabledI18n') + '</span></p>').prependTo($wrapper);
$button.click($.proxy(this._enable, this));
WCF.CloseOverlayHandler.addCallback(this._element.wcfIdentify(), $.proxy(this._closeSelection, this));
// disable language input
if (!this._forceSelection) {
- $('<li class="divider">disable i18n</li>').click($.proxy(this._disable, this)).appendTo(this._list);
+ $('<li class="divider">' + WCF.Language.get('wcf.global.button.disabledI18n') + '</li>').click($.proxy(this._disable, this)).appendTo(this._list);
}
}
}
// remove active marking
- this._list.prev('.wcf-dropdownCaption').children('span').removeClass('active').text('enable i18n');
+ this._list.prev('.wcf-dropdownCaption').children('span').removeClass('active').text(WCF.Language.get('wcf.global.button.disabledI18n'));
this._closeSelection();
// update element value
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/language.xsd" languagecode="de" languagename="Deutsch">
<category name="wcf.clipboard">
<item name="wcf.clipboard.user.confirmMessage"><![CDATA[{if $count == 1}Einen{else}{#$count}{/if} Benutzer löschen?]]></item>
<item name="wcf.global.button.collapsible"><![CDATA[Auf- und Zuklappen]]></item>
<item name="wcf.global.button.delete"><![CDATA[Löschen]]></item>
<item name="wcf.global.button.disable"><![CDATA[Deaktivieren]]></item>
+ <item name="wcf.global.button.disabledI18n"><![CDATA[einsprachig]]></item>
<item name="wcf.global.button.edit"><![CDATA[Bearbeiten]]></item>
<item name="wcf.global.button.enable"><![CDATA[Aktivieren]]></item>
<item name="wcf.global.button.next"><![CDATA[Weiter »]]></item>
<item name="wcf.global.button.collapsible"><![CDATA[Expand and collapse]]></item>
<item name="wcf.global.button.delete"><![CDATA[Delete]]></item>
<item name="wcf.global.button.disable"><![CDATA[Disable]]></item>
+ <item name="wcf.global.button.disabledI18n"><![CDATA[monolingual]]></item>
<item name="wcf.global.button.edit"><![CDATA[Edit]]></item>
<item name="wcf.global.button.enable"><![CDATA[Enable]]></item>
<item name="wcf.global.button.next"><![CDATA[Next »]]></item>