Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n functions #39

Closed
blond opened this issue Aug 5, 2013 · 2 comments
Closed

i18n functions #39

blond opened this issue Aug 5, 2013 · 2 comments

Comments

@blond
Copy link
Member

blond commented Aug 5, 2013

Кейсеты блоков имеют js расширения, и это наталкивает на мысль, что они должны поддерживать полноценные js-объекты, включая функции.

Ещё об этом говорят вот такие тесты: https://github.com/bem/bem-core/blob/v1/common.blocks/i-bem/__i18n/test/test-i18n-complex.js

Я не нашёл способа прокинуть такие функции, т.к. i18n-merge-keysets и i18n-lang-js технологии относятся к keysets как к json-файлам.

@mdevils
Copy link
Contributor

mdevils commented Aug 5, 2013

Скоро в ENB будет поддерживаться синтаксис для формирования функций :)

@blond
Copy link
Member Author

blond commented Aug 5, 2013

Круть! :)

@mdevils mdevils closed this as completed Oct 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants