Original (root) posts should simply have "Reshare" as the English link text (not "Reshare original").
This commit is contained in:
parent
90d960bac7
commit
99f2d4f018
2 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ module ResharesHelper
|
|||
:remote => true,
|
||||
:confirm => t('reshares.reshare.reshare_confirmation', :author => post.root.author.name)
|
||||
else
|
||||
link_to t("reshares.reshare.reshare_original"),
|
||||
link_to t('shared.reshare.reshare'),
|
||||
reshares_path(:root_guid => post.guid),
|
||||
:method => :post,
|
||||
:remote => true,
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ describe ResharesHelper do
|
|||
@post.reshare_count.should == 0
|
||||
end
|
||||
|
||||
it 'has "Reshare original" as the English text' do
|
||||
reshare_link(@post).should =~ %r{>Reshare original</a>}
|
||||
it 'has "Reshare" as the English text' do
|
||||
reshare_link(@post).should =~ %r{>Reshare</a>}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ describe ResharesHelper do
|
|||
end
|
||||
|
||||
it 'has "Reshare original" as the English text' do
|
||||
reshare_link(@post).should =~ %r{>Reshare original</a>}
|
||||
reshare_link(@post).should =~ %r{>Reshare</a>}
|
||||
end
|
||||
|
||||
it 'its reshare has "Reshare original" as the English text' do
|
||||
|
|
|
|||
Loading…
Reference in a new issue