Skip to content

Commit

Permalink
.published_on changed; see below
Browse files Browse the repository at this point in the history
I just can't translate "published on ... by ... tags ..." phrase properly using currenct construction. It looks like crap. So I have to suggest a new one. Thanks for your undestanding.
  • Loading branch information
apsheronets committed Apr 7, 2014
1 parent b4bd2a5 commit 8aa3c3b
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 55 deletions.
4 changes: 1 addition & 3 deletions config/locales/da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ da:
comment_preview:
is_about_to_say: "vil gerne sige"
meta:
published_on: "Published on"
by: "af"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Skrevet af"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ de:
comment_preview:
is_about_to_say: "will sagen"
meta:
published_on: "Published on"
by: "bei"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Angelegt von"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ en:
comment_preview:
is_about_to_say: "is about to say"
meta:
published_on: "Published on"
by: "by"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Posted by"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/es-MX.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ es-MX:
comment_preview:
is_about_to_say: "está a punto de decir"
meta:
published_on: "Published on"
by: "por"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Publicado por"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ fr:
comment_preview:
is_about_to_say: "va dire"
meta:
published_on: "Publié le"
by: "par"
tags: "Tags"
published_on: "Publié le %{publish_date_and_time} par %{by}, tags %{tags}"
article:
posted_by: "Publié par"
this_entry_was_posted_on: "Ce billet a été posté le %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/he-IL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ he-IL:
comment_preview:
is_about_to_say: "עומד לומר"
meta:
published_on: "Published on"
by: "by"
tags: "תוויות"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "נכתב על ידי"
this_entry_was_posted_on: "כתבה זו פורסמה בתאריך %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ it:
comment_preview:
is_about_to_say: "sta per dire"
meta:
published_on: "Published on"
by: "da"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Scritto da"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ ja:
comment_preview:
is_about_to_say: "〜について言う"
meta:
published_on: "Published on"
by: "by"
tags: "タグ"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "投稿者"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/lt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ lt:
comment_preview:
is_about_to_say: "pasakoja apie"
meta:
published_on: "Published on"
by: "bei"
tags: "Žymės"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Parašė"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/nb-NO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ nb-NO:
comment_preview:
is_about_to_say: "vil snart si"
meta:
published_on: "Publisert den"
by: "av"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Skrevet av"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ nl:
comment_preview:
is_about_to_say: "gaat zeggen"
meta:
published_on: "Published on"
by: "by"
tags: "Trefwoorden"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Geplaatst door"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ pl:
comment_preview:
is_about_to_say: "zaraz powie"
meta:
published_on: "Published on"
by: "przez"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Opublikowane przez"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ pt-BR:
comment_preview:
is_about_to_say: "está a punto de decir"
meta:
published_on: "Published on"
by: "por"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Publicado por"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/ro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ ro:
comment_preview:
is_about_to_say: "vrea să scrie"
meta:
published_on: "Published on"
by: "de"
tags: "Tags"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "Publicat de"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ ru:
comment_preview:
is_about_to_say: "is about to say"
meta:
published_on: "Опубликовано"
by: "by"
tags: "Теги"
published_on: "Опубликовано %{publish_date_and_time} автором %{by} под тегами %{tags}"
article:
posted_by: "Posted by"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ zh-CN:
comment_preview:
is_about_to_say: "这是关于~~"
meta:
published_on: "Published on"
by: "by"
tags: "标签"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "貼上"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
4 changes: 1 addition & 3 deletions config/locales/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ zh-TW:
comment_preview:
is_about_to_say: "這是關於~~"
meta:
published_on: "Published on"
by: "by"
tags: "標示標籤"
published_on: "Published on %{publish_date_and_time} by %{by}, tags %{tags}"
article:
posted_by: "貼上"
this_entry_was_posted_on: "This entry was posted on %{published_at}"
Expand Down
5 changes: 1 addition & 4 deletions themes/bootstrap/views/articles/_meta.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<div class='meta'>
<p><small>
<%= t(".published_on") %>
<%= display_date_and_time(article.published_at) %>
<%= t(".by") %> <span class='p-author h-card'><%= article.user.nickname %></span>
<%= t(".tags") + " " + article.tags.map { |tag| link_to tag.display_name, tag.permalink_url(nil, true), :rel => "tag"}.sort.join(", ") unless article.tags.empty? %>
<%= t(".published_on", publish_date_and_time: display_date_and_time(article.published_at), by: "<span class='p-author h-card'>#{article.user.nickname}</span>", tags: (" " + article.tags.map { |tag| link_to tag.display_name, tag.permalink_url(nil, true), :rel => "tag"}.sort.join(", ") unless article.tags.empty?)) %>

</small></p>
</div>
Expand Down

0 comments on commit 8aa3c3b

Please sign in to comment.