Skip to content

Commit

Permalink
Locale updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrish committed Jan 14, 2012
1 parent 460c565 commit 85ef297
Show file tree
Hide file tree
Showing 18 changed files with 99 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GEM
specs:
diff-lcs (1.1.3)
git (1.2.5)
i18n-spec (0.0.9)
i18n-spec (0.1.0)
jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
Expand Down
1 change: 1 addition & 0 deletions locale/bg.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
bg:
will_paginate:
next_label: следваща →
page_gap: ! '…'
previous_label: ← предишна
1 change: 1 addition & 0 deletions locale/da.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
da:
will_paginate:
next_label: næste →
page_gap: ! '…'
previous_label: ← forrige
1 change: 1 addition & 0 deletions locale/de.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
de:
will_paginate:
next_label: Weiter →
page_gap: ! '…'
previous_label: ← Vorige
11 changes: 11 additions & 0 deletions locale/en-AU.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
en-AU:
will_paginate:
next_label: next →
page_entries_info:
multi_page: Displaying %{model} %{from} - %{to} of %{count} in total
multi_page_html: Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{count}</b>
in total
single_page:
one: Displaying 1 %{model}
other: Displaying all %{count} %{model}
single_page_html:
one: Displaying <b>1</b> %{model}
other: Displaying <b>all&nbsp;%{count}</b> %{model}
page_gap: ! '&hellip;'
previous_label: ← previous
17 changes: 15 additions & 2 deletions locale/en-GB.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
en-GB:
will_paginate:
next_label: next →
previous_label: ← previous
next_label: Next &#8594;
page_entries_info:
multi_page: Displaying %{model} %{from} - %{to} of %{count} in total
multi_page_html: Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{count}</b>
in total
single_page:
one: Displaying 1 %{model}
other: Displaying all %{count} %{model}
zero: No %{model} found
single_page_html:
one: Displaying <b>1</b> %{model}
other: Displaying <b>all&nbsp;%{count}</b> %{model}
zero: No %{model} found
page_gap: ! '&hellip;'
previous_label: ! '&#8592; Previous'
17 changes: 15 additions & 2 deletions locale/en-US.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
en-US:
will_paginate:
next_label: next →
previous_label: ← previous
next_label: Next &#8594;
page_entries_info:
multi_page: Displaying %{model} %{from} - %{to} of %{count} in total
multi_page_html: Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{count}</b>
in total
single_page:
one: Displaying 1 %{model}
other: Displaying all %{count} %{model}
zero: No %{model} found
single_page_html:
one: Displaying <b>1</b> %{model}
other: Displaying <b>all&nbsp;%{count}</b> %{model}
zero: No %{model} found
page_gap: ! '&hellip;'
previous_label: ! '&#8592; Previous'
1 change: 1 addition & 0 deletions locale/es.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
es:
will_paginate:
next_label: siguiente →
page_gap: ! '&hellip;'
previous_label: ← atrás
11 changes: 11 additions & 0 deletions locale/fr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
fr:
will_paginate:
next_label: suivant →
page_entries_info:
multi_page: ! '%{model} %{from} - %{to} sur %{count} au total'
multi_page_html: ! '%{model} <strong>%{from} - %{to}</strong> sur <strong>%{count}</strong>
au total'
single_page:
one: ! '%{count} %{model} affiché(e)'
other: ! '%{count} %{model} affiché(e)s'
single_page_html:
one: ! '%{count} %{model} affiché(e)'
other: ! '%{count} %{model} affiché(e)s'
page_gap: ! '&hellip;'
previous_label: ← précédent
1 change: 1 addition & 0 deletions locale/hu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
hu:
will_paginate:
next_label: következő →
page_gap: ! '&hellip;'
previous_label: ← előző
1 change: 1 addition & 0 deletions locale/it.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
it:
will_paginate:
next_label: successivo →
page_gap: ! '&hellip;'
previous_label: ← precedente
16 changes: 14 additions & 2 deletions locale/ja.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
ja:
will_paginate:
next_label: 次へ →
previous_label: ← 前へ
next_label: 次へ &#8594;
page_entries_info:
multi_page: ! '%{from}番目から%{to}番目までの%{model}を表示しています(全%{count}件中)'
multi_page_html: <b>%{from}</b>番目から<b>%{to}</b>番目までの%{model}を表示しています(全<b>%{count}</b>件中)
single_page:
one: 1件の%{model}を表示しています
other: ! '%{count}件の%{model}をすべて表示しています'
zero: ! '%{model}が見つかりません'
single_page_html:
one: <b>1</b>件の%{model}を表示しています
other: <b>%{count}</b>件の%{model}をすべて表示しています
zero: ! '%{model}が見つかりません'
page_gap: ! '&hellip;'
previous_label: ! '&#8592; 前へ'
1 change: 1 addition & 0 deletions locale/nl.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
nl:
will_paginate:
next_label: volgende →
page_gap: ! '&hellip;'
previous_label: ← vorige
1 change: 1 addition & 0 deletions locale/pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pt-PT:
will_paginate:
next_label: próximo →
page_gap: ! '&hellip;'
previous_label: ← anterior
5 changes: 5 additions & 0 deletions locale/ro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ro:
will_paginate:
next_label: următor →
page_gap: ! '&hellip;'
previous_label: ← anterior
1 change: 1 addition & 0 deletions locale/ru.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ru:
will_paginate:
next_label: Дальше →
page_gap: ! '&hellip;'
previous_label: ← Предыдущий
17 changes: 17 additions & 0 deletions locale/sk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sk:
will_paginate:
next_label: Ďalšia &#8594;
page_entries_info:
multi_page: Zobrazujem %{model} %{from} - %{to} z celkovo %{count}
multi_page_html: Zobrazujem %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> z celkovo
<b>%{count}</b>
single_page:
one: Zobrazujem 1 %{model}
other: Zobrazujem všetkých %{count} %{model}
zero: Nenájdený žiadny %{model}
single_page_html:
one: Zobrazujem <b>1</b> %{model}
other: Zobrazujem <b>všetkých&nbsp;%{count}</b> %{model}
zero: Nenájdený žiadny %{model}
page_gap: ! '&hellip;'
previous_label: ! '&#8592; Predošlá'
2 changes: 1 addition & 1 deletion spec/will-paginate-i18n_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Dir.glob('locale/*.yml').each do |locale_file|
describe 'a locale file' do
it_behaves_like 'a valid locale file', locale_file
it { locale_file.should be_a_complete_translation_of 'locale/en-US.yml' }
it { locale_file.should be_a_subset_of 'locale/en-US.yml' }
end
end

0 comments on commit 85ef297

Please sign in to comment.