Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes date translation in themes.

Fixes #397
  • Loading branch information...
commit 4eb90d62e9962c86653ad1b9f01eb11ec45a60e4 1 parent 8e4f7c8
@fdv fdv authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  app/helpers/application_helper.rb
  2. +2 −2 config/locales/fr.yml
View
2  app/helpers/application_helper.rb
@@ -185,7 +185,7 @@ def content_array
end
def display_date(date)
- date.strftime(this_blog.date_format)
+ l(date, :format => this_blog.date_format)
end
def display_time(time)
View
4 config/locales/fr.yml
@@ -55,7 +55,7 @@ fr:
next_page: "Next page"
previous_page: "Previous page"
helper:
- at: "at"
+ at: "à"
articles:
index:
next_page: "Next page"
@@ -67,7 +67,7 @@ fr:
comment_preview:
is_about_to_say: "va dire"
meta:
- published_on: "Published on"
+ published_on: "Publié le"
by: "par"
tags: "Tags"
article:
Please sign in to comment.
Something went wrong with that request. Please try again.