MOBILE-2795 messages: Minor string changes to drawer

main
Pau Ferrer Ocaña 2018-12-18 11:10:06 +01:00
parent 409352f38d
commit 4c4995f96c
7 changed files with 25 additions and 19 deletions

View File

@ -175,7 +175,8 @@
"addon.messages.errorwhileretrievingmessages": "local_moodlemobileapp", "addon.messages.errorwhileretrievingmessages": "local_moodlemobileapp",
"addon.messages.errorwhileretrievingusers": "local_moodlemobileapp", "addon.messages.errorwhileretrievingusers": "local_moodlemobileapp",
"addon.messages.groupinfo": "message", "addon.messages.groupinfo": "message",
"addon.messages.groupmessages": "message", "addon.messages.groupconversations": "message",
"addon.messages.individualconversations": "message",
"addon.messages.info": "message", "addon.messages.info": "message",
"addon.messages.isnotinyourcontacts": "message", "addon.messages.isnotinyourcontacts": "message",
"addon.messages.message": "message", "addon.messages.message": "message",
@ -188,8 +189,9 @@
"addon.messages.noncontacts": "message", "addon.messages.noncontacts": "message",
"addon.messages.nocontactsgetstarted": "message", "addon.messages.nocontactsgetstarted": "message",
"addon.messages.nofavourites": "message", "addon.messages.nofavourites": "message",
"addon.messages.nogroupmessages": "message", "addon.messages.nogroupconversations": "message",
"addon.messages.nomessages": "message", "addon.messages.noindividualconversations": "message",
"addon.messages.nomessagesfound": "message",
"addon.messages.nousersfound": "local_moodlemobileapp", "addon.messages.nousersfound": "local_moodlemobileapp",
"addon.messages.numparticipants": "message", "addon.messages.numparticipants": "message",
"addon.messages.removecontact": "message", "addon.messages.removecontact": "message",

View File

@ -33,7 +33,7 @@
</a> </a>
</ion-list> </ion-list>
<core-empty-box *ngIf="(!discussions || discussions.length <= 0) && !search.showResults" icon="chatbubbles" [message]="'addon.messages.nomessages' | translate"></core-empty-box> <core-empty-box *ngIf="(!discussions || discussions.length <= 0) && !search.showResults" icon="chatbubbles" [message]="'addon.messages.nomessagesfound' | translate"></core-empty-box>
<core-empty-box *ngIf="(!search.results || search.results.length <= 0) && search.showResults" icon="search" [message]="'core.noresults' | translate"></core-empty-box> <core-empty-box *ngIf="(!search.results || search.results.length <= 0) && search.showResults" icon="search" [message]="'core.noresults' | translate"></core-empty-box>
</core-loading> </core-loading>

View File

@ -27,7 +27,8 @@
"errorwhileretrievingmessages": "Error while retrieving messages from the server.", "errorwhileretrievingmessages": "Error while retrieving messages from the server.",
"errorwhileretrievingusers": "Error while retrieving users from the server.", "errorwhileretrievingusers": "Error while retrieving users from the server.",
"groupinfo": "Group info", "groupinfo": "Group info",
"groupmessages": "Group messages", "groupconversations": "Group",
"individualconversations": "Private",
"info": "Info", "info": "Info",
"isnotinyourcontacts": "{{$a}} is not in your contacts", "isnotinyourcontacts": "{{$a}} is not in your contacts",
"messagenotsent": "The message was not sent. Please try again later.", "messagenotsent": "The message was not sent. Please try again later.",
@ -39,9 +40,10 @@
"nocontactrequests": "No contact requests", "nocontactrequests": "No contact requests",
"noncontacts": "Non-contacts", "noncontacts": "Non-contacts",
"nocontactsgetstarted": "Try searching for someone to add them as a contact", "nocontactsgetstarted": "Try searching for someone to add them as a contact",
"nofavourites": "No favourites", "nofavourites": "No starred conversations",
"nogroupmessages": "No group messages", "nogroupconversations": "No group conversations",
"nomessages": "No messages", "noindividualconversations": "No private conversations",
"nomessagesfound": "No messages were found",
"nousersfound": "No users found", "nousersfound": "No users found",
"numparticipants": "{{$a}} participants", "numparticipants": "{{$a}} participants",
"removecontact": "Remove contact", "removecontact": "Remove contact",

