Pagination happened to show "Page Gap" #346

Closed
andrewleo opened this Issue Dec 11, 2013 · 2 comments

Comments

Projects
None yet
1 participant
@andrewleo

When I use the code below to realize paging, unnomal situation happened as the attachment showing, just as the title says:

  <%= will_paginate @apks, :previous_label => '上一页', :next_label => '下一页' %>

2013-12-11 11 57 18

I alse observe the source code of html :

<span class="gap">
    <span class="translation_missing" title="translation missing: zh.will_paginate.page_gap"></span>
</span>

What version of the product are you using? On what operating system?
will_paginate 3.0.5,Mac OS X 10.7.5

Wish you can help,many thanks!

@andrewleo

This comment has been minimized.

Show comment Hide comment
@andrewleo

andrewleo Dec 25, 2013

Can someone telling me the reason ,or the solution??
Many thanks!

Can someone telling me the reason ,or the solution??
Many thanks!

@andrewleo andrewleo closed this Jan 23, 2014

@ghost

This comment has been minimized.

Show comment Hide comment
@ghost

ghost Nov 27, 2015

file path
config/locales.yml
add like this
will_paginate:
previous_label: '<<上一页'
next_label: '下一页>>'
page_gap: '....'

that would be ok !!

ghost commented Nov 27, 2015

file path
config/locales.yml
add like this
will_paginate:
previous_label: '<<上一页'
next_label: '下一页>>'
page_gap: '....'

that would be ok !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment