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

Chinese support #41

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions data/HiveMindAaaSetupData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ along with this software (see the LICENSE.md file). If not, see
authzTypeEnumId="AUTHZT_ALWAYS" authzActionEnumId="AUTHZA_ALL"/>

<!-- authz/permission for HIVE_MIND_ADMIN users -->
<moqui.security.UserGroup userGroupId="HIVE_MIND_ADMIN" description="HiveMind Administrators"/>
<moqui.security.UserGroup userGroupId="HIVE_MIND_ADMIN" description="项目管理员权限"/>
<moqui.security.ArtifactAuthz artifactAuthzId="HIVE_MIND_PM_HMAD" userGroupId="HIVE_MIND_ADMIN" artifactGroupId="HIVE_MIND"
authzTypeEnumId="AUTHZT_ALWAYS" authzActionEnumId="AUTHZA_ALL"/>
<moqui.security.ArtifactAuthz artifactAuthzId="HIVE_MIND_ADM_HMAD" userGroupId="HIVE_MIND_ADMIN" artifactGroupId="HIVE_MIND_ADMIN"
authzTypeEnumId="AUTHZT_ALWAYS" authzActionEnumId="AUTHZA_ALL"/>

<!-- authz for HM app user group (HIVE_MIND_USERS) -->
<moqui.security.UserGroup userGroupId="HIVE_MIND_USERS" description="HiveMind PM Users"/>
<moqui.security.UserGroup userGroupId="HIVE_MIND_USERS" description="项目执行权限"/>
<moqui.security.ArtifactAuthz artifactAuthzId="HIVE_MIND_USERS_HM" userGroupId="HIVE_MIND_USERS" artifactGroupId="HIVE_MIND"
authzTypeEnumId="AUTHZT_ALLOW" authzActionEnumId="AUTHZA_ALL"/>

<!-- authz for HM app view only user group (HIVE_MIND_VIEW) -->
<moqui.security.UserGroup userGroupId="HIVE_MIND_VIEW" description="HiveMind PM Viewers"/>
<moqui.security.UserGroup userGroupId="HIVE_MIND_VIEW" description="项目查看权限"/>
<moqui.security.ArtifactAuthz artifactAuthzId="HIVE_MIND_VIEW_HM" userGroupId="HIVE_MIND_VIEW" artifactGroupId="HIVE_MIND"
authzTypeEnumId="AUTHZT_ALLOW" authzActionEnumId="AUTHZA_VIEW"/>

Expand All @@ -71,25 +71,25 @@ along with this software (see the LICENSE.md file). If not, see
<moqui.basic.Enumeration description="Programming" enumId="WktpProgramming" enumTypeId="WorkType"/>
<moqui.basic.Enumeration description="Testing" enumId="WktpTesting" enumTypeId="WorkType"/>

<mantle.humanres.position.EmplPositionClass title="Quality Analyst" emplPositionClassId="QualityAnalyst"/>
<mantle.humanres.position.EmplPositionClass title="质量分析师" emplPositionClassId="QualityAnalyst"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="QualityAnalyst" workTypeEnumId="WktpTesting"/>
<mantle.humanres.position.EmplPositionClass title="Quality Lead" emplPositionClassId="QualityLead"/>
<mantle.humanres.position.EmplPositionClass title="质量主管" emplPositionClassId="QualityLead"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="QualityLead" workTypeEnumId="WktpTesting"/>

<mantle.humanres.position.EmplPositionClass title="Programmer" emplPositionClassId="Programmer"/>
<mantle.humanres.position.EmplPositionClass title="程序员" emplPositionClassId="Programmer"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="Programmer" workTypeEnumId="WktpProgramming"/>
<mantle.humanres.position.EmplPositionClass title="Programmer Lead" emplPositionClassId="ProgrammerLead"/>
<mantle.humanres.position.EmplPositionClass title="程序员主管" emplPositionClassId="ProgrammerLead"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="ProgrammerLead" workTypeEnumId="WktpProgramming"/>

<mantle.humanres.position.EmplPositionClass title="System Administrator" emplPositionClassId="SysAdmin"/>
<mantle.humanres.position.EmplPositionClass title="系统管理员" emplPositionClassId="SysAdmin"/>

<mantle.humanres.position.EmplPositionClass title="System Architect" emplPositionClassId="SysArchitect"/>
<mantle.humanres.position.EmplPositionClass title="系统架构师" emplPositionClassId="SysArchitect"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="SysArchitect" workTypeEnumId="WktpRequirements"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="SysArchitect" workTypeEnumId="WktpSystemDesign"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="SysArchitect" workTypeEnumId="WktpProgramming"/>
<mantle.humanres.position.EmplPositionClass title="Business Analyst" emplPositionClassId="BusinessAnalyst"/>
<mantle.humanres.position.EmplPositionClass title="业务分析师" emplPositionClassId="BusinessAnalyst"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="BusinessAnalyst" workTypeEnumId="WktpRequirements"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="BusinessAnalyst" workTypeEnumId="WktpSystemDesign"/>
<mantle.humanres.position.EmplPositionClass title="Expert User" emplPositionClassId="ExpertUser"/>
<mantle.humanres.position.EmplPositionClass title="专家用户" emplPositionClassId="ExpertUser"/>
<mantle.humanres.position.EmplPositionClassWorkType emplPositionClassId="ExpertUser" workTypeEnumId="WktpRequirements"/>
</entity-facade-xml>
4 changes: 2 additions & 2 deletions data/HiveMindAabDocumentData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ along with this software (see the LICENSE.md file). If not, see
-->

<!-- EmailTemplates for Feed-driven Update Notifications -->
<moqui.basic.email.EmailTemplate emailTemplateId="HM_TASK_UPDATE" description="HiveMind Task Update Notification"
<moqui.basic.email.EmailTemplate emailTemplateId="HM_TASK_UPDATE" description="蜂巢任务更新通知"
emailServerId="SYSTEM" bodyScreenLocation="component://HiveMind/screen/TaskUpdateNotification.xml"
webappName="webroot" fromAddress="" ccAddresses="" bccAddresses=""
subject="Task Updated: ${document._id} - ${document.name}" sendPartial="Y"/>
<moqui.basic.email.EmailTemplate emailTemplateId="HM_WIKI_PAGE_UPDATE" description="HiveMind WikiPage Update Notification"
<moqui.basic.email.EmailTemplate emailTemplateId="HM_WIKI_PAGE_UPDATE" description="蜂巢维基页面更新通知"
emailServerId="SYSTEM" bodyScreenLocation="component://HiveMind/screen/WikiPageUpdateNotification.xml"
webappName="webroot" fromAddress="" ccAddresses="" bccAddresses=""
subject="Wiki Page Updated: ${document.wikiSpaceId}/${document.pagePath}" sendPartial="Y"/>
Expand Down
Loading