Repository navigation
Commit 3705e56
chore: Adds localization behind internal feature flag (#3059)
* feat: Adds new i18n package and locale resolver
* feat: Adds locale service
* i18n(weekly-mr): Upgrade translations from crowdin (e1e05408).
* feat: Adds copy plugin pattern
* feat: Adds experimental feature flag and preferences section
* feat: Adds injector and mobx store
* feat: Adds boot flow
* feat: Adds locale preference
* Revert "i18n(weekly-mr): Upgrade translations from crowdin (e1e05408)."
This reverts commit 0f30f58.
* i18n(weekly-mr): Upgrade translations from crowdin (fa494166).
* Revert "i18n(weekly-mr): Upgrade translations from crowdin (fa494166)."
This reverts commit e1bd950.
* i18n(weekly-mr): Upgrade translations from crowdin (fa494166).
* feat: Adds language selector and re-renders strings on locale update
* feat: Adds error toast when loading language fails
* feat: Localize date time strings
* feat: Add fixes for specific string re-renders
* feat: Localize dates that are pulled from models
* feat: Fixes localization for snjs strings
* feat: Add desktop localization
* feat: Add mobile localization
* fix: Fixes strings not re-rendering on locale change
* feat: Fixes toggle and reloading behavior
* feat: Update setting copy
* feat: Adds spotlight modal
* feat: Adds internal feature flag
* feat: Fix modal styling
* feat: Updates copy
* feat: Loads persisted locale before app boot
* fix: Avoids redundant desktop locale syncs and restores date-at-time format
* feat: Improves service code
* chore: Adds shared type
* chore: Improves spotlight code
* chore: Improves date handling code
* chore: Small code tweaks
* chore: Revert unrelated changes
* fix: Fixes regressions
* fix: Fixes regressions
* fix: Fixes regressions
* Revert "i18n(weekly-mr): Upgrade translations from crowdin (fa494166)."
This reverts commit bbcc72c.
* i18n(weekly-mr): Upgrade translations from crowdin (0927732f).
* chore: Code and toggle animation improvements
* chore: Add controller tests
* chore: fixes eslint errors
---------
Co-authored-by: L10n bot <service_account_73c4205ebb9a547d11aa5c7b26226660@noreply.gitlab.protontech.ch>1 parent c680f4f commit 3705e56
136 files changed
Lines changed: 50498 additions & 272 deletions
File tree
- packages
- desktop
- app/javascripts
- Main
- Localization
- Menus
- Remote
- Strings
- Renderer
- locales
- config
- features/src/Domain
- Feature
- Lists
- Permission
- i18n
- src
- mobile
- locales
- config
- src
- Lib
- models/src/Domain
- Abstract/Item
- Implementations
- Interfaces
- Syncable/UserPrefs
- services/src/Domain
- Device
- InternalFeatures
- utils/src/Domain/Utils
- web
- locales
- config
- src/javascripts
- Application
- Dependencies
- Device
- Components
- AccountMenu
- ApplicationView
- CameraCaptureModal
- ContentListView
- Calendar
- Daily
- Header
- ContentTableView
- FileContextMenu
- FilePreview
- ImportModal
- LinkedItems
- LocalizationLabsSpotlight
- NotesOptions
- Preferences
- Controller
- Panes
- Account
- Subscription
- General
- Labs
- Security
- PreferencesComponents
- RevisionHistoryModal
- SearchBar
- SessionsModal
- SmartViewBuilder
- SuperEditor/Plugins/DateTimePlugin
- Tags
- Constants
- Controllers
- ItemList
- Localization
- Moments
- Utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
302 | 306 | | |
303 | 307 | | |
304 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
305 | 317 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
73 | 84 | | |
74 | 85 | | |
75 | 86 | | |
| |||
105 | 116 | | |
106 | 117 | | |
107 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
108 | 125 | | |
109 | 126 | | |
110 | 127 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
227 | 235 | | |
228 | 236 | | |
229 | 237 | | |
| |||
0 commit comments