Localize admin API section
This commit is contained in:
parent
6b536dcde5
commit
05bc63b102
|
@ -1,11 +1,9 @@
|
||||||
<!-- Hold off on localizing for a few days while I finalize this page -->
|
<h3>{{i18n admin.api.long_title}}</h3>
|
||||||
<h3>API Information</h3>
|
|
||||||
{{#if content.keyExists}}
|
{{#if content.keyExists}}
|
||||||
<strong>Key:</strong> {{content.key}} <button {{action regenerateKey target="content"}}>Regenerate API Key</button>
|
<strong>{{i18n admin.api.key}}:</strong> {{content.key}}
|
||||||
<p>Keep this key <strong>secret</strong>, all users that have it may create arbirary posts on the forum as any user.</p>
|
<button {{action regenerateKey target="content"}}>{{i18n admin.api.regenerate}}</button>
|
||||||
|
<p>{{{i18n admin.api.note_html}}}</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>Your API key will allow you to create and update topics using JSON calls.</p>
|
<p>{{{i18n admin.api.info_html}}}</p>
|
||||||
<button {{action generateKey target="content"}}>Generate API Key</button>
|
<button {{action generateKey target="content"}}>{{i18n admin.api.generate}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
|
@ -903,6 +903,13 @@ en:
|
||||||
|
|
||||||
api:
|
api:
|
||||||
title: "API"
|
title: "API"
|
||||||
|
long_title: "API Information"
|
||||||
|
key: "Key"
|
||||||
|
generate: "Generate API Key"
|
||||||
|
regenerate: "Regenerate API Key"
|
||||||
|
info_html: "Your API key will allow you to create and update topics using JSON calls."
|
||||||
|
note_html: "Keep this key <strong>secret</strong>, all users that have it may create arbitrary posts on the forum as any user."
|
||||||
|
|
||||||
customize:
|
customize:
|
||||||
title: "Customize"
|
title: "Customize"
|
||||||
long_title: "Site Customizations"
|
long_title: "Site Customizations"
|
||||||
|
|
Loading…
Reference in New Issue