Web: Moved translationKeys "AddButton" to "/static/locales/{lng}/Common.json"
This commit is contained in:
parent
c242a8ca3f
commit
e52f868dd4
@ -1,5 +1,4 @@
|
||||
{
|
||||
"AddButton": "Hinzufügen",
|
||||
"AddMembers": "Mitglieder hinzufügen",
|
||||
"CustomNewDepartment": "{{groupCaption}} (Erstellung)",
|
||||
"EmptyFieldError": "Leeres Feld",
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"ActivationLink": "Aktivierungslink",
|
||||
"AddButton": "Hinzufügen",
|
||||
"AddContact": "Kontakt hinzufügen",
|
||||
"AddPhoto": "Foto hinzufügen",
|
||||
"Birthdate": "Geburtsdatum",
|
||||
|
@ -1,5 +1,4 @@
|
||||
{
|
||||
"AddButton": "Add",
|
||||
"AddMembers": "Add members",
|
||||
"CustomNewDepartment": "{{groupCaption}} (creation)",
|
||||
"EmptyFieldError": "Empty field",
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"ActivationLink": "Activation link",
|
||||
"AddButton": "Add",
|
||||
"AddContact": "Add contact",
|
||||
"AddPhoto": "Add photo",
|
||||
"Birthdate": "Date of Birth",
|
||||
|
@ -1,5 +1,4 @@
|
||||
{
|
||||
"AddButton": "Добавить",
|
||||
"AddMembers": "Добавить участников",
|
||||
"CustomNewDepartment": "{{groupCaption}} (создание)",
|
||||
"EmptyFieldError": "Пустое поле",
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"ActivationLink": "Ссылка для активации",
|
||||
"AddButton": "Добавить",
|
||||
"AddContact": "Добавить новый контакт",
|
||||
"AddPhoto": "Добавить фотографию",
|
||||
"Birthdate": "Дата рождения",
|
||||
|
@ -229,7 +229,7 @@ const SectionBodyContent = ({
|
||||
if (nameError) setNameError(null);
|
||||
};
|
||||
|
||||
const buttonLabel = id ? t("Common:SaveButton") : t("AddButton");
|
||||
const buttonLabel = id ? t("Common:SaveButton") : t("Common:AddButton");
|
||||
|
||||
return (
|
||||
<MainContainer>
|
||||
|
@ -445,7 +445,7 @@ class CreateUserForm extends React.Component {
|
||||
role={getUserRole(profile)}
|
||||
editing={true}
|
||||
source={croppedAvatar}
|
||||
editLabel={t("AddButton")}
|
||||
editLabel={t("Common:AddButton")}
|
||||
editAction={
|
||||
isMobile ? this.openAvatarEditorPage : this.openAvatarEditor
|
||||
}
|
||||
@ -592,7 +592,7 @@ class CreateUserForm extends React.Component {
|
||||
<DepartmentField
|
||||
labelText={`${groupCaption}:`}
|
||||
isDisabled={isLoading}
|
||||
showGroupSelectorButtonTitle={t("AddButton")}
|
||||
showGroupSelectorButtonTitle={t("Common:AddButton")}
|
||||
onShowGroupSelector={this.onShowGroupSelector}
|
||||
onCloseGroupSelector={this.onCloseGroupSelector}
|
||||
onRemoveGroup={this.onRemoveGroup}
|
||||
|
@ -823,7 +823,7 @@ class UpdateUserForm extends React.Component {
|
||||
<DepartmentField
|
||||
labelText={`${groupCaption}:`}
|
||||
isDisabled={isLoading || !isAdmin}
|
||||
showGroupSelectorButtonTitle={t("AddButton")}
|
||||
showGroupSelectorButtonTitle={t("Common:AddButton")}
|
||||
onShowGroupSelector={this.onShowGroupSelector}
|
||||
onCloseGroupSelector={this.onCloseGroupSelector}
|
||||
onRemoveGroup={this.onRemoveGroup}
|
||||
|
@ -32,5 +32,6 @@
|
||||
"SignInWithTwitter": "Login über Twitter",
|
||||
"Pin": "Anheften",
|
||||
"Unpin": "Lösen",
|
||||
"ShowUsersList": "Liste der Benutzer anzeigen"
|
||||
"ShowUsersList": "Liste der Benutzer anzeigen",
|
||||
"AddButton": "Hinzufügen"
|
||||
}
|
||||
|
@ -32,5 +32,6 @@
|
||||
"SignInWithTwitter": "Sign in with Twitter",
|
||||
"Pin": "Pin",
|
||||
"Unpin": "Unpin",
|
||||
"ShowUsersList": "View users list"
|
||||
"ShowUsersList": "View users list",
|
||||
"AddButton": "Add"
|
||||
}
|
||||
|
@ -32,5 +32,6 @@
|
||||
"SignInWithTwitter": "Вход через Twitter",
|
||||
"Pin": "Закрепить",
|
||||
"Unpin": "Открепить",
|
||||
"ShowUsersList": "Показать список пользователей"
|
||||
"ShowUsersList": "Показать список пользователей",
|
||||
"AddButton": "Добавить"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user