View File

@ -58,7 +58,7 @@
</ion-item> </ion-item>
</ng-container> </ng-container>
</ion-list> </ion-list>
<core-empty-box *ngIf="!messages || messages.length <= 0" icon="chatbubbles" [message]="'addon.messages.nomessages' | translate"></core-empty-box> <core-empty-box *ngIf="!messages || messages.length <= 0" icon="chatbubbles" [message]="'addon.messages.nomessagesfound' | translate"></core-empty-box>
</core-loading> </core-loading>
</ion-content> </ion-content>
<ion-footer color="light" class="footer-adjustable" *ngIf="loaded && (!conversationId || conversation)"> <ion-footer color="light" class="footer-adjustable" *ngIf="loaded && (!conversationId || conversation)">

View File

@ -46,7 +46,7 @@
<ion-item-divider color="light" text-wrap *ngIf="group.conversations" (click)="toggle(group)" class="core-expandable"> <ion-item-divider color="light" text-wrap *ngIf="group.conversations" (click)="toggle(group)" class="core-expandable">
<core-icon *ngIf="!group.expanded" name="fa-caret-right" item-start></core-icon> <core-icon *ngIf="!group.expanded" name="fa-caret-right" item-start></core-icon>
<core-icon *ngIf="group.expanded" name="fa-caret-down" item-start></core-icon> <core-icon *ngIf="group.expanded" name="fa-caret-down" item-start></core-icon>
{{ 'addon.messages.groupmessages' | translate }} ({{ group.count }}) {{ 'addon.messages.groupconversations' | translate }} ({{ group.count }})
<ion-badge item-end *ngIf="group.unread">{{ group.unread }}</ion-badge> <ion-badge item-end *ngIf="group.unread">{{ group.unread }}</ion-badge>
</ion-item-divider> </ion-item-divider>
<div *ngIf="group.conversations && group.expanded"> <div *ngIf="group.conversations && group.expanded">
@ -54,14 +54,14 @@
<!-- The infinite loading cannot be inside the ng-template, it fails because it doesn't find ion-content. --> <!-- The infinite loading cannot be inside the ng-template, it fails because it doesn't find ion-content. -->
<core-infinite-loading [enabled]="group.canLoadMore" (action)="loadMoreConversations(group, $event)" [error]="group.loadMoreError"></core-infinite-loading> <core-infinite-loading [enabled]="group.canLoadMore" (action)="loadMoreConversations(group, $event)" [error]="group.loadMoreError"></core-infinite-loading>
<ion-item text-wrap *ngIf="group.conversations.length == 0"> <ion-item text-wrap *ngIf="group.conversations.length == 0">
<p>{{ 'addon.messages.nogroupmessages' | translate }}</p> <p>{{ 'addon.messages.nogroupconversations' | translate }}</p>
</ion-item> </ion-item>
</div> </div>
<ion-item-divider color="light" text-wrap *ngIf="individual.conversations" (click)="toggle(individual)" class="core-expandable"> <ion-item-divider color="light" text-wrap *ngIf="individual.conversations" (click)="toggle(individual)" class="core-expandable">
<core-icon *ngIf="!individual.expanded" name="fa-caret-right" item-start></core-icon> <core-icon *ngIf="!individual.expanded" name="fa-caret-right" item-start></core-icon>
<core-icon *ngIf="individual.expanded" name="fa-caret-down" item-start></core-icon> <core-icon *ngIf="individual.expanded" name="fa-caret-down" item-start></core-icon>
{{ 'addon.messages.messages' | translate }} ({{ individual.count }}) {{ 'addon.messages.individualconversations' | translate }} ({{ individual.count }})
<ion-badge item-end *ngIf="individual.unread">{{ individual.unread }}</ion-badge> <ion-badge item-end *ngIf="individual.unread">{{ individual.unread }}</ion-badge>
</ion-item-divider> </ion-item-divider>
<div *ngIf="individual.conversations && individual.expanded"> <div *ngIf="individual.conversations && individual.expanded">
@ -69,7 +69,7 @@
<!-- The infinite loading cannot be inside the ng-template, it fails because it doesn't find ion-content. --> <!-- The infinite loading cannot be inside the ng-template, it fails because it doesn't find ion-content. -->
<core-infinite-loading [enabled]="individual.canLoadMore" (action)="loadMoreConversations(individual, $event)" [error]="individual.loadMoreError"></core-infinite-loading> <core-infinite-loading [enabled]="individual.canLoadMore" (action)="loadMoreConversations(individual, $event)" [error]="individual.loadMoreError"></core-infinite-loading>
<ion-item text-wrap *ngIf="individual.conversations.length == 0"> <ion-item text-wrap *ngIf="individual.conversations.length == 0">
<p>{{ 'addon.messages.nomessages' | translate }}</p> <p>{{ 'addon.messages.noindividualconversations' | translate }}</p>
</ion-item> </ion-item>
</div> </div>
</ion-list> </ion-list>

