Fix i18n regex warning in Ruby 1.8
Merge pull request #261 from Shopify/fix-i18n-regex-warning

Fix i18n regex warning in Ruby 1.8