Add new phrases to JavaScript for existing uses of color pickers
authorMatthias Schmidt <gravatronics@live.com>
Thu, 1 Jul 2021 08:05:10 +0000 (10:05 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 1 Jul 2021 08:09:27 +0000 (10:09 +0200)
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/acp/templates/trophyAdd.tpl

index 4e04f87ce5819966a2c870f7d31fa61d041ee5de..dc3f6d0c1231ead8c1666e145394a439d05a380e 100644 (file)
                
                WCF.Language.addObject({
                        'wcf.style.colorPicker': '{jslang}wcf.style.colorPicker{/jslang}',
-                       'wcf.style.colorPicker.new': '{jslang}wcf.style.colorPicker.new{/jslang}',
+                       'wcf.style.colorPicker.alpha': '{jslang}wcf.style.colorPicker.alpha{/jslang}',
+                       'wcf.style.colorPicker.button.apply': '{jslang}wcf.style.colorPicker.button.apply{/jslang}',
+                       'wcf.style.colorPicker.color': '{jslang}wcf.style.colorPicker.color{/jslang}',
                        'wcf.style.colorPicker.current': '{jslang}wcf.style.colorPicker.current{/jslang}',
-                       'wcf.style.colorPicker.button.apply': '{jslang}wcf.style.colorPicker.button.apply{/jslang}'
+                       'wcf.style.colorPicker.error.invalidColor': '{jslang}wcf.style.colorPicker.error.invalidColor{/jslang}',
+                       'wcf.style.colorPicker.hexAlpha': '{jslang}wcf.style.colorPicker.hexAlpha{/jslang}',
+                       'wcf.style.colorPicker.new': '{jslang}wcf.style.colorPicker.new{/jslang}',
                });
                
                {if $action == 'edit'}
index d31541f299837fd5303393eaa93ccb9e063a1fe0..4846ed12160edf0ba3dc25d3389bd440406439a2 100644 (file)
@@ -7,9 +7,13 @@
        require(['Language', 'WoltLabSuite/Core/Acp/Ui/Trophy/Badge'], function (Language, BadgeHandler) {
                Language.addObject({
                        '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.alpha': '{jslang}wcf.style.colorPicker.alpha{/jslang}',
                        'wcf.style.colorPicker.button.apply': '{jslang}wcf.style.colorPicker.button.apply{/jslang}',
+                       'wcf.style.colorPicker.color': '{jslang}wcf.style.colorPicker.color{/jslang}',
+                       'wcf.style.colorPicker.current': '{jslang}wcf.style.colorPicker.current{/jslang}',
+                       'wcf.style.colorPicker.error.invalidColor': '{jslang}wcf.style.colorPicker.error.invalidColor{/jslang}',
+                       'wcf.style.colorPicker.hexAlpha': '{jslang}wcf.style.colorPicker.hexAlpha{/jslang}',
+                       'wcf.style.colorPicker.new': '{jslang}wcf.style.colorPicker.new{/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}',