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