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,
|
:remote => true,
|
||||||
:confirm => t('reshares.reshare.reshare_confirmation', :author => post.root.author.name)
|
:confirm => t('reshares.reshare.reshare_confirmation', :author => post.root.author.name)
|
||||||
else
|
else
|
||||||
link_to t("reshares.reshare.reshare_original"),
|
link_to t('shared.reshare.reshare'),
|
||||||
reshares_path(:root_guid => post.guid),
|
reshares_path(:root_guid => post.guid),
|
||||||
:method => :post,
|
:method => :post,
|
||||||
:remote => true,
|
:remote => true,
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@ describe ResharesHelper do
|
||||||
@post.reshare_count.should == 0
|
@post.reshare_count.should == 0
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'has "Reshare original" as the English text' do
|
it 'has "Reshare" as the English text' do
|
||||||
reshare_link(@post).should =~ %r{>Reshare original</a>}
|
reshare_link(@post).should =~ %r{>Reshare</a>}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ describe ResharesHelper do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'has "Reshare original" as the English text' do
|
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
|
end
|
||||||
|
|
||||||
it 'its reshare has "Reshare original" as the English text' do
|
it 'its reshare has "Reshare original" as the English text' do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue