MOBILE-4059 user: Add suffix to support form
parent
e08d5e06c3
commit
d78a7dd78b
|
@ -2396,6 +2396,7 @@
|
|||
"core.user.sendemail": "local_moodlemobileapp",
|
||||
"core.user.student": "moodle/defaultcoursestudent",
|
||||
"core.user.support": "local_moodlemobileapp",
|
||||
"core.user.supportsubject": "local_moodlemobileapp",
|
||||
"core.user.teacher": "moodle/noneditingteacher",
|
||||
"core.user.useraccount": "moodle",
|
||||
"core.user.userwithid": "local_moodlemobileapp",
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
"sendemail": "Email",
|
||||
"student": "Student",
|
||||
"support": "Contact site support",
|
||||
"supportsubject": "[App] {{subject}}",
|
||||
"teacher": "Non-editing teacher",
|
||||
"userwithid": "User with ID {{id}}",
|
||||
"webpage": "Web page"
|
||||
|
|
|
@ -90,6 +90,10 @@ export class CoreUserSupportService {
|
|||
return;
|
||||
}
|
||||
|
||||
if (subject) {
|
||||
subject = Translate.instant('core.user.supportsubject', { subject });
|
||||
}
|
||||
|
||||
const unsubscribe = CoreSubscriptions.once(browser.on('loadstop'), () => {
|
||||
browser.executeScript({
|
||||
code: `
|
||||
|
|
Loading…
Reference in New Issue