View File

@ -174,8 +174,9 @@
"addon.messages.errorwhileretrievingdiscussions": "Error while retrieving discussions 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.errorwhileretrievingmessages": "Error while retrieving messages from the server.",
"addon.messages.errorwhileretrievingusers": "Error while retrieving users from the server.", "addon.messages.errorwhileretrievingusers": "Error while retrieving users from the server.",
"addon.messages.groupconversations": "Group",
"addon.messages.groupinfo": "Group info", "addon.messages.groupinfo": "Group info",
"addon.messages.groupmessages": "Group messages", "addon.messages.individualconversations": "Private",
"addon.messages.info": "Info", "addon.messages.info": "Info",
"addon.messages.isnotinyourcontacts": "{{$a}} is not in your contacts", "addon.messages.isnotinyourcontacts": "{{$a}} is not in your contacts",
"addon.messages.message": "Message", "addon.messages.message": "Message",
@ -186,9 +187,10 @@
"addon.messages.newmessages": "New messages", "addon.messages.newmessages": "New messages",
"addon.messages.nocontactrequests": "No contact requests", "addon.messages.nocontactrequests": "No contact requests",
"addon.messages.nocontactsgetstarted": "Try searching for someone to add them as a contact", "addon.messages.nocontactsgetstarted": "Try searching for someone to add them as a contact",
"addon.messages.nofavourites": "No favourites", "addon.messages.nofavourites": "No starred conversations",
"addon.messages.nogroupmessages": "No group messages", "addon.messages.nogroupconversations": "No group conversations",
"addon.messages.nomessages": "No messages", "addon.messages.noindividualconversations": "No private conversations",
"addon.messages.nomessagesfound": "No messages were found",
"addon.messages.noncontacts": "Non-contacts", "addon.messages.noncontacts": "Non-contacts",
"addon.messages.nousersfound": "No users found", "addon.messages.nousersfound": "No users found",
"addon.messages.numparticipants": "{{$a}} participants", "addon.messages.numparticipants": "{{$a}} participants",

View File

@ -20,12 +20,12 @@ ion-app.app-root page-core-login-reconnect {
color: $core-login-box-text-color; color: $core-login-box-text-color;
.item { .item {
background: $core-login-item-background-color; background-color: $core-login-item-background-color;
@include padding-horizontal(0); @include padding-horizontal(0);
} }
.item-inner { .item-inner {
background: $core-login-item-inner-background-color; background-color: $core-login-item-inner-background-color;
@include padding-horizontal(0); @include padding-horizontal(0);
} }
} }