From: Alexander Ebert Date: Thu, 16 Jun 2016 11:05:51 +0000 (+0200) Subject: Added missing phrases for links in Redactor X-Git-Tag: 3.0.0_Beta_1~1424 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8d1816d900e41cc9e3962a3549f283caf70fdef;p=GitHub%2FWoltLab%2FWCF.git Added missing phrases for links in Redactor --- diff --git a/com.woltlab.wcf/templates/wysiwyg.tpl b/com.woltlab.wcf/templates/wysiwyg.tpl index 26768abafc..b3efb1532f 100644 --- a/com.woltlab.wcf/templates/wysiwyg.tpl +++ b/com.woltlab.wcf/templates/wysiwyg.tpl @@ -62,6 +62,11 @@ 'wcf.editor.image.source': '{lang}wcf.editor.image.source{/lang}', 'wcf.editor.image.source.error.invalid': '{lang}wcf.editor.image.source.error.invalid{/lang}', + 'wcf.editor.link.add': '{lang}wcf.editor.link.add{/lang}', + 'wcf.editor.link.edit': '{lang}wcf.editor.link.edit{/lang}', + 'wcf.editor.link.url': '{lang}wcf.editor.link.url{/lang}', + 'wcf.editor.link.text': '{lang}wcf.editor.link.text{/lang}', + '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}', diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Link.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Link.js index b2d5f1ec6e..f278af6594 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Link.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Link.js @@ -8,7 +8,7 @@ define(['Language', 'Ui/Dialog'], function(Language, UiDialog) { showDialog: function(options) { UiDialog.open(this); - UiDialog.setTitle(this, Language.get('wcf.redactor.link.' + (options.insert ? 'add' : 'edit'))); + UiDialog.setTitle(this, Language.get('wcf.editor.link.' + (options.insert ? 'add' : 'edit'))); var submitButton = elById('redactor-modal-button-action'); submitButton.textContent = Language.get('wcf.global.button.' + (options.insert ? 'insert' : 'save')); @@ -52,11 +52,11 @@ define(['Language', 'Ui/Dialog'], function(Language, UiDialog) { } }, source: '
' - + '
' + + '
' + '
' + '
' + '
' - + '
' + + '
' + '
' + '
' + '
' diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 04592fce6c..4c24774321 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2154,6 +2154,11 @@ Fehler sind beispielsweise: + + + + + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 1bb38d596a..17d585e483 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2165,6 +2165,11 @@ Errors are: + + + + +