我似乎找不到使用提供的模板编辑器编辑本地化字符串的方法,有人对此有任何指示吗?
例如,如果我想将文本"搜索产品"更改为其他内容,例如......在哪里/如何编辑模板及其数据?
谢谢勒罗伊
这样做
的丑陋方法:
编辑模板,删除
<search-control></search-control>
并将自定义文本添加到输入占位符
<div>
<form action="/Products" class="pull-right" method="get">
<input type="hidden" name="startEditTemplate" value="ProductList">
<div class="form-group has-feedback">
<input placeholder="My Custom Search products" id="pattern" type="search" class="form-control" name="pattern" spellcheck="false">
<button class="glyphicon glyphicon-search form-control-feedback ap-ininput-button"></button>
</div>
</form>
</div>
这样做的坏处是,您现在负责更新这段代码和模板。