docs: 为配置更新提示添加多语言注释

在配置文件顶部添加多语言注释,提醒用户在更改配置后需清空 localStorage 缓存,以提高国际团队开发者的理解度。
This commit is contained in:
dap
2026-03-03 16:10:49 +08:00
parent 55b9d5cdb7
commit 6c6fb316f0

View File

@@ -3,7 +3,26 @@ import { defineOverridesPreferences } from '@vben/preferences';
/**
* @description 项目配置文件
* 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置
* !!! 更改配置后请清空缓存,否则可能不生效
* 为了防止有人看不懂 这里用各国语言加了注释
*
* !!! 更改配置后请清空缓存 localStorage
* !!! Please clear the localStorage cache after changing the configuration
* !!! 更改配置後請清空緩存 localStorage
* !!! 設定を変更した後は、localStorageキャッシュをクリアしてください
* !!! 구성을 변경한 후에는 localStorage 캐시를 지우십시오
* !!! Por favor, borre la caché de localStorage después de cambiar la configuración
* !!! Veuillez effacer le cache localStorage après avoir modifié la configuration
* !!! Bitte leeren Sie den localStorage-Cache nach Änderung der Konfiguration
* !!! Si prega di cancellare la cache di localStorage dopo aver modificato la configurazione
* !!! Пожалуйста, очистите кэш localStorage после изменения конфигурации
* !!! Por favor, limpe o cache do localStorage após alterar a configuração
* !!! Vui lòng xóa bộ nhớ cache localStorage sau khi thay đổi cấu hình
* !!! โปรดล้างแคช localStorage หลังจากเปลี่ยนการกำหนดค่า
* !!! Harap bersihkan cache localStorage setelah mengubah konfigurasi
* !!! يرجى مسح ذاكرة التخزين المؤقت localStorage بعد تغيير التكوين
* !!! Yapılandırmayı değiştirdikten sonra lütfen localStorage önbelleğini temizleyin
* !!! Wis de localStorage-cache na het wijzigen van de configuratie
* !!! Proszę wyczyścić pamięć podręczną localStorage po zmianie konfiguracji
*/
export const overridesPreferences = defineOverridesPreferences({
// overrides