/opt/stack/horizon/babel-djangojs.cfg

Jmnote (토론 | 기여)님의 2017년 8월 11일 (금) 16:29 판 (새 문서: ==개요== ;/opt/stack/horizon/babel-djangojs.cfg <source lang='ini'> [extractors] # We use a custom extractor to find translatable strings in AngularJS # templates. The extractor is...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

/opt/stack/horizon/babel-djangojs.cfg
[extractors]
# We use a custom extractor to find translatable strings in AngularJS
# templates. The extractor is included in horizon.utils for now.
# See http://babel.pocoo.org/docs/messages/#referencing-extraction-methods for
# details on how this works.
angular = horizon.utils.babel_extract_angular:extract_angular

[javascript: **.js]

# We need to look into all static folders for HTML files.
# The **/static ensures that we also search within
# /openstack_dashboard/dashboards/XYZ/static which will ensure
# that plugins are also translated.
[angular: **/static/**.html]

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}