mirror of
https://git.axenov.dev/mirrors/cursor-free-vip.git
synced 2026-01-02 17:01:03 +03:00
Add language config saved
This commit is contained in:
@@ -105,6 +105,12 @@ def setup_config(translator=None):
|
||||
'Token': {
|
||||
'refresh_server': 'https://token.cursorpro.com.cn',
|
||||
'enable_refresh': True
|
||||
},
|
||||
'Language': {
|
||||
'current_language': '', # Set by local system detection if empty
|
||||
'fallback_language': 'en',
|
||||
'auto_update_languages': 'True',
|
||||
'language_cache_dir': os.path.join(config_dir, "language_cache")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -364,4 +370,4 @@ def get_config(translator=None):
|
||||
global _config_cache
|
||||
if _config_cache is None:
|
||||
_config_cache = setup_config(translator)
|
||||
return _config_cache
|
||||
return _config_cache
|
||||
Reference in New Issue
Block a user