Commit c76b725
committed
fix: replace hardcoded English strings with i18n translations
- Added translation keys for all error messages in message edit/delete operations
- Updated webviewMessageHandler.ts to use t() function for all error messages
- Added translations to all 17 supported languages for the new keys:
- message.no_active_task_to_delete
- message.invalid_timestamp_for_deletion
- message.cannot_delete_missing_timestamp
- message.cannot_delete_invalid_timestamp
- message.message_not_found
- message.error_deleting_message
- message.error_editing_message
This addresses review feedback from mrubens about hardcoded English strings.1 parent 36be7d3 commit c76b725
File tree
19 files changed
+175
-10
lines changed- src
- core/webview
- i18n/locales
- ca
- de
- en
- es
- fr
- hi
- id
- it
- ja
- ko
- nl
- pl
- pt-BR
- ru
- tr
- vi
- zh-CN
- zh-TW
19 files changed
+175
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
| 166 | + | |
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
| |||
229 | 228 | | |
230 | 229 | | |
231 | 230 | | |
232 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
289 | | - | |
| 290 | + | |
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
| |||
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
398 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
399 | 402 | | |
400 | 403 | | |
401 | 404 | | |
| |||
1498 | 1501 | | |
1499 | 1502 | | |
1500 | 1503 | | |
1501 | | - | |
| 1504 | + | |
1502 | 1505 | | |
1503 | 1506 | | |
1504 | 1507 | | |
1505 | 1508 | | |
1506 | | - | |
| 1509 | + | |
1507 | 1510 | | |
1508 | 1511 | | |
1509 | 1512 | | |
| |||
1896 | 1899 | | |
1897 | 1900 | | |
1898 | 1901 | | |
1899 | | - | |
| 1902 | + | |
1900 | 1903 | | |
1901 | 1904 | | |
1902 | 1905 | | |
1903 | 1906 | | |
1904 | | - | |
| 1907 | + | |
1905 | 1908 | | |
1906 | 1909 | | |
1907 | 1910 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments