wip
This commit is contained in:
parent
0c2c5688db
commit
0f789a519f
|
@ -11899,6 +11899,10 @@ export interface Locale extends ILocale {
|
|||
* アップロードされていないファイルがありますが、完了しますか?
|
||||
*/
|
||||
"doneConfirm": string;
|
||||
/**
|
||||
* アップロード可能な最大ファイルサイズは{x}です。
|
||||
*/
|
||||
"maxFileSizeIsX": ParameterizedString<"x">;
|
||||
};
|
||||
"_clientPerformanceIssueTip": {
|
||||
/**
|
||||
|
|
|
@ -3183,6 +3183,7 @@ _uploader:
|
|||
savedXPercent: "{x}%節約"
|
||||
abortConfirm: "アップロードされていないファイルがありますが、中止しますか?"
|
||||
doneConfirm: "アップロードされていないファイルがありますが、完了しますか?"
|
||||
maxFileSizeIsX: "アップロード可能な最大ファイルサイズは{x}です。"
|
||||
|
||||
_clientPerformanceIssueTip:
|
||||
title: "バッテリー消費が多いと感じたら"
|
||||
|
|
|
@ -60,6 +60,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
>
|
||||
<template #label>{{ i18n.ts.compress }}</template>
|
||||
</MkSelect>
|
||||
|
||||
<div>{{ i18n.tsx._uploader.maxFileSizeIsX({ x: $i.policies.maxFileSizeMb + 'MB' }) }}</div>
|
||||
</div>
|
||||
|
||||
<template #footer>
|
||||
|
@ -91,6 +93,9 @@ import MkSelect from '@/components/MkSelect.vue';
|
|||
import { isWebpSupported } from '@/utility/isWebpSupported.js';
|
||||
import { uploadFile } from '@/utility/drive.js';
|
||||
import * as os from '@/os.js';
|
||||
import { ensureSignin } from '@/i.js';
|
||||
|
||||
const $i = ensureSignin();
|
||||
|
||||
const COMPRESSION_SUPPORTED_TYPES = [
|
||||
'image/jpeg',
|
||||
|
|
Loading…
Reference in New Issue