i18n DebugLogView
// FREEBIE
This commit is contained in:
parent
1d6e391dd6
commit
c6956f81d0
3 changed files with 21 additions and 4 deletions
|
@ -1,4 +1,13 @@
|
||||||
{
|
{
|
||||||
|
"debugLogExplanation": {
|
||||||
|
"message": "This log will be posted publicly online for contributors to view. You may examine and edit it before submitting."
|
||||||
|
},
|
||||||
|
"gotIt": {
|
||||||
|
"message": "Got it!"
|
||||||
|
},
|
||||||
|
"submit": {
|
||||||
|
"message": "Submit"
|
||||||
|
},
|
||||||
"verifyContact": {
|
"verifyContact": {
|
||||||
"message": "You may wish to <span class='verify'>verify</span> this contact."
|
"message": "You may wish to <span class='verify'>verify</span> this contact."
|
||||||
},
|
},
|
||||||
|
|
|
@ -303,15 +303,16 @@
|
||||||
</script>
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='debug-log'>
|
<script type='text/x-tmpl-mustache' id='debug-log'>
|
||||||
<a class='x close'>×</a>
|
<a class='x close'>×</a>
|
||||||
<h1> Submit Debug Log </h1>
|
<h1>{{ title }}</h1>
|
||||||
|
<p> {{ debugLogExplanation }}</p>
|
||||||
<form>
|
<form>
|
||||||
<textarea rows='5'></textarea>
|
<textarea rows='5'></textarea>
|
||||||
<input class='submit' type='submit' value='Create Public Gist' />
|
<input class='submit' type='submit' value='{{ submit }}' />
|
||||||
<button class='close'>Cancel</button>
|
<button class='close'>{{ cancel }}</button>
|
||||||
</form>
|
</form>
|
||||||
<div class='result'>
|
<div class='result'>
|
||||||
<a target='_blank'></a>
|
<a target='_blank'></a>
|
||||||
<div><button class='close'>Got it!</button></div>
|
<div><button class='close'>{{ close }}</button></div>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
<script type='text/javascript' src='js/debugLog.js'></script>
|
<script type='text/javascript' src='js/debugLog.js'></script>
|
||||||
|
|
|
@ -16,6 +16,13 @@
|
||||||
'submit': 'submit',
|
'submit': 'submit',
|
||||||
'click .close': 'close'
|
'click .close': 'close'
|
||||||
},
|
},
|
||||||
|
render_attributes: {
|
||||||
|
title: i18n('submitDebugLog'),
|
||||||
|
cancel: i18n('cancel'),
|
||||||
|
submit: i18n('submit'),
|
||||||
|
close: i18n('gotIt'),
|
||||||
|
debugLogExplanation: i18n('debugLogExplanation')
|
||||||
|
},
|
||||||
close: function(e) {
|
close: function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.remove();
|
this.remove();
|
||||||
|
|
Loading…
Reference in a new issue