mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Sending messages is allowed; PM related texts moved
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
// .col-8.to-form(v-if='displayCreate')
|
// .col-8.to-form(v-if='displayCreate')
|
||||||
// strong To:
|
// strong To:
|
||||||
// b-form-input
|
// b-form-input
|
||||||
.row(v-if="!this.user.inbox.optOut")
|
.row
|
||||||
.col-4.sidebar
|
.col-4.sidebar
|
||||||
.search-section
|
.search-section
|
||||||
b-form-input(:placeholder="$t('search')", v-model='search')
|
b-form-input(:placeholder="$t('search')", v-model='search')
|
||||||
@@ -51,14 +51,6 @@
|
|||||||
.new-message-row(v-if='selectedConversation.key')
|
.new-message-row(v-if='selectedConversation.key')
|
||||||
textarea(v-model='newMessage')
|
textarea(v-model='newMessage')
|
||||||
button.btn.btn-secondary(@click='sendPrivateMessage()') Send
|
button.btn.btn-secondary(@click='sendPrivateMessage()') Send
|
||||||
.row(v-else)
|
|
||||||
.col-12
|
|
||||||
.caption-disabled
|
|
||||||
.svg-icon.envelope(v-html="icons.messageIcon")
|
|
||||||
h3 {{$t('disabledPMCaptionTitle')}}
|
|
||||||
p.text-center {{$t('disabledPMCaptionLine1')}}
|
|
||||||
p.text-center {{$t('disabledPMCaptionLine2')}}
|
|
||||||
button.btn.btn-primary(@click="toggleOpt()") {{$t('PMEnable')}}
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -289,16 +289,6 @@
|
|||||||
"messages": "Messages",
|
"messages": "Messages",
|
||||||
"emptyMessagesLine1": "You don't have any messages",
|
"emptyMessagesLine1": "You don't have any messages",
|
||||||
"emptyMessagesLine2": "Send a message to start a conversation!",
|
"emptyMessagesLine2": "Send a message to start a conversation!",
|
||||||
"PMEnable": "Enable",
|
|
||||||
"PMEnableFull": "Enable private messages",
|
|
||||||
"PMDisable": "Disable",
|
|
||||||
"PMDisableFull": "Disable private messages",
|
|
||||||
"PMDisableConfirmation": "Are you sure you want to disable private messages? No one will able to send you messages, though you can enable private messages at any time.",
|
|
||||||
"PMEnabledOptPopoverText": "When private messages are disabled, no one can send them to you, though you can enable this option at any time.",
|
|
||||||
"PMDisabledOptPopoverText": "Enable private messages so you can chat again!",
|
|
||||||
"disabledPMCaptionTitle": "Private messages are disabled",
|
|
||||||
"disabledPMCaptionLine1": "Private messages are disabled and no one can send them to you.",
|
|
||||||
"disabledPMCaptionLine2": "You can enable this option at any time.",
|
|
||||||
"userSentMessage": "<span class=\"notification-bold\"><%= user %></span> sent you a message",
|
"userSentMessage": "<span class=\"notification-bold\"><%= user %></span> sent you a message",
|
||||||
"letsgo": "Let's Go!",
|
"letsgo": "Let's Go!",
|
||||||
"selected": "Selected",
|
"selected": "Selected",
|
||||||
|
|||||||
@@ -132,7 +132,14 @@
|
|||||||
"possessiveParty": "<%= name %>'s Party",
|
"possessiveParty": "<%= name %>'s Party",
|
||||||
"clearAll": "Delete All Messages",
|
"clearAll": "Delete All Messages",
|
||||||
"confirmDeleteAllMessages": "Are you sure you want to delete all messages in your inbox? Other users will still see messages you have sent to them.",
|
"confirmDeleteAllMessages": "Are you sure you want to delete all messages in your inbox? Other users will still see messages you have sent to them.",
|
||||||
"optOutPopover": "Don't like private messages? Click to completely opt out",
|
"PMEnable": "Enable",
|
||||||
|
"PMEnableFull": "Enable private messages",
|
||||||
|
"PMDisable": "Disable",
|
||||||
|
"PMDisableFull": "Disable private messages",
|
||||||
|
"PMDisableConfirmation": "Are you sure you want to disable private messages? You still will be able to send messages, but no one will be able to send them to you.",
|
||||||
|
"PMEnabledOptPopoverText": "When private messages are disabled, you still can send messages, but no one can send them to you.",
|
||||||
|
"PMDisabledOptPopoverText": "Enable this option to be able to receive messages.",
|
||||||
|
"disabledPMCaptionTitle": "Private messages are disabled. You still can send messages, but no one can send them to you.",
|
||||||
"block": "Block",
|
"block": "Block",
|
||||||
"unblock": "Un-block",
|
"unblock": "Un-block",
|
||||||
"pm-reply": "Send a reply",
|
"pm-reply": "Send a reply",
|
||||||
|
|||||||
Reference in New Issue
Block a user