Skip to content

Commit

Permalink
fix: update l10n to root
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Oct 27, 2024
1 parent 0acee93 commit 9db614d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 121 deletions.
File renamed without changes.
4 changes: 4 additions & 0 deletions l10n/bundle.l10n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"setup_language": "Setup Usewiki2 Language",
"select_language": "Select Language"
}
File renamed without changes.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
"publisher": "oeyoews",
"name": "usewiki2",
"displayName": "usewiki2",
"version": "2.6.0",
"version": "2.6.1",
"private": true,
"packageManager": "[email protected]",
"description": "",
"keywords": [
"TiddlyWiki"
"TiddlyWiki",
"Usewiki2"
],
"author": {
"name": "oeyoews"
Expand All @@ -24,11 +25,11 @@
"Education"
],
"main": "./dist/index.js",
"l10n": "./l10n",
"icon": "res/tiddlywiki01.png",
"engines": {
"vscode": "^1.94.0"
},
"l10n": "./l10n",
"activationEvents": [
"onStartupFinished"
],
Expand Down Expand Up @@ -176,7 +177,6 @@
"@antfu/ni": "^0.21.12",
"@types/node": "^20.14.11",
"@types/vscode": "^1.91.0",
"@vscode/l10n-dev": "^0.0.35",
"@vscode/vsce": "3.2.0",
"bumpp": "^9.4.1",
"eslint": "^8.57.0",
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ function App() {
}, []);

function showVsCodeLanguageInputBox() {
console.log('showVsCodeLanguageInputBox');
messenger.send('showVsCodeLanguageInputBox');
}

Expand Down
114 changes: 0 additions & 114 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/generated/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Meta info
export const publisher = "oeyoews"
export const name = "usewiki2"
export const version = "2.6.0"
export const version = "2.6.1"
export const displayName = "usewiki2"
export const description = undefined
export const extensionId = `${publisher}.${name}`
Expand Down
3 changes: 2 additions & 1 deletion src/webviews/showLangPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ export async function showLanguagePicker(messenger: WebviewMessenger) {
quickPick.items = langOptions;
quickPick.title = 'Setup Language';
quickPick.placeholder = 'Select Language';
// quickPick.title = t('setup_language');
// quickPick.placeholder = t('select_language');
quickPick.activeItems = [langOptions[activeItemIndex]];

// TODO: selection 不起作用, 用active 的话accept 的时候也会触发active 事件
// 当选择变化时实时预览
// quickPick.onDidChangeSelection((selectedItems) => {
// console.log(selectedItems[0].description, 'active');
// if (selectedItems.length > 0) {
// const selectedLanguage = selectedItems[0].description;
// messenger.send('changeLanguage', { text: selectedLanguage });
Expand Down

0 comments on commit 9db614d

Please sign in to comment.