From dde29caa65a5bafde869eef2ca939f36772f06fa Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 15 Jun 2012 17:39:37 +0200 Subject: [PATCH] Adds wcf.global.form.data lang var This language variable is quite common, thus a global one is quite handy. --- wcfsetup/install/files/acp/templates/categoryAdd.tpl | 2 +- wcfsetup/install/files/acp/templates/cronjobAdd.tpl | 2 +- wcfsetup/install/files/acp/templates/userGroupAdd.tpl | 2 +- wcfsetup/install/lang/de.xml | 4 +--- wcfsetup/install/lang/en.xml | 4 +--- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/categoryAdd.tpl b/wcfsetup/install/files/acp/templates/categoryAdd.tpl index 09ec2b4c38..ebfa4e4fc3 100644 --- a/wcfsetup/install/files/acp/templates/categoryAdd.tpl +++ b/wcfsetup/install/files/acp/templates/categoryAdd.tpl @@ -59,7 +59,7 @@
- {hascontent}{content}{lang __optional=true}{@$objectType->getProcessor()->getLangVarPrefix()}.data{/lang}{/content}{hascontentelse}{lang}wcf.category.data{/lang}{/hascontent} + {hascontent}{content}{lang __optional=true}{@$objectType->getProcessor()->getLangVarPrefix()}.data{/lang}{/content}{hascontentelse}{lang}wcf.global.form.data{/lang}{/hascontent} {if $categoryNodeList|count} diff --git a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl index 77c450d13d..b49600807d 100644 --- a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl @@ -32,7 +32,7 @@
- {lang}wcf.acp.cronjob.data{/lang} + {lang}wcf.global.form.data{/lang}
diff --git a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl index 50ffd80023..f2e54996d6 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl @@ -43,7 +43,7 @@
- {lang}wcf.acp.group.data{/lang} + {lang}wcf.global.form.data{/lang}
diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index d8543d3aa8..eb024c95d6 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -24,7 +24,6 @@ - getPath('wcf')}acp/dereferrer.php?url={"http://www.unixgeeks.org/security/newbie/unix/cron-1.html"|rawurlencode}" class="wcf-externalURL">Newbie: Intro to cron]]> @@ -40,7 +39,6 @@ - groupName}“ wirklich löschen?]]> @@ -408,7 +406,6 @@ - @@ -606,6 +603,7 @@ + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index ce1c645928..bd2e22be60 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -24,7 +24,6 @@ - getPath('wcf')}acp/dereferrer.php?url={"http://www.unixgeeks.org/security/newbie/unix/cron-1.html"|rawurlencode}" class="wcf-externalURL">Newbie: Intro to cron.]]> @@ -40,7 +39,6 @@ - groupName}"?]]> @@ -408,7 +406,6 @@ - @@ -572,6 +569,7 @@ + -- 2.20.1