Merge pull request #833 from kubabrecka/admin_api_l10n

Localize admin API section
This commit is contained in:
Robin Ward
2013-05-08 07:39:02 -07:00
2 changed files with 13 additions and 8 deletions

View File

@@ -1,11 +1,9 @@
<!-- Hold off on localizing for a few days while I finalize this page -->
<h3>API Information</h3>
<h3>{{i18n admin.api.long_title}}</h3>
{{#if content.keyExists}}
<strong>Key:</strong> {{content.key}} <button {{action regenerateKey target="content"}}>Regenerate API Key</button>
<p>Keep this key <strong>secret</strong>, all users that have it may create arbirary posts on the forum as any user.</p>
<strong>{{i18n admin.api.key}}:</strong> {{content.key}}
<button {{action regenerateKey target="content"}}>{{i18n admin.api.regenerate}}</button>
<p>{{{i18n admin.api.note_html}}}</p>
{{else}}
<p>Your API key will allow you to create and update topics using JSON calls.</p>
<button {{action generateKey target="content"}}>Generate API Key</button>
<p>{{{i18n admin.api.info_html}}}</p>
<button {{action generateKey target="content"}}>{{i18n admin.api.generate}}</button>
{{/if}}
</p>