Repository navigation
Commit c6add86
committed
Replace legacy dictionary error messages with i18n translations across editor commands and handlers
- move entries in `packages/shared/src/constants/dictionary.ts` to i18n
└── apps
└── editor
└── src
├── commands
│ ├── code-at-cursor-command
│ │ └── utils
│ │ └── perform-code-at-cursor.ts
│ ├── new-file-command.ts
│ ├── new-folder-command.ts
│ └── select-modified-files-command.ts
├── i18n
│ ├── index.ts
│ └── translations
│ ├── common.ts
│ ├── services
│ │ ├── index.ts
│ │ └── websocket-manager.ts
│ ├── utils
│ │ ├── git-repository-utils.ts
│ │ └── index.ts
│ └── views
│ ├── index.ts
│ ├── prompt
│ │ ├── handlers
│ │ │ ├── handle-patch-repair.ts
│ │ │ ├── index.ts
│ │ │ └── utils
│ │ │ ├── index.ts
│ │ │ └── symbols
│ │ │ ├── git
│ │ │ │ └── index.ts
│ │ │ └── index.ts
│ │ └── index.ts
│ └── shared
│ ├── actions
│ │ ├── api
│ │ │ ├── index.ts
│ │ │ └── update
│ │ │ ├── index.ts
│ │ │ └── interactions
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ └── web
│ │ └── index.ts
│ └── index.ts
├── services
│ └── websocket-manager.ts
├── utils
│ └── send-llm-message.ts
└── views
├── prompt
│ └── backend
│ ├── message-handlers
│ │ ├── handle-go-to-file.ts
│ │ ├── handle-hash-sign-quick-pick
│ │ │ └── symbols
│ │ │ ├── commit-symbol.ts
│ │ │ └── saved-context-symbol.ts
│ │ ├── handle-make-api-call.ts
│ │ ├── handle-open-file-and-select.ts
│ │ ├── handle-patch-repair.ts
│ │ └── handle-show-diff.ts
│ ├── prompt-view-provider.ts
│ └── utils
│ └── symbols
│ └── git
│ └── replace-git-symbols.ts
├── settings
│ └── backend
│ └── message-handlers
│ └── handle-update-provider.ts
└── shared
└── actions
├── api
│ └── update
│ ├── interactions
│ │ └── edit-model-for-api-config.ts
│ └── update.ts
└── web
├── delete.ts
├── pick-model.ts
└── update.ts1 parent 74cc770 commit c6add86
23 files changed
Lines changed: 517 additions & 130 deletions
File tree
- apps/editor/src
- commands
- code-at-cursor-command/utils
- i18n/translations
- services
- utils
- views
- prompt/backend
- message-handlers
- handle-hash-sign-quick-pick/symbols
- utils/symbols/git
- settings/backend/message-handlers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
357 | 356 | | |
358 | 357 | | |
359 | 358 | | |
360 | | - | |
| 359 | + | |
361 | 360 | | |
362 | 361 | | |
363 | 362 | | |
| |||
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
370 | | - | |
| 369 | + | |
371 | 370 | | |
372 | 371 | | |
373 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | | - | |
486 | | - | |
| 484 | + | |
487 | 485 | | |
488 | | - | |
489 | | - | |
490 | | - | |
| 486 | + | |
491 | 487 | | |
492 | | - | |
| 488 | + | |
493 | 489 | | |
494 | | - | |
| 490 | + | |
495 | 491 | | |
496 | | - | |
497 | | - | |
498 | | - | |
| 492 | + | |
499 | 493 | | |
500 | 494 | | |
501 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments