From 3fed57b912644a418e371d9ce86677f8d238a2f9 Mon Sep 17 00:00:00 2001 From: Albert Gasset Date: Fri, 7 Dec 2018 12:54:24 +0100 Subject: [PATCH] MOBILE-2620 messages: New strings --- scripts/langindex.json | 25 ++++++++++++++++++++++++- src/addon/messages/lang/en.json | 27 +++++++++++++++++++++++++-- src/assets/lang/en.json | 26 +++++++++++++++++++++++++- src/lang/en.json | 1 + 4 files changed, 75 insertions(+), 4 deletions(-) diff --git a/scripts/langindex.json b/scripts/langindex.json index 015df6814..e42df76d3 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -147,8 +147,11 @@ "addon.files.privatefiles": "moodle", "addon.files.sitefiles": "moodle", "addon.messageoutput_airnotifier.processorsettingsdesc": "local_moodlemobileapp", + "addon.messages.acceptandaddcontact": "message", "addon.messages.addcontact": "message", + "addon.messages.addcontactconfirm": "message", "addon.messages.addtofavourites": "message", + "addon.messages.addtoyourcontacts": "message", "addon.messages.blocknoncontacts": "message", "addon.messages.blockuser": "message", "addon.messages.blockuserconfirm": "message", @@ -159,7 +162,9 @@ "addon.messages.contactblocked": "message", "addon.messages.contactlistempty": "local_moodlemobileapp", "addon.messages.contactname": "local_moodlemobileapp", + "addon.messages.contactrequestsent": "message", "addon.messages.contacts": "message", + "addon.messages.decline": "message", "addon.messages.deleteallconfirm": "message", "addon.messages.deleteconversationq": "message", "addon.messages.deletemessage": "local_moodlemobileapp", @@ -168,34 +173,51 @@ "addon.messages.errorwhileretrievingcontacts": "local_moodlemobileapp", "addon.messages.errorwhileretrievingdiscussions": "local_moodlemobileapp", "addon.messages.errorwhileretrievingmessages": "local_moodlemobileapp", + "addon.messages.errorwhileretrievingusers": "local_moodlemobileapp", "addon.messages.groupinfo": "message", "addon.messages.groupmessages": "message", "addon.messages.info": "message", + "addon.messages.isnotinyourcontacts": "message", "addon.messages.message": "message", "addon.messages.messagenotsent": "local_moodlemobileapp", "addon.messages.messagepreferences": "message", "addon.messages.messages": "message", "addon.messages.newmessage": "message", "addon.messages.newmessages": "local_moodlemobileapp", + "addon.messages.nocontactrequests": "message", + "addon.messages.noncontacts": "message", + "addon.messages.nocontactsgetstarted": "message", "addon.messages.nofavourites": "message", "addon.messages.nogroupmessages": "message", "addon.messages.nomessages": "message", "addon.messages.nousersfound": "local_moodlemobileapp", "addon.messages.numparticipants": "message", "addon.messages.removecontact": "message", - "addon.messages.removecontactconfirm": "local_moodlemobileapp", + "addon.messages.removecontactconfirm": "message", + "addon.messages.removefromyourcontacts": "message", "addon.messages.removefromfavourites": "message", + "addon.messages.requests": "moodle", + "addon.messages.requirecontacttomessage": "message", + "addon.messages.searchcombined": "message", + "addon.messages.searchnocontactsfound": "message", + "addon.messages.searchnomessagesfound": "message", + "addon.messages.searchnononcontactsfound": "message", "addon.messages.showdeletemessages": "local_moodlemobileapp", + "addon.messages.sendcontactrequest": "message", "addon.messages.type_blocked": "local_moodlemobileapp", "addon.messages.type_offline": "local_moodlemobileapp", "addon.messages.type_online": "local_moodlemobileapp", "addon.messages.type_search": "local_moodlemobileapp", "addon.messages.type_strangers": "local_moodlemobileapp", + "addon.messages.unabletomessage": "message", "addon.messages.unblockuser": "message", "addon.messages.unblockuserconfirm": "message", + "addon.messages.userwouldliketocontactyou": "message", "addon.messages.warningconversationmessagenotsent": "local_moodlemobileapp", "addon.messages.warningmessagenotsent": "local_moodlemobileapp", + "addon.messages.wouldliketocontactyou": "message", "addon.messages.you": "message", + "addon.messages.youhaveblockeduser": "message", "addon.mod_assign.acceptsubmissionstatement": "local_moodlemobileapp", "addon.mod_assign.addattempt": "assign", "addon.mod_assign.addnewattempt": "assign", @@ -1540,6 +1562,7 @@ "core.quotausage": "moodle", "core.redirectingtosite": "local_moodlemobileapp", "core.refresh": "moodle", + "core.remove": "moodle", "core.required": "moodle", "core.requireduserdatamissing": "local_moodlemobileapp", "core.resources": "moodle", diff --git a/src/addon/messages/lang/en.json b/src/addon/messages/lang/en.json index 9bfb0f29b..571118cf7 100644 --- a/src/addon/messages/lang/en.json +++ b/src/addon/messages/lang/en.json @@ -1,6 +1,9 @@ { + "acceptandaddcontact": "Accept and add to contacts", "addcontact": "Add contact", + "addcontactconfirm": "Are you sure you want to add {{$a}} to your contacts?", "addtofavourites": "Star", + "addtoyourcontacts": "Add to contacts", "blocknoncontacts": "Prevent non-contacts from messaging me", "blockuser": "Block user", "blockuserconfirm": "Are you sure you want to block {{$a}}?", @@ -11,7 +14,9 @@ "contactblocked": "Contact blocked", "contactlistempty": "The contact list is empty", "contactname": "Contact name", + "contactrequestsent": "Contact request sent", "contacts": "Contacts", + "decline": "Decline", "deleteallconfirm": "Are you sure you would like to delete this entire conversation? This will not delete it for other conversation participants.", "deleteconversation": "Delete conversation", "deletemessage": "Delete message", @@ -20,32 +25,50 @@ "errorwhileretrievingcontacts": "Error while retrieving contacts from the server.", "errorwhileretrievingdiscussions": "Error while retrieving discussions from the server.", "errorwhileretrievingmessages": "Error while retrieving messages from the server.", + "errorwhileretrievingusers": "Error while retrieving users from the server.", "groupinfo": "Group info", "groupmessages": "Group messages", "info": "Info", + "isnotinyourcontacts": "{{$a}} is not in your contacts", "messagenotsent": "The message was not sent. Please try again later.", "message": "Message", "messagepreferences": "Message preferences", "messages": "Messages", "newmessage": "New message", "newmessages": "New messages", + "nocontactrequests": "No contact requests", + "noncontacts": "Non-contacts", + "nocontactsgetstarted": "Try searching for someone to add them as a contact", "nofavourites": "No favourites", "nogroupmessages": "No group messages", "nomessages": "No messages", "nousersfound": "No users found", "numparticipants": "{{$a}} participants", "removecontact": "Remove contact", - "removecontactconfirm": "Contact will be removed from your contacts list.", + "removecontactconfirm": "Are you sure you want to remove {{$a}} from your contacts?", + "removefromyourcontacts": "Remove from contacts", "removefromfavourites": "Unstar", + "requests": "Requests", + "requirecontacttomessage": "You need to request {{$a}} to add you as a contact to be able to message them.", + "searchcombined": "Search people and messages", + "searchnocontactsfound": "No contacts found", + "searchnomessagesfound": "No messages found", + "searchnononcontactsfound": "No non contacts found", + "sendcontactrequest": "Send contact request", "showdeletemessages": "Show delete messages", "type_blocked": "Blocked", "type_offline": "Offline", "type_online": "Online", "type_search": "Search results", "type_strangers": "Others", + "unabletomessage": "You are unable to message this user", "unblockuser": "Unblock user", "unblockuserconfirm": "Are you sure you want to unblock {{$a}}?", + "userwouldliketocontactyou": "{{$a}} would like to contact you", "warningconversationmessagenotsent": "Couldn't send message(s) to conversation {{conversation}}. {{error}}", "warningmessagenotsent": "Couldn't send message(s) to user {{user}}. {{error}}", - "you": "You:" + "wouldliketocontactyou": "Would like to contact you", + "you": "You:", + "youhaveblockeduser": "You have blocked this user in the past", + "yourcontactrequestpending": "Your contact request is pending with {{$a}}" } \ No newline at end of file diff --git a/src/assets/lang/en.json b/src/assets/lang/en.json index 9e89479cf..fe2a2cea1 100644 --- a/src/assets/lang/en.json +++ b/src/assets/lang/en.json @@ -147,8 +147,11 @@ "addon.files.privatefiles": "Private files", "addon.files.sitefiles": "Site files", "addon.messageoutput_airnotifier.processorsettingsdesc": "Configure devices", + "addon.messages.acceptandaddcontact": "Accept and add to contacts", "addon.messages.addcontact": "Add contact", + "addon.messages.addcontactconfirm": "Are you sure you want to add {{$a}} to your contacts?", "addon.messages.addtofavourites": "Star", + "addon.messages.addtoyourcontacts": "Add to contacts", "addon.messages.blocknoncontacts": "Prevent non-contacts from messaging me", "addon.messages.blockuser": "Block user", "addon.messages.blockuserconfirm": "Are you sure you want to block {{$a}}?", @@ -159,7 +162,9 @@ "addon.messages.contactblocked": "Contact blocked", "addon.messages.contactlistempty": "The contact list is empty", "addon.messages.contactname": "Contact name", + "addon.messages.contactrequestsent": "Contact request sent", "addon.messages.contacts": "Contacts", + "addon.messages.decline": "Decline", "addon.messages.deleteallconfirm": "Are you sure you would like to delete this entire conversation? This will not delete it for other conversation participants.", "addon.messages.deleteconversation": "Delete conversation", "addon.messages.deletemessage": "Delete message", @@ -168,34 +173,52 @@ "addon.messages.errorwhileretrievingcontacts": "Error while retrieving contacts from the server.", "addon.messages.errorwhileretrievingdiscussions": "Error while retrieving discussions from the server.", "addon.messages.errorwhileretrievingmessages": "Error while retrieving messages from the server.", + "addon.messages.errorwhileretrievingusers": "Error while retrieving users from the server.", "addon.messages.groupinfo": "Group info", "addon.messages.groupmessages": "Group messages", "addon.messages.info": "Info", + "addon.messages.isnotinyourcontacts": "{{$a}} is not in your contacts", "addon.messages.message": "Message", "addon.messages.messagenotsent": "The message was not sent. Please try again later.", "addon.messages.messagepreferences": "Message preferences", "addon.messages.messages": "Messages", "addon.messages.newmessage": "New message", "addon.messages.newmessages": "New messages", + "addon.messages.nocontactrequests": "No contact requests", + "addon.messages.nocontactsgetstarted": "Try searching for someone to add them as a contact", "addon.messages.nofavourites": "No favourites", "addon.messages.nogroupmessages": "No group messages", "addon.messages.nomessages": "No messages", + "addon.messages.noncontacts": "Non-contacts", "addon.messages.nousersfound": "No users found", "addon.messages.numparticipants": "{{$a}} participants", "addon.messages.removecontact": "Remove contact", - "addon.messages.removecontactconfirm": "Contact will be removed from your contacts list.", + "addon.messages.removecontactconfirm": "Are you sure you want to remove {{$a}} from your contacts?", "addon.messages.removefromfavourites": "Unstar", + "addon.messages.removefromyourcontacts": "Remove from contacts", + "addon.messages.requests": "Requests", + "addon.messages.requirecontacttomessage": "You need to request {{$a}} to add you as a contact to be able to message them.", + "addon.messages.searchcombined": "Search people and messages", + "addon.messages.searchnocontactsfound": "No contacts found", + "addon.messages.searchnomessagesfound": "No messages found", + "addon.messages.searchnononcontactsfound": "No non contacts found", + "addon.messages.sendcontactrequest": "Send contact request", "addon.messages.showdeletemessages": "Show delete messages", "addon.messages.type_blocked": "Blocked", "addon.messages.type_offline": "Offline", "addon.messages.type_online": "Online", "addon.messages.type_search": "Search results", "addon.messages.type_strangers": "Others", + "addon.messages.unabletomessage": "You are unable to message this user", "addon.messages.unblockuser": "Unblock user", "addon.messages.unblockuserconfirm": "Are you sure you want to unblock {{$a}}?", + "addon.messages.userwouldliketocontactyou": "{{$a}} would like to contact you", "addon.messages.warningconversationmessagenotsent": "Couldn't send message(s) to conversation {{conversation}}. {{error}}", "addon.messages.warningmessagenotsent": "Couldn't send message(s) to user {{user}}. {{error}}", + "addon.messages.wouldliketocontactyou": "Would like to contact you", "addon.messages.you": "You:", + "addon.messages.youhaveblockeduser": "You have blocked this user in the past", + "addon.messages.yourcontactrequestpending": "Your contact request is pending with {{$a}}", "addon.mod_assign.acceptsubmissionstatement": "Please accept the submission statement.", "addon.mod_assign.addattempt": "Allow another attempt", "addon.mod_assign.addnewattempt": "Add a new attempt", @@ -1540,6 +1563,7 @@ "core.quotausage": "You have currently used {{$a.used}} of your {{$a.total}} limit.", "core.redirectingtosite": "You will be redirected to the site.", "core.refresh": "Refresh", + "core.remove": "Remove", "core.required": "Required", "core.requireduserdatamissing": "This user lacks some required profile data. Please enter the data in your site and try again.
{{$a}}", "core.resources": "Resources", diff --git a/src/lang/en.json b/src/lang/en.json index 70dd8010f..910e6d617 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -188,6 +188,7 @@ "quotausage": "You have currently used {{$a.used}} of your {{$a.total}} limit.", "redirectingtosite": "You will be redirected to the site.", "refresh": "Refresh", + "remove": "Remove", "required": "Required", "requireduserdatamissing": "This user lacks some required profile data. Please enter the data in your site and try again.
{{$a}}", "resources": "Resources",