Web: Added LinkValidTime translation key for invite link
This commit is contained in:
parent
a0d59d4d7d
commit
596126f224
@ -28,6 +28,7 @@
|
||||
"Folders": "Folders",
|
||||
"FormTemplates": "Form templates",
|
||||
"LinkCopySuccess": "Link has been copied to the clipboard",
|
||||
"LinkValidTime": "This link is valid for {{days_count}} days only",
|
||||
"MediaLoadError": "Media file could not be loaded",
|
||||
"MobileAndroid": "Get ONLYOFFICE Documents on Google Play",
|
||||
"MobileIos": "Download ONLYOFFICE Documents on the App Store",
|
||||
|
@ -28,6 +28,7 @@
|
||||
"Folders": "Папки",
|
||||
"FormTemplates": "Шаблоны форм",
|
||||
"LinkCopySuccess": "Ссылка скопирована в буфер обмена",
|
||||
"LinkValidTime": "Эта ссылка действительна только {{days_count}} дней",
|
||||
"MediaLoadError": "Медиа файл не может быть загружен",
|
||||
"MobileAndroid": "Скачать ONLYOFFICE Документы в Google Play",
|
||||
"MobileIos": "Скачать ONLYOFFICE Документы в App Store",
|
||||
|
@ -72,7 +72,12 @@ const ExternalLinks = ({
|
||||
|
||||
const copyLink = (link) => {
|
||||
if (link) {
|
||||
toastr.success(t("Translations:LinkCopySuccess"));
|
||||
toastr.success(
|
||||
`${t("Translations:LinkCopySuccess")}. ${t(
|
||||
"Translations:LinkValidTime",
|
||||
{ days_count: 7 }
|
||||
)}`
|
||||
);
|
||||
copy(link);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user