Compare commits
4 commits
3ffe042b25
...
1f37c53ab3
Author | SHA1 | Date | |
---|---|---|---|
|
1f37c53ab3 | ||
|
338bdd93de | ||
|
ada054189d | ||
|
41a1a75f74 |
3 changed files with 6 additions and 3 deletions
|
@ -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>
|
||||||
|
|
|
@ -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])
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue