Skip to content

Commit

Permalink
Hardcore the locale to en_US for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoskings committed Dec 21, 2010
1 parent b02b0fe commit 3b66704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion locale.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,7 @@
meta :locale do meta :locale do
def locale_regex def locale_regex
/[\w]+\.utf-?8/i # TODO: would be nice to not hardcode to en_US.
/en_US\.utf-?8/i
end end
def local_locale def local_locale
shell('locale -a').split("\n").detect {|l| shell('locale -a').split("\n").detect {|l|
Expand Down

0 comments on commit 3b66704

Please sign in to comment.