Web: moved translationKeys "Error", "ErrorUnknownFileImageType", "FemaleSexStatus", "LDAPLbl", "Location"

This commit is contained in:
Nikita Gopienko 2021-05-26 14:55:33 +03:00
parent 252fef7ae3
commit f87b1f78f3
22 changed files with 40 additions and 54 deletions

View File

@ -8,13 +8,8 @@
"EditPhoto": "Bild bearbeiten", "EditPhoto": "Bild bearbeiten",
"EditSubscriptionsBtn": "Abonnements bearbeiten", "EditSubscriptionsBtn": "Abonnements bearbeiten",
"EditUserDialogTitle": "Profil bearbeiten", "EditUserDialogTitle": "Profil bearbeiten",
"Error": "Fehler",
"ErrorUnknownFileImageType": "Unbekannter Bilddateityp",
"FemaleSexStatus": "Weiblich",
"InviteAgainLbl": "Erneut einladen", "InviteAgainLbl": "Erneut einladen",
"Language": "Sprache", "Language": "Sprache",
"LDAPLbl": "LDAP",
"Location": "Standort",
"MaleSexStatus": "Männlich", "MaleSexStatus": "Männlich",
"maxSizeFileError": "Maximale Dateigröße überschritten", "maxSizeFileError": "Maximale Dateigröße überschritten",
"MessageEmailActivationInstuctionsSentOnEmail": "Die Hinweise für die Aktivierung wurden an \u003Cstrong\u003E{{ email }}\u003C/strong\u003E versandt.", "MessageEmailActivationInstuctionsSentOnEmail": "Die Hinweise für die Aktivierung wurden an \u003Cstrong\u003E{{ email }}\u003C/strong\u003E versandt.",

View File

@ -14,12 +14,8 @@
"EditPhoto": "Bild bearbeiten", "EditPhoto": "Bild bearbeiten",
"EditUserDialogTitle": "Profil bearbeiten", "EditUserDialogTitle": "Profil bearbeiten",
"EmailPopupHelper": "Die Haupt-E-Mail-Adresse wird für Benachrichtigungen und Zugriffswiederherstellung benutzt. \u003C1\u003E Sie können in dieser Domain eine neue E-Mail für den Benutzer erstellen und ein Einmalkennwort für die erste Anmeldung festlegen.\u003C/1\u003E", "EmailPopupHelper": "Die Haupt-E-Mail-Adresse wird für Benachrichtigungen und Zugriffswiederherstellung benutzt. \u003C1\u003E Sie können in dieser Domain eine neue E-Mail für den Benutzer erstellen und ein Einmalkennwort für die erste Anmeldung festlegen.\u003C/1\u003E",
"Error": "Fehler",
"ErrorUnknownFileImageType": "Unbekannter Bilddateityp",
"FemaleSexStatus": "Weiblich",
"FirstName": "Vorname", "FirstName": "Vorname",
"LastName": "Familienname", "LastName": "Familienname",
"Location": "Standort",
"Mail": "E-Mail", "Mail": "E-Mail",
"MaleSexStatus": "Männlich", "MaleSexStatus": "Männlich",
"maxSizeFileError": "Maximale Dateigröße überschritten", "maxSizeFileError": "Maximale Dateigröße überschritten",

View File

@ -1,4 +1,3 @@
{ {
"LDAPLbl": "LDAP",
"ReassignmentData": "Neuzuweisung von Daten" "ReassignmentData": "Neuzuweisung von Daten"
} }

View File

@ -14,5 +14,9 @@
"ReassignData": "Daten erneut zuweisen", "ReassignData": "Daten erneut zuweisen",
"SuccessChangeUserStatus": "Der Benutzerstatus war erfolgreich geändert", "SuccessChangeUserStatus": "Der Benutzerstatus war erfolgreich geändert",
"SendInviteAgain": "Einladung erneut senden", "SendInviteAgain": "Einladung erneut senden",
"EnableUserButton": "Aktivieren" "EnableUserButton": "Aktivieren",
"ErrorUnknownFileImageType": "Unbekannter Bilddateityp",
"FemaleSexStatus": "Weiblich",
"LDAPLbl": "LDAP",
"Location": "Standort"
} }

