mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-27 14:28:53 +09:00
tweak cfcaedc5
This commit is contained in:
parent
eb4acc358b
commit
f34ee384d5
@ -1,6 +1,5 @@
|
||||
---
|
||||
_lang_: "English"
|
||||
closeTranslate: "Close translation"
|
||||
posted: "Note are now published."
|
||||
translateNote: "Translate Note"
|
||||
showTranslateButtonInNote: "Display translate button in note body"
|
||||
|
3
locales/index.d.ts
vendored
3
locales/index.d.ts
vendored
@ -3,7 +3,6 @@
|
||||
// Do not edit this file directly.
|
||||
export interface Locale {
|
||||
"_lang_": string;
|
||||
"closeTranslate": string;
|
||||
"posted": string;
|
||||
"translateNote": string;
|
||||
"showTranslateButtonInNote": string;
|
||||
@ -1113,10 +1112,10 @@ export interface Locale {
|
||||
"goToMisskey": string;
|
||||
"additionalEmojiDictionary": string;
|
||||
"installed": string;
|
||||
"branding": string;
|
||||
"additionalPermissionsForFlash": string;
|
||||
"thisFlashRequiresTheFollowingPermissions": string;
|
||||
"doYouWantToAllowThisPlayToAccessYourAccount": string;
|
||||
"branding": string;
|
||||
"translateProfile": string;
|
||||
"_group": {
|
||||
"leader": string;
|
||||
|
@ -1,6 +1,5 @@
|
||||
_lang_: "日本語"
|
||||
|
||||
closeTranslate: "翻訳を閉じる"
|
||||
posted: "ノートを公開しました。"
|
||||
translateNote: "ノートを翻訳する"
|
||||
showTranslateButtonInNote: "ノート本文に翻訳ボタンを表示"
|
||||
|
@ -1,6 +1,5 @@
|
||||
---
|
||||
_lang_: "한국어"
|
||||
closeTranslate: "번역 닫기"
|
||||
posted: "노트를 게시했어요!"
|
||||
translateNote: "노트 번역하기"
|
||||
showTranslateButtonInNote: "노트 본문에 번역 버튼 표시"
|
||||
|
@ -67,7 +67,7 @@
|
||||
<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :emojiUrls="appearNote.emojis"/>
|
||||
<div v-if="defaultStore.state.showTranslateButtonInNote" style="padding-top: 5px; color: var(--accent);">
|
||||
<button v-if="!(translating || translation)" ref="translateButton" class="_button" @mousedown="translate()">{{ i18n.ts.translateNote }}</button>
|
||||
<button v-else class="_button" @mousedown="translation = null">{{ i18n.ts.closeTranslate }}</button>
|
||||
<button v-else class="_button" @mousedown="translation = null"><i class="ti ti-x"></i> {{ i18n.ts.close }}</button>
|
||||
</div>
|
||||
<div v-if="translating || translation" :class="$style.translation">
|
||||
<MkLoading v-if="translating" mini/>
|
||||
|
@ -88,7 +88,7 @@
|
||||
<a v-if="appearNote.renote != null" :class="$style.rn">RN:</a>
|
||||
<div v-if="defaultStore.state.showTranslateButtonInNote" style="padding-top: 5px; color: var(--accent);">
|
||||
<button v-if="!(translating || translation)" ref="translateButton" class="_button" @mousedown="translate()">{{ i18n.ts.translateNote }}</button>
|
||||
<button v-else class="_button" @mousedown="translation = null">{{ i18n.ts.closeTranslate }}</button>
|
||||
<button v-else class="_button" @mousedown="translation = null"><i class="ti ti-x"></i> {{ i18n.ts.close }}</button>
|
||||
</div>
|
||||
<div v-if="translating || translation" :class="$style.translation">
|
||||
<MkLoading v-if="translating" mini/>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<MkA v-if="note.renoteId" :class="$style.rp" :to="`/notes/${note.renoteId}`">RN: ...</MkA>
|
||||
<div v-if="defaultStore.state.showTranslateButtonInNote" style="padding-top: 5px; color: var(--accent);">
|
||||
<button v-if="!(translating || translation)" ref="translateButton" class="_button" @mousedown="translate()">{{ i18n.ts.translateNote }}</button>
|
||||
<button v-else class="_button" @mousedown="translation = null">{{ i18n.ts.closeTranslate }}</button>
|
||||
<button v-else class="_button" @mousedown="translation = null"><i class="ti ti-x"></i> {{ i18n.ts.close }}</button>
|
||||
</div>
|
||||
<div v-if="translating || translation" :class="$style.translation">
|
||||
<MkLoading v-if="translating" mini/>
|
||||
|
@ -75,7 +75,7 @@
|
||||
<p v-else class="empty">{{ i18n.ts.noAccountDescription }}</p>
|
||||
<div v-if="user.description">
|
||||
<MkButton v-if="!(translating || translation)" class="translateButton" small @click="translate"><i class="ti ti-language-hiragana"></i> {{ i18n.ts.translateProfile }}</MkButton>
|
||||
<MkButton v-else class="translateButton" small @click="translation = null">{{ i18n.ts.closeTranslate }}</MkButton>
|
||||
<MkButton v-else class="translateButton" small @click="translation = null"><i class="ti ti-x"></i> {{ i18n.ts.close }}</MkButton>
|
||||
</div>
|
||||
<div v-if="translating || translation" class="translation">
|
||||
<MkLoading v-if="translating" mini/>
|
||||
|
Loading…
Reference in New Issue
Block a user