You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by 刘岩 <li...@richinfo.cn> on 2016/07/03 16:49:21 UTC
localization with Ambari
Hi All
i have recently doing some translations with the ambari UI , and i found a tricky bug that whenever that i modified the Em.I18n.translations part in the app.js , my UI looked like this
the namenode and secondary namenode is missing. and it39s same for all other services pages. everything that labled with a green correction mark will not show up as desired .
ambari version 2.2.1.0
does anyone knows why?
thank you very much
Yan Liu
Richinfo
04/07/2016
Re:Re: localization with Ambari
Posted by 刘岩 <li...@richinfo.cn>.
Hi Zang
I have never done anything to the master_component .
Thank you very much
Yan Liu
Richinfo
16/07/2016
----邮件原文----发件人:Richard Zang <rz...@hortonworks.com>收件人:"liuyan@richinfo.cn" <li...@richinfo.cn>抄 送: "user@ambari.apache.org" <us...@ambari.apache.org>发送时间:2016-07-08 02:39:51主题:Re: localization with Ambari
Hi Yan,
Texts for NameNode and SNameNode are not coming from i18n file. Please double check if you modified anything in master_component.hbs.
<td {{bindAttr class=":summary-label comp.summaryLabelClassName"}}>
<a href="#" {{action showDetails comp.host}} title="{{unbound comp.host.publicHostName}}" rel="UsageTooltip">
{{#if comp.displayNameAdvanced}}
{{comp.displayNameAdvanced}}
{{else}}
{{comp.displayName}}
{{/if}}
</a>
</td>
Richard
From: 刘岩 <li...@richinfo.cn> Reply-To: "user@ambari.apache.org" <us...@ambari.apache.org> Date: Sunday, July 3, 2016 at 9:49 AM To: user <us...@ambari.apache.org> Subject: localization with Ambari
Hi All
i have recently doing some translations with the ambari UI , and i found a tricky bug that whenever that i modified the Em.I18n.translations part in the app.js , my UI looked like this
the namenode and secondary namenode is missing. and it39s same for all other services pages. everything that labled with a green correction mark will not show up as desired .
ambari version 2.2.1.0
does anyone knows why?
thank you very much
Yan Liu
Richinfo
04/07/2016
Re: localization with Ambari
Posted by Richard Zang <rz...@hortonworks.com>.
Hi Yan,
Texts for NameNode and SNameNode are not coming from i18n file. Please double check if you modified anything in master_component.hbs.
<td {{bindAttr class=":summary-label comp.summaryLabelClassName"}}>
<a href="#" {{action showDetails comp.host}} title="{{unbound comp.host.publicHostName}}" rel="UsageTooltip">
{{#if comp.displayNameAdvanced}}
{{comp.displayNameAdvanced}}
{{else}}
{{comp.displayName}}
{{/if}}
</a>
</td>
Richard
From: 刘岩 <li...@richinfo.cn>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Sunday, July 3, 2016 at 9:49 AM
To: user <us...@ambari.apache.org>>
Subject: localization with Ambari
Hi All
i have recently doing some translations with the ambari UI , and i found a tricky bug that whenever that i modified the Em.I18n.translations part in the app.js , my UI looked like this
[cid:25788630543596504]
the namenode and secondary namenode is missing. and it's same for all other services pages. everything that labled with a green correction mark will not show up as desired .
ambari version 2.2.1.0
does anyone knows why?
thank you very much
Yan Liu
Richinfo
04/07/2016