Merge pull request #3575 from dpalou/MOBILE-4203

MOBILE-4203 user: Display timezone in user profile
main
Noel De Martin 2023-03-08 13:15:57 +01:00 committed by GitHub
commit dfea0b9920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View File

@ -2452,6 +2452,7 @@
"core.thisdirection": "langconfig", "core.thisdirection": "langconfig",
"core.time": "moodle", "core.time": "moodle",
"core.timesup": "quiz", "core.timesup": "quiz",
"core.timezone": "moodle",
"core.today": "moodle", "core.today": "moodle",
"core.toggledelete": "local_moodlemobileapp", "core.toggledelete": "local_moodlemobileapp",
"core.tryagain": "local_moodlemobileapp", "core.tryagain": "local_moodlemobileapp",

View File

@ -79,6 +79,12 @@
<p>{{ user.country }}</p> <p>{{ user.country }}</p>
</ion-label> </ion-label>
</ion-item> </ion-item>
<ion-item class="ion-text-wrap" *ngIf="user.timezone">
<ion-label>
<p class="item-heading">{{ 'core.timezone' | translate}}</p>
<p>{{ user.timezone }}</p>
</ion-label>
</ion-item>
</ion-item-group> </ion-item-group>
<ion-item-group *ngIf="hasDetails"> <ion-item-group *ngIf="hasDetails">
<ion-item-divider> <ion-item-divider>

View File

@ -324,6 +324,7 @@
"thisdirection": "ltr", "thisdirection": "ltr",
"time": "Time", "time": "Time",
"timesup": "Time is up!", "timesup": "Time is up!",
"timezone": "Timezone",
"today": "Today", "today": "Today",
"toggledelete": "Toggle delete buttons", "toggledelete": "Toggle delete buttons",
"tryagain": "Try again", "tryagain": "Try again",