Tyler James Leonhardt
d582a1590b
Allow vscode-sessions strings in the main bundle ( #300944 )
...
It seems like the sessions experience _can_ run in the VS Code world, so we actually do need these strings.
2026-03-11 17:46:40 -07:00
Tyler James Leonhardt
2f42f2e800
Add sessions support to translation resources and update related logic ( #300889 )
...
* Add sessions support to translation resources and update related logic
Fixes https://github.com/microsoft/vscode/issues/300278
* update to track new format of import
* fix failures
2026-03-11 20:38:06 +00:00
Matt Bierner
e779f86b17
Build script cleanup
...
For #277526
Quick cleanup pass after converting these scripts
2025-11-24 14:07:28 -08:00
Matt Bierner
2648263d3e
Run our build scripts directly as typescript ( #277567 )
...
* Run our build scripts directly as typescript #277567
Follow up on #276864
For #277526
* Remove a few more ts-node references
* Fix linux and script reference
* Remove `_build-script` ref
* Fix script missing closing quote
* use type only import
* Fix export
* Make sure to run copy-policy-dto
* Make sure we run the copy-policy-dto script
* Enable `verbatimModuleSyntax`
* Pipelines fixes
* Try adding explicit ext to path
* Fix bad edit
* Revert extra `--`
---------
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com >
2025-11-21 14:56:00 +01:00
Piotr Rajnisz
fb41f69a94
i18n: add missing localizations for monaco-editor ( #268038 )
...
Add missing localizations
2025-10-15 11:19:51 +00:00
Matt Bierner
77ed219366
Convert some any -> unknown in build scripts
2025-10-08 10:22:21 -07:00
Matt Bierner
d865a99c49
Clean up some typings in build
...
- Adding ts-check in a few more js files
- Switching to use `@types` for a few more packages
- Remove some unused code
2025-08-07 09:38:52 -07:00
Alex Dima
91f0cb7b90
Add nls info to monaco-editor-core and remove left-over AMD tasks
2025-03-20 14:53:50 +01:00
Aman Karmani
e76c50f20e
build: switch build/tsconfig.json to module: nodenext ( #238426 )
...
* build/tsconfig: switch to module: nodenext for bun compat
* build: rewrite imports for nodenext compat
* build: re-generate
2025-01-22 20:12:39 +01:00
Benjamin Pasero
3dc8c38c92
esm - some build polish ( #225948 )
2024-08-19 16:54:29 +02:00
Benjamin Pasero
f6f90e0163
Implement NLS without AMD loader ( #214588 )
2024-06-28 11:55:48 +02:00
João Moreno
a5d71aad39
Cleanup dependencies ( #195026 )
...
* move build dependencies to devDependencies
* build: bump tree-sitter
* dependencies cleanup
* remove leftover file
2023-10-09 09:34:15 +02:00
Tyler James Leonhardt
0d5e948d86
Ensure external extensions are in the extensions project ( #178283 )
2023-03-26 16:55:04 +02:00
Tyler James Leonhardt
8ddd3bcf39
Allow pulling in external extension translations from somewhere else ( #176090 )
...
allow pulling in external extension translations from somewhere else
This will allow js-debug to push its strings to the extension localization repo and then we will grab the translated strings from there.
2023-03-03 13:15:28 -08:00
Tyler James Leonhardt
7c0e51357d
Pull l10n files from build folder for extensions that don't live in source ( #171217 )
...
This will allow the l10n build to pick up the bundle.l10n.json inside of js-debug
cc @connor4312
2023-01-13 08:34:14 +01:00
Tyler James Leonhardt
0510da84dd
Use new version of @vscode/l10n-dev that uses tree-sitter ( #169668 )
...
Use new version of @vscode/l10n-dev
Required a bit more refactoring because an API had to be made async.
2022-12-20 19:53:50 +01:00
Tyler James Leonhardt
964dc545ab
Pickup bundle.l10n.json ( #166169 )
...
For npm modules that have bundled `@vscode/l10n`, they can export their strings to a bundle.l10n.json file which will get picked up by this change and included in the overall bundle for the extension.
2022-11-12 14:42:39 -08:00
Tyler James Leonhardt
a8ae2cedaf
Include JS files in XLF creation for extensions ( #165774 )
...
* Bumps @vscode/l10n-dev to a version that supports JS files
* Pulls in JS files (and TSX & JSX) in addition to TS to account for scenarios like Emmet which pulls in @vscode/emmet-helper as an npm package
2022-11-07 19:50:39 -08:00
Tyler James Leonhardt
0249ba460f
use the actual extension id as the id in the language pack ( #165436 )
...
Past behavior caused 404s to be thrown by the unpkg service because core was trying to load:
`${extensionId}` -> `vscode.markdown`
and not what the build creates in the language packs:
`vscode.${extensionFolder}` -> `vscode.markdown-basics`
this aligns build time and runtime.
2022-11-03 15:50:50 -07:00
Tyler James Leonhardt
0a80e31f6f
Sort the keys in order to be more predictable ( #164920 )
...
sort the keys in order to be more predictable
2022-10-28 21:16:05 +02:00
Tyler James Leonhardt
4502088b10
fix empty check for json ( #163576 )
2022-10-13 11:01:05 -07:00
Tyler James Leonhardt
77d14a4711
use size to check if any files were added ( #163571 )
...
use size
2022-10-13 09:54:57 -07:00
Tyler James Leonhardt
a8108049ab
Allow extensions to use new API and it get included in Language Packs ( #163493 )
...
* Allow extensions to use new API and it get included in Language Packs
This leverages the l10n-dev package to analyze ts files for `l10n.t` calls.
* delete console.logs
2022-10-12 17:28:34 -07:00
Tyler James Leonhardt
342aa9c59a
Improvements to i18n ( #163372 )
...
* remove dead code from Transifex
* use @vscode/l10n-dev for XLF operations for extensions
* generated files
* more generated files
* remove dead code
* move l10n-dev to where gulp is
* generated
2022-10-12 14:10:57 -07:00
Tyler James Leonhardt
108916901d
Pull in web strings into Language Pack ( #158053 )
...
remove old tasks and include web strings in export
2022-08-15 13:46:34 -04:00
Tyler James Leonhardt
13f136fc46
Include comments exporting of translations ( #153769 )
...
Include comments in call to addFile. Fixes #150990
2022-06-30 11:11:48 +02:00
Martin Aeschlimann
915c863a3e
stripComments: remove trailing comma ( #151941 )
...
stripComments: remove trailing comma
2022-06-13 13:36:04 +00:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Dirk Baeumer
f8fe16b97a
Use regexp from stripComments.
2022-02-07 14:29:53 +01:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Benjamin Pasero
eecbd962ef
debt - rename iconv-lite-umd package ( #140650 )
2022-01-14 07:28:41 +01:00
Tyler James Leonhardt
f73f263c6b
Needed localization changes for converting xlfs to json ( #125442 )
...
* loc extension update changes
* log
* maybe this
* loggin
* use debug
* add language id
* log
* misc updates
2021-06-03 13:44:30 -07:00
Tyler Leonhardt
c324c61ad5
add closing tags
2021-06-02 09:25:46 -07:00
Dirk Baeumer
7051f7db88
Sort content of XLF files
2021-06-02 12:55:32 +02:00
Dirk Baeumer
1e57955c79
Remove handling of Default inno setup file
2021-05-31 15:22:01 +02:00
Dirk Baeumer
2022aede92
Return early on promise reject.
2021-03-02 14:55:43 +01:00
Dirk Baeumer
ed1118b27b
Support empty messages during location import
2021-03-02 14:46:59 +01:00
Benjamin Pasero
ded9067afa
build - fix warnings in TS files
...
//cc @joaomoreno
2020-10-13 10:48:40 +02:00
Matt Bierner
c348165cc0
Adding more explicit typings for promises
...
This gets us ready for TS 4.1
2020-09-09 09:21:56 -07:00
João Moreno
8c8db45d5a
fix i18n
2020-07-08 16:17:14 +02:00
Fedor Nezhivoi
24e0a82229
Move encoding to common for #79275 ( #100539 )
...
* move encoding.ts to common for #79275
* load iconv-lite-umd and jschardet in web version for #79275
* move EncodingOracle to the AbstractTextFileService for #79275
* review
* update to new iconv-lite-umd
* add workaround for jschardet types
* fix indentation
* add iconv-lite-umd and jschardet to workbench.html
* fix paths for modules
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com >
2020-06-20 10:47:29 +02:00
Fedor Nezhivoi
314b58c8e1
switch to use iconv-lite-umd for #79275 ( #100472 )
...
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com >
2020-06-18 16:08:17 +02:00
Dirk Baeumer
14281cfc18
Fixes #92352 : Translation export fail
2020-03-10 14:54:57 +01:00
Dirk Baeumer
449b87dad8
Fixes #80985 : Language Pack import add ./build folder to internal LP structure.
2019-09-16 15:47:41 +02:00
Joao Moreno
5d7c8d9212
fix i18n for extensions
2019-09-04 08:05:47 +02:00
Waldir Pimenta
f3e4e47164
Fix spelling of the example abbreviation (e.g.)
2019-06-05 16:00:26 +02:00
Keyi Xie
172a32d5c6
fix mispell
2019-04-09 13:21:46 +08:00
Dirk Baeumer
3d92b725b2
Fixes #71065 : Bring back translation for standalone editor
2019-03-25 12:21:44 +01:00
Dirk Baeumer
1242997422
Fix problem with update localization script
2019-02-20 20:24:28 +01:00
Dirk Baeumer
95719e9158
Fixes vscode-translations-export failure
2019-02-18 16:28:31 +01:00