forked from AkkomaGang/akkoma-fe
fix i18n at places
This commit is contained in:
parent
961ca3a71b
commit
01d8fa4e54
6 changed files with 67 additions and 52 deletions
|
@ -27,20 +27,23 @@
|
||||||
v-if="shouldShowAllConversationButton"
|
v-if="shouldShowAllConversationButton"
|
||||||
class="conversation-dive-to-top-level-box"
|
class="conversation-dive-to-top-level-box"
|
||||||
>
|
>
|
||||||
<i18n
|
<i18n-t
|
||||||
path="status.show_all_conversation_with_icon"
|
keypath="status.show_all_conversation_with_icon"
|
||||||
tag="button"
|
tag="button"
|
||||||
class="button-unstyled -link"
|
class="button-unstyled -link"
|
||||||
@click.prevent="diveToTopLevel"
|
@click.prevent="diveToTopLevel"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<template #icon>
|
||||||
place="icon"
|
<FAIcon
|
||||||
icon="angle-double-left"
|
icon="angle-double-left"
|
||||||
/>
|
/>
|
||||||
<span place="text">
|
</template>
|
||||||
{{ $tc('status.show_all_conversation', otherTopLevelCount, { numStatus: otherTopLevelCount }) }}
|
<template #text>
|
||||||
</span>
|
<span>
|
||||||
</i18n>
|
{{ $tc('status.show_all_conversation', otherTopLevelCount, { numStatus: otherTopLevelCount }) }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="shouldShowAncestors"
|
v-if="shouldShowAncestors"
|
||||||
|
@ -96,20 +99,23 @@
|
||||||
<div
|
<div
|
||||||
class="thread-ancestor-dive-box-inner"
|
class="thread-ancestor-dive-box-inner"
|
||||||
>
|
>
|
||||||
<i18n
|
<i18n-t
|
||||||
tag="button"
|
tag="button"
|
||||||
path="status.ancestor_follow_with_icon"
|
keypath="status.ancestor_follow_with_icon"
|
||||||
class="button-unstyled -link thread-tree-show-replies-button"
|
class="button-unstyled -link thread-tree-show-replies-button"
|
||||||
@click.prevent="diveIntoStatus(status.id)"
|
@click.prevent="diveIntoStatus(status.id)"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<template #icon>
|
||||||
place="icon"
|
<FAIcon
|
||||||
icon="angle-double-right"
|
icon="angle-double-right"
|
||||||
/>
|
/>
|
||||||
<span place="text">
|
</template>
|
||||||
{{ $tc('status.ancestor_follow', getReplies(status.id).length - 1, { numReplies: getReplies(status.id).length - 1 }) }}
|
<template #text>
|
||||||
</span>
|
<span>
|
||||||
</i18n>
|
{{ $tc('status.ancestor_follow', getReplies(status.id).length - 1, { numReplies: getReplies(status.id).length - 1 }) }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</span>
|
</span>
|
||||||
|
{{ ' ' }}
|
||||||
<ModifiedIndicator :changed="isChanged" /><ServerSideIndicator :server-side="isServerSide" /> </Checkbox>
|
<ModifiedIndicator :changed="isChanged" /><ServerSideIndicator :server-side="isServerSide" /> </Checkbox>
|
||||||
</label>
|
</label>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
:value="state"
|
:value="state"
|
||||||
@change="update"
|
@change="update"
|
||||||
>
|
>
|
||||||
|
{{ ' ' }}
|
||||||
<ModifiedIndicator :changed="isChanged" />
|
<ModifiedIndicator :changed="isChanged" />
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -925,6 +925,7 @@
|
||||||
>
|
>
|
||||||
{{ $t('settings.style.shadows.override') }}
|
{{ $t('settings.style.shadows.override') }}
|
||||||
</label>
|
</label>
|
||||||
|
{{ ' ' }}
|
||||||
<input
|
<input
|
||||||
id="override"
|
id="override"
|
||||||
v-model="currentShadowOverriden"
|
v-model="currentShadowOverriden"
|
||||||
|
@ -950,27 +951,27 @@
|
||||||
:fallback="currentShadowFallback"
|
:fallback="currentShadowFallback"
|
||||||
/>
|
/>
|
||||||
<div v-if="shadowSelected === 'avatar' || shadowSelected === 'avatarStatus'">
|
<div v-if="shadowSelected === 'avatar' || shadowSelected === 'avatarStatus'">
|
||||||
<i18n
|
<i18n-t
|
||||||
path="settings.style.shadows.filter_hint.always_drop_shadow"
|
keypath="settings.style.shadows.filter_hint.always_drop_shadow"
|
||||||
tag="p"
|
tag="p"
|
||||||
>
|
>
|
||||||
<code>filter: drop-shadow()</code>
|
<code>filter: drop-shadow()</code>
|
||||||
</i18n>
|
</i18n-t>
|
||||||
<p>{{ $t('settings.style.shadows.filter_hint.avatar_inset') }}</p>
|
<p>{{ $t('settings.style.shadows.filter_hint.avatar_inset') }}</p>
|
||||||
<i18n
|
<i18n-t
|
||||||
path="settings.style.shadows.filter_hint.drop_shadow_syntax"
|
keypath="settings.style.shadows.filter_hint.drop_shadow_syntax"
|
||||||
tag="p"
|
tag="p"
|
||||||
>
|
>
|
||||||
<code>drop-shadow</code>
|
<code>drop-shadow</code>
|
||||||
<code>spread-radius</code>
|
<code>spread-radius</code>
|
||||||
<code>inset</code>
|
<code>inset</code>
|
||||||
</i18n>
|
</i18n-t>
|
||||||
<i18n
|
<i18n-t
|
||||||
path="settings.style.shadows.filter_hint.inset_classic"
|
keypath="settings.style.shadows.filter_hint.inset_classic"
|
||||||
tag="p"
|
tag="p"
|
||||||
>
|
>
|
||||||
<code>box-shadow</code>
|
<code>box-shadow</code>
|
||||||
</i18n>
|
</i18n-t>
|
||||||
<p>{{ $t('settings.style.shadows.filter_hint.spread_zero') }}</p>
|
<p>{{ $t('settings.style.shadows.filter_hint.spread_zero') }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -204,12 +204,12 @@
|
||||||
v-model="selected.alpha"
|
v-model="selected.alpha"
|
||||||
:disabled="!present"
|
:disabled="!present"
|
||||||
/>
|
/>
|
||||||
<i18n
|
<i18n-t
|
||||||
path="settings.style.shadows.hintV3"
|
keypath="settings.style.shadows.hintV3"
|
||||||
tag="p"
|
tag="p"
|
||||||
>
|
>
|
||||||
<code>--variable,mod</code>
|
<code>--variable,mod</code>
|
||||||
</i18n>
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -74,36 +74,42 @@
|
||||||
v-if="currentReplies.length && !threadShowing"
|
v-if="currentReplies.length && !threadShowing"
|
||||||
class="thread-tree-replies thread-tree-replies-hidden"
|
class="thread-tree-replies thread-tree-replies-hidden"
|
||||||
>
|
>
|
||||||
<i18n
|
<i18n-t
|
||||||
v-if="simple"
|
v-if="simple"
|
||||||
tag="button"
|
tag="button"
|
||||||
path="status.thread_follow_with_icon"
|
keypath="status.thread_follow_with_icon"
|
||||||
class="button-unstyled -link thread-tree-show-replies-button"
|
class="button-unstyled -link thread-tree-show-replies-button"
|
||||||
@click.prevent="dive(status.id)"
|
@click.prevent="dive(status.id)"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<template #icon>
|
||||||
place="icon"
|
<FAIcon
|
||||||
icon="angle-double-right"
|
icon="angle-double-right"
|
||||||
/>
|
/>
|
||||||
<span place="text">
|
</template>
|
||||||
{{ $tc('status.thread_follow', totalReplyCount[status.id], { numStatus: totalReplyCount[status.id] }) }}
|
<template #text>
|
||||||
</span>
|
<span>
|
||||||
</i18n>
|
{{ $tc('status.thread_follow', totalReplyCount[status.id], { numStatus: totalReplyCount[status.id] }) }}
|
||||||
<i18n
|
</span>
|
||||||
|
</template>
|
||||||
|
</i18n-t>
|
||||||
|
<i18n-t
|
||||||
v-else
|
v-else
|
||||||
tag="button"
|
tag="button"
|
||||||
path="status.thread_show_full_with_icon"
|
keypath="status.thread_show_full_with_icon"
|
||||||
class="button-unstyled -link thread-tree-show-replies-button"
|
class="button-unstyled -link thread-tree-show-replies-button"
|
||||||
@click.prevent="showThreadRecursively(status.id)"
|
@click.prevent="showThreadRecursively(status.id)"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<template #icon>
|
||||||
place="icon"
|
<FAIcon
|
||||||
icon="angle-double-down"
|
icon="angle-double-down"
|
||||||
/>
|
/>
|
||||||
<span place="text">
|
</template>
|
||||||
{{ $tc('status.thread_show_full', totalReplyCount[status.id], { numStatus: totalReplyCount[status.id], depth: totalReplyDepth[status.id] }) }}
|
<template #text>
|
||||||
</span>
|
<span>
|
||||||
</i18n>
|
{{ $tc('status.thread_show_full', totalReplyCount[status.id], { numStatus: totalReplyCount[status.id], depth: totalReplyDepth[status.id] }) }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue