diff --git a/app/assets/javascripts/admin/templates/api.js.handlebars b/app/assets/javascripts/admin/templates/api.js.handlebars index fb264b6602..df5c724e9d 100644 --- a/app/assets/javascripts/admin/templates/api.js.handlebars +++ b/app/assets/javascripts/admin/templates/api.js.handlebars @@ -1,11 +1,9 @@ - -
Keep this key secret, all users that have it may create arbirary posts on the forum as any user.
+ {{i18n admin.api.key}}: {{content.key}} + +{{{i18n admin.api.note_html}}}
{{else}} -Your API key will allow you to create and update topics using JSON calls.
- +{{{i18n admin.api.info_html}}}
+ {{/if}} - - diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 32023e5228..2e07d91686 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -903,6 +903,13 @@ en: 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 secret, all users that have it may create arbitrary posts on the forum as any user." + customize: title: "Customize" long_title: "Site Customizations"