summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-09-22 09:57:07 +0000
committerTim Zallmann <tzallmann@gitlab.com>2017-09-22 09:57:07 +0000
commit41068df71d8c198bced9cc16eeb4ed1f70961e86 (patch)
tree908cde13256aab2a7a97b6ab5d39ede18155484c /app
parent3446262169c08565ce68962a0138fb58dcecbb51 (diff)
parentafc556773b90764f9db7f111053ada6e9f07c34d (diff)
downloadgitlab-ce-41068df71d8c198bced9cc16eeb4ed1f70961e86.tar.gz
Merge branch '32782-i18n-support-pagination' into 'master'
Add i18n support to pagination widget See merge request gitlab-org/gitlab-ce!14407
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/vue_shared/components/table_pagination.vue10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/assets/javascripts/vue_shared/components/table_pagination.vue b/app/assets/javascripts/vue_shared/components/table_pagination.vue
index c9dbc048345..710452bb3d3 100644
--- a/app/assets/javascripts/vue_shared/components/table_pagination.vue
+++ b/app/assets/javascripts/vue_shared/components/table_pagination.vue
@@ -1,11 +1,13 @@
<script>
+import { s__ } from '../../locale';
+
const PAGINATION_UI_BUTTON_LIMIT = 4;
const UI_LIMIT = 6;
const SPREAD = '...';
-const PREV = 'Prev';
-const NEXT = 'Next';
-const FIRST = '« First';
-const LAST = 'Last »';
+const PREV = s__('Pagination|Prev');
+const NEXT = s__('Pagination|Next');
+const FIRST = s__('Pagination|« First');
+const LAST = s__('Pagination|Last »');
export default {
props: {