Commit c6956f81 authored by lilia's avatar lilia
Browse files

i18n DebugLogView

// FREEBIE
parent 1d6e391d
{
"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'>&times;</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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment