made help tags translatable so that local communities can take care of the new users, also fixed #2327

This commit is contained in:
Jonne Hass 2011-11-06 16:43:13 +01:00
parent 80cdcd4edd
commit a1eee6e90f
3 changed files with 8 additions and 6 deletions

View file

@ -78,8 +78,7 @@
%br
%br
%p
\...#{t('.or_select_one')}
= link_to t('_photos'), person_photos_path(person)
\...#{t('.or_select_one_existing', :photos => link_to(t('_photos'), person_photos_path(person)))}
#publisher_photo_upload

View file

@ -41,11 +41,11 @@
%br
= t('aspects.index.help.do_you')
%br
!= t('aspects.index.help.have_a_question', :link => link_to("#question" , tag_path(:name => "question")))
!= t('aspects.index.help.have_a_question', :link => link_to(t('aspects.index.help.tag_question'), tag_path(:name => "question")))
%br
!= t('aspects.index.help.find_a_bug', :link => link_to("#bug" , tag_path(:name => "bug")))
!= t('aspects.index.help.find_a_bug', :link => link_to(t('aspects.index.help.tag_bug'), tag_path(:name => "bug")))
%br
!= t('aspects.index.help.feature_suggestion', :link => link_to("#feature" , tag_path(:name => "feature")))
!= t('aspects.index.help.feature_suggestion', :link => link_to(t('aspects.index.help.tag_feature'), tag_path(:name => "feature")))
%br
%br
%p

View file

@ -176,8 +176,11 @@ en:
here_to_help: "The Diaspora community is here!"
do_you: "Do you:"
have_a_question: "... have a %{link}?"
tag_question: "#question"
find_a_bug: "... find a %{link}?"
tag_bug: "#bug"
feature_suggestion: "... have a %{link} suggestion?"
tag_feature: "#feature"
tutorials_wiki_and_forum: "%{tutorial} & %{wiki} & %{forum}: Community-powered tutorials, how-to, and news"
@ -598,7 +601,7 @@ en:
empty: "{file} is empty, please select files again without it."
new_profile_photo:
upload: "Upload a new profile photo!"
or_select_one: "or select one from your already existing"
or_select_one_existing: "or select one from your already existing %{photos}"
comment_email_subject: "%{name}'s photo"
posts: