1
0
Fork 0
forked from OpenNeo/impress

i18n newest items headers

This commit is contained in:
Emi Matchu 2013-12-30 10:44:05 -05:00
parent 342f8ef859
commit 949fa2a77a
3 changed files with 12 additions and 2 deletions

View file

@ -76,7 +76,7 @@
-# TODO: i18n all the things
-# TODO: cache this entire block? or just request newest items every time?
- if @newest_unmodeled_items.present?
%h3 We need your help! Can you model these items?
%h3= t '.newest_items.unmodeled.header'
%ul#newest-unmodeled-items
- @newest_unmodeled_items.each do |item|
- localized_cache "items/#{item.id} modeling_progress updated_at=#{item.updated_at.to_i}" do
@ -88,7 +88,7 @@
.missing-bodies
= render_predicted_missing_species_by_color(@newest_unmodeled_items_predicted_missing_species_by_color[item])
- if @newest_modeled_items.present?
%h3 These items have already been modeled—thanks for your help!
%h3= t '.newest_items.modeled.header'
%ul#newest-modeled-items
- @newest_modeled_items.each do |item|
%li.object

View file

@ -644,6 +644,11 @@ en-MEEP:
Meep, %{user_link}!"
blog:
link: OpenNeo Meep
newest_items:
unmodeled:
header: We meep your help! Can you meep these items?
modeled:
header: These items have already been meeped—meep for your help!
pet_query:
notice_html:
Thanks for meeping us <strong>%{pet_name}</strong>.

View file

@ -700,6 +700,11 @@ en:
Thanks, %{user_link}!"
blog:
link: OpenNeo Blog
newest_items:
unmodeled:
header: We need your help! Can you model these items?
modeled:
header: These items have already been modeled—thanks for your help!
pet_query:
notice_html:
Thanks for showing us <strong>%{pet_name}</strong>.