View File

@ -10,13 +10,8 @@
"EditPhoto": "Edit photo", "EditPhoto": "Edit photo",
"EditSubscriptionsBtn": "Edit subscriptions", "EditSubscriptionsBtn": "Edit subscriptions",
"EditUserDialogTitle": "Edit profile", "EditUserDialogTitle": "Edit profile",
"Error": "Error",
"ErrorUnknownFileImageType": "Unknown image file type",
"FemaleSexStatus": "Female",
"InviteAgainLbl": "Invite again", "InviteAgainLbl": "Invite again",
"Language": "Language", "Language": "Language",
"LDAPLbl": "LDAP",
"Location": "Location",
"LoginSettings": "Login settings", "LoginSettings": "Login settings",
"MaleSexStatus": "Male", "MaleSexStatus": "Male",
"maxSizeFileError": "Maximum file size exceeded", "maxSizeFileError": "Maximum file size exceeded",

View File

@ -15,12 +15,8 @@
"EditPhoto": "Edit Photo", "EditPhoto": "Edit Photo",
"EditUserDialogTitle": "Edit profile", "EditUserDialogTitle": "Edit profile",
"EmailPopupHelper": "The main email is used for notifications and restoring access. \u003C1\u003E You can create a new email on this domain for the user and set a one-time password for the first login.\u003C/1\u003E", "EmailPopupHelper": "The main email is used for notifications and restoring access. \u003C1\u003E You can create a new email on this domain for the user and set a one-time password for the first login.\u003C/1\u003E",
"Error": "Error",
"ErrorUnknownFileImageType": "Unknown image file type",
"FemaleSexStatus": "Female",
"FirstName": "First Name", "FirstName": "First Name",
"LastName": "Last Name", "LastName": "Last Name",
"Location": "Location",
"Mail": "Mail", "Mail": "Mail",
"MaleSexStatus": "Male", "MaleSexStatus": "Male",
"maxSizeFileError": "Maximum file size exceeded", "maxSizeFileError": "Maximum file size exceeded",

View File

@ -1,4 +1,3 @@
{ {
"LDAPLbl": "LDAP",
"ReassignmentData": "Data reassignment" "ReassignmentData": "Data reassignment"
} }

View File

@ -14,5 +14,9 @@
"ReassignData": "Reassign data", "ReassignData": "Reassign data",
"SuccessChangeUserStatus": "The user status was successfully changed", "SuccessChangeUserStatus": "The user status was successfully changed",
"SendInviteAgain": "Send invitation once again", "SendInviteAgain": "Send invitation once again",
"EnableUserButton": "Enable" "EnableUserButton": "Enable",
"ErrorUnknownFileImageType": "Unknown image file type",
"FemaleSexStatus": "Female",
"LDAPLbl": "LDAP",
"Location": "Location"
} }

View File

@ -10,13 +10,8 @@
"EditPhoto": "Изменить фотографию", "EditPhoto": "Изменить фотографию",
"EditSubscriptionsBtn": "Изменить подписки", "EditSubscriptionsBtn": "Изменить подписки",
"EditUserDialogTitle": "Редактировать", "EditUserDialogTitle": "Редактировать",
"Error": "Ошибка",
"ErrorUnknownFileImageType": "Неизвестный тип файла изображения",
"FemaleSexStatus": "Женский",
"InviteAgainLbl": "Активировать адрес email ещё раз", "InviteAgainLbl": "Активировать адрес email ещё раз",
"Language": "Язык", "Language": "Язык",
"LDAPLbl": "LDAP",
"Location": "Местоположение",
"LoginSettings": "Вход через социальные сети", "LoginSettings": "Вход через социальные сети",
"MaleSexStatus": "Мужской", "MaleSexStatus": "Мужской",
"maxSizeFileError": "Превышен максимальный размер файла", "maxSizeFileError": "Превышен максимальный размер файла",

