Merge pull request #2888 from crazyserver/MOBILE-3320

Mobile 3320
main
Noel De Martin 2021-07-12 13:35:23 +02:00 committed by GitHub
commit 7faf348042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View File

@ -4,24 +4,24 @@
"addnewattempt": "Add a new attempt", "addnewattempt": "Add a new attempt",
"addnewattemptfromprevious": "Add a new attempt based on previous submission", "addnewattemptfromprevious": "Add a new attempt based on previous submission",
"addsubmission": "Add submission", "addsubmission": "Add submission",
"allowsubmissionsanddescriptionfromdatesummary": "The assignment details and submission form will be available from <strong>{{$a}}</strong>",
"allowsubmissionsfromdate": "Allow submissions from", "allowsubmissionsfromdate": "Allow submissions from",
"allowsubmissionsfromdatesummary": "This assignment will accept submissions from <strong>{{$a}}</strong>", "allowsubmissionsfromdatesummary": "This assignment will accept submissions from <strong>{{$a}}</strong>",
"allowsubmissionsanddescriptionfromdatesummary": "The assignment details and submission form will be available from <strong>{{$a}}</strong>",
"applytoteam": "Apply grades and feedback to entire group", "applytoteam": "Apply grades and feedback to entire group",
"assignmentisdue": "Assignment is due", "assignmentisdue": "Assignment is due",
"attemptnumber": "Attempt number", "attemptnumber": "Attempt number",
"attemptreopenmethod": "Attempts reopened", "attemptreopenmethod": "Additional attempts",
"attemptreopenmethod_manual": "Manually", "attemptreopenmethod_manual": "Manually",
"attemptreopenmethod_untilpass": "Automatically until pass", "attemptreopenmethod_untilpass": "Automatically until pass",
"attemptsettings": "Attempt settings", "attemptsettings": "Attempt settings",
"cannotgradefromapp": "Certain grading methods are not yet supported by the app and cannot be modified.",
"cannoteditduetostatementsubmission": "You can't add or edit a submission in the app because the submission statement could not be retrieved from the site.", "cannoteditduetostatementsubmission": "You can't add or edit a submission in the app because the submission statement could not be retrieved from the site.",
"cannotgradefromapp": "Certain grading methods are not yet supported by the app and cannot be modified.",
"cannotsubmitduetostatementsubmission": "You can't make a submission in the app because the submission statement could not be retrieved from the site.", "cannotsubmitduetostatementsubmission": "You can't make a submission in the app because the submission statement could not be retrieved from the site.",
"confirmsubmission": "Are you sure you want to submit your work for grading? You will not be able to make any more changes.", "confirmsubmission": "Are you sure you want to submit your work for grading? You will not be able to make any more changes.",
"currentgrade": "Current grade in gradebook",
"cutoffdate": "Cut-off date",
"currentattempt": "This is attempt {{$a}}.", "currentattempt": "This is attempt {{$a}}.",
"currentattemptof": "This is attempt {{$a.attemptnumber}} ( {{$a.maxattempts}} attempts allowed ).", "currentattemptof": "This is attempt {{$a.attemptnumber}} ( {{$a.maxattempts}} attempts allowed ).",
"currentgrade": "Current grade in gradebook",
"cutoffdate": "Cut-off date",
"defaultteam": "Default group", "defaultteam": "Default group",
"duedate": "Due date", "duedate": "Due date",
"duedateno": "No due date", "duedateno": "No due date",
@ -35,10 +35,10 @@
"grade": "Grade", "grade": "Grade",
"graded": "Graded", "graded": "Graded",
"gradedby": "Graded by", "gradedby": "Graded by",
"gradedfollowupsubmit": "Graded - follow up submission received", "gradedfollowupsubmit": "Graded - follow-up submission received",
"gradenotsynced": "Grade not synced",
"gradedon": "Graded on", "gradedon": "Graded on",
"gradelocked": "This grade is locked or overridden in the gradebook.", "gradelocked": "This grade is locked or overridden in the gradebook.",
"gradenotsynced": "Grade not synced",
"gradeoutof": "Grade out of {{$a}}", "gradeoutof": "Grade out of {{$a}}",
"gradingstatus": "Grading status", "gradingstatus": "Grading status",
"groupsubmissionsettings": "Group submission settings", "groupsubmissionsettings": "Group submission settings",
@ -49,8 +49,8 @@
"markingworkflowstateinmarking": "In marking", "markingworkflowstateinmarking": "In marking",
"markingworkflowstateinreview": "In review", "markingworkflowstateinreview": "In review",
"markingworkflowstatenotmarked": "Not marked", "markingworkflowstatenotmarked": "Not marked",
"markingworkflowstatereadyforreview": "Marking completed",
"markingworkflowstatereadyforrelease": "Ready for release", "markingworkflowstatereadyforrelease": "Ready for release",
"markingworkflowstatereadyforreview": "Marking completed",
"markingworkflowstatereleased": "Released", "markingworkflowstatereleased": "Released",
"modulenameplural": "Assignments", "modulenameplural": "Assignments",
"multipleteams": "Member of more than one group", "multipleteams": "Member of more than one group",
@ -67,31 +67,31 @@
"numberofdraftsubmissionscountdescription": "There are {{count}} drafts.", "numberofdraftsubmissionscountdescription": "There are {{count}} drafts.",
"numberofparticipants": "Participants", "numberofparticipants": "Participants",
"numberofparticipantscountdescription": "There are {{count}} participants.", "numberofparticipantscountdescription": "There are {{count}} participants.",
"numberofsubmittedassignments": "Submitted",
"numberofsubmittedassignmentscountdescription": "There are {{count}} submitted assignments.",
"numberofsubmissionsneedgrading": "Needs grading", "numberofsubmissionsneedgrading": "Needs grading",
"numberofsubmissionsneedgradingcountdescription": "There are {{count}} submissions that need grading.", "numberofsubmissionsneedgradingcountdescription": "There are {{count}} submissions that need grading.",
"numberofsubmittedassignments": "Submitted",
"numberofsubmittedassignmentscountdescription": "There are {{count}} submitted assignments.",
"numberofteams": "Groups", "numberofteams": "Groups",
"numberofteamscountdescription": "There are {{count}} teams.", "numberofteamscountdescription": "There are {{count}} teams.",
"numwords": "{{$a}} words", "numwords": "{{$a}} words",
"outof": "{{$a.current}} out of {{$a.total}}", "outof": "{{$a.current}} out of {{$a.total}}",
"overdue": "<font color=\"red\">Assignment is overdue by: {{$a}}</font>", "overdue": "<font color=\"red\">Assignment is overdue by: {{$a}}</font>",
"submission": "Submission",
"submissioneditable": "Student can edit this submission", "submissioneditable": "Student can edit this submission",
"submissionnoteditable": "Student cannot edit this submission", "submissionnoteditable": "Student cannot edit this submission",
"submissionnotsupported": "This submission is not supported by the app and may not contain all the information.", "submissionnotsupported": "This submission is not supported by the app and may not contain all the information.",
"submission": "Submission",
"submissionslocked": "This assignment is not accepting submissions", "submissionslocked": "This assignment is not accepting submissions",
"submissionstatus": "Submission status",
"submissionstatus_": "No submission",
"submissionstatus_draft": "Draft (not submitted)", "submissionstatus_draft": "Draft (not submitted)",
"submissionstatusheading": "Submission status",
"submissionstatus_marked": "Graded", "submissionstatus_marked": "Graded",
"submissionstatus_new": "No submission", "submissionstatus_new": "No submission",
"submissionstatus_reopened": "Reopened", "submissionstatus_reopened": "Reopened",
"submissionstatus_submitted": "Submitted for grading", "submissionstatus_submitted": "Submitted for grading",
"submissionstatus_": "No submission", "submissionstatusheading": "Submission status",
"submissionstatus": "Submission status",
"submissionteam": "Group", "submissionteam": "Group",
"submitassignment_help": "Once this assignment is submitted you will not be able to make any more changes.",
"submitassignment": "Submit assignment", "submitassignment": "Submit assignment",
"submitassignment_help": "Once this assignment is submitted you will not be able to make any more changes.",
"submittedearly": "Assignment was submitted {{$a}} early", "submittedearly": "Assignment was submitted {{$a}} early",
"submittedlate": "Assignment was submitted {{$a}} late", "submittedlate": "Assignment was submitted {{$a}} late",
"syncblockedusercomponent": "user grade", "syncblockedusercomponent": "user grade",
@ -102,7 +102,7 @@
"unlimitedattempts": "Unlimited", "unlimitedattempts": "Unlimited",
"userswhoneedtosubmit": "Users who need to submit: {{$a}}", "userswhoneedtosubmit": "Users who need to submit: {{$a}}",
"viewsubmission": "View submission", "viewsubmission": "View submission",
"warningsubmissionmodified": "The user submission was modified on the site.",
"warningsubmissiongrademodified": "The submission grade was modified on the site.", "warningsubmissiongrademodified": "The submission grade was modified on the site.",
"warningsubmissionmodified": "The user submission was modified on the site.",
"wordlimit": "Word limit" "wordlimit": "Word limit"
} }

View File

@ -66,7 +66,7 @@ export abstract class CorePageItemsListManager<Item> {
this.updateSelectedItem(route?.snapshot ?? null); this.updateSelectedItem(route?.snapshot ?? null);
// Select default item if none is selected on a non-mobile layout. // Select default item if none is selected on a non-mobile layout.
if (!CoreScreen.isMobile && this.selectedItem === null) { if (!CoreScreen.isMobile && this.selectedItem === null && !splitView.isNested) {
const defaultItem = this.getDefaultItem(); const defaultItem = this.getDefaultItem();
if (defaultItem) { if (defaultItem) {