Web: Added additional units for measuring the amount of information, added verification.
This commit is contained in:
parent
cf2547e030
commit
f013c74475
@ -433,6 +433,8 @@ export const frameCallCommand = (command) => {
|
||||
export const getConvertedSize = (t, size) => {
|
||||
let sizeNames;
|
||||
|
||||
if (size < 0) return `${8 + " " + t("Common:Exabyte")}`;
|
||||
|
||||
if (size < 1024 * 1024) {
|
||||
sizeNames = [
|
||||
t("Common:Megabyte"),
|
||||
@ -446,6 +448,8 @@ export const getConvertedSize = (t, size) => {
|
||||
t("Common:Megabyte"),
|
||||
t("Common:Gigabyte"),
|
||||
t("Common:Terabyte"),
|
||||
t("Common:Petabyte"),
|
||||
t("Common:Exabyte"),
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,7 @@
|
||||
"EncryptionKeysReload": "Encryption keys must be re-entered",
|
||||
"Error": "Error",
|
||||
"ErrorInternalServer": "Internal server error. Try again later.",
|
||||
"Exabyte": "EB",
|
||||
"FillFormButton": "Fill in the form",
|
||||
"FullAccess": "Full access",
|
||||
"Guest": "Guest",
|
||||
@ -200,6 +201,7 @@
|
||||
"Website": "Website",
|
||||
"Hotkeys": "Hotkeys",
|
||||
"PaymentsTitle": "Payments",
|
||||
"Petabyte": "PB",
|
||||
"AboutCompanyTitle": "About this program",
|
||||
"LogoutButton": "Sign Out",
|
||||
"HelpCenter": "Help center",
|
||||
|
@ -82,6 +82,7 @@
|
||||
"EncryptionKeysReload": "Ключи шифрования необходимо ввести повторно",
|
||||
"Error": "Ошибка",
|
||||
"ErrorInternalServer": "Внутренняя ошибка сервера. Повторите попытку позже.",
|
||||
"Exabyte": "Эб",
|
||||
"FillFormButton": "Заполнить форму",
|
||||
"FullAccess": "Полный доступ",
|
||||
"Guest": "Гость",
|
||||
@ -184,6 +185,7 @@
|
||||
"Warning": "Внимание",
|
||||
"Hotkeys": "Горячие клавиши",
|
||||
"PaymentsTitle": "Платежи",
|
||||
"Petabyte": "Пб",
|
||||
"AboutCompanyTitle": "О программе",
|
||||
"LogoutButton": "Выйти",
|
||||
"HelpCenter": "Справочный центр",
|
||||
|
Loading…
Reference in New Issue
Block a user