@univerjs/uniscript 0.23.0 → 0.24.0-insiders.20260527-b1d726f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +4 -4
- package/lib/cjs/locale/ar-SA.js +14 -0
- package/lib/cjs/locale/ca-ES.js +7 -9
- package/lib/cjs/locale/de-DE.js +14 -0
- package/lib/cjs/locale/en-US.js +7 -9
- package/lib/cjs/locale/es-ES.js +7 -9
- package/lib/cjs/locale/fa-IR.js +7 -9
- package/lib/cjs/locale/fr-FR.js +7 -9
- package/lib/cjs/locale/id-ID.js +14 -0
- package/lib/cjs/locale/it-IT.js +14 -0
- package/lib/cjs/locale/ja-JP.js +7 -9
- package/lib/cjs/locale/ko-KR.js +7 -9
- package/lib/cjs/locale/pl-PL.js +14 -0
- package/lib/cjs/locale/pt-BR.js +14 -0
- package/lib/cjs/locale/ru-RU.js +7 -9
- package/lib/cjs/locale/sk-SK.js +7 -9
- package/lib/cjs/locale/vi-VN.js +7 -9
- package/lib/cjs/locale/zh-CN.js +7 -9
- package/lib/cjs/locale/zh-HK.js +14 -0
- package/lib/cjs/locale/zh-TW.js +7 -9
- package/lib/es/index.js +4 -4
- package/lib/es/locale/ar-SA.js +13 -0
- package/lib/es/locale/ca-ES.js +7 -9
- package/lib/es/locale/de-DE.js +13 -0
- package/lib/es/locale/en-US.js +7 -9
- package/lib/es/locale/es-ES.js +7 -9
- package/lib/es/locale/fa-IR.js +7 -9
- package/lib/es/locale/fr-FR.js +7 -9
- package/lib/es/locale/id-ID.js +13 -0
- package/lib/es/locale/it-IT.js +13 -0
- package/lib/es/locale/ja-JP.js +7 -9
- package/lib/es/locale/ko-KR.js +7 -9
- package/lib/es/locale/pl-PL.js +13 -0
- package/lib/es/locale/pt-BR.js +13 -0
- package/lib/es/locale/ru-RU.js +7 -9
- package/lib/es/locale/sk-SK.js +7 -9
- package/lib/es/locale/vi-VN.js +7 -9
- package/lib/es/locale/zh-CN.js +7 -9
- package/lib/es/locale/zh-HK.js +13 -0
- package/lib/es/locale/zh-TW.js +7 -9
- package/lib/index.js +4 -4
- package/lib/locale/ar-SA.js +13 -0
- package/lib/locale/ca-ES.js +7 -9
- package/lib/locale/de-DE.js +13 -0
- package/lib/locale/en-US.js +7 -9
- package/lib/locale/es-ES.js +7 -9
- package/lib/locale/fa-IR.js +7 -9
- package/lib/locale/fr-FR.js +7 -9
- package/lib/locale/id-ID.js +13 -0
- package/lib/locale/it-IT.js +13 -0
- package/lib/locale/ja-JP.js +7 -9
- package/lib/locale/ko-KR.js +7 -9
- package/lib/locale/pl-PL.js +13 -0
- package/lib/locale/pt-BR.js +13 -0
- package/lib/locale/ru-RU.js +7 -9
- package/lib/locale/sk-SK.js +7 -9
- package/lib/locale/vi-VN.js +7 -9
- package/lib/locale/zh-CN.js +7 -9
- package/lib/locale/zh-HK.js +13 -0
- package/lib/locale/zh-TW.js +7 -9
- package/lib/types/locale/ar-SA.d.ts +18 -0
- package/lib/types/locale/de-DE.d.ts +18 -0
- package/lib/types/locale/en-US.d.ts +1 -3
- package/lib/types/locale/id-ID.d.ts +18 -0
- package/lib/types/locale/it-IT.d.ts +18 -0
- package/lib/types/locale/pl-PL.d.ts +18 -0
- package/lib/types/locale/pt-BR.d.ts +18 -0
- package/lib/types/locale/zh-HK.d.ts +18 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
- package/LICENSE +0 -176
package/lib/cjs/index.js
CHANGED
|
@@ -105,7 +105,7 @@ const ToggleScriptPanelOperation = {
|
|
|
105
105
|
} else {
|
|
106
106
|
scriptPanelService.open();
|
|
107
107
|
sidebarService.open({
|
|
108
|
-
header: { title: "
|
|
108
|
+
header: { title: "uniscript.title" },
|
|
109
109
|
children: { label: ScriptPanelComponentName },
|
|
110
110
|
width: 600
|
|
111
111
|
});
|
|
@@ -117,7 +117,7 @@ const ToggleScriptPanelOperation = {
|
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region package.json
|
|
119
119
|
var name = "@univerjs/uniscript";
|
|
120
|
-
var version = "0.
|
|
120
|
+
var version = "0.24.0-insiders.20260527-b1d726f";
|
|
121
121
|
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/config/config.ts
|
|
@@ -131,7 +131,7 @@ function UniscriptMenuItemFactory(accessor) {
|
|
|
131
131
|
return {
|
|
132
132
|
id: ToggleScriptPanelOperation.id,
|
|
133
133
|
title: "toggle-script-panel",
|
|
134
|
-
tooltip: "
|
|
134
|
+
tooltip: "uniscript.tooltip.menu-button",
|
|
135
135
|
icon: "CodeIcon",
|
|
136
136
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
137
137
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
@@ -301,7 +301,7 @@ function ScriptEditorPanel() {
|
|
|
301
301
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
|
|
302
302
|
variant: "primary",
|
|
303
303
|
onClick: startExecution,
|
|
304
|
-
children: localeService.t("
|
|
304
|
+
children: localeService.t("uniscript.panel.execute")
|
|
305
305
|
})
|
|
306
306
|
})]
|
|
307
307
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/ar-SA.ts
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "تبديل لوحة Uniscript" },
|
|
6
|
+
panel: { execute: "تنفيذ البرنامج النصي" },
|
|
7
|
+
message: {
|
|
8
|
+
success: "نجح التنفيذ",
|
|
9
|
+
failed: "فشل التنفيذ"
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = locale;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ca-ES.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Mostra/Oculta el panell Uniscript" },
|
|
6
|
+
panel: { execute: "Executa l'script" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "Execució correcta",
|
|
11
9
|
failed: "Execució fallida"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/de-DE.ts
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Uniscript-Panel ein-/ausblenden" },
|
|
6
|
+
panel: { execute: "Skript ausführen" },
|
|
7
|
+
message: {
|
|
8
|
+
success: "Ausführung erfolgreich",
|
|
9
|
+
failed: "Ausführung fehlgeschlagen"
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -15,17 +15,15 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
const locale = {
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
uniscript: { message: {
|
|
18
|
+
const locale = { uniscript: {
|
|
19
|
+
title: "Uniscript",
|
|
20
|
+
tooltip: { "menu-button": "Toggle Uniscript Panel" },
|
|
21
|
+
panel: { execute: "Execute Script" },
|
|
22
|
+
message: {
|
|
25
23
|
success: "Execution Success",
|
|
26
24
|
failed: "Execution Failed"
|
|
27
|
-
}
|
|
28
|
-
};
|
|
25
|
+
}
|
|
26
|
+
} };
|
|
29
27
|
|
|
30
28
|
//#endregion
|
|
31
29
|
module.exports = locale;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/es-ES.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Mostrar/Ocultar panel de Uniscript" },
|
|
6
|
+
panel: { execute: "Ejecutar script" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "Ejecución exitosa",
|
|
11
9
|
failed: "Ejecución fallida"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fa-IR.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "نمایش/مخفی کردن پنل Uniscript" },
|
|
6
|
+
panel: { execute: "اجرای اسکریپت" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "اجرای موفق",
|
|
11
9
|
failed: "اجرای ناموفق"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fr-FR.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Basculer le panneau Uniscript" },
|
|
6
|
+
panel: { execute: "Exécuter le script" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "Exécution réussie",
|
|
11
9
|
failed: "Échec de l'exécution"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/id-ID.ts
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Alihkan Panel Uniscript" },
|
|
6
|
+
panel: { execute: "Jalankan Skrip" },
|
|
7
|
+
message: {
|
|
8
|
+
success: "Eksekusi Berhasil",
|
|
9
|
+
failed: "Eksekusi Gagal"
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = locale;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/it-IT.ts
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Attiva/Disattiva Pannello Uniscript" },
|
|
6
|
+
panel: { execute: "Esegui Script" },
|
|
7
|
+
message: {
|
|
8
|
+
success: "Esecuzione Riuscita",
|
|
9
|
+
failed: "Esecuzione Fallita"
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ja-JP.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Uniscriptパネルを切り替え" },
|
|
6
|
+
panel: { execute: "スクリプトを実行" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "実行に成功しました",
|
|
11
9
|
failed: "実行に失敗しました"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ko-KR.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Uniscript 패널 전환" },
|
|
6
|
+
panel: { execute: "스크립트 실행" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "실행 성공",
|
|
11
9
|
failed: "실행 실패"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/pl-PL.ts
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Przełącz panel Uniscript" },
|
|
6
|
+
panel: { execute: "Wykonaj skrypt" },
|
|
7
|
+
message: {
|
|
8
|
+
success: "Wykonanie zakończone sukcesem",
|
|
9
|
+
failed: "Wykonanie nie powiodło się"
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = locale;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/pt-BR.ts
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Alternar Painel do Uniscript" },
|
|
6
|
+
panel: { execute: "Executar Script" },
|
|
7
|
+
message: {
|
|
8
|
+
success: "Execução bem-sucedida",
|
|
9
|
+
failed: "Execução falhou"
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ru-RU.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Юнискрипт",
|
|
5
|
+
tooltip: { "menu-button": "Переключить панель Юнискрипт" },
|
|
6
|
+
panel: { execute: "Выполнить скрипт" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "Выполнение успешно",
|
|
11
9
|
failed: "Выполнение не удалось"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/sk-SK.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Prepnúť panel Uniscript" },
|
|
6
|
+
panel: { execute: "Spustiť skript" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "Spustenie úspešné",
|
|
11
9
|
failed: "Spustenie zlyhalo"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/vi-VN.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "Mở/Thu gọn bảng điều khiển Uniscript" },
|
|
6
|
+
panel: { execute: "Thực thi Uniscript" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "Thực thi thành công",
|
|
11
9
|
failed: "Thực thi thất bại"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/zh-CN.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "打开收起 Uniscript 面板" },
|
|
6
|
+
panel: { execute: "执行 Uniscript" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "执行成功",
|
|
11
9
|
failed: "执行失败"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/zh-HK.ts
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "打開收起 Uniscript 面板" },
|
|
6
|
+
panel: { execute: "執行 Uniscript" },
|
|
7
|
+
message: {
|
|
8
|
+
success: "執行成功",
|
|
9
|
+
failed: "執行失敗"
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
module.exports = locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/zh-TW.ts
|
|
3
|
-
const locale = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
uniscript: { message: {
|
|
3
|
+
const locale = { uniscript: {
|
|
4
|
+
title: "Uniscript",
|
|
5
|
+
tooltip: { "menu-button": "打開收起 Uniscript 面板" },
|
|
6
|
+
panel: { execute: "執行 Uniscript" },
|
|
7
|
+
message: {
|
|
10
8
|
success: "執行成功",
|
|
11
9
|
failed: "執行失敗"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
} };
|
|
14
12
|
|
|
15
13
|
//#endregion
|
|
16
14
|
module.exports = locale;
|
package/lib/es/index.js
CHANGED
|
@@ -104,7 +104,7 @@ const ToggleScriptPanelOperation = {
|
|
|
104
104
|
} else {
|
|
105
105
|
scriptPanelService.open();
|
|
106
106
|
sidebarService.open({
|
|
107
|
-
header: { title: "
|
|
107
|
+
header: { title: "uniscript.title" },
|
|
108
108
|
children: { label: ScriptPanelComponentName },
|
|
109
109
|
width: 600
|
|
110
110
|
});
|
|
@@ -116,7 +116,7 @@ const ToggleScriptPanelOperation = {
|
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region package.json
|
|
118
118
|
var name = "@univerjs/uniscript";
|
|
119
|
-
var version = "0.
|
|
119
|
+
var version = "0.24.0-insiders.20260527-b1d726f";
|
|
120
120
|
|
|
121
121
|
//#endregion
|
|
122
122
|
//#region src/config/config.ts
|
|
@@ -130,7 +130,7 @@ function UniscriptMenuItemFactory(accessor) {
|
|
|
130
130
|
return {
|
|
131
131
|
id: ToggleScriptPanelOperation.id,
|
|
132
132
|
title: "toggle-script-panel",
|
|
133
|
-
tooltip: "
|
|
133
|
+
tooltip: "uniscript.tooltip.menu-button",
|
|
134
134
|
icon: "CodeIcon",
|
|
135
135
|
type: MenuItemType.BUTTON,
|
|
136
136
|
hidden$: getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_SHEET),
|
|
@@ -300,7 +300,7 @@ function ScriptEditorPanel() {
|
|
|
300
300
|
children: /* @__PURE__ */ jsx(Button, {
|
|
301
301
|
variant: "primary",
|
|
302
302
|
onClick: startExecution,
|
|
303
|
-
children: localeService.t("
|
|
303
|
+
children: localeService.t("uniscript.panel.execute")
|
|
304
304
|
})
|
|
305
305
|
})]
|
|
306
306
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/locale/ar-SA.ts
|
|
2
|
+
const locale = { uniscript: {
|
|
3
|
+
title: "Uniscript",
|
|
4
|
+
tooltip: { "menu-button": "تبديل لوحة Uniscript" },
|
|
5
|
+
panel: { execute: "تنفيذ البرنامج النصي" },
|
|
6
|
+
message: {
|
|
7
|
+
success: "نجح التنفيذ",
|
|
8
|
+
failed: "فشل التنفيذ"
|
|
9
|
+
}
|
|
10
|
+
} };
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { locale as default };
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
//#region src/locale/ca-ES.ts
|
|
2
|
-
const locale = {
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
uniscript: { message: {
|
|
2
|
+
const locale = { uniscript: {
|
|
3
|
+
title: "Uniscript",
|
|
4
|
+
tooltip: { "menu-button": "Mostra/Oculta el panell Uniscript" },
|
|
5
|
+
panel: { execute: "Executa l'script" },
|
|
6
|
+
message: {
|
|
9
7
|
success: "Execució correcta",
|
|
10
8
|
failed: "Execució fallida"
|
|
11
|
-
}
|
|
12
|
-
};
|
|
9
|
+
}
|
|
10
|
+
} };
|
|
13
11
|
|
|
14
12
|
//#endregion
|
|
15
13
|
export { locale as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { uniscript: {
|
|
3
|
+
title: "Uniscript",
|
|
4
|
+
tooltip: { "menu-button": "Uniscript-Panel ein-/ausblenden" },
|
|
5
|
+
panel: { execute: "Skript ausführen" },
|
|
6
|
+
message: {
|
|
7
|
+
success: "Ausführung erfolgreich",
|
|
8
|
+
failed: "Ausführung fehlgeschlagen"
|
|
9
|
+
}
|
|
10
|
+
} };
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { locale as default };
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -14,17 +14,15 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
const locale = {
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
uniscript: { message: {
|
|
17
|
+
const locale = { uniscript: {
|
|
18
|
+
title: "Uniscript",
|
|
19
|
+
tooltip: { "menu-button": "Toggle Uniscript Panel" },
|
|
20
|
+
panel: { execute: "Execute Script" },
|
|
21
|
+
message: {
|
|
24
22
|
success: "Execution Success",
|
|
25
23
|
failed: "Execution Failed"
|
|
26
|
-
}
|
|
27
|
-
};
|
|
24
|
+
}
|
|
25
|
+
} };
|
|
28
26
|
|
|
29
27
|
//#endregion
|
|
30
28
|
export { locale as default };
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
//#region src/locale/es-ES.ts
|
|
2
|
-
const locale = {
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
uniscript: { message: {
|
|
2
|
+
const locale = { uniscript: {
|
|
3
|
+
title: "Uniscript",
|
|
4
|
+
tooltip: { "menu-button": "Mostrar/Ocultar panel de Uniscript" },
|
|
5
|
+
panel: { execute: "Ejecutar script" },
|
|
6
|
+
message: {
|
|
9
7
|
success: "Ejecución exitosa",
|
|
10
8
|
failed: "Ejecución fallida"
|
|
11
|
-
}
|
|
12
|
-
};
|
|
9
|
+
}
|
|
10
|
+
} };
|
|
13
11
|
|
|
14
12
|
//#endregion
|
|
15
13
|
export { locale as default };
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
//#region src/locale/fa-IR.ts
|
|
2
|
-
const locale = {
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
uniscript: { message: {
|
|
2
|
+
const locale = { uniscript: {
|
|
3
|
+
title: "Uniscript",
|
|
4
|
+
tooltip: { "menu-button": "نمایش/مخفی کردن پنل Uniscript" },
|
|
5
|
+
panel: { execute: "اجرای اسکریپت" },
|
|
6
|
+
message: {
|
|
9
7
|
success: "اجرای موفق",
|
|
10
8
|
failed: "اجرای ناموفق"
|
|
11
|
-
}
|
|
12
|
-
};
|
|
9
|
+
}
|
|
10
|
+
} };
|
|
13
11
|
|
|
14
12
|
//#endregion
|
|
15
13
|
export { locale as default };
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
//#region src/locale/fr-FR.ts
|
|
2
|
-
const locale = {
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
uniscript: { message: {
|
|
2
|
+
const locale = { uniscript: {
|
|
3
|
+
title: "Uniscript",
|
|
4
|
+
tooltip: { "menu-button": "Basculer le panneau Uniscript" },
|
|
5
|
+
panel: { execute: "Exécuter le script" },
|
|
6
|
+
message: {
|
|
9
7
|
success: "Exécution réussie",
|
|
10
8
|
failed: "Échec de l'exécution"
|
|
11
|
-
}
|
|
12
|
-
};
|
|
9
|
+
}
|
|
10
|
+
} };
|
|
13
11
|
|
|
14
12
|
//#endregion
|
|
15
13
|
export { locale as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/locale/id-ID.ts
|
|
2
|
+
const locale = { uniscript: {
|
|
3
|
+
title: "Uniscript",
|
|
4
|
+
tooltip: { "menu-button": "Alihkan Panel Uniscript" },
|
|
5
|
+
panel: { execute: "Jalankan Skrip" },
|
|
6
|
+
message: {
|
|
7
|
+
success: "Eksekusi Berhasil",
|
|
8
|
+
failed: "Eksekusi Gagal"
|
|
9
|
+
}
|
|
10
|
+
} };
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { locale as default };
|