From: Matthias Schmidt Date: Sun, 11 Sep 2016 12:44:21 +0000 (+0200) Subject: Make `wcf.media.button.select` available in JS code X-Git-Tag: 3.0.0_Beta_1~215 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fe1dc04852d35d9822c4aaf4bb4e6b3d4d03acc;p=GitHub%2FWoltLab%2FWCF.git Make `wcf.media.button.select` available in JS code --- diff --git a/com.woltlab.wcf/templates/mediaJavaScript.tpl b/com.woltlab.wcf/templates/mediaJavaScript.tpl index 39f248b2a4..6c101c187e 100644 --- a/com.woltlab.wcf/templates/mediaJavaScript.tpl +++ b/com.woltlab.wcf/templates/mediaJavaScript.tpl @@ -2,7 +2,7 @@ require(['Language', 'Permission'], function(Language, Permission) { Language.addObject({ 'wcf.global.button.insert': '{lang}wcf.global.button.insert{/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.insert': '{lang}wcf.media.insert{/lang}', 'wcf.media.insert.imageSize': '{lang}wcf.media.insert.imageSize{/lang}', diff --git a/wcfsetup/install/files/acp/templates/mediaJavaScript.tpl b/wcfsetup/install/files/acp/templates/mediaJavaScript.tpl index 39f248b2a4..9c7b42ac69 100644 --- a/wcfsetup/install/files/acp/templates/mediaJavaScript.tpl +++ b/wcfsetup/install/files/acp/templates/mediaJavaScript.tpl @@ -2,7 +2,7 @@ require(['Language', 'Permission'], function(Language, Permission) { Language.addObject({ 'wcf.global.button.insert': '{lang}wcf.global.button.insert{/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.insert': '{lang}wcf.media.insert{/lang}', 'wcf.media.insert.imageSize': '{lang}wcf.media.insert.imageSize{/lang}',