Commit 97e8f494 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'update-pagination-texts' into 'master'

Update pagination prev and next texts

See merge request gitlab-org/gitlab-ce!29911
parents b2f0955b 4e6d6877
......@@ -3,8 +3,8 @@ import { s__ } from '~/locale';
export const PAGINATION_UI_BUTTON_LIMIT = 4;
export const UI_LIMIT = 6;
export const SPREAD = '...';
export const PREV = s__('Pagination|Prev');
export const NEXT = s__('Pagination|Next');
export const PREV = s__('Pagination|Prev');
export const NEXT = s__('Pagination|Next');
export const FIRST = s__('Pagination|« First');
export const LAST = s__('Pagination|Last »');
export const LABEL_FIRST_PAGE = s__('Pagination|Go to first page');
......
---
title: Update pagination prev and next texts
merge_request: 29911
author:
type: other
......@@ -6943,13 +6943,13 @@ msgstr ""
msgid "Pagination|Last »"
msgstr ""
msgid "Pagination|Next"
msgid "Pagination|Next"
msgstr ""
msgid "Pagination|Prev"
msgid "Pagination|« First"
msgstr ""
msgid "Pagination|« First"
msgid "Pagination|‹ Prev"
msgstr ""
msgid "Parameter"
......
......@@ -217,7 +217,7 @@ describe('Pagination component', () => {
change: spy,
});
expect(component.$el.querySelector('.js-next-button').textContent.trim()).toEqual('Next');
expect(component.$el.querySelector('.js-next-button').textContent.trim()).toEqual('Next');
component.$el.querySelector('.js-next-button .page-link').click();
......@@ -237,7 +237,7 @@ describe('Pagination component', () => {
change: spy,
});
expect(component.$el.querySelector('.js-next-button').textContent.trim()).toEqual('Next');
expect(component.$el.querySelector('.js-next-button').textContent.trim()).toEqual('Next');
component.$el.querySelector('.js-next-button .page-link').click();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment