diff --git a/app/views/api/applications/index.html.slim b/app/views/api/applications/index.html.slim index 04a274c276..1122cc646d 100644 --- a/app/views/api/applications/index.html.slim +++ b/app/views/api/applications/index.html.slim @@ -1,5 +1,7 @@ - service_name = @service.name - content_for :page_header_title, "Applications on #{service_name}" +- content_for :page_header_body do + = t('.description') - if current_user.accessible_services.empty? = render 'shared/service_access' diff --git a/app/views/provider/admin/applications/index.html.slim b/app/views/provider/admin/applications/index.html.slim index e3d777af09..9f65a86a7a 100644 --- a/app/views/provider/admin/applications/index.html.slim +++ b/app/views/provider/admin/applications/index.html.slim @@ -1,7 +1,6 @@ - content_for :page_header_title, 'Applications' - content_for :page_header_body do - ' Applications are a representation of an API consumer. They include credentials obtained through the API's authentication method, - ' along with usage metrics and other metadata. The application plan sets the limits for each application. + = t('api.applications.index.description') - if current_user.accessible_services.empty? = render 'shared/service_access' diff --git a/config/locales/en.yml b/config/locales/en.yml index a30651665a..12ee5e00fa 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -724,6 +724,9 @@ en: delete_alert_confirmation: Do you really want to delete this alert? applications: index: + description: | + Applications represent pieces of software consuming the API. They contain a set of credentials used to access the API, + along with usage metrics and other metadata. The application plan sets the limits for each application. empty_state: title: No applications yet body: There are no applications subscribed to %{name}.