fix empty screen translations

This commit is contained in:
namushka 2024-03-04 13:32:32 +03:00
parent db97639701
commit a59b90fa28
3 changed files with 14 additions and 6 deletions

View File

@ -41,14 +41,14 @@ const EmptyScreenGroups = ({
imageSrc={imageSrc}
imageAlt="Empty Screen Filter image"
headerText={
!groupsIsFiltered ? t("No groups here yet") : t("Nothing found")
!groupsIsFiltered
? t("Common:EmptyGroupsHeader")
: t("Common:NotFoundGroups")
}
descriptionText={
!groupsIsFiltered
? t("Please create the first group.")
: t(
"No groups match this filter. Try a different one or clear filter to view all files. ",
)
? t("Common:EmptyGroupsDescription")
: t("Common:NotFoundGroupsDescription")
}
buttons={
<Grid gridColumnGap="8px" columnsProp={["12px 1fr"]}>
@ -92,7 +92,7 @@ const EmptyScreenGroups = ({
fontWeight="600"
onClick={onResetFilter}
>
{t("Reset filter")}
{t("Common:ClearFilter")}
</Link>
</Box>
</>

View File

@ -133,6 +133,8 @@
"EmptyEmail": "No email address parsed",
"EmptyFieldError": "Empty field",
"EmptyFilterDescriptionText": "No files or folders match this filter. Try a different one or clear filter to view all files. ",
"EmptyGroupsHeader": "No groups here yet",
"EmptyGroupsDescription": "Please create the first group.",
"EmptyHeader": "No other accounts here yet",
"EmptyRoomsDescription": "Please create the first room in My rooms.",
"EmptyRoomsHeader": "No rooms here yet",
@ -255,6 +257,8 @@
"NewSpreadsheet": "New spreadsheet",
"NewVersionAvailable": "A new version of the website available",
"Next": "Next",
"NotFoundGroups": "No groups found",
"NotFoundGroupsDescription": "No groups match your search. Please adjust your search parameters or clear the search field to view the full list of groups.",
"NotFoundLanguage": "Can't find your language? Contact us at <1>{{supportEmail}}</1> to take part in the translation program and get rewards.",
"NotFoundTitle": "Nothing found",
"NotFoundUsers": "No users found",

View File

@ -120,6 +120,8 @@
"EmptyEmail": "Поле email пустое",
"EmptyFieldError": "Пустое поле",
"EmptyFilterDescriptionText": "В этом разделе нет файлов или папок, соответствующих фильтру. Пожалуйста, выберите другие параметры или очистите фильтр, чтобы показать все файлы в этом разделе.",
"EmptyGroupsHeader": "Здесь пока нет групп",
"EmptyGroupsDescription": "Пожалуйста, создайте первую группу",
"EmptyHeader": "Других аккаунтов здесь пока нет",
"EmptyRoomsDescription": "Пожалуйста, создайте первую комнату в Моих комнатах.",
"EmptyRoomsHeader": "Здесь пока нет комнат",
@ -226,6 +228,8 @@
"NewSpreadsheet": "Новая таблица",
"NewVersionAvailable": "Доступна новая версия веб-сайта",
"Next": "Следующая",
"NotFoundGroups": "Группы не найдены",
"NotFoundGroupsDescription": "Ни одна группа не соответствует параметрам вашего поиска. Пожалуйста, измените параметры поиска или очистите поле поиска, чтобы просмотреть полный список групп.",
"NotFoundLanguage": "Если Вы не можете найти свой язык в списке доступных, Вы всегда можете написать нам по адресу <1>{{supportEmail}}</1>, чтобы принять участие в переводе и получить до 1 года бесплатного использования.",
"NotFoundTitle": "Ничего не найдено",
"NotFoundUsers": "Пользователи не найдены",