From 187aff9fa8bd7616b5a93aefaa2e9166d5d3d4ab Mon Sep 17 00:00:00 2001
From: Yusuke Nemoto <kaakaa@users.noreply.github.com>
Date: Thu, 2 Feb 2017 01:44:05 +0900
Subject: add modal next/prev button to be localized (#5245)

---
 webapp/components/searchable_user_list.jsx | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to 'webapp/components/searchable_user_list.jsx')

diff --git a/webapp/components/searchable_user_list.jsx b/webapp/components/searchable_user_list.jsx
index 8058010ea..d25c8a506 100644
--- a/webapp/components/searchable_user_list.jsx
+++ b/webapp/components/searchable_user_list.jsx
@@ -102,7 +102,10 @@ export default class SearchableUserList extends React.Component {
                         onClick={this.nextPage}
                         disabled={this.state.nextDisabled}
                     >
-                        {'Next'}
+                        <FormattedMessage
+                            id='filtered_user_list.next'
+                            defaultMessage='Next'
+                        />
                     </button>
                 );
             }
@@ -113,7 +116,10 @@ export default class SearchableUserList extends React.Component {
                         className='btn btn-default filter-control filter-control__prev'
                         onClick={this.previousPage}
                     >
-                        {'Previous'}
+                        <FormattedMessage
+                            id='filtered_user_list.prev'
+                            defaultMessage='Previous'
+                        />
                     </button>
                 );
             }
-- 
cgit v1.2.3-1-g7c22

