Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-03-05 09:19:09 +08:00
commit 482ca8ba00
14 changed files with 32 additions and 7 deletions

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "يرجى الانتظار...",
"reconnectPrompt": "بعد تبديل التطبيقات، سيستغرق الأمر بعض الوقت لاستعادة تشغيل نواة SiYuan. يرجى الانتظار بضع ثوانٍ أو النقر فوق الزر \"إعادة المحاولة\"",
"relativeFontSize": "نسبة إلى حجم خط المحرر",
"localFileSystem": "نظام الملفات المحلي",
"deviceNotSupport": "الجهاز الحالي غير مدعوم",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "Bitte warten...",
"reconnectPrompt": "Nach dem Wechseln der Anwendungen dauert es einige Zeit, bis der Betrieb des SiYuan-Kernels wiederhergestellt ist. Bitte warten Sie einige Sekunden oder klicken Sie auf die Schaltfläche „Erneut versuchen“",
"relativeFontSize": "relativ zur Schriftgröße des Editors",
"localFileSystem": "Lokales Dateisystem",
"deviceNotSupport": "Das aktuelle Gerät wird nicht unterstützt",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "Please wait...",
"reconnectPrompt": "After switching applications, it will take some time to restore the SiYuan kernel operation. Please wait a few seconds or click the \"Retry\" button",
"relativeFontSize": "relative to the editor font size",
"localFileSystem": "Local file system",
"deviceNotSupport": "The current device is not supported",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "Por favor, espere...",
"reconnectPrompt": "Después de cambiar de aplicación, tomará algún tiempo restaurar el funcionamiento del núcleo de SiYuan. Espere unos segundos o haga clic en el botón \"Reintentar\"",
"relativeFontSize": "en relación con el tamaño de fuente del editor",
"localFileSystem": "Sistema de archivos local",
"deviceNotSupport": "El dispositivo actual no es compatible",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "Veuillez patienter...",
"reconnectPrompt": "Après avoir changé d'application, il faudra un certain temps pour rétablir le fonctionnement du noyau SiYuan. Veuillez patienter quelques secondes ou cliquer sur le bouton « Réessayer »",
"relativeFontSize": "par rapport à la taille de la police de l'éditeur",
"localFileSystem": "Système de fichiers local",
"deviceNotSupport": "L'appareil actuel n'est pas pris en charge",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "אנא המתן...",
"reconnectPrompt": "לאחר מעבר בין יישומים, יידרש זמן מה כדי לשחזר את פעולת ליבת SiYuan. אנא המתן מספר שניות או לחץ על כפתור \"נסה שוב\"",
"relativeFontSize": "יחסית לגודל הגופן של העורך",
"localFileSystem": "מערכת קבצים מקומית",
"deviceNotSupport": "המכשיר הנוכחי אינו נתמך",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "Attendere prego...",
"reconnectPrompt": "Dopo aver cambiato applicazione, ci vorrà un po' di tempo per ripristinare il funzionamento del kernel SiYuan. Attendere qualche secondo o fare clic sul pulsante \"Riprova\"",
"relativeFontSize": "rispetto alla dimensione del carattere dell'editor",
"localFileSystem": "File system locale",
"deviceNotSupport": "Il dispositivo corrente non è supportato",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "しばらくお待ちください...",
"reconnectPrompt": "アプリを切り替えた後、思源カーネルの実行を再開するには少し時間がかかります。数秒待つか、「再試行」ボタンをクリックしてください",
"relativeFontSize": "エディターのフォントサイズに対して",
"localFileSystem": "ローカルファイルシステム",
"deviceNotSupport": "現在のデバイスはサポートされていません",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "Proszę czekać...",
"reconnectPrompt": "Po przełączeniu aplikacji ponowne uruchomienie jądra SiYuan może zająć trochę czasu. Proszę poczekać kilka sekund lub kliknąć przycisk „Ponów próbę”",
"relativeFontSize": "względem rozmiaru czcionki edytora",
"localFileSystem": "Lokalny system plików",
"deviceNotSupport": "Bieżące urządzenie nie jest obsługiwane",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "Пожалуйста, подождите...",
"reconnectPrompt": "После переключения приложений потребуется некоторое время, чтобы восстановить работу ядра SiYuan. Пожалуйста, подождите несколько секунд или нажмите кнопку «Повторить»",
"relativeFontSize": "относительно размера шрифта редактора",
"localFileSystem": "Локальная файловая система",
"deviceNotSupport": "Текущее устройство не поддерживается",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "請稍等片刻...",
"reconnectPrompt": "切換應用後再次進入需要一些時間恢復思源內核運行,請稍等幾秒或者點擊“重試”按鈕",
"relativeFontSize": "相對於編輯器字號",
"localFileSystem": "本地檔案系統",
"deviceNotSupport": "當前設備不支援",

View File

@ -1,4 +1,6 @@
{
"pleaseWait": "请稍等片刻...",
"reconnectPrompt": "切换应用后再次进入需要一些时间恢复思源内核运行,请稍等几秒或者点击“重试”按钮",
"relativeFontSize": "相对于编辑器字号",
"localFileSystem": "本地文件系统",
"deviceNotSupport": "当前设备不支持",

View File

@ -253,20 +253,19 @@ export const kernelError = () => {
if (document.querySelector("#errorLog")) {
return;
}
let iosReStart = "";
let title = `💔 ${window.siyuan.languages.kernelFault0} <small>v${Constants.SIYUAN_VERSION}</small>`;
let body = `<div>${window.siyuan.languages.kernelFault1}</div><div class="fn__hr"></div><div>${window.siyuan.languages.kernelFault2}</div>`;
if (isInIOS()) {
iosReStart = `<div class="fn__hr"></div><div class="fn__flex"><div class="fn__flex-1"></div><button class="b3-button">${window.siyuan.languages.retry}</button></div>`;
title = `🍵 ${window.siyuan.languages.pleaseWait} <small>v${Constants.SIYUAN_VERSION}</small>`;
body = `<div>${window.siyuan.languages.reconnectPrompt}</div><div class="fn__hr"></div><div class="fn__flex"><div class="fn__flex-1"></div><button class="b3-button">${window.siyuan.languages.retry}</button></div>`;
}
const dialog = new Dialog({
disableClose: true,
title: `💔 ${window.siyuan.languages.kernelFault0} <small>v${Constants.SIYUAN_VERSION}</small>`,
title: title,
width: isMobile() ? "92vw" : "520px",
content: `<div class="b3-dialog__content">
<div class="ft__breakword">
<div>${window.siyuan.languages.kernelFault1}</div>
<div class="fn__hr"></div>
<div>${window.siyuan.languages.kernelFault2}</div>
${iosReStart}
${body}
</div>
</div>`
});

View File

@ -186,6 +186,7 @@ interface Window {
JSAndroid: {
returnDesktop(): void
openExternal(url: string): void
exportByDefault(url: string): void
changeStatusBarColor(color: string, mode: number): void
writeClipboard(text: string): void
writeHTMLClipboard(text: string, html: string): void
@ -196,6 +197,7 @@ interface Window {
}
JSHarmony: {
openExternal(url: string): void
exportByDefault(url: string): void
changeStatusBarColor(color: string, mode: number): void
writeClipboard(text: string): void
writeHTMLClipboard(text: string, html: string): void