mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 Improve reconnection prompt after switching apps on iOS https://github.com/siyuan-note/siyuan/issues/14279
This commit is contained in:
parent
c0c6735e61
commit
3693788e3e
13 changed files with 30 additions and 7 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"pleaseWait": "يرجى الانتظار...",
|
||||||
|
"reconnectPrompt": "بعد تبديل التطبيقات، سيستغرق الأمر بعض الوقت لاستعادة تشغيل نواة SiYuan. يرجى الانتظار بضع ثوانٍ أو النقر فوق الزر \"إعادة المحاولة\"",
|
||||||
"relativeFontSize": "نسبة إلى حجم خط المحرر",
|
"relativeFontSize": "نسبة إلى حجم خط المحرر",
|
||||||
"localFileSystem": "نظام الملفات المحلي",
|
"localFileSystem": "نظام الملفات المحلي",
|
||||||
"deviceNotSupport": "الجهاز الحالي غير مدعوم",
|
"deviceNotSupport": "الجهاز الحالي غير مدعوم",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"relativeFontSize": "relativ zur Schriftgröße des Editors",
|
||||||
"localFileSystem": "Lokales Dateisystem",
|
"localFileSystem": "Lokales Dateisystem",
|
||||||
"deviceNotSupport": "Das aktuelle Gerät wird nicht unterstützt",
|
"deviceNotSupport": "Das aktuelle Gerät wird nicht unterstützt",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"relativeFontSize": "relative to the editor font size",
|
||||||
"localFileSystem": "Local file system",
|
"localFileSystem": "Local file system",
|
||||||
"deviceNotSupport": "The current device is not supported",
|
"deviceNotSupport": "The current device is not supported",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"relativeFontSize": "en relación con el tamaño de fuente del editor",
|
||||||
"localFileSystem": "Sistema de archivos local",
|
"localFileSystem": "Sistema de archivos local",
|
||||||
"deviceNotSupport": "El dispositivo actual no es compatible",
|
"deviceNotSupport": "El dispositivo actual no es compatible",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"relativeFontSize": "par rapport à la taille de la police de l'éditeur",
|
||||||
"localFileSystem": "Système de fichiers local",
|
"localFileSystem": "Système de fichiers local",
|
||||||
"deviceNotSupport": "L'appareil actuel n'est pas pris en charge",
|
"deviceNotSupport": "L'appareil actuel n'est pas pris en charge",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"pleaseWait": "אנא המתן...",
|
||||||
|
"reconnectPrompt": "לאחר מעבר בין יישומים, יידרש זמן מה כדי לשחזר את פעולת ליבת SiYuan. אנא המתן מספר שניות או לחץ על כפתור \"נסה שוב\"",
|
||||||
"relativeFontSize": "יחסית לגודל הגופן של העורך",
|
"relativeFontSize": "יחסית לגודל הגופן של העורך",
|
||||||
"localFileSystem": "מערכת קבצים מקומית",
|
"localFileSystem": "מערכת קבצים מקומית",
|
||||||
"deviceNotSupport": "המכשיר הנוכחי אינו נתמך",
|
"deviceNotSupport": "המכשיר הנוכחי אינו נתמך",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"relativeFontSize": "rispetto alla dimensione del carattere dell'editor",
|
||||||
"localFileSystem": "File system locale",
|
"localFileSystem": "File system locale",
|
||||||
"deviceNotSupport": "Il dispositivo corrente non è supportato",
|
"deviceNotSupport": "Il dispositivo corrente non è supportato",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"pleaseWait": "しばらくお待ちください...",
|
||||||
|
"reconnectPrompt": "アプリを切り替えた後、思源カーネルの実行を再開するには少し時間がかかります。数秒待つか、「再試行」ボタンをクリックしてください",
|
||||||
"relativeFontSize": "エディターのフォントサイズに対して",
|
"relativeFontSize": "エディターのフォントサイズに対して",
|
||||||
"localFileSystem": "ローカルファイルシステム",
|
"localFileSystem": "ローカルファイルシステム",
|
||||||
"deviceNotSupport": "現在のデバイスはサポートされていません",
|
"deviceNotSupport": "現在のデバイスはサポートされていません",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"relativeFontSize": "względem rozmiaru czcionki edytora",
|
||||||
"localFileSystem": "Lokalny system plików",
|
"localFileSystem": "Lokalny system plików",
|
||||||
"deviceNotSupport": "Bieżące urządzenie nie jest obsługiwane",
|
"deviceNotSupport": "Bieżące urządzenie nie jest obsługiwane",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"pleaseWait": "Пожалуйста, подождите...",
|
||||||
|
"reconnectPrompt": "После переключения приложений потребуется некоторое время, чтобы восстановить работу ядра SiYuan. Пожалуйста, подождите несколько секунд или нажмите кнопку «Повторить»",
|
||||||
"relativeFontSize": "относительно размера шрифта редактора",
|
"relativeFontSize": "относительно размера шрифта редактора",
|
||||||
"localFileSystem": "Локальная файловая система",
|
"localFileSystem": "Локальная файловая система",
|
||||||
"deviceNotSupport": "Текущее устройство не поддерживается",
|
"deviceNotSupport": "Текущее устройство не поддерживается",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"pleaseWait": "請稍等片刻...",
|
||||||
|
"reconnectPrompt": "切換應用後再次進入需要一些時間恢復思源內核運行,請稍等幾秒或者點擊“重試”按鈕",
|
||||||
"relativeFontSize": "相對於編輯器字號",
|
"relativeFontSize": "相對於編輯器字號",
|
||||||
"localFileSystem": "本地檔案系統",
|
"localFileSystem": "本地檔案系統",
|
||||||
"deviceNotSupport": "當前設備不支援",
|
"deviceNotSupport": "當前設備不支援",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"pleaseWait": "请稍等片刻...",
|
||||||
|
"reconnectPrompt": "切换应用后再次进入需要一些时间恢复思源内核运行,请稍等几秒或者点击“重试”按钮",
|
||||||
"relativeFontSize": "相对于编辑器字号",
|
"relativeFontSize": "相对于编辑器字号",
|
||||||
"localFileSystem": "本地文件系统",
|
"localFileSystem": "本地文件系统",
|
||||||
"deviceNotSupport": "当前设备不支持",
|
"deviceNotSupport": "当前设备不支持",
|
||||||
|
|
|
||||||
|
|
@ -253,20 +253,19 @@ export const kernelError = () => {
|
||||||
if (document.querySelector("#errorLog")) {
|
if (document.querySelector("#errorLog")) {
|
||||||
return;
|
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()) {
|
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({
|
const dialog = new Dialog({
|
||||||
disableClose: true,
|
disableClose: true,
|
||||||
title: `💔 ${window.siyuan.languages.kernelFault0} <small>v${Constants.SIYUAN_VERSION}</small>`,
|
title: title,
|
||||||
width: isMobile() ? "92vw" : "520px",
|
width: isMobile() ? "92vw" : "520px",
|
||||||
content: `<div class="b3-dialog__content">
|
content: `<div class="b3-dialog__content">
|
||||||
<div class="ft__breakword">
|
<div class="ft__breakword">
|
||||||
<div>${window.siyuan.languages.kernelFault1}</div>
|
${body}
|
||||||
<div class="fn__hr"></div>
|
|
||||||
<div>${window.siyuan.languages.kernelFault2}</div>
|
|
||||||
${iosReStart}
|
|
||||||
</div>
|
</div>
|
||||||
</div>`
|
</div>`
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue