diff --git a/src/bundle/Controller/PasswordChangeController.php b/src/bundle/Controller/PasswordChangeController.php
index dad74d0..114d26d 100644
--- a/src/bundle/Controller/PasswordChangeController.php
+++ b/src/bundle/Controller/PasswordChangeController.php
@@ -15,6 +15,7 @@
use Ibexa\User\Form\Factory\FormFactory;
use Ibexa\User\View\ChangePassword\FormView;
use Ibexa\User\View\ChangePassword\SuccessView;
+use JMS\TranslationBundle\Annotation\Desc;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
@@ -75,7 +76,7 @@ public function userPasswordChangeAction(Request $request)
/** @Desc("Your password has been successfully changed.") */
'ezplatform.change_password.success',
[],
- 'change_password'
+ 'ibexa_change_password'
);
return new RedirectResponse($this->generateUrl('ibexa.dashboard'));
diff --git a/src/bundle/Controller/UserInvitationController.php b/src/bundle/Controller/UserInvitationController.php
index 3fc6dd8..5306fb2 100644
--- a/src/bundle/Controller/UserInvitationController.php
+++ b/src/bundle/Controller/UserInvitationController.php
@@ -16,6 +16,7 @@
use Ibexa\User\ExceptionHandler\ActionResultHandler;
use Ibexa\User\Form\Type\Invitation\UserInvitationType;
use Ibexa\User\View\Invitation\FormView;
+use JMS\TranslationBundle\Annotation\Desc;
use Symfony\Component\Form\FormFactoryInterface;
use Symfony\Component\HttpFoundation\Request;
@@ -66,21 +67,21 @@ public function inviteUser(Request $request): FormView
/** @Desc("Invitation sent to '%email%' updated.") */
'user_invitation.send.success',
['%email%' => $data->getEmail()],
- 'user_invitation'
+ 'ibexa_user_invitation'
);
} catch (InvitationAlreadyExistsException $e) {
$this->actionResultHandler->error(
/** @Desc("Invitation for '%email%' already exists.") */
'user_invitation.send.invitation_exist',
['%email%' => $data->getEmail()],
- 'user_invitation'
+ 'ibexa_user_invitation'
);
} catch (UserAlreadyExistsException $e) {
$this->actionResultHandler->error(
/** @Desc("User with '%email%' already exists.") */
'user_invitation.send.user_exist',
['%email%' => $data->getEmail()],
- 'user_invitation'
+ 'ibexa_user_invitation'
);
}
}
diff --git a/src/bundle/Controller/UserSettingsController.php b/src/bundle/Controller/UserSettingsController.php
index 4075c55..881d1a9 100644
--- a/src/bundle/Controller/UserSettingsController.php
+++ b/src/bundle/Controller/UserSettingsController.php
@@ -17,6 +17,7 @@
use Ibexa\User\UserSetting\ValueDefinitionRegistry;
use Ibexa\User\View\UserSettings\ListView;
use Ibexa\User\View\UserSettings\UpdateView;
+use JMS\TranslationBundle\Annotation\Desc;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
@@ -95,7 +96,7 @@ public function updateAction(Request $request, UpdateView $view)
/** @Desc("User settings '%identifier%' updated.") */
'user_setting.update.success',
['%identifier%' => $data->getIdentifier()],
- 'user_settings'
+ 'ibexa_user_settings'
);
return new RedirectResponse($this->generateUrl('ibexa.user_settings.list'));
diff --git a/src/bundle/Resources/translations/change_password.en.xliff b/src/bundle/Resources/translations/ibexa_change_password.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/change_password.en.xliff
rename to src/bundle/Resources/translations/ibexa_change_password.en.xliff
diff --git a/src/bundle/Resources/translations/ezplatform_content_forms_policies.en.xliff b/src/bundle/Resources/translations/ibexa_content_forms_policies.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/ezplatform_content_forms_policies.en.xliff
rename to src/bundle/Resources/translations/ibexa_content_forms_policies.en.xliff
diff --git a/src/bundle/Resources/translations/ezplatform_content_forms_user_registration.en.xliff b/src/bundle/Resources/translations/ibexa_content_forms_user_registration.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/ezplatform_content_forms_user_registration.en.xliff
rename to src/bundle/Resources/translations/ibexa_content_forms_user_registration.en.xliff
diff --git a/src/bundle/Resources/translations/forgot_password.en.xliff b/src/bundle/Resources/translations/ibexa_forgot_password.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/forgot_password.en.xliff
rename to src/bundle/Resources/translations/ibexa_forgot_password.en.xliff
diff --git a/src/bundle/Resources/translations/registration.en.xliff b/src/bundle/Resources/translations/ibexa_registration.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/registration.en.xliff
rename to src/bundle/Resources/translations/ibexa_registration.en.xliff
diff --git a/src/bundle/Resources/translations/reset_password.en.xliff b/src/bundle/Resources/translations/ibexa_reset_password.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/reset_password.en.xliff
rename to src/bundle/Resources/translations/ibexa_reset_password.en.xliff
diff --git a/src/bundle/Resources/translations/user_invitation.en.xliff b/src/bundle/Resources/translations/ibexa_user_invitation.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/user_invitation.en.xliff
rename to src/bundle/Resources/translations/ibexa_user_invitation.en.xliff
diff --git a/src/bundle/Resources/translations/user_settings.en.xliff b/src/bundle/Resources/translations/ibexa_user_settings.en.xliff
similarity index 100%
rename from src/bundle/Resources/translations/user_settings.en.xliff
rename to src/bundle/Resources/translations/ibexa_user_settings.en.xliff
diff --git a/src/bundle/Resources/translations/menu.en.xliff b/src/bundle/Resources/translations/menu.en.xliff
deleted file mode 100644
index 129ea9b..0000000
--- a/src/bundle/Resources/translations/menu.en.xliff
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
- The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
-
-
-
-
- Change password
- key: user__change_password
-
-
-
- Discard changes
- key: user_password_change__sidebar_right__cancel
-
-
-
- Update
- key: user_password_change__sidebar_right__update
-
-
-
-
diff --git a/src/bundle/Resources/translations/messages.en.xliff b/src/bundle/Resources/translations/messages.en.xliff
deleted file mode 100644
index b3bb3c7..0000000
--- a/src/bundle/Resources/translations/messages.en.xliff
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
-
-
-
-
- Reset your password
- key: authentication.reset_your_password
-
-
-
- If you do not remember your login, please contact the site administrator.
- key: ezplatform.forgot_user_password.contact_administrator
-
-
-
- This email is connected with several accounts. Please enter your login.
- key: ezplatform.forgot_user_password.login
-
-
-
-
- We have received a request to reset the password for your account on site. Click “reset password” below to choose a new password:
-
- If you did not request a password reset, please ignore this email, and your password will remain the same.]]>
- key: ezplatform.forgot_user_password.message
-
-
-
- Reset your password
- key: ezplatform.forgot_user_password.reset_your_password
-
-
-
]]>
- If you don’t receive the email, double check that you entered the correct email address and check your spam folder.]]>
- key: ezplatform.forgot_user_password.success
-
-
-
- Change password
- key: ezplatform.reset_user_password.change_password
-
-
-
- generate a new link to reset your password.]]>
- key: ezplatform.reset_user_password.link_is_not_valid
-
-
-
- login to eZ Platform.]]>
- key: ezplatform.reset_user_password.success
-
-
-
-
diff --git a/src/bundle/Resources/translations/pagination.en.xliff b/src/bundle/Resources/translations/pagination.en.xliff
deleted file mode 100644
index f12b710..0000000
--- a/src/bundle/Resources/translations/pagination.en.xliff
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
- The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
-
-
-
-
- Viewing %viewing% out of %total% items
- key: pagination.viewing
-
-
-
-
diff --git a/src/bundle/Resources/translations/user_change_password.en.xliff b/src/bundle/Resources/translations/user_change_password.en.xliff
deleted file mode 100644
index 6e099bb..0000000
--- a/src/bundle/Resources/translations/user_change_password.en.xliff
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
- The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
-
-
-
-
- Your password has been successfully changed.
- key: user.change_password.success
-
-
-
-
diff --git a/src/bundle/Resources/views/change_password/index.html.twig b/src/bundle/Resources/views/change_password/index.html.twig
index f30bf3b..bdb4cf5 100644
--- a/src/bundle/Resources/views/change_password/index.html.twig
+++ b/src/bundle/Resources/views/change_password/index.html.twig
@@ -1,6 +1,6 @@
{% extends view_base_layout is defined ? view_base_layout : page_layout %}
-{% trans_default_domain 'change_password' %}
+{% trans_default_domain 'ibexa_change_password' %}
{% block content %}
{{ form_start(form_change_user_password) }}
diff --git a/src/bundle/Resources/views/change_password/success.html.twig b/src/bundle/Resources/views/change_password/success.html.twig
index 8728c21..0f64341 100644
--- a/src/bundle/Resources/views/change_password/success.html.twig
+++ b/src/bundle/Resources/views/change_password/success.html.twig
@@ -1,6 +1,6 @@
{% extends view_base_layout is defined ? view_base_layout : page_layout %}
-{% trans_default_domain 'change_password' %}
+{% trans_default_domain 'ibexa_change_password' %}
{%- block content -%}
{{ 'ezplatform.change_password.success'|trans|raw
diff --git a/src/bundle/Resources/views/forgot_password/index.html.twig b/src/bundle/Resources/views/forgot_password/index.html.twig
index 0a8ea30..b5cc623 100644
--- a/src/bundle/Resources/views/forgot_password/index.html.twig
+++ b/src/bundle/Resources/views/forgot_password/index.html.twig
@@ -1,6 +1,6 @@
{% extends view_base_layout is defined ? view_base_layout : page_layout %}
-{% trans_default_domain 'forgot_password' %}
+{% trans_default_domain 'ibexa_forgot_password' %}
{% block content %}
{{ 'ezplatform.forgot_password.reset_your_password'|trans|desc('Reset your password') }}