<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.comment.add': '{lang}wcf.comment.add{/lang}',
- 'wcf.comment.button.response.add': '{lang}wcf.comment.button.response.add{/lang}',
- 'wcf.comment.delete.confirmMessage': '{lang}wcf.comment.delete.confirmMessage{/lang}',
- 'wcf.comment.description': '{lang}wcf.comment.description{/lang}',
- 'wcf.comment.guestDialog.title': '{lang}wcf.comment.guestDialog.title{/lang}',
- 'wcf.comment.more': '{lang}wcf.comment.more{/lang}',
- 'wcf.comment.response.add': '{lang}wcf.comment.response.add{/lang}',
- 'wcf.comment.response.more': '{lang}wcf.comment.response.more{/lang}',
- 'wcf.message.error.editorAlreadyInUse': '{lang}wcf.message.error.editorAlreadyInUse{/lang}',
- 'wcf.moderation.report.reportContent': '{lang}wcf.moderation.report.reportContent{/lang}',
- 'wcf.moderation.report.success': '{lang}wcf.moderation.report.success{/lang}'
+ 'wcf.comment.add': '{jslang}wcf.comment.add{/jslang}',
+ 'wcf.comment.button.response.add': '{jslang}wcf.comment.button.response.add{/jslang}',
+ 'wcf.comment.delete.confirmMessage': '{jslang}wcf.comment.delete.confirmMessage{/jslang}',
+ 'wcf.comment.description': '{jslang}wcf.comment.description{/jslang}',
+ 'wcf.comment.guestDialog.title': '{jslang}wcf.comment.guestDialog.title{/jslang}',
+ 'wcf.comment.more': '{jslang}wcf.comment.more{/jslang}',
+ 'wcf.comment.response.add': '{jslang}wcf.comment.response.add{/jslang}',
+ 'wcf.comment.response.more': '{jslang}wcf.comment.response.more{/jslang}',
+ 'wcf.message.error.editorAlreadyInUse': '{jslang}wcf.message.error.editorAlreadyInUse{/jslang}',
+ 'wcf.moderation.report.reportContent': '{jslang}wcf.moderation.report.reportContent{/jslang}',
+ 'wcf.moderation.report.success': '{jslang}wcf.moderation.report.success{/jslang}'
});
new {if $commentHandlerClass|isset}{@$commentHandlerClass}{else}WCF.Comment.Handler{/if}('{@$commentContainerID}');
<script data-relocate="true">
require(['Dom/Util', 'Language', 'WoltLabSuite/Core/Form/Builder/Field/Controller/Label'], function(DomUtil, Language, FormBuilderFieldLabel) {
Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
- 'wcf.label.withoutSelection': '{lang}wcf.label.withoutSelection{/lang}'
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
+ 'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
});
new FormBuilderFieldLabel(
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.poll.button.addOption': '{lang}wcf.poll.button.addOption{/lang}',
- 'wcf.poll.button.removeOption': '{lang}wcf.poll.button.removeOption{/lang}'
+ 'wcf.poll.button.addOption': '{jslang}wcf.poll.button.addOption{/jslang}',
+ 'wcf.poll.button.removeOption': '{jslang}wcf.poll.button.removeOption{/jslang}'
});
new WCF.Poll.Management('pollOptionContainer', [ {implode from=$pollOptions item=pollOption}{ optionID: {@$pollOption[optionID]}, optionValue: '{$pollOption[optionValue]|encodeJS}' }{/implode} ], {@POLL_MAX_OPTIONS});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.poll.button.addOption': '{lang}wcf.poll.button.addOption{/lang}',
- 'wcf.poll.button.removeOption': '{lang}wcf.poll.button.removeOption{/lang}',
- 'wcf.poll.endTime.error.invalid': '{lang}wcf.poll.endTime.error.invalid{/lang}',
- 'wcf.poll.maxVotes.error.invalid': '{lang}wcf.poll.maxVotes.error.invalid{/lang}'
+ 'wcf.poll.button.addOption': '{jslang}wcf.poll.button.addOption{/jslang}',
+ 'wcf.poll.button.removeOption': '{jslang}wcf.poll.button.removeOption{/jslang}',
+ 'wcf.poll.endTime.error.invalid': '{jslang}wcf.poll.endTime.error.invalid{/jslang}',
+ 'wcf.poll.maxVotes.error.invalid': '{jslang}wcf.poll.maxVotes.error.invalid{/jslang}'
});
new WCF.Poll.Management(
{event name='fields'}
</div>
-{/if}
\ No newline at end of file
+{/if}
WCF.Language.addObject({
- 'wcf.message.quote.insertAllQuotes': '{lang}wcf.message.quote.insertAllQuotes{/lang}',
- 'wcf.message.quote.insertSelectedQuotes': '{lang}wcf.message.quote.insertSelectedQuotes{/lang}',
- 'wcf.message.quote.manageQuotes': '{lang}wcf.message.quote.manageQuotes{/lang}',
- 'wcf.message.quote.quoteSelected': '{lang}wcf.message.quote.quoteSelected{/lang}',
- 'wcf.message.quote.quoteAndReply': '{lang}wcf.message.quote.quoteAndReply{/lang}',
- 'wcf.message.quote.removeAllQuotes': '{lang}wcf.message.quote.removeAllQuotes{/lang}',
- 'wcf.message.quote.removeSelectedQuotes': '{lang}wcf.message.quote.removeSelectedQuotes{/lang}',
- 'wcf.message.quote.showQuotes': '{lang __literal=true}wcf.message.quote.showQuotes{/lang}'
+ 'wcf.message.quote.insertAllQuotes': '{jslang}wcf.message.quote.insertAllQuotes{/jslang}',
+ 'wcf.message.quote.insertSelectedQuotes': '{jslang}wcf.message.quote.insertSelectedQuotes{/jslang}',
+ 'wcf.message.quote.manageQuotes': '{jslang}wcf.message.quote.manageQuotes{/jslang}',
+ 'wcf.message.quote.quoteSelected': '{jslang}wcf.message.quote.quoteSelected{/jslang}',
+ 'wcf.message.quote.quoteAndReply': '{jslang}wcf.message.quote.quoteAndReply{/jslang}',
+ 'wcf.message.quote.removeAllQuotes': '{jslang}wcf.message.quote.removeAllQuotes{/jslang}',
+ 'wcf.message.quote.removeSelectedQuotes': '{jslang}wcf.message.quote.removeSelectedQuotes{/jslang}',
+ 'wcf.message.quote.showQuotes': '{jslang __literal=true}wcf.message.quote.showQuotes{/jslang}'
});
{if !$wysiwygSelector|isset}{assign var=wysiwygSelector value=''}{/if}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
Language.addObject({
- 'wcf.global.filter.button.visibility': '{lang}wcf.global.filter.button.visibility{/lang}',
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.filter.visibility.activeOnly': '{lang}wcf.global.filter.visibility.activeOnly{/lang}',
- 'wcf.global.filter.visibility.highlightActive': '{lang}wcf.global.filter.visibility.highlightActive{/lang}',
- 'wcf.global.filter.visibility.showAll': '{lang}wcf.global.filter.visibility.showAll{/lang}'
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
});
new UiItemListFilter('{@$field->getPrefixedId()}_list');
<script data-relocate="true">
require(['Dom/Traverse', 'Dom/Util', 'Language', 'WoltLabSuite/Core/Ui/Poll/Editor'], function(DomTraverse, DomUtil, Language, UiPollEditor) {
Language.addObject({
- 'wcf.poll.button.addOption': '{lang}wcf.poll.button.addOption{/lang}',
- 'wcf.poll.button.removeOption': '{lang}wcf.poll.button.removeOption{/lang}',
- 'wcf.poll.maxVotes.error.invalid': '{lang}wcf.poll.maxVotes.error.invalid{/lang}'
+ 'wcf.poll.button.addOption': '{jslang}wcf.poll.button.addOption{/jslang}',
+ 'wcf.poll.button.removeOption': '{jslang}wcf.poll.button.removeOption{/jslang}',
+ 'wcf.poll.maxVotes.error.invalid': '{jslang}wcf.poll.maxVotes.error.invalid{/jslang}'
});
new UiPollEditor(
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
Language.addObject({
- 'wcf.global.filter.button.visibility': '{lang}wcf.global.filter.button.visibility{/lang}',
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.filter.visibility.activeOnly': '{lang}wcf.global.filter.visibility.activeOnly{/lang}',
- 'wcf.global.filter.visibility.highlightActive': '{lang}wcf.global.filter.visibility.highlightActive{/lang}',
- 'wcf.global.filter.visibility.showAll': '{lang}wcf.global.filter.visibility.showAll{/lang}'
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
});
new UiItemListFilter('{@$field->getPrefixedId()}_list');
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.attachment.upload.error.invalidExtension': '{lang}wcf.attachment.upload.error.invalidExtension{/lang}',
- 'wcf.attachment.upload.error.tooLarge': '{lang}wcf.attachment.upload.error.tooLarge{/lang}',
- 'wcf.attachment.upload.error.reachedLimit': '{lang}wcf.attachment.upload.error.reachedLimit{/lang}',
- 'wcf.attachment.upload.error.reachedRemainingLimit': '{lang}wcf.attachment.upload.error.reachedRemainingLimit{/lang}',
- 'wcf.attachment.upload.error.uploadFailed': '{lang}wcf.attachment.upload.error.uploadFailed{/lang}',
- 'wcf.attachment.upload.error.uploadPhpLimit': '{lang}wcf.attachment.upload.error.uploadPhpLimit{/lang}',
- 'wcf.attachment.insert': '{lang}wcf.attachment.insert{/lang}',
- 'wcf.attachment.insertAll': '{lang}wcf.attachment.insertAll{/lang}',
- 'wcf.attachment.insertFull': '{lang}wcf.attachment.insertFull{/lang}',
- 'wcf.attachment.insertThumbnail': '{lang}wcf.attachment.insertThumbnail{/lang}',
- 'wcf.attachment.delete.sure': '{lang}wcf.attachment.delete.sure{/lang}'
+ 'wcf.attachment.upload.error.invalidExtension': '{jslang}wcf.attachment.upload.error.invalidExtension{/jslang}',
+ 'wcf.attachment.upload.error.tooLarge': '{jslang}wcf.attachment.upload.error.tooLarge{/jslang}',
+ 'wcf.attachment.upload.error.reachedLimit': '{jslang}wcf.attachment.upload.error.reachedLimit{/jslang}',
+ 'wcf.attachment.upload.error.reachedRemainingLimit': '{jslang}wcf.attachment.upload.error.reachedRemainingLimit{/jslang}',
+ 'wcf.attachment.upload.error.uploadFailed': '{jslang}wcf.attachment.upload.error.uploadFailed{/jslang}',
+ 'wcf.attachment.upload.error.uploadPhpLimit': '{jslang}wcf.attachment.upload.error.uploadPhpLimit{/jslang}',
+ 'wcf.attachment.insert': '{jslang}wcf.attachment.insert{/jslang}',
+ 'wcf.attachment.insertAll': '{jslang}wcf.attachment.insertAll{/jslang}',
+ 'wcf.attachment.insertFull': '{jslang}wcf.attachment.insertFull{/jslang}',
+ 'wcf.attachment.insertThumbnail': '{jslang}wcf.attachment.insertThumbnail{/jslang}',
+ 'wcf.attachment.delete.sure': '{jslang}wcf.attachment.delete.sure{/jslang}'
});
new WCF.Attachment.Upload(
<script data-relocate="true">
require(['Language'], function (Language) {
Language.addObject({
- 'wcf.article.search': '{lang}wcf.article.search{/lang}',
- 'wcf.article.search.error.tooShort': '{lang}wcf.article.search.error.tooShort{/lang}',
- 'wcf.article.search.error.noResults': '{lang}wcf.article.search.error.noResults{/lang}',
- 'wcf.article.search.name': '{lang}wcf.article.search.name{/lang}',
- 'wcf.article.search.results': '{lang}wcf.article.search.results{/lang}',
- 'wcf.page.search': '{lang}wcf.page.search{/lang}',
- 'wcf.page.search.error.tooShort': '{lang}wcf.page.search.error.tooShort{/lang}',
- 'wcf.page.search.error.noResults': '{lang}wcf.page.search.error.noResults{/lang}',
- 'wcf.page.search.name': '{lang}wcf.page.search.name{/lang}',
- 'wcf.page.search.results': '{lang}wcf.page.search.results{/lang}',
+ 'wcf.article.search': '{jslang}wcf.article.search{/jslang}',
+ 'wcf.article.search.error.tooShort': '{jslang}wcf.article.search.error.tooShort{/jslang}',
+ 'wcf.article.search.error.noResults': '{jslang}wcf.article.search.error.noResults{/jslang}',
+ 'wcf.article.search.name': '{jslang}wcf.article.search.name{/jslang}',
+ 'wcf.article.search.results': '{jslang}wcf.article.search.results{/jslang}',
+ 'wcf.page.search': '{jslang}wcf.page.search{/jslang}',
+ 'wcf.page.search.error.tooShort': '{jslang}wcf.page.search.error.tooShort{/jslang}',
+ 'wcf.page.search.error.noResults': '{jslang}wcf.page.search.error.noResults{/jslang}',
+ 'wcf.page.search.name': '{jslang}wcf.page.search.name{/jslang}',
+ 'wcf.page.search.results': '{jslang}wcf.page.search.results{/jslang}',
});
})
</script>
<script data-relocate="true">
require(['Language'], function(Language) {
Language.addObject({
- 'wcf.global.preview': '{lang}wcf.global.preview{/lang}'
+ 'wcf.global.preview': '{jslang}wcf.global.preview{/jslang}'
});
new WCF.Message.DefaultPreview({
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acl.option.deny': '{lang}wcf.acl.option.deny{/lang}',
- 'wcf.acl.option.fullAccess': '{lang}wcf.acl.option.fullAccess{/lang}',
- 'wcf.acl.option.grant': '{lang}wcf.acl.option.grant{/lang}',
- 'wcf.acl.search.user.description': '{lang}wcf.acl.search.user.description{/lang}',
- 'wcf.acl.search.description': '{lang}wcf.acl.search.description{/lang}'
+ 'wcf.acl.option.deny': '{jslang}wcf.acl.option.deny{/jslang}',
+ 'wcf.acl.option.fullAccess': '{jslang}wcf.acl.option.fullAccess{/jslang}',
+ 'wcf.acl.option.grant': '{jslang}wcf.acl.option.grant{/jslang}',
+ 'wcf.acl.search.user.description': '{jslang}wcf.acl.search.user.description{/jslang}',
+ 'wcf.acl.search.description': '{jslang}wcf.acl.search.description{/jslang}'
});
});
-</script>
\ No newline at end of file
+</script>
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.moderation.report.reportContent': '{lang}wcf.moderation.report.reportContent{/lang}',
- 'wcf.moderation.report.success': '{lang}wcf.moderation.report.success{/lang}'
+ 'wcf.moderation.report.reportContent': '{jslang}wcf.moderation.report.reportContent{/jslang}',
+ 'wcf.moderation.report.success': '{jslang}wcf.moderation.report.success{/jslang}'
});
new WCF.Moderation.Report.Content('com.woltlab.wcf.article', '.jsReportArticle');
});
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/User/Search/Input', 'WoltLabSuite/Core/Acp/Ui/Article/InlineEditor'], function(Language, UiUserSearchInput, AcpUiArticleInlineEditor) {
Language.addObject({
- 'wcf.acp.article.i18n.source': '{lang}wcf.acp.article.i18n.source{/lang}',
- 'wcf.acp.article.i18n.toI18n.confirmMessage': '{lang}wcf.acp.article.i18n.toI18n.confirmMessage{/lang}',
- 'wcf.acp.article.i18n.fromI18n.confirmMessage': '{lang}wcf.acp.article.i18n.fromI18n.confirmMessage{/lang}',
- 'wcf.message.status.deleted': '{lang}wcf.message.status.deleted{/lang}',
+ 'wcf.acp.article.i18n.source': '{jslang}wcf.acp.article.i18n.source{/jslang}',
+ 'wcf.acp.article.i18n.toI18n.confirmMessage': '{jslang}wcf.acp.article.i18n.toI18n.confirmMessage{/jslang}',
+ 'wcf.acp.article.i18n.fromI18n.confirmMessage': '{jslang}wcf.acp.article.i18n.fromI18n.confirmMessage{/jslang}',
+ 'wcf.message.status.deleted': '{jslang}wcf.message.status.deleted{/jslang}',
});
new UiUserSearchInput(elBySel('input[name="username"]'));
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
});
{if !$labelGroups|empty}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Article/Add'], function(Language, AcpUiArticleAdd) {
Language.addObject({
- 'wcf.acp.article.add': '{lang}wcf.acp.article.add{/lang}'
+ 'wcf.acp.article.add': '{jslang}wcf.acp.article.add{/jslang}'
});
AcpUiArticleAdd.init('{link controller='ArticleAdd' encode=false}{literal}isMultilingual={$isMultilingual}{/literal}{if $categoryID}&categoryID={@$categoryID}{/if}{/link}');
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
- 'wcf.label.withoutSelection': '{lang}wcf.label.withoutSelection{/lang}'
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
+ 'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
});
new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true);
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.avatar.upload.error.invalidExtension': '{lang}wcf.user.avatar.upload.error.invalidExtension{/lang}',
- 'wcf.user.avatar.upload.error.tooSmall': '{lang}wcf.user.avatar.upload.error.tooSmall{/lang}',
- 'wcf.user.avatar.upload.error.tooLarge': '{lang}wcf.user.avatar.upload.error.tooLarge{/lang}',
- 'wcf.user.avatar.upload.error.uploadFailed': '{lang}wcf.user.avatar.upload.error.uploadFailed{/lang}',
- 'wcf.user.avatar.upload.error.badImage': '{lang}wcf.user.avatar.upload.error.badImage{/lang}',
- 'wcf.user.avatar.upload.success': '{lang}wcf.user.avatar.upload.success{/lang}'
+ 'wcf.user.avatar.upload.error.invalidExtension': '{jslang}wcf.user.avatar.upload.error.invalidExtension{/jslang}',
+ 'wcf.user.avatar.upload.error.tooSmall': '{jslang}wcf.user.avatar.upload.error.tooSmall{/jslang}',
+ 'wcf.user.avatar.upload.error.tooLarge': '{jslang}wcf.user.avatar.upload.error.tooLarge{/jslang}',
+ 'wcf.user.avatar.upload.error.uploadFailed': '{jslang}wcf.user.avatar.upload.error.uploadFailed{/jslang}',
+ 'wcf.user.avatar.upload.error.badImage': '{jslang}wcf.user.avatar.upload.error.badImage{/jslang}',
+ 'wcf.user.avatar.upload.success': '{jslang}wcf.user.avatar.upload.success{/jslang}'
});
{if !$__wcf->user->disableAvatar}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/User/Activity/Recent'], function (Language, UiUserActivityRecent) {
Language.addObject({
- 'wcf.user.recentActivity.more': '{lang}wcf.user.recentActivity.more{/lang}',
- 'wcf.user.recentActivity.noMoreEntries': '{lang}wcf.user.recentActivity.noMoreEntries{/lang}'
+ 'wcf.user.recentActivity.more': '{jslang}wcf.user.recentActivity.more{/jslang}',
+ 'wcf.user.recentActivity.noMoreEntries': '{jslang}wcf.user.recentActivity.noMoreEntries{/jslang}'
});
new UiUserActivityRecent('boxRecentActivity{@$boxID}');
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
- 'wcf.label.withoutSelection': '{lang}wcf.label.withoutSelection{/lang}'
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
+ 'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
});
new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true);
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.objectWatch.manageSubscription': '{lang}wcf.user.objectWatch.manageSubscription{/lang}'
+ 'wcf.user.objectWatch.manageSubscription': '{jslang}wcf.user.objectWatch.manageSubscription{/jslang}'
});
new WCF.User.ObjectWatch.Subscribe();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Bbcode/Collapsible', 'WoltLabSuite/Core/Bbcode/Code'], function (Language, BbcodeCollapsible, BbcodeCode) {
Language.addObject({
- 'wcf.message.bbcode.code.copy': '{lang}wcf.message.bbcode.code.copy{/lang}',
- 'wcf.message.bbcode.code.copy.success': '{lang}wcf.message.bbcode.code.copy.success{/lang}'
+ 'wcf.message.bbcode.code.copy': '{jslang}wcf.message.bbcode.code.copy{/jslang}',
+ 'wcf.message.bbcode.code.copy.success': '{jslang}wcf.message.bbcode.code.copy.success{/jslang}'
});
BbcodeCollapsible.observe();
BbcodeCode.processAll();
<script>
require(['Language', 'WoltLabSuite/Core/Ui/Style/FontAwesome'], function (Language, UiStyleFontAwesome) {
Language.addObject({
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.fontAwesome.selectIcon': '{lang}wcf.global.fontAwesome.selectIcon{/lang}'
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.fontAwesome.selectIcon': '{jslang}wcf.global.fontAwesome.selectIcon{/jslang}'
});
UiStyleFontAwesome.setup({@$__wcf->getStyleHandler()->getIcons(true)});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.map.noLocationSuggestions': '{lang}wcf.map.noLocationSuggestions{/lang}',
- 'wcf.map.route.error.not_found': '{lang}wcf.map.route.error.not_found{/lang}',
- 'wcf.map.route.error.over_query_limit': '{lang}wcf.map.route.error.over_query_limit{/lang}',
- 'wcf.map.route.error.request_denied': '{lang}wcf.map.route.error.request_denied{/lang}',
- 'wcf.map.route.origin': '{lang}wcf.map.route.origin{/lang}',
- 'wcf.map.route.planner': '{lang}wcf.map.route.planner{/lang}',
- 'wcf.map.route.travelMode': '{lang}wcf.map.route.travelMode{/lang}',
- 'wcf.map.route.travelMode.bicycling': '{lang}wcf.map.route.travelMode.bicycling{/lang}',
- 'wcf.map.route.travelMode.driving': '{lang}wcf.map.route.travelMode.driving{/lang}',
- 'wcf.map.route.travelMode.transit': '{lang}wcf.map.route.travelMode.transit{/lang}',
- 'wcf.map.route.travelMode.walking': '{lang}wcf.map.route.travelMode.walking{/lang}',
- 'wcf.map.route.viewOnGoogleMaps': '{lang}wcf.map.route.viewOnGoogleMaps{/lang}',
- 'wcf.map.showLocationSuggestions': '{lang}wcf.map.showLocationSuggestions{/lang}',
- 'wcf.map.useLocationSuggestion': '{lang}wcf.map.useLocationSuggestion{/lang}'
+ 'wcf.map.noLocationSuggestions': '{jslang}wcf.map.noLocationSuggestions{/jslang}',
+ 'wcf.map.route.error.not_found': '{jslang}wcf.map.route.error.not_found{/jslang}',
+ 'wcf.map.route.error.over_query_limit': '{jslang}wcf.map.route.error.over_query_limit{/jslang}',
+ 'wcf.map.route.error.request_denied': '{jslang}wcf.map.route.error.request_denied{/jslang}',
+ 'wcf.map.route.origin': '{jslang}wcf.map.route.origin{/jslang}',
+ 'wcf.map.route.planner': '{jslang}wcf.map.route.planner{/jslang}',
+ 'wcf.map.route.travelMode': '{jslang}wcf.map.route.travelMode{/jslang}',
+ 'wcf.map.route.travelMode.bicycling': '{jslang}wcf.map.route.travelMode.bicycling{/jslang}',
+ 'wcf.map.route.travelMode.driving': '{jslang}wcf.map.route.travelMode.driving{/jslang}',
+ 'wcf.map.route.travelMode.transit': '{jslang}wcf.map.route.travelMode.transit{/jslang}',
+ 'wcf.map.route.travelMode.walking': '{jslang}wcf.map.route.travelMode.walking{/jslang}',
+ 'wcf.map.route.viewOnGoogleMaps': '{jslang}wcf.map.route.viewOnGoogleMaps{/jslang}',
+ 'wcf.map.showLocationSuggestions': '{jslang}wcf.map.showLocationSuggestions{/jslang}',
+ 'wcf.map.useLocationSuggestion': '{jslang}wcf.map.useLocationSuggestion{/jslang}'
});
WCF.Location.GoogleMaps.Settings.set({
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.jsGroupedUserList > li'));
new WCF.User.Action.Ignore($('.jsGroupedUserList > li'));
});
-</script>
\ No newline at end of file
+</script>
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.jsGroupedUserList > li'));
new WCF.User.Action.Ignore($('.jsGroupedUserList > li'));
});
-</script>
\ No newline at end of file
+</script>
<script data-relocate="true">
WCF.Language.addObject({
{* dummy language item to preserve compatibility with WCF 2.0, move this to headIncludeJavaScript *}
- 'wcf.global.error.title': '{lang}wcf.global.error.title{/lang}'
+ 'wcf.global.error.title': '{jslang}wcf.global.error.title{/jslang}'
{* DEPRECATED -- PLEASE USE javascriptLanguageImport@headIncludeJavaScript *}
{event name='javascriptLanguageImport'}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/BootstrapFrontend', 'User'], function(Language, BootstrapFrontend, User) {
Language.addObject({
- '__days': [ '{lang}wcf.date.day.sunday{/lang}', '{lang}wcf.date.day.monday{/lang}', '{lang}wcf.date.day.tuesday{/lang}', '{lang}wcf.date.day.wednesday{/lang}', '{lang}wcf.date.day.thursday{/lang}', '{lang}wcf.date.day.friday{/lang}', '{lang}wcf.date.day.saturday{/lang}' ],
- '__daysShort': [ '{lang}wcf.date.day.sun{/lang}', '{lang}wcf.date.day.mon{/lang}', '{lang}wcf.date.day.tue{/lang}', '{lang}wcf.date.day.wed{/lang}', '{lang}wcf.date.day.thu{/lang}', '{lang}wcf.date.day.fri{/lang}', '{lang}wcf.date.day.sat{/lang}' ],
- '__months': [ '{lang}wcf.date.month.january{/lang}', '{lang}wcf.date.month.february{/lang}', '{lang}wcf.date.month.march{/lang}', '{lang}wcf.date.month.april{/lang}', '{lang}wcf.date.month.may{/lang}', '{lang}wcf.date.month.june{/lang}', '{lang}wcf.date.month.july{/lang}', '{lang}wcf.date.month.august{/lang}', '{lang}wcf.date.month.september{/lang}', '{lang}wcf.date.month.october{/lang}', '{lang}wcf.date.month.november{/lang}', '{lang}wcf.date.month.december{/lang}' ],
- '__monthsShort': [ '{lang}wcf.date.month.short.jan{/lang}', '{lang}wcf.date.month.short.feb{/lang}', '{lang}wcf.date.month.short.mar{/lang}', '{lang}wcf.date.month.short.apr{/lang}', '{lang}wcf.date.month.short.may{/lang}', '{lang}wcf.date.month.short.jun{/lang}', '{lang}wcf.date.month.short.jul{/lang}', '{lang}wcf.date.month.short.aug{/lang}', '{lang}wcf.date.month.short.sep{/lang}', '{lang}wcf.date.month.short.oct{/lang}', '{lang}wcf.date.month.short.nov{/lang}', '{lang}wcf.date.month.short.dec{/lang}' ],
- 'wcf.clipboard.item.unmarkAll': '{lang}wcf.clipboard.item.unmarkAll{/lang}',
- 'wcf.clipboard.item.markAll': '{lang}wcf.clipboard.item.markAll{/lang}',
- 'wcf.clipboard.item.mark': '{lang}wcf.clipboard.item.mark{/lang}',
- 'wcf.date.relative.now': '{lang __literal=true}wcf.date.relative.now{/lang}',
- 'wcf.date.relative.minutes': '{capture assign=relativeMinutes}{lang __literal=true}wcf.date.relative.minutes{/lang}{/capture}{@$relativeMinutes|encodeJS}',
- 'wcf.date.relative.hours': '{capture assign=relativeHours}{lang __literal=true}wcf.date.relative.hours{/lang}{/capture}{@$relativeHours|encodeJS}',
- 'wcf.date.relative.pastDays': '{capture assign=relativePastDays}{lang __literal=true}wcf.date.relative.pastDays{/lang}{/capture}{@$relativePastDays|encodeJS}',
- 'wcf.date.dateFormat': '{"wcf.date.dateFormat"|language|encodeJS}',
- 'wcf.date.dateTimeFormat': '{lang}wcf.date.dateTimeFormat{/lang}',
- 'wcf.date.shortDateTimeFormat': '{lang}wcf.date.shortDateTimeFormat{/lang}',
- 'wcf.date.hour': '{lang}wcf.date.hour{/lang}',
- 'wcf.date.minute': '{lang}wcf.date.minute{/lang}',
- 'wcf.date.timeFormat': '{lang}wcf.date.timeFormat{/lang}',
- 'wcf.date.firstDayOfTheWeek': '{lang}wcf.date.firstDayOfTheWeek{/lang}',
- 'wcf.global.button.add': '{lang}wcf.global.button.add{/lang}',
- 'wcf.global.button.cancel': '{lang}wcf.global.button.cancel{/lang}',
- 'wcf.global.button.close': '{lang}wcf.global.button.close{/lang}',
- 'wcf.global.button.collapsible': '{lang}wcf.global.button.collapsible{/lang}',
- 'wcf.global.button.delete': '{lang}wcf.global.button.delete{/lang}',
- 'wcf.global.button.disable': '{lang}wcf.global.button.disable{/lang}',
- 'wcf.global.button.disabledI18n': '{lang}wcf.global.button.disabledI18n{/lang}',
- 'wcf.global.button.edit': '{lang}wcf.global.button.edit{/lang}',
- 'wcf.global.button.enable': '{lang}wcf.global.button.enable{/lang}',
- 'wcf.global.button.hide': '{lang}wcf.global.button.hide{/lang}',
- 'wcf.global.button.insert': '{lang}wcf.global.button.insert{/lang}',
- 'wcf.global.button.next': '{lang}wcf.global.button.next{/lang}',
- 'wcf.global.button.preview': '{lang}wcf.global.button.preview{/lang}',
- 'wcf.global.button.reset': '{lang}wcf.global.button.reset{/lang}',
- 'wcf.global.button.save': '{lang}wcf.global.button.save{/lang}',
- 'wcf.global.button.search': '{lang}wcf.global.button.search{/lang}',
- 'wcf.global.button.submit': '{lang}wcf.global.button.submit{/lang}',
- 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}',
- 'wcf.global.confirmation.cancel': '{lang}wcf.global.confirmation.cancel{/lang}',
- 'wcf.global.confirmation.confirm': '{lang}wcf.global.confirmation.confirm{/lang}',
- 'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}',
- 'wcf.global.decimalPoint': '{capture assign=decimalPoint}{lang}wcf.global.decimalPoint{/lang}{/capture}{$decimalPoint|encodeJS}',
- 'wcf.global.error.timeout': '{lang}wcf.global.error.timeout{/lang}',
- 'wcf.global.form.error.empty': '{lang}wcf.global.form.error.empty{/lang}',
- 'wcf.global.form.error.greaterThan': '{lang __literal=true}wcf.global.form.error.greaterThan{/lang}',
- 'wcf.global.form.error.lessThan': '{lang __literal=true}wcf.global.form.error.lessThan{/lang}',
- 'wcf.global.form.error.multilingual': '{lang}wcf.global.form.error.multilingual{/lang}',
- 'wcf.global.form.input.maxItems': '{lang}wcf.global.form.input.maxItems{/lang}',
- 'wcf.global.language.noSelection': '{lang}wcf.global.language.noSelection{/lang}',
- 'wcf.global.loading': '{lang}wcf.global.loading{/lang}',
- 'wcf.global.noSelection': '{lang}wcf.global.noSelection{/lang}',
- 'wcf.global.select': '{lang}wcf.global.select{/lang}',
- 'wcf.page.jumpTo': '{lang}wcf.page.jumpTo{/lang}',
- 'wcf.page.jumpTo.description': '{lang}wcf.page.jumpTo.description{/lang}',
- 'wcf.global.page.pagination': '{lang}wcf.global.page.pagination{/lang}',
- 'wcf.global.page.next': '{capture assign=pageNext}{lang}wcf.global.page.next{/lang}{/capture}{@$pageNext|encodeJS}',
- 'wcf.global.page.previous': '{capture assign=pagePrevious}{lang}wcf.global.page.previous{/lang}{/capture}{@$pagePrevious|encodeJS}',
- 'wcf.global.pageDirection': '{lang}wcf.global.pageDirection{/lang}',
- 'wcf.global.reason': '{lang}wcf.global.reason{/lang}',
- 'wcf.global.scrollUp': '{lang}wcf.global.scrollUp{/lang}',
- 'wcf.global.success': '{lang}wcf.global.success{/lang}',
- 'wcf.global.success.add': '{lang}wcf.global.success.add{/lang}',
- 'wcf.global.success.edit': '{lang}wcf.global.success.edit{/lang}',
- 'wcf.global.thousandsSeparator': '{capture assign=thousandsSeparator}{lang}wcf.global.thousandsSeparator{/lang}{/capture}{@$thousandsSeparator|encodeJS}',
- 'wcf.page.pagePosition': '{lang __literal=true}wcf.page.pagePosition{/lang}',
- 'wcf.style.changeStyle': '{lang}wcf.style.changeStyle{/lang}',
- 'wcf.user.activityPoint': '{lang}wcf.user.activityPoint{/lang}',
- 'wcf.user.panel.markAllAsRead': '{lang}wcf.user.panel.markAllAsRead{/lang}',
- 'wcf.user.panel.markAsRead': '{lang}wcf.user.panel.markAsRead{/lang}',
- 'wcf.user.panel.settings': '{lang}wcf.user.panel.settings{/lang}',
- 'wcf.user.panel.showAll': '{lang}wcf.user.panel.showAll{/lang}',
- 'wcf.menu.page': '{lang}wcf.menu.page{/lang}',
- 'wcf.menu.user': '{lang}wcf.menu.user{/lang}',
- 'wcf.global.button.showMenu': '{lang}wcf.global.button.showMenu{/lang}',
- 'wcf.global.button.hideMenu': '{lang}wcf.global.button.hideMenu{/lang}',
- 'wcf.date.datePicker': '{lang}wcf.date.datePicker{/lang}',
- 'wcf.date.datePicker.previousMonth': '{lang}wcf.date.datePicker.previousMonth{/lang}',
- 'wcf.date.datePicker.nextMonth': '{lang}wcf.date.datePicker.nextMonth{/lang}',
- 'wcf.date.datePicker.month': '{lang}wcf.date.datePicker.month{/lang}',
- 'wcf.date.datePicker.year': '{lang}wcf.date.datePicker.year{/lang}',
- 'wcf.date.datePicker.hour': '{lang}wcf.date.datePicker.hour{/lang}',
- 'wcf.date.datePicker.minute': '{lang}wcf.date.datePicker.minute{/lang}'
+ '__days': [ '{jslang}wcf.date.day.sunday{/jslang}', '{jslang}wcf.date.day.monday{/jslang}', '{jslang}wcf.date.day.tuesday{/jslang}', '{jslang}wcf.date.day.wednesday{/jslang}', '{jslang}wcf.date.day.thursday{/jslang}', '{jslang}wcf.date.day.friday{/jslang}', '{jslang}wcf.date.day.saturday{/jslang}' ],
+ '__daysShort': [ '{jslang}wcf.date.day.sun{/jslang}', '{jslang}wcf.date.day.mon{/jslang}', '{jslang}wcf.date.day.tue{/jslang}', '{jslang}wcf.date.day.wed{/jslang}', '{jslang}wcf.date.day.thu{/jslang}', '{jslang}wcf.date.day.fri{/jslang}', '{jslang}wcf.date.day.sat{/jslang}' ],
+ '__months': [ '{jslang}wcf.date.month.january{/jslang}', '{jslang}wcf.date.month.february{/jslang}', '{jslang}wcf.date.month.march{/jslang}', '{jslang}wcf.date.month.april{/jslang}', '{jslang}wcf.date.month.may{/jslang}', '{jslang}wcf.date.month.june{/jslang}', '{jslang}wcf.date.month.july{/jslang}', '{jslang}wcf.date.month.august{/jslang}', '{jslang}wcf.date.month.september{/jslang}', '{jslang}wcf.date.month.october{/jslang}', '{jslang}wcf.date.month.november{/jslang}', '{jslang}wcf.date.month.december{/jslang}' ],
+ '__monthsShort': [ '{jslang}wcf.date.month.short.jan{/jslang}', '{jslang}wcf.date.month.short.feb{/jslang}', '{jslang}wcf.date.month.short.mar{/jslang}', '{jslang}wcf.date.month.short.apr{/jslang}', '{jslang}wcf.date.month.short.may{/jslang}', '{jslang}wcf.date.month.short.jun{/jslang}', '{jslang}wcf.date.month.short.jul{/jslang}', '{jslang}wcf.date.month.short.aug{/jslang}', '{jslang}wcf.date.month.short.sep{/jslang}', '{jslang}wcf.date.month.short.oct{/jslang}', '{jslang}wcf.date.month.short.nov{/jslang}', '{jslang}wcf.date.month.short.dec{/jslang}' ],
+ 'wcf.clipboard.item.unmarkAll': '{jslang}wcf.clipboard.item.unmarkAll{/jslang}',
+ 'wcf.clipboard.item.markAll': '{jslang}wcf.clipboard.item.markAll{/jslang}',
+ 'wcf.clipboard.item.mark': '{jslang}wcf.clipboard.item.mark{/jslang}',
+ 'wcf.date.relative.now': '{jslang __literal=true}wcf.date.relative.now{/jslang}',
+ 'wcf.date.relative.minutes': '{jslang __literal=true}wcf.date.relative.minutes{/jslang}',
+ 'wcf.date.relative.hours': '{jslang __literal=true}wcf.date.relative.hours{/jslang}',
+ 'wcf.date.relative.pastDays': '{jslang __literal=true}wcf.date.relative.pastDays{/jslang}',
+ 'wcf.date.dateFormat': '{jslang}wcf.date.dateFormat{/jslang}',
+ 'wcf.date.dateTimeFormat': '{jslang}wcf.date.dateTimeFormat{/jslang}',
+ 'wcf.date.shortDateTimeFormat': '{jslang}wcf.date.shortDateTimeFormat{/jslang}',
+ 'wcf.date.hour': '{jslang}wcf.date.hour{/jslang}',
+ 'wcf.date.minute': '{jslang}wcf.date.minute{/jslang}',
+ 'wcf.date.timeFormat': '{jslang}wcf.date.timeFormat{/jslang}',
+ 'wcf.date.firstDayOfTheWeek': '{jslang}wcf.date.firstDayOfTheWeek{/jslang}',
+ 'wcf.global.button.add': '{jslang}wcf.global.button.add{/jslang}',
+ 'wcf.global.button.cancel': '{jslang}wcf.global.button.cancel{/jslang}',
+ 'wcf.global.button.close': '{jslang}wcf.global.button.close{/jslang}',
+ 'wcf.global.button.collapsible': '{jslang}wcf.global.button.collapsible{/jslang}',
+ 'wcf.global.button.delete': '{jslang}wcf.global.button.delete{/jslang}',
+ 'wcf.global.button.disable': '{jslang}wcf.global.button.disable{/jslang}',
+ 'wcf.global.button.disabledI18n': '{jslang}wcf.global.button.disabledI18n{/jslang}',
+ 'wcf.global.button.edit': '{jslang}wcf.global.button.edit{/jslang}',
+ 'wcf.global.button.enable': '{jslang}wcf.global.button.enable{/jslang}',
+ 'wcf.global.button.hide': '{jslang}wcf.global.button.hide{/jslang}',
+ 'wcf.global.button.insert': '{jslang}wcf.global.button.insert{/jslang}',
+ 'wcf.global.button.next': '{jslang}wcf.global.button.next{/jslang}',
+ 'wcf.global.button.preview': '{jslang}wcf.global.button.preview{/jslang}',
+ 'wcf.global.button.reset': '{jslang}wcf.global.button.reset{/jslang}',
+ 'wcf.global.button.save': '{jslang}wcf.global.button.save{/jslang}',
+ 'wcf.global.button.search': '{jslang}wcf.global.button.search{/jslang}',
+ 'wcf.global.button.submit': '{jslang}wcf.global.button.submit{/jslang}',
+ 'wcf.global.button.upload': '{jslang}wcf.global.button.upload{/jslang}',
+ 'wcf.global.confirmation.cancel': '{jslang}wcf.global.confirmation.cancel{/jslang}',
+ 'wcf.global.confirmation.confirm': '{jslang}wcf.global.confirmation.confirm{/jslang}',
+ 'wcf.global.confirmation.title': '{jslang}wcf.global.confirmation.title{/jslang}',
+ 'wcf.global.decimalPoint': '{jslang}wcf.global.decimalPoint{/jslang}',
+ 'wcf.global.error.timeout': '{jslang}wcf.global.error.timeout{/jslang}',
+ 'wcf.global.form.error.empty': '{jslang}wcf.global.form.error.empty{/jslang}',
+ 'wcf.global.form.error.greaterThan': '{jslang __literal=true}wcf.global.form.error.greaterThan{/jslang}',
+ 'wcf.global.form.error.lessThan': '{jslang __literal=true}wcf.global.form.error.lessThan{/jslang}',
+ 'wcf.global.form.error.multilingual': '{jslang}wcf.global.form.error.multilingual{/jslang}',
+ 'wcf.global.form.input.maxItems': '{jslang}wcf.global.form.input.maxItems{/jslang}',
+ 'wcf.global.language.noSelection': '{jslang}wcf.global.language.noSelection{/jslang}',
+ 'wcf.global.loading': '{jslang}wcf.global.loading{/jslang}',
+ 'wcf.global.noSelection': '{jslang}wcf.global.noSelection{/jslang}',
+ 'wcf.global.select': '{jslang}wcf.global.select{/jslang}',
+ 'wcf.page.jumpTo': '{jslang}wcf.page.jumpTo{/jslang}',
+ 'wcf.page.jumpTo.description': '{jslang}wcf.page.jumpTo.description{/jslang}',
+ 'wcf.global.page.pagination': '{jslang}wcf.global.page.pagination{/jslang}',
+ 'wcf.global.page.next': '{jslang}wcf.global.page.next{/jslang}',
+ 'wcf.global.page.previous': '{jslang}wcf.global.page.previous{/jslang}',
+ 'wcf.global.pageDirection': '{jslang}wcf.global.pageDirection{/jslang}',
+ 'wcf.global.reason': '{jslang}wcf.global.reason{/jslang}',
+ 'wcf.global.scrollUp': '{jslang}wcf.global.scrollUp{/jslang}',
+ 'wcf.global.success': '{jslang}wcf.global.success{/jslang}',
+ 'wcf.global.success.add': '{jslang}wcf.global.success.add{/jslang}',
+ 'wcf.global.success.edit': '{jslang}wcf.global.success.edit{/jslang}',
+ 'wcf.global.thousandsSeparator': '{jslang}wcf.global.thousandsSeparator{/jslang}',
+ 'wcf.page.pagePosition': '{jslang __literal=true}wcf.page.pagePosition{/jslang}',
+ 'wcf.style.changeStyle': '{jslang}wcf.style.changeStyle{/jslang}',
+ 'wcf.user.activityPoint': '{jslang}wcf.user.activityPoint{/jslang}',
+ 'wcf.user.panel.markAllAsRead': '{jslang}wcf.user.panel.markAllAsRead{/jslang}',
+ 'wcf.user.panel.markAsRead': '{jslang}wcf.user.panel.markAsRead{/jslang}',
+ 'wcf.user.panel.settings': '{jslang}wcf.user.panel.settings{/jslang}',
+ 'wcf.user.panel.showAll': '{jslang}wcf.user.panel.showAll{/jslang}',
+ 'wcf.menu.page': '{jslang}wcf.menu.page{/jslang}',
+ 'wcf.menu.user': '{jslang}wcf.menu.user{/jslang}',
+ 'wcf.global.button.showMenu': '{jslang}wcf.global.button.showMenu{/jslang}',
+ 'wcf.global.button.hideMenu': '{jslang}wcf.global.button.hideMenu{/jslang}',
+ 'wcf.date.datePicker': '{jslang}wcf.date.datePicker{/jslang}',
+ 'wcf.date.datePicker.previousMonth': '{jslang}wcf.date.datePicker.previousMonth{/jslang}',
+ 'wcf.date.datePicker.nextMonth': '{jslang}wcf.date.datePicker.nextMonth{/jslang}',
+ 'wcf.date.datePicker.month': '{jslang}wcf.date.datePicker.month{/jslang}',
+ 'wcf.date.datePicker.year': '{jslang}wcf.date.datePicker.year{/jslang}',
+ 'wcf.date.datePicker.hour': '{jslang}wcf.date.datePicker.hour{/jslang}',
+ 'wcf.date.datePicker.minute': '{jslang}wcf.date.datePicker.minute{/jslang}'
{if MODULE_LIKE}
- ,'wcf.like.button.like': '{lang}wcf.like.button.like{/lang}',
- 'wcf.like.button.dislike': '{lang}wcf.like.button.dislike{/lang}',
- 'wcf.like.tooltip': '{lang}wcf.like.jsTooltip{/lang}',
- 'wcf.like.summary': '{lang}wcf.like.summary{/lang}',
- 'wcf.like.details': '{lang}wcf.like.details{/lang}',
- 'wcf.reactions.react': '{lang}wcf.reactions.react{/lang}'
+ ,'wcf.like.button.like': '{jslang}wcf.like.button.like{/jslang}',
+ 'wcf.like.button.dislike': '{jslang}wcf.like.button.dislike{/jslang}',
+ 'wcf.like.tooltip': '{jslang}wcf.like.jsTooltip{/jslang}',
+ 'wcf.like.summary': '{jslang}wcf.like.summary{/jslang}',
+ 'wcf.like.details': '{jslang}wcf.like.details{/jslang}',
+ 'wcf.reactions.react': '{jslang}wcf.reactions.react{/jslang}'
{/if}
{event name='javascriptLanguageImport'}
var $imageViewer = null;
$(function() {
WCF.Language.addObject({
- 'wcf.imageViewer.button.enlarge': '{lang}wcf.imageViewer.button.enlarge{/lang}',
- 'wcf.imageViewer.button.full': '{lang}wcf.imageViewer.button.full{/lang}',
- 'wcf.imageViewer.seriesIndex': '{lang __literal=true}wcf.imageViewer.seriesIndex{/lang}',
- 'wcf.imageViewer.counter': '{lang}wcf.imageViewer.counter{/lang}',
- 'wcf.imageViewer.close': '{lang}wcf.imageViewer.close{/lang}',
- 'wcf.imageViewer.enlarge': '{lang}wcf.imageViewer.enlarge{/lang}',
- 'wcf.imageViewer.next': '{lang}wcf.imageViewer.next{/lang}',
- 'wcf.imageViewer.previous': '{lang}wcf.imageViewer.previous{/lang}'
+ 'wcf.imageViewer.button.enlarge': '{jslang}wcf.imageViewer.button.enlarge{/jslang}',
+ 'wcf.imageViewer.button.full': '{jslang}wcf.imageViewer.button.full{/jslang}',
+ 'wcf.imageViewer.seriesIndex': '{jslang __literal=true}wcf.imageViewer.seriesIndex{/jslang}',
+ 'wcf.imageViewer.counter': '{jslang}wcf.imageViewer.counter{/jslang}',
+ 'wcf.imageViewer.close': '{jslang}wcf.imageViewer.close{/jslang}',
+ 'wcf.imageViewer.enlarge': '{jslang}wcf.imageViewer.enlarge{/jslang}',
+ 'wcf.imageViewer.next': '{jslang}wcf.imageViewer.next{/jslang}',
+ 'wcf.imageViewer.previous': '{jslang}wcf.imageViewer.previous{/jslang}'
});
$imageViewer = new WCF.ImageViewer();
</script>
{assign var=__imageViewerLoaded value=true}
-{/if}
\ No newline at end of file
+{/if}
{if $__wcf->session->getPermission('admin.content.cms.canUseMedia')}
require(['Language', 'Permission'], function(Language, Permission) {
Language.addObject({
- 'wcf.global.button.insert': '{lang}wcf.global.button.insert{/lang}',
- 'wcf.media.button.replaceFile': '{lang}wcf.media.button.replaceFile{/lang}',
- 'wcf.media.button.select': '{lang}wcf.media.button.select{/lang}',
- 'wcf.media.delete.confirmMessage': '{lang __encode=true __literal=true}wcf.media.delete.confirmMessage{/lang}',
- 'wcf.media.imageDimensions.value': '{lang __literal=true}wcf.media.imageDimensions.value{/lang}',
- 'wcf.media.insert': '{lang}wcf.media.insert{/lang}',
- 'wcf.media.insert.imageSize': '{lang}wcf.media.insert.imageSize{/lang}',
- 'wcf.media.insert.imageSize.small': '{lang}wcf.media.insert.imageSize.small{/lang}',
- 'wcf.media.insert.imageSize.medium': '{lang}wcf.media.insert.imageSize.medium{/lang}',
- 'wcf.media.insert.imageSize.large': '{lang}wcf.media.insert.imageSize.large{/lang}',
- 'wcf.media.insert.imageSize.original': '{lang}wcf.media.insert.imageSize.original{/lang}',
- 'wcf.media.manager': '{lang}wcf.media.manager{/lang}',
- 'wcf.media.edit': '{lang}wcf.media.edit{/lang}',
- 'wcf.media.button.insert': '{lang}wcf.media.button.insert{/lang}',
- 'wcf.media.search.info.searchStringThreshold': '{lang __literal=true}wcf.media.search.info.searchStringThreshold{/lang}',
- 'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}',
- 'wcf.media.upload.error.differentFileExtension': '{lang}wcf.media.upload.error.differentFileExtension{/lang}',
- 'wcf.media.upload.error.differentFileType': '{lang}wcf.media.upload.error.differentFileType{/lang}',
- 'wcf.media.upload.error.noImage': '{lang}wcf.media.upload.error.noImage{/lang}',
- 'wcf.media.upload.error.uploadFailed': '{lang}wcf.media.upload.error.uploadFailed{/lang}',
- 'wcf.media.upload.success': '{lang}wcf.media.upload.success{/lang}',
- 'wcf.media.setCategory': '{lang}wcf.media.setCategory{/lang}'
+ 'wcf.global.button.insert': '{jslang}wcf.global.button.insert{/jslang}',
+ 'wcf.media.button.replaceFile': '{jslang}wcf.media.button.replaceFile{/jslang}',
+ 'wcf.media.button.select': '{jslang}wcf.media.button.select{/jslang}',
+ 'wcf.media.delete.confirmMessage': '{jslang __encode=true __literal=true}wcf.media.delete.confirmMessage{/jslang}',
+ 'wcf.media.imageDimensions.value': '{jslang __literal=true}wcf.media.imageDimensions.value{/jslang}',
+ 'wcf.media.insert': '{jslang}wcf.media.insert{/jslang}',
+ 'wcf.media.insert.imageSize': '{jslang}wcf.media.insert.imageSize{/jslang}',
+ 'wcf.media.insert.imageSize.small': '{jslang}wcf.media.insert.imageSize.small{/jslang}',
+ 'wcf.media.insert.imageSize.medium': '{jslang}wcf.media.insert.imageSize.medium{/jslang}',
+ 'wcf.media.insert.imageSize.large': '{jslang}wcf.media.insert.imageSize.large{/jslang}',
+ 'wcf.media.insert.imageSize.original': '{jslang}wcf.media.insert.imageSize.original{/jslang}',
+ 'wcf.media.manager': '{jslang}wcf.media.manager{/jslang}',
+ 'wcf.media.edit': '{jslang}wcf.media.edit{/jslang}',
+ 'wcf.media.button.insert': '{jslang}wcf.media.button.insert{/jslang}',
+ 'wcf.media.search.info.searchStringThreshold': '{jslang __literal=true}wcf.media.search.info.searchStringThreshold{/jslang}',
+ 'wcf.media.search.noResults': '{jslang}wcf.media.search.noResults{/jslang}',
+ 'wcf.media.upload.error.differentFileExtension': '{jslang}wcf.media.upload.error.differentFileExtension{/jslang}',
+ 'wcf.media.upload.error.differentFileType': '{jslang}wcf.media.upload.error.differentFileType{/jslang}',
+ 'wcf.media.upload.error.noImage': '{jslang}wcf.media.upload.error.noImage{/jslang}',
+ 'wcf.media.upload.error.uploadFailed': '{jslang}wcf.media.upload.error.uploadFailed{/jslang}',
+ 'wcf.media.upload.success': '{jslang}wcf.media.upload.success{/jslang}',
+ 'wcf.media.setCategory': '{jslang}wcf.media.setCategory{/jslang}'
});
Permission.add('admin.content.cms.canManageMedia', {if $__wcf->session->getPermission('admin.content.cms.canManageMedia')}true{else}false{/if});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userList > li'));
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.attachment.upload.error.invalidExtension': '{lang}wcf.attachment.upload.error.invalidExtension{/lang}',
- 'wcf.attachment.upload.error.tooLarge': '{lang}wcf.attachment.upload.error.tooLarge{/lang}',
- 'wcf.attachment.upload.error.reachedLimit': '{lang}wcf.attachment.upload.error.reachedLimit{/lang}',
- 'wcf.attachment.upload.error.reachedRemainingLimit': '{lang}wcf.attachment.upload.error.reachedRemainingLimit{/lang}',
- 'wcf.attachment.upload.error.uploadFailed': '{lang}wcf.attachment.upload.error.uploadFailed{/lang}',
- 'wcf.attachment.upload.error.uploadPhpLimit': '{lang}wcf.attachment.upload.error.uploadPhpLimit{/lang}',
- 'wcf.attachment.insert': '{lang}wcf.attachment.insert{/lang}',
- 'wcf.attachment.insertAll': '{lang}wcf.attachment.insertAll{/lang}',
- 'wcf.attachment.insertFull': '{lang}wcf.attachment.insertFull{/lang}',
- 'wcf.attachment.insertThumbnail': '{lang}wcf.attachment.insertThumbnail{/lang}',
- 'wcf.attachment.delete.sure': '{lang}wcf.attachment.delete.sure{/lang}'
+ 'wcf.attachment.upload.error.invalidExtension': '{jslang}wcf.attachment.upload.error.invalidExtension{/jslang}',
+ 'wcf.attachment.upload.error.tooLarge': '{jslang}wcf.attachment.upload.error.tooLarge{/jslang}',
+ 'wcf.attachment.upload.error.reachedLimit': '{jslang}wcf.attachment.upload.error.reachedLimit{/jslang}',
+ 'wcf.attachment.upload.error.reachedRemainingLimit': '{jslang}wcf.attachment.upload.error.reachedRemainingLimit{/jslang}',
+ 'wcf.attachment.upload.error.uploadFailed': '{jslang}wcf.attachment.upload.error.uploadFailed{/jslang}',
+ 'wcf.attachment.upload.error.uploadPhpLimit': '{jslang}wcf.attachment.upload.error.uploadPhpLimit{/jslang}',
+ 'wcf.attachment.insert': '{jslang}wcf.attachment.insert{/jslang}',
+ 'wcf.attachment.insertAll': '{jslang}wcf.attachment.insertAll{/jslang}',
+ 'wcf.attachment.insertFull': '{jslang}wcf.attachment.insertFull{/jslang}',
+ 'wcf.attachment.insertThumbnail': '{jslang}wcf.attachment.insertThumbnail{/jslang}',
+ 'wcf.attachment.delete.sure': '{jslang}wcf.attachment.delete.sure{/jslang}'
});
new WCF.Attachment.Upload(
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.global.preview': '{lang}wcf.global.preview{/lang}'
+ 'wcf.global.preview': '{jslang}wcf.global.preview{/jslang}'
});
new WCF.Message.DefaultPreview({
messageObjectID: '{$previewMessageObjectID}'
});
});
-</script>
\ No newline at end of file
+</script>
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.moderation.activation.enableContent.confirmMessage': '{lang}wcf.moderation.activation.enableContent.confirmMessage{/lang}',
- 'wcf.moderation.activation.removeContent.confirmMessage': '{lang}wcf.moderation.activation.removeContent.confirmMessage{/lang}',
- 'wcf.moderation.assignedUser': '{lang}wcf.moderation.assignedUser{/lang}',
- 'wcf.moderation.assignedUser.error.notAffected': '{lang}wcf.moderation.assignedUser.error.notAffected{/lang}',
- 'wcf.moderation.status.outstanding': '{lang}wcf.moderation.status.outstanding{/lang}',
- 'wcf.moderation.status.processing': '{lang}wcf.moderation.status.processing{/lang}',
- 'wcf.user.username.error.notFound': '{lang __literal=true}wcf.user.username.error.notFound{/lang}'
+ 'wcf.moderation.activation.enableContent.confirmMessage': '{jslang}wcf.moderation.activation.enableContent.confirmMessage{/jslang}',
+ 'wcf.moderation.activation.removeContent.confirmMessage': '{jslang}wcf.moderation.activation.removeContent.confirmMessage{/jslang}',
+ 'wcf.moderation.assignedUser': '{jslang}wcf.moderation.assignedUser{/jslang}',
+ 'wcf.moderation.assignedUser.error.notAffected': '{jslang}wcf.moderation.assignedUser.error.notAffected{/jslang}',
+ 'wcf.moderation.status.outstanding': '{jslang}wcf.moderation.status.outstanding{/jslang}',
+ 'wcf.moderation.status.processing': '{jslang}wcf.moderation.status.processing{/jslang}',
+ 'wcf.user.username.error.notFound': '{jslang __literal=true}wcf.user.username.error.notFound{/jslang}'
});
new WCF.Moderation.Activation.Management({@$queue->queueID}, '{link controller='ModerationList' encode=false}{/link}');
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.moderation.assignedUser': '{lang}wcf.moderation.assignedUser{/lang}',
- 'wcf.moderation.assignedUser.error.notAffected': '{lang}wcf.moderation.assignedUser.error.notAffected{/lang}',
- 'wcf.moderation.report.removeContent.confirmMessage': '{lang}wcf.moderation.report.removeContent.confirmMessage{/lang}',
- 'wcf.moderation.report.removeContent.reason': '{lang}wcf.moderation.report.removeContent.reason{/lang}',
- 'wcf.moderation.report.removeReport.confirmMessage': '{lang}wcf.moderation.report.removeReport.confirmMessage{/lang}',
- 'wcf.moderation.report.removeReport.markAsJustified': '{lang}wcf.moderation.report.removeReport.markAsJustified{/lang}',
- 'wcf.moderation.status.outstanding': '{lang}wcf.moderation.status.outstanding{/lang}',
- 'wcf.moderation.status.processing': '{lang}wcf.moderation.status.processing{/lang}',
- 'wcf.user.username.error.notFound': '{lang __literal=true}wcf.user.username.error.notFound{/lang}'
+ 'wcf.moderation.assignedUser': '{jslang}wcf.moderation.assignedUser{/jslang}',
+ 'wcf.moderation.assignedUser.error.notAffected': '{jslang}wcf.moderation.assignedUser.error.notAffected{/jslang}',
+ 'wcf.moderation.report.removeContent.confirmMessage': '{jslang}wcf.moderation.report.removeContent.confirmMessage{/jslang}',
+ 'wcf.moderation.report.removeContent.reason': '{jslang}wcf.moderation.report.removeContent.reason{/jslang}',
+ 'wcf.moderation.report.removeReport.confirmMessage': '{jslang}wcf.moderation.report.removeReport.confirmMessage{/jslang}',
+ 'wcf.moderation.report.removeReport.markAsJustified': '{jslang}wcf.moderation.report.removeReport.markAsJustified{/jslang}',
+ 'wcf.moderation.status.outstanding': '{jslang}wcf.moderation.status.outstanding{/jslang}',
+ 'wcf.moderation.status.processing': '{jslang}wcf.moderation.status.processing{/jslang}',
+ 'wcf.user.username.error.notFound': '{jslang __literal=true}wcf.user.username.error.notFound{/jslang}'
});
new WCF.Moderation.Report.Management({@$queue->queueID}, '{link controller='ModerationList' encode=false}{/link}');
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Language/Input', 'WoltLabSuite/Core/Language/Text'], function(Language, LanguageInput, LanguageText) {
Language.addObject({
- 'wcf.global.button.disabledI18n': '{lang}wcf.global.button.disabledI18n{/lang}'
+ 'wcf.global.button.disabledI18n': '{jslang}wcf.global.button.disabledI18n{/jslang}'
});
var availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.notification.markAsConfirmed': '{lang}wcf.user.notification.markAsConfirmed{/lang}',
- 'wcf.user.notification.markAllAsConfirmed.confirmMessage': '{lang}wcf.user.notification.markAllAsConfirmed.confirmMessage{/lang}'
+ 'wcf.user.notification.markAsConfirmed': '{jslang}wcf.user.notification.markAsConfirmed{/jslang}',
+ 'wcf.user.notification.markAllAsConfirmed.confirmMessage': '{jslang}wcf.user.notification.markAllAsConfirmed.confirmMessage{/jslang}'
});
new WCF.Notification.List();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Controller/User/Notification/Settings'], function(Language, ControllerUserNotificationSettings) {
Language.addObject({
- 'wcf.user.notification.mailNotificationType.daily': '{lang}wcf.user.notification.mailNotificationType.daily{/lang}',
- 'wcf.user.notification.mailNotificationType.instant': '{lang}wcf.user.notification.mailNotificationType.instant{/lang}',
- 'wcf.user.notification.mailNotificationType.none': '{lang}wcf.user.notification.mailNotificationType.none{/lang}'
+ 'wcf.user.notification.mailNotificationType.daily': '{jslang}wcf.user.notification.mailNotificationType.daily{/jslang}',
+ 'wcf.user.notification.mailNotificationType.instant': '{jslang}wcf.user.notification.mailNotificationType.instant{/jslang}',
+ 'wcf.user.notification.mailNotificationType.none': '{jslang}wcf.user.notification.mailNotificationType.none{/jslang}'
});
ControllerUserNotificationSettings.init();
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.login': '{lang}wcf.user.button.login{/lang}',
- 'wcf.user.button.register': '{lang}wcf.user.button.register{/lang}',
- 'wcf.user.login': '{lang}wcf.user.login{/lang}'
+ 'wcf.user.button.login': '{jslang}wcf.user.button.login{/jslang}',
+ 'wcf.user.button.register': '{jslang}wcf.user.button.register{/jslang}',
+ 'wcf.user.login': '{jslang}wcf.user.login{/jslang}'
});
new WCF.User.Login(true);
});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.recentActivity.more': '{lang}wcf.user.recentActivity.more{/lang}',
- 'wcf.user.recentActivity.noMoreEntries': '{lang}wcf.user.recentActivity.noMoreEntries{/lang}'
+ 'wcf.user.recentActivity.more': '{jslang}wcf.user.recentActivity.more{/jslang}',
+ 'wcf.user.recentActivity.noMoreEntries': '{jslang}wcf.user.recentActivity.noMoreEntries{/jslang}'
});
new WCF.User.RecentActivityLoader({@$userID});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.recentActivity.more': '{lang}wcf.user.recentActivity.more{/lang}',
- 'wcf.user.recentActivity.noMoreEntries': '{lang}wcf.user.recentActivity.noMoreEntries{/lang}'
+ 'wcf.user.recentActivity.more': '{jslang}wcf.user.recentActivity.more{/jslang}',
+ 'wcf.user.recentActivity.noMoreEntries': '{jslang}wcf.user.recentActivity.noMoreEntries{/jslang}'
});
new WCF.User.RecentActivityLoader(null);
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.global.form.error.empty': '{lang}wcf.global.form.error.empty{/lang}',
- 'wcf.user.username.error.invalid': '{lang}wcf.user.username.error.invalid{/lang}',
- 'wcf.user.username.error.notUnique': '{lang}wcf.user.username.error.notUnique{/lang}',
- 'wcf.user.email.error.invalid' : '{lang}wcf.user.email.error.invalid{/lang}',
- 'wcf.user.email.error.notUnique' : '{lang}wcf.user.email.error.notUnique{/lang}',
- 'wcf.user.confirmEmail.error.notEqual' : '{lang}wcf.user.confirmEmail.error.notEqual{/lang}',
- 'wcf.user.password.error.notSecure' : '{lang}wcf.user.password.error.notSecure{/lang}',
- 'wcf.user.confirmPassword.error.notEqual' : '{lang}wcf.user.confirmPassword.error.notEqual{/lang}'
+ 'wcf.global.form.error.empty': '{jslang}wcf.global.form.error.empty{/jslang}',
+ 'wcf.user.username.error.invalid': '{jslang}wcf.user.username.error.invalid{/jslang}',
+ 'wcf.user.username.error.notUnique': '{jslang}wcf.user.username.error.notUnique{/jslang}',
+ 'wcf.user.email.error.invalid' : '{jslang}wcf.user.email.error.invalid{/jslang}',
+ 'wcf.user.email.error.notUnique' : '{jslang}wcf.user.email.error.notUnique{/jslang}',
+ 'wcf.user.confirmEmail.error.notEqual' : '{jslang}wcf.user.confirmEmail.error.notEqual{/jslang}',
+ 'wcf.user.password.error.notSecure' : '{jslang}wcf.user.password.error.notSecure{/jslang}',
+ 'wcf.user.confirmPassword.error.notEqual' : '{jslang}wcf.user.confirmPassword.error.notEqual{/jslang}'
});
new WCF.User.Registration.Validation.EmailAddress($('#{@$randomFieldNames[email]}'), $('#{@$randomFieldNames[confirmEmail]}'), null);
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
Language.addObject({
- 'wcf.global.filter.button.visibility': '{lang}wcf.global.filter.button.visibility{/lang}',
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.filter.visibility.activeOnly': '{lang}wcf.global.filter.visibility.activeOnly{/lang}',
- 'wcf.global.filter.visibility.highlightActive': '{lang}wcf.global.filter.visibility.highlightActive{/lang}',
- 'wcf.global.filter.visibility.showAll': '{lang}wcf.global.filter.visibility.showAll{/lang}'
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
});
new UiItemListFilter('{@$pageCheckboxListContainerID}');
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.global.preview': '{lang}wcf.global.preview{/lang}'
+ 'wcf.global.preview': '{jslang}wcf.global.preview{/jslang}'
});
new WCF.User.SignaturePreview('wcf\\data\\user\\UserProfileAction', 'text', 'previewButton');
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Bbcode/Spoiler'], function (Language, BbcodeSpoiler) {
Language.addObject({
- 'wcf.bbcode.spoiler.hide' : '{lang}wcf.bbcode.spoiler.hide{/lang}',
- 'wcf.bbcode.spoiler.show' : '{lang}wcf.bbcode.spoiler.show{/lang}'
+ 'wcf.bbcode.spoiler.hide' : '{jslang}wcf.bbcode.spoiler.hide{/jslang}',
+ 'wcf.bbcode.spoiler.show' : '{jslang}wcf.bbcode.spoiler.show{/jslang}'
});
BbcodeSpoiler.observe();
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userList > li'));
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
- 'wcf.label.withoutSelection': '{lang}wcf.label.withoutSelection{/lang}'
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
+ 'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
});
new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true);
<script data-relocate="true">
require(['WoltLabSuite/Core/Ui/File/Upload', 'Language'], function(Upload, Language) {
Language.addObject({
- 'wcf.upload.error.reachedRemainingLimit': '{lang __literal=true}wcf.upload.error.reachedRemainingLimit{/lang}',
- 'wcf.upload.error.noImage': '{lang}wcf.upload.error.noImage{/lang}'
+ 'wcf.upload.error.reachedRemainingLimit': '{jslang __literal=true}wcf.upload.error.reachedRemainingLimit{/jslang}',
+ 'wcf.upload.error.noImage': '{jslang}wcf.upload.error.noImage{/jslang}'
});
new Upload("{$uploadFieldId}UploadButtonDiv", "{$uploadFieldId}uploadFileList", {
{if $__wcf->getUser()->userID && $__wcf->getUser()->userID != $user->userID}
require(['Language', 'WoltLabSuite/Core/Ui/User/Editor', 'WoltLabSuite/Core/Ui/User/Profile/Menu/Item/Ignore', 'WoltLabSuite/Core/Ui/User/Profile/Menu/Item/Follow'], function(Language, UiUserEditor, UiUserProfileMenuItemIgnore, UiUserProfileMenuItemFollow) {
Language.addObject({
- 'wcf.acp.user.disable': '{lang}wcf.acp.user.disable{/lang}',
- 'wcf.acp.user.enable': '{lang}wcf.acp.user.enable{/lang}',
- 'wcf.user.ban': '{lang}wcf.user.ban{/lang}',
+ 'wcf.acp.user.disable': '{jslang}wcf.acp.user.disable{/jslang}',
+ 'wcf.acp.user.enable': '{jslang}wcf.acp.user.enable{/jslang}',
+ 'wcf.user.ban': '{jslang}wcf.user.ban{/jslang}',
'wcf.user.banned': '{"wcf.user.banned"|language|encodeJS}',
- 'wcf.user.ban.confirmMessage': '{lang}wcf.user.ban.confirmMessage{/lang}',
- 'wcf.user.ban.expires': '{lang}wcf.user.ban.expires{/lang}',
- 'wcf.user.ban.expires.description': '{lang}wcf.user.ban.expires.description{/lang}',
- 'wcf.user.ban.neverExpires': '{lang}wcf.user.ban.neverExpires{/lang}',
- 'wcf.user.ban.reason.description': '{lang}wcf.user.ban.reason.description{/lang}',
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}',
- 'wcf.user.disableAvatar': '{lang}wcf.user.disableAvatar{/lang}',
- 'wcf.user.disableAvatar.confirmMessage': '{lang}wcf.user.disableAvatar.confirmMessage{/lang}',
- 'wcf.user.disableAvatar.expires': '{lang}wcf.user.disableAvatar.expires{/lang}',
- 'wcf.user.disableAvatar.expires.description': '{lang}wcf.user.disableAvatar.expires.description{/lang}',
- 'wcf.user.disableAvatar.neverExpires': '{lang}wcf.user.disableAvatar.neverExpires{/lang}',
- 'wcf.user.disableCoverPhoto': '{lang}wcf.user.disableCoverPhoto{/lang}',
- 'wcf.user.disableCoverPhoto.confirmMessage': '{lang}wcf.user.disableCoverPhoto.confirmMessage{/lang}',
- 'wcf.user.disableCoverPhoto.expires': '{lang}wcf.user.disableCoverPhoto.expires{/lang}',
- 'wcf.user.disableCoverPhoto.expires.description': '{lang}wcf.user.disableCoverPhoto.expires.description{/lang}',
- 'wcf.user.disableCoverPhoto.neverExpires': '{lang}wcf.user.disableCoverPhoto.neverExpires{/lang}',
- 'wcf.user.disableSignature': '{lang}wcf.user.disableSignature{/lang}',
- 'wcf.user.disableSignature.confirmMessage': '{lang}wcf.user.disableSignature.confirmMessage{/lang}',
- 'wcf.user.disableSignature.expires': '{lang}wcf.user.disableSignature.expires{/lang}',
- 'wcf.user.disableSignature.expires.description': '{lang}wcf.user.disableSignature.expires.description{/lang}',
- 'wcf.user.disableSignature.neverExpires': '{lang}wcf.user.disableSignature.neverExpires{/lang}',
- 'wcf.user.edit': '{lang}wcf.user.edit{/lang}',
- 'wcf.user.enableAvatar': '{lang}wcf.user.enableAvatar{/lang}',
- 'wcf.user.enableCoverPhoto': '{lang}wcf.user.enableCoverPhoto{/lang}',
- 'wcf.user.enableSignature': '{lang}wcf.user.enableSignature{/lang}',
- 'wcf.user.unban': '{lang}wcf.user.unban{/lang}'
+ 'wcf.user.ban.confirmMessage': '{jslang}wcf.user.ban.confirmMessage{/jslang}',
+ 'wcf.user.ban.expires': '{jslang}wcf.user.ban.expires{/jslang}',
+ 'wcf.user.ban.expires.description': '{jslang}wcf.user.ban.expires.description{/jslang}',
+ 'wcf.user.ban.neverExpires': '{jslang}wcf.user.ban.neverExpires{/jslang}',
+ 'wcf.user.ban.reason.description': '{jslang}wcf.user.ban.reason.description{/jslang}',
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}',
+ 'wcf.user.disableAvatar': '{jslang}wcf.user.disableAvatar{/jslang}',
+ 'wcf.user.disableAvatar.confirmMessage': '{jslang}wcf.user.disableAvatar.confirmMessage{/jslang}',
+ 'wcf.user.disableAvatar.expires': '{jslang}wcf.user.disableAvatar.expires{/jslang}',
+ 'wcf.user.disableAvatar.expires.description': '{jslang}wcf.user.disableAvatar.expires.description{/jslang}',
+ 'wcf.user.disableAvatar.neverExpires': '{jslang}wcf.user.disableAvatar.neverExpires{/jslang}',
+ 'wcf.user.disableCoverPhoto': '{jslang}wcf.user.disableCoverPhoto{/jslang}',
+ 'wcf.user.disableCoverPhoto.confirmMessage': '{jslang}wcf.user.disableCoverPhoto.confirmMessage{/jslang}',
+ 'wcf.user.disableCoverPhoto.expires': '{jslang}wcf.user.disableCoverPhoto.expires{/jslang}',
+ 'wcf.user.disableCoverPhoto.expires.description': '{jslang}wcf.user.disableCoverPhoto.expires.description{/jslang}',
+ 'wcf.user.disableCoverPhoto.neverExpires': '{jslang}wcf.user.disableCoverPhoto.neverExpires{/jslang}',
+ 'wcf.user.disableSignature': '{jslang}wcf.user.disableSignature{/jslang}',
+ 'wcf.user.disableSignature.confirmMessage': '{jslang}wcf.user.disableSignature.confirmMessage{/jslang}',
+ 'wcf.user.disableSignature.expires': '{jslang}wcf.user.disableSignature.expires{/jslang}',
+ 'wcf.user.disableSignature.expires.description': '{jslang}wcf.user.disableSignature.expires.description{/jslang}',
+ 'wcf.user.disableSignature.neverExpires': '{jslang}wcf.user.disableSignature.neverExpires{/jslang}',
+ 'wcf.user.edit': '{jslang}wcf.user.edit{/jslang}',
+ 'wcf.user.enableAvatar': '{jslang}wcf.user.enableAvatar{/jslang}',
+ 'wcf.user.enableCoverPhoto': '{jslang}wcf.user.enableCoverPhoto{/jslang}',
+ 'wcf.user.enableSignature': '{jslang}wcf.user.enableSignature{/jslang}',
+ 'wcf.user.unban': '{jslang}wcf.user.unban{/jslang}'
});
{if $isAccessible}
$(function() {
{if $__wcf->getUser()->userID && $__wcf->getUser()->userID != $user->userID}
WCF.Language.addObject({
- 'wcf.user.activityPoint': '{lang}wcf.user.activityPoint{/lang}'
+ 'wcf.user.activityPoint': '{jslang}wcf.user.activityPoint{/jslang}'
});
{/if}
{if $user->canEdit() || ($__wcf->getUser()->userID == $user->userID && $user->canEditOwnProfile())}
WCF.Language.addObject({
- 'wcf.user.editProfile': '{lang}wcf.user.editProfile{/lang}'
+ 'wcf.user.editProfile': '{jslang}wcf.user.editProfile{/jslang}'
});
var userProfileEditor = new WCF.User.Profile.Editor({@$user->userID}, {if $editOnInit}true{else}false{/if});
{if $__wcf->session->getPermission('user.profile.canReportContent')}
WCF.Language.addObject({
- 'wcf.moderation.report.reportContent': '{lang}wcf.user.profile.report{/lang}',
- 'wcf.moderation.report.success': '{lang}wcf.moderation.report.success{/lang}'
+ 'wcf.moderation.report.reportContent': '{jslang}wcf.user.profile.report{/jslang}',
+ 'wcf.moderation.report.success': '{jslang}wcf.moderation.report.success{/jslang}'
});
new WCF.Moderation.Report.Content('com.woltlab.wcf.user', '.jsReportUser');
{/if}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/User/CoverPhoto/Upload'], function (Language, UiUserCoverPhotoUpload) {
Language.addObject({
- 'wcf.user.coverPhoto.delete.confirmMessage': '{lang}wcf.user.coverPhoto.delete.confirmMessage{/lang}',
- 'wcf.user.coverPhoto.upload.error.fileExtension': '{lang}wcf.user.coverPhoto.upload.error.fileExtension{/lang}',
- 'wcf.user.coverPhoto.upload.error.tooLarge': '{lang}wcf.user.coverPhoto.upload.error.tooLarge{/lang}',
- 'wcf.user.coverPhoto.upload.error.uploadFailed': '{lang}wcf.user.coverPhoto.upload.error.uploadFailed{/lang}',
- 'wcf.user.coverPhoto.upload.error.badImage': '{lang}wcf.user.coverPhoto.upload.error.badImage{/lang}'
+ 'wcf.user.coverPhoto.delete.confirmMessage': '{jslang}wcf.user.coverPhoto.delete.confirmMessage{/jslang}',
+ 'wcf.user.coverPhoto.upload.error.fileExtension': '{jslang}wcf.user.coverPhoto.upload.error.fileExtension{/jslang}',
+ 'wcf.user.coverPhoto.upload.error.tooLarge': '{jslang}wcf.user.coverPhoto.upload.error.tooLarge{/jslang}',
+ 'wcf.user.coverPhoto.upload.error.uploadFailed': '{jslang}wcf.user.coverPhoto.upload.error.uploadFailed{/jslang}',
+ 'wcf.user.coverPhoto.upload.error.badImage': '{jslang}wcf.user.coverPhoto.upload.error.badImage{/jslang}'
});
{if !$__wcf->user->disableCoverPhoto}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/User/CoverPhoto/Delete'], function (Language, UiUserCoverPhotoDelete) {
Language.addObject({
- 'wcf.user.coverPhoto.delete.confirmMessage': '{lang}wcf.user.coverPhoto.delete.confirmMessage{/lang}'
+ 'wcf.user.coverPhoto.delete.confirmMessage': '{jslang}wcf.user.coverPhoto.delete.confirmMessage{/jslang}'
});
UiUserCoverPhotoDelete.init({@$user->userID});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.jsGroupedUserList > li'));
<script data-relocate="true">
require(['WoltLabSuite/Core/Ui/Reaction/Profile/Loader', 'Language'], function(UiReactionProfileLoader, Language) {
Language.addObject({
- 'wcf.like.reaction.noMoreEntries': '{lang}wcf.like.reaction.noMoreEntries{/lang}',
- 'wcf.like.reaction.more': '{lang}wcf.like.reaction.more{/lang}'
+ 'wcf.like.reaction.noMoreEntries': '{jslang}wcf.like.reaction.noMoreEntries{/jslang}',
+ 'wcf.like.reaction.more': '{jslang}wcf.like.reaction.more{/jslang}'
});
new UiReactionProfileLoader({@$userID});
</li>
{include file='userProfileLikeItem'}
-</ul>
\ No newline at end of file
+</ul>
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userInformation'));
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+ 'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
+ 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
+ 'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
+ 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userList > li'));
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
- 'wcf.label.withoutSelection': '{lang}wcf.label.withoutSelection{/lang}'
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
+ 'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
});
new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#sidebarForm', undefined, true);
], function () {
require(['Environment', 'Language', 'WoltLabSuite/Core/Ui/Redactor/Autosave', 'WoltLabSuite/Core/Ui/Redactor/Metacode'], function(Environment, Language, UiRedactorAutosave, UiRedactorMetacode) {
Language.addObject({
- 'wcf.attachment.dragAndDrop.dropHere': '{lang}wcf.attachment.dragAndDrop.dropHere{/lang}',
- 'wcf.attachment.dragAndDrop.dropNow': '{lang}wcf.attachment.dragAndDrop.dropNow{/lang}',
+ 'wcf.attachment.dragAndDrop.dropHere': '{jslang}wcf.attachment.dragAndDrop.dropHere{/jslang}',
+ 'wcf.attachment.dragAndDrop.dropNow': '{jslang}wcf.attachment.dragAndDrop.dropNow{/jslang}',
- 'wcf.editor.autosave.discard': '{lang}wcf.editor.autosave.discard{/lang}',
- 'wcf.editor.autosave.keep': '{lang}wcf.editor.autosave.keep{/lang}',
- 'wcf.editor.autosave.restored': '{lang}wcf.editor.autosave.restored{/lang}',
+ 'wcf.editor.autosave.discard': '{jslang}wcf.editor.autosave.discard{/jslang}',
+ 'wcf.editor.autosave.keep': '{jslang}wcf.editor.autosave.keep{/jslang}',
+ 'wcf.editor.autosave.restored': '{jslang}wcf.editor.autosave.restored{/jslang}',
- 'wcf.editor.code.edit': '{lang}wcf.editor.code.edit{/lang}',
- 'wcf.editor.code.file': '{lang}wcf.editor.code.file{/lang}',
- 'wcf.editor.code.file.description': '{lang}wcf.editor.code.file.description{/lang}',
- 'wcf.editor.code.highlighter': '{lang}wcf.editor.code.highlighter{/lang}',
- 'wcf.editor.code.highlighter.description': '{lang}wcf.editor.code.highlighter.description{/lang}',
- 'wcf.editor.code.highlighter.detect': '{lang}wcf.editor.code.highlighter.detect{/lang}',
- 'wcf.editor.code.highlighter.plain': '{lang}wcf.editor.code.highlighter.plain{/lang}',
- 'wcf.editor.code.line': '{lang}wcf.editor.code.line{/lang}',
- 'wcf.editor.code.line.description': '{lang}wcf.editor.code.line.description{/lang}',
- 'wcf.editor.code.title': '{lang __literal=true}wcf.editor.code.title{/lang}',
+ 'wcf.editor.code.edit': '{jslang}wcf.editor.code.edit{/jslang}',
+ 'wcf.editor.code.file': '{jslang}wcf.editor.code.file{/jslang}',
+ 'wcf.editor.code.file.description': '{jslang}wcf.editor.code.file.description{/jslang}',
+ 'wcf.editor.code.highlighter': '{jslang}wcf.editor.code.highlighter{/jslang}',
+ 'wcf.editor.code.highlighter.description': '{jslang}wcf.editor.code.highlighter.description{/jslang}',
+ 'wcf.editor.code.highlighter.detect': '{jslang}wcf.editor.code.highlighter.detect{/jslang}',
+ 'wcf.editor.code.highlighter.plain': '{jslang}wcf.editor.code.highlighter.plain{/jslang}',
+ 'wcf.editor.code.line': '{jslang}wcf.editor.code.line{/jslang}',
+ 'wcf.editor.code.line.description': '{jslang}wcf.editor.code.line.description{/jslang}',
+ 'wcf.editor.code.title': '{jslang __literal=true}wcf.editor.code.title{/jslang}',
- 'wcf.editor.html.description': '{lang}wcf.editor.html.description{/lang}',
- 'wcf.editor.html.title': '{lang}wcf.editor.html.title{/lang}',
+ 'wcf.editor.html.description': '{jslang}wcf.editor.html.description{/jslang}',
+ 'wcf.editor.html.title': '{jslang}wcf.editor.html.title{/jslang}',
- 'wcf.editor.image.edit': '{lang}wcf.editor.image.edit{/lang}',
- 'wcf.editor.image.insert': '{lang}wcf.editor.image.insert{/lang}',
- 'wcf.editor.image.link': '{lang}wcf.editor.image.link{/lang}',
- 'wcf.editor.image.link.error.invalid': '{lang}wcf.editor.image.link.error.invalid{/lang}',
- 'wcf.editor.image.float': '{lang}wcf.editor.image.float{/lang}',
- 'wcf.editor.image.float.left': '{lang}wcf.editor.image.float.left{/lang}',
- 'wcf.editor.image.float.right': '{lang}wcf.editor.image.float.right{/lang}',
- 'wcf.editor.image.source': '{lang}wcf.editor.image.source{/lang}',
- 'wcf.editor.image.source.error.blocked': '{lang}wcf.editor.image.source.error.blocked{/lang}',
- 'wcf.editor.image.source.error.insecure': '{lang}wcf.editor.image.source.error.insecure{/lang}',
- 'wcf.editor.image.source.error.invalid': '{lang}wcf.editor.image.source.error.invalid{/lang}',
+ 'wcf.editor.image.edit': '{jslang}wcf.editor.image.edit{/jslang}',
+ 'wcf.editor.image.insert': '{jslang}wcf.editor.image.insert{/jslang}',
+ 'wcf.editor.image.link': '{jslang}wcf.editor.image.link{/jslang}',
+ 'wcf.editor.image.link.error.invalid': '{jslang}wcf.editor.image.link.error.invalid{/jslang}',
+ 'wcf.editor.image.float': '{jslang}wcf.editor.image.float{/jslang}',
+ 'wcf.editor.image.float.left': '{jslang}wcf.editor.image.float.left{/jslang}',
+ 'wcf.editor.image.float.right': '{jslang}wcf.editor.image.float.right{/jslang}',
+ 'wcf.editor.image.source': '{jslang}wcf.editor.image.source{/jslang}',
+ 'wcf.editor.image.source.error.blocked': '{jslang}wcf.editor.image.source.error.blocked{/jslang}',
+ 'wcf.editor.image.source.error.insecure': '{jslang}wcf.editor.image.source.error.insecure{/jslang}',
+ 'wcf.editor.image.source.error.invalid': '{jslang}wcf.editor.image.source.error.invalid{/jslang}',
- 'wcf.editor.link.add': '{lang}wcf.editor.link.add{/lang}',
- 'wcf.editor.link.edit': '{lang}wcf.editor.link.edit{/lang}',
- 'wcf.editor.link.error.invalid': '{lang}wcf.editor.link.error.invalid{/lang}',
- 'wcf.editor.link.url': '{lang}wcf.editor.link.url{/lang}',
- 'wcf.editor.link.text': '{lang}wcf.editor.link.text{/lang}',
+ 'wcf.editor.link.add': '{jslang}wcf.editor.link.add{/jslang}',
+ 'wcf.editor.link.edit': '{jslang}wcf.editor.link.edit{/jslang}',
+ 'wcf.editor.link.error.invalid': '{jslang}wcf.editor.link.error.invalid{/jslang}',
+ 'wcf.editor.link.url': '{jslang}wcf.editor.link.url{/jslang}',
+ 'wcf.editor.link.text': '{jslang}wcf.editor.link.text{/jslang}',
- 'wcf.editor.list.indent': '{lang}wcf.editor.list.indent{/lang}',
- 'wcf.editor.list.outdent': '{lang}wcf.editor.list.outdent{/lang}',
+ 'wcf.editor.list.indent': '{jslang}wcf.editor.list.indent{/jslang}',
+ 'wcf.editor.list.outdent': '{jslang}wcf.editor.list.outdent{/jslang}',
- 'wcf.editor.quote.author': '{lang}wcf.editor.quote.author{/lang}',
- 'wcf.editor.quote.edit': '{lang}wcf.editor.quote.edit{/lang}',
- 'wcf.editor.quote.title': '{lang __literal=true}wcf.editor.quote.title{/lang}',
- 'wcf.editor.quote.url': '{lang}wcf.editor.quote.url{/lang}',
- 'wcf.editor.quote.url.description': '{lang}wcf.editor.quote.url.description{/lang}',
- 'wcf.editor.quote.url.error.invalid': '{lang}wcf.editor.quote.url.error.invalid{/lang}',
+ 'wcf.editor.quote.author': '{jslang}wcf.editor.quote.author{/jslang}',
+ 'wcf.editor.quote.edit': '{jslang}wcf.editor.quote.edit{/jslang}',
+ 'wcf.editor.quote.title': '{jslang __literal=true}wcf.editor.quote.title{/jslang}',
+ 'wcf.editor.quote.url': '{jslang}wcf.editor.quote.url{/jslang}',
+ 'wcf.editor.quote.url.description': '{jslang}wcf.editor.quote.url.description{/jslang}',
+ 'wcf.editor.quote.url.error.invalid': '{jslang}wcf.editor.quote.url.error.invalid{/jslang}',
- 'wcf.editor.table.cols': '{lang}wcf.editor.table.cols{/lang}',
- 'wcf.editor.table.insertTable': '{lang}wcf.editor.table.insertTable{/lang}',
- 'wcf.editor.table.rows': '{lang}wcf.editor.table.rows{/lang}',
+ 'wcf.editor.table.cols': '{jslang}wcf.editor.table.cols{/jslang}',
+ 'wcf.editor.table.insertTable': '{jslang}wcf.editor.table.insertTable{/jslang}',
+ 'wcf.editor.table.rows': '{jslang}wcf.editor.table.rows{/jslang}',
- 'wcf.editor.source.error.active': '{lang}wcf.editor.source.error.active{/lang}',
+ 'wcf.editor.source.error.active': '{jslang}wcf.editor.source.error.active{/jslang}',
- 'wcf.editor.spoiler.label': '{lang}wcf.editor.spoiler.label{/lang}',
- 'wcf.editor.spoiler.label.description': '{lang}wcf.editor.spoiler.label.description{/lang}',
- 'wcf.editor.spoiler.edit': '{lang}wcf.editor.spoiler.edit{/lang}',
- 'wcf.editor.spoiler.title': '{lang __literal=true}wcf.editor.spoiler.title{/lang}'
+ 'wcf.editor.spoiler.label': '{jslang}wcf.editor.spoiler.label{/jslang}',
+ 'wcf.editor.spoiler.label.description': '{jslang}wcf.editor.spoiler.label.description{/jslang}',
+ 'wcf.editor.spoiler.edit': '{jslang}wcf.editor.spoiler.edit{/jslang}',
+ 'wcf.editor.spoiler.title': '{jslang __literal=true}wcf.editor.spoiler.title{/jslang}'
});
var allowedInlineStyles = [], buttons = [], buttonMobile = [], buttonOptions = [], customButtons = [];
var config = {
buttons: buttons,
clipboardImageUpload: {if $__wcf->getBBCodeHandler()->isAvailableBBCode('attach')}true{else}false{/if},
- direction: '{lang}wcf.global.pageDirection{/lang}',
+ direction: '{jslang}wcf.global.pageDirection{/jslang}',
formatting: ['p', 'h2', 'h3', 'h4'],
imageCaption: false,
imageUpload: {if $__wcf->getBBCodeHandler()->isAvailableBBCode('attach')}true{else}false{/if},
langs: {
wsc: {
// general
- edit: '{lang}wcf.global.button.edit{/lang}',
+ edit: '{jslang}wcf.global.button.edit{/jslang}',
// formatting dropdown
- heading2: '{lang}wcf.editor.format.heading2{/lang}',
- heading3: '{lang}wcf.editor.format.heading3{/lang}',
- heading4: '{lang}wcf.editor.format.heading4{/lang}',
- paragraph: '{lang}wcf.editor.format.paragraph{/lang}',
+ heading2: '{jslang}wcf.editor.format.heading2{/jslang}',
+ heading3: '{jslang}wcf.editor.format.heading3{/jslang}',
+ heading4: '{jslang}wcf.editor.format.heading4{/jslang}',
+ paragraph: '{jslang}wcf.editor.format.paragraph{/jslang}',
// links
- 'link-edit': '{lang}wcf.editor.link.edit{/lang}',
- 'link-insert': '{lang}wcf.editor.link.add{/lang}',
- unlink: '{lang}wcf.editor.link.unlink{/lang}',
+ 'link-edit': '{jslang}wcf.editor.link.edit{/jslang}',
+ 'link-insert': '{jslang}wcf.editor.link.add{/jslang}',
+ unlink: '{jslang}wcf.editor.link.unlink{/jslang}',
// text alignment
- 'align-center': '{lang}wcf.editor.alignment.center{/lang}',
- 'align-justify': '{lang}wcf.editor.alignment.justify{/lang}',
- 'align-left': '{lang}wcf.editor.alignment.left{/lang}',
- 'align-right': '{lang}wcf.editor.alignment.right{/lang}',
+ 'align-center': '{jslang}wcf.editor.alignment.center{/jslang}',
+ 'align-justify': '{jslang}wcf.editor.alignment.justify{/jslang}',
+ 'align-left': '{jslang}wcf.editor.alignment.left{/jslang}',
+ 'align-right': '{jslang}wcf.editor.alignment.right{/jslang}',
// table plugin
- 'add-head': '{lang}wcf.editor.table.addHead{/lang}',
- 'delete-column': '{lang}wcf.editor.table.deleteColumn{/lang}',
- 'delete-head': '{lang}wcf.editor.table.deleteHead{/lang}',
- 'delete-row': '{lang}wcf.editor.table.deleteRow{/lang}',
- 'delete-table': '{lang}wcf.editor.table.deleteTable{/lang}',
- 'insert-table': '{lang}wcf.editor.table.insertTable{/lang}',
- 'insert-column-left': '{lang}wcf.editor.table.insertColumnLeft{/lang}',
- 'insert-column-right': '{lang}wcf.editor.table.insertColumnRight{/lang}',
- 'insert-row-above': '{lang}wcf.editor.table.insertRowAbove{/lang}',
- 'insert-row-below': '{lang}wcf.editor.table.insertRowBelow{/lang}',
+ 'add-head': '{jslang}wcf.editor.table.addHead{/jslang}',
+ 'delete-column': '{jslang}wcf.editor.table.deleteColumn{/jslang}',
+ 'delete-head': '{jslang}wcf.editor.table.deleteHead{/jslang}',
+ 'delete-row': '{jslang}wcf.editor.table.deleteRow{/jslang}',
+ 'delete-table': '{jslang}wcf.editor.table.deleteTable{/jslang}',
+ 'insert-table': '{jslang}wcf.editor.table.insertTable{/jslang}',
+ 'insert-column-left': '{jslang}wcf.editor.table.insertColumnLeft{/jslang}',
+ 'insert-column-right': '{jslang}wcf.editor.table.insertColumnRight{/jslang}',
+ 'insert-row-above': '{jslang}wcf.editor.table.insertRowAbove{/jslang}',
+ 'insert-row-below': '{jslang}wcf.editor.table.insertRowBelow{/jslang}',
// size
- 'remove-size': '{lang}wcf.editor.button.size.removeSize{/lang}',
+ 'remove-size': '{jslang}wcf.editor.button.size.removeSize{/jslang}',
// color
- 'remove-color': '{lang}wcf.editor.button.color.removeColor{/lang}',
+ 'remove-color': '{jslang}wcf.editor.button.color.removeColor{/jslang}',
// font
- 'remove-font': '{lang}wcf.editor.button.font.removeFont{/lang}'
+ 'remove-font': '{jslang}wcf.editor.button.font.removeFont{/jslang}'
}
},
linkify: false,
AcpUiCodeMirrorPage
) {
Language.addObject({
- 'wcf.page.search': '{lang}wcf.page.search{/lang}',
- 'wcf.page.search.error.tooShort': '{lang}wcf.page.search.error.tooShort{/lang}',
- 'wcf.page.search.error.noResults': '{lang}wcf.page.search.error.noResults{/lang}',
- 'wcf.page.search.name': '{lang}wcf.page.search.name{/lang}',
- 'wcf.page.search.results': '{lang}wcf.page.search.results{/lang}',
+ 'wcf.page.search': '{jslang}wcf.page.search{/jslang}',
+ 'wcf.page.search.error.tooShort': '{jslang}wcf.page.search.error.tooShort{/jslang}',
+ 'wcf.page.search.error.noResults': '{jslang}wcf.page.search.error.noResults{/jslang}',
+ 'wcf.page.search.name': '{jslang}wcf.page.search.name{/jslang}',
+ 'wcf.page.search.results': '{jslang}wcf.page.search.results{/jslang}',
});
new AcpUiCodeMirrorMedia('content{@$languageID}');
<script data-relocate="true">
require(['Language'], function(Language) {
Language.addObject({
- 'wcf.acp.pip.box.visibilityExceptions.hiddenEverywhere': '{lang}wcf.acp.pip.box.visibilityExceptions.hiddenEverywhere{/lang}',
- 'wcf.acp.pip.box.visibilityExceptions.visibleEverywhere': '{lang}wcf.acp.pip.box.visibilityExceptions.visibleEverywhere{/lang}'
+ 'wcf.acp.pip.box.visibilityExceptions.hiddenEverywhere': '{jslang}wcf.acp.pip.box.visibilityExceptions.hiddenEverywhere{/jslang}',
+ 'wcf.acp.pip.box.visibilityExceptions.visibleEverywhere': '{jslang}wcf.acp.pip.box.visibilityExceptions.visibleEverywhere{/jslang}'
});
var visibleEverywhere = elById('visibleEverywhere');
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/ExcludedPackages'], function(Language, ExcludedPackagesFormField) {
Language.addObject({
- 'wcf.acp.devtools.project.packageIdentifier.error.duplicate': '{lang}wcf.acp.devtools.project.packageIdentifier.error.duplicate{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.format': '{lang}wcf.acp.devtools.project.packageIdentifier.error.format{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.maximumLength': '{lang}wcf.acp.devtools.project.packageIdentifier.error.maximumLength{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.minimumLength': '{lang}wcf.acp.devtools.project.packageIdentifier.error.minimumLength{/lang}',
- 'wcf.acp.devtools.project.packageVersion.error.format': '{lang}wcf.acp.devtools.project.packageVersion.error.format{/lang}',
- 'wcf.acp.devtools.project.packageVersion.error.maximumLength': '{lang}wcf.acp.devtools.project.packageVersion.error.maximumLength{/lang}',
- 'wcf.acp.devtools.project.excludedPackage.excludedPackage': '{capture assign=__languageItem}{lang __literal=true}wcf.acp.devtools.project.excludedPackage.excludedPackage{/lang}{/capture}{@$__languageItem|encodeJS}'
+ 'wcf.acp.devtools.project.packageIdentifier.error.duplicate': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.duplicate{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.format': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.format{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.maximumLength': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.maximumLength{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.minimumLength': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.minimumLength{/jslang}',
+ 'wcf.acp.devtools.project.packageVersion.error.format': '{jslang}wcf.acp.devtools.project.packageVersion.error.format{/jslang}',
+ 'wcf.acp.devtools.project.packageVersion.error.maximumLength': '{jslang}wcf.acp.devtools.project.packageVersion.error.maximumLength{/jslang}',
+ 'wcf.acp.devtools.project.excludedPackage.excludedPackage': '{jslang __literal=true}wcf.acp.devtools.project.excludedPackage.excludedPackage{/jslang}'
});
new ExcludedPackagesFormField('{@$field->getPrefixedId()}', [
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Devtools/Project/Installation/Confirmation'], function(Language, DevtoolsProjectInstallationConfirmation) {
Language.addObject({
- 'wcf.acp.devtools.project.installPackage.confirmMessage': '{lang __literal=true}wcf.acp.devtools.project.installPackage.confirmMessage{/lang}',
- 'wcf.acp.package.install.title': '{lang}wcf.acp.package.install.title{/lang}'
+ 'wcf.acp.devtools.project.installPackage.confirmMessage': '{jslang __literal=true}wcf.acp.devtools.project.installPackage.confirmMessage{/jslang}',
+ 'wcf.acp.package.install.title': '{jslang}wcf.acp.package.install.title{/jslang}'
});
DevtoolsProjectInstallationConfirmation.init({@$project->projectID}, '{@$project->name|encodeJS}');
Template
) {
Language.addObject({
- 'wcf.acp.devtools.project.instruction.delete.confirmMessages': '{lang}wcf.acp.devtools.project.instruction.delete.confirmMessages{/lang}',
- 'wcf.acp.devtools.project.instruction.edit': '{lang}wcf.acp.devtools.project.instruction.edit{/lang}',
- 'wcf.acp.devtools.project.instruction.instruction': '{capture assign=__languageItem}{lang __literal=true}wcf.acp.devtools.project.instruction.instruction{/lang}{/capture}{@$__languageItem|encodeJS}',
- 'wcf.acp.devtools.project.instruction.value.description': '{lang}wcf.acp.devtools.project.instruction.value.description{/lang}',
- 'wcf.acp.devtools.project.instruction.value.description.defaultFilename': '{lang __literal=true}wcf.acp.devtools.project.instruction.value.description.defaultFilename{/lang}',
- 'wcf.acp.devtools.project.instructions.delete.confirmMessages': '{lang}wcf.acp.devtools.project.instructions.delete.confirmMessages{/lang}',
- 'wcf.acp.devtools.project.instructions.edit': '{lang}wcf.acp.devtools.project.instructions.edit{/lang}',
- 'wcf.acp.devtools.project.instructions.instructions.description': '{lang}wcf.acp.devtools.project.instructions.instructions.description{/lang}',
- 'wcf.acp.devtools.project.instructions.type.install.title': '{lang}wcf.acp.devtools.project.instructions.type.install.title{/lang}',
- 'wcf.acp.devtools.project.instructions.type.update.error.duplicate': '{lang}wcf.acp.devtools.project.instructions.type.update.error.duplicate{/lang}',
- 'wcf.acp.devtools.project.instructions.type.update.title': '{lang __literal=true}wcf.acp.devtools.project.instructions.type.update.title{/lang}',
- 'wcf.global.form.error.noValidSelection': '{lang}wcf.global.form.error.noValidSelection{/lang}'
+ 'wcf.acp.devtools.project.instruction.delete.confirmMessages': '{jslang}wcf.acp.devtools.project.instruction.delete.confirmMessages{/jslang}',
+ 'wcf.acp.devtools.project.instruction.edit': '{jslang}wcf.acp.devtools.project.instruction.edit{/jslang}',
+ 'wcf.acp.devtools.project.instruction.instruction': '{jslang __literal=true}wcf.acp.devtools.project.instruction.instruction{/jslang}',
+ 'wcf.acp.devtools.project.instruction.value.description': '{jslang}wcf.acp.devtools.project.instruction.value.description{/jslang}',
+ 'wcf.acp.devtools.project.instruction.value.description.defaultFilename': '{jslang __literal=true}wcf.acp.devtools.project.instruction.value.description.defaultFilename{/jslang}',
+ 'wcf.acp.devtools.project.instructions.delete.confirmMessages': '{jslang}wcf.acp.devtools.project.instructions.delete.confirmMessages{/jslang}',
+ 'wcf.acp.devtools.project.instructions.edit': '{jslang}wcf.acp.devtools.project.instructions.edit{/jslang}',
+ 'wcf.acp.devtools.project.instructions.instructions.description': '{jslang}wcf.acp.devtools.project.instructions.instructions.description{/jslang}',
+ 'wcf.acp.devtools.project.instructions.type.install.title': '{jslang}wcf.acp.devtools.project.instructions.type.install.title{/jslang}',
+ 'wcf.acp.devtools.project.instructions.type.update.error.duplicate': '{jslang}wcf.acp.devtools.project.instructions.type.update.error.duplicate{/jslang}',
+ 'wcf.acp.devtools.project.instructions.type.update.title': '{jslang __literal=true}wcf.acp.devtools.project.instructions.type.update.title{/jslang}',
+ 'wcf.global.form.error.noValidSelection': '{jslang}wcf.global.form.error.noValidSelection{/jslang}'
});
var instructionsTemplate = new Template('{@$instructionsTemplate|encodeJS}');
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/OptionalPackages'], function(Language, OptionalPackagesFormField) {
Language.addObject({
- 'wcf.acp.devtools.project.packageIdentifier.error.duplicate': '{lang}wcf.acp.devtools.project.packageIdentifier.error.duplicate{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.format': '{lang}wcf.acp.devtools.project.packageIdentifier.error.format{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.maximumLength': '{lang}wcf.acp.devtools.project.packageIdentifier.error.maximumLength{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.minimumLength': '{lang}wcf.acp.devtools.project.packageIdentifier.error.minimumLength{/lang}',
- 'wcf.acp.devtools.project.packageVersion.error.format': '{lang}wcf.acp.devtools.project.packageVersion.error.format{/lang}',
- 'wcf.acp.devtools.project.packageVersion.error.maximumLength': '{lang}wcf.acp.devtools.project.packageVersion.error.maximumLength{/lang}',
- 'wcf.acp.devtools.project.optionalPackage.optionalPackage': '{lang __literal=true}wcf.acp.devtools.project.optionalPackage.optionalPackage{/lang}'
+ 'wcf.acp.devtools.project.packageIdentifier.error.duplicate': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.duplicate{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.format': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.format{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.maximumLength': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.maximumLength{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.minimumLength': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.minimumLength{/jslang}',
+ 'wcf.acp.devtools.project.packageVersion.error.format': '{jslang}wcf.acp.devtools.project.packageVersion.error.format{/jslang}',
+ 'wcf.acp.devtools.project.packageVersion.error.maximumLength': '{jslang}wcf.acp.devtools.project.packageVersion.error.maximumLength{/jslang}',
+ 'wcf.acp.devtools.project.optionalPackage.optionalPackage': '{jslang __literal=true}wcf.acp.devtools.project.optionalPackage.optionalPackage{/jslang}'
});
new OptionalPackagesFormField('{@$field->getPrefixedId()}', [
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/RequiredPackages'], function(Language, RequiredPackagesFormField) {
Language.addObject({
- 'wcf.acp.devtools.project.packageIdentifier.error.duplicate': '{lang}wcf.acp.devtools.project.packageIdentifier.error.duplicate{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.format': '{lang}wcf.acp.devtools.project.packageIdentifier.error.format{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.maximumLength': '{lang}wcf.acp.devtools.project.packageIdentifier.error.maximumLength{/lang}',
- 'wcf.acp.devtools.project.packageIdentifier.error.minimumLength': '{lang}wcf.acp.devtools.project.packageIdentifier.error.minimumLength{/lang}',
- 'wcf.acp.devtools.project.packageVersion.error.format': '{lang}wcf.acp.devtools.project.packageVersion.error.format{/lang}',
- 'wcf.acp.devtools.project.packageVersion.error.maximumLength': '{lang}wcf.acp.devtools.project.packageVersion.error.maximumLength{/lang}',
- 'wcf.acp.devtools.project.requiredPackage.requiredPackage': '{capture assign=__languageItem}{lang __literal=true}wcf.acp.devtools.project.requiredPackage.requiredPackage{/lang}{/capture}{@$__languageItem|encodeJS}'
+ 'wcf.acp.devtools.project.packageIdentifier.error.duplicate': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.duplicate{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.format': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.format{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.maximumLength': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.maximumLength{/jslang}',
+ 'wcf.acp.devtools.project.packageIdentifier.error.minimumLength': '{jslang}wcf.acp.devtools.project.packageIdentifier.error.minimumLength{/jslang}',
+ 'wcf.acp.devtools.project.packageVersion.error.format': '{jslang}wcf.acp.devtools.project.packageVersion.error.format{/jslang}',
+ 'wcf.acp.devtools.project.packageVersion.error.maximumLength': '{jslang}wcf.acp.devtools.project.packageVersion.error.maximumLength{/jslang}',
+ 'wcf.acp.devtools.project.requiredPackage.requiredPackage': '{jslang __literal=true}wcf.acp.devtools.project.requiredPackage.requiredPackage{/jslang}'
});
new RequiredPackagesFormField('{@$field->getPrefixedId()}', [
<script data-relocate="true">
require(['Dom/Util', 'Language', 'WoltLabSuite/Core/Form/Builder/Field/Controller/Label'], function(DomUtil, Language, FormBuilderFieldLabel) {
Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
- 'wcf.label.withoutSelection': '{lang}wcf.label.withoutSelection{/lang}'
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
+ 'wcf.label.withoutSelection': '{jslang}wcf.label.withoutSelection{/jslang}'
});
new FormBuilderFieldLabel(
<script data-relocate="true">
require(['Language'], function(Language) {
Language.addObject({
- 'wcf.acp.pip.menu.boxVisibilityExceptions.hiddenEverywhere': '{lang}wcf.acp.pip.menu.boxVisibilityExceptions.hiddenEverywhere{/lang}',
- 'wcf.acp.pip.menu.boxVisibilityExceptions.visibleEverywhere': '{lang}wcf.acp.pip.menu.boxVisibilityExceptions.visibleEverywhere{/lang}'
+ 'wcf.acp.pip.menu.boxVisibilityExceptions.hiddenEverywhere': '{jslang}wcf.acp.pip.menu.boxVisibilityExceptions.hiddenEverywhere{/jslang}',
+ 'wcf.acp.pip.menu.boxVisibilityExceptions.visibleEverywhere': '{jslang}wcf.acp.pip.menu.boxVisibilityExceptions.visibleEverywhere{/jslang}'
});
var boxVisibleEverywhere = elById('boxVisibleEverywhere');
WCF.Language.addObject({
- 'wcf.message.quote.insertAllQuotes': '{lang}wcf.message.quote.insertAllQuotes{/lang}',
- 'wcf.message.quote.insertSelectedQuotes': '{lang}wcf.message.quote.insertSelectedQuotes{/lang}',
- 'wcf.message.quote.manageQuotes': '{lang}wcf.message.quote.manageQuotes{/lang}',
- 'wcf.message.quote.quoteSelected': '{lang}wcf.message.quote.quoteSelected{/lang}',
- 'wcf.message.quote.quoteAndReply': '{lang}wcf.message.quote.quoteAndReply{/lang}',
- 'wcf.message.quote.removeAllQuotes': '{lang}wcf.message.quote.removeAllQuotes{/lang}',
- 'wcf.message.quote.removeSelectedQuotes': '{lang}wcf.message.quote.removeSelectedQuotes{/lang}',
- 'wcf.message.quote.showQuotes': '{lang __literal=true}wcf.message.quote.showQuotes{/lang}'
+ 'wcf.message.quote.insertAllQuotes': '{jslang}wcf.message.quote.insertAllQuotes{/jslang}',
+ 'wcf.message.quote.insertSelectedQuotes': '{jslang}wcf.message.quote.insertSelectedQuotes{/jslang}',
+ 'wcf.message.quote.manageQuotes': '{jslang}wcf.message.quote.manageQuotes{/jslang}',
+ 'wcf.message.quote.quoteSelected': '{jslang}wcf.message.quote.quoteSelected{/jslang}',
+ 'wcf.message.quote.quoteAndReply': '{jslang}wcf.message.quote.quoteAndReply{/jslang}',
+ 'wcf.message.quote.removeAllQuotes': '{jslang}wcf.message.quote.removeAllQuotes{/jslang}',
+ 'wcf.message.quote.removeSelectedQuotes': '{jslang}wcf.message.quote.removeSelectedQuotes{/jslang}',
+ 'wcf.message.quote.showQuotes': '{jslang __literal=true}wcf.message.quote.showQuotes{/jslang}'
});
{if !$wysiwygSelector|isset}{assign var=wysiwygSelector value=''}{/if}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
Language.addObject({
- 'wcf.global.filter.button.visibility': '{lang}wcf.global.filter.button.visibility{/lang}',
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.filter.visibility.activeOnly': '{lang}wcf.global.filter.visibility.activeOnly{/lang}',
- 'wcf.global.filter.visibility.highlightActive': '{lang}wcf.global.filter.visibility.highlightActive{/lang}',
- 'wcf.global.filter.visibility.showAll': '{lang}wcf.global.filter.visibility.showAll{/lang}'
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
});
new UiItemListFilter('{@$field->getPrefixedId()}_list');
<script data-relocate="true">
require(['Language'], function(Language) {
Language.addObject({
- 'wcf.form.field.className.description.interface': '{lang __literal=true}wcf.form.field.className.description.interface{/lang}',
+ 'wcf.form.field.className.description.interface': '{jslang __literal=true}wcf.form.field.className.description.interface{/jslang}',
{implode from=$definitionNames item=definitionName}
- 'wcf.acp.pip.objectType.definitionName.{@$definitionName}.description': '{lang __literal=true __optional=true}wcf.acp.pip.objectType.definitionName.{@$definitionName}.description{/lang}'
+ 'wcf.acp.pip.objectType.definitionName.{@$definitionName}.description': '{jslang __literal=true __optional=true}wcf.acp.pip.objectType.definitionName.{@$definitionName}.description{/jslang}'
{/implode}
});
definitionID.addEventListener('change', update);
});
-</script>
\ No newline at end of file
+</script>
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Option/EmailSmtpTest'], function (Language, AcpUiOptionEmailSmtpTest) {
Language.addObject({
- 'wcf.acp.email.smtp.test': '{lang}wcf.acp.email.smtp.test{/lang}',
- 'wcf.acp.email.smtp.test.description': '{lang}wcf.acp.email.smtp.test.description{/lang}',
- 'wcf.acp.email.smtp.test.error.empty.host': '{lang}wcf.acp.email.smtp.test.error.empty.host{/lang}',
- 'wcf.acp.email.smtp.test.error.empty.password': '{lang}wcf.acp.email.smtp.test.error.empty.password{/lang}',
- 'wcf.acp.email.smtp.test.error.empty.user': '{lang}wcf.acp.email.smtp.test.error.empty.user{/lang}',
- 'wcf.acp.email.smtp.test.run': '{lang}wcf.acp.email.smtp.test.run{/lang}',
- 'wcf.acp.email.smtp.test.run.success': '{lang}wcf.acp.email.smtp.test.run.success{/lang}'
+ 'wcf.acp.email.smtp.test': '{jslang}wcf.acp.email.smtp.test{/jslang}',
+ 'wcf.acp.email.smtp.test.description': '{jslang}wcf.acp.email.smtp.test.description{/jslang}',
+ 'wcf.acp.email.smtp.test.error.empty.host': '{jslang}wcf.acp.email.smtp.test.error.empty.host{/jslang}',
+ 'wcf.acp.email.smtp.test.error.empty.password': '{jslang}wcf.acp.email.smtp.test.error.empty.password{/jslang}',
+ 'wcf.acp.email.smtp.test.error.empty.user': '{jslang}wcf.acp.email.smtp.test.error.empty.user{/jslang}',
+ 'wcf.acp.email.smtp.test.run': '{jslang}wcf.acp.email.smtp.test.run{/jslang}',
+ 'wcf.acp.email.smtp.test.run.success': '{jslang}wcf.acp.email.smtp.test.run.success{/jslang}'
});
AcpUiOptionEmailSmtpTest.init();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Option/RewriteGenerator'], function (Language, AcpUiOptionRewriteGenerator) {
Language.addObject({
- 'wcf.acp.rewrite': '{lang}wcf.acp.rewrite{/lang}',
- 'wcf.acp.rewrite.description': '{lang}wcf.acp.rewrite.description{/lang}',
- 'wcf.acp.rewrite.generate': '{lang}wcf.acp.rewrite.generate{/lang}'
+ 'wcf.acp.rewrite': '{jslang}wcf.acp.rewrite{/jslang}',
+ 'wcf.acp.rewrite.description': '{jslang}wcf.acp.rewrite.description{/jslang}',
+ 'wcf.acp.rewrite.generate': '{jslang}wcf.acp.rewrite.generate{/jslang}'
});
AcpUiOptionRewriteGenerator.init();
<script data-relocate="true">
require(['Dictionary', 'Language', 'WoltLabSuite/Core/Acp/Ui/Option/RewriteTest'], function (Dictionary, Language, AcpUiOptionRewriteTest) {
Language.addObject({
- 'wcf.acp.option.url_omit_index_php': '{lang}wcf.acp.option.url_omit_index_php{/lang}',
- 'wcf.acp.option.url_omit_index_php.test.status.failure': '{lang}wcf.acp.option.url_omit_index_php.test.status.failure{/lang}',
- 'wcf.acp.option.url_omit_index_php.test.status.success': '{lang}wcf.acp.option.url_omit_index_php.test.status.success{/lang}'
+ 'wcf.acp.option.url_omit_index_php': '{jslang}wcf.acp.option.url_omit_index_php{/jslang}',
+ 'wcf.acp.option.url_omit_index_php.test.status.failure': '{jslang}wcf.acp.option.url_omit_index_php.test.status.failure{/jslang}',
+ 'wcf.acp.option.url_omit_index_php.test.status.success': '{jslang}wcf.acp.option.url_omit_index_php.test.status.success{/jslang}'
});
var apps = Dictionary.fromObject({
AcpUiCodeMirrorPage
) {
Language.addObject({
- 'wcf.page.search': '{lang}wcf.page.search{/lang}',
- 'wcf.page.search.error.tooShort': '{lang}wcf.page.search.error.tooShort{/lang}',
- 'wcf.page.search.error.noResults': '{lang}wcf.page.search.error.noResults{/lang}',
- 'wcf.page.search.name': '{lang}wcf.page.search.name{/lang}',
- 'wcf.page.search.results': '{lang}wcf.page.search.results{/lang}',
+ 'wcf.page.search': '{jslang}wcf.page.search{/jslang}',
+ 'wcf.page.search.error.tooShort': '{jslang}wcf.page.search.error.tooShort{/jslang}',
+ 'wcf.page.search.error.noResults': '{jslang}wcf.page.search.error.noResults{/jslang}',
+ 'wcf.page.search.name': '{jslang}wcf.page.search.name{/jslang}',
+ 'wcf.page.search.results': '{jslang}wcf.page.search.results{/jslang}',
});
new AcpUiCodeMirrorMedia('{@$__pageContentID}');
<script data-relocate="true">
require(['Dom/Traverse', 'Dom/Util', 'Language', 'WoltLabSuite/Core/Ui/Poll/Editor'], function(DomTraverse, DomUtil, Language, UiPollEditor) {
Language.addObject({
- 'wcf.poll.button.addOption': '{lang}wcf.poll.button.addOption{/lang}',
- 'wcf.poll.button.removeOption': '{lang}wcf.poll.button.removeOption{/lang}',
- 'wcf.poll.maxVotes.error.invalid': '{lang}wcf.poll.maxVotes.error.invalid{/lang}'
+ 'wcf.poll.button.addOption': '{jslang}wcf.poll.button.addOption{/jslang}',
+ 'wcf.poll.button.removeOption': '{jslang}wcf.poll.button.removeOption{/jslang}',
+ 'wcf.poll.maxVotes.error.invalid': '{jslang}wcf.poll.maxVotes.error.invalid{/jslang}'
});
new UiPollEditor(
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
Language.addObject({
- 'wcf.global.filter.button.visibility': '{lang}wcf.global.filter.button.visibility{/lang}',
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.filter.visibility.activeOnly': '{lang}wcf.global.filter.visibility.activeOnly{/lang}',
- 'wcf.global.filter.visibility.highlightActive': '{lang}wcf.global.filter.visibility.highlightActive{/lang}',
- 'wcf.global.filter.visibility.showAll': '{lang}wcf.global.filter.visibility.showAll{/lang}'
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
});
new UiItemListFilter('{@$field->getPrefixedId()}_list');
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.attachment.upload.error.invalidExtension': '{lang}wcf.attachment.upload.error.invalidExtension{/lang}',
- 'wcf.attachment.upload.error.tooLarge': '{lang}wcf.attachment.upload.error.tooLarge{/lang}',
- 'wcf.attachment.upload.error.reachedLimit': '{lang}wcf.attachment.upload.error.reachedLimit{/lang}',
- 'wcf.attachment.upload.error.reachedRemainingLimit': '{lang}wcf.attachment.upload.error.reachedRemainingLimit{/lang}',
- 'wcf.attachment.upload.error.uploadFailed': '{lang}wcf.attachment.upload.error.uploadFailed{/lang}',
- 'wcf.attachment.upload.error.uploadPhpLimit': '{lang}wcf.attachment.upload.error.uploadPhpLimit{/lang}',
- 'wcf.attachment.insert': '{lang}wcf.attachment.insert{/lang}',
- 'wcf.attachment.insertAll': '{lang}wcf.attachment.insertAll{/lang}',
- 'wcf.attachment.insertFull': '{lang}wcf.attachment.insertFull{/lang}',
- 'wcf.attachment.insertThumbnail': '{lang}wcf.attachment.insertThumbnail{/lang}',
- 'wcf.attachment.delete.sure': '{lang}wcf.attachment.delete.sure{/lang}'
+ 'wcf.attachment.upload.error.invalidExtension': '{jslang}wcf.attachment.upload.error.invalidExtension{/jslang}',
+ 'wcf.attachment.upload.error.tooLarge': '{jslang}wcf.attachment.upload.error.tooLarge{/jslang}',
+ 'wcf.attachment.upload.error.reachedLimit': '{jslang}wcf.attachment.upload.error.reachedLimit{/jslang}',
+ 'wcf.attachment.upload.error.reachedRemainingLimit': '{jslang}wcf.attachment.upload.error.reachedRemainingLimit{/jslang}',
+ 'wcf.attachment.upload.error.uploadFailed': '{jslang}wcf.attachment.upload.error.uploadFailed{/jslang}',
+ 'wcf.attachment.upload.error.uploadPhpLimit': '{jslang}wcf.attachment.upload.error.uploadPhpLimit{/jslang}',
+ 'wcf.attachment.insert': '{jslang}wcf.attachment.insert{/jslang}',
+ 'wcf.attachment.insertAll': '{jslang}wcf.attachment.insertAll{/jslang}',
+ 'wcf.attachment.insertFull': '{jslang}wcf.attachment.insertFull{/jslang}',
+ 'wcf.attachment.insertThumbnail': '{jslang}wcf.attachment.insertThumbnail{/jslang}',
+ 'wcf.attachment.delete.sure': '{jslang}wcf.attachment.delete.sure{/jslang}'
});
new WCF.Attachment.Upload(
<script data-relocate="true">
require(['Language'], function (Language) {
Language.addObject({
- 'wcf.article.search': '{lang}wcf.article.search{/lang}',
- 'wcf.article.search.error.tooShort': '{lang}wcf.article.search.error.tooShort{/lang}',
- 'wcf.article.search.error.noResults': '{lang}wcf.article.search.error.noResults{/lang}',
- 'wcf.article.search.name': '{lang}wcf.article.search.name{/lang}',
- 'wcf.article.search.results': '{lang}wcf.article.search.results{/lang}',
- 'wcf.page.search': '{lang}wcf.page.search{/lang}',
- 'wcf.page.search.error.tooShort': '{lang}wcf.page.search.error.tooShort{/lang}',
- 'wcf.page.search.error.noResults': '{lang}wcf.page.search.error.noResults{/lang}',
- 'wcf.page.search.name': '{lang}wcf.page.search.name{/lang}',
- 'wcf.page.search.results': '{lang}wcf.page.search.results{/lang}',
+ 'wcf.article.search': '{jslang}wcf.article.search{/jslang}',
+ 'wcf.article.search.error.tooShort': '{jslang}wcf.article.search.error.tooShort{/jslang}',
+ 'wcf.article.search.error.noResults': '{jslang}wcf.article.search.error.noResults{/jslang}',
+ 'wcf.article.search.name': '{jslang}wcf.article.search.name{/jslang}',
+ 'wcf.article.search.results': '{jslang}wcf.article.search.results{/jslang}',
+ 'wcf.page.search': '{jslang}wcf.page.search{/jslang}',
+ 'wcf.page.search.error.tooShort': '{jslang}wcf.page.search.error.tooShort{/jslang}',
+ 'wcf.page.search.error.noResults': '{jslang}wcf.page.search.error.noResults{/jslang}',
+ 'wcf.page.search.name': '{jslang}wcf.page.search.name{/jslang}',
+ 'wcf.page.search.results': '{jslang}wcf.page.search.results{/jslang}',
});
})
</script>
<script data-relocate="true">
require(['Language'], function(Language) {
Language.addObject({
- 'wcf.global.preview': '{lang}wcf.global.preview{/lang}'
+ 'wcf.global.preview': '{jslang}wcf.global.preview{/jslang}'
});
new WCF.Message.DefaultPreview({
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acl.option.deny': '{lang}wcf.acl.option.deny{/lang}',
- 'wcf.acl.option.fullAccess': '{lang}wcf.acl.option.fullAccess{/lang}',
- 'wcf.acl.option.grant': '{lang}wcf.acl.option.grant{/lang}',
- 'wcf.acl.search.user.description': '{lang}wcf.acl.search.user.description{/lang}',
- 'wcf.acl.search.description': '{lang}wcf.acl.search.description{/lang}',
+ 'wcf.acl.option.deny': '{jslang}wcf.acl.option.deny{/jslang}',
+ 'wcf.acl.option.fullAccess': '{jslang}wcf.acl.option.fullAccess{/jslang}',
+ 'wcf.acl.option.grant': '{jslang}wcf.acl.option.grant{/jslang}',
+ 'wcf.acl.search.user.description': '{jslang}wcf.acl.search.user.description{/jslang}',
+ 'wcf.acl.search.description': '{jslang}wcf.acl.search.description{/jslang}',
});
});
-</script>
\ No newline at end of file
+</script>
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/User/Search/Input', 'WoltLabSuite/Core/Acp/Ui/Article/InlineEditor'], function(Language, UiUserSearchInput, AcpUiArticleInlineEditor) {
Language.addObject({
- 'wcf.acp.article.i18n.source': '{lang}wcf.acp.article.i18n.source{/lang}',
- 'wcf.acp.article.i18n.toI18n.confirmMessage': '{lang}wcf.acp.article.i18n.toI18n.confirmMessage{/lang}',
- 'wcf.acp.article.i18n.fromI18n.confirmMessage': '{lang}wcf.acp.article.i18n.fromI18n.confirmMessage{/lang}',
- 'wcf.message.status.deleted': '{lang}wcf.message.status.deleted{/lang}',
+ 'wcf.acp.article.i18n.source': '{jslang}wcf.acp.article.i18n.source{/jslang}',
+ 'wcf.acp.article.i18n.toI18n.confirmMessage': '{jslang}wcf.acp.article.i18n.toI18n.confirmMessage{/jslang}',
+ 'wcf.acp.article.i18n.fromI18n.confirmMessage': '{jslang}wcf.acp.article.i18n.fromI18n.confirmMessage{/jslang}',
+ 'wcf.message.status.deleted': '{jslang}wcf.message.status.deleted{/jslang}',
});
new UiUserSearchInput(elBySel('input[name="username"]'));
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.label.none': '{lang}wcf.label.none{/lang}',
+ 'wcf.label.none': '{jslang}wcf.label.none{/jslang}',
});
{if !$labelGroups|empty}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Article/Add'], function(Language, AcpUiArticleAdd) {
Language.addObject({
- 'wcf.acp.article.add': '{lang}wcf.acp.article.add{/lang}'
+ 'wcf.acp.article.add': '{jslang}wcf.acp.article.add{/jslang}'
});
AcpUiArticleAdd.init('{link controller='ArticleAdd' encode=false}{literal}isMultilingual={$isMultilingual}{/literal}{if $categoryID}&categoryID={@$categoryID}{/if}{/link}');
require(['Language', 'WoltLabSuite/Core/Controller/Clipboard', 'WoltLabSuite/Core/Ui/User/Search/Input', 'WoltLabSuite/Core/Acp/Ui/Article/InlineEditor'],
function(Language, ControllerClipboard, UiUserSearchInput, AcpUiArticleInlineEditor) {
Language.addObject({
- 'wcf.acp.article.publicationStatus.unpublished': '{lang}wcf.acp.article.publicationStatus.unpublished{/lang}',
- 'wcf.acp.article.setCategory': '{lang}wcf.acp.article.setCategory{/lang}',
- 'wcf.message.status.deleted': '{lang}wcf.message.status.deleted{/lang}'
+ 'wcf.acp.article.publicationStatus.unpublished': '{jslang}wcf.acp.article.publicationStatus.unpublished{/jslang}',
+ 'wcf.acp.article.setCategory': '{jslang}wcf.acp.article.setCategory{/jslang}',
+ 'wcf.message.status.deleted': '{jslang}wcf.message.status.deleted{/jslang}'
});
new UiUserSearchInput(elBySel('input[name="username"]'));
require(['Dictionary', 'Language', 'WoltLabSuite/Core/Acp/Ui/Box/Handler'], function(Dictionary, Language, AcpUiBoxHandler) {
Language.addObject({
- 'wcf.page.pageObjectID': '{lang}wcf.page.pageObjectID{/lang}',
+ 'wcf.page.pageObjectID': '{jslang}wcf.page.pageObjectID{/jslang}',
{foreach from=$pageNodeList item=pageNode}
{capture assign='pageObjectIDLanguageItem'}{lang __optional=true}wcf.page.pageObjectID.{@$pageNode->identifier}{/lang}{/capture}
{if $pageObjectIDLanguageItem}
- 'wcf.page.pageObjectID.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem}',
+ 'wcf.page.pageObjectID.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem|encodeJS}',
{/if}
{capture assign='pageObjectIDLanguageItem'}{lang __optional=true}wcf.page.pageObjectID.search.{@$pageNode->identifier}{/lang}{/capture}
{if $pageObjectIDLanguageItem}
- 'wcf.page.pageObjectID.search.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem}',
+ 'wcf.page.pageObjectID.search.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem|encodeJS}',
{/if}
{/foreach}
- 'wcf.page.pageObjectID.search.noResults': '{lang}wcf.page.pageObjectID.search.noResults{/lang}',
- 'wcf.page.pageObjectID.search.results': '{lang}wcf.page.pageObjectID.search.results{/lang}',
- 'wcf.page.pageObjectID.search.terms': '{lang}wcf.page.pageObjectID.search.terms{/lang}'
+ 'wcf.page.pageObjectID.search.noResults': '{jslang}wcf.page.pageObjectID.search.noResults{/jslang}',
+ 'wcf.page.pageObjectID.search.results': '{jslang}wcf.page.pageObjectID.search.results{/jslang}',
+ 'wcf.page.pageObjectID.search.terms': '{jslang}wcf.page.pageObjectID.search.terms{/jslang}'
});
var handlers = new Dictionary();
{if $action === 'edit'}
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Box/Copy'], function (Language, AcpUiBoxCopy) {
Language.addObject({
- 'wcf.acp.box.copy': '{lang}wcf.acp.box.copy{/lang}'
+ 'wcf.acp.box.copy': '{jslang}wcf.acp.box.copy{/jslang}'
});
AcpUiBoxCopy.init();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Box/Add'], function(Language, AcpUiBoxAdd) {
Language.addObject({
- 'wcf.acp.box.add': '{lang}wcf.acp.box.add{/lang}'
+ 'wcf.acp.box.add': '{jslang}wcf.acp.box.add{/jslang}'
});
AcpUiBoxAdd.init('{link controller='BoxAdd' encode=false}{literal}boxType={$boxType}&isMultilingual={$isMultilingual}{/literal}{/link}', {@$availableLanguages|count});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acp.cronjob.log.clear.confirm': '{lang}wcf.acp.cronjob.log.clear.confirm{/lang}',
- 'wcf.acp.cronjob.log.error.details': '{lang}wcf.acp.cronjob.log.error.details{/lang}'
+ 'wcf.acp.cronjob.log.clear.confirm': '{jslang}wcf.acp.cronjob.log.clear.confirm{/jslang}',
+ 'wcf.acp.cronjob.log.error.details': '{jslang}wcf.acp.cronjob.log.error.details{/jslang}'
});
new WCF.ACP.Cronjob.LogList();
$(function() {
{if $queue|isset}
WCF.Language.addObject({
- 'wcf.acp.dataImport': '{lang}wcf.acp.dataImport{/lang}',
- 'wcf.acp.dataImport.completed': '{lang}wcf.acp.dataImport.completed{/lang}',
- {implode from=$importers item=importer}'wcf.acp.dataImport.data.{@$importer}': '{lang}wcf.acp.dataImport.data.{@$importer}{/lang}'{/implode}
+ 'wcf.acp.dataImport': '{jslang}wcf.acp.dataImport{/jslang}',
+ 'wcf.acp.dataImport.completed': '{jslang}wcf.acp.dataImport.completed{/jslang}',
+ {implode from=$importers item=importer}'wcf.acp.dataImport.data.{@$importer}': '{jslang}wcf.acp.dataImport.data.{@$importer}{/jslang}'{/implode}
});
var $queues = [ {implode from=$queue item=item}'{@$item}'{/implode} ];
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Devtools/Notification/Test'], function(Language, AcpUiDevtoolsNotificationTest) {
Language.addObject({
- 'wcf.acp.devtools.notificationTest.button.test': '{lang}wcf.acp.devtools.notificationTest.button.test{/lang}'
+ 'wcf.acp.devtools.notificationTest.button.test': '{jslang}wcf.acp.devtools.notificationTest.button.test{/jslang}'
});
AcpUiDevtoolsNotificationTest.init();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Devtools/Project/Pip/Entry/List'], function(Language, DevtoolsProjectPipEntryList) {
Language.addObject({
- 'wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction': '{lang}wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction{/lang}',
- 'wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction.description': '{lang}wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction.description{/lang}',
- 'wcf.acp.devtools.project.pip.entry.delete.confirmMessage': '{lang}wcf.acp.devtools.project.pip.entry.delete.confirmMessage{/lang}'
+ 'wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction': '{jslang}wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction{/jslang}',
+ 'wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction.description': '{jslang}wcf.acp.devtools.project.pip.entry.delete.addDeleteInstruction.description{/jslang}',
+ 'wcf.acp.devtools.project.pip.entry.delete.confirmMessage': '{jslang}wcf.acp.devtools.project.pip.entry.delete.confirmMessage{/jslang}'
});
new DevtoolsProjectPipEntryList('devtoolsProjectPipEntryList', '{@$project->projectID}', '{@$pip}', '{@$entryType}', {if $pipObject->getPip()->supportsDeleteInstruction()}true{else}false{/if});
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Devtools/Project/Sync'], function(Language, AcpUiDevtoolsProjectSync) {
Language.addObject({
- 'wcf.acp.devtools.sync.status.failure': '{lang}wcf.acp.devtools.sync.status.failure{/lang}',
- 'wcf.acp.devtools.sync.syncAll': '{lang}wcf.acp.devtools.sync.syncAll{/lang}'
+ 'wcf.acp.devtools.sync.status.failure': '{jslang}wcf.acp.devtools.sync.status.failure{/jslang}',
+ 'wcf.acp.devtools.sync.syncAll': '{jslang}wcf.acp.devtools.sync.syncAll{/jslang}'
});
AcpUiDevtoolsProjectSync.init({$object->projectID});
<script>
require(['Language', 'WoltLabSuite/Core/Ui/Style/FontAwesome'], function (Language, UiStyleFontAwesome) {
Language.addObject({
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.fontAwesome.selectIcon': '{lang}wcf.global.fontAwesome.selectIcon{/lang}'
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.fontAwesome.selectIcon': '{jslang}wcf.global.fontAwesome.selectIcon{/jslang}'
});
UiStyleFontAwesome.setup({@$__wcf->getStyleHandler()->getIcons(true)});
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex">
- <title>{if $pageTitle|isset}{@$pageTitle|language} - {/if}{lang}wcf.global.acp{/lang}{if PACKAGE_ID} - {PAGE_TITLE|language}{/if}</title>
+ <title>{if $pageTitle|isset}{@$pageTitle|language} - {/if}{jslang}wcf.global.acp{/jslang}{if PACKAGE_ID} - {PAGE_TITLE|language}{/if}</title>
{* work-around for Microsoft Edge that sometimes does not apply this style, if it was set via an external stylesheet *}
<style>ol, ul { list-style: none; }</style>
<script>
require(['Language', 'WoltLabSuite/Core/Acp/Bootstrap', 'User'], function(Language, AcpBootstrap, User) {
Language.addObject({
- '__days': [ '{lang}wcf.date.day.sunday{/lang}', '{lang}wcf.date.day.monday{/lang}', '{lang}wcf.date.day.tuesday{/lang}', '{lang}wcf.date.day.wednesday{/lang}', '{lang}wcf.date.day.thursday{/lang}', '{lang}wcf.date.day.friday{/lang}', '{lang}wcf.date.day.saturday{/lang}' ],
- '__daysShort': [ '{lang}wcf.date.day.sun{/lang}', '{lang}wcf.date.day.mon{/lang}', '{lang}wcf.date.day.tue{/lang}', '{lang}wcf.date.day.wed{/lang}', '{lang}wcf.date.day.thu{/lang}', '{lang}wcf.date.day.fri{/lang}', '{lang}wcf.date.day.sat{/lang}' ],
- '__months': [ '{lang}wcf.date.month.january{/lang}', '{lang}wcf.date.month.february{/lang}', '{lang}wcf.date.month.march{/lang}', '{lang}wcf.date.month.april{/lang}', '{lang}wcf.date.month.may{/lang}', '{lang}wcf.date.month.june{/lang}', '{lang}wcf.date.month.july{/lang}', '{lang}wcf.date.month.august{/lang}', '{lang}wcf.date.month.september{/lang}', '{lang}wcf.date.month.october{/lang}', '{lang}wcf.date.month.november{/lang}', '{lang}wcf.date.month.december{/lang}' ],
- '__monthsShort': [ '{lang}wcf.date.month.short.jan{/lang}', '{lang}wcf.date.month.short.feb{/lang}', '{lang}wcf.date.month.short.mar{/lang}', '{lang}wcf.date.month.short.apr{/lang}', '{lang}wcf.date.month.short.may{/lang}', '{lang}wcf.date.month.short.jun{/lang}', '{lang}wcf.date.month.short.jul{/lang}', '{lang}wcf.date.month.short.aug{/lang}', '{lang}wcf.date.month.short.sep{/lang}', '{lang}wcf.date.month.short.oct{/lang}', '{lang}wcf.date.month.short.nov{/lang}', '{lang}wcf.date.month.short.dec{/lang}' ],
- 'wcf.acp.search.noResults': '{lang}wcf.acp.search.noResults{/lang}',
- 'wcf.clipboard.item.unmarkAll': '{lang}wcf.clipboard.item.unmarkAll{/lang}',
- 'wcf.clipboard.item.markAll': '{lang}wcf.clipboard.item.markAll{/lang}',
- 'wcf.clipboard.item.mark': '{lang}wcf.clipboard.item.mark{/lang}',
- 'wcf.date.relative.now': '{lang __literal=true}wcf.date.relative.now{/lang}',
- 'wcf.date.relative.minutes': '{capture assign=relativeMinutes}{lang __literal=true}wcf.date.relative.minutes{/lang}{/capture}{@$relativeMinutes|encodeJS}',
- 'wcf.date.relative.hours': '{capture assign=relativeHours}{lang __literal=true}wcf.date.relative.hours{/lang}{/capture}{@$relativeHours|encodeJS}',
- 'wcf.date.relative.pastDays': '{capture assign=relativePastDays}{lang __literal=true}wcf.date.relative.pastDays{/lang}{/capture}{@$relativePastDays|encodeJS}',
+ '__days': [ '{jslang}wcf.date.day.sunday{/jslang}', '{jslang}wcf.date.day.monday{/jslang}', '{jslang}wcf.date.day.tuesday{/jslang}', '{jslang}wcf.date.day.wednesday{/jslang}', '{jslang}wcf.date.day.thursday{/jslang}', '{jslang}wcf.date.day.friday{/jslang}', '{jslang}wcf.date.day.saturday{/jslang}' ],
+ '__daysShort': [ '{jslang}wcf.date.day.sun{/jslang}', '{jslang}wcf.date.day.mon{/jslang}', '{jslang}wcf.date.day.tue{/jslang}', '{jslang}wcf.date.day.wed{/jslang}', '{jslang}wcf.date.day.thu{/jslang}', '{jslang}wcf.date.day.fri{/jslang}', '{jslang}wcf.date.day.sat{/jslang}' ],
+ '__months': [ '{jslang}wcf.date.month.january{/jslang}', '{jslang}wcf.date.month.february{/jslang}', '{jslang}wcf.date.month.march{/jslang}', '{jslang}wcf.date.month.april{/jslang}', '{jslang}wcf.date.month.may{/jslang}', '{jslang}wcf.date.month.june{/jslang}', '{jslang}wcf.date.month.july{/jslang}', '{jslang}wcf.date.month.august{/jslang}', '{jslang}wcf.date.month.september{/jslang}', '{jslang}wcf.date.month.october{/jslang}', '{jslang}wcf.date.month.november{/jslang}', '{jslang}wcf.date.month.december{/jslang}' ],
+ '__monthsShort': [ '{jslang}wcf.date.month.short.jan{/jslang}', '{jslang}wcf.date.month.short.feb{/jslang}', '{jslang}wcf.date.month.short.mar{/jslang}', '{jslang}wcf.date.month.short.apr{/jslang}', '{jslang}wcf.date.month.short.may{/jslang}', '{jslang}wcf.date.month.short.jun{/jslang}', '{jslang}wcf.date.month.short.jul{/jslang}', '{jslang}wcf.date.month.short.aug{/jslang}', '{jslang}wcf.date.month.short.sep{/jslang}', '{jslang}wcf.date.month.short.oct{/jslang}', '{jslang}wcf.date.month.short.nov{/jslang}', '{jslang}wcf.date.month.short.dec{/jslang}' ],
+ 'wcf.acp.search.noResults': '{jslang}wcf.acp.search.noResults{/jslang}',
+ 'wcf.clipboard.item.unmarkAll': '{jslang}wcf.clipboard.item.unmarkAll{/jslang}',
+ 'wcf.clipboard.item.markAll': '{jslang}wcf.clipboard.item.markAll{/jslang}',
+ 'wcf.clipboard.item.mark': '{jslang}wcf.clipboard.item.mark{/jslang}',
+ 'wcf.date.relative.now': '{jslang __literal=true}wcf.date.relative.now{/jslang}',
+ 'wcf.date.relative.minutes': '{jslang __literal=true}wcf.date.relative.minutes{/jslang}',
+ 'wcf.date.relative.hours': '{jslang __literal=true}wcf.date.relative.hours{/jslang}',
+ 'wcf.date.relative.pastDays': '{jslang __literal=true}wcf.date.relative.pastDays{/jslang}',
'wcf.date.dateFormat': '{"wcf.date.dateFormat"|language|encodeJS}',
- 'wcf.date.dateTimeFormat': '{lang}wcf.date.dateTimeFormat{/lang}',
- 'wcf.date.shortDateTimeFormat': '{lang}wcf.date.shortDateTimeFormat{/lang}',
- 'wcf.date.hour': '{lang}wcf.date.hour{/lang}',
- 'wcf.date.minute': '{lang}wcf.date.minute{/lang}',
- 'wcf.date.timeFormat': '{lang}wcf.date.timeFormat{/lang}',
- 'wcf.date.firstDayOfTheWeek': '{lang}wcf.date.firstDayOfTheWeek{/lang}',
- 'wcf.global.button.add': '{lang}wcf.global.button.add{/lang}',
- 'wcf.global.button.cancel': '{lang}wcf.global.button.cancel{/lang}',
- 'wcf.global.button.close': '{lang}wcf.global.button.close{/lang}',
- 'wcf.global.button.collapsible': '{lang}wcf.global.button.collapsible{/lang}',
- 'wcf.global.button.delete': '{lang}wcf.global.button.delete{/lang}',
- 'wcf.global.button.disable': '{lang}wcf.global.button.disable{/lang}',
- 'wcf.global.button.disabledI18n': '{lang}wcf.global.button.disabledI18n{/lang}',
- 'wcf.global.button.edit': '{lang}wcf.global.button.edit{/lang}',
- 'wcf.global.button.enable': '{lang}wcf.global.button.enable{/lang}',
- 'wcf.global.button.hide': '{lang}wcf.global.button.hide{/lang}',
- 'wcf.global.button.insert': '{lang}wcf.global.button.insert{/lang}',
- 'wcf.global.button.next': '{lang}wcf.global.button.next{/lang}',
- 'wcf.global.button.preview': '{lang}wcf.global.button.preview{/lang}',
- 'wcf.global.button.reset': '{lang}wcf.global.button.reset{/lang}',
- 'wcf.global.button.save': '{lang}wcf.global.button.save{/lang}',
- 'wcf.global.button.search': '{lang}wcf.global.button.search{/lang}',
- 'wcf.global.button.submit': '{lang}wcf.global.button.submit{/lang}',
- 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}',
- 'wcf.global.confirmation.cancel': '{lang}wcf.global.confirmation.cancel{/lang}',
- 'wcf.global.confirmation.confirm': '{lang}wcf.global.confirmation.confirm{/lang}',
- 'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}',
- 'wcf.global.decimalPoint': '{capture assign=decimalPoint}{lang}wcf.global.decimalPoint{/lang}{/capture}{$decimalPoint|encodeJS}',
- 'wcf.global.error.timeout': '{lang}wcf.global.error.timeout{/lang}',
- 'wcf.global.error.title': '{lang}wcf.global.error.title{/lang}',
- 'wcf.global.form.error.empty': '{lang}wcf.global.form.error.empty{/lang}',
- 'wcf.global.form.error.greaterThan': '{lang __literal=true}wcf.global.form.error.greaterThan{/lang}',
- 'wcf.global.form.error.lessThan': '{lang __literal=true}wcf.global.form.error.lessThan{/lang}',
- 'wcf.global.form.error.multilingual': '{lang}wcf.global.form.error.multilingual{/lang}',
- 'wcf.global.form.input.maxItems': '{lang}wcf.global.form.input.maxItems{/lang}',
- 'wcf.global.language.noSelection': '{lang}wcf.global.language.noSelection{/lang}',
- 'wcf.global.loading': '{lang}wcf.global.loading{/lang}',
- 'wcf.global.noSelection': '{lang}wcf.global.noSelection{/lang}',
- 'wcf.global.select': '{lang}wcf.global.select{/lang}',
- 'wcf.page.jumpTo': '{lang}wcf.page.jumpTo{/lang}',
- 'wcf.page.jumpTo.description': '{lang}wcf.page.jumpTo.description{/lang}',
- 'wcf.global.page.pagination': '{lang}wcf.global.page.pagination{/lang}',
- 'wcf.global.page.next': '{capture assign=pageNext}{lang}wcf.global.page.next{/lang}{/capture}{@$pageNext|encodeJS}',
- 'wcf.global.page.previous': '{capture assign=pagePrevious}{lang}wcf.global.page.previous{/lang}{/capture}{@$pagePrevious|encodeJS}',
- 'wcf.global.pageDirection': '{lang}wcf.global.pageDirection{/lang}',
- 'wcf.global.reason': '{lang}wcf.global.reason{/lang}',
- 'wcf.global.scrollUp': '{lang}wcf.global.scrollUp{/lang}',
- 'wcf.global.success': '{lang}wcf.global.success{/lang}',
- 'wcf.global.success.add': '{lang}wcf.global.success.add{/lang}',
- 'wcf.global.success.edit': '{lang}wcf.global.success.edit{/lang}',
- 'wcf.global.thousandsSeparator': '{capture assign=thousandsSeparator}{lang}wcf.global.thousandsSeparator{/lang}{/capture}{@$thousandsSeparator|encodeJS}',
- 'wcf.page.pagePosition': '{lang __literal=true}wcf.page.pagePosition{/lang}',
- 'wcf.menu.page': '{lang}wcf.menu.page{/lang}',
- 'wcf.menu.user': '{lang}wcf.menu.user{/lang}',
- 'wcf.date.datePicker': '{lang}wcf.date.datePicker{/lang}',
- 'wcf.date.datePicker.previousMonth': '{lang}wcf.date.datePicker.previousMonth{/lang}',
- 'wcf.date.datePicker.nextMonth': '{lang}wcf.date.datePicker.nextMonth{/lang}',
- 'wcf.date.datePicker.month': '{lang}wcf.date.datePicker.month{/lang}',
- 'wcf.date.datePicker.year': '{lang}wcf.date.datePicker.year{/lang}',
- 'wcf.date.datePicker.hour': '{lang}wcf.date.datePicker.hour{/lang}',
- 'wcf.date.datePicker.minute': '{lang}wcf.date.datePicker.minute{/lang}'
+ 'wcf.date.dateTimeFormat': '{jslang}wcf.date.dateTimeFormat{/jslang}',
+ 'wcf.date.shortDateTimeFormat': '{jslang}wcf.date.shortDateTimeFormat{/jslang}',
+ 'wcf.date.hour': '{jslang}wcf.date.hour{/jslang}',
+ 'wcf.date.minute': '{jslang}wcf.date.minute{/jslang}',
+ 'wcf.date.timeFormat': '{jslang}wcf.date.timeFormat{/jslang}',
+ 'wcf.date.firstDayOfTheWeek': '{jslang}wcf.date.firstDayOfTheWeek{/jslang}',
+ 'wcf.global.button.add': '{jslang}wcf.global.button.add{/jslang}',
+ 'wcf.global.button.cancel': '{jslang}wcf.global.button.cancel{/jslang}',
+ 'wcf.global.button.close': '{jslang}wcf.global.button.close{/jslang}',
+ 'wcf.global.button.collapsible': '{jslang}wcf.global.button.collapsible{/jslang}',
+ 'wcf.global.button.delete': '{jslang}wcf.global.button.delete{/jslang}',
+ 'wcf.global.button.disable': '{jslang}wcf.global.button.disable{/jslang}',
+ 'wcf.global.button.disabledI18n': '{jslang}wcf.global.button.disabledI18n{/jslang}',
+ 'wcf.global.button.edit': '{jslang}wcf.global.button.edit{/jslang}',
+ 'wcf.global.button.enable': '{jslang}wcf.global.button.enable{/jslang}',
+ 'wcf.global.button.hide': '{jslang}wcf.global.button.hide{/jslang}',
+ 'wcf.global.button.insert': '{jslang}wcf.global.button.insert{/jslang}',
+ 'wcf.global.button.next': '{jslang}wcf.global.button.next{/jslang}',
+ 'wcf.global.button.preview': '{jslang}wcf.global.button.preview{/jslang}',
+ 'wcf.global.button.reset': '{jslang}wcf.global.button.reset{/jslang}',
+ 'wcf.global.button.save': '{jslang}wcf.global.button.save{/jslang}',
+ 'wcf.global.button.search': '{jslang}wcf.global.button.search{/jslang}',
+ 'wcf.global.button.submit': '{jslang}wcf.global.button.submit{/jslang}',
+ 'wcf.global.button.upload': '{jslang}wcf.global.button.upload{/jslang}',
+ 'wcf.global.confirmation.cancel': '{jslang}wcf.global.confirmation.cancel{/jslang}',
+ 'wcf.global.confirmation.confirm': '{jslang}wcf.global.confirmation.confirm{/jslang}',
+ 'wcf.global.confirmation.title': '{jslang}wcf.global.confirmation.title{/jslang}',
+ 'wcf.global.decimalPoint': '{jslang}wcf.global.decimalPoint{/jslang}',
+ 'wcf.global.error.timeout': '{jslang}wcf.global.error.timeout{/jslang}',
+ 'wcf.global.error.title': '{jslang}wcf.global.error.title{/jslang}',
+ 'wcf.global.form.error.empty': '{jslang}wcf.global.form.error.empty{/jslang}',
+ 'wcf.global.form.error.greaterThan': '{jslang __literal=true}wcf.global.form.error.greaterThan{/jslang}',
+ 'wcf.global.form.error.lessThan': '{jslang __literal=true}wcf.global.form.error.lessThan{/jslang}',
+ 'wcf.global.form.error.multilingual': '{jslang}wcf.global.form.error.multilingual{/jslang}',
+ 'wcf.global.form.input.maxItems': '{jslang}wcf.global.form.input.maxItems{/jslang}',
+ 'wcf.global.language.noSelection': '{jslang}wcf.global.language.noSelection{/jslang}',
+ 'wcf.global.loading': '{jslang}wcf.global.loading{/jslang}',
+ 'wcf.global.noSelection': '{jslang}wcf.global.noSelection{/jslang}',
+ 'wcf.global.select': '{jslang}wcf.global.select{/jslang}',
+ 'wcf.page.jumpTo': '{jslang}wcf.page.jumpTo{/jslang}',
+ 'wcf.page.jumpTo.description': '{jslang}wcf.page.jumpTo.description{/jslang}',
+ 'wcf.global.page.pagination': '{jslang}wcf.global.page.pagination{/jslang}',
+ 'wcf.global.page.next': '{jslang}wcf.global.page.next{/jslang}',
+ 'wcf.global.page.previous': '{jslang}wcf.global.page.previous{/jslang}',
+ 'wcf.global.pageDirection': '{jslang}wcf.global.pageDirection{/jslang}',
+ 'wcf.global.reason': '{jslang}wcf.global.reason{/jslang}',
+ 'wcf.global.scrollUp': '{jslang}wcf.global.scrollUp{/jslang}',
+ 'wcf.global.success': '{jslang}wcf.global.success{/jslang}',
+ 'wcf.global.success.add': '{jslang}wcf.global.success.add{/jslang}',
+ 'wcf.global.success.edit': '{jslang}wcf.global.success.edit{/jslang}',
+ 'wcf.global.thousandsSeparator': '{jslang}wcf.global.thousandsSeparator{/jslang}',
+ 'wcf.page.pagePosition': '{jslang __literal=true}wcf.page.pagePosition{/jslang}',
+ 'wcf.menu.page': '{jslang}wcf.menu.page{/jslang}',
+ 'wcf.menu.user': '{jslang}wcf.menu.user{/jslang}',
+ 'wcf.date.datePicker': '{jslang}wcf.date.datePicker{/jslang}',
+ 'wcf.date.datePicker.previousMonth': '{jslang}wcf.date.datePicker.previousMonth{/jslang}',
+ 'wcf.date.datePicker.nextMonth': '{jslang}wcf.date.datePicker.nextMonth{/jslang}',
+ 'wcf.date.datePicker.month': '{jslang}wcf.date.datePicker.month{/jslang}',
+ 'wcf.date.datePicker.year': '{jslang}wcf.date.datePicker.year{/jslang}',
+ 'wcf.date.datePicker.hour': '{jslang}wcf.date.datePicker.hour{/jslang}',
+ 'wcf.date.datePicker.minute': '{jslang}wcf.date.datePicker.minute{/jslang}'
{event name='javascriptLanguageImport'}
});
var $imageViewer = null;
$(function() {
WCF.Language.addObject({
- 'wcf.imageViewer.button.enlarge': '{lang}wcf.imageViewer.button.enlarge{/lang}',
- 'wcf.imageViewer.button.full': '{lang}wcf.imageViewer.button.full{/lang}',
- 'wcf.imageViewer.seriesIndex': '{lang __literal=true}wcf.imageViewer.seriesIndex{/lang}',
- 'wcf.imageViewer.counter': '{lang}wcf.imageViewer.counter{/lang}',
- 'wcf.imageViewer.close': '{lang}wcf.imageViewer.close{/lang}',
- 'wcf.imageViewer.enlarge': '{lang}wcf.imageViewer.enlarge{/lang}',
- 'wcf.imageViewer.next': '{lang}wcf.imageViewer.next{/lang}',
- 'wcf.imageViewer.previous': '{lang}wcf.imageViewer.previous{/lang}'
+ 'wcf.imageViewer.button.enlarge': '{jslang}wcf.imageViewer.button.enlarge{/jslang}',
+ 'wcf.imageViewer.button.full': '{jslang}wcf.imageViewer.button.full{/jslang}',
+ 'wcf.imageViewer.seriesIndex': '{jslang __literal=true}wcf.imageViewer.seriesIndex{/jslang}',
+ 'wcf.imageViewer.counter': '{jslang}wcf.imageViewer.counter{/jslang}',
+ 'wcf.imageViewer.close': '{jslang}wcf.imageViewer.close{/jslang}',
+ 'wcf.imageViewer.enlarge': '{jslang}wcf.imageViewer.enlarge{/jslang}',
+ 'wcf.imageViewer.next': '{jslang}wcf.imageViewer.next{/jslang}',
+ 'wcf.imageViewer.previous': '{jslang}wcf.imageViewer.previous{/jslang}'
});
$imageViewer = new WCF.ImageViewer();
</script>
{assign var=__imageViewerLoaded value=true}
-{/if}
\ No newline at end of file
+{/if}
<script data-relocate="true" src="{@$__wcf->getPath()}acp/js/WCF.ACP.Language.js?v={@LAST_UPDATE_TIME}"></script>
<script data-relocate="true">
$(function() {
- WCF.Language.add('wcf.acp.language.item.delete.confirmMessage', '{lang}wcf.acp.language.item.delete.confirmMessage{/lang}');
+ WCF.Language.add('wcf.acp.language.item.delete.confirmMessage', '{jslang}wcf.acp.language.item.delete.confirmMessage{/jslang}');
new WCF.ACP.Language.ItemList();
});
{if $__wcf->session->getPermission('admin.content.cms.canUseMedia')}
require(['Language', 'Permission'], function(Language, Permission) {
Language.addObject({
- 'wcf.global.button.insert': '{lang}wcf.global.button.insert{/lang}',
- 'wcf.media.button.replaceFile': '{lang}wcf.media.button.replaceFile{/lang}',
- 'wcf.media.button.select': '{lang}wcf.media.button.select{/lang}',
- 'wcf.media.delete.confirmMessage': '{lang __encode=true __literal=true}wcf.media.delete.confirmMessage{/lang}',
- 'wcf.media.imageDimensions.value': '{lang __literal=true}wcf.media.imageDimensions.value{/lang}',
- 'wcf.media.insert': '{lang}wcf.media.insert{/lang}',
- 'wcf.media.insert.imageSize': '{lang}wcf.media.insert.imageSize{/lang}',
- 'wcf.media.insert.imageSize.small': '{lang}wcf.media.insert.imageSize.small{/lang}',
- 'wcf.media.insert.imageSize.medium': '{lang}wcf.media.insert.imageSize.medium{/lang}',
- 'wcf.media.insert.imageSize.large': '{lang}wcf.media.insert.imageSize.large{/lang}',
- 'wcf.media.insert.imageSize.original': '{lang}wcf.media.insert.imageSize.original{/lang}',
- 'wcf.media.manager': '{lang}wcf.media.manager{/lang}',
- 'wcf.media.edit': '{lang}wcf.media.edit{/lang}',
- 'wcf.media.button.insert': '{lang}wcf.media.button.insert{/lang}',
- 'wcf.media.search.info.searchStringThreshold': '{lang __literal=true}wcf.media.search.info.searchStringThreshold{/lang}',
- 'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}',
- 'wcf.media.upload.error.differentFileExtension': '{lang}wcf.media.upload.error.differentFileExtension{/lang}',
- 'wcf.media.upload.error.differentFileType': '{lang}wcf.media.upload.error.differentFileType{/lang}',
- 'wcf.media.upload.error.noImage': '{lang}wcf.media.upload.error.noImage{/lang}',
- 'wcf.media.upload.error.uploadFailed': '{lang}wcf.media.upload.error.uploadFailed{/lang}',
- 'wcf.media.upload.success': '{lang}wcf.media.upload.success{/lang}',
- 'wcf.media.setCategory': '{lang}wcf.media.setCategory{/lang}'
+ 'wcf.global.button.insert': '{jslang}wcf.global.button.insert{/jslang}',
+ 'wcf.media.button.replaceFile': '{jslang}wcf.media.button.replaceFile{/jslang}',
+ 'wcf.media.button.select': '{jslang}wcf.media.button.select{/jslang}',
+ 'wcf.media.delete.confirmMessage': '{jslang __encode=true __literal=true}wcf.media.delete.confirmMessage{/jslang}',
+ 'wcf.media.imageDimensions.value': '{jslang __literal=true}wcf.media.imageDimensions.value{/jslang}',
+ 'wcf.media.insert': '{jslang}wcf.media.insert{/jslang}',
+ 'wcf.media.insert.imageSize': '{jslang}wcf.media.insert.imageSize{/jslang}',
+ 'wcf.media.insert.imageSize.small': '{jslang}wcf.media.insert.imageSize.small{/jslang}',
+ 'wcf.media.insert.imageSize.medium': '{jslang}wcf.media.insert.imageSize.medium{/jslang}',
+ 'wcf.media.insert.imageSize.large': '{jslang}wcf.media.insert.imageSize.large{/jslang}',
+ 'wcf.media.insert.imageSize.original': '{jslang}wcf.media.insert.imageSize.original{/jslang}',
+ 'wcf.media.manager': '{jslang}wcf.media.manager{/jslang}',
+ 'wcf.media.edit': '{jslang}wcf.media.edit{/jslang}',
+ 'wcf.media.button.insert': '{jslang}wcf.media.button.insert{/jslang}',
+ 'wcf.media.search.info.searchStringThreshold': '{jslang __literal=true}wcf.media.search.info.searchStringThreshold{/jslang}',
+ 'wcf.media.search.noResults': '{jslang}wcf.media.search.noResults{/jslang}',
+ 'wcf.media.upload.error.differentFileExtension': '{jslang}wcf.media.upload.error.differentFileExtension{/jslang}',
+ 'wcf.media.upload.error.differentFileType': '{jslang}wcf.media.upload.error.differentFileType{/jslang}',
+ 'wcf.media.upload.error.noImage': '{jslang}wcf.media.upload.error.noImage{/jslang}',
+ 'wcf.media.upload.error.uploadFailed': '{jslang}wcf.media.upload.error.uploadFailed{/jslang}',
+ 'wcf.media.upload.success': '{jslang}wcf.media.upload.success{/jslang}',
+ 'wcf.media.setCategory': '{jslang}wcf.media.setCategory{/jslang}'
});
Permission.add('admin.content.cms.canManageMedia', {if $__wcf->session->getPermission('admin.content.cms.canManageMedia')}true{else}false{/if});
require(['Language', 'WoltLabSuite/Core/Controller/Media/List'], function (Language, ControllerMediaList) {
Language.addObject({
- 'wcf.media.delete.confirmMessage': '{lang __literal=true}wcf.media.delete.confirmMessage{/lang}',
- 'wcf.media.setCategory': '{lang}wcf.media.setCategory{/lang}'
+ 'wcf.media.delete.confirmMessage': '{jslang __literal=true}wcf.media.delete.confirmMessage{/jslang}',
+ 'wcf.media.setCategory': '{jslang}wcf.media.setCategory{/jslang}'
});
ControllerMediaList.init({
<script data-relocate="true">
require(['Dictionary', 'Language', 'WoltLabSuite/Core/Acp/Ui/Menu/Item/Handler'], function(Dictionary, Language, AcpUiMenuItemHandler) {
Language.addObject({
- 'wcf.page.pageObjectID': '{lang}wcf.page.pageObjectID{/lang}',
+ 'wcf.page.pageObjectID': '{jslang}wcf.page.pageObjectID{/jslang}',
{foreach from=$pageNodeList item=pageNode}
{capture assign='pageObjectIDLanguageItem'}{lang __optional=true}wcf.page.pageObjectID.{@$pageNode->identifier}{/lang}{/capture}
{if $pageObjectIDLanguageItem}
- 'wcf.page.pageObjectID.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem}',
+ 'wcf.page.pageObjectID.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem|encodeJS}',
{/if}
{capture assign='pageObjectIDLanguageItem'}{lang __optional=true}wcf.page.pageObjectID.search.{@$pageNode->identifier}{/lang}{/capture}
{if $pageObjectIDLanguageItem}
- 'wcf.page.pageObjectID.search.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem}',
+ 'wcf.page.pageObjectID.search.{@$pageNode->identifier}': '{@$pageObjectIDLanguageItem|encodeJS}',
{/if}
{/foreach}
- 'wcf.page.pageObjectID.search.noResults': '{lang}wcf.page.pageObjectID.search.noResults{/lang}',
- 'wcf.page.pageObjectID.search.results': '{lang}wcf.page.pageObjectID.search.results{/lang}',
- 'wcf.page.pageObjectID.search.terms': '{lang}wcf.page.pageObjectID.search.terms{/lang}'
+ 'wcf.page.pageObjectID.search.noResults': '{jslang}wcf.page.pageObjectID.search.noResults{/jslang}',
+ 'wcf.page.pageObjectID.search.results': '{jslang}wcf.page.pageObjectID.search.results{/jslang}',
+ 'wcf.page.pageObjectID.search.terms': '{jslang}wcf.page.pageObjectID.search.terms{/jslang}'
});
var handlers = new Dictionary();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Language/Input', 'WoltLabSuite/Core/Language/Text'], function(Language, LanguageInput, LanguageText) {
Language.addObject({
- 'wcf.global.button.disabledI18n': '{lang}wcf.global.button.disabledI18n{/lang}'
+ 'wcf.global.button.disabledI18n': '{jslang}wcf.global.button.disabledI18n{/jslang}'
});
var availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Controller/User/Notification/Settings'], function(Language, ControllerUserNotificationSettings) {
Language.addObject({
- 'wcf.user.notification.mailNotificationType.daily': '{lang}wcf.user.notification.mailNotificationType.daily{/lang}',
- 'wcf.user.notification.mailNotificationType.instant': '{lang}wcf.user.notification.mailNotificationType.instant{/lang}',
- 'wcf.user.notification.mailNotificationType.none': '{lang}wcf.user.notification.mailNotificationType.none{/lang}'
+ 'wcf.user.notification.mailNotificationType.daily': '{jslang}wcf.user.notification.mailNotificationType.daily{/jslang}',
+ 'wcf.user.notification.mailNotificationType.instant': '{jslang}wcf.user.notification.mailNotificationType.instant{/jslang}',
+ 'wcf.user.notification.mailNotificationType.none': '{jslang}wcf.user.notification.mailNotificationType.none{/jslang}'
});
ControllerUserNotificationSettings.setup();
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acp.package.uninstallation.title': '{lang}wcf.acp.package.uninstallation.title{/lang}'
+ 'wcf.acp.package.uninstallation.title': '{jslang}wcf.acp.package.uninstallation.title{/jslang}'
});
new WCF.ACP.Package.Uninstallation($('.jsUninstallButton'), {if PACKAGE_ID > 1}'{link controller='PackageList' forceWCF=true encode=false}packageID={literal}{packageID}{/literal}{/link}'{else}null{/if});
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acp.package.install.title': '{lang}wcf.acp.package.install.title{/lang}',
- 'wcf.acp.package.installation.rollback': '{lang}wcf.acp.package.installation.rollback{/lang}',
- 'wcf.acp.package.uninstallation.title': '{lang}wcf.acp.package.uninstallation.title{/lang}',
- 'wcf.acp.package.update.title': '{lang}wcf.acp.package.update.title{/lang}'
+ 'wcf.acp.package.install.title': '{jslang}wcf.acp.package.install.title{/jslang}',
+ 'wcf.acp.package.installation.rollback': '{jslang}wcf.acp.package.installation.rollback{/jslang}',
+ 'wcf.acp.package.uninstallation.title': '{jslang}wcf.acp.package.uninstallation.title{/jslang}',
+ 'wcf.acp.package.update.title': '{jslang}wcf.acp.package.update.title{/jslang}'
});
new WCF.ACP.Package.Installation({@$queue->queueID}, undefined, {if $queue->action == 'install'}{if $queue->isApplication}false{else}true{/if}, false{else}false, true{/if});
</style>
<script data-relocate="true">
$(function() {
- WCF.Language.add('wcf.acp.package.install.title', '{lang}wcf.acp.package.install.title{/lang}');
+ WCF.Language.add('wcf.acp.package.install.title', '{jslang}wcf.acp.package.install.title{/jslang}');
var $installation = new WCF.ACP.Package.Installation({@$queueID});
$installation.prepareInstallation();
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acp.package.searchForUpdates': '{lang}wcf.acp.package.searchForUpdates{/lang}',
- 'wcf.acp.package.searchForUpdates.noResults': '{lang}wcf.acp.package.searchForUpdates.noResults{/lang}',
- 'wcf.acp.package.uninstallation.title': '{lang}wcf.acp.package.uninstallation.title{/lang}',
- 'wcf.acp.pluginStore.authorization': '{lang}wcf.acp.pluginStore.authorization{/lang}',
- 'wcf.acp.pluginStore.purchasedItems': '{lang}wcf.acp.pluginStore.purchasedItems{/lang}',
- 'wcf.acp.pluginStore.purchasedItems.button.search': '{lang}wcf.acp.pluginStore.purchasedItems.button.search{/lang}',
- 'wcf.acp.pluginStore.purchasedItems.noResults': '{lang}wcf.acp.pluginStore.purchasedItems.noResults{/lang}'
+ 'wcf.acp.package.searchForUpdates': '{jslang}wcf.acp.package.searchForUpdates{/jslang}',
+ 'wcf.acp.package.searchForUpdates.noResults': '{jslang}wcf.acp.package.searchForUpdates.noResults{/jslang}',
+ 'wcf.acp.package.uninstallation.title': '{jslang}wcf.acp.package.uninstallation.title{/jslang}',
+ 'wcf.acp.pluginStore.authorization': '{jslang}wcf.acp.pluginStore.authorization{/jslang}',
+ 'wcf.acp.pluginStore.purchasedItems': '{jslang}wcf.acp.pluginStore.purchasedItems{/jslang}',
+ 'wcf.acp.pluginStore.purchasedItems.button.search': '{jslang}wcf.acp.pluginStore.purchasedItems.button.search{/jslang}',
+ 'wcf.acp.pluginStore.purchasedItems.noResults': '{jslang}wcf.acp.pluginStore.purchasedItems.noResults{/jslang}'
});
{if $__wcf->session->getPermission('admin.configuration.package.canUninstallPackage')}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Package/Search'], function(Language, AcpUiPackageSearch) {
Language.addObject({
- 'wcf.acp.package.install.title': '{lang}wcf.acp.package.install.title{/lang}',
- 'wcf.acp.package.update.unauthorized': '{lang}wcf.acp.package.update.unauthorized{/lang}'
+ 'wcf.acp.package.install.title': '{jslang}wcf.acp.package.install.title{/jslang}',
+ 'wcf.acp.package.update.unauthorized': '{jslang}wcf.acp.package.update.unauthorized{/jslang}'
});
new AcpUiPackageSearch();
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acp.package.update.excludedPackages': '{lang}wcf.acp.package.update.excludedPackages{/lang}',
- 'wcf.acp.package.update.title': '{lang}wcf.acp.package.update.title{/lang}',
- 'wcf.acp.package.update.unauthorized': '{lang}wcf.acp.package.update.unauthorized{/lang}'
+ 'wcf.acp.package.update.excludedPackages': '{jslang}wcf.acp.package.update.excludedPackages{/jslang}',
+ 'wcf.acp.package.update.title': '{jslang}wcf.acp.package.update.title{/jslang}',
+ 'wcf.acp.package.update.unauthorized': '{jslang}wcf.acp.package.update.unauthorized{/jslang}'
})
new WCF.ACP.Package.Update.Manager();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Page/Copy'], function (Language, AcpUiPageCopy) {
Language.addObject({
- 'wcf.acp.page.copy': '{lang}wcf.acp.page.copy{/lang}'
+ 'wcf.acp.page.copy': '{jslang}wcf.acp.page.copy{/jslang}'
});
AcpUiPageCopy.init();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
Language.addObject({
- 'wcf.global.filter.button.visibility': '{lang}wcf.global.filter.button.visibility{/lang}',
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.filter.visibility.activeOnly': '{lang}wcf.global.filter.visibility.activeOnly{/lang}',
- 'wcf.global.filter.visibility.highlightActive': '{lang}wcf.global.filter.visibility.highlightActive{/lang}',
- 'wcf.global.filter.visibility.showAll': '{lang}wcf.global.filter.visibility.showAll{/lang}'
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
});
new UiItemListFilter('boxVisibilitySettings');
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Page/Add'], function(Language, AcpUiPageAdd) {
Language.addObject({
- 'wcf.acp.page.add': '{lang}wcf.acp.page.add{/lang}'
+ 'wcf.acp.page.add': '{jslang}wcf.acp.page.add{/jslang}'
});
AcpUiPageAdd.init('{link controller='PageAdd' encode=false}{literal}pageType={$pageType}&isMultilingual={$isMultilingual}{/literal}{/link}', {@$availableLanguages|count});
<script data-relocate="true">
require(['Dictionary', 'Language', 'WoltLabSuite/Core/Acp/Ui/Page/BoxOrder'], function (Dictionary, Language, AcpUiPageBoxOrder) {
Language.addObject({
- 'wcf.acp.box.isDisabled': '{lang}wcf.acp.box.isDisabled{/lang}',
- 'wcf.acp.page.boxOrder.discard.confirmMessage': '{lang}wcf.acp.page.boxOrder.discard.confirmMessage{/lang}'
+ 'wcf.acp.box.isDisabled': '{jslang}wcf.acp.box.isDisabled{/jslang}',
+ 'wcf.acp.page.boxOrder.discard.confirmMessage': '{jslang}wcf.acp.page.boxOrder.discard.confirmMessage{/jslang}'
});
var boxes = new Dictionary();
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acp.package.install.title': '{lang}wcf.acp.package.install.title{/lang}',
- 'wcf.acp.package.searchForUpdates': '{lang}wcf.acp.package.searchForUpdates{/lang}',
- 'wcf.acp.package.searchForUpdates.noResults': '{lang}wcf.acp.package.searchForUpdates.noResults{/lang}',
- 'wcf.acp.package.update.unauthorized': '{lang}wcf.acp.package.update.unauthorized{/lang}'
+ 'wcf.acp.package.install.title': '{jslang}wcf.acp.package.install.title{/jslang}',
+ 'wcf.acp.package.searchForUpdates': '{jslang}wcf.acp.package.searchForUpdates{/jslang}',
+ 'wcf.acp.package.searchForUpdates.noResults': '{jslang}wcf.acp.package.searchForUpdates.noResults{/jslang}',
+ 'wcf.acp.package.update.unauthorized': '{jslang}wcf.acp.package.update.unauthorized{/jslang}'
});
var $installer = new WCF.ACP.Package.Server.Installation();
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Ui/ItemList/Filter'], function(Language, UiItemListFilter) {
Language.addObject({
- 'wcf.global.filter.button.visibility': '{lang}wcf.global.filter.button.visibility{/lang}',
- 'wcf.global.filter.button.clear': '{lang}wcf.global.filter.button.clear{/lang}',
- 'wcf.global.filter.error.noMatches': '{lang}wcf.global.filter.error.noMatches{/lang}',
- 'wcf.global.filter.placeholder': '{lang}wcf.global.filter.placeholder{/lang}',
- 'wcf.global.filter.visibility.activeOnly': '{lang}wcf.global.filter.visibility.activeOnly{/lang}',
- 'wcf.global.filter.visibility.highlightActive': '{lang}wcf.global.filter.visibility.highlightActive{/lang}',
- 'wcf.global.filter.visibility.showAll': '{lang}wcf.global.filter.visibility.showAll{/lang}'
+ 'wcf.global.filter.button.visibility': '{jslang}wcf.global.filter.button.visibility{/jslang}',
+ 'wcf.global.filter.button.clear': '{jslang}wcf.global.filter.button.clear{/jslang}',
+ 'wcf.global.filter.error.noMatches': '{jslang}wcf.global.filter.error.noMatches{/jslang}',
+ 'wcf.global.filter.placeholder': '{jslang}wcf.global.filter.placeholder{/jslang}',
+ 'wcf.global.filter.visibility.activeOnly': '{jslang}wcf.global.filter.visibility.activeOnly{/jslang}',
+ 'wcf.global.filter.visibility.highlightActive': '{jslang}wcf.global.filter.visibility.highlightActive{/jslang}',
+ 'wcf.global.filter.visibility.showAll': '{jslang}wcf.global.filter.visibility.showAll{/jslang}'
});
new UiItemListFilter('{@$pageCheckboxListContainerID}');
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.acp.stat.timeFormat.daily': '{lang}wcf.acp.stat.timeFormat.daily{/lang}',
- 'wcf.acp.stat.timeFormat.weekly': '{lang}wcf.acp.stat.timeFormat.weekly{/lang}',
- 'wcf.acp.stat.timeFormat.monthly': '{lang}wcf.acp.stat.timeFormat.monthly{/lang}',
- 'wcf.acp.stat.timeFormat.yearly': '{lang}wcf.acp.stat.timeFormat.yearly{/lang}',
- 'wcf.acp.stat.noData': '{lang}wcf.acp.stat.noData{/lang}'
+ 'wcf.acp.stat.timeFormat.daily': '{jslang}wcf.acp.stat.timeFormat.daily{/jslang}',
+ 'wcf.acp.stat.timeFormat.weekly': '{jslang}wcf.acp.stat.timeFormat.weekly{/jslang}',
+ 'wcf.acp.stat.timeFormat.monthly': '{jslang}wcf.acp.stat.timeFormat.monthly{/jslang}',
+ 'wcf.acp.stat.timeFormat.yearly': '{jslang}wcf.acp.stat.timeFormat.yearly{/jslang}',
+ 'wcf.acp.stat.noData': '{jslang}wcf.acp.stat.noData{/jslang}'
});
new WCF.ACP.Stat.Chart();
new WCF.ColorPicker('.jsColorPicker');
WCF.Language.addObject({
- 'wcf.style.colorPicker': '{lang}wcf.style.colorPicker{/lang}',
- 'wcf.style.colorPicker.new': '{lang}wcf.style.colorPicker.new{/lang}',
- 'wcf.style.colorPicker.current': '{lang}wcf.style.colorPicker.current{/lang}',
- 'wcf.style.colorPicker.button.apply': '{lang}wcf.style.colorPicker.button.apply{/lang}',
- 'wcf.acp.style.image.error.invalidExtension': '{lang}wcf.acp.style.image.error.invalidExtension{/lang}'
+ 'wcf.style.colorPicker': '{jslang}wcf.style.colorPicker{/jslang}',
+ 'wcf.style.colorPicker.new': '{jslang}wcf.style.colorPicker.new{/jslang}',
+ 'wcf.style.colorPicker.current': '{jslang}wcf.style.colorPicker.current{/jslang}',
+ 'wcf.style.colorPicker.button.apply': '{jslang}wcf.style.colorPicker.button.apply{/jslang}',
+ 'wcf.acp.style.image.error.invalidExtension': '{jslang}wcf.acp.style.image.error.invalidExtension{/jslang}'
});
{if $action == 'edit'}
new WCF.ACP.Style.CopyStyle({@$style->styleID});
WCF.Language.addObject({
- 'wcf.acp.style.copyStyle.confirmMessage': '{@"wcf.acp.style.copyStyle.confirmMessage"|language|encodeJS}'
+ 'wcf.acp.style.copyStyle.confirmMessage': '{jslang}wcf.acp.style.copyStyle.confirmMessage{/jslang}'
});
{/if}
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Template/Group/Copy'], function (Language, AcpUiTemplateGroupCopy) {
Language.addObject({
- 'wcf.acp.template.group.copy': '{lang}wcf.acp.template.group.copy{/lang}',
- 'wcf.acp.template.group.name.error.notUnique': '{lang}wcf.acp.template.group.name.error.notUnique{/lang}',
- 'wcf.acp.template.group.folderName': '{lang}wcf.acp.template.group.folderName{/lang}',
- 'wcf.acp.template.group.folderName.error.invalid': '{lang}wcf.acp.template.group.folderName.error.invalid{/lang}',
- 'wcf.acp.template.group.folderName.error.notUnique': '{lang}wcf.acp.template.group.folderName.error.notUnique{/lang}',
- 'wcf.global.name': '{lang}wcf.global.name{/lang}'
+ 'wcf.acp.template.group.copy': '{jslang}wcf.acp.template.group.copy{/jslang}',
+ 'wcf.acp.template.group.name.error.notUnique': '{jslang}wcf.acp.template.group.name.error.notUnique{/jslang}',
+ 'wcf.acp.template.group.folderName': '{jslang}wcf.acp.template.group.folderName{/jslang}',
+ 'wcf.acp.template.group.folderName.error.invalid': '{jslang}wcf.acp.template.group.folderName.error.invalid{/jslang}',
+ 'wcf.acp.template.group.folderName.error.notUnique': '{jslang}wcf.acp.template.group.folderName.error.notUnique{/jslang}',
+ 'wcf.global.name': '{jslang}wcf.global.name{/jslang}'
});
AcpUiTemplateGroupCopy.init({$templateGroupID});
<script data-relocate="true">
require(['Language', 'WoltLabSuite/Core/Acp/Ui/Trophy/Badge'], function (Language, BadgeHandler) {
Language.addObject({
- 'wcf.style.colorPicker': '{lang}wcf.style.colorPicker{/lang}',
- 'wcf.style.colorPicker.new': '{lang}wcf.style.colorPicker.new{/lang}',
- 'wcf.style.colorPicker.current': '{lang}wcf.style.colorPicker.current{/lang}',
- 'wcf.style.colorPicker.button.apply': '{lang}wcf.style.colorPicker.button.apply{/lang}',
- 'wcf.acp.style.image.error.invalidExtension': '{lang}wcf.acp.style.image.error.invalidExtension{/lang}',
- 'wcf.acp.trophy.badge.edit': '{lang}wcf.acp.trophy.badge.edit{/lang}',
- 'wcf.acp.trophy.imageUpload.error.notSquared': '{lang}wcf.acp.trophy.imageUpload.error.notSquared{/lang}',
- 'wcf.acp.trophy.imageUpload.error.tooSmall': '{lang}wcf.acp.trophy.imageUpload.error.tooSmall{/lang}',
- 'wcf.acp.trophy.imageUpload.error.noImage': '{lang}wcf.acp.trophy.imageUpload.error.noImage{/lang}'
+ 'wcf.style.colorPicker': '{jslang}wcf.style.colorPicker{/jslang}',
+ 'wcf.style.colorPicker.new': '{jslang}wcf.style.colorPicker.new{/jslang}',
+ 'wcf.style.colorPicker.current': '{jslang}wcf.style.colorPicker.current{/jslang}',
+ 'wcf.style.colorPicker.button.apply': '{jslang}wcf.style.colorPicker.button.apply{/jslang}',
+ 'wcf.acp.style.image.error.invalidExtension': '{jslang}wcf.acp.style.image.error.invalidExtension{/jslang}',
+ 'wcf.acp.trophy.badge.edit': '{jslang}wcf.acp.trophy.badge.edit{/jslang}',
+ 'wcf.acp.trophy.imageUpload.error.notSquared': '{jslang}wcf.acp.trophy.imageUpload.error.notSquared{/jslang}',
+ 'wcf.acp.trophy.imageUpload.error.tooSmall': '{jslang}wcf.acp.trophy.imageUpload.error.tooSmall{/jslang}',
+ 'wcf.acp.trophy.imageUpload.error.noImage': '{jslang}wcf.acp.trophy.imageUpload.error.noImage{/jslang}'
});
elBySel('select[name=type]').addEventListener('change', function () {
<script data-relocate="true">
require(['WoltLabSuite/Core/Ui/File/Upload', 'Language'], function(Upload, Language) {
Language.addObject({
- 'wcf.upload.error.reachedRemainingLimit': '{lang __literal=true}wcf.upload.error.reachedRemainingLimit{/lang}',
- 'wcf.upload.error.noImage': '{lang}wcf.upload.error.noImage{/lang}'
+ 'wcf.upload.error.reachedRemainingLimit': '{jslang __literal=true}wcf.upload.error.reachedRemainingLimit{/jslang}',
+ 'wcf.upload.error.noImage': '{jslang}wcf.upload.error.noImage{/jslang}'
});
new Upload("{$uploadFieldId}UploadButtonDiv", "{$uploadFieldId}uploadFileList", {
<script data-relocate="true">
$(function() {
- WCF.Language.add('wcf.acp.worker.abort.confirmMessage', '{lang}wcf.acp.worker.abort.confirmMessage{/lang}');
+ WCF.Language.add('wcf.acp.worker.abort.confirmMessage', '{jslang}wcf.acp.worker.abort.confirmMessage{/jslang}');
$('#updateEvents').click(function () {
new WCF.ACP.Worker('events', 'wcf\\system\\worker\\UserActivityPointUpdateEventsWorker', '{lang}wcf.acp.user.activityPoint.updateEvents{/lang}');
</div>
</form>
-{include file='footer'}
\ No newline at end of file
+{include file='footer'}
<script data-relocate="true">
$(function() {
WCF.Language.addObject({
- 'wcf.user.avatar.upload.error.invalidExtension': '{lang}wcf.user.avatar.upload.error.invalidExtension{/lang}',
- 'wcf.user.avatar.upload.error.tooSmall': '{lang}wcf.user.avatar.upload.error.tooSmall{/lang}',
- 'wcf.user.avatar.upload.error.tooLarge': '{lang}wcf.user.avatar.upload.error.tooLarge{/lang}',
- 'wcf.user.avatar.upload.error.uploadFailed': '{lang}wcf.user.avatar.upload.error.uploadFailed{/lang}',
- 'wcf.user.avatar.upload.error.badImage': '{lang}wcf.user.avatar.upload.error.badImage{/lang}',
- 'wcf.user.avatar.upload.success': '{lang}wcf.user.avatar.upload.success{/lang}'
+ 'wcf.user.avatar.upload.error.invalidExtension': '{jslang}wcf.user.avatar.upload.error.invalidExtension{/jslang}',
+ 'wcf.user.avatar.upload.error.tooSmall': '{jslang}wcf.user.avatar.upload.error.tooSmall{/jslang}',
+ 'wcf.user.avatar.upload.error.tooLarge': '{jslang}wcf.user.avatar.upload.error.tooLarge{/jslang}',
+ 'wcf.user.avatar.upload.error.uploadFailed': '{jslang}wcf.user.avatar.upload.error.uploadFailed{/jslang}',
+ 'wcf.user.avatar.upload.error.badImage': '{jslang}wcf.user.avatar.upload.error.badImage{/jslang}',
+ 'wcf.user.avatar.upload.success': '{jslang}wcf.user.avatar.upload.success{/jslang}'
});
new WCF.User.Avatar.Upload({@$user->userID});
{if $action == 'edit' && $group->canCopy()}
WCF.Language.addObject({
- 'wcf.acp.group.copy.confirmMessage': '{lang}wcf.acp.group.copy.confirmMessage{/lang}',
- 'wcf.acp.group.copy.copyACLOptions': '{lang}wcf.acp.group.copy.copyACLOptions{/lang}',
- 'wcf.acp.group.copy.copyACLOptions.description': '{lang}wcf.acp.group.copy.copyACLOptions.description{/lang}',
- 'wcf.acp.group.copy.copyMembers': '{lang}wcf.acp.group.copy.copyMembers{/lang}',
- 'wcf.acp.group.copy.copyMembers.description': '{lang}wcf.acp.group.copy.copyMembers.description{/lang}',
- 'wcf.acp.group.copy.copyUserGroupOptions': '{lang}wcf.acp.group.copy.copyUserGroupOptions{/lang}',
- 'wcf.acp.group.copy.copyUserGroupOptions.description': '{lang}wcf.acp.group.copy.copyUserGroupOptions.description{/lang}'
+ 'wcf.acp.group.copy.confirmMessage': '{jslang}wcf.acp.group.copy.confirmMessage{/jslang}',
+ 'wcf.acp.group.copy.copyACLOptions': '{jslang}wcf.acp.group.copy.copyACLOptions{/jslang}',
+ 'wcf.acp.group.copy.copyACLOptions.description': '{jslang}wcf.acp.group.copy.copyACLOptions.description{/jslang}',
+ 'wcf.acp.group.copy.copyMembers': '{jslang}wcf.acp.group.copy.copyMembers{/jslang}',
+ 'wcf.acp.group.copy.copyMembers.description': '{jslang}wcf.acp.group.copy.copyMembers.description{/jslang}',
+ 'wcf.acp.group.copy.copyUserGroupOptions': '{jslang}wcf.acp.group.copy.copyUserGroupOptions{/jslang}',
+ 'wcf.acp.group.copy.copyUserGroupOptions.description': '{jslang}wcf.acp.group.copy.copyUserGroupOptions.description{/jslang}'
});
new WCF.ACP.User.Group.Copy({@$groupID});
new WCF.Table.EmptyTableHandler($('#userTableContainer'), 'jsUserRow', options);
WCF.Language.addObject({
- 'wcf.acp.user.banReason': '{lang}wcf.acp.user.banReason{/lang}',
- 'wcf.acp.user.banReason.description': '{lang}wcf.acp.user.banReason.description{/lang}',
- 'wcf.acp.user.ban.sure': '{lang}wcf.acp.user.ban.sure{/lang}',
- 'wcf.acp.user.ban.expires': '{lang}wcf.acp.user.ban.expires{/lang}',
- 'wcf.acp.user.ban.expires.description': '{lang}wcf.acp.user.ban.expires.description{/lang}',
- 'wcf.acp.user.ban.neverExpires': '{lang}wcf.acp.user.ban.neverExpires{/lang}',
- 'wcf.acp.user.sendNewPassword.workerTitle': '{lang}wcf.acp.user.sendNewPassword.workerTitle{/lang}',
- 'wcf.acp.worker.abort.confirmMessage': '{lang}wcf.acp.worker.abort.confirmMessage{/lang}',
- 'wcf.acp.content.removeContent': '{lang}wcf.acp.content.removeContent{/lang}',
- 'wcf.user.status.banned': '{lang}wcf.user.status.banned{/lang}',
- 'wcf.user.status.isDisabled': '{lang}wcf.user.status.isDisabled{/lang}'
+ 'wcf.acp.user.banReason': '{jslang}wcf.acp.user.banReason{/jslang}',
+ 'wcf.acp.user.banReason.description': '{jslang}wcf.acp.user.banReason.description{/jslang}',
+ 'wcf.acp.user.ban.sure': '{jslang}wcf.acp.user.ban.sure{/jslang}',
+ 'wcf.acp.user.ban.expires': '{jslang}wcf.acp.user.ban.expires{/jslang}',
+ 'wcf.acp.user.ban.expires.description': '{jslang}wcf.acp.user.ban.expires.description{/jslang}',
+ 'wcf.acp.user.ban.neverExpires': '{jslang}wcf.acp.user.ban.neverExpires{/jslang}',
+ 'wcf.acp.user.sendNewPassword.workerTitle': '{jslang}wcf.acp.user.sendNewPassword.workerTitle{/jslang}',
+ 'wcf.acp.worker.abort.confirmMessage': '{jslang}wcf.acp.worker.abort.confirmMessage{/jslang}',
+ 'wcf.acp.content.removeContent': '{jslang}wcf.acp.content.removeContent{/jslang}',
+ 'wcf.user.status.banned': '{jslang}wcf.user.status.banned{/jslang}',
+ 'wcf.user.status.isDisabled': '{jslang}wcf.user.status.isDisabled{/jslang}'
});
WCF.ACP.User.BanHandler.init();
require(['Language', 'WoltLabSuite/Core/Acp/Ui/User/Editor'], function (Language, AcpUiUserList) {
Language.addObject({
- 'wcf.acp.user.action.sendNewPassword.confirmMessage': '{lang}wcf.acp.user.action.sendNewPassword.confirmMessage{/lang}'
+ 'wcf.acp.user.action.sendNewPassword.confirmMessage': '{jslang}wcf.acp.user.action.sendNewPassword.confirmMessage{/jslang}'
});
AcpUiUserList.init();
{if $mailID|isset}
<script data-relocate="true">
$(function() {
- WCF.Language.add('wcf.acp.worker.abort.confirmMessage', '{lang}wcf.acp.worker.abort.confirmMessage{/lang}');
+ WCF.Language.add('wcf.acp.worker.abort.confirmMessage', '{jslang}wcf.acp.worker.abort.confirmMessage{/jslang}');
new WCF.ACP.Worker('mail', 'wcf\\system\\worker\\MailWorker', '', {
mailID: {@$mailID}
], function () {
require(['Environment', 'Language', 'WoltLabSuite/Core/Ui/Redactor/Autosave', 'WoltLabSuite/Core/Ui/Redactor/Metacode'], function(Environment, Language, UiRedactorAutosave, UiRedactorMetacode) {
Language.addObject({
- 'wcf.attachment.dragAndDrop.dropHere': '{lang}wcf.attachment.dragAndDrop.dropHere{/lang}',
- 'wcf.attachment.dragAndDrop.dropNow': '{lang}wcf.attachment.dragAndDrop.dropNow{/lang}',
+ 'wcf.attachment.dragAndDrop.dropHere': '{jslang}wcf.attachment.dragAndDrop.dropHere{/jslang}',
+ 'wcf.attachment.dragAndDrop.dropNow': '{jslang}wcf.attachment.dragAndDrop.dropNow{/jslang}',
- 'wcf.editor.autosave.discard': '{lang}wcf.editor.autosave.discard{/lang}',
- 'wcf.editor.autosave.keep': '{lang}wcf.editor.autosave.keep{/lang}',
- 'wcf.editor.autosave.restored': '{lang}wcf.editor.autosave.restored{/lang}',
+ 'wcf.editor.autosave.discard': '{jslang}wcf.editor.autosave.discard{/jslang}',
+ 'wcf.editor.autosave.keep': '{jslang}wcf.editor.autosave.keep{/jslang}',
+ 'wcf.editor.autosave.restored': '{jslang}wcf.editor.autosave.restored{/jslang}',
- 'wcf.editor.code.edit': '{lang}wcf.editor.code.edit{/lang}',
- 'wcf.editor.code.file': '{lang}wcf.editor.code.file{/lang}',
- 'wcf.editor.code.file.description': '{lang}wcf.editor.code.file.description{/lang}',
- 'wcf.editor.code.highlighter': '{lang}wcf.editor.code.highlighter{/lang}',
- 'wcf.editor.code.highlighter.description': '{lang}wcf.editor.code.highlighter.description{/lang}',
- 'wcf.editor.code.highlighter.detect': '{lang}wcf.editor.code.highlighter.detect{/lang}',
- 'wcf.editor.code.highlighter.plain': '{lang}wcf.editor.code.highlighter.plain{/lang}',
- 'wcf.editor.code.line': '{lang}wcf.editor.code.line{/lang}',
- 'wcf.editor.code.line.description': '{lang}wcf.editor.code.line.description{/lang}',
- 'wcf.editor.code.title': '{lang __literal=true}wcf.editor.code.title{/lang}',
+ 'wcf.editor.code.edit': '{jslang}wcf.editor.code.edit{/jslang}',
+ 'wcf.editor.code.file': '{jslang}wcf.editor.code.file{/jslang}',
+ 'wcf.editor.code.file.description': '{jslang}wcf.editor.code.file.description{/jslang}',
+ 'wcf.editor.code.highlighter': '{jslang}wcf.editor.code.highlighter{/jslang}',
+ 'wcf.editor.code.highlighter.description': '{jslang}wcf.editor.code.highlighter.description{/jslang}',
+ 'wcf.editor.code.highlighter.detect': '{jslang}wcf.editor.code.highlighter.detect{/jslang}',
+ 'wcf.editor.code.highlighter.plain': '{jslang}wcf.editor.code.highlighter.plain{/jslang}',
+ 'wcf.editor.code.line': '{jslang}wcf.editor.code.line{/jslang}',
+ 'wcf.editor.code.line.description': '{jslang}wcf.editor.code.line.description{/jslang}',
+ 'wcf.editor.code.title': '{jslang __literal=true}wcf.editor.code.title{/jslang}',
- 'wcf.editor.html.description': '{lang}wcf.editor.html.description{/lang}',
- 'wcf.editor.html.title': '{lang}wcf.editor.html.title{/lang}',
+ 'wcf.editor.html.description': '{jslang}wcf.editor.html.description{/jslang}',
+ 'wcf.editor.html.title': '{jslang}wcf.editor.html.title{/jslang}',
- 'wcf.editor.image.edit': '{lang}wcf.editor.image.edit{/lang}',
- 'wcf.editor.image.insert': '{lang}wcf.editor.image.insert{/lang}',
- 'wcf.editor.image.link': '{lang}wcf.editor.image.link{/lang}',
- 'wcf.editor.image.link.error.invalid': '{lang}wcf.editor.image.link.error.invalid{/lang}',
- 'wcf.editor.image.float': '{lang}wcf.editor.image.float{/lang}',
- 'wcf.editor.image.float.left': '{lang}wcf.editor.image.float.left{/lang}',
- 'wcf.editor.image.float.right': '{lang}wcf.editor.image.float.right{/lang}',
- 'wcf.editor.image.source': '{lang}wcf.editor.image.source{/lang}',
- 'wcf.editor.image.source.error.blocked': '{lang}wcf.editor.image.source.error.blocked{/lang}',
- 'wcf.editor.image.source.error.insecure': '{lang}wcf.editor.image.source.error.insecure{/lang}',
- 'wcf.editor.image.source.error.invalid': '{lang}wcf.editor.image.source.error.invalid{/lang}',
+ 'wcf.editor.image.edit': '{jslang}wcf.editor.image.edit{/jslang}',
+ 'wcf.editor.image.insert': '{jslang}wcf.editor.image.insert{/jslang}',
+ 'wcf.editor.image.link': '{jslang}wcf.editor.image.link{/jslang}',
+ 'wcf.editor.image.link.error.invalid': '{jslang}wcf.editor.image.link.error.invalid{/jslang}',
+ 'wcf.editor.image.float': '{jslang}wcf.editor.image.float{/jslang}',
+ 'wcf.editor.image.float.left': '{jslang}wcf.editor.image.float.left{/jslang}',
+ 'wcf.editor.image.float.right': '{jslang}wcf.editor.image.float.right{/jslang}',
+ 'wcf.editor.image.source': '{jslang}wcf.editor.image.source{/jslang}',
+ 'wcf.editor.image.source.error.blocked': '{jslang}wcf.editor.image.source.error.blocked{/jslang}',
+ 'wcf.editor.image.source.error.insecure': '{jslang}wcf.editor.image.source.error.insecure{/jslang}',
+ 'wcf.editor.image.source.error.invalid': '{jslang}wcf.editor.image.source.error.invalid{/jslang}',
- 'wcf.editor.link.add': '{lang}wcf.editor.link.add{/lang}',
- 'wcf.editor.link.edit': '{lang}wcf.editor.link.edit{/lang}',
- 'wcf.editor.link.error.invalid': '{lang}wcf.editor.link.error.invalid{/lang}',
- 'wcf.editor.link.url': '{lang}wcf.editor.link.url{/lang}',
- 'wcf.editor.link.text': '{lang}wcf.editor.link.text{/lang}',
+ 'wcf.editor.link.add': '{jslang}wcf.editor.link.add{/jslang}',
+ 'wcf.editor.link.edit': '{jslang}wcf.editor.link.edit{/jslang}',
+ 'wcf.editor.link.error.invalid': '{jslang}wcf.editor.link.error.invalid{/jslang}',
+ 'wcf.editor.link.url': '{jslang}wcf.editor.link.url{/jslang}',
+ 'wcf.editor.link.text': '{jslang}wcf.editor.link.text{/jslang}',
- 'wcf.editor.list.indent': '{lang}wcf.editor.list.indent{/lang}',
- 'wcf.editor.list.outdent': '{lang}wcf.editor.list.outdent{/lang}',
+ 'wcf.editor.list.indent': '{jslang}wcf.editor.list.indent{/jslang}',
+ 'wcf.editor.list.outdent': '{jslang}wcf.editor.list.outdent{/jslang}',
- 'wcf.editor.quote.author': '{lang}wcf.editor.quote.author{/lang}',
- 'wcf.editor.quote.edit': '{lang}wcf.editor.quote.edit{/lang}',
- 'wcf.editor.quote.title': '{lang __literal=true}wcf.editor.quote.title{/lang}',
- 'wcf.editor.quote.url': '{lang}wcf.editor.quote.url{/lang}',
- 'wcf.editor.quote.url.description': '{lang}wcf.editor.quote.url.description{/lang}',
- 'wcf.editor.quote.url.error.invalid': '{lang}wcf.editor.quote.url.error.invalid{/lang}',
+ 'wcf.editor.quote.author': '{jslang}wcf.editor.quote.author{/jslang}',
+ 'wcf.editor.quote.edit': '{jslang}wcf.editor.quote.edit{/jslang}',
+ 'wcf.editor.quote.title': '{jslang __literal=true}wcf.editor.quote.title{/jslang}',
+ 'wcf.editor.quote.url': '{jslang}wcf.editor.quote.url{/jslang}',
+ 'wcf.editor.quote.url.description': '{jslang}wcf.editor.quote.url.description{/jslang}',
+ 'wcf.editor.quote.url.error.invalid': '{jslang}wcf.editor.quote.url.error.invalid{/jslang}',
- 'wcf.editor.table.cols': '{lang}wcf.editor.table.cols{/lang}',
- 'wcf.editor.table.insertTable': '{lang}wcf.editor.table.insertTable{/lang}',
- 'wcf.editor.table.rows': '{lang}wcf.editor.table.rows{/lang}',
+ 'wcf.editor.table.cols': '{jslang}wcf.editor.table.cols{/jslang}',
+ 'wcf.editor.table.insertTable': '{jslang}wcf.editor.table.insertTable{/jslang}',
+ 'wcf.editor.table.rows': '{jslang}wcf.editor.table.rows{/jslang}',
- 'wcf.editor.source.error.active': '{lang}wcf.editor.source.error.active{/lang}',
+ 'wcf.editor.source.error.active': '{jslang}wcf.editor.source.error.active{/jslang}',
- 'wcf.editor.spoiler.label': '{lang}wcf.editor.spoiler.label{/lang}',
- 'wcf.editor.spoiler.label.description': '{lang}wcf.editor.spoiler.label.description{/lang}',
- 'wcf.editor.spoiler.edit': '{lang}wcf.editor.spoiler.edit{/lang}',
- 'wcf.editor.spoiler.title': '{lang __literal=true}wcf.editor.spoiler.title{/lang}'
+ 'wcf.editor.spoiler.label': '{jslang}wcf.editor.spoiler.label{/jslang}',
+ 'wcf.editor.spoiler.label.description': '{jslang}wcf.editor.spoiler.label.description{/jslang}',
+ 'wcf.editor.spoiler.edit': '{jslang}wcf.editor.spoiler.edit{/jslang}',
+ 'wcf.editor.spoiler.title': '{jslang __literal=true}wcf.editor.spoiler.title{/jslang}'
});
var allowedInlineStyles = [], buttons = [], buttonMobile = [], buttonOptions = [], customButtons = [];
var config = {
buttons: buttons,
clipboardImageUpload: {if $__wcf->getBBCodeHandler()->isAvailableBBCode('attach')}true{else}false{/if},
- direction: '{lang}wcf.global.pageDirection{/lang}',
+ direction: '{jslang}wcf.global.pageDirection{/jslang}',
formatting: ['p', 'h2', 'h3', 'h4'],
imageCaption: false,
imageUpload: {if $__wcf->getBBCodeHandler()->isAvailableBBCode('attach')}true{else}false{/if},
langs: {
wsc: {
// general
- edit: '{lang}wcf.global.button.edit{/lang}',
+ edit: '{jslang}wcf.global.button.edit{/jslang}',
// formatting dropdown
- heading2: '{lang}wcf.editor.format.heading2{/lang}',
- heading3: '{lang}wcf.editor.format.heading3{/lang}',
- heading4: '{lang}wcf.editor.format.heading4{/lang}',
- paragraph: '{lang}wcf.editor.format.paragraph{/lang}',
+ heading2: '{jslang}wcf.editor.format.heading2{/jslang}',
+ heading3: '{jslang}wcf.editor.format.heading3{/jslang}',
+ heading4: '{jslang}wcf.editor.format.heading4{/jslang}',
+ paragraph: '{jslang}wcf.editor.format.paragraph{/jslang}',
// links
- 'link-edit': '{lang}wcf.editor.link.edit{/lang}',
- 'link-insert': '{lang}wcf.editor.link.add{/lang}',
- unlink: '{lang}wcf.editor.link.unlink{/lang}',
+ 'link-edit': '{jslang}wcf.editor.link.edit{/jslang}',
+ 'link-insert': '{jslang}wcf.editor.link.add{/jslang}',
+ unlink: '{jslang}wcf.editor.link.unlink{/jslang}',
// text alignment
- 'align-center': '{lang}wcf.editor.alignment.center{/lang}',
- 'align-justify': '{lang}wcf.editor.alignment.justify{/lang}',
- 'align-left': '{lang}wcf.editor.alignment.left{/lang}',
- 'align-right': '{lang}wcf.editor.alignment.right{/lang}',
+ 'align-center': '{jslang}wcf.editor.alignment.center{/jslang}',
+ 'align-justify': '{jslang}wcf.editor.alignment.justify{/jslang}',
+ 'align-left': '{jslang}wcf.editor.alignment.left{/jslang}',
+ 'align-right': '{jslang}wcf.editor.alignment.right{/jslang}',
// table plugin
- 'add-head': '{lang}wcf.editor.table.addHead{/lang}',
- 'delete-column': '{lang}wcf.editor.table.deleteColumn{/lang}',
- 'delete-head': '{lang}wcf.editor.table.deleteHead{/lang}',
- 'delete-row': '{lang}wcf.editor.table.deleteRow{/lang}',
- 'delete-table': '{lang}wcf.editor.table.deleteTable{/lang}',
- 'insert-table': '{lang}wcf.editor.table.insertTable{/lang}',
- 'insert-column-left': '{lang}wcf.editor.table.insertColumnLeft{/lang}',
- 'insert-column-right': '{lang}wcf.editor.table.insertColumnRight{/lang}',
- 'insert-row-above': '{lang}wcf.editor.table.insertRowAbove{/lang}',
- 'insert-row-below': '{lang}wcf.editor.table.insertRowBelow{/lang}',
+ 'add-head': '{jslang}wcf.editor.table.addHead{/jslang}',
+ 'delete-column': '{jslang}wcf.editor.table.deleteColumn{/jslang}',
+ 'delete-head': '{jslang}wcf.editor.table.deleteHead{/jslang}',
+ 'delete-row': '{jslang}wcf.editor.table.deleteRow{/jslang}',
+ 'delete-table': '{jslang}wcf.editor.table.deleteTable{/jslang}',
+ 'insert-table': '{jslang}wcf.editor.table.insertTable{/jslang}',
+ 'insert-column-left': '{jslang}wcf.editor.table.insertColumnLeft{/jslang}',
+ 'insert-column-right': '{jslang}wcf.editor.table.insertColumnRight{/jslang}',
+ 'insert-row-above': '{jslang}wcf.editor.table.insertRowAbove{/jslang}',
+ 'insert-row-below': '{jslang}wcf.editor.table.insertRowBelow{/jslang}',
// size
- 'remove-size': '{lang}wcf.editor.button.size.removeSize{/lang}',
+ 'remove-size': '{jslang}wcf.editor.button.size.removeSize{/jslang}',
// color
- 'remove-color': '{lang}wcf.editor.button.color.removeColor{/lang}',
+ 'remove-color': '{jslang}wcf.editor.button.color.removeColor{/jslang}',
// font
- 'remove-font': '{lang}wcf.editor.button.font.removeFont{/lang}'
+ 'remove-font': '{jslang}wcf.editor.button.font.removeFont{/jslang}'
}
},
linkify: false,
$wcf = new TemplateScriptingCore($wcf);
}
- self::getTPL()->registerPrefilter(['event', 'hascontent', 'lang']);
+ self::getTPL()->registerPrefilter(['event', 'hascontent', 'lang', 'jslang']);
self::getTPL()->assign([
'__wcf' => $wcf,
'__wcfVersion' => LAST_UPDATE_TIME // @deprecated 2.1, use LAST_UPDATE_TIME directly
}
}
- EmailTemplateEngine::getInstance()->registerPrefilter(['event', 'hascontent', 'lang']);
+ EmailTemplateEngine::getInstance()->registerPrefilter(['event', 'hascontent', 'lang', 'jslang']);
EmailTemplateEngine::getInstance()->assign([
'__wcf' => $wcf
]);
--- /dev/null
+<?php
+namespace wcf\system\template\plugin;
+use wcf\system\template\TemplateScriptingCompiler;
+
+/**
+ * Template compiler plugin which compiles dynamic language variables for the assignment in javascript code.
+ *
+ * Usage:
+ * {jslang}$blah{/jslang}
+ * {jslang var=$x}foo{/jslang}
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2020 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Template\Plugin
+ * @since 5.3
+ */
+class JslangCompilerTemplatePlugin implements ICompilerTemplatePlugin {
+ /**
+ * @inheritDoc
+ */
+ public function executeStart($tagArgs, TemplateScriptingCompiler $compiler) {
+ $compiler->pushTag('jslang');
+
+ $tagArgs = $compiler::makeArgString($tagArgs);
+ return "<?php
+ \$this->tagStack[] = ['jslang', array_merge(\$this->v, [$tagArgs])];
+ ob_start();
+ ?>";
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function executeEnd(TemplateScriptingCompiler $compiler) {
+ $compiler->popTag('jslang');
+ return "<?php
+ echo wcf\util\StringUtil::encodeJS(wcf\system\WCF::getLanguage()->tplGet(ob_get_clean(), \$this->tagStack[count(\$this->tagStack) - 1][1]));
+ array_pop(\$this->tagStack); ?>";
+ }
+}
--- /dev/null
+<?php
+namespace wcf\system\template\plugin;
+use wcf\system\template\TemplateScriptingCompiler;
+use wcf\system\WCF;
+use wcf\util\StringUtil;
+
+/**
+ * Template prefilter plugin which compiles static language variables for the assignment in javascript code.
+ *
+ * Usage:
+ * {jslang}wcf.foo.bar{/jslang}
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2020 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Template\Plugin
+ * @since 5.3
+ */
+class JslangPrefilterTemplatePlugin implements IPrefilterTemplatePlugin {
+ /**
+ * @inheritDoc
+ */
+ public function execute($templateName, $sourceContent, TemplateScriptingCompiler $compiler) {
+ $ldq = preg_quote($compiler->getLeftDelimiter(), '~');
+ $rdq = preg_quote($compiler->getRightDelimiter(), '~');
+ $sourceContent = preg_replace_callback("~{$ldq}jslang{$rdq}([\w\.]+){$ldq}/jslang{$rdq}~", function ($match) {
+ $value = WCF::getLanguage()->get($match[1]);
+ if (strpos($value, '{') !== false) {
+ $variableName = '__jslang_capture_' . substr(StringUtil::getRandomID(), 0, 8);
+ $value = "{capture assign='" . $variableName . "'}" . $value . "{/capture}{@$" . $variableName . "|encodeJS}";
+ }
+ else {
+ $value = StringUtil::encodeJS($value);
+ }
+
+ return $value;
+ }, $sourceContent);
+
+ return $sourceContent;
+ }
+}