From 7be9dc15933c79d2298d1e43f252b121c4cc8bbc Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 4 Jul 2013 12:23:42 +0200 Subject: [PATCH] Adds missing language item Fixes #1369 --- .../files/lib/acp/form/UserAssignToGroupForm.class.php | 8 ++++++-- wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php b/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php index bd8d23722f..1b5c64d773 100755 --- a/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php @@ -143,7 +143,7 @@ class UserAssignToGroupForm extends AbstractForm { $action = new UserAction(array(new UserEditor($user)), 'addToGroups', array( 'groups' => $groupsIDs, - 'addDefaultGroups' => false + 'addDefaultGroups' => false )); $action->executeAction(); } @@ -153,7 +153,11 @@ class UserAssignToGroupForm extends AbstractForm { $this->saved(); - WCF::getTPL()->assign('message', 'wcf.acp.user.assignToGroup.success'); + WCF::getTPL()->assign(array( + 'groupIDs' => $this->groupIDs, + 'message' => 'wcf.acp.user.assignToGroup.success', + 'users' => $this->users + )); WCF::getTPL()->display('success'); exit; } diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 7f8763b791..e6c502f20a 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -1138,6 +1138,7 @@ + 1}Die{else}Der{/if} Benutzer wurde{if $users|count > 1}n{/if} erfolgreich {if $groupIDs|count > 1}den ausgewählten Benutzergruppen{else}der ausgewählten Benutzergruppe{/if} zugeordnet.]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 06321efe49..04f96585e8 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1137,6 +1137,7 @@ Examples for medium ID detection: + 1}s have{else} has{/if} successfully been assigned to the selected user group{if $groupIDs|count > 1}s{/if}.]]> -- 2.20.1