mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 06:33:09 +02:00
chore: add locales for defaultLike
This commit is contained in:
parent
13550bac35
commit
97bd4e6f82
5 changed files with 14 additions and 3 deletions
|
@ -987,6 +987,7 @@ cannotLoad: "Unable to load"
|
|||
numberOfProfileView: "Profile views"
|
||||
like: "Like"
|
||||
unlike: "Unlike"
|
||||
defaultLike: "Default like emoji"
|
||||
numberOfLikes: "Likes"
|
||||
show: "Show"
|
||||
neverShow: "Don't show again"
|
||||
|
@ -1855,6 +1856,14 @@ _ago:
|
|||
monthsAgo: "{n}mo ago"
|
||||
yearsAgo: "{n}y ago"
|
||||
invalid: "None"
|
||||
_timeIn:
|
||||
seconds: "{n} seconds later"
|
||||
minutes: "{n} minutes later"
|
||||
hours: "{n} hours later"
|
||||
days: "{n} days later"
|
||||
weeks: "{n} weeks later"
|
||||
months: "{n} months later"
|
||||
years: "{n} years later"
|
||||
_time:
|
||||
second: "Second(s)"
|
||||
minute: "Minute(s)"
|
||||
|
|
1
locales/index.d.ts
vendored
1
locales/index.d.ts
vendored
|
@ -990,6 +990,7 @@ export interface Locale {
|
|||
"numberOfProfileView": string;
|
||||
"like": string;
|
||||
"unlike": string;
|
||||
"defaultLike": string;
|
||||
"numberOfLikes": string;
|
||||
"show": string;
|
||||
"neverShow": string;
|
||||
|
|
|
@ -987,6 +987,7 @@ cannotLoad: "読み込めません"
|
|||
numberOfProfileView: "プロフィール表示回数"
|
||||
like: "いいね!"
|
||||
unlike: "いいねを解除"
|
||||
defaultLike: "絵文字のようなデフォルト"
|
||||
numberOfLikes: "いいね数"
|
||||
show: "表示"
|
||||
neverShow: "今後表示しない"
|
||||
|
@ -2403,7 +2404,7 @@ _externalResourceInstaller:
|
|||
_themeInstallFailed:
|
||||
title: "テーマのインストールに失敗しました"
|
||||
description: "テーマのインストール中に問題が発生しました。もう一度お試しください。エラーの詳細はJavascriptコンソールをご覧ください。"
|
||||
|
||||
|
||||
_animatedMFM:
|
||||
play: "MFMアニメーションを再生"
|
||||
stop: "MFMアニメーション停止"
|
||||
|
|
|
@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</MkInput>
|
||||
|
||||
<FromSlot>
|
||||
<template #label>Default like emoji</template>
|
||||
<template #label>{{ i18n.ts.defaultLike }}</template>
|
||||
<MkCustomEmoji v-if="defaultLike.startsWith(':')" style="max-height: 3em; font-size: 1.1em;" :useOriginalSize="false" :class="$style.reaction" :name="defaultLike" :normal="true" :noStyle="true"/>
|
||||
<MkEmoji v-else :emoji="defaultLike" style="max-height: 3em; font-size: 1.1em;" :normal="true" :noStyle="true"/>
|
||||
<MkButton rounded :small="true" @click="chooseNewLike"><i class="ph-smiley ph-bold ph-lg"></i> Change</MkButton>
|
||||
|
|
|
@ -24,7 +24,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</FromSlot>
|
||||
|
||||
<FromSlot>
|
||||
<template #label>Default like emoji</template>
|
||||
<template #label>{{ i18n.ts.defaultLike }}</template>
|
||||
<MkCustomEmoji v-if="like && like.startsWith(':')" style="max-height: 3em; font-size: 1.1em;" :useOriginalSize="false" :class="$style.reaction" :name="like" :normal="true" :noStyle="true"/>
|
||||
<MkEmoji v-else-if="like && !like.startsWith(':')" :emoji="like" style="max-height: 3em; font-size: 1.1em;" :normal="true" :noStyle="true"/>
|
||||
<span v-else-if="!like">{{ i18n.ts.notSet }}</span>
|
||||
|
|
Loading…
Reference in a new issue