Make missing language item available in JavaScript code
authorMatthias Schmidt <gravatronics@live.com>
Sat, 9 Dec 2017 08:03:28 +0000 (09:03 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 9 Dec 2017 08:03:28 +0000 (09:03 +0100)
See #2484

com.woltlab.wcf/templates/user.tpl

index 722fe208f967940d473303cce60c2e1784bb6dfa..a2d64f7792353bb7a4a2d68660e6f8e3c252ea5d 100644 (file)
                <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.invalidExtension': '{lang}wcf.user.coverPhoto.upload.error.invalidExtension{/lang}',
                                        'wcf.user.coverPhoto.upload.error.tooSmall': '{lang}wcf.user.coverPhoto.upload.error.tooSmall{/lang}',
                                        'wcf.user.coverPhoto.upload.error.tooLarge': '{lang}wcf.user.coverPhoto.upload.error.tooLarge{/lang}',