People.Client: ProfileActions: updateUserForm: added translations

This commit is contained in:
Daniil Senkiv 2020-02-03 17:58:29 +03:00
parent ea3ab6c723
commit 8c5b825e17
4 changed files with 25 additions and 13 deletions

View File

@ -370,6 +370,7 @@ class UpdateUserForm extends React.Component {
const pattern = getUserContactsPattern();
const contacts = getUserContacts(profile.contacts);
//TODO: inject guestsCaption in 'ProfileTypePopupHelper' key instead of hardcoded 'Guests'
const tooltipTypeContent =
<>
<Text
@ -400,38 +401,38 @@ class UpdateUserForm extends React.Component {
</tr>
<tr>
<Td>{t("Mail")}</Td>
<Td>review</Td>
<Td>{t('ReviewingCustomMode')}</Td>
<Td>-</Td>
</tr>
<tr>
<Td>{t("DocumentsProduct")}</Td>
<Td>full access</Td>
<Td>view</Td>
<Td>{t('AccessRightsFullAccess')}</Td>
<Td>{t('ViewAccess')}</Td>
</tr>
<tr>
<Td>{t("ProjectsProduct")}</Td>
<Td>review</Td>
<Td>{t('ReviewingCustomMode')}</Td>
<Td>-</Td>
</tr>
<tr>
<Td>{t("CommunityProduct")}</Td>
<Td>full access</Td>
<Td>view</Td>
<Td>{t('AccessRightsFullAccess')}</Td>
<Td>{t('ViewAccess')}</Td>
</tr>
<tr>
<Td>{t("People")}</Td>
<Td>review</Td>
<Td>{t('ReviewingCustomMode')}</Td>
<Td>-</Td>
</tr>
<tr>
<Td>{t("Message")}</Td>
<Td>review</Td>
<Td>review</Td>
<Td>{t('ReviewingCustomMode')}</Td>
<Td>{t('ReviewingCustomMode')}</Td>
</tr>
<tr>
<Td>{t("Calendar")}</Td>
<Td>review</Td>
<Td>review</Td>
<Td>{t('ReviewingCustomMode')}</Td>
<Td>{t('ReviewingCustomMode')}</Td>
</tr>
</tbody>
</Table>

View File

@ -34,6 +34,8 @@
"EditUserDialogTitle": "Edit profile",
"ErrorUnknownFileImageType": "Unknown image file type",
"Error": "Error",
"ReviewingCustomMode": "Review",
"AccessRightsFullAccess": "Full access",
"CustomCreation": "{{user}} (creation)",
@ -50,5 +52,6 @@
"maxSizeFileError": "Maximum file size exceeded",
"editAvatar": "Edit",
"CalendarSelectDate": "Select date",
"Calendar": "Calendar"
"Calendar": "Calendar",
"ViewAccess": "View"
}

View File

@ -33,6 +33,8 @@
"EditUserDialogTitle": "Редактирование профиля",
"ErrorUnknownFileImageType": "Неизвестный тип файла изображения",
"Error": "Ошибка",
"ReviewingCustomMode": "Рецензирование",
"AccessRightsFullAccess": "Полный доступ",
"CustomCreation": "{{user}} (создание)",
@ -49,5 +51,6 @@
"maxSizeFileError": "Превышен максимальный размер файла",
"editAvatar": "Изменить",
"CalendarSelectDate": "Выберите дату",
"Calendar": "Календарь"
"Calendar": "Календарь",
"ViewAccess": "Просмотр"
}

View File

@ -128,6 +128,7 @@
"FemaleSexStatus",
"EditUserDialogTitle",
"ErrorUnknownFileImageType",
"AccessRightsFullAccess",
"Error"
],
"FeedResource": [
@ -136,6 +137,10 @@
"CommunityProduct",
"Message",
"WriteComment"
],
"CustomModeResource": [
"ReviewingCustomMode"
]
},
"Home": {