Skip to content

Commit

Permalink
IBX-7119, IBX-7171, IBX-7123: Corrected Headers inconsistency in Acco…
Browse files Browse the repository at this point in the history
…unt settings (#67)
  • Loading branch information
mateuszdebinski authored Jan 25, 2024
1 parent 6ddcecd commit 6939cc6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/bundle/Controller/UserSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public function updateAction(Request $request, UpdateView $view)

$view->addParameters([
'form' => $form->createView(),
'title' => $userSettingGroup->getName(),
]);

return $view;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@
<target state="new"></target>
<note>key: settings.group.edit_content.description</note>
</trans-unit>
<trans-unit id="9fb4add1a9e6148b11b25ddbcaf4e77d97b4ab45" resname="settings.group.edit_content.name">
<source>Edit</source>
<target state="new">Edit</target>
<note>key: settings.group.edit_content.name</note>
<trans-unit id="962f753514ae358c3a7c093f354f213ec553e9b3" resname="settings.group.content_authoring.name">
<source>Content authoring</source>
<target state="new">Content authoring</target>
<note>key: settings.group.content_authoring.name</note>
</trans-unit>
<trans-unit id="377f69d650dee0a54486fea8f8a89b82203b7755" resname="settings.group.generic.description">
<source>settings.group.generic.description</source>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/UserSetting/Group/EditContentGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public function __construct(
public function getName(): string
{
return $this->translator->trans(
/** @Desc("Edit") */
'settings.group.edit_content.name',
/** @Desc("Content authoring") */
'settings.group.content_authoring.name',
[],
'ibexa_user_settings'
);
Expand Down

0 comments on commit 6939cc6

Please sign in to comment.