Unified error language variables
authorMarcel Werk <burntime@woltlab.com>
Wed, 28 Sep 2011 15:45:30 +0000 (17:45 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 28 Sep 2011 15:45:30 +0000 (17:45 +0200)
Fixes #200

wcfsetup/install/files/acp/templates/cronjobAdd.tpl
wcfsetup/install/files/acp/templates/login.tpl
wcfsetup/install/files/acp/templates/userAdd.tpl
wcfsetup/install/lang/de.xml

index 2024f8604333b3285edea57bc32299a28ac6a963..c672f2912a1380e99bebbad170325c1222ce2d52 100644 (file)
@@ -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}
                                                </small>
                                        {/if}
@@ -70,7 +70,7 @@
                                        {if $errorField == 'startMinute'}
                                                <small class="innerError">
                                                        <span class="arrowOuter" style="display: none;"><span class="arrowInner"></span></span>
-                                                       {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang}
+                                                       {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang}
                                                </small>
                                        {/if}
                                        <small id="startMinuteHelpMessage">{lang}wcf.acp.cronjob.startMinute.description{/lang}</small>
@@ -84,7 +84,7 @@
                                        {if $errorField == 'startHour'}
                                                <small class="innerError">
                                                        <span class="arrowOuter" style="display: none;"><span class="arrowInner"></span></span>
-                                                       {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang}
+                                                       {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang}
                                                </small>
                                        {/if}
                                        <small id="startHourHelpMessage">{lang}wcf.acp.cronjob.startHour.description{/lang}</small>
@@ -98,7 +98,7 @@
                                        {if $errorField == 'startDom'}
                                                <small class="innerError">
                                                        <span class="arrowOuter" style="display: none;"><span class="arrowInner"></span></span>
-                                                       {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang}
+                                                       {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang}
                                                </small>
                                        {/if}
                                        <small id="startDomHelpMessage">{lang}wcf.acp.cronjob.startDom.description{/lang}</small>
                                        {if $errorField == 'startMonth'}
                                                <small class="innerError">
                                                        <span class="arrowOuter" style="display: none;"><span class="arrowInner"></span></span>
-                                                       {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang}
+                                                       {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang}
                                                </small>
                                        {/if}
                                        <small id="startMonthHelpMessage">{lang}wcf.acp.cronjob.startMonth.description{/lang}</small>
                                        {if $errorField == 'startDow'}
                                                <small class="innerError">
                                                        <span class="arrowOuter" style="display: none;"><span class="arrowInner"></span></span>
-                                                       {lang}wcf.acp.cronjob.error.timing.{@$errorType}{/lang}
+                                                       {lang}wcf.acp.cronjob.timing.error.{@$errorType}{/lang}
                                                </small>
                                        {/if}
                                        <small id="startDowHelpMessage">{lang}wcf.acp.cronjob.startDow.description{/lang}</small>
index c59782dfc67b9dfa4702ff5625267210a9e2da8a..9c1b97a4df02fa3ed2791246d08beae9cc4fe3be 100644 (file)
@@ -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}
                                        </small>
                                {/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}
                                        </small>
                                {/if}
index c2a22eb116d1617dfac81663b8dfbf68a5fb9b53..ba071624bd292610513c9289355f6830c5cf10e2 100644 (file)
@@ -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}
                                        </small>
                                {/if}
                                                                {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}
                                                        </small>
                                                {/if}
                                                {if $errorType.confirmEmail|isset}
                                                        <small class="innerError">
                                                                <span class="arrowOuter" style="display: none;"><span class="arrowInner"></span></span>
-                                                               {lang}wcf.user.error.confirmEmail.{@$errorType.confirmEmail}{/lang}
+                                                               {lang}wcf.user.confirmEmail.error.{@$errorType.confirmEmail}{/lang}
                                                        </small>
                                                {/if}
                                        </dd>
                                                                {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}
                                                        </small>
                                                {/if}
                                                {if $errorType.confirmPassword|isset}
                                                        <small class="innerError">
                                                                <span class="arrowOuter" style="display: none;"><span class="arrowInner"></span></span>
-                                                               {lang}wcf.user.error.confirmPassword.{@$errorType.confirmPassword}{/lang}
+                                                               {lang}wcf.user.confirmPassword.error.{@$errorType.confirmPassword}{/lang}
                                                        </small>
                                                {/if}
                                        </dd>
