Fixed missing language variables for error messages
authorMarcel Werk <burntime@woltlab.com>
Tue, 30 Mar 2021 13:08:03 +0000 (15:08 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 30 Mar 2021 13:08:03 +0000 (15:08 +0200)
wcfsetup/install/files/acp/templates/styleAdd.tpl

index 2ffce8cd6f7c36a9b874ee95b178910be902d8a5..8a7295a2ffaeac2643e86f6990402bce5032457a 100644 (file)
                                                        <small class="innerError">
                                                                {if $errorType == 'empty'}
                                                                        {lang}wcf.global.form.error.empty{/lang}
+                                                               {elseif $errorType == 'invalid'}
+                                                                       {lang}wcf.upload.error.noImage{/lang}
                                                                {else}
                                                                        {lang}wcf.acp.style.image.error.{$errorType}{/lang}
                                                                {/if}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty'}
                                                                        {lang}wcf.global.form.error.empty{/lang}
+                                                               {elseif $errorType == 'invalid'}
+                                                                       {lang}wcf.upload.error.noImage{/lang}
                                                                {else}
                                                                        {lang}wcf.acp.style.image2x.error.{$errorType}{/lang}
                                                                {/if}
                                                                        {lang}wcf.global.form.error.empty{/lang}
                                                                {elseif $errorType == 'minWidth' || $errorType == 'minHeight' || $errorType == 'maxWidth' || $errorType == 'maxHeight'}
                                                                        {lang}wcf.acp.style.favicon.error.dimensions{/lang}
+                                                               {elseif $errorType == 'invalid'}
+                                                                       {lang}wcf.upload.error.noImage{/lang}
                                                                {else}
                                                                        {lang}wcf.acp.style.favicon.error.{$errorType}{/lang}
                                                                {/if}
                                                                        {lang}wcf.global.form.error.empty{/lang}
                                                                {elseif $errorType == 'minWidth' || $errorType == 'minHeight'}
                                                                        {lang}wcf.image.coverPhoto.upload.error.{$errorType}{/lang}
+                                                               {elseif $errorType == 'invalid'}
+                                                                       {lang}wcf.upload.error.noImage{/lang}
                                                                {else}
                                                                        {lang}wcf.acp.style.coverPhoto.error.{$errorType}{/lang}
                                                                {/if}