我在 Alfresco Share 4.1.x 中启用了 cm:storeSelector 方面,如“Alfresco 管理员指南”(第 281 页)中所述。
我尝试添加这些消息
aspect.cm_storeSelector=Store Selector
cm_storeSelector=Store Selector
两者都在
/shared/classes/alfresco/messages/slingshot.properties
和
/shared/classes/alfresco/extension/webclient.properties
这是我的share-config-custom.xml:
<alfresco-config>
<!-- cm:content type (existing nodes) -->
<config evaluator="node-type" condition="cm:content">
<forms>
<!-- Default form configuration for the cm:content type -->
<form>
<field-visibility>
<show id="cm:storeName" />
</field-visibility>
</form>
</forms>
</config>
<!-- Document Library config section -->
<config evaluator="string-compare" condition="DocumentLibrary">
<!--
Used by the "Manage Aspects" action
For custom aspects, remember to also add the relevant i18n string(s)
cm_myaspect=My Aspect
-->
<aspects>
<!-- Aspects that a user can see -->
<visible>
<aspect name="cm:storeSelector">
<title>Store Selector</title>
</aspect>
</visible>
</aspects>
</config>
</alfresco-config>
问题是:方面名称未显示在 Alfresco 共享 UI(“管理方面”对话框)中 - 而是仅aspect.cm_storeSelector
在右侧显示字符串:
虽然它在 Alfresco Explorer 上显示良好:
我想知道在哪里为 Alfresco Share 正确放置 I18N 字符串。