From d82e813d8e610f6e8b5613a03f207865c05f6571 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 29 May 2023 14:31:22 +0200 Subject: [PATCH] Improve titles/description of input fields for "Language" --- com.woltlab.wcf/templates/register.tpl | 6 +----- com.woltlab.wcf/templates/settings.tpl | 6 +----- .../install/files/lib/acp/form/LanguageAddForm.class.php | 3 +-- wcfsetup/install/lang/de.xml | 3 +-- wcfsetup/install/lang/en.xml | 4 ++-- 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/com.woltlab.wcf/templates/register.tpl b/com.woltlab.wcf/templates/register.tpl index a8f057cd6d..dccaee16f6 100644 --- a/com.woltlab.wcf/templates/register.tpl +++ b/com.woltlab.wcf/templates/register.tpl @@ -149,7 +149,7 @@

{lang}wcf.user.language{/lang}

-
+
diff --git a/com.woltlab.wcf/templates/settings.tpl b/com.woltlab.wcf/templates/settings.tpl index 3f973d4cbd..481070105f 100644 --- a/com.woltlab.wcf/templates/settings.tpl +++ b/com.woltlab.wcf/templates/settings.tpl @@ -19,7 +19,7 @@

{lang}wcf.user.language{/lang}

-
+
diff --git a/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php b/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php index 680e228ceb..ef92ab2676 100644 --- a/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php @@ -88,8 +88,7 @@ class LanguageAddForm extends AbstractFormBuilderForm FormContainer::create('data') ->appendChildren([ TextFormField::create('languageName') - ->label('wcf.global.name') - ->description('wcf.acp.language.name.description') + ->label('wcf.acp.language.name') ->maximumLength(255) ->required(), TextFormField::create('languageCode') diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 5f30e36c34..eb275f59f5 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -1046,7 +1046,7 @@ Sie erreichen das Fehlerprotokoll unter: {link controller='ExceptionLogView' isE - + languageCustomItemDisableTime} vom {$item->languageCustomItemDisableTime|date}{/if}.]]> @@ -5844,7 +5844,6 @@ Benachrichtigungen auf {PAGE_TITLE|phra - diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 437b64f532..80db36f512 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1025,7 +1025,7 @@ You can access the error log at: {link controller='ExceptionLogView' isEmail=tru - + languageCustomItemDisableTime} on {$item->languageCustomItemDisableTime|date}{/if}.]]> @@ -4579,7 +4579,7 @@ Attachments: - + -- 2.20.1