diff options
author | Wu Cheng-Han | 2016-08-19 11:49:24 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-08-19 11:49:24 +0800 |
commit | b9c59c454d68e35708f64703a423930b99075cab (patch) | |
tree | 35afc40b67c86c17d291b482cd52ae2417c82fb3 /public/views/refresh-modal.ejs | |
parent | 87f4d05e8e8f36ac276cd85601cabc1fbb7efc2c (diff) |
Add support of i18n with related patches and support "en" and "zh" locales for now
Diffstat (limited to '')
-rw-r--r-- | public/views/refresh-modal.ejs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/public/views/refresh-modal.ejs b/public/views/refresh-modal.ejs index 07e3ecab..5be41b2a 100644 --- a/public/views/refresh-modal.ejs +++ b/public/views/refresh-modal.ejs @@ -5,26 +5,26 @@ <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span> </button> - <h4 class="modal-title" id="myModalLabel">This page need refresh</h4> + <h4 class="modal-title" id="myModalLabel"><%= __('This page need refresh') %></h4> </div> <div class="modal-body"> <div class="incompatible-version"> - <h5>You have an incompatible client version.</h5> - <strong>Refresh to update.</strong> + <h5><%= __('You have an incompatible client version.') %></h5> + <strong><%= __('Refresh to update.') %></strong> </div> <div class="new-version" style="display:none;"> - <h5>New version available!</h5> - <a href="<%- url %>/s/release-notes" target="_blank">See releases notes here</a> + <h5><%= __('New version available!') %></h5> + <a href="<%- url %>/s/release-notes" target="_blank"><%= __('See releases notes here') %></a> <br> - <strong>Refresh to enjoy new features.</strong> + <strong><%= __('Refresh to enjoy new features.') %></strong> </div> <div class="user-state-changed" style="display:none;"> - <h5>Your user state has changed.</h5> - <strong>Refresh to load new user state.</strong> + <h5><%= __('Your user state has changed.') %></h5> + <strong><%= __('Refresh to load new user state.') %></strong> </div> </div> <div class="modal-footer"> - <button type="button" class="btn btn-primary" id="refreshModalRefresh">Refresh</button> + <button type="button" class="btn btn-primary" id="refreshModalRefresh"><%= __('Refresh') %></button> </div> </div> </div> |