removed translation for debug logs.

pull/1967/head
Warrick Corfe-Tan 4 years ago
parent 04e0023d38
commit 2b28ec93f9

@ -444,7 +444,5 @@
"messageDeletedPlaceholder": "This message has been deleted", "messageDeletedPlaceholder": "This message has been deleted",
"messageDeleted": "Message deleted", "messageDeleted": "Message deleted",
"surveyTitle": "Take our Session Survey", "surveyTitle": "Take our Session Survey",
"goToOurSurvey": "Go to our survey", "goToOurSurvey": "Go to our survey"
"operatingSystem": "Operating System: $operatingSystem$\n",
"commitHash": "Git Commit SHA: $commitHash$\n"
} }

@ -26,11 +26,9 @@
this.render(); this.render();
this.$('textarea').val(i18n('loading')); this.$('textarea').val(i18n('loading'));
const operatingSystemInfo = `${i18n('operatingSystem', window.getOSRelease())}`; const operatingSystemInfo = `Operating System: ${window.getOSRelease()}`;
const commitHashInfo = window.getCommitHash() const commitHashInfo = window.getCommitHash() ? `Commit Hash: ${window.getCommitHash()}` : '';
? i18n('commitHash', window.getCommitHash())
: '';
// eslint-disable-next-line more/no-then // eslint-disable-next-line more/no-then
window.log.fetch().then(text => { window.log.fetch().then(text => {

Loading…
Cancel
Save