Added missing phrases for links in Redactor
authorAlexander Ebert <ebert@woltlab.com>
Thu, 16 Jun 2016 11:05:51 +0000 (13:05 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 16 Jun 2016 11:05:58 +0000 (13:05 +0200)
com.woltlab.wcf/templates/wysiwyg.tpl
wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Link.js
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 26768abafc7ed7b9aec0b7afb37737934168c8d2..b3efb1532fd2bc7fb02bea02e161d7481cdadbe0 100644 (file)
                                '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}',
index b2d5f1ec6e9153f082794111f1bc596932184a09..f278af6594c4c83196e28edb678cd2c5280b9ecd 100644 (file)
@@ -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: '<dl>'
-                                               + '<dt><label for="redactor-link-url">' + Language.get('wcf.redactor.link.url') + '</label></dt>'
+                                               + '<dt><label for="redactor-link-url">' + Language.get('wcf.editor.link.url') + '</label></dt>'
                                                + '<dd><input type="url" id="redactor-link-url" class="long"></dd>'
                                        + '</dl>'
                                        + '<dl>'
-                                               + '<dt><label for="redactor-link-url-text">' + Language.get('wcf.redactor.link.text') + '</label></dt>'
+                                               + '<dt><label for="redactor-link-url-text">' + Language.get('wcf.editor.link.text') + '</label></dt>'
                                                + '<dd><input type="text" id="redactor-link-url-text" class="long"></dd>'
                                        + '</dl>'
                                        + '<div class="formSubmit">'
index 04592fce6cf9a2223faede0e6267ae07b920e122..4c2477432135b13e50f4432f4cebbd6af79e3c59 100644 (file)
@@ -2154,6 +2154,11 @@ Fehler sind beispielsweise:
                <item name="wcf.editor.image.source"><![CDATA[Quelle]]></item>
                <item name="wcf.editor.image.source.error.invalid"><![CDATA[Der eingegebene Link ist ungültig.]]></item>
                
+               <item name="wcf.editor.link.add"><![CDATA[Link einfügen]]></item>
+               <item name="wcf.editor.link.edit"><![CDATA[Link bearbeiten]]></item>
+               <item name="wcf.editor.link.url"><![CDATA[Link]]></item>
+               <item name="wcf.editor.link.text"><![CDATA[Text]]></item>
+               
                <item name="wcf.editor.quote.author"><![CDATA[Quelle]]></item>
                <item name="wcf.editor.quote.edit"><![CDATA[Zitat bearbeiten]]></item>
                <item name="wcf.editor.quote.title"><![CDATA[{if $author}Zitat von {$author}{else}Zitat{/if}]]></item>
index 1bb38d596acd1bbbad945af7442cdf8a30e35ce4..17d585e483b97c826999605c146c2bedf05cd4a4 100644 (file)
@@ -2165,6 +2165,11 @@ Errors are:
                <item name="wcf.editor.image.source"><![CDATA[Source]]></item>
                <item name="wcf.editor.image.source.error.invalid"><![CDATA[You have entered an invalid link.]]></item>
                
+               <item name="wcf.editor.link.add"><![CDATA[Insert Link]]></item>
+               <item name="wcf.editor.link.edit"><![CDATA[Edit Link]]></item>
+               <item name="wcf.editor.link.url"><![CDATA[Link]]></item>
+               <item name="wcf.editor.link.text"><![CDATA[Text]]></item>
+               
                <item name="wcf.editor.quote.author"><![CDATA[Source]]></item>
                <item name="wcf.editor.quote.edit"><![CDATA[Edit Quote]]></item>
                <item name="wcf.editor.quote.title"><![CDATA[{if $author}Quote from {$author}{else}Quote{/if}]]></item>