Last active
August 29, 2015 14:25
-
-
Save reyesyang/18e07a4db06f0b2d4c94 to your computer and use it in GitHub Desktop.
Kaminari I18n translation in zh-CN language
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: | |
# 1. Put this file in config/locales/kaminari/zh-CN.yml | |
# 2. Set load_path in config/application.rb as below: | |
# config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s] | |
zh-CN: | |
views: | |
pagination: | |
first: "« 首页" | |
last: "末页 »" | |
previous: "‹ 上一页" | |
next: "下一页 ›" | |
truncate: "…" | |
helpers: | |
page_entries_info: | |
one_page: | |
display_entries: | |
zero: "暂时没有相关记录" | |
one: "正在显示第 <b>1</b> 个" | |
other: "正在显示 <b>全部 %{count}</b> 个" | |
more_pages: | |
display_entries: "当前显示为第 <b>%{first} - %{last}</b> 个,共 <b>%{total}</b> 个" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment