diff --git a/html/src/app.js b/html/src/app.js
index 9bdaaf91..2dff62ed 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -2232,6 +2232,21 @@ speechSynthesis.getVoices();
}
});
+ API.hideNotificationV2 = function (notificationId) {
+ return this.call(`notifications/${notificationId}`, {
+ method: 'DELETE'
+ }).then((json) => {
+ var args = {
+ json,
+ params: {
+ notificationId
+ }
+ };
+ this.$emit('NOTIFICATION:V2:HIDE', args);
+ return args;
+ });
+ };
+
/**
* @param {{
notificationId: string,
@@ -2256,6 +2271,7 @@ speechSynthesis.getVoices();
.catch((err) => {
// something went wrong, lets assume it's already expired
this.$emit('NOTIFICATION:HIDE', { params });
+ API.hideNotificationV2(params.notificationId);
throw err;
});
};
@@ -16061,7 +16077,7 @@ speechSynthesis.getVoices();
name: $t('dialog.config_json.max_cache_size'),
default: '30',
type: 'number',
- min: 20
+ min: 30
},
cache_expiry_delay: {
name: $t('dialog.config_json.cache_expiry_delay'),
diff --git a/html/src/localization/en/en.json b/html/src/localization/en/en.json
index 3eb9f0ae..c92c7bd4 100644
--- a/html/src/localization/en/en.json
+++ b/html/src/localization/en/en.json
@@ -1054,7 +1054,7 @@
"delete_cache": "Delete Cache",
"delete_old_cache": "Delete old versions from cache",
"sweep_cache": "Sweep Cache",
- "max_cache_size": "Max Cache Size [GB] (min 20)",
+ "max_cache_size": "Max Cache Size [GB] (min 30)",
"cache_expiry_delay": "Cache Expiry [Days] (min 30)",
"cache_directory": "Custom Cache Folder Location",
"picture_directory": "Custom Picture Folder Location",
diff --git a/html/src/localization/es/en.json b/html/src/localization/es/en.json
index 587792ab..53364996 100644
--- a/html/src/localization/es/en.json
+++ b/html/src/localization/es/en.json
@@ -1023,7 +1023,7 @@
"delete_cache": "Eliminar caché",
"delete_old_cache": "Eliminar versiones antiguas de la caché",
"sweep_cache": "Caché de barrido",
- "max_cache_size": "Tamaño del cache máx. [GB] (min 20)",
+ "max_cache_size": "Tamaño del cache máx. [GB] (min 30)",
"cache_expiry_delay": "Expiración del Cache [dias] (min 30)",
"cache_directory": "Ubicación de la carpeta de caché",
"picture_directory": "Ubicación de la carpeta de imagenes",
diff --git a/html/src/localization/fr/en.json b/html/src/localization/fr/en.json
index 27199a4d..2f4369b6 100644
--- a/html/src/localization/fr/en.json
+++ b/html/src/localization/fr/en.json
@@ -1015,7 +1015,7 @@
"delete_cache": "Supprimer le cache",
"delete_old_cache": "Supprimer les anciennes versions du cache",
"sweep_cache": "Balayer le cache",
- "max_cache_size": "Taille maximale du cache [Go] (min 20)",
+ "max_cache_size": "Taille maximale du cache [Go] (min 30)",
"cache_expiry_delay": "Expiration du cache [jours] (30 - 150)",
"cache_directory": "Emplacement du dossier de cache personnalisé",
"picture_directory": "Emplacement du dossier de photos personnalisé",
diff --git a/html/src/localization/hu/en.json b/html/src/localization/hu/en.json
index 7fcb8028..9a9352d3 100644
--- a/html/src/localization/hu/en.json
+++ b/html/src/localization/hu/en.json
@@ -1015,7 +1015,7 @@
"delete_cache": "Delete Cache",
"delete_old_cache": "Delete old versions from cache",
"sweep_cache": "Sweep Cache",
- "max_cache_size": "Max Cache Size [GB] (min 20)",
+ "max_cache_size": "Max Cache Size [GB] (min 30)",
"cache_expiry_delay": "Cache Expiry [Days] (min 30)",
"cache_directory": "Custom Cache Folder Location",
"picture_directory": "Custom Picture Folder Location",
diff --git a/html/src/localization/ja/en.json b/html/src/localization/ja/en.json
index 648b2b85..eb10d2a9 100644
--- a/html/src/localization/ja/en.json
+++ b/html/src/localization/ja/en.json
@@ -1038,7 +1038,7 @@
"delete_cache": "削除",
"delete_old_cache": "旧バージョンのキャッシュを削除",
"sweep_cache": "掃除",
- "max_cache_size": "最大キャッシュサイズ [GB] (最小 20)",
+ "max_cache_size": "最大キャッシュサイズ [GB] (最小 30)",
"cache_expiry_delay": "キャッシュの有効期限 [日] (最小 30)",
"cache_directory": "カスタムキャッシュフォルダー",
"picture_directory": "カスタム写真フォルダー",
diff --git a/html/src/localization/ko/en.json b/html/src/localization/ko/en.json
index a278e252..ab8c37a7 100644
--- a/html/src/localization/ko/en.json
+++ b/html/src/localization/ko/en.json
@@ -1015,7 +1015,7 @@
"delete_cache": "캐시 삭제",
"delete_old_cache": "오래된 버전 캐시 삭제",
"sweep_cache": "캐시 정리",
- "max_cache_size": "최대 캐시 크기 [GB] (최소 20)",
+ "max_cache_size": "최대 캐시 크기 [GB] (최소 30)",
"cache_expiry_delay": "캐시 만료 일수 [Days] (최소 30)",
"cache_directory": "캐시 폴더 위치",
"picture_directory": "Custom Picture Folder Location",
diff --git a/html/src/localization/pl/en.json b/html/src/localization/pl/en.json
index f137d1b3..e83be998 100644
--- a/html/src/localization/pl/en.json
+++ b/html/src/localization/pl/en.json
@@ -1015,7 +1015,7 @@
"delete_cache": "Wyczyść pamięć",
"delete_old_cache": "Usuń stare wersje z pamięci podręcznej",
"sweep_cache": "Wyczyść pamięć podręczną",
- "max_cache_size": "Maks. rozmiar pamięci podręcznej [GB] (min. 20)",
+ "max_cache_size": "Maks. rozmiar pamięci podręcznej [GB] (min. 30)",
"cache_expiry_delay": "Czas wygaśnięcia pamięci podręcznej [dni] (min. 30)",
"cache_directory": "Niestandardowy folder pamięci podręcznej",
"picture_directory": "Niestandardowy folder zdjęć",
diff --git a/html/src/localization/ru/en.json b/html/src/localization/ru/en.json
index 97551e64..612b45e5 100644
--- a/html/src/localization/ru/en.json
+++ b/html/src/localization/ru/en.json
@@ -435,16 +435,16 @@
},
"local_world_persistence": {
"header": "Локальное сохранение мира",
- "description": "Локальный веб-сервер (требуется перезапуск)"
- },
- "save_instance_prints_to_file": {
- "header": "Сохранить снимки инстанса в файл",
- "header_tooltip": "Требуется \"--enable-sdk-log-levels\" опция запуска VRC.",
- "description": "Сохраните созданные отпечатки в папке «Изображения VRChat»."
- },
- "save_instance_stickers_to_file": {
- "header": "Сохранить стикеры инстанса в файл",
- "description": "Сохраните размещенные наклейки в папке «Изображения VRChat»."
+ "description": "Локальный веб-сервер (требуется перезапуск)"
+ },
+ "save_instance_prints_to_file": {
+ "header": "Сохранить снимки инстанса в файл",
+ "header_tooltip": "Требуется \"--enable-sdk-log-levels\" опция запуска VRC.",
+ "description": "Сохраните созданные отпечатки в папке «Изображения VRChat»."
+ },
+ "save_instance_stickers_to_file": {
+ "header": "Сохранить стикеры инстанса в файл",
+ "description": "Сохраните размещенные наклейки в папке «Изображения VRChat»."
},
"remote_database": {
"header": "Удаленная база данных аватаров",
@@ -1047,7 +1047,7 @@
"delete_cache": "Удалить кэш",
"delete_old_cache": "Удалить старые версии из кэша",
"sweep_cache": "Удалить кэш",
- "max_cache_size": "Макс. размер кэша [GB] (мин. 20)",
+ "max_cache_size": "Макс. размер кэша [GB] (мин. 30)",
"cache_expiry_delay": "Срок действия кэша [Days] (30 – 150)",
"cache_directory": "Местоположение папки кэша",
"picture_directory": "Местоположение папки картинок",
@@ -1296,7 +1296,7 @@
"emoji_animation_frame_count": "Количество кадров:",
"emoji_loop_pingpong": "Зацикленный PingPong",
"flipbook_info": "Выберите спрайт-лист PNG размером 1024x1024 для использования в качестве анимированного эмодзи, доступные размеры сетки кадров: 4, 16 или 64 (максимальный FPS 64, максимальное количество кадров 64)",
- "note": "Заметка"
+ "note": "Заметка"
},
"change_content_image": {
"avatar": "Изменить изображение аватара",
diff --git a/html/src/localization/vi/en.json b/html/src/localization/vi/en.json
index 61caa39b..47a65744 100644
--- a/html/src/localization/vi/en.json
+++ b/html/src/localization/vi/en.json
@@ -1015,7 +1015,7 @@
"delete_cache": "Xóa Cache",
"delete_old_cache": "Xóa Cache cũ",
"sweep_cache": "Lưu Cache đè",
- "max_cache_size": "Max Cache Size [GB] (min 20)",
+ "max_cache_size": "Max Cache Size [GB] (min 30)",
"cache_expiry_delay": "Cache Expiry [Days] (min 30)",
"cache_directory": "Đặt thư mục lưu cache",
"picture_directory": "Đặt thư mục lưu ảnh",