From ac0bc1bb303c8fb1d05f5cec56278260add4a928 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 3 Apr 2013 11:29:50 -0400 Subject: [PATCH] Including your avatar if you've posted is confusing. Let's remove it for now. --- app/models/topic.rb | 6 ------ config/locales/server.cs.yml | 1 - config/locales/server.da.yml | 1 - config/locales/server.de.yml | 1 - config/locales/server.en.yml | 1 - config/locales/server.es.yml | 1 - config/locales/server.fr.yml | 1 - config/locales/server.id.yml | 1 - config/locales/server.it.yml | 1 - config/locales/server.nl.yml | 1 - config/locales/server.pseudo.yml | 1 - config/locales/server.pt.yml | 1 - config/locales/server.sv.yml | 1 - config/locales/server.zh_CN.yml | 1 - config/locales/server.zh_TW.yml | 1 - 15 files changed, 20 deletions(-) diff --git a/app/models/topic.rb b/app/models/topic.rb index af082c77126..83d89785af4 100644 --- a/app/models/topic.rb +++ b/app/models/topic.rb @@ -527,11 +527,6 @@ class Topic < ActiveRecord::Base end end - posted = if topic_user.present? && current_user.present? - current_user if topic_user.posted? - end - - add_description.call(current_user, :youve_posted) if posted.present? add_description.call(al[user_id], :original_poster) add_description.call(al[featured_user1_id], :most_posts) add_description.call(al[featured_user2_id], :frequent_poster) @@ -541,7 +536,6 @@ class Topic < ActiveRecord::Base @posters_summary = [al[user_id], - posted, al[last_post_user_id], al[featured_user1_id], al[featured_user2_id], diff --git a/config/locales/server.cs.yml b/config/locales/server.cs.yml index d56631a0e35..64b9d3fae64 100644 --- a/config/locales/server.cs.yml +++ b/config/locales/server.cs.yml @@ -505,7 +505,6 @@ cs: topic: 'Témata' user: 'Uživatelé' - youve_posted: "Zaslal jste" original_poster: "Původní zasilatel" most_posts: "Více příspěvků" most_recent_poster: "Poslední zasilatel" diff --git a/config/locales/server.da.yml b/config/locales/server.da.yml index 77993f2e22b..4b72104dc4e 100644 --- a/config/locales/server.da.yml +++ b/config/locales/server.da.yml @@ -443,7 +443,6 @@ da: topic: 'Emner' user: 'Brugere' - youve_posted: "Du har svaret" original_poster: "Oprindelig forfatter" most_posts: "Flest indlæg" most_recent_poster: "Seneste indlæg" diff --git a/config/locales/server.de.yml b/config/locales/server.de.yml index b063496bb83..41154affbd3 100644 --- a/config/locales/server.de.yml +++ b/config/locales/server.de.yml @@ -468,7 +468,6 @@ de: topic: 'Themen' user: 'Benutzer' - youve_posted: "Du hast etwas beigetragen" original_poster: "Autor des ersten Beitrags" most_posts: "Autor der meisten Beiträge" most_recent_poster: "Autor des jüngsten Beitrags" diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 6a13e930067..d3bed4eed6d 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -475,7 +475,6 @@ en: topic: 'Topics' user: 'Users' - youve_posted: "You've Posted" original_poster: "Original Poster" most_posts: "Most Posts" most_recent_poster: "Most Recent Poster" diff --git a/config/locales/server.es.yml b/config/locales/server.es.yml index 7721801b2fd..6f563c54997 100644 --- a/config/locales/server.es.yml +++ b/config/locales/server.es.yml @@ -428,7 +428,6 @@ es: topic: 'Topics' user: 'Users' - youve_posted: "You've Posted" original_poster: "Original Poster" most_posts: "Most Posts" most_recent_poster: "Most Recent Poster" diff --git a/config/locales/server.fr.yml b/config/locales/server.fr.yml index 07bcc87105e..7cedb7b0211 100644 --- a/config/locales/server.fr.yml +++ b/config/locales/server.fr.yml @@ -483,7 +483,6 @@ fr: topic: 'Discussions' user: 'Utilisateurs' - youve_posted: "Vous avez posté" original_poster: "Auteur originel" most_posts: "Le plus de messages" most_recent_poster: "Auteur le plus récent" diff --git a/config/locales/server.id.yml b/config/locales/server.id.yml index 92b33d036ea..04be2caf911 100644 --- a/config/locales/server.id.yml +++ b/config/locales/server.id.yml @@ -450,7 +450,6 @@ id: topic: 'Topics' user: 'Users' - youve_posted: "You've Posted" original_poster: "Original Poster" most_posts: "Most Posts" most_recent_poster: "Most Recent Poster" diff --git a/config/locales/server.it.yml b/config/locales/server.it.yml index 2aa8ba2302e..779b84243b2 100644 --- a/config/locales/server.it.yml +++ b/config/locales/server.it.yml @@ -451,7 +451,6 @@ it: topic: 'Topic' user: 'Utenti' - youve_posted: "Hai Postato" original_poster: "Autore Originale" most_posts: "Molti Post" most_recent_poster: "Utenti più recenti" diff --git a/config/locales/server.nl.yml b/config/locales/server.nl.yml index aab6f271d3d..84963683ae3 100644 --- a/config/locales/server.nl.yml +++ b/config/locales/server.nl.yml @@ -368,7 +368,6 @@ nl: topic: 'Topics' user: 'Gebruikers' - youve_posted: "Jij Hebt Dit Gepost" original_poster: "Originele Poster" most_posts: "Meer Posts" most_recent_poster: "Meest Recente Poster" diff --git a/config/locales/server.pseudo.yml b/config/locales/server.pseudo.yml index e09cae4c75d..1c8831b680f 100644 --- a/config/locales/server.pseudo.yml +++ b/config/locales/server.pseudo.yml @@ -554,7 +554,6 @@ pseudo: category: '[[ Čáťéǧóříéš ]]' topic: '[[ Ťóƿíčš ]]' user: '[[ Ůšéřš ]]' - youve_posted: '[[ Ýóů''νé Рóšťéď ]]' original_poster: '[[ Óříǧíɳáł Рóšťéř ]]' most_posts: '[[ Ϻóšť Рóšťš ]]' most_recent_poster: '[[ Ϻóšť Řéčéɳť Рóšťéř ]]' diff --git a/config/locales/server.pt.yml b/config/locales/server.pt.yml index 4c647ac2b33..74a2665ab78 100644 --- a/config/locales/server.pt.yml +++ b/config/locales/server.pt.yml @@ -368,7 +368,6 @@ pt: topic: 'Tópicos' user: 'Utilizadores' - youve_posted: "Postaste" original_poster: "Postador original" most_posts: "Maior parte dos Posts" most_recent_poster: "Maior parte dos Posts Recentes" diff --git a/config/locales/server.sv.yml b/config/locales/server.sv.yml index 41ee6d90091..2edeac5aa9c 100644 --- a/config/locales/server.sv.yml +++ b/config/locales/server.sv.yml @@ -450,7 +450,6 @@ sv: topic: 'Topics' user: 'Users' - youve_posted: "You've Posted" original_poster: "Original Poster" most_posts: "Most Posts" most_recent_poster: "Most Recent Poster" diff --git a/config/locales/server.zh_CN.yml b/config/locales/server.zh_CN.yml index bb6b27a0c2d..77497870a0f 100644 --- a/config/locales/server.zh_CN.yml +++ b/config/locales/server.zh_CN.yml @@ -459,7 +459,6 @@ zh_CN: topic: '主题' user: '用户' - youve_posted: "你已发表了" original_poster: "原始作者" most_posts: "大部分帖子" most_recent_poster: "当前大部分帖子作者" diff --git a/config/locales/server.zh_TW.yml b/config/locales/server.zh_TW.yml index 8f7e7f54351..d67d0a6c3ae 100644 --- a/config/locales/server.zh_TW.yml +++ b/config/locales/server.zh_TW.yml @@ -459,7 +459,6 @@ zh_TW: topic: '主題' user: '用戶' - youve_posted: "你已發表了" original_poster: "原始作者" most_posts: "大部分帖子" most_recent_poster: "當前大部分帖子作者"