summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-09-21 14:24:13 +0530
committerkushalpandya <kushal@gitlab.com>2017-09-21 14:24:13 +0530
commit04aaf393a0d912f18b4d3b3a6c766c3350bb2b64 (patch)
tree472cb7ef2f94ebc53578bb0fffd40644ff297ebc /app
parent251ed2d405d73c0177668d5a3c730615153e293e (diff)
downloadgitlab-ce-04aaf393a0d912f18b4d3b3a6c766c3350bb2b64.tar.gz
Add i18n support for pagination test
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: {