From 41861d284c6cda8df2e98556760b3d066b27e2b2 Mon Sep 17 00:00:00 2001 From: Diogo Peralta Cordeiro Date: Mon, 28 Mar 2022 16:24:25 +0100 Subject: [PATCH] [COMPONENT][Circle] Correct self tags settings text --- components/Circle/Circle.php | 4 ++-- components/Circle/Form/SelfTagsForm.php | 2 +- components/Group/templates/group/settings.html.twig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/Circle/Circle.php b/components/Circle/Circle.php index 888f9a82e5..5ed7d2414c 100644 --- a/components/Circle/Circle.php +++ b/components/Circle/Circle.php @@ -97,8 +97,8 @@ class Circle extends Component { if ($section === 'profile' && \in_array($request->get('_route'), ['person_actor_settings', 'group_actor_settings'])) { $tabs[] = [ - 'title' => 'Self tags', - 'desc' => 'Add or remove tags on yourself', + 'title' => _m('Self tags'), + 'desc' => _m('Add or remove tags to this actor'), 'id' => 'settings-self-tags', 'controller' => CircleController\SelfTagsSettings::settingsSelfTags($request, Actor::getById((int) $request->get('id')), 'settings-self-tags-details'), ]; diff --git a/components/Circle/Form/SelfTagsForm.php b/components/Circle/Form/SelfTagsForm.php index b31bbad9ce..a9c156f533 100644 --- a/components/Circle/Form/SelfTagsForm.php +++ b/components/Circle/Form/SelfTagsForm.php @@ -34,7 +34,7 @@ abstract class SelfTagsForm $existing_form = !empty($form_definition) ? Form::create($form_definition) : null; $add_form = Form::create([ - ['new-tags', TextType::class, ['label' => ' ', 'data' => [], 'required' => false, 'help' => _m('Tags for yourself (letters, numbers, -, ., and _), comma- or space-separated.'), 'transformer' => ArrayTransformer::class]], + ['new-tags', TextType::class, ['label' => ' ', 'data' => [], 'required' => false, 'help' => _m('Tags for this actor (letters, numbers, -, ., and _), comma- or space-separated.'), 'transformer' => ArrayTransformer::class]], [$add_form_name = 'new-tags-add', SubmitType::class, ['label' => $add_label]], ]); diff --git a/components/Group/templates/group/settings.html.twig b/components/Group/templates/group/settings.html.twig index e24ce7e620..8f5c5c21b7 100644 --- a/components/Group/templates/group/settings.html.twig +++ b/components/Group/templates/group/settings.html.twig @@ -7,7 +7,7 @@

Settings