Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
added German locale as POC, refs #51
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Oct 21, 2016
1 parent 2bb6770 commit d051f9c
Show file tree
Hide file tree
Showing 6 changed files with 439 additions and 540 deletions.
4 changes: 2 additions & 2 deletions Form/Type/ConfigType.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'help' => $translator->__('Enter a positive integer, or 0 for no age check.'),
])
->add('resetagreement', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', [
'label' => $translator->__('Reset user group\'s acceptance of \'Terms of use\''),
'label' => $translator->__('Reset user group\'s acceptance of site policies'),
'choices' => $options['groupChoices'],
'choices_as_values' => true,
'required' => false,
'expanded' => false,
'multiple' => false,
'alert' => [$translator->__('Notice: This setting resets the acceptance of the \'Terms of use\' for all users in this group. Next time they want to log-in, they will have to acknowledge their acceptance of them again, and will not be able to log-in if they do not. This action does not affect the main administrator account. You can perform the same operation for individual users by visiting the Users manager in the site admin panel.') => 'info'],
'alert' => [$translator->__('Notice: This setting resets the acceptance of the site policies for all users in this group. Next time they want to log-in, they will have to acknowledge their acceptance of them again, and will not be able to log-in if they do not. This action does not affect the main administrator account. You can perform the same operation for individual users by visiting the Users manager in the site admin panel.') => 'info'],
])
->add('save', 'Symfony\Component\Form\Extension\Core\Type\SubmitType', [
'label' => $translator->__('Save'),
Expand Down
Loading

0 comments on commit d051f9c

Please sign in to comment.