@kyanny's blog

My thoughts, my life. Views/opinions are my own.

2015-03-27から1日間の記事一覧

Ruby の i18n gem を pry コンソールから初期化したり I18n.t を実行したりする

いろいろ試すとき便利。 i18next の resStore みたいな感じ。 t = {} I18n.backend = I18n::Backend::KeyValue.new(t) I18n.backend.store_translations('en', {'key' => 'value'}, escape: false) I18n.t('key') #=> "value" 参考 i18n gem advanced featur…

HTML5 Weekly issue 181

HTML5 Weekly Issue 181: March 25, 2015 Microsoft is killing off the Internet Explorer brand | The Verge とても驚いた。 Understanding the CSS box model for inline elements ✩ Mozilla Hacks – the Web developer blog わかりやすくてためになった…