diff -r 9223ce232a24 config/localization/bundles/src/bundle/org/sakaiproject/localization/bundle/role/roles.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/localization/bundles/src/bundle/org/sakaiproject/localization/bundle/role/roles.properties Thu Mar 20 15:16:43 2014 +0800 @@ -0,0 +1,13 @@ +role.Instructor.name=Instructor +role.Instructor.description=Can read, revise, delete and add both content and participants to a site. +role.Teaching_Assistant.name=Teaching Assistant +role.Teaching_Assistant.description=Can read, add, and revise most content in their sections. +role.Student.name=Student +role.Student.description=Can read content, and add content to a site where appropriate. + +role.maintain.name=maintain +role.maintain.description=Can read, revise, delete and add both content and participants to a site. +role.access.name=access +role.access.description=Can read content, and add content to a site where appropriate. + +role.admin.name=admin diff -r 9223ce232a24 config/localization/bundles/src/bundle/org/sakaiproject/localization/bundle/role/roles_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/localization/bundles/src/bundle/org/sakaiproject/localization/bundle/role/roles_zh_CN.properties Thu Mar 20 15:16:43 2014 +0800 @@ -0,0 +1,13 @@ +role.Instructor.name=\u6559\u5E08 +role.Instructor.description=\u53EF\u4EE5\u8BFB\u53D6\u3001\u7F16\u8F91\u3001\u5220\u9664\u7AD9\u70B9\u5185\u5BB9\u548C\u7AD9\u70B9\u6210\u5458\u3002 +role.Teaching_Assistant.name=\u52A9\u6559 +role.Teaching_Assistant.description=\u53EF\u4EE5\u5728\u6B64\u8BFE\u7A0B\u4E2D\u8BFB\u53D6\u3001\u6DFB\u52A0\u3001\u7F16\u8F91\u5927\u591A\u6570\u5185\u5BB9\u3002 +role.Student.name=\u5B66\u751F +role.Student.description=\u53EF\u4EE5\u8BFB\u53D6\u5185\u5BB9\uFF0C\u5728\u9002\u5F53\u4F4D\u7F6E\u6DFB\u52A0\u5185\u5BB9\u3002 + +role.maintain.name=\u7BA1\u7406\u5458 +role.maintain.description=\u53EF\u4EE5\u8BFB\u53D6\u3001\u7F16\u8F91\u3001\u5220\u9664\u7AD9\u70B9\u5185\u5BB9\u548C\u7AD9\u70B9\u6210\u5458\u3002 +role.access.name=\u666E\u901A\u7528\u6237 +role.access.description=\u53EF\u4EE5\u8BFB\u53D6\u5185\u5BB9\uFF0C\u5728\u9002\u5F53\u4F4D\u7F6E\u6DFB\u52A0\u5185\u5BB9\u3002 + +role.admin.name=\u7CFB\u7EDF\u7BA1\u7406\u5458 diff -r 9223ce232a24 config/localization/bundles/src/java/org/sakaiproject/localization/util/RoleProperties.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/localization/bundles/src/java/org/sakaiproject/localization/util/RoleProperties.java Thu Mar 20 15:16:43 2014 +0800 @@ -0,0 +1,14 @@ +package org.sakaiproject.localization.util; + +/** + * This class should be configured as a "Role" bundles bean + * (see components.xml) in order to provide the context for + * the kernel to load the localized roles*.properties files. + */ +public class RoleProperties { + + public RoleProperties() { + // constructor + } + +} diff -r 9223ce232a24 config/localization/pack/src/webapp/WEB-INF/components.xml --- a/config/localization/pack/src/webapp/WEB-INF/components.xml Thu Mar 20 08:35:27 2014 +0800 +++ b/config/localization/pack/src/webapp/WEB-INF/components.xml Thu Mar 20 15:16:43 2014 +0800 @@ -4,6 +4,7 @@ +