Skip to content
Extraits de code Groupes Projets
Valider 99f2d4f0 rédigé par Pistos's avatar Pistos
Parcourir les fichiers

Original (root) posts should simply have "Reshare" as the English link text...

Original (root) posts should simply have "Reshare" as the English link text (not "Reshare original").
parent 90d960ba
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter