This commit is contained in:
Henry Jameson 2022-03-29 01:04:37 +03:00
parent 650e69c336
commit f20ae34400
14 changed files with 34 additions and 19 deletions

View File

@ -11,7 +11,7 @@
</label>
<Checkbox
v-if="typeof fallback !== 'undefined' && showOptionalTickbox"
:modelValue="present"
:model-value="present"
:disabled="disabled"
class="opt"
@update:modelValue="$emit('update:modelValue', typeof modelValue === 'undefined' ? fallback : undefined)"

View File

@ -112,7 +112,10 @@
</span>
<span v-if="notification.type === 'pleroma:emoji_reaction'">
<small>
<i18n-t scope="global" 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

@ -11,7 +11,7 @@
</label>
<Checkbox
v-if="typeof fallback !== 'undefined'"
:modelValue="present"
:model-value="present"
:disabled="disabled"
class="opt"
@update:modelValue="$emit('update:modelValue', !present ? fallback : undefined)"

View File

@ -71,7 +71,10 @@
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }}&nbsp;·&nbsp;
</template>
</div>
<i18n-t scope="global" :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

@ -6,7 +6,7 @@
>
<div class="selectable-list-checkbox-wrapper">
<Checkbox
:modelValue="allSelected"
:model-value="allSelected"
:indeterminate="someSelected"
@change="toggleAll"
>
@ -31,7 +31,7 @@
>
<div class="selectable-list-checkbox-wrapper">
<Checkbox
:modelValue="isSelected(item)"
:model-value="isSelected(item)"
@change="checked => toggle(checked, item)"
/>
</div>

View File

@ -4,7 +4,7 @@
class="BooleanSetting"
>
<Checkbox
:modelValue="state"
:model-value="state"
:disabled="disabled"
@update:modelValue="update"
>

View File

@ -6,7 +6,7 @@
<slot />
{{ ' ' }}
<Select
:modelValue="state"
:model-value="state"
:disabled="disabled"
@update:modelValue="update"
>

View File

@ -110,12 +110,15 @@
</template>
</Popover>
<Checkbox :modelValue="!!expertLevel" @update:modelValue="expertLevel = Number($event)">
<Checkbox
:model-value="!!expertLevel"
@update:modelValue="expertLevel = Number($event)"
>
{{ $t("settings.expert_mode") }}
</Checkbox>
<span
class="extra-content"
id="unscrolled-content"
class="extra-content"
/>
</div>
</div>

View File

@ -184,8 +184,8 @@
<button
v-if="!isDefaultBackground"
class="button-unstyled"
@click="resetBackground"
:title="$t('settings.reset_profile_background')"
@click="resetBackground"
>
<FAIcon
class="reset-button"

View File

@ -951,14 +951,16 @@
:fallback="currentShadowFallback"
/>
<div v-if="shadowSelected === 'avatar' || shadowSelected === 'avatarStatus'">
<i18n-t scope="global"
<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 scope="global"
<i18n-t
scope="global"
keypath="settings.style.shadows.filter_hint.drop_shadow_syntax"
tag="p"
>
@ -966,7 +968,8 @@
<code>spread-radius</code>
<code>inset</code>
</i18n-t>
<i18n-t scope="global"
<i18n-t
scope="global"
keypath="settings.style.shadows.filter_hint.inset_classic"
tag="p"
>

View File

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

View File

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

View File

@ -2,7 +2,7 @@
<span
class="Avatar"
:class="{ '-compact': compact }"
>
>
<StillImage
v-if="user"
class="avatar"

View File

@ -53,7 +53,7 @@
:statusoid="item"
/>
<Checkbox
:modelValue="isChecked(item.id)"
:model-value="isChecked(item.id)"
@change="checked => toggleStatus(checked, item.id)"
/>
</div>