web: Common: Add translation for Group label

This commit is contained in:
Alexey Safronov 2019-12-18 13:48:04 +03:00
parent 48415879f2
commit 73352a23c1
4 changed files with 5 additions and 5 deletions

View File

@ -108,7 +108,6 @@ class GroupSelector extends React.Component {
searchPlaceHolderLabel={t("SearchPlaceholder")}
selectButtonLabel={t("AddDepartmentsButtonLabel")}
selectAllLabel={t("SelectAllLabel")}
groupsHeaderLabel={"Groups"}
emptySearchOptionsLabel={t("EmptySearchOptionsLabel")}
emptyOptionsLabel={t("EmptyOptionsLabel")}
loadingLabel={t("LoadingLabel")}

View File

@ -193,7 +193,7 @@ class PeopleSelector extends React.Component {
searchPlaceHolderLabel={t("SearchUsersPlaceholder")}
selectButtonLabel={t("AddMembersButtonLabel")}
selectAllLabel={t("SelectAllLabel")}
groupsHeaderLabel={"Groups"}
groupsHeaderLabel={t("CustomDepartments", { departments: "Groups" })} //TODO: Replace to variable from settings
emptySearchOptionsLabel={t("EmptySearchUsersResult")}
emptyOptionsLabel={t("EmptyUsers")}
loadingLabel={t("LoadingLabel")}

View File

@ -4,6 +4,6 @@
"SelectAllLabel": "Select all",
"EmptySearchUsersResult": "There are no users with such name",
"EmptyUsers": "There are no users",
"LoadingLabel": "Loading... Please wait..."
"LoadingLabel": "Loading... Please wait...",
"CustomDepartments": "{{departments}}"
}

View File

@ -4,5 +4,6 @@
"SelectAllLabel": "Выбрать все",
"EmptySearchUsersResult": "Нет такого пользователя",
"EmptyUsers": "Нет пользователей",
"LoadingLabel": "Загрузка... Пожалуйста подождите..."
"LoadingLabel": "Загрузка... Пожалуйста подождите...",
"CustomDepartments": "{{departments}}"
}