Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization #215

Merged
merged 28 commits into from
Oct 20, 2023
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7fe2e0a
refactor: compute location sooner
Oct 19, 2023
41da985
fix: properly use variable
Oct 19, 2023
fc2cbcc
fix: make sure to not keep monaco deleted files
Oct 19, 2023
4037bf4
fix: handle deleted files in treemending script
Oct 19, 2023
d518512
feat: download vscode-loc as well
Oct 19, 2023
d225608
feat: add setLocale method in monaco nls
Oct 19, 2023
4c117a0
feat: replace localize calls to localizeWithPath
Oct 19, 2023
9455c5f
fix: do not encode URL
Oct 19, 2023
2ee7b08
feat: stop removing some stuff from vscode
Oct 19, 2023
ad53b82
feat: add l20n entrypoint to register a localization
Oct 19, 2023
422317f
feat: add some tools
Oct 19, 2023
e4f38c3
feat: update rollup plugin to stop translating manifest at build time…
Oct 19, 2023
755321f
fix: fix extension sometime not registered
Oct 19, 2023
11794fa
feat: translate extension manifests as in vscode
Oct 19, 2023
36797b5
feat: build language packs
Oct 19, 2023
9a68c40
fix(demo): prevent webview background from being white on system dark…
Oct 19, 2023
3c85754
fix(demo): disable remote extension if there is no remote authority
Oct 19, 2023
0d1f9b0
feat(demo): install language packs
Oct 19, 2023
01046d0
feat(demo): load language pack from url param
Oct 19, 2023
614581d
feat(demo): add locale selector
Oct 19, 2023
81c856f
feat: take bundle file into account
Oct 19, 2023
62761f5
feat: add a simpler way to register remote extension
Oct 19, 2023
9ca9686
feat(demo): use new way to register remote extension
Oct 19, 2023
657d37d
feat(demo): demonstrate extension localization
Oct 19, 2023
3dfbc6f
chore: update documentation
Oct 19, 2023
ca51bbc
fix(demo): update package-lock
Oct 20, 2023
6add271
fix: fix treemending script for other timezones
Oct 20, 2023
8eef44a
fix(demo): fix vite not liking that await for some reasons
Oct 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(demo): use new way to register remote extension
  • Loading branch information
Loïc Mangeonjean committed Oct 19, 2023
commit 9ca9686f8285ff903b8e831fc198fb63f8245d83
7 changes: 2 additions & 5 deletions demo/src/features/remoteExtension.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ExtensionHostKind, registerExtension } from 'vscode/extensions'
import manifest from './remoteExtensionExample/package.json'
import { registerRemoteExtension } from 'vscode/extensions'

declare global {
interface Window {
Expand All @@ -8,7 +7,5 @@ declare global {
}

if (window.rootDirectory != null) {
registerExtension(manifest, ExtensionHostKind.Remote, {
path: `${window.rootDirectory}/src/features/remoteExtensionExample/`
})
registerRemoteExtension(`${window.rootDirectory}/src/features/remoteExtensionExample/`)
}