lib/slimkeyfy/transformer/word.rb in slimkeyfy-0.0.2 vs lib/slimkeyfy/transformer/word.rb in slimkeyfy-0.0.3
- old
+ new
@@ -25,10 +25,10 @@
def tail
as_list.drop(1)
end
def i18nString(translation_key)
- if @extension == "rb" then
+ if @extension == "rb"
"t('#{@key_base}.#{translation_key}')"
else
"t('.#{translation_key}')"
end
end
\ No newline at end of file