From f3c178a0929ffcdb043c6a0e6e7d75028fdec125 Mon Sep 17 00:00:00 2001 From: magnolia-fan Date: Sat, 26 Nov 2011 20:15:56 +0400 Subject: [PATCH] Add missing translations --- Gemfile | 1 + app/views/artist/_page.html.haml | 2 +- config/locales/en.yml | 2 ++ config/locales/ru.yml | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 69de778..1fc0582 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,7 @@ gem 'haml' gem 'sass' gem 'coffee-script' gem 'jquery-rails' +# gem 'i18n-js' # Music related stuff gem 'lastfm-client', :git => 'http://github.com/pch/lastfm-client.git' diff --git a/app/views/artist/_page.html.haml b/app/views/artist/_page.html.haml index b22c6fb..6e5f3c6 100644 --- a/app/views/artist/_page.html.haml +++ b/app/views/artist/_page.html.haml @@ -21,7 +21,7 @@ - unless @artist.playlists.empty? .row .span7.offset4 - %h3 Playlists + %h3= t('player.playlists') %table.zebra-striped %tr - @artist.playlists.each do |playlist| diff --git a/config/locales/en.yml b/config/locales/en.yml index 960dfee..9e4d97c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -53,3 +53,5 @@ en: do_empty: "Empty" thumbs_up: "This is exactly the song I was looking for and the quality of sound is good" thumbs_down: "This is not the song I was looking for or the quality of sound is bad" + set_playlist: "Play" + playlists: "Playlists" diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 0d8eb17..2ae52cb 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -53,3 +53,5 @@ ru: do_empty: "Очистить" thumbs_up: "Это та самая песня и качество звука хорошее" thumbs_down: "Это не та песня или качество звука плохое" + set_playlist: "Играть" + playlists: "Плей-листы"