diff --git a/config/application.rb b/config/application.rb
index ec9cbb5..f025c7f 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -18,7 +18,7 @@ module BouquinsRor
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
+ config.i18n.default_locale = :fr
# Do not swallow errors in after_commit/after_rollback callbacks.
config.active_record.raise_in_transactional_callbacks = true
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 30f3f0f..0a0efed 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1,25 +1,20 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
en:
- hello: "Hello world"
library: "Library"
welcome_count: "Browse %{count} books"
+ books: "Books"
+ authors: "Authors"
+ series: "Series"
+ about: "About"
+ about_descr: "Bouquins is a web frontend for calibre e-book manager"
+ download: "Télécharger"
+ initial_tooltip: "Initiale"
+ filter: "Filter"
+ filter: "Filtre"
+ search: "Search"
+ search_ph: "Search for..."
+ per_page: "Items per page"
+ sort_by_date: "Date"
+ sort_by_name: "Name"
+ col_book_title: "Title"
+ col_book_authors: "Authors"
+ col_book_serie: "Serie"
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index a836b2a..dd058fe 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -1,4 +1,20 @@
fr:
- hello: "Bonjour"
- library: "Bibliothèque"
- welcome_count: "Parcourir les %{count} livres"
+ library: "Bibliothèque"
+ welcome_count: "Parcourir les %{count} livres"
+ books: "Livres"
+ authors: "Auteurs"
+ series: "Series"
+ about: "A propos"
+ about_descr: "Bouquins est une interface web pour le gestionnaire d'e-books calibre"
+ download: "Download"
+ initial_tooltip: "Initial letter"
+ filter: "Filtre"
+ search: "Rechercher"
+ search_ph: "Rechercher..."
+ per_page: "Eléments par page"
+ sort_by: "Trier par"
+ sort_by_date: "Date"
+ sort_by_name: "Nom"
+ col_book_title: "Titre"
+ col_book_authors: "Auteurs"
+ col_book_serie: "Serie"