mirror of
https://git.axenov.dev/mirrors/cursor-free-vip.git
synced 2026-01-05 02:01:30 +03:00
feat(locales): add new translation keys and update existing ones
Add new translation keys for various languages including zh_cn, pt, bg, ru, zh_tw, tr, nl, es, fr, and de. These changes include new error messages, prompts, and additional UI text to improve user experience and localization. Also, reorder initialization code in main.py for better readability.
This commit is contained in:
2
main.py
2
main.py
@@ -79,8 +79,8 @@ def run_as_admin():
|
||||
class Translator:
|
||||
def __init__(self):
|
||||
self.translations = {}
|
||||
self.current_language = self.detect_system_language() # Use correct method name
|
||||
self.fallback_language = 'en' # Fallback language if translation is missing
|
||||
self.current_language = self.detect_system_language() # Use correct method name
|
||||
self.load_translations()
|
||||
self.default_layout_id_to_lang_code_mapping = {
|
||||
0x0409: 'en', # English
|
||||
|
||||
Reference in New Issue
Block a user