Compare commits

...

4 commits

Author SHA1 Message Date
Henry Jameson
1f37c53ab3 Merge branch 'consistent-mutes' into shigusegubu-themes3 2025-01-04 02:04:30 +02:00
Henry Jameson
338bdd93de how did this get in here?? 2025-01-04 02:04:16 +02:00
Henry Jameson
ada054189d missing localization string 2025-01-04 01:58:30 +02:00
Henry Jameson
41a1a75f74 another $tc 2025-01-04 01:39:20 +02:00
3 changed files with 6 additions and 3 deletions

View file

@ -292,7 +292,7 @@
v-if="!isPreview" v-if="!isPreview"
:status-id="status.parent_visible && status.in_reply_to_status_id" :status-id="status.parent_visible && status.in_reply_to_status_id"
class="reply-to-popover" class="reply-to-popover"
style="min-width: 0" style="min-width: 0;"
:class="{ '-strikethrough': !status.parent_visible }" :class="{ '-strikethrough': !status.parent_visible }"
> >
<button <button
@ -598,13 +598,15 @@
class="status-container reply-form" class="status-container reply-form"
> >
<PostStatusForm <PostStatusForm
ref="postStatusForm"
class="reply-body" class="reply-body"
:reply-to="status.id" :reply-to="status.id"
:attentions="status.attentions" :attentions="status.attentions"
:replied-user="status.user" :replied-user="status.user"
:copy-message-scope="status.visibility" :copy-message-scope="status.visibility"
:subject="replySubject" :subject="replySubject"
@posted="toggleReplying" @posted="doToggleReplying"
@can-close="doToggleReplying"
/> />
</div> </div>
</template> </template>

View file

@ -40,7 +40,7 @@ export default {
return this.timeAsDate.toLocaleString(this.browserLocale) return this.timeAsDate.toLocaleString(this.browserLocale)
}, },
relativeTimeString () { relativeTimeString () {
const timeString = this.$i18n.tc(this.relativeTime.key, this.relativeTime.num, [this.relativeTime.num]) const timeString = this.$i18n.t(this.relativeTime.key, [this.relativeTime.num], this.relativeTime.num)
if (typeof this.templateKey === 'string' && this.relativeTime.key !== 'time.now') { if (typeof this.templateKey === 'string' && this.relativeTime.key !== 'time.now') {
return this.$i18n.t(this.templateKey, [timeString]) return this.$i18n.t(this.templateKey, [timeString])

View file

@ -1407,6 +1407,7 @@
}, },
"tool_tip": { "tool_tip": {
"media_upload": "Upload media", "media_upload": "Upload media",
"mentions": "Mentions",
"repeat": "Repeat", "repeat": "Repeat",
"reply": "Reply", "reply": "Reply",
"favorite": "Favorite", "favorite": "Favorite",