Web: Added translations.

This commit is contained in:
Tatiana Lopaeva 2023-10-04 18:28:29 +03:00
parent 90335c1966
commit ebe62b7978
3 changed files with 5 additions and 7 deletions

View File

@ -107,7 +107,7 @@ const SpaceQuota = (props) => {
try {
await resetQuota([item.id]);
toastr.success(t("Common:StorageQuotaDisabled"));
toastr.success(t("Common:StorageQuotaReset"));
} catch (e) {
toastr.error(e);
}

View File

@ -190,7 +190,7 @@ class PeopleStore {
try {
await resetUserQuota(userIDs);
toastr.success(t("Common:StorageQuotaDisabled"));
toastr.success(t("Common:StorageQuotaReset"));
} catch (e) {
toastr.error(e);
}
@ -239,7 +239,6 @@ class PeopleStore {
hasUsersToDisable,
hasUsersToInvite,
hasUsersToRemove,
hasOnlyOneUserToRemove,
hasFreeUsers,
userSelectionRole,
hasUsersToChangeQuota,
@ -252,10 +251,6 @@ class PeopleStore {
setDeleteDialogVisible,
} = this.dialogStore;
const { setSendInviteDialogVisible, setDeleteProfileDialogVisible } =
this.dialogStore;
const { toggleDeleteProfileEverDialog } = this.contextOptionsStore;
const { isOwner, isAdmin } = this.authStore.userStore.user;
const { isVisible } = this.authStore.infoPanelStore;

View File

@ -307,6 +307,9 @@
"Standard": "Standard",
"SubmitToFormGallery": "Submit to Form Gallery",
"SubmitToGallery": "Submit to Gallery",
"StorageQuotaSet": "Storage quota successfully set.",
"StorageQuotaDisabled": "Storage quota disabled.",
"StorageQuotaReset": " Storage quota successfully set to default.",
"StorageQuota": "Storage quota",
"SubscriptionExpired": "Your subscription to support and updates has expired",
"SubscriptionIsExpiring": "Your subscription is expiring on {{date}}",