Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Wang <twang2218@gmail.com>2018-06-12 12:47:43 +0300
committerTao Wang <twang2218@gmail.com>2018-07-13 04:48:37 +0300
commit926ba6e5fab25a1f4aaff18ca6d2a846e502d038 (patch)
treec7ccaa94f58a535190f159c44e2d4ace27e9ca01 /app/views/doorkeeper/authorized_applications
parent924146a8d6b158fda1f9cddbdcd8ce957b6baec9 (diff)
i18n: externalize strings from 'app/views/doorkeeper'
Signed-off-by: Tao Wang <twang2218@gmail.com>
Diffstat (limited to 'app/views/doorkeeper/authorized_applications')
-rw-r--r--app/views/doorkeeper/authorized_applications/_delete_form.html.haml2
-rw-r--r--app/views/doorkeeper/authorized_applications/index.html.haml6
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/doorkeeper/authorized_applications/_delete_form.html.haml b/app/views/doorkeeper/authorized_applications/_delete_form.html.haml
index 11c1e67878e..08f2442f025 100644
--- a/app/views/doorkeeper/authorized_applications/_delete_form.html.haml
+++ b/app/views/doorkeeper/authorized_applications/_delete_form.html.haml
@@ -6,4 +6,4 @@
= form_tag path do
%input{ :name => "_method", :type => "hidden", :value => "delete" }/
- = submit_tag 'Revoke', onclick: "return confirm('Are you sure?')", class: 'btn btn-remove btn-sm'
+ = submit_tag _('Revoke'), onclick: "return confirm('#{_('Are you sure?')}')", class: 'btn btn-remove btn-sm'
diff --git a/app/views/doorkeeper/authorized_applications/index.html.haml b/app/views/doorkeeper/authorized_applications/index.html.haml
index 30c9d02b72e..8e73298b250 100644
--- a/app/views/doorkeeper/authorized_applications/index.html.haml
+++ b/app/views/doorkeeper/authorized_applications/index.html.haml
@@ -1,12 +1,12 @@
%header
- %h1 Your authorized applications
+ %h1= _("Your authorized applications")
%main{ :role => "main" }
.table-holder
%table.table.table-striped
%thead
%tr
- %th Application
- %th Created At
+ %th= _('Application')
+ %th= _('Created At')
%th
%th
%tbody