Commit graph

4 commits

Author SHA1 Message Date
Tyler James Leonhardt
a27dc7725c
Introduce localize2 function (#194750)
* Introduce `localize2` function

This is syntax sugar around:
```
{ value localize('id', "Hello"), original: 'Hello' }
```

That will now be returned when you do:
```
localize2('id', "Hello");
```

* fix merge conflic

* new source map due to updated deps
2023-10-04 12:57:38 -07:00
Matt Bierner
8a37410ce2
Adopt l10n for extension-editing (#165523)
For #164438
2022-11-04 12:04:47 -07:00
Matt Bierner
cd29f751eb
Adopt l10n for markdown extension (#165448)
For #164438

Also makes our eslint rules understand `vscode.l10n.t(`
2022-11-04 09:49:49 +01:00
Matt Bierner
5e92794be6
Re-enable running our eslint rules using ts-node (#159495)
Resubmission of #157532 with the following changes:

- Use `eslint-plugin-local` instead of `yarn` link to run our plugins
- Move our plugins to a top level `.eslintplugin` dir (as required by `eslint-plugin-local`)
- Update all names to `local/`
2022-08-30 08:40:04 +02:00
Renamed from build/lib/eslint/code-no-unexternalized-strings.ts (Browse further)