Created
September 24, 2012 06:53
-
-
Save znz/3774672 to your computer and use it in GitHub Desktop.
I18n で翻訳対象のキーを探すために I18n.t などを置き換え
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class << I18n | |
alias orig_translate translate | |
def translate(*args) | |
STDERR.puts args.inspect | |
orig_translate(*args) | |
end | |
alias t translate | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment