mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-06 21:34:15 +02:00
wip
This commit is contained in:
@@ -3564,3 +3564,4 @@ _room:
|
|||||||
resolution: "解像度"
|
resolution: "解像度"
|
||||||
yourDeviceNotSupported_title: "お使いのデバイスはMisskeyRoomをサポートしていません。"
|
yourDeviceNotSupported_title: "お使いのデバイスはMisskeyRoomをサポートしていません。"
|
||||||
yourDeviceNotSupported_description: "MisskeyRoomを動作させるには、WebGPUをサポートするデバイスが必要です。"
|
yourDeviceNotSupported_description: "MisskeyRoomを動作させるには、WebGPUをサポートするデバイスが必要です。"
|
||||||
|
failedToInitialize: "初期化に失敗しました"
|
||||||
|
|||||||
@@ -285,7 +285,16 @@ onMounted(async () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
controller.init(canvas.value!);
|
try {
|
||||||
|
await controller.init(canvas.value!);
|
||||||
|
} catch (err) {
|
||||||
|
os.alert({
|
||||||
|
type: 'error',
|
||||||
|
title: i18n.ts._room.failedToInitialize,
|
||||||
|
text: (err instanceof Error ? err.message : String(err)),
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
canvas.value!.focus();
|
canvas.value!.focus();
|
||||||
|
|
||||||
|
|||||||
@@ -13299,5 +13299,9 @@ export interface Locale extends ILocale {
|
|||||||
* MisskeyRoomを動作させるには、WebGPUをサポートするデバイスが必要です。
|
* MisskeyRoomを動作させるには、WebGPUをサポートするデバイスが必要です。
|
||||||
*/
|
*/
|
||||||
"yourDeviceNotSupported_description": string;
|
"yourDeviceNotSupported_description": string;
|
||||||
|
/**
|
||||||
|
* 初期化に失敗しました
|
||||||
|
*/
|
||||||
|
"failedToInitialize": string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user