|
26 | 26 | defined('MOODLE_INTERNAL') || die();
|
27 | 27 |
|
28 | 28 | $string['addnewtype'] = 'Add new content type';
|
29 |
| -$string['chooser:show'] = 'Show in activity chooser'; |
| 29 | +$string['cachedef_cms_content'] = 'CMS content'; |
| 30 | +$string['cachedef_cms_content_fields'] = 'CMS fields datasource'; |
| 31 | +$string['cachedef_cms_content_images'] = 'CMS images datasource'; |
| 32 | +$string['cachedef_cms_content_roles'] = 'CMS roles datasource'; |
| 33 | +$string['cachedef_cms_content_userlist'] = 'CMS userlist datasource'; |
| 34 | +$string['cachedef_cms_name'] = 'CMS name'; |
30 | 35 | $string['chooser:hide'] = 'Hide in activity chooser';
|
| 36 | +$string['chooser:show'] = 'Show in activity chooser'; |
| 37 | +$string['cms:addinstance'] = 'Add a new custom content instance'; |
| 38 | +$string['cms:seeall'] = 'Can see hidden CMS types in the activity chooser'; |
| 39 | +$string['cms:view'] = 'View a new custom content instance'; |
| 40 | +$string['cms_type:icon_desc'] = 'This icon will be displayed in the activity chooser menu.'; |
| 41 | +$string['customfield_manage_heading'] = 'Manage custom fields for content type "{$a}"'; |
| 42 | +$string['datasources'] = 'Datasources'; |
| 43 | +$string['datasources_desc'] = 'This is a performance measure. Select datasources to be included in this type. Only selected datasources will be configurable, |
| 44 | + or editable at the instance level, or be called upon to provide data. Some datasources are always included and do not appear in |
| 45 | + this list.'; |
31 | 46 | $string['editcontenttype'] = 'Edit content type';
|
| 47 | +$string['error:cant_delete_content_type'] = 'Cannot delete content type.'; |
| 48 | +$string['error:class_missing'] = 'Datasource class \'{$a}\' does not exist.'; |
| 49 | +$string['error:invalid'] = 'Invalid: {$a}'; |
| 50 | +$string['error:must_be_base'] = 'Datasource class \'($a}\' must inherit from mod_cms\\datasource\\base.'; |
| 51 | +$string['error:name_not_unique'] = 'Datasource class shortname \'($a}\' must be unique.'; |
| 52 | +$string['error:no_config_hash'] = 'Module {$a} has no config hash.'; |
| 53 | +$string['error:no_file_uploaded'] = 'No file uploaded'; |
| 54 | +$string['error:no_instance_hash'] = 'Module {$a} has no instance hash.'; |
| 55 | +$string['event:cms_type_created'] = 'Custom content type created'; |
| 56 | +$string['event:cms_type_deleted'] = 'Custom content type deleted'; |
| 57 | +$string['event:cms_type_updated'] = 'Custom content type updated'; |
| 58 | +$string['event_cms_type_created_desc'] = 'The user with ID: {$a->userid} has created a custom content type with ID: {$a->typeid}'; |
| 59 | +$string['event_cms_type_deleted_desc'] = 'The user with ID: {$a->userid} has deleted a custom content type with ID: {$a->typeid}'; |
| 60 | +$string['event_cms_type_updated_desc'] = 'The user with ID: {$a->userid} has updated a custom content type with ID: {$a->typeid}'; |
32 | 61 | $string['export'] = 'Export';
|
33 |
| -$string['import'] = 'Import'; |
| 62 | +$string['fields:config:columns'] = 'Fields and categories'; |
| 63 | +$string['fields:config:header'] = 'Custom field settings'; |
| 64 | +$string['fields:custom_fields'] = 'Custom fields'; |
| 65 | +$string['fields:sample_text'] = 'text'; |
| 66 | +$string['fields:sample_time'] = 'Thursday, 15 June 2023, 12:00 AM'; |
34 | 67 | $string['idnumber'] = 'ID number';
|
35 |
| -$string['idnumber_help'] = 'An identifier to uniquely label this CMS type. This will be used in backup and restoring. It must be unique within the system, and ideally, unique universally.'; |
36 | 68 | $string['idnumber_exists'] = 'Id number \'{$a}\' already exists in the system.';
|
| 69 | +$string['idnumber_help'] = 'An identifier to uniquely label this CMS type. This will be used in backup and restoring. It must be unique within the system, and ideally, unique universally.'; |
| 70 | +$string['images:config:header'] = 'Images settings'; |
| 71 | +$string['images:images'] = 'Images'; |
| 72 | +$string['import'] = 'Import'; |
| 73 | +$string['import_cms_type'] = 'Import content type'; |
| 74 | +$string['import_file'] = 'Import file'; |
| 75 | +$string['instance:header'] = 'Activity fields'; |
| 76 | +$string['instance:name'] = 'Name'; |
| 77 | +$string['manage_types_return'] = 'Return to manage types'; |
37 | 78 | $string['managetypes'] = 'Manage content types';
|
38 | 79 | $string['maxgrade'] = 'Default max grade';
|
39 | 80 | $string['maxgrade_desc'] = 'The default max grade when creating a new custom content type instance.';
|
40 | 81 | $string['modulename'] = 'CMS';
|
41 | 82 | $string['modulenameplural'] = 'CMS';
|
42 |
| -$string['newcontenttype'] = 'Add new content type'; |
43 |
| -$string['pluginname'] = 'CMS'; |
44 |
| -$string['settings'] = 'Custom content type settings'; |
45 |
| -$string['table:name'] = 'Custom content type'; |
46 |
| -$string['table:numinstances'] = 'Number of instances'; |
47 |
| -$string['pluginadministration'] = 'Plugin administration'; |
48 |
| -$string['preview_with_hint'] = 'Preview (click "{$a}" to update)'; |
49 |
| -$string['customfield_manage_heading'] = 'Manage custom fields for content type "{$a}"'; |
50 |
| -$string['manage_types_return'] = 'Return to manage types'; |
51 |
| -$string['sample_value'] = 'Sample value'; |
52 |
| -$string['some_name'] = 'Some name'; |
53 |
| -$string['import_file'] = 'Import file'; |
54 |
| -$string['import_cms_type'] = 'Import content type'; |
55 |
| -$string['datasources'] = 'Datasources'; |
56 |
| -$string['datasources_desc'] = 'This is a performance measure. Select datasources to be included in this type. Only selected datasources will be configurable, |
57 |
| - or editable at the instance level, or be called upon to provide data. Some datasources are always included and do not appear in |
58 |
| - this list.'; |
59 |
| -$string['visibility_updated'] = 'Visibility updated'; |
60 |
| - |
61 |
| -// Cache defs. |
62 |
| -$string['cachedef_cms_content'] = 'CMS content'; |
63 |
| -$string['cachedef_cms_content_fields'] = 'CMS fields datasource'; |
64 |
| -$string['cachedef_cms_content_images'] = 'CMS images datasource'; |
65 |
| -$string['cachedef_cms_content_roles'] = 'CMS roles datasource'; |
66 |
| -$string['cachedef_cms_content_userlist'] = 'CMS userlist datasource'; |
67 |
| -$string['cachedef_cms_name'] = 'CMS name'; |
68 |
| - |
69 |
| -// Template form section. |
70 |
| -$string['instance:header'] = 'Activity fields'; |
71 |
| -$string['instance:name'] = 'Name'; |
72 | 83 | $string['mustache'] = 'Content';
|
73 | 84 | $string['mustache_help'] = 'The two fields above will form the content displayed in the activity. They both will need to be valid {$a}. Variables that are available for use in these templates are given below.';
|
74 | 85 | $string['mustache_template'] = 'mustache templates';
|
75 |
| -$string['cms_type:icon_desc'] = 'This icon will be displayed in the activity chooser menu.'; |
76 |
| - |
77 |
| -// Event strings. |
78 |
| -$string['event:cms_type_created'] = 'Custom content type created'; |
79 |
| -$string['event_cms_type_created_desc'] = 'The user with ID: {$a->userid} has created a custom content type with ID: {$a->typeid}'; |
80 |
| -$string['event:cms_type_deleted'] = 'Custom content type deleted'; |
81 |
| -$string['event_cms_type_deleted_desc'] = 'The user with ID: {$a->userid} has deleted a custom content type with ID: {$a->typeid}'; |
82 |
| -$string['event:cms_type_updated'] = 'Custom content type updated'; |
83 |
| -$string['event_cms_type_updated_desc'] = 'The user with ID: {$a->userid} has updated a custom content type with ID: {$a->typeid}'; |
84 |
| - |
85 |
| -// Capability strings. |
86 |
| -$string['cms:addinstance'] = 'Add a new custom content instance'; |
87 |
| -$string['cms:view'] = 'View a new custom content instance'; |
88 |
| -$string['cms:seeall'] = 'Can see hidden CMS types in the activity chooser'; |
89 |
| - |
90 |
| -// Privacy strings. |
| 86 | +$string['newcontenttype'] = 'Add new content type'; |
| 87 | +$string['pluginadministration'] = 'Plugin administration'; |
| 88 | +$string['pluginname'] = 'CMS'; |
| 89 | +$string['preview_with_hint'] = 'Preview (click "{$a}" to update)'; |
91 | 90 | $string['privacy:metadata:cms'] = 'Custom content type instances';
|
92 | 91 | $string['privacy:metadata:cms:usermodified'] = 'User who modified the instances';
|
93 | 92 | $string['privacy:metadata:cms_types'] = 'Custom content types';
|
94 | 93 | $string['privacy:metadata:cms_types:usermodified'] = 'User who modified the custom content types';
|
95 |
| - |
96 |
| -// Error strings. |
97 |
| -$string['error:class_missing'] = 'Datasource class \'{$a}\' does not exist.'; |
98 |
| -$string['error:must_be_base'] = 'Datasource class \'($a}\' must inherit from mod_cms\\datasource\\base.'; |
99 |
| -$string['error:name_not_unique'] = 'Datasource class shortname \'($a}\' must be unique.'; |
100 |
| -$string['error:no_file_uploaded'] = 'No file uploaded'; |
101 |
| -$string['error:cant_delete_content_type'] = 'Cannot delete content type.'; |
102 |
| -$string['error:invalid'] = 'Invalid: {$a}'; |
103 |
| -$string['error:no_instance_hash'] = 'Module {$a} has no instance hash.'; |
104 |
| -$string['error:no_config_hash'] = 'Module {$a} has no config hash.'; |
105 |
| - |
106 |
| -// Search strings. |
| 94 | +$string['roles:config:duplicates'] = 'Duplicates'; |
| 95 | +$string['roles:config:duplicates:all'] = 'Show in all'; |
| 96 | +$string['roles:config:duplicates:firstonly'] = 'Show in first'; |
| 97 | +$string['roles:config:duplicates:nest'] = 'Show in first with roles'; |
| 98 | +$string['roles:config:header'] = 'Role list settings'; |
| 99 | +$string['roles:config:list'] = 'Roles included'; |
| 100 | +$string['roles:displayname'] = 'Roles list'; |
| 101 | +$string['roles:error:role_does_not_exist'] = 'Role "{$a}" does nor exist.'; |
| 102 | +$string['sample_value'] = 'Sample value'; |
107 | 103 | $string['search:activity'] = 'CMS - activity information';
|
108 |
| - |
109 |
| -// Site datasource strings. |
| 104 | +$string['settings'] = 'Custom content type settings'; |
110 | 105 | $string['site:displayname'] = 'Site Info';
|
111 |
| - |
112 |
| -// Image datasource strings. |
113 |
| -$string['images:config:header'] = 'Images settings'; |
114 |
| -$string['images:images'] = 'Images'; |
115 |
| - |
116 |
| -// Custom field datasource strings. |
117 |
| -$string['fields:custom_fields'] = 'Custom fields'; |
118 |
| -$string['fields:config:columns'] = 'Fields and categories'; |
119 |
| -$string['fields:config:header'] = 'Custom field settings'; |
120 |
| -$string['fields:sample_text'] = 'text'; |
121 |
| -$string['fields:sample_time'] = 'Thursday, 15 June 2023, 12:00 AM'; |
122 |
| - |
123 |
| -// User list datasource strings. |
| 106 | +$string['some_name'] = 'Some name'; |
| 107 | +$string['table:name'] = 'Custom content type'; |
| 108 | +$string['table:numinstances'] = 'Number of instances'; |
124 | 109 | $string['userlist:config:columns'] = 'User list columns';
|
125 | 110 | $string['userlist:config:header'] = 'User list settings';
|
126 | 111 | $string['userlist:displayname'] = 'User list';
|
127 | 112 | $string['userlist:listdata'] = 'List data';
|
128 | 113 | $string['userlist:pageheading'] = 'List definition for \'{$a}\'';
|
129 |
| - |
130 |
| -// Roles list datasource strings. |
131 |
| -$string['roles:displayname'] = 'Roles list'; |
132 |
| -$string['roles:config:header'] = 'Role list settings'; |
133 |
| -$string['roles:config:list'] = 'Roles included'; |
134 |
| -$string['roles:config:duplicates'] = 'Duplicates'; |
135 |
| -$string['roles:config:duplicates:all'] = 'Show in all'; |
136 |
| -$string['roles:config:duplicates:firstonly'] = 'Show in first'; |
137 |
| -$string['roles:config:duplicates:nest'] = 'Show in first with roles'; |
138 |
| -$string['roles:error:role_does_not_exist'] = 'Role "{$a}" does nor exist.'; |
| 114 | +$string['visibility_updated'] = 'Visibility updated'; |
0 commit comments