fix misc warnings

This commit is contained in:
Henry Jameson 2022-03-29 00:02:02 +03:00
parent f21dc21a83
commit 650e69c336
6 changed files with 9 additions and 9 deletions

View file

@ -112,7 +112,7 @@
</span>
<span v-if="notification.type === 'pleroma:emoji_reaction'">
<small>
<i18n-t keypath="notifications.reacted_with">
<i18n-t scope="global" keypath="notifications.reacted_with">
<span class="emoji-reaction-emoji">{{ notification.emoji }}</span>
</i18n-t>
</small>

View file

@ -71,7 +71,7 @@
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }}&nbsp;·&nbsp;
</template>
</div>
<i18n-t :keypath="expired ? 'polls.expired' : 'polls.expires_in'">
<i18n-t scope="global" :keypath="expired ? 'polls.expired' : 'polls.expires_in'">
<Timeago
:time="expiresAt"
:auto-update="60"

View file

@ -8,7 +8,7 @@ export default {
path: String,
disabled: Boolean,
min: Number,
expert: Number
expert: [Number, String]
},
computed: {
pathDefault () {

View file

@ -951,14 +951,14 @@
:fallback="currentShadowFallback"
/>
<div v-if="shadowSelected === 'avatar' || shadowSelected === 'avatarStatus'">
<i18n-t
<i18n-t scope="global"
keypath="settings.style.shadows.filter_hint.always_drop_shadow"
tag="p"
>
<code>filter: drop-shadow()</code>
</i18n-t>
<p>{{ $t('settings.style.shadows.filter_hint.avatar_inset') }}</p>
<i18n-t
<i18n-t scope="global"
keypath="settings.style.shadows.filter_hint.drop_shadow_syntax"
tag="p"
>
@ -966,7 +966,7 @@
<code>spread-radius</code>
<code>inset</code>
</i18n-t>
<i18n-t
<i18n-t scope="global"
keypath="settings.style.shadows.filter_hint.inset_classic"
tag="p"
>

View file

@ -204,7 +204,7 @@
v-model="selected.alpha"
:disabled="!present"
/>
<i18n-t
<i18n-t scope="global"
keypath="settings.style.shadows.hintV3"
tag="p"
>

View file

@ -74,7 +74,7 @@
v-if="currentReplies.length && !threadShowing"
class="thread-tree-replies thread-tree-replies-hidden"
>
<i18n-t
<i18n-t scope="global"
v-if="simple"
tag="button"
keypath="status.thread_follow_with_icon"
@ -92,7 +92,7 @@
</span>
</template>
</i18n-t>
<i18n-t
<i18n-t scope="global"
v-else
tag="button"
keypath="status.thread_show_full_with_icon"