From d113d10728480e27453137278fcac76dafc2fe79 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 28 Sep 2011 17:45:30 +0200 Subject: [PATCH] Unified error language variables Fixes #200 --- .../files/acp/templates/cronjobAdd.tpl | 12 +++++------ .../install/files/acp/templates/login.tpl | 4 ++-- .../install/files/acp/templates/userAdd.tpl | 10 +++++----- wcfsetup/install/lang/de.xml | 20 +++++++++---------- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl index 2024f86043..c672f2912a 100644 --- a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl @@ -43,7 +43,7 @@ {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} - {lang}wcf.acp.cronjob.error.className.{@$errorType}{/lang} + {lang}wcf.acp.cronjob.className.error.{@$errorType}{/lang} {/if} {/if} @@ -70,7 +70,7 @@ {if $errorField == 'startMinute'} - {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang} + {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} {lang}wcf.acp.cronjob.startMinute.description{/lang} @@ -84,7 +84,7 @@ {if $errorField == 'startHour'} - {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang} + {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} {lang}wcf.acp.cronjob.startHour.description{/lang} @@ -98,7 +98,7 @@ {if $errorField == 'startDom'} - {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang} + {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} {lang}wcf.acp.cronjob.startDom.description{/lang} @@ -112,7 +112,7 @@ {if $errorField == 'startMonth'} - {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang} + {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} {lang}wcf.acp.cronjob.startMonth.description{/lang} @@ -126,7 +126,7 @@ {if $errorField == 'startDow'} - {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang} + {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang} {/if} {lang}wcf.acp.cronjob.startDow.description{/lang} diff --git a/wcfsetup/install/files/acp/templates/login.tpl b/wcfsetup/install/files/acp/templates/login.tpl index c59782dfc6..9c1b97a4df 100644 --- a/wcfsetup/install/files/acp/templates/login.tpl +++ b/wcfsetup/install/files/acp/templates/login.tpl @@ -31,7 +31,7 @@ {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} - {lang}wcf.user.error.username.{@$errorType}{/lang} + {lang}wcf.user.username.error.{@$errorType}{/lang} {/if} {/if} @@ -47,7 +47,7 @@ {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} - {lang}wcf.user.error.password.{@$errorType}{/lang} + {lang}wcf.user.password.error.{@$errorType}{/lang} {/if} {/if} diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index c2a22eb116..ba071624bd 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -91,7 +91,7 @@ {if $errorType.username == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} - {lang}wcf.user.error.username.{@$errorType.username}{/lang} + {lang}wcf.user.username.error.{@$errorType.username}{/lang} {/if} {/if} @@ -131,7 +131,7 @@ {if $errorType.email == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} - {lang}wcf.user.error.email.{@$errorType.email}{/lang} + {lang}wcf.user.email.error.{@$errorType.email}{/lang} {/if} {/if} @@ -145,7 +145,7 @@ {if $errorType.confirmEmail|isset} - {lang}wcf.user.error.confirmEmail.{@$errorType.confirmEmail}{/lang} + {lang}wcf.user.confirmEmail.error.{@$errorType.confirmEmail}{/lang} {/if} @@ -167,7 +167,7 @@ {if $errorType.password == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} - {lang}wcf.user.error.password.{@$errorType.password}{/lang} + {lang}wcf.user.password.error.{@$errorType.password}{/lang} {/if} {/if} @@ -181,7 +181,7 @@ {if $errorType.confirmPassword|isset} - {lang}wcf.user.error.confirmPassword.{@$errorType.confirmPassword}{/lang} + {lang}wcf.user.confirmPassword.error.{@$errorType.confirmPassword}{/lang} {/if} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 131155b7ee..00c2a7e20e 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -30,8 +30,8 @@ Newbie: Intro to cron]]> - - + + description|truncate:50:' ...'}« löschen möchten?]]> @@ -606,14 +606,14 @@ - - - - - - - - + + + + + + + + -- 2.20.1