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
|
||||
= t('aspects.index.new_here.title')
|
||||
.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
|
||||
= 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"
|
||||
discard_post: "Beitrag verwerfen"
|
||||
make_public: "veröffentlichen"
|
||||
new_user_prefill:
|
||||
new_user_prefill:
|
||||
newhere: "NeuHier"
|
||||
hello: "Hallo zusammen, ich bin #%{new_user_tag}. "
|
||||
i_like: "Ich interessiere mich für %{tags}."
|
||||
invited_by: "Danke für die Einladung,"
|
||||
|
|
|
|||
|
|
@ -759,6 +759,7 @@ en:
|
|||
publishing_to: "publishing to: "
|
||||
discard_post: "Discard post"
|
||||
new_user_prefill:
|
||||
newhere: "NewHere"
|
||||
hello: "Hey everyone, I'm #%{new_user_tag}. "
|
||||
i_like: "I'm interested in %{tags}. "
|
||||
invited_by: "Thanks for the invite, "
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ class Stream::Multi < Stream::Base
|
|||
#
|
||||
# @return [String]
|
||||
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
|
||||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue