1 |
efrain |
1 |
<?php
|
|
|
2 |
// This file is part of Moodle - https://moodle.org/
|
|
|
3 |
//
|
|
|
4 |
// Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
// it under the terms of the GNU General Public License as published by
|
|
|
6 |
// the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
// (at your option) any later version.
|
|
|
8 |
//
|
|
|
9 |
// Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
// GNU General Public License for more details.
|
|
|
13 |
//
|
|
|
14 |
// You should have received a copy of the GNU General Public License
|
|
|
15 |
// along with Moodle. If not, see <https://www.gnu.org/licenses/>.
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* Plugin strings are defined here.
|
|
|
19 |
*
|
|
|
20 |
* @package mod_stickynotes
|
|
|
21 |
* @category string
|
|
|
22 |
* @copyright 2021 Olivier VALENTIN
|
|
|
23 |
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
24 |
*/
|
|
|
25 |
|
|
|
26 |
defined('MOODLE_INTERNAL') || die();
|
|
|
27 |
|
|
|
28 |
$string['pluginname'] = 'Sticky Notes';
|
|
|
29 |
$string['modulename'] = 'Sticky Notes';
|
|
|
30 |
$string['modulenameplural'] = 'Sticky Notes activities';
|
|
|
31 |
$string['pluginadministration'] = 'Sticky Notes Admin';
|
|
|
32 |
$string['modulenameplural'] = 'Sticky Notes';
|
|
|
33 |
$string['missingidandcmid'] = 'Missing parameters';
|
|
|
34 |
$string['new_column_title'] = 'Title 1';
|
|
|
35 |
|
|
|
36 |
// Access strings.
|
|
|
37 |
$string['stickynotes:addinstance'] = 'Add a new stickynotes instance';
|
|
|
38 |
$string['stickynotes:view'] = 'View stickynotes content';
|
|
|
39 |
$string['stickynotes:createnote'] = 'Create a note';
|
|
|
40 |
$string['stickynotes:updateanynote'] = 'Update any note';
|
|
|
41 |
$string['stickynotes:updateownnote'] = 'Update own note';
|
|
|
42 |
$string['stickynotes:deleteanynote'] = 'Delete any note';
|
|
|
43 |
$string['stickynotes:deleteownnote'] = 'Delete own note';
|
|
|
44 |
$string['stickynotes:managecolumn'] = 'Manage columns';
|
|
|
45 |
$string['stickynotes:vote'] = 'Vote for a note';
|
|
|
46 |
$string['stickynotes:viewauthor'] = 'View author for each note';
|
|
|
47 |
$string['stickynotes:export'] = 'Export all notes';
|
|
|
48 |
|
|
|
49 |
// Settings strings.
|
|
|
50 |
$string['stickynotesname'] = 'Activity name';
|
|
|
51 |
$string['vote'] = 'Votes';
|
|
|
52 |
$string['votetype'] = 'Vote type';
|
|
|
53 |
$string['votetype_help'] = 'Defines enabled type of vote';
|
|
|
54 |
$string['votenone'] = 'No votes';
|
|
|
55 |
$string['votelike'] = '"Like" Vote';
|
|
|
56 |
$string['limitstickynotes'] = 'Limit notes ?';
|
|
|
57 |
$string['limitstickynotes_help'] = 'If enabled, users will have a limit number of notes they can create.';
|
|
|
58 |
$string['maxstickynotes'] = 'Max notes per user';
|
|
|
59 |
$string['maxstickynoteserror'] = 'Error : must be a positive number different from 0.';
|
|
|
60 |
$string['limitvotes'] = 'Limit votes ?';
|
|
|
61 |
$string['limitvotes_help'] = 'If enabled, users will have a limit number of votes.';
|
|
|
62 |
$string['maxlimitvotes'] = 'Max votes number';
|
|
|
63 |
$string['maxlimitvotes_help'] = 'Defines the number of votes per user.';
|
|
|
64 |
$string['viewauthor'] = 'Show authors';
|
|
|
65 |
$string['viewauthor_help'] = 'If enabled, managers and teachers will see authors ont he top of each note.';
|
|
|
66 |
$string['colors'] = 'Let user choose background color for notes';
|
|
|
67 |
$string['colors_help'] = 'If enabled, users can choose the background color for notes among the ones selected by teacher.';
|
|
|
68 |
$string['rotate'] = 'Rotate notes';
|
|
|
69 |
$string['rotate_help'] = 'If enabled, notes will have a random rotation effect.';
|
|
|
70 |
$string['choosecolors'] = 'Select which colors will be available for notes backgrounds.';
|
|
|
71 |
$string['color1_meaning'] = 'Signification for color 1';
|
|
|
72 |
$string['color2_meaning'] = 'Signification for color 2';
|
|
|
73 |
$string['color3_meaning'] = 'Signification for color 3';
|
|
|
74 |
$string['color4_meaning'] = 'Signification for color 4';
|
|
|
75 |
$string['color5_meaning'] = 'Signification for color 5';
|
|
|
76 |
$string['color6_meaning'] = 'Signification for color 6';
|
|
|
77 |
$string['settings_colors'] = 'Colors settings';
|
|
|
78 |
$string['settings_votes'] = 'Votes settings';
|
|
|
79 |
$string['settings_notes'] = 'Notes settings';
|
|
|
80 |
$string['displaystickycaption'] = 'Display colors caption in activity.';
|
|
|
81 |
$string['displaystickycaption_help'] = 'If enabled, adds a caption with colors and their meanings.';
|
|
|
82 |
$string['moveallnotes'] = 'Students can move any notes';
|
|
|
83 |
$string['moveallnotes_help'] = 'If enabled, students will be able to move all notes, and not only their owns. Though, students won\'t be able to modify content, color, delete note...';
|
|
|
84 |
$string['seeallnotes'] = 'Students see all notes allover activity.';
|
|
|
85 |
$string['completionstickynotesenabled'] = 'Students must create this number of sticky notes to complete the activity.';
|
|
|
86 |
$string['completionstickynotesgroup'] = 'Require notes';
|
|
|
87 |
$string['completionstickynotesdetail:notes'] = 'Add sticky notes: {$a}';
|
|
|
88 |
|
|
|
89 |
// Colors settings.
|
|
|
90 |
$string['color1'] = '#EECC66';
|
|
|
91 |
$string['color1_descr'] = 'Color code for Color 1. Color 1 is also default color if color choice is not enabled in activity.';
|
|
|
92 |
$string['color1_title'] = 'Color 1';
|
|
|
93 |
$string['color2'] = '#AACC24';
|
|
|
94 |
$string['color2_descr'] = 'Color code for Color 2.';
|
|
|
95 |
$string['color2_title'] = 'Color 2';
|
|
|
96 |
$string['color3'] = '#99DDFF';
|
|
|
97 |
$string['color3_descr'] = 'Color code for Color 3.';
|
|
|
98 |
$string['color3_title'] = 'Color 3';
|
|
|
99 |
$string['color4'] = '#6699CC';
|
|
|
100 |
$string['color4_descr'] = 'Color code for Color 4.';
|
|
|
101 |
$string['color4_title'] = 'Color 4';
|
|
|
102 |
$string['color5'] = '#EE8866';
|
|
|
103 |
$string['color5_descr'] = 'Color code for Color 5.';
|
|
|
104 |
$string['color5_title'] = 'Color 5';
|
|
|
105 |
$string['color6'] = '#BBBBBB';
|
|
|
106 |
$string['color6_descr'] = 'Color code for Color 6.';
|
|
|
107 |
$string['color6_title'] = 'Color 6';
|
|
|
108 |
|
|
|
109 |
// Forms strings.
|
|
|
110 |
$string['message'] = 'Message';
|
|
|
111 |
$string['validate'] = 'Save';
|
|
|
112 |
$string['maximumchars'] = 'The maximul length for a message is limited to 100 characters';
|
|
|
113 |
$string['title'] = 'Column title';
|
|
|
114 |
$string['changecolumn'] = 'Move this note to ';
|
|
|
115 |
$string['choosecolor'] = 'Background color ';
|
|
|
116 |
$string['deletenote'] = 'Delete note';
|
|
|
117 |
$string['deletenotesure'] = 'Are you sure to delete this note ? ';
|
|
|
118 |
$string['deletecolumn'] = 'Delete column';
|
|
|
119 |
$string['deletecolumnsure'] = 'Are you sure to delete this column and all its content ? All notes will be definitely deleted.';
|
|
|
120 |
$string['cannotgetnote'] = 'This note doesn\'t exist in database.';
|
|
|
121 |
$string['cannotgetcolumn'] = 'This column doesn\'t exist in database.';
|
|
|
122 |
$string['cannotcreatenote'] = 'You are not authorized to create notes.';
|
|
|
123 |
$string['cannotupdatenote'] = 'You are not authorized to update this note.';
|
|
|
124 |
$string['cannotdeletenote'] = 'You are not authorized to delete this note.';
|
|
|
125 |
$string['cannotmanagecolumn'] = 'You are not authorized to manage columns';
|
|
|
126 |
$string['cannotvote'] = 'You are not authorized to vote';
|
|
|
127 |
$string['cannotvotelimitreached'] = 'Your max vote limit is reached';
|
|
|
128 |
$string['erroremptymessage'] = 'You must write a message for your note';
|
|
|
129 |
$string['erroremptytitle'] = 'You must give a title to your column';
|
|
|
130 |
$string['createnote_title'] = 'Create a new note in column ';
|
|
|
131 |
$string['updatenote_title'] = 'Update note';
|
|
|
132 |
$string['choosecolorbuttons'] = 'Choose background color';
|
|
|
133 |
$string['after'] = 'After';
|
|
|
134 |
$string['firstplace'] = 'First place in column';
|
|
|
135 |
$string['lastplace'] = 'At the end of column';
|
|
|
136 |
$string['nomove'] = 'Move this note ?';
|
|
|
137 |
$string['nomove_help'] = 'If checked, enables the selection menus to move note in another rank and/or column.';
|
|
|
138 |
$string['selectorder'] = 'Order';
|
|
|
139 |
$string['activelock'] = 'Notes and/or votes are locked';
|
|
|
140 |
$string['activelocknotes'] = 'Notes creation is locked';
|
|
|
141 |
$string['activelockvotes'] = 'Vote is locked';
|
|
|
142 |
|
|
|
143 |
// Mustache template strings.
|
|
|
144 |
$string['createnote'] = 'Add new Sticky Note';
|
|
|
145 |
$string['editnote'] = 'Edit this Sticky Note';
|
|
|
146 |
$string['createcolumn'] = 'Add new column';
|
|
|
147 |
$string['titledisplaystickycaption'] = 'CAPTION';
|
|
|
148 |
$string['buttondisplaystickycaption'] = 'Display color caption';
|
|
|
149 |
$string['buttonlocknotes'] = 'Lock notes';
|
|
|
150 |
$string['buttonlockvotes'] = 'Lock votes';
|
|
|
151 |
$string['buttonunlocknotes'] = 'Unlock notes';
|
|
|
152 |
$string['buttonunlockvotes'] = 'Unlock votes';
|
|
|
153 |
|
|
|
154 |
// Pix in mustache template.
|
|
|
155 |
$string['heart_empty_pix'] = 'Add a Like';
|
|
|
156 |
$string['heart_full_pix'] = 'Remove your Like';
|
|
|
157 |
$string['heart_limited_pix'] = 'Vote limit reached';
|
|
|
158 |
$string['max_notes_reached_pix'] = 'Max notes reached : delete a note if you want to create another.';
|
|
|
159 |
$string['create_note_pix'] = 'Create new note in this column';
|
|
|
160 |
$string['create_column_pix'] = 'Create new column';
|
|
|
161 |
$string['edit_column_pix'] = 'Edit this column';
|
|
|
162 |
$string['delete_column_pix'] = 'Delete this column';
|
|
|
163 |
$string['edit_note_pix'] = 'Edit this note';
|
|
|
164 |
$string['delete_note_pix'] = 'Delete this note';
|
|
|
165 |
$string['move_cross_pix'] = "Drag and drop this note";
|
|
|
166 |
$string['createnotelocked'] = "Note creation locked";
|
|
|
167 |
$string['votelockedpix'] = 'Vote locked';
|
|
|
168 |
|
|
|
169 |
// Events.
|
|
|
170 |
$string['eventnotecreated'] = 'Sticky note created';
|
|
|
171 |
$string['eventnoteupdated'] = 'Sticky note updated';
|
|
|
172 |
$string['eventnotedeleted'] = 'Sticky note deleted';
|
|
|
173 |
|
|
|
174 |
// Navigation.
|
|
|
175 |
$string['export'] = 'Export notes in CSV';
|
|
|
176 |
|
|
|
177 |
// Reset functions.
|
|
|
178 |
$string['resetstickynotesall'] = 'Reset all activity (notes and columns)';
|
|
|
179 |
$string['resetstickynotesnotes'] = 'Reset notes and votes only';
|
|
|
180 |
$string['resetstickynotesvotes'] = 'Reset votes only';
|
|
|
181 |
$string['removeallresponse'] = 'Sticky contents deleted';
|
|
|
182 |
$string['removenotesandvotesresponse'] = 'Notes and votes deleted';
|
|
|
183 |
$string['removevotesresponse'] = 'Votes deleted';
|
|
|
184 |
|
|
|
185 |
// Privacy.
|
|
|
186 |
$string['privacy:metadata:stickynotes_note'] = 'Datas for user notes';
|
|
|
187 |
$string['privacy:metadata:stickynotes_note:id'] = 'Note ID';
|
|
|
188 |
$string['privacy:metadata:stickynotes_note:stickyid'] = 'Module ID';
|
|
|
189 |
$string['privacy:metadata:stickynotes_note:stickycolid'] = 'Column ID in activity';
|
|
|
190 |
$string['privacy:metadata:stickynotes_note:userid'] = 'User ID that has created this note';
|
|
|
191 |
$string['privacy:metadata:stickynotes_note:message'] = 'Content of note';
|
|
|
192 |
$string['privacy:metadata:stickynotes_note:timecreated'] = 'The time when the note was created';
|
|
|
193 |
$string['privacy:metadata:stickynotes_note:timemodified'] = 'The time when the note was updated';
|
|
|
194 |
$string['privacy:metadata:stickynotes_vote'] = 'Datas for user votes';
|
|
|
195 |
$string['privacy:metadata:stickynotes_vote:id'] = 'Vote ID';
|
|
|
196 |
$string['privacy:metadata:stickynotes_vote:stickyid'] = 'Module ID';
|
|
|
197 |
$string['privacy:metadata:stickynotes_vote:stickynoteid'] = 'Note ID user has voted for';
|
|
|
198 |
$string['privacy:metadata:stickynotes_vote:userid'] = 'User ID that has voted for this note';
|
|
|
199 |
$string['privacy:metadata:stickynotes_vote:vote'] = 'Vote content';
|
|
|
200 |
$string['privacy:metadata:stickynotes_vote:timecreated'] = 'The time when user has voted';
|