This commit is contained in:
tamaina 2025-08-31 21:52:17 +09:00
parent 09d39d1fcf
commit bcb36d8b6f
3 changed files with 12 additions and 4 deletions

8
locales/index.d.ts vendored
View File

@ -12601,6 +12601,14 @@ export interface Locale extends ILocale {
*
*/
"scanFile": string;
/**
*
*/
"raw": string;
/**
* MFM
*/
"mfm": string;
};
}
declare const locales: {

View File

@ -3374,6 +3374,5 @@ _qr:
stopQr: "コードリーダーを停止"
noQrCodeFound: "QRコードが見つかりません"
scanFile: "端末の画像をスキャン"
urls: "URL"
raw: "生データ"
raw: "テキスト"
mfm: "MFM"

View File

@ -7,12 +7,12 @@
:tabs="[
{
key: 'mfm',
title: 'MFM',
title: i18n.ts._qr.mfm,
icon: 'ti ti-align-left',
},
{
key: 'raw',
title: 'Raw',
title: i18n.ts._qr.raw,
icon: 'ti ti-code',
},
]"
@ -37,6 +37,7 @@ import MkTabs from '@/components/MkTabs.vue';
import { extractUrlFromMfm } from '@/utility/extract-url-from-mfm';
import MkCode from '@/components/MkCode.vue';
import MkUrlPreview from '@/components/MkUrlPreview.vue';
import { i18n } from '@/i18n.js';
const props = defineProps<{
data: string;