mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
Properly delete v2 notifications on error, VRC cache min size 30gb
This commit is contained in:
@@ -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'),
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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é",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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": "カスタム写真フォルダー",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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ęć",
|
||||
|
||||
@@ -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": "Изменить изображение аватара",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user