View File

@ -15,12 +15,8 @@
"EditPhoto": "Изменить фотографию", "EditPhoto": "Изменить фотографию",
"EditUserDialogTitle": "Редактирование профиля", "EditUserDialogTitle": "Редактирование профиля",
"EmailPopupHelper": "Основной email нужен для восстановления доступа к порталу в случае потери пароля, а также для отправки оповещений. \u003C1\u003EВы можете создать новый email на домене в качестве основного. В этом случае потребуется задать одноразовый пароль, чтобы пользователь смог войти на портал в первый раз.\u003C/1\u003E Основной email можно использовать как логин при входе на портал.", "EmailPopupHelper": "Основной email нужен для восстановления доступа к порталу в случае потери пароля, а также для отправки оповещений. \u003C1\u003EВы можете создать новый email на домене в качестве основного. В этом случае потребуется задать одноразовый пароль, чтобы пользователь смог войти на портал в первый раз.\u003C/1\u003E Основной email можно использовать как логин при входе на портал.",
"Error": "Ошибка",
"ErrorUnknownFileImageType": "Неизвестный тип файла изображения",
"FemaleSexStatus": "Женский",
"FirstName": "Имя", "FirstName": "Имя",
"LastName": "Фамилия", "LastName": "Фамилия",
"Location": "Местоположение",
"Mail": "Почта", "Mail": "Почта",
"MaleSexStatus": "Мужской", "MaleSexStatus": "Мужской",
"maxSizeFileError": "Превышен максимальный размер файла", "maxSizeFileError": "Превышен максимальный размер файла",

View File

@ -1,4 +1,3 @@
{ {
"LDAPLbl": "LDAP",
"ReassignmentData": "Переназначение данных" "ReassignmentData": "Переназначение данных"
} }

View File

@ -14,5 +14,9 @@
"ReassignData": "Передать данные", "ReassignData": "Передать данные",
"SuccessChangeUserStatus": "Статус пользователя успешно изменен", "SuccessChangeUserStatus": "Статус пользователя успешно изменен",
"SendInviteAgain": "Отправить приглашение ещё раз", "SendInviteAgain": "Отправить приглашение ещё раз",
"EnableUserButton": "Разблокировать" "EnableUserButton": "Разблокировать",
"ErrorUnknownFileImageType": "Неизвестный тип файла изображения",
"FemaleSexStatus": "Женский",
"LDAPLbl": "LDAP",
"Location": "Местоположение"
} }

View File

@ -231,7 +231,8 @@ class ProfileInfo extends React.PureComponent {
const birthDayDate = new Date(birthday).toLocaleDateString(language); const birthDayDate = new Date(birthday).toLocaleDateString(language);
const formatedSex = const formatedSex =
(sex === "male" && t("MaleSexStatus")) || t("FemaleSexStatus"); (sex === "male" && t("MaleSexStatus")) ||
t("Translations:FemaleSexStatus");
const formatedDepartments = const formatedDepartments =
department && this.getFormattedDepartments(groups); department && this.getFormattedDepartments(groups);
@ -329,7 +330,7 @@ class ProfileInfo extends React.PureComponent {
)} )}
{location && ( {location && (
<InfoItem> <InfoItem>
<InfoItemLabel>{t("Location")}:</InfoItemLabel> <InfoItemLabel>{t("Translations:Location")}:</InfoItemLabel>
<InfoItemValue>{location}</InfoItemValue> <InfoItemValue>{location}</InfoItemValue>
</InfoItem> </InfoItem>
)} )}

View File

