lib/language_cards.rb in language_cards-0.0.4 vs lib/language_cards.rb in language_cards-0.0.5
- old
+ new
@@ -29,9 +29,10 @@
JOIN = " : "
SUBMENUWIDTH = 60
::I18n.load_path = Dir[File.join(File.expand_path(File.join('..','..'), __FILE__), 'locales', '*.yml')]
+ ::I18n.load_path += Dir[File.join(File.expand_path(ENV['HOME']), '.language_cards', 'locales', '*.yml')]
def self.start
LanguageCards.new.start
end
end