<ul class="scrollableDropdownMenu">
{foreach from=$field->getLabelGroup() item=label}
<li data-label-id="{@$label->labelID}">
- <span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span>
+ <span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span>
</li>
{/foreach}
</ul>
<noscript>
<select name="{@$field->getPrefixedId()}[{@$field->getLabelGroup()->groupID}]">
{foreach from=$field->getLabelGroup() item=label}
- <option value="{@$label->labelID}">{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}">{$label->getTitle()}</option>
{/foreach}
</select>
</noscript>
{foreach from=$menuItemNodeList item=menuItemNode}
<li class="{if $menuItemNode->isActiveNode()}active{/if}{if $menuItemNode->hasChildren()} boxMenuHasChildren{/if}" data-identifier="{@$menuItemNode->identifier}">
<a href="{$menuItemNode->getURL()}" class="boxMenuLink"{if $menuItemNode->isExternalLink()}{if EXTERNAL_LINK_REL_NOFOLLOW} rel="nofollow"{/if}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}{if $menuItemNode->isActiveNode()} aria-current="page"{/if}>
- <span class="boxMenuLinkTitle">{lang}{$menuItemNode->title}{/lang}</span>
+ <span class="boxMenuLinkTitle">{$menuItemNode->getTitle()}</span>
{if $menuItemNode->getOutstandingItems() > 0}
<span class="boxMenuLinkOutstandingItems badge badgeUpdate" aria-label="{lang}wcf.page.menu.outstandingItems{/lang}">{#$menuItemNode->getOutstandingItems()}</span>
{/if}
</a>
{if $menuItemNode->hasChildren()}<ol class="boxMenuDepth{@$menuItemNode->getDepth()}">{else}</li>{/if}
-
+
{if !$menuItemNode->hasChildren() && $menuItemNode->isLastSibling()}
{@"</ol></li>"|str_repeat:$menuItemNode->getOpenParentNodes()}
{/if}
{/foreach}
-
+
{event name='menuAfter'}
</ol>
</nav>
{foreach from=$__wcf->getBoxHandler()->getBoxByIdentifier('com.woltlab.wcf.MainMenu')->getMenu()->getMenuItemNodeList() item=menuItemNode}
{if $menuItemNode->getDepth() == 1 || $menuItemNode->getParentNode()->isActiveNode()}
<li>
- <a href="{$menuItemNode->getURL()}">{lang}{$menuItemNode->title}{/lang}</a>
+ <a href="{$menuItemNode->getURL()}">{$menuItemNode->getTitle()}</a>
{if $menuItemNode->hasChildren() && $menuItemNode->isActiveNode()}<ol>{else}</li>{/if}
{if $__wcf->getBoxHandler()->getBoxByIdentifier('com.woltlab.wcf.FooterMenu')}
<ol>
{foreach from=$__wcf->getBoxHandler()->getBoxByIdentifier('com.woltlab.wcf.FooterMenu')->getMenu()->getMenuItemNodeList() item=menuItemNode}
- <li><a href="{$menuItemNode->getURL()}">{lang}{$menuItemNode->title}{/lang}</a></li>
+ <li><a href="{$menuItemNode->getURL()}">{$menuItemNode->getTitle()}</a></li>
{/foreach}
</ol>
{/if}
<span class="icon icon16 fa-tags"></span>
<ul class="labelList">
{foreach from=$article->getLabels() item=label}
- <li><span class="label badge{if $label->getClassNames()} {$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></li>
+ <li><span class="label badge{if $label->getClassNames()} {$label->getClassNames()}{/if}">{$label->getTitle()}</span></li>
{/foreach}
</ul>
</li>
<div class="dropdownMenu">
<ul class="scrollableDropdownMenu">
{foreach from=$labelGroup item=label}
- <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span></li>
+ <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span></li>
{/foreach}
</ul>
</div>
<noscript>
<select name="labelIDs[{@$labelGroup->groupID}]">
{foreach from=$labelGroup item=label}
- <option value="{@$label->labelID}">{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}">{$label->getTitle()}</option>
{/foreach}
</select>
</noscript>
<div class="dropdownMenu">
<ul class="scrollableDropdownMenu">
{foreach from=$labelGroup item=label}
- <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span></li>
+ <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span></li>
{/foreach}
</ul>
</div>
<option value="0">{lang}wcf.label.none{/lang}</option>
<option value="-1">{lang}wcf.label.withoutSelection{/lang}</option>
{foreach from=$labelGroup item=label}
- <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{$label->getTitle()}</option>
{/foreach}
</select>
{/foreach}
{if $article->hasLabels()}
<div class="contentItemLabels">
{foreach from=$article->getLabels() item=label}
- <span class="label badge contentItemLabel{if $label->getClassNames()} {$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span>
+ <span class="label badge contentItemLabel{if $label->getClassNames()} {$label->getClassNames()}{/if}">{$label->getTitle()}</span>
{/foreach}
</div>
{/if}
{foreach from=$subscriptions item=subscription}
<li>
<div class="containerHeadline" title="{$subscription->description|language}">
- <h3>{$subscription->title|language}</h3>
+ <h3>{$subscription->getTitle()}</h3>
<small>{lang}wcf.paidSubscription.formattedCost{/lang}</small>
</div>
{foreach from=$subscriptions item=subscription}
<li>
<div class="sidebarItemTitle" title="{$subscription->description|language}">
- <h3>{$subscription->title|language}</h3>
+ <h3>{$subscription->getTitle()}</h3>
<small>{lang}wcf.paidSubscription.formattedCost{/lang}</small>
</div>
</header>
<dl class="{if (($errorType|isset && $errorType|is_array && $errorType[captchaAnswer]|isset) || ($errorField|isset && $errorField == 'captchaAnswer'))} formError{/if}">
- <dt><label for="captchaAnswer">{lang}{$captchaQuestionObject->question}{/lang}</label></dt>
+ <dt><label for="captchaAnswer">{$captchaQuestionObject->getQuestion()}</label></dt>
<dd>
<input type="text" id="captchaAnswer" name="captchaAnswer" class="medium">
{if (($errorType|isset && $errorType|is_array && $errorType[captchaAnswer]|isset) || ($errorField|isset && $errorField == 'captchaAnswer'))}
<div class="dropdownMenu">
<ul class="scrollableDropdownMenu">
{foreach from=$labelGroup item=label}
- <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span></li>
+ <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span></li>
{/foreach}
</ul>
</div>
<option value="0">{lang}wcf.label.none{/lang}</option>
<option value="-1">{lang}wcf.label.withoutSelection{/lang}</option>
{foreach from=$labelGroup item=label}
- <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{$label->getTitle()}</option>
{/foreach}
</select>
{/foreach}
{foreach from=$options item=optionData}
{assign var=option value=$optionData[object]}
<dl class="{if $errorType|is_array && $errorType[$option->optionName]|isset} formError{/if}">
- <dt{if $optionData[cssClassName]} class="{$optionData[cssClassName]}"{/if}><label for="{$option->optionName}">{lang}{$option->optionTitle}{/lang}</label>{if $option->required} <span class="customOptionRequired">*</span>{/if}</dt>
+ <dt{if $optionData[cssClassName]} class="{$optionData[cssClassName]}"{/if}><label for="{$option->optionName}">{$option->getTitle()}</label>{if $option->required} <span class="customOptionRequired">*</span>{/if}</dt>
<dd>{@$optionData[html]}
- <small>{lang __optional=true}{$option->optionDescription}{/lang}</small>
+ <small>{$option->getDescription()}</small>
{if $errorType|is_array && $errorType[$option->optionName]|isset}
<small class="innerError">
{foreach from=$smileyCategories item=smileyCategory}
{assign var=__tabCount value=$__tabCount + 1}
{assign var='__smileyAnchor' value='smilies-'|concat:$smileyCategory->categoryID}
- <li data-name="smilies-{@$smileyCategory->categoryID}" data-smiley-category-id="{@$smileyCategory->categoryID}"><a>{$smileyCategory->title|language}</a></li>
+ <li data-name="smilies-{@$smileyCategory->categoryID}" data-smiley-category-id="{@$smileyCategory->categoryID}"><a>{$smileyCategory->getTitle()}</a></li>
{/foreach}
{/capture}
<div><span class="icon icon48 {@$menuCategory->getIconClassName()}"></span></div>
<div class="containerHeadline">
- <h3>{lang}{$menuCategory->menuItem}{/lang}</h3>
+ <h3>{$menuCategory->getTitle()}</h3>
<ul class="inlineList dotSeparated">
{foreach from=$__wcf->getUserMenu()->getMenuItems($menuCategory->menuItem) item=menuItem}
<li class="menuOverlayItem" data-mobile-identifier="{@$menuItemNode->identifier}">
{assign var=__outstandingItems value=$menuItemNode->getOutstandingItems()}
<a href="{$menuItemNode->getURL()}" class="menuOverlayItemLink{if $__outstandingItems} menuOverlayItemBadge{/if}{if $menuItemNode->isActiveNode()} active{/if}"{if $menuItemNode->isExternalLink() && EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}>
- <span class="menuOverlayItemTitle">{lang}{$menuItemNode->title}{/lang}</span>
+ <span class="menuOverlayItemTitle">{$menuItemNode->getTitle()}</span>
{if $__outstandingItems}
<span class="badge badgeUpdate">{#$__outstandingItems}</span>
{/if}
{event name='userMenuItemsBefore'}
{foreach from=$__wcf->getUserMenu()->getMenuItems('') item=menuCategory}
- <li class="menuOverlayTitle">{lang}{$menuCategory->menuItem}{/lang}</li>
+ <li class="menuOverlayTitle">{$menuCategory->getTitle()}</li>
{foreach from=$__wcf->getUserMenu()->getMenuItems($menuCategory->menuItem) item=menuItem}
<li class="menuOverlayItem">
<a href="{$menuItem->getProcessor()->getLink()}" class="menuOverlayItemLink">{@$menuItem}</a>
{foreach from=$subscriptions item=subscription}
<li>
<div class="containerHeadline">
- <h3>{$subscription->title|language} <span class="badge label">{lang}wcf.paidSubscription.formattedCost{/lang}</span></h3>
+ <h3>{$subscription->getTitle()} <span class="badge label">{lang}wcf.paidSubscription.formattedCost{/lang}</span></h3>
<div class="htmlContent">{@$subscription->getFormattedDescription()}</div>
</div>
{foreach from=$userSubscriptions item=userSubscription}
<li>
<div class="containerHeadline">
- <h3>{$userSubscription->getSubscription()->title|language}</h3>
+ <h3>{$userSubscription->getSubscription()->getTitle()}</h3>
<div class="htmlContent">{@$userSubscription->getSubscription()->getFormattedDescription()}</div>
</div>
{foreach from=$objects->getTeams() item=team}
<section class="section sectionContainerList">
<header class="sectionHeader">
- <h2 class="sectionTitle" id="group{@$team->groupID}">{$team->groupName|language} <span class="badge">{#$team->getMembers()|count}</span></h2>
- <p class="sectionDescription">{$team->groupDescription|language}</p>
+ <h2 class="sectionTitle" id="group{@$team->groupID}">{$team->getTitle()} <span class="badge">{#$team->getMembers()|count}</span></h2>
+ <p class="sectionDescription">{$team->getDescription()}</p>
</header>
<ol class="containerList userList">
<div class="dropdownMenu">
<ul class="scrollableDropdownMenu">
{foreach from=$labelGroup item=label}
- <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span></li>
+ <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span></li>
{/foreach}
</ul>
</div>
<option value="0">{lang}wcf.label.none{/lang}</option>
<option value="-1">{lang}wcf.label.withoutSelection{/lang}</option>
{foreach from=$labelGroup item=label}
- <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{$label->getTitle()}</option>
{/foreach}
</select>
{/foreach}
<section class="box" data-static-box-identifier="com.woltlab.wcf.UserMenu">
{foreach from=$__wcf->getUserMenu()->getMenuItems('') item=menuCategory}
- <h2 class="boxTitle">{lang}{$menuCategory->menuItem}{/lang}</h2>
+ <h2 class="boxTitle">{$menuCategory->getTitle()}</h2>
<nav class="boxContent">
<ol class="boxMenu">
<div class="dropdownMenu">
<ul class="scrollableDropdownMenu">
{foreach from=$labelGroup item=label}
- <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span></li>
+ <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span></li>
{/foreach}
</ul>
</div>
<option value="0">{lang}wcf.label.none{/lang}</option>
<option value="-1">{lang}wcf.label.withoutSelection{/lang}</option>
{foreach from=$labelGroup item=label}
- <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}"{if $labelIDs[$labelGroup->groupID]|isset && $labelIDs[$labelGroup->groupID] == $label->labelID} selected{/if}>{$label->getTitle()}</option>
{/foreach}
</select>
{/foreach}
{foreach from=$__wcf->getBBCodeHandler()->getButtonBBCodes(true) item=__bbcode}
{* the HTML bbcode must be handled differently, it conflicts with the `source` toggle-button *}
{if $__bbcode->bbcodeTag === 'html'}
- buttonOptions['woltlabHtml'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{lang}{$__bbcode->buttonLabel}{/lang}' };
+ buttonOptions['woltlabHtml'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{$__bbcode->getButtonLabel()}' };
buttons.push('woltlabHtml');
customButtons.push('woltlabHtml');
{else}
- buttonOptions['{$__bbcode->bbcodeTag}'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{lang}{$__bbcode->buttonLabel}{/lang}' };
+ buttonOptions['{$__bbcode->bbcodeTag}'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{$__bbcode->getButtonLabel()}' };
buttons.push('{$__bbcode->bbcodeTag}');
customButtons.push('{$__bbcode->bbcodeTag}');
{/if}
<ul class="scrollableDropdownMenu">
{foreach from=$field->getLabelGroup() item=label}
<li data-label-id="{@$label->labelID}">
- <span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span>
+ <span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span>
</li>
{/foreach}
</ul>
<noscript>
<select name="{@$field->getPrefixedId()}[{@$field->getLabelGroup()->groupID}]">
{foreach from=$field->getLabelGroup() item=label}
- <option value="{@$label->labelID}">{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}">{$label->getTitle()}</option>
{/foreach}
</select>
</noscript>
<ul class="inlineList smileyList">
{foreach from=$smilies item=smiley name=smilies}
- <li><a title="{lang}{$smiley->smileyTitle}{/lang}" class="jsTooltip jsSmiley" role="button" tabindex="{if $tpl.foreach.smilies.iteration === 1}0{else}-1{/if}">{@$smiley->getHtml()}</a></li>
+ <li><a title="{$smiley->getTitle()}" class="jsTooltip jsSmiley" role="button" tabindex="{if $tpl.foreach.smilies.iteration === 1}0{else}-1{/if}">{@$smiley->getHtml()}</a></li>
{/foreach}
</ul>
<div class="dropdownMenu">
<ul class="scrollableDropdownMenu">
{foreach from=$labelGroup item=label}
- <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></span></li>
+ <li data-label-id="{@$label->labelID}"><span><span class="badge label{if $label->getClassNames()} {@$label->getClassNames()}{/if}">{$label->getTitle()}</span></span></li>
{/foreach}
</ul>
</div>
<noscript>
<select name="labelIDs[{@$labelGroup->groupID}]">
{foreach from=$labelGroup item=label}
- <option value="{@$label->labelID}">{lang}{$label->label}{/lang}</option>
+ <option value="{@$label->labelID}">{$label->getTitle()}</option>
{/foreach}
</select>
</noscript>
{if $article->hasLabels()}
<ul class="labelList" style="float: right; padding-left: 7px;">
{foreach from=$article->getLabels() item=label}
- <li><span class="badge label{if $label->getClassNames()} {$label->getClassNames()}{/if}">{lang}{$label->label}{/lang}</span></li>
+ <li><span class="badge label{if $label->getClassNames()} {$label->getClassNames()}{/if}">{$label->getTitle()}</span></li>
{/foreach}
</ul>
{/if}
</header>
<dl{if (($errorType|isset && $errorType|is_array && $errorType[captchaAnswer]|isset) || ($errorField|isset && $errorField == 'captchaAnswer'))} class="formError"{/if}>
- <dt><label for="captchaAnswer">{lang}{$captchaQuestionObject->question}{/lang}</label></dt>
+ <dt><label for="captchaAnswer">{$captchaQuestionObject->getQuestion()}</label></dt>
<dd>
<input type="text" id="captchaAnswer" name="captchaAnswer" class="medium">
{if (($errorType|isset && $errorType|is_array && $errorType[captchaAnswer]|isset) || ($errorField|isset && $errorField == 'captchaAnswer'))}
{event name='rowButtons'}
</td>
<td class="columnID columnQuestionID">{$question->questionID}</td>
- <td class="columnText columnQuestion"><a href="{link controller='CaptchaQuestionEdit' id=$question->questionID}{/link}">{lang}{$question->question}{/lang}</a></td>
+ <td class="columnText columnQuestion"><a href="{link controller='CaptchaQuestionEdit' id=$question->questionID}{/link}">{$question->getQuestion()}</a></td>
{event name='columns'}
</tr>
{event name='rowButtons'}
</td>
<td class="columnID">{@$option->optionID}</td>
- <td class="columnTitle columnOptionTitle"><a href="{link controller='ContactOptionEdit' id=$option->optionID}{/link}">{$option->optionTitle|language}</a></td>
+ <td class="columnTitle columnOptionTitle"><a href="{link controller='ContactOptionEdit' id=$option->optionID}{/link}">{$option->getTitle()}</a></td>
<td class="columnText columnOptionType">{lang}wcf.acp.customOption.optionType.{$option->optionType}{/lang}</td>
<td class="columnDigits columnShowOrder">{#$option->showOrder}</td>
{foreach from=$recipientList item=recipient}
<li class="sortableNode sortableNoNesting jsRecipient" data-object-id="{@$recipient->recipientID}">
<span class="sortableNodeLabel">
- <a href="{link controller='ContactRecipientEdit' id=$recipient->recipientID}{/link}">{lang}{$recipient}{/lang}</a>
+ <a href="{link controller='ContactRecipientEdit' id=$recipient->recipientID}{/link}">{$recipient}</a>
<span class="statusDisplay sortableButtonContainer">
<span class="icon icon16 fa-arrows sortableNodeHandle"></span>
<td class="columnDate columnStartDom">{$cronjob->startDom|truncate:30}</td>
<td class="columnDate columnStartMonth">{$cronjob->startMonth|truncate:30}</td>
<td class="columnDate columnStartDow">{$cronjob->startDow|truncate:30}</td>
- <td class="columnText columnDescription" title="{$cronjob->description|language}">
+ <td class="columnText columnDescription" title="{$cronjob->getDescription()}">
{if $cronjob->isEditable()}
- <a title="{lang}wcf.acp.cronjob.edit{/lang}" href="{link controller='CronjobEdit' id=$cronjob->cronjobID}{/link}">{$cronjob->description|language}</a>
+ <a title="{lang}wcf.acp.cronjob.edit{/lang}" href="{link controller='CronjobEdit' id=$cronjob->cronjobID}{/link}">{$cronjob->getDescription()}</a>
{else}
- {$cronjob->description|language}
+ {$cronjob->getDescription()}
{/if}
</td>
<td class="columnDate columnNextExec">
</td>
<td class="columnID">{@$label->labelID}</td>
<td class="columnTitle columnLabel"><a href="{link controller='LabelEdit' object=$label}{/link}" title="{$label}" class="badge label{if $label->getClassNames()} {$label->getClassNames()}{/if}">{$label}</a></td>
- <td class="columnText columnGroup">{lang}{$label->groupName}{/lang}{if $label->groupDescription} / {$label->groupDescription}{/if}</td>
+ <td class="columnText columnGroup">{$label->groupName|language}{if $label->groupDescription} / {$label->groupDescription}{/if}</td>
{if $labelGroup && !$labelSearch && !$cssClassName && $items > 1}
<td class="columnDigits columnShowOrder">{#$label->showOrder}</td>
{/if}
<option value="-">--------------------</option>
{foreach from=$packages item=package}
{assign var=loop value=$packageNameLength-$package->packageNameLength}
- <option value="{@$package->packageID}"{if $selectedPackages[$package->packageID]|isset} selected{/if}>{lang}{$package->packageName}{/lang} {section name=i loop=$loop} {/section} {$package->package}</option>
+ <option value="{@$package->packageID}"{if $selectedPackages[$package->packageID]|isset} selected{/if}>{$package->getName()} {section name=i loop=$loop} {/section} {$package->package}</option>
{/foreach}
</select>
<small>{lang}wcf.global.multiSelect{/lang}</small>
<option value="0">{lang}wcf.global.noSelection{/lang}</option>
{foreach from=$menuItemNodeList item=menuItemNode}
- <option value="{@$menuItemNode->itemID}"{if $menuItemNode->itemID == $parentItemID} selected{/if}>{if $menuItemNode->getDepth() > 1}{@" "|str_repeat:($menuItemNode->getDepth() - 1)}{/if}{lang}{$menuItemNode->title}{/lang}</option>
+ <option value="{@$menuItemNode->itemID}"{if $menuItemNode->itemID == $parentItemID} selected{/if}>{if $menuItemNode->getDepth() > 1}{@" "|str_repeat:($menuItemNode->getDepth() - 1)}{/if}{$menuItemNode->getTitle()}</option>
{/foreach}
</select>
{if $errorField == 'parentItemID'}
<header class="contentHeader">
<div class="contentHeaderTitle">
<h1 class="contentTitle">{lang}wcf.acp.menu.item.list{/lang}</h1>
- <p class="contentHeaderDescription">{lang}{$menu->title}{/lang}</p>
+ <p class="contentHeaderDescription">{$menu->getTitle()}</p>
</div>
<nav class="contentHeaderNavigation">
{foreach from=$menuItemNodeList item=menuItemNode}
<li class="sortableNode" data-object-id="{@$menuItemNode->itemID}">
<span class="sortableNodeLabel">
- <a href="{link controller='MenuItemEdit' id=$menuItemNode->itemID}{/link}">{lang}{$menuItemNode->title}{/lang}</a>
+ <a href="{link controller='MenuItemEdit' id=$menuItemNode->itemID}{/link}">{$menuItemNode->getTitle()}</a>
<span class="statusDisplay sortableButtonContainer">
<span class="icon icon16 fa-arrows sortableNodeHandle"></span>
{if $menuItemNode->canDisable()}
{event name='rowButtons'}
</td>
<td class="columnID columnPageID">{@$menu->menuID}</td>
- <td class="columnTitle"><a href="{link controller='MenuEdit' id=$menu->menuID}{/link}">{lang}{$menu->title}{/lang}</a></td>
+ <td class="columnTitle"><a href="{link controller='MenuEdit' id=$menu->menuID}{/link}">{$menu->getTitle()}</a></td>
<td class="columnDigits columnItems"><a href="{link controller='MenuItemList' id=$menu->menuID}{/link}">{#$menu->items}</a></td>
<td class="columnText columnPosition">{lang}wcf.acp.box.position.{@$menu->position}{/lang}</td>
<td class="columnDigits columnShowOrder">{#$menu->showOrder}</td>
{foreach from=$smileyCategories item=smileyCategory}
{assign var=__tabCount value=$__tabCount + 1}
{assign var='__smileyAnchor' value='smilies-'|concat:$smileyCategory->categoryID}
- <li data-name="smilies-{@$smileyCategory->categoryID}" data-smiley-category-id="{@$smileyCategory->categoryID}"><a>{$smileyCategory->title|language}</a></li>
+ <li data-name="smilies-{@$smileyCategory->categoryID}" data-smiley-category-id="{@$smileyCategory->categoryID}"><a>{$smileyCategory->getTitle()}</a></li>
{/foreach}
{/capture}
{if $package->packageDescription|language}
<dl>
<dt>{lang}wcf.acp.package.description{/lang}</dt>
- <dd>{$package->packageDescription|language}</dd>
+ <dd>{$package->getDescription()}</dd>
</dl>
{/if}
{/if}
</td>
<td class="columnID">{@$requiredPackage->packageID}</td>
- <td class="columnTitle" title="{$requiredPackage->packageDescription|language}"><a href="{link controller='Package' id=$requiredPackage->packageID}{/link}">{$requiredPackage}</a></td>
+ <td class="columnTitle" title="{$requiredPackage->getDescription()}"><a href="{link controller='Package' id=$requiredPackage->packageID}{/link}">{$requiredPackage}</a></td>
<td class="columnText">{if $requiredPackage->authorURL}<a href="{$requiredPackage->authorURL}" class="externalURL">{$requiredPackage->author}</a>{else}{$requiredPackage->author}{/if}</td>
<td class="columnText">{$requiredPackage->packageVersion}</td>
<td class="columnDate">{@$requiredPackage->packageDate|date}</td>
{/if}
</td>
<td class="columnID">{@$dependentPackage->packageID}</td>
- <td class="columnTitle" title="{$dependentPackage->packageDescription|language}"><a href="{link controller='Package' id=$dependentPackage->packageID}{/link}">{$dependentPackage}</a></td>
+ <td class="columnTitle" title="{$dependentPackage->getDescription()}"><a href="{link controller='Package' id=$dependentPackage->packageID}{/link}">{$dependentPackage}</a></td>
<td class="columnText">{if $dependentPackage->authorURL}<a href="{$dependentPackage->authorURL}" class="externalURL">{$dependentPackage->author}</a>{else}{$dependentPackage->author}{/if}</td>
<td class="columnText">{$dependentPackage->packageVersion}</td>
<td class="columnDate">{@$dependentPackage->packageDate|date}</td>
{event name='rowButtons'}
</td>
<td class="columnID">{@$package->packageID}</td>
- <td id="packageName{@$package->packageID}" class="columnTitle" title="{$package->packageDescription|language}">
+ <td id="packageName{@$package->packageID}" class="columnTitle" title="{$package->getDescription()}">
<a href="{link controller='Package' id=$package->packageID}{/link}"><span>{$package}</span></a>
</td>
<td class="columnText">{if $package->authorURL}<a href="{$package->authorURL}" class="externalURL">{$package->author}</a>{else}{$package->author}{/if}</td>
<option value="0">{lang}wcf.global.noSelection{/lang}</option>
{foreach from=$menuItemNodeList item=menuItemNode}
- <option value="{@$menuItemNode->itemID}"{if $menuItemNode->itemID == $parentMenuItemID} selected{/if}>{if $menuItemNode->getDepth() > 1}{@" "|str_repeat:($menuItemNode->getDepth() - 1)}{/if}{lang}{$menuItemNode->title}{/lang}</option>
+ <option value="{@$menuItemNode->itemID}"{if $menuItemNode->itemID == $parentMenuItemID} selected{/if}>{if $menuItemNode->getDepth() > 1}{@" "|str_repeat:($menuItemNode->getDepth() - 1)}{/if}{$menuItemNode->getTitle()}</option>
{/foreach}
</select>
{if $errorField == 'parentMenuItemID'}
<ul class="dropdownMenu" data-dropdown-alignment-horizontal="right">
{foreach from=$__wcf->getFrontendMenu()->getMenuItemNodeList() item=_menuItem}
{if !$_menuItem->parentItemID && $_menuItem->getPage()}
- <li><a href="{$_menuItem->getURL()}">{lang}{$_menuItem->title}{/lang}</a></li>
+ <li><a href="{$_menuItem->getURL()}">{$_menuItem->getTitle()}</a></li>
{/if}
{/foreach}
</ul>
<dt>{lang}wcf.acp.paidSubscription.excludedSubscriptions{/lang}</dt>
<dd>
{foreach from=$availableSubscriptions item=availableSubscription}
- <label><input type="checkbox" name="excludedSubscriptionIDs[]" value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID|in_array:$excludedSubscriptionIDs} checked{/if}> {$availableSubscription->title|language}</label>
+ <label><input type="checkbox" name="excludedSubscriptionIDs[]" value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID|in_array:$excludedSubscriptionIDs} checked{/if}> {$availableSubscription->getTitle()}</label>
{/foreach}
<small>{lang}wcf.acp.paidSubscription.excludedSubscriptions.description{/lang}</small>
</dd>
<dt><label>{lang}wcf.acp.paidSubscription.userGroups{/lang}</label></dt>
<dd>
{foreach from=$availableUserGroups item=userGroup}
- <label><input type="checkbox" name="groupIDs[]" value="{@$userGroup->groupID}"{if $userGroup->groupID|in_array:$groupIDs} checked{/if}> {$userGroup->groupName|language}</label>
+ <label><input type="checkbox" name="groupIDs[]" value="{@$userGroup->groupID}"{if $userGroup->groupID|in_array:$groupIDs} checked{/if}> {$userGroup->getTitle()}</label>
{/foreach}
{if $errorField == 'groupIDs'}
<small class="innerError">
{event name='itemButtons'}
</td>
<td class="columnID columnSubscriptionID">{@$subscription->subscriptionID}</td>
- <td class="columnTitle"><a href="{link controller='PaidSubscriptionEdit' id=$subscription->subscriptionID}{/link}" title="{lang}wcf.acp.paidSubscription.edit{/lang}">{$subscription->title|language}</a></td>
+ <td class="columnTitle"><a href="{link controller='PaidSubscriptionEdit' id=$subscription->subscriptionID}{/link}" title="{lang}wcf.acp.paidSubscription.edit{/lang}">{$subscription->getTitle()}</a></td>
<td class="columnDigits columnCost">{@$subscription->currency} {$subscription->cost|currency}</td>
<td class="columnDigits columnSubscriptionLength">{if $subscription->subscriptionLength}{@$subscription->subscriptionLength} {lang}wcf.acp.paidSubscription.subscriptionLengthUnit.{@$subscription->subscriptionLengthUnit}{/lang}{else}∞{/if}</td>
<td class="columnDigits columnShowOrder">{@$subscription->showOrder}</td>
{if $log->subscriptionID}
<dt>{lang}wcf.acp.paidSubscription.subscription{/lang}</dt>
- <dd>{$log->getSubscription()->title|language}</dd>
+ <dd>{$log->getSubscription()->getTitle()}</dd>
{/if}
<dt>{lang}wcf.acp.paidSubscription.transactionLog.paymentMethod{/lang}</dt>
<select name="subscriptionID" id="subscriptionID">
<option value="0">{lang}wcf.acp.paidSubscription.subscription{/lang}</option>
{foreach from=$availableSubscriptions item=availableSubscription}
- <option value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID == $subscriptionID} selected{/if}>{$availableSubscription->title|language}</option>
+ <option value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID == $subscriptionID} selected{/if}>{$availableSubscription->getTitle()}</option>
{/foreach}
</select>
</dd>
<div class="contentHeaderTitle">
<h1 class="contentTitle">{lang}wcf.acp.paidSubscription.user.{$action}{/lang}</h1>
{if $action == 'add'}
- <p class="contentHeaderDescription">{$subscription->title|language}</p>
+ <p class="contentHeaderDescription">{$subscription->getTitle()}</p>
{else}
<p class="contentHeaderDescription">{$subscriptionUser->getUser()->username}</p>
{/if}
<select name="subscriptionID" id="subscriptionID">
<option value="0">{lang}wcf.acp.paidSubscription.subscription{/lang}</option>
{foreach from=$availableSubscriptions item=availableSubscription}
- <option value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID == $subscriptionID} selected{/if}>{$availableSubscription->title|language}</option>
+ <option value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID == $subscriptionID} selected{/if}>{$availableSubscription->getTitle()}</option>
{/foreach}
</select>
</dd>
<nav class="tabMenu">
<ul>
{foreach from=$categories item=categoryLoop}
- <li{if (!$category && !$categoryLoop->categoryID) || ($category && $category->categoryID == $categoryLoop->categoryID)} class="active"{/if}><a href="{if $categoryLoop->categoryID}{link controller='SmileyList' object=$categoryLoop}{/link}{else}{link controller='SmileyList'}{/link}{/if}">{$categoryLoop->title|language}</a></li>
+ <li{if (!$category && !$categoryLoop->categoryID) || ($category && $category->categoryID == $categoryLoop->categoryID)} class="active"{/if}><a href="{if $categoryLoop->categoryID}{link controller='SmileyList' object=$categoryLoop}{/link}{else}{link controller='SmileyList'}{/link}{/if}">{$categoryLoop->getTitle()}</a></li>
{/foreach}
</ul>
</nav>
{foreach from=$objects item=smiley}
<li class="sortableNode sortableNoNesting smileyRow" data-object-id="{@$smiley->smileyID}">
<span class="sortableNodeLabel">
- <a href="{link controller='SmileyEdit' id=$smiley->smileyID}{/link}">{@$smiley->getHtml()} {lang}{$smiley->smileyTitle}{/lang}</a> <span class="badge">{$smiley->smileyCode}</span>{foreach from=$smiley->getAliases() item='alias'} <span class="badge" style="margin-left: 5px">{$alias}</span>{/foreach}
+ <a href="{link controller='SmileyEdit' id=$smiley->smileyID}{/link}">{@$smiley->getHtml()} {$smiley->getTitle()}</a> <span class="badge">{$smiley->smileyCode}</span>{foreach from=$smiley->getAliases() item='alias'} <span class="badge" style="margin-left: 5px">{$alias}</span>{/foreach}
<span class="statusDisplay sortableButtonContainer">
<span class="icon icon16 fa-arrows sortableNodeHandle"></span>
<td class="columnID columnGroupID">{@$group->groupID}</td>
<td class="columnTitle columnGroupName">
{if $group->isEditable()}
- <a title="{lang}wcf.acp.group.edit{/lang}" href="{link controller='UserGroupEdit' id=$group->groupID}{/link}">{lang}{$group->groupName}{/lang}</a>
+ <a title="{lang}wcf.acp.group.edit{/lang}" href="{link controller='UserGroupEdit' id=$group->groupID}{/link}">{$group->getTitle()}</a>
{else}
- {lang}{$group->groupName}{/lang}
+ {$group->getTitle()}
{/if}
{if $group->isOwner()}
<span class="icon icon16 fa-shield jsTooltip" title="{lang}wcf.acp.group.type.owner{/lang}"></span>
<dt>
{if VISITOR_USE_TINY_BUILD && $guestGroupID == $group->groupID && $userGroupOption->excludedInTinyBuild}<span class="icon icon16 fa-bolt red jsTooltip" title="{lang}wcf.acp.group.excludedInTinyBuild{/lang}"></span> {/if}
{if $ownerGroupID == $group->groupID && $userGroupOption->optionName|in_array:$ownerGroupPermissions}<span class="icon icon16 fa-shield jsTooltip" title="{lang}wcf.acp.group.ownerGroupPermission{/lang}"></span> {/if}
- <label for="userGroupOption{@$group->groupID}">{lang}{$group->groupName}{/lang}</label>
+ <label for="userGroupOption{@$group->groupID}">{$group->getTitle()}</label>
</dt>
<dd>
{@$formElements[$group->groupID]}
<dd>
<select id="groupID" name="groupID">
{foreach from=$availableGroups item=group}
- <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected{/if}>{$group->groupName|language}</option>
+ <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected{/if}>{$group->getTitle()}</option>
{/foreach}
</select>
{if $errorField == 'groupID'}
{event name='rowButtons'}
</td>
<td class="columnID columnRankID">{@$userRank->rankID}</td>
- <td class="columnTitle columnRankTitle"><a href="{link controller='UserRankEdit' id=$userRank->rankID}{/link}" title="{lang}wcf.acp.user.rank.edit{/lang}" class="badge label{if $userRank->cssClassName} {$userRank->cssClassName}{/if}">{$userRank->rankTitle|language}</a></td>
+ <td class="columnTitle columnRankTitle"><a href="{link controller='UserRankEdit' id=$userRank->rankID}{/link}" title="{lang}wcf.acp.user.rank.edit{/lang}" class="badge label{if $userRank->cssClassName} {$userRank->cssClassName}{/if}">{$userRank->getTitle()}</a></td>
<td class="columnText columnRankImage">{if $userRank->rankImage}{@$userRank->getImage()}{/if}</td>
<td class="columnText columnGroupID">{$userRank->groupName|language}</td>
<td class="columnText columnRequiredGender">{if $userRank->requiredGender}{if $userRank->requiredGender == 1}{lang}wcf.user.gender.male{/lang}{else}{lang}wcf.user.gender.female{/lang}{/if}{/if}</td>
{foreach from=$__wcf->getBBCodeHandler()->getButtonBBCodes(true) item=__bbcode}
{* the HTML bbcode must be handled differently, it conflicts with the `source` toggle-button *}
{if $__bbcode->bbcodeTag === 'html'}
- buttonOptions['woltlabHtml'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{lang}{$__bbcode->buttonLabel}{/lang}' };
+ buttonOptions['woltlabHtml'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{$__bbcode->getButtonLabel()}' };
buttons.push('woltlabHtml');
customButtons.push('woltlabHtml');
{else}
- buttonOptions['{$__bbcode->bbcodeTag}'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{lang}{$__bbcode->buttonLabel}{/lang}' };
+ buttonOptions['{$__bbcode->bbcodeTag}'] = { icon: '{$__bbcode->wysiwygIcon}', title: '{$__bbcode->getButtonLabel()}' };
buttons.push('{$__bbcode->bbcodeTag}');
customButtons.push('{$__bbcode->bbcodeTag}');
{/if}
return $this->bbcodeTag;
}
+ /**
+ * Returns the button label in the active user's language.
+ *
+ * @return string
+ * @since 5.2
+ */
+ public function getButtonLabel() {
+ return WCF::getLanguage()->get($this->buttonLabel);
+ }
+
/**
* Returns BBCode object with the given tag.
*
* @property-read integer $isDisabled is `1` if the captcha question is disabled and thus not offered to answer, otherwise `0`
*/
class CaptchaQuestion extends DatabaseObject {
+ /**
+ * Returns the question in the active user's language.
+ *
+ * @return string
+ * @since 5.2
+ */
+ public function getQuestion() {
+ return WCF::getLanguage()->get($this->question);
+ }
+
/**
* Returns true if the given user input is an answer to this question.
*
namespace wcf\data\cronjob;
use wcf\data\DatabaseObject;
use wcf\data\TDatabaseObjectOptions;
+use wcf\system\WCF;
use wcf\util\CronjobUtil;
/**
public function canBeDisabled() {
return $this->canBeDisabled;
}
+
+ /**
+ * Returns the cronjob description in the active user's language.
+ *
+ * @return string
+ * @since 5.2
+ */
+ public function getDescription() {
+ return WCF::getLanguage()->get($this->description);
+ }
}
<?php
namespace wcf\data\custom\option;
+use wcf\data\ITitledObject;
use wcf\data\language\Language;
use wcf\data\option\Option;
use wcf\system\bbcode\MessageParser;
* @property-read integer $isDisabled is `1` if the option is disabled, otherwise `0`
* @property-read integer $originIsSystem is `1` if the option has been delivered by a package, otherwise `0` (i.e. the option has been created in the ACP)
*/
-abstract class CustomOption extends Option {
+abstract class CustomOption extends Option implements ITitledObject {
/**
* option value
* @var string
*/
protected $optionValue = '';
+ /**
+ * @inheritDoc
+ * @since 5.2
+ */
+ public function getTitle() {
+ return WCF::getLanguage()->get($this->optionTitle);
+ }
+
+ /**
+ * Returns the option description in the active user's language.
+ *
+ * @return string
+ * @since 5.2
+ */
+ public function getDescription() {
+ return WCF::getLanguage()->get($this->optionDescription);
+ }
+
/**
* Returns true if the option is visible
*
<?php
namespace wcf\data\menu;
use wcf\data\box\Box;
+use wcf\data\ITitledObject;
use wcf\data\menu\item\MenuItemNodeTree;
use wcf\data\DatabaseObject;
use wcf\system\WCF;
* @property-read integer $originIsSystem is `1` if the menu has been delivered by a package, otherwise `0` (if the menu has been created by an admin in the ACP)
* @property-read integer $packageID id of the package the which delivers the menu or `1` if it has been created in the ACP
*/
-class Menu extends DatabaseObject {
+class Menu extends DatabaseObject implements ITitledObject {
/**
* menu item node tree
* @var MenuItemNodeTree
}
/**
- * Returns the title for the rendered version of this menu.
- *
- * @return string
+ * @inheritDoc
+ * @since 5.2
*/
public function getTitle() {
return WCF::getLanguage()->get($this->title);
<?php
namespace wcf\data\menu\item;
+use wcf\data\ITitledObject;
use wcf\data\page\Page;
use wcf\data\page\PageCache;
use wcf\data\DatabaseObject;
* @property-read integer $originIsSystem is `1` if the menu item has been delivered by a package, otherwise `0` (if the menu item has been created by an admin in the ACP)
* @property-read integer $packageID id of the package the which delivers the menu item or `1` if it has been created in the ACP
*/
-class MenuItem extends DatabaseObject {
+class MenuItem extends DatabaseObject implements ITitledObject {
/**
* @var IMenuPageHandler
*/
*/
protected $page;
+ /**
+ * @inheritDoc
+ * @since 5.2
+ */
+ public function getTitle() {
+ return WCF::getLanguage()->get($this->title);
+ }
+
/**
* Returns true if the active user can delete this menu item.
*
return $this->getName();
}
+ /**
+ * Returns the description of this package in the active user's language.
+ *
+ * @return string
+ * @since 5.2
+ */
+ public function getDescription() {
+ return WCF::getLanguage()->get($this->packageDescription);
+ }
+
/**
* Returns the abbreviation of the package name.
*
<?php
namespace wcf\data\smiley;
use wcf\data\DatabaseObject;
+use wcf\data\ITitledObject;
use wcf\system\WCF;
use wcf\util\StringUtil;
* @property-read integer|null $categoryID id of the category the smiley belongs to or `null` if it belongs to the default category
* @property-read string $smileyPath path to the smiley file relative to wcf's default path
* @property-read string $smileyPath2x path to the smiley file relative to wcf's default path (2x version)
- * @property-read string $smileyTitle title of the smiley
+ * @property-read string $smileyTitle title of the smiley or name of language item that contains the title
* @property-read string $smileyCode code used for displaying the smiley
* @property-read string $aliases alternative codes used for displaying the smiley
* @property-read integer $showOrder position of the smiley in relation to the other smileys in the same category
*/
-class Smiley extends DatabaseObject {
+class Smiley extends DatabaseObject implements ITitledObject {
protected $height;
public $smileyCodes;
+ /**
+ * @inheritDoc
+ * @since 5.2
+ */
+ public function getTitle() {
+ return WCF::getLanguage()->get($this->smileyTitle);
+ }
+
/**
* Returns the url to this smiley.
*
return WCF::getLanguage()->get($this->groupName);
}
+ /**
+ * Returns the user group description in the active user's language.
+ *
+ * @return string
+ * @since 5.2
+ */
+ public function getDescription() {
+ return WCF::getLanguage()->get($this->groupDescription);
+ }
+
/**
* The `Everyone`, `Guests` and `Users` group can never be mentioned.
*
<?php
namespace wcf\data\user\menu\item;
+use wcf\data\ITitledObject;
use wcf\data\ProcessibleDatabaseObject;
use wcf\system\menu\user\DefaultUserMenuItemProvider;
use wcf\system\menu\user\IUserMenuItemProvider;
* @property-read string $className name of the class implementing the user menu item provider interface or empty if there is no specific user menu item provider
* @property-read string $iconClassName FontAwesome CSS class name for user menu items on the first level
*/
-class UserMenuItem extends ProcessibleDatabaseObject implements ITreeMenuItem {
+class UserMenuItem extends ProcessibleDatabaseObject implements ITitledObject, ITreeMenuItem {
/**
* @inheritDoc
*/
return LinkHandler::getInstance()->getLink($this->controller, ['application' => $this->application], $this->menuItemLink);
}
+ /**
+ * @inheritDoc
+ * @since 5.2
+ */
+ public function getTitle() {
+ return WCF::getLanguage()->get($this->menuItem);
+ }
+
/**
* Returns application abbreviation.
*
<?php
namespace wcf\data\user\rank;
use wcf\data\DatabaseObject;
+use wcf\data\ITitledObject;
use wcf\system\WCF;
use wcf\util\StringUtil;
* @property-read integer $requiredGender numeric representation of the user's gender required for the user rank (see `UserProfile::GENDER_*` constants) or 0 if no specific gender is required
* @property-read integer $hideTitle hides the generic title of the rank, but not custom titles, `0` to show the title at all times
*/
-class UserRank extends DatabaseObject {
+class UserRank extends DatabaseObject implements ITitledObject {
/**
* Returns the image of this user rank.
*
return '';
}
+ /**
+ * @inheritDoc
+ * @since 5.2
+ */
+ public function getTitle() {
+ return WCF::getLanguage()->get($this->rankTitle);
+ }
+
/**
* Returns true if the generic rank title should be displayed.
*
<item name="wcf.acp.captcha.question.answers"><![CDATA[Antworten]]></item>
<item name="wcf.acp.captcha.question.answers.description"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Gib{else}Geben Sie{/if} pro Zeile eine mögliche Antwort ein. Antworten, die mit „~“ beginnen und enden, werden als reguläre Ausdrücke interpretiert.]]></item>
<item name="wcf.acp.captcha.question.answers.error.invalidRegex"><![CDATA[Der reguläre Ausdruck „{$invalidRegex}“ ist ungültig.]]></item>
- <item name="wcf.acp.captcha.question.delete.confirmMessage"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Frage <span class="confirmationObject">{$question->question|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.captcha.question.delete.confirmMessage"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Frage <span class="confirmationObject">{$question->getQuestion()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.captcha.question.edit"><![CDATA[Captcha-Frage bearbeiten]]></item>
<item name="wcf.acp.captcha.question.isDisabled"><![CDATA[Frage deaktivieren]]></item>
<item name="wcf.acp.captcha.question.list"><![CDATA[Captcha-Fragen]]></item>
<item name="wcf.acp.cronjob.execute"><![CDATA[Cronjob jetzt ausführen]]></item>
<item name="wcf.acp.cronjob.className.error.doesNotExist"><![CDATA[Eine Klasse mit dem angegebenen Namen existiert nicht.]]></item>
<item name="wcf.acp.cronjob.timing.error.invalid"><![CDATA[Das Zeitformat ist ungültig.]]></item>
- <item name="wcf.acp.cronjob.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} den Cronjob <span class="confirmationObject">{$cronjob->description|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.cronjob.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} den Cronjob <span class="confirmationObject">{$cronjob->getDescription()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.cronjob.log"><![CDATA[Protokoll der ausgeführten Cronjobs]]></item>
<item name="wcf.acp.cronjob.log.clear"><![CDATA[Protokoll leeren]]></item>
<item name="wcf.acp.cronjob.log.clear.confirm"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} alle Protokoll-Einträge wirklich löschen?]]></item>
</category>
<category name="wcf.acp.group">
<item name="wcf.acp.group.add"><![CDATA[Benutzergruppe hinzufügen]]></item>
- <item name="wcf.acp.group.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Benutzergruppe <span class="confirmationObject">{$group->groupName|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.group.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Benutzergruppe <span class="confirmationObject">{$group->getTitle()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.group.edit"><![CDATA[Benutzergruppe bearbeiten]]></item>
<item name="wcf.acp.group.option.editingOption"><![CDATA[Benutzergruppeneinstellung bearbeiten]]></item>
<item name="wcf.acp.group.edit.warning.selfIsMember"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Du bist{else}Sie sind{/if} Mitglied dieser Benutzergruppe! Änderungen an den Zugriffsrechten dieser Benutzergruppe können dazu führen, dass {if LANGUAGE_USE_INFORMAL_VARIANT}du{else}Sie{/if} aus der Administrationsoberfläche ausgeschlossen {if LANGUAGE_USE_INFORMAL_VARIANT}wirst{else}werden{/if}. Bitte {if LANGUAGE_USE_INFORMAL_VARIANT}sei{else}seien Sie{/if} entsprechend vorsichtig!]]></item>
<item name="wcf.acp.label.group"><![CDATA[Labelgruppe]]></item>
<item name="wcf.acp.label.group.add"><![CDATA[Labelgruppe hinzufügen]]></item>
<item name="wcf.acp.label.group.category.connect"><![CDATA[Verfügbarkeit]]></item>
- <item name="wcf.acp.label.group.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Labelgruppe <span class="confirmationObject">{$group->groupName|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.label.group.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Labelgruppe <span class="confirmationObject">{$group->getTitle()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.label.group.edit"><![CDATA[Labelgruppe bearbeiten]]></item>
<item name="wcf.acp.label.group.error.invalid"><![CDATA[Die gewählte Labelgruppe ist ungültig.]]></item>
<item name="wcf.acp.label.group.forceSelection"><![CDATA[Label aus dieser Gruppe muss zwingend ausgewählt werden]]></item>
<item name="wcf.acp.menu.edit"><![CDATA[Menü bearbeiten]]></item>
<item name="wcf.acp.menu.list"><![CDATA[Menüs]]></item>
<item name="wcf.acp.menu.item.add"><![CDATA[Menüpunkt hinzufügen]]></item>
- <item name="wcf.acp.menu.item.delete.confirmMessage"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} den Menüpunkt <span class="confirmationObject">{$menuItemNode->title|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.menu.item.delete.confirmMessage"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} den Menüpunkt <span class="confirmationObject">{$menuItemNode->getTitle()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.menu.item.edit"><![CDATA[Menüpunkt bearbeiten]]></item>
<item name="wcf.acp.menu.item.externalURL"><![CDATA[Externe URL]]></item>
<item name="wcf.acp.menu.item.isDisabled"><![CDATA[Menüpunkt deaktivieren]]></item>
<item name="wcf.acp.customOption.edit"><![CDATA[Eingabefeld bearbeiten]]></item>
<item name="wcf.acp.customOption.error.validationFailed"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Du hast{else}Sie haben{/if} einen ungültigen Inhalt eingegeben.]]></item>
<item name="wcf.acp.customOption.showOrder"><![CDATA[Reihenfolge]]></item>
- <item name="wcf.acp.customOption.delete.confirmMessage"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} das Eingabefeld <span class="confirmationObject">{$option->optionTitle|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.customOption.delete.confirmMessage"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} das Eingabefeld <span class="confirmationObject">{$option->getTitle()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.customOption.defaultValue"><![CDATA[Standardwert]]></item>
<item name="wcf.acp.customOption.defaultValue.description"><![CDATA[Wert, der beim erstmaligen Ausfüllen als Standard vorgegeben ist.]]></item>
<item name="wcf.acp.customOption.typeData"><![CDATA[Eigenschaften]]></item>
<item name="wcf.acp.package.error.sql.dropTable.description"><![CDATA[Die oben genannten Tabellen existieren bereits und werden beim Fortfahren der Installation entfernt. Alle Daten dieser Tabellen gehen unwiderruflich verloren.]]></item>
<item name="wcf.acp.package.error.uniqueAlreadyInstalled"><![CDATA[Dieses Paket ist bereits installiert und kann nicht mehrfach installiert werden.]]></item>
<item name="wcf.acp.package.error.noValidInstall"><![CDATA[Das angegebene Paket lässt keine Neuinstallation zu.]]></item>
- <item name="wcf.acp.package.error.noValidUpdate"><![CDATA[Paket „{$package->packageName|language}“ kann mit dem angegebenen Archiv nicht aktualisiert werden.]]></item>
+ <item name="wcf.acp.package.error.noValidUpdate"><![CDATA[Paket „{$package->getName()}“ kann mit dem angegebenen Archiv nicht aktualisiert werden.]]></item>
<item name="wcf.acp.package.identifier"><![CDATA[Bezeichner]]></item>
<item name="wcf.acp.package.information.properties"><![CDATA[Eigenschaften]]></item>
<item name="wcf.acp.package.information.title"><![CDATA[Informationen]]></item>
</category>
<category name="wcf.acp.smiley">
<item name="wcf.acp.smiley.list"><![CDATA[Smileys]]></item>
- <item name="wcf.acp.smiley.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} das Smiley <span class="confirmationObject">{$smiley->smileyTitle|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.smiley.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} das Smiley <span class="confirmationObject">{$smiley->getTitle()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.smiley.add"><![CDATA[Smiley hinzufügen]]></item>
<item name="wcf.acp.smiley.edit"><![CDATA[Smiley bearbeiten]]></item>
<item name="wcf.acp.smiley.title"><![CDATA[Titel]]></item>
<item name="wcf.acp.user.rank.cssClassName.description"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Du kannst{else}Sie können{/if} aus den vorgegebenen Darstellungen wählen oder eine eigene Darstellung durch Angabe einer <abbr title="Cascading Style Sheets">CSS</abbr>-Klasse nutzen.]]></item>
<item name="wcf.acp.user.rank.cssClassName.error.invalid"><![CDATA[Die gewählte CSS-Klasse ist ungültig.]]></item>
<item name="wcf.acp.user.rank.currentImage"><![CDATA[Aktuelle Ranggrafik]]></item>
- <item name="wcf.acp.user.rank.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} den Benutzerrang <span class="confirmationObject">{$userRank->rankTitle|language}</span> wirklich löschen?]]></item>
+ <item name="wcf.acp.user.rank.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} den Benutzerrang <span class="confirmationObject">{$userRank->getTitle()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.user.rank.edit"><![CDATA[Benutzerrang bearbeiten]]></item>
<item name="wcf.acp.user.rank.hideTitle"><![CDATA[Rangbezeichnung ausblenden]]></item>
<item name="wcf.acp.user.rank.hideTitle.description"><![CDATA[Es wird nur die Ranggrafik angezeigt. Dies gilt nicht, wenn der Benutzer einen individuellen Titel eingestellt hat.]]></item>
<item name="wcf.acp.captcha.question.answers"><![CDATA[Answers]]></item>
<item name="wcf.acp.captcha.question.answers.description"><![CDATA[Answers beginning and ending with “~” will be interpreted as regular expressions. Enter one answer per line.]]></item>
<item name="wcf.acp.captcha.question.answers.error.invalidRegex"><![CDATA[The regular expression “{$invalidRegex}” is invalid.]]></item>
- <item name="wcf.acp.captcha.question.delete.confirmMessage"><![CDATA[Do you really want to delete the question “{$question->question|language}”?]]></item>
+ <item name="wcf.acp.captcha.question.delete.confirmMessage"><![CDATA[Do you really want to delete the question “{$question->getQuestion()}”?]]></item>
<item name="wcf.acp.captcha.question.edit"><![CDATA[Edit Captcha Question]]></item>
<item name="wcf.acp.captcha.question.isDisabled"><![CDATA[Disable Captcha Question]]></item>
<item name="wcf.acp.captcha.question.list"><![CDATA[Captcha Questions]]></item>
<item name="wcf.acp.cronjob.execute"><![CDATA[Run Cronjob]]></item>
<item name="wcf.acp.cronjob.className.error.doesNotExist"><![CDATA[Unable to find the specified class.]]></item>
<item name="wcf.acp.cronjob.timing.error.invalid"><![CDATA[Invalid time format.]]></item>
- <item name="wcf.acp.cronjob.delete.sure"><![CDATA[Do you really want to delete the cronjob <span class="confirmationObject">{$cronjob->description|language}</span>?]]></item>
+ <item name="wcf.acp.cronjob.delete.sure"><![CDATA[Do you really want to delete the cronjob <span class="confirmationObject">{$cronjob->getDescription()}</span>?]]></item>
<item name="wcf.acp.cronjob.log"><![CDATA[Cronjob Log]]></item>
<item name="wcf.acp.cronjob.log.clear"><![CDATA[Clear Protocol]]></item>
<item name="wcf.acp.cronjob.log.clear.confirm"><![CDATA[Do you really want to clear the cronjob log?]]></item>
</category>
<category name="wcf.acp.group">
<item name="wcf.acp.group.add"><![CDATA[Add User Group]]></item>
- <item name="wcf.acp.group.delete.sure"><![CDATA[Do you really want to delete the user group <span class="confirmationObject">{$group->groupName|language}</span>?]]></item>
+ <item name="wcf.acp.group.delete.sure"><![CDATA[Do you really want to delete the user group <span class="confirmationObject">{$group->getTitle()}</span>?]]></item>
<item name="wcf.acp.group.edit"><![CDATA[Edit User Group]]></item>
<item name="wcf.acp.group.option.editingOption"><![CDATA[Edit User Group Option]]></item>
<item name="wcf.acp.group.edit.warning.selfIsMember"><![CDATA[Warning! You are a member of this user group, any changes could result in yourself being locked out of the Administration Control Panel.]]></item>
<item name="wcf.acp.label.group"><![CDATA[Label Group]]></item>
<item name="wcf.acp.label.group.add"><![CDATA[Add Label Group]]></item>
<item name="wcf.acp.label.group.category.connect"><![CDATA[Availability]]></item>
- <item name="wcf.acp.label.group.delete.sure"><![CDATA[Do you really want to delete the label group <span class="confirmationObject">{$group->groupName|language}</span>?]]></item>
+ <item name="wcf.acp.label.group.delete.sure"><![CDATA[Do you really want to delete the label group <span class="confirmationObject">{$group->getTitle()}</span>?]]></item>
<item name="wcf.acp.label.group.edit"><![CDATA[Edit Label Group]]></item>
<item name="wcf.acp.label.group.error.invalid"><![CDATA[The selected label group is invalid.]]></item>
<item name="wcf.acp.label.group.forceSelection"><![CDATA[Force selection of a label]]></item>
<item name="wcf.acp.menu.edit"><![CDATA[Edit Menu]]></item>
<item name="wcf.acp.menu.list"><![CDATA[Menus]]></item>
<item name="wcf.acp.menu.item.add"><![CDATA[Add Menu Item]]></item>
- <item name="wcf.acp.menu.item.delete.confirmMessage"><![CDATA[Do you really want to delete the menu item <span class="confirmationObject">{$menuItemNode->title|language}</span>?]]></item>
+ <item name="wcf.acp.menu.item.delete.confirmMessage"><![CDATA[Do you really want to delete the menu item <span class="confirmationObject">{$menuItemNode->getTitle()}</span>?]]></item>
<item name="wcf.acp.menu.item.edit"><![CDATA[Edit Menu Item]]></item>
<item name="wcf.acp.menu.item.externalURL"><![CDATA[External URL]]></item>
<item name="wcf.acp.menu.item.isDisabled"><![CDATA[Disable menu item]]></item>
<item name="wcf.acp.customOption.edit"><![CDATA[Edit Option Field]]></item>
<item name="wcf.acp.customOption.error.validationFailed"><![CDATA[You have entered an invalid value.]]></item>
<item name="wcf.acp.customOption.showOrder"><![CDATA[Display Order]]></item>
- <item name="wcf.acp.customOption.delete.confirmMessage"><![CDATA[Do you really want to delete the option field <span class="confirmationObject">{$option->optionTitle|language}</span>?]]></item>
+ <item name="wcf.acp.customOption.delete.confirmMessage"><![CDATA[Do you really want to delete the option field <span class="confirmationObject">{$option->getTitle()}</span>?]]></item>
<item name="wcf.acp.customOption.defaultValue"><![CDATA[Default Value]]></item>
<item name="wcf.acp.customOption.defaultValue.description"><![CDATA[Default option value suggested on initial request.]]></item>
<item name="wcf.acp.customOption.typeData"><![CDATA[Properties]]></item>
<item name="wcf.acp.package.error.sql.dropTable.description"><![CDATA[The tables above already exist and will be removed during the installation. Any contained data will be lost.]]></item>
<item name="wcf.acp.package.error.uniqueAlreadyInstalled"><![CDATA[This package is already installed.]]></item>
<item name="wcf.acp.package.error.noValidInstall"><![CDATA[The selected package does not support an installation.]]></item>
- <item name="wcf.acp.package.error.noValidUpdate"><![CDATA[Package “{$package->packageName|language}” cannot be updated using the selected archive.]]></item>
+ <item name="wcf.acp.package.error.noValidUpdate"><![CDATA[Package “{$package->getName()}” cannot be updated using the selected archive.]]></item>
<item name="wcf.acp.package.identifier"><![CDATA[Identifier]]></item>
<item name="wcf.acp.package.information.properties"><![CDATA[Properties]]></item>
<item name="wcf.acp.package.information.title"><![CDATA[Details]]></item>
</category>
<category name="wcf.acp.smiley">
<item name="wcf.acp.smiley.list"><![CDATA[Smilies]]></item>
- <item name="wcf.acp.smiley.delete.sure"><![CDATA[Do you really want to delete the smiley <span class="confirmationObject">{$smiley->smileyTitle|language}</span>?]]></item>
+ <item name="wcf.acp.smiley.delete.sure"><![CDATA[Do you really want to delete the smiley <span class="confirmationObject">{$smiley->getTitle()}</span>?]]></item>
<item name="wcf.acp.smiley.add"><![CDATA[Add Smiley]]></item>
<item name="wcf.acp.smiley.edit"><![CDATA[Edit Smiley]]></item>
<item name="wcf.acp.smiley.title"><![CDATA[Title]]></item>
<item name="wcf.acp.user.rank.cssClassName.description"><![CDATA[You can select a predefined appearance or provide your own <abbr title="Cascading Style Sheets">CSS</abbr> class name.]]></item>
<item name="wcf.acp.user.rank.cssClassName.error.invalid"><![CDATA[The entered CSS class name is invalid.]]></item>
<item name="wcf.acp.user.rank.currentImage"><![CDATA[Current Rank Image]]></item>
- <item name="wcf.acp.user.rank.delete.sure"><![CDATA[Do you really want to delete the user rank <span class="confirmationObject">{$userRank->rankTitle|language}</span>?]]></item>
+ <item name="wcf.acp.user.rank.delete.sure"><![CDATA[Do you really want to delete the user rank <span class="confirmationObject">{$userRank->getTitle()}</span>?]]></item>
<item name="wcf.acp.user.rank.edit"><![CDATA[Edit User Rank]]></item>
<item name="wcf.acp.user.rank.hideTitle"><![CDATA[Hide title]]></item>
<item name="wcf.acp.user.rank.hideTitle.description"><![CDATA[Hides the title of this rank. Does not work for users that have an individual title set.]]></item>