@ -439,7 +439,7 @@ class SectionHeaderContent extends React.PureComponent {
/> />
<Headline className="header-headline" type="content" truncate={true}> <Headline className="header-headline" type="content" truncate={true}>
{profile.displayName} {profile.displayName}
{profile.isLDAP && ` (${t("LDAPLbl")})`} {profile.isLDAP && ` (${t("Translations:LDAPLbl")})`}
</Headline> </Headline>
{((isAdmin && !profile.isOwner) || isMe) && ( {((isAdmin && !profile.isOwner) || isMe) && (
<ContextMenuButton <ContextMenuButton
@ -463,9 +463,9 @@ class SectionHeaderContent extends React.PureComponent {
headerLabel={t("Common:EditAvatar")} headerLabel={t("Common:EditAvatar")}
selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")} selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")}
orDropFileHereLabel={t("orDropFileHereLabel")} orDropFileHereLabel={t("orDropFileHereLabel")}
unknownTypeError={t("ErrorUnknownFileImageType")} unknownTypeError={t("Translations:ErrorUnknownFileImageType")}
maxSizeFileError={t("maxSizeFileError")} maxSizeFileError={t("maxSizeFileError")}
unknownError={t("Error")} unknownError={t("Common:Error")}
saveButtonLabel={t("Common:SaveButton")} saveButtonLabel={t("Common:SaveButton")}
/> />

View File

@ -296,9 +296,9 @@ class AvatarEditorPage extends React.PureComponent {
headerLabel={t("EditPhoto")} headerLabel={t("EditPhoto")}
selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")} selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")}
orDropFileHereLabel={t("orDropFileHereLabel")} orDropFileHereLabel={t("orDropFileHereLabel")}
unknownTypeError={t("ErrorUnknownFileImageType")} unknownTypeError={t("Translations:ErrorUnknownFileImageType")}
maxSizeFileError={t("maxSizeFileError")} maxSizeFileError={t("maxSizeFileError")}
unknownError={t("Error")} unknownError={t("Common:Error")}
saveButtonLabel={ saveButtonLabel={
this.state.isLoading ? t("UpdatingProcess") : t("Common:SaveButton") this.state.isLoading ? t("UpdatingProcess") : t("Common:SaveButton")
} }

View File

@ -259,9 +259,9 @@ class CreateAvatarEditorPage extends React.PureComponent {
headerLabel={t("EditPhoto")} headerLabel={t("EditPhoto")}
selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")} selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")}
orDropFileHereLabel={t("orDropFileHereLabel")} orDropFileHereLabel={t("orDropFileHereLabel")}
unknownTypeError={t("ErrorUnknownFileImageType")} unknownTypeError={t("Translations:ErrorUnknownFileImageType")}
maxSizeFileError={t("maxSizeFileError")} maxSizeFileError={t("maxSizeFileError")}
unknownError={t("Error")} unknownError={t("Common:Error")}
saveButtonLabel={ saveButtonLabel={
this.state.isLoading ? t("UpdatingProcess") : t("Common:SaveButton") this.state.isLoading ? t("UpdatingProcess") : t("Common:SaveButton")
} }

View File

@ -459,9 +459,9 @@ class CreateUserForm extends React.Component {
headerLabel={t("AddPhoto")} headerLabel={t("AddPhoto")}
selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")} selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")}
orDropFileHereLabel={t("orDropFileHereLabel")} orDropFileHereLabel={t("orDropFileHereLabel")}
unknownTypeError={t("ErrorUnknownFileImageType")} unknownTypeError={t("Translations:ErrorUnknownFileImageType")}
maxSizeFileError={t("maxSizeFileError")} maxSizeFileError={t("maxSizeFileError")}
unknownError={t("Error")} unknownError={t("Common:Error")}
saveButtonLabel={t("Common:SaveButton")} saveButtonLabel={t("Common:SaveButton")}
/> />
</AvatarContainer> </AvatarContainer>
@ -554,7 +554,7 @@ class CreateUserForm extends React.Component {
radioValue={profile.sex} radioValue={profile.sex}
radioOptions={[ radioOptions={[
{ value: "male", label: t("MaleSexStatus") }, { value: "male", label: t("MaleSexStatus") },
{ value: "female", label: t("FemaleSexStatus") }, { value: "female", label: t("Translations:FemaleSexStatus") },
]} ]}
radioIsDisabled={isLoading} radioIsDisabled={isLoading}
radioOnChange={this.onInputChange} radioOnChange={this.onInputChange}
@ -574,7 +574,7 @@ class CreateUserForm extends React.Component {
} }
/> />
<TextField <TextField
labelText={`${t("Location")}:`} labelText={`${t("Translations:Location")}:`}
inputName="location" inputName="location"
inputValue={profile.location} inputValue={profile.location}
inputIsDisabled={isLoading} inputIsDisabled={isLoading}

View File

@ -665,9 +665,9 @@ class UpdateUserForm extends React.Component {
headerLabel={t("EditPhoto")} headerLabel={t("EditPhoto")}
selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")} selectNewPhotoLabel={t("Translations:selectNewPhotoLabel")}
orDropFileHereLabel={t("orDropFileHereLabel")} orDropFileHereLabel={t("orDropFileHereLabel")}
unknownTypeError={t("ErrorUnknownFileImageType")} unknownTypeError={t("Translations:ErrorUnknownFileImageType")}
maxSizeFileError={t("maxSizeFileError")} maxSizeFileError={t("maxSizeFileError")}
unknownError={t("Error")} unknownError={t("Common:Error")}
saveButtonLabel={ saveButtonLabel={
this.state.isLoading this.state.isLoading
? t("UpdatingProcess") ? t("UpdatingProcess")
@ -769,7 +769,7 @@ class UpdateUserForm extends React.Component {
radioValue={profile.sex} radioValue={profile.sex}
radioOptions={[ radioOptions={[
{ value: "male", label: t("MaleSexStatus") }, { value: "male", label: t("MaleSexStatus") },
{ value: "female", label: t("FemaleSexStatus") }, { value: "female", label: t("Translations:FemaleSexStatus") },
]} ]}
radioIsDisabled={isLoading} radioIsDisabled={isLoading}
radioOnChange={this.onInputChange} radioOnChange={this.onInputChange}
@ -804,7 +804,7 @@ class UpdateUserForm extends React.Component {
} }
/> />
<TextField <TextField
labelText={`${t("Location")}:`} labelText={`${t("Translations:Location")}:`}
inputName="location" inputName="location"
inputValue={profile.location} inputValue={profile.location}
inputIsDisabled={isLoading} inputIsDisabled={isLoading}

View File

@ -49,7 +49,7 @@ const SectionHeaderContent = (props) => {
</div> </div>
<Headline type="content" truncate={true} style={textStyle}> <Headline type="content" truncate={true} style={textStyle}>
{/* {profile.displayName} {/* {profile.displayName}
{profile.isLDAP && ` (${t('LDAPLbl')})`} {profile.isLDAP && ` (${t('Translations:LDAPLbl')})`}
- */} - */}
{t("ReassignmentData")} {t("ReassignmentData")}
</Headline> </Headline>

View File

@ -61,5 +61,6 @@
"Profile": "Profil", "Profile": "Profil",
"ClearButton": "Filter zurücksetzen", "ClearButton": "Filter zurücksetzen",
"CommunityProduct": "Community", "CommunityProduct": "Community",
"EmptyFieldError": "Leeres Feld" "EmptyFieldError": "Leeres Feld",
"Error": "Fehler"
} }

View File

@ -62,5 +62,6 @@
"Profile": "Profile", "Profile": "Profile",
"ClearButton": "Reset filter", "ClearButton": "Reset filter",
"CommunityProduct": "Community", "CommunityProduct": "Community",
"EmptyFieldError": "Empty field" "EmptyFieldError": "Empty field",
"Error": "Error"
} }

View File

@ -62,5 +62,6 @@
"Profile": "Профиль", "Profile": "Профиль",
"ClearButton": "Сбросить фильтр", "ClearButton": "Сбросить фильтр",
"CommunityProduct": "Сообщество", "CommunityProduct": "Сообщество",
"EmptyFieldError": "Пустое поле" "EmptyFieldError": "Пустое поле",
"Error": "Ошибка"
} }