Commit Graph

31 Commits

Author SHA1 Message Date
40720971c5 Hide unsupported language warning for 'en' 2025-02-28 21:55:48 +02:00
a8f05c92ae Revert "Switch tracking key to accountStorage"
This reverts commit 549fae4015.
2025-02-27 23:22:08 +02:00
549fae4015 Switch tracking key to accountStorage 2025-02-27 22:16:38 +01:00
f11a834895 Switch tracking from Array to Set 2025-02-27 21:26:45 +01:00
94441c54ae Update logging structure for dyn translations 2025-02-27 20:59:38 +01:00
c6a2b4e429 Trace-log stacktrace of translations without key 2025-02-27 20:48:16 +01:00
08e184de26 Debug Func to track missing dynamic translations
- Add debug function to the debug menu that enables tracking of missing dynamic translations (via `t` or `translate`) once enabled
- Only works with non-English language loaded
- Prints it together with the existing debug print
2025-02-27 20:45:10 +01:00
e312ae6b3b Add locale data loading for extensions 2025-02-27 16:18:10 +00:00
517b140911 Localize only the moment instance 2024-10-28 11:07:39 +02:00
ebe2929dfd Localize chat timestamps 2024-10-05 17:07:17 +03:00
736b28020f Move locale awaits into its init function 2024-07-10 17:56:01 +02:00
d994528548 Extend i18n with translate and template literal 2024-06-28 23:53:25 +02:00
be08e62fc1 Observer to find new elements with i18n attribute 2024-06-28 23:01:54 +02:00
1eca18f287 Merge branch 'staging' into ru-l10n 2024-05-19 19:48:38 +03:00
cd47f3b238 Fix loading locale data 2024-05-13 15:56:37 +03:00
6023eac4bb Onboarding lang switch; more localizable strings; enhance ru-ru translation 2024-05-13 19:20:28 +07:00
dfa8c6c3d4 Remove cases 2024-05-07 13:11:59 +07:00
2e278e7323 Fix missing localization for unknown locale 2024-04-26 22:57:42 +03:00
e799bd3920 Fix getMissingTranslations() and change its behavior 2024-04-24 21:12:40 +07:00
3912c67965 Skip applying translations if no locale data is loaded 2024-03-12 20:24:45 +02:00
b6c29f7129 added new langs
+added new lang: Arabic, Portugese, Vietnamese
+added display names for all langs
+added data-i18n= tags for translation
2024-03-12 19:03:12 +01:00
5f246aa756 Deduplicate locale loading logic 2024-03-10 20:49:11 +02:00
c9374bce13 remove useless console.log 2024-03-09 23:04:22 +00:00
458535c7bc Split i18n.json file 2024-03-09 23:03:51 +00:00
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
b0d21659eb /inject command to add prompt injections 2023-11-28 01:44:13 +02:00
3b4e6f0b78 Add debug functions menu 2023-08-27 23:20:43 +03:00
f5fd15ffd2 #976 Return "Continue on send". Allow continuing the first chat message. Add debug function for i18n. 2023-08-24 15:13:04 +03:00
9deaec5877 More typechecks and comments 2023-08-22 14:30:49 +03:00
2615eb8532 Extract system message templates to template files 2023-08-22 10:37:18 +03:00