提交 8201dbf6 编写于 作者: S Sharang Dashputre

Add changelog entry for transliterate/parameterize accepting `locale` [ci skip]

上级 cfa22f1a
* Add support for supplying `locale` to `transliterate` and `parameterize`
I18n.backend.store_translations(:de, i18n: { transliterate: { rule: { "ü" => "ue" } } })
ActiveSupport::Inflector.transliterate("ü", locale: :de) => "ue"
"Fünf autos".parameterize(locale: :de) => "fuenf-autos"
ActiveSupport::Inflector.parameterize("Fünf autos", locale: :de) => "fuenf-autos"
*Kaan Ozkan*, *Sharang Dashputre*
* Allow Array#excluding and Enumerable#excluding to deal with a passed array gracefully.
[ 1, 2, 3, 4, 5 ].excluding([4, 5]) => [ 1, 2, 3 ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册