Web: People: add translations

This commit is contained in:
Viktor Fomin 2021-11-16 18:24:02 +03:00
parent c6d97c7fc5
commit e0f297bf0a
8 changed files with 11 additions and 3 deletions

View File

@ -25,5 +25,6 @@
"SocialProfiles": "Soziale Profile",
"SuccessChangeUserStatus": "Der Benutzerstatus war erfolgreich geändert",
"SuccessSentInvitation": "Die Einladung wurde erfolgreich gesendet",
"Birthdate": "Geburtsdatum"
"Birthdate": "Geburtsdatum",
"maxSizeLabel": "(JPG oder PNG, maximal 1 MB)"
}

View File

@ -26,5 +26,6 @@
"SuccessChangeUserStatus": "The user status was successfully changed",
"SuccessSentInvitation": "The invitation was successfully sent",
"SuccessDeletePersonalData": "Personal data has been successfully deleted",
"Birthdate": "Date of birth"
"Birthdate": "Date of birth",
"maxSizeLabel": "(JPG or PNG, max 1 MB)"
}

View File

@ -26,5 +26,6 @@
"SuccessChangeUserStatus": "Статус пользователя успешно изменен",
"SuccessSentInvitation": "Приглашение было успешно отправлено",
"SuccessDeletePersonalData": "Персональные данные успешно удалены",
"Birthdate": "Дата рождения"
"Birthdate": "Дата рождения",
"maxSizeLabel": "(JPG или PNG, максимум 1 Мб)"
}

View File

@ -476,6 +476,7 @@ class SectionHeaderContent extends React.PureComponent {
maxSizeFileError={t("Translations:maxSizeFileError")}
unknownError={t("Common:Error")}
saveButtonLabel={t("Common:SaveButton")}
maxSizeLabel={t("Translations:maxSizeLabel")}
/>
{dialogsVisible.deleteSelfProfile && (

View File

@ -304,6 +304,7 @@ class AvatarEditorPage extends React.PureComponent {
}
cancelButtonLabel={t("Common:CancelButton")}
saveButtonLoading={this.state.isLoading}
maxSizeLabel={t("Translations:maxSizeLabel")}
/>
</AvatarEditorBody>
) : (

View File

@ -267,6 +267,7 @@ class CreateAvatarEditorPage extends React.PureComponent {
}
cancelButtonLabel={t("Common:CancelButton")}
saveButtonLoading={this.state.isLoading}
maxSizeLabel={t("Translations:maxSizeLabel")}
/>
</AvatarEditorBody>
) : (

View File

@ -489,6 +489,7 @@ class CreateUserForm extends React.Component {
maxSizeFileError={t("Translations:maxSizeFileError")}
unknownError={t("Common:Error")}
saveButtonLabel={t("Common:SaveButton")}
maxSizeLabel={t("Translations:maxSizeLabel")}
/>
</AvatarContainer>
<MainFieldsContainer

View File

@ -749,6 +749,7 @@ class UpdateUserForm extends React.Component {
: t("Common:SaveButton")
}
saveButtonLoading={this.state.isLoading}
maxSizeLabel={t("Translations:maxSizeLabel")}
/>
</AvatarContainer>
<MainFieldsContainer