Update to v7.55.0

This commit is contained in:
aapanel.com
2025-11-07 15:30:29 +08:00
parent c32414993f
commit b6e4ab8b35
1243 changed files with 48469 additions and 87603 deletions
+1 -58
View File
@@ -30,64 +30,7 @@ class userLang:
settings = '{}/BTPanel/languages/settings.json'.format(public.get_panel_path())
custom = '{}/BTPanel/static/vite/lang/my-MY'.format(public.get_panel_path())
if not os.path.exists(settings):
data = {
"default": "en",
"languages": [
{
"name": "cht",
"google": "zh-tw",
"title": "繁體中文",
"cn": "繁體中文"
},
{
"name": "en",
"google": "en",
"title": "English",
"cn": "英语"
},
{
"name": "de",
"google": "de",
"title": "Deutsch",
"cn": "德语"
},
{
"name": "fra",
"google": "fr",
"title": "Français",
"cn": "法语"
},
{
"name": "spa",
"google": "es",
"title": "Español",
"cn": "西班牙语"
},
{
"name": "pt",
"google": "pt",
"title": "Português",
"cn": "葡萄牙语"
},
{
"name": "vie",
"google": "vi",
"title": "Tiếng Việt",
"cn": "越南语"
},
{
"name": "ind",
"google": "id",
"title": "Bahasa Indonesia",
"cn": "印尼语"
}, {
"name": "ru",
"google": "ru",
"title": "Русский",
"cn": "俄语"
}
]
}
data = public.default_languages_config()
public.writeFile(settings, json.dumps(data))
settings_content = public.readFile(settings)