Skip to content

Commit

Permalink
Chore: configure i18n.ally plugin (thunder-app#1277)
Browse files Browse the repository at this point in the history
* chore: config i18n.ally

Close ipcjs/i18n-ally#3

* chore: recommend to install i18n.ally
  • Loading branch information
ipcjs authored Apr 10, 2024
1 parent 5f7ea9b commit 9a0b037
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"ipcjs.i18n-ally-ipcjs"
]
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,15 @@
"i18n-ally.annotationInPlace": true,
"i18n-ally.annotationRange": "annotation",
"i18n-ally.annotationDelimiter": "//",
"i18n-ally.regex.usageMatch": [
"(?<annotation>l10n\\.(?<key>{key}))\\W",
],
"i18n-ally.refactor.templates": [
{
"templates": [
"l10n.{key}",
"l10n.{key}({args})"
]
}
]
}

0 comments on commit 9a0b037

Please sign in to comment.