change #newhere to translation
This commit is contained in:
parent
6f7c9e9301
commit
f2997f5146
4 changed files with 5 additions and 3 deletions
|
|
@ -27,7 +27,7 @@
|
||||||
%h5
|
%h5
|
||||||
= t('aspects.index.new_here.title')
|
= t('aspects.index.new_here.title')
|
||||||
.content
|
.content
|
||||||
!= t('aspects.index.new_here.follow', :link => link_to('#NewHere', tag_path(:name => "NewHere")))
|
!= t('aspects.index.new_here.follow', :link => link_to("#"+t('shared.publisher.new_user_prefill.newhere'), tag_path(:name => "NewHere")))
|
||||||
%br
|
%br
|
||||||
= link_to(t('aspects.index.new_here.learn_more'), "https://github.com/diaspora/diaspora/wiki/Welcoming-Committee")
|
= link_to(t('aspects.index.new_here.learn_more'), "https://github.com/diaspora/diaspora/wiki/Welcoming-Committee")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -745,7 +745,8 @@ de:
|
||||||
all_contacts: "Alle Kontakte"
|
all_contacts: "Alle Kontakte"
|
||||||
discard_post: "Beitrag verwerfen"
|
discard_post: "Beitrag verwerfen"
|
||||||
make_public: "veröffentlichen"
|
make_public: "veröffentlichen"
|
||||||
new_user_prefill:
|
new_user_prefill:
|
||||||
|
newhere: "NeuHier"
|
||||||
hello: "Hallo zusammen, ich bin #%{new_user_tag}. "
|
hello: "Hallo zusammen, ich bin #%{new_user_tag}. "
|
||||||
i_like: "Ich interessiere mich für %{tags}."
|
i_like: "Ich interessiere mich für %{tags}."
|
||||||
invited_by: "Danke für die Einladung,"
|
invited_by: "Danke für die Einladung,"
|
||||||
|
|
|
||||||
|
|
@ -759,6 +759,7 @@ en:
|
||||||
publishing_to: "publishing to: "
|
publishing_to: "publishing to: "
|
||||||
discard_post: "Discard post"
|
discard_post: "Discard post"
|
||||||
new_user_prefill:
|
new_user_prefill:
|
||||||
|
newhere: "NewHere"
|
||||||
hello: "Hey everyone, I'm #%{new_user_tag}. "
|
hello: "Hey everyone, I'm #%{new_user_tag}. "
|
||||||
i_like: "I'm interested in %{tags}. "
|
i_like: "I'm interested in %{tags}. "
|
||||||
invited_by: "Thanks for the invite, "
|
invited_by: "Thanks for the invite, "
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ class Stream::Multi < Stream::Base
|
||||||
#
|
#
|
||||||
# @return [String]
|
# @return [String]
|
||||||
def publisher_prefill
|
def publisher_prefill
|
||||||
prefill = I18n.t("shared.publisher.new_user_prefill.hello", :new_user_tag => "NewHere")
|
prefill = I18n.t("shared.publisher.new_user_prefill.hello", :new_user_tag => I18n.t('shared.publisher.new_user_prefill.newhere'))
|
||||||
if self.user.followed_tags.size > 0
|
if self.user.followed_tags.size > 0
|
||||||
tag_string = self.user.followed_tags.map{|t| "##{t.name}"}.to_sentence
|
tag_string = self.user.followed_tags.map{|t| "##{t.name}"}.to_sentence
|
||||||
prefill << I18n.t("shared.publisher.new_user_prefill.i_like", :tags => tag_string)
|
prefill << I18n.t("shared.publisher.new_user_prefill.i_like", :tags => tag_string)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue