Update pagination prev and next texts

parent ea795837
...@@ -3,8 +3,8 @@ import { s__ } from '~/locale'; ...@@ -3,8 +3,8 @@ import { s__ } from '~/locale';
export const PAGINATION_UI_BUTTON_LIMIT = 4; export const PAGINATION_UI_BUTTON_LIMIT = 4;
export const UI_LIMIT = 6; export const UI_LIMIT = 6;
export const SPREAD = '...'; export const SPREAD = '...';
export const PREV = s__('Pagination|Prev'); export const PREV = s__('Pagination|Prev');
export const NEXT = s__('Pagination|Next'); export const NEXT = s__('Pagination|Next');
export const FIRST = s__('Pagination|« First'); export const FIRST = s__('Pagination|« First');
export const LAST = s__('Pagination|Last »'); export const LAST = s__('Pagination|Last »');
export const LABEL_FIRST_PAGE = s__('Pagination|Go to first page'); export const LABEL_FIRST_PAGE = s__('Pagination|Go to first page');
......
---
title: Update pagination prev and next texts
merge_request: 29911
author:
type: other
...@@ -6937,13 +6937,13 @@ msgstr "" ...@@ -6937,13 +6937,13 @@ msgstr ""
msgid "Pagination|Last »" msgid "Pagination|Last »"
msgstr "" msgstr ""
msgid "Pagination|Next" msgid "Pagination|Next"
msgstr "" msgstr ""
msgid "Pagination|Prev" msgid "Pagination|« First"
msgstr "" msgstr ""
msgid "Pagination|« First" msgid "Pagination|‹ Prev"
msgstr "" msgstr ""
msgid "Parameter" msgid "Parameter"
......
...@@ -217,7 +217,7 @@ describe('Pagination component', () => { ...@@ -217,7 +217,7 @@ describe('Pagination component', () => {
change: spy, 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(); component.$el.querySelector('.js-next-button .page-link').click();
...@@ -237,7 +237,7 @@ describe('Pagination component', () => { ...@@ -237,7 +237,7 @@ describe('Pagination component', () => {
change: spy, 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(); 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