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": {
|
||||
"message": "You may wish to <span class='verify'>verify</span> this contact."
|
||||
},
|
||||
|
|
|
@ -303,15 +303,16 @@
|
|||
</script>
|
||||
<script type='text/x-tmpl-mustache' id='debug-log'>
|
||||
<a class='x close'>×</a>
|
||||
<h1> Submit Debug Log </h1>
|
||||
<h1>{{ title }}</h1>
|
||||
<p> {{ debugLogExplanation }}</p>
|
||||
<form>
|
||||
<textarea rows='5'></textarea>
|
||||
<input class='submit' type='submit' value='Create Public Gist' />
|
||||
<button class='close'>Cancel</button>
|
||||
<input class='submit' type='submit' value='{{ submit }}' />
|
||||
<button class='close'>{{ cancel }}</button>
|
||||
</form>
|
||||
<div class='result'>
|
||||
<a target='_blank'></a>
|
||||
<div><button class='close'>Got it!</button></div>
|
||||
<div><button class='close'>{{ close }}</button></div>
|
||||
</div>
|
||||
</script>
|
||||
<script type='text/javascript' src='js/debugLog.js'></script>
|
||||
|
|
|
@ -16,6 +16,13 @@
|
|||
'submit': 'submit',
|
||||
'click .close': 'close'
|
||||
},
|
||||
render_attributes: {
|
||||
title: i18n('submitDebugLog'),
|
||||
cancel: i18n('cancel'),
|
||||
submit: i18n('submit'),
|
||||
close: i18n('gotIt'),
|
||||
debugLogExplanation: i18n('debugLogExplanation')
|
||||
},
|
||||
close: function(e) {
|
||||
e.preventDefault();
|
||||
this.remove();
|
||||
|
|
Loading…
Reference in a new issue