index 131155b7ee10c143fb403ed4fc3d33318e5da7e7..00c2a7e20eb867baca7c673f23540ffdf86ccf97 100644 (file)
@@ -30,8 +30,8 @@
                <item name="wcf.acp.cronjob.timing"><![CDATA[Zeitsteuerung]]></item>
                <item name="wcf.acp.cronjob.intro"><![CDATA[Das Anlegen von zeitgesteuerten Aufgaben erfordert eine genaue Kenntnis der Crontab-Syntax auf unixähnlichen Systemen. Weiterführende Informationen dazu erhalten Sie auf dieser Website: <a href="{@RELATIVE_WCF_DIR}acp/dereferrer.php?url={"http://www.unixgeeks.org/security/newbie/unix/cron-1.html"|rawurlencode}" class="externalURL">Newbie: Intro to cron</a>]]></item>
                <item name="wcf.acp.cronjob.execute"><![CDATA[Aufgabe jetzt ausführen]]></item>
-               <item name="wcf.acp.cronjob.error.className.doesNotExist"><![CDATA[Eine Klasse mit dem angegeben Namen existiert nicht.]]></item>
-               <item name="wcf.acp.cronjob.error.timing.notValid"><![CDATA[Das Zeitformat ist ungültig.]]></item>
+               <item name="wcf.acp.cronjob.className.error.doesNotExist"><![CDATA[Eine Klasse mit dem angegeben Namen existiert nicht.]]></item>
+               <item name="wcf.acp.cronjob.timing.error.notValid"><![CDATA[Das Zeitformat ist ungültig.]]></item>
                <item name="wcf.acp.cronjob.delete.sure"><![CDATA[Sind Sie sicher, dass Sie diese zeitgesteuerte Aufgabe &raquo;{$cronjob->description|truncate:50:' ...'}&laquo; löschen möchten?]]></item>
                <item name="wcf.acp.cronjob.log"><![CDATA[Protokoll der ausgeführten Zeitgesteuerten Aufgaben]]></item>
                <item name="wcf.acp.cronjob.log.clear"><![CDATA[Alle löschen]]></item>
                <item name="wcf.user.confirmEmail"><![CDATA[E-Mail-Adresse wiederholen]]></item>
                <item name="wcf.user.confirmPassword"><![CDATA[Kennwort wiederholen]]></item>
                <item name="wcf.user.email"><![CDATA[E-Mail-Adresse]]></item>
-               <item name="wcf.user.error.confirmEmail.notEqual"><![CDATA[Die eingegebenen E-Mail-Adressen sind nicht identisch.]]></item>
-               <item name="wcf.user.error.confirmPassword.notEqual"><![CDATA[Die eingegebenen Kennwörter sind nicht identisch.]]></item>
-               <item name="wcf.user.error.email.notUnique"><![CDATA[Diese E-Mail-Adresse ist bereits durch einen anderen Benutzer vergeben.]]></item>
-               <item name="wcf.user.error.email.notValid"><![CDATA[Sie haben eine ungültige E-Mail-Adresse eingegeben.]]></item>
-               <item name="wcf.user.error.password.false"><![CDATA[Dieses Kennwort ist falsch.]]></item>
-               <item name="wcf.user.error.username.notFound"><![CDATA[Der Benutzername &raquo;{$username}&laquo; konnte nicht gefunden werden.]]></item>
-               <item name="wcf.user.error.username.notUnique"><![CDATA[Dieser Benutzername ist bereits vergeben.]]></item>
-               <item name="wcf.user.error.username.notValid"><![CDATA[Sie haben einen ungültigen Benutzernamen eingegeben.]]></item>
+               <item name="wcf.user.confirmEmail.error.notEqual"><![CDATA[Die eingegebenen E-Mail-Adressen sind nicht identisch.]]></item>
+               <item name="wcf.user.confirmPassword.error.notEqual"><![CDATA[Die eingegebenen Kennwörter sind nicht identisch.]]></item>
+               <item name="wcf.user.email.error.notUnique"><![CDATA[Diese E-Mail-Adresse ist bereits durch einen anderen Benutzer vergeben.]]></item>
+               <item name="wcf.user.email.error.notValid"><![CDATA[Sie haben eine ungültige E-Mail-Adresse eingegeben.]]></item>
+               <item name="wcf.user.password.error.false"><![CDATA[Dieses Kennwort ist falsch.]]></item>
+               <item name="wcf.user.username.error.notFound"><![CDATA[Der Benutzername &raquo;{$username}&laquo; konnte nicht gefunden werden.]]></item>
+               <item name="wcf.user.username.error.notUnique"><![CDATA[Dieser Benutzername ist bereits vergeben.]]></item>
+               <item name="wcf.user.username.error.notValid"><![CDATA[Sie haben einen ungültigen Benutzernamen eingegeben.]]></item>
                <item name="wcf.user.language"><![CDATA[Sprache]]></item>
                <item name="wcf.user.language.description"><![CDATA[Bitte wählen Sie aus, in welcher Sprache die Benutzeroberfläche erscheinen soll!]]></item>
                <item name="wcf.user.logout"><![CDATA[Abmelden]]></item>