@mccaskie-labs/workbench-roster 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/words.js ADDED
@@ -0,0 +1,506 @@
1
+ // The roster's words, keyed as the project's strings catalogue keys them
2
+ // (`ui.wbroster.*`), in English, Tagalog and Taglish. A project copies them
3
+ // into its catalogue (or keeps its own) and passes its `t`; a word the
4
+ // catalogue lacks falls back to the words here. The Tagalog and Taglish are
5
+ // starter words: have a fluent reader check them before a client sees them.
6
+ export const ROSTER_WORD_KEYS = [
7
+ "week.title",
8
+ "week.draft",
9
+ "week.published",
10
+ "week.unsent",
11
+ "week.prev",
12
+ "week.next",
13
+ "week.none",
14
+ "week.publish",
15
+ "week.send",
16
+ "week.copy",
17
+ "week.export",
18
+ "shift.break",
19
+ "shift.remove",
20
+ "shift.on_leave",
21
+ "shift.removed",
22
+ "add.title",
23
+ "add.person",
24
+ "add.day",
25
+ "add.start",
26
+ "add.end",
27
+ "add.role",
28
+ "add.role_any",
29
+ "add.break",
30
+ "add.note",
31
+ "add.button",
32
+ "gaps.title",
33
+ "gaps.none",
34
+ "gaps.nobody",
35
+ "gaps.short",
36
+ "gaps.anyone",
37
+ "staff.title",
38
+ "staff.empty",
39
+ "staff.name",
40
+ "staff.email",
41
+ "staff.roles",
42
+ "staff.resource",
43
+ "staff.resource_hint",
44
+ "staff.add",
45
+ "staff.save",
46
+ "staff.link",
47
+ "staff.link_sent",
48
+ "staff.no_link",
49
+ "staff.remove",
50
+ "leave.title",
51
+ "leave.none",
52
+ "leave.from",
53
+ "leave.to",
54
+ "leave.add",
55
+ "leave.remove",
56
+ "leave.when",
57
+ "mine.title",
58
+ "mine.none",
59
+ "mine.calendar",
60
+ "mine.private",
61
+ "mine.leave",
62
+ "done.add_shift",
63
+ "done.remove_shift",
64
+ "done.publish",
65
+ "done.copy",
66
+ "done.save_staff",
67
+ "done.remove_staff",
68
+ "done.send_link",
69
+ "done.add_leave",
70
+ "done.remove_leave",
71
+ "email.week.subject",
72
+ "email.changed.subject",
73
+ "email.hello",
74
+ "email.week.intro",
75
+ "email.changed.intro",
76
+ "email.none",
77
+ "email.gone",
78
+ "email.calendar",
79
+ "email.footer",
80
+ "email.link.subject",
81
+ "email.link.body",
82
+ "email.link.feed",
83
+ "email.link.keep",
84
+ "ics.cancelled",
85
+ "csv.date",
86
+ "csv.name",
87
+ "csv.role",
88
+ "csv.start",
89
+ "csv.end",
90
+ "csv.break",
91
+ "csv.hours",
92
+ "confirm.no",
93
+ "error.confirm_needed",
94
+ "shift.remove.question",
95
+ "shift.remove.consequence",
96
+ "shift.remove.consequence_manual",
97
+ "shift.remove.consequence_gone",
98
+ "shift.remove.yes",
99
+ "week.publish.question",
100
+ "week.publish.consequence",
101
+ "week.publish.consequence_one",
102
+ "week.publish.consequence_none",
103
+ "week.publish.consequence_all",
104
+ "week.publish.yes",
105
+ "week.publish.no",
106
+ "week.send.question",
107
+ "week.send.consequence",
108
+ "week.send.consequence_one",
109
+ "week.send.consequence_none",
110
+ "week.send.consequence_all",
111
+ "week.send.yes",
112
+ "staff.link.question",
113
+ "staff.link.consequence",
114
+ "staff.link.consequence_first",
115
+ "staff.link.yes",
116
+ "staff.link.no",
117
+ "staff.remove.question",
118
+ "staff.remove.consequence",
119
+ "staff.remove.yes",
120
+ "staff.remove.no",
121
+ "leave.remove.question",
122
+ "leave.remove.consequence",
123
+ "leave.remove.yes",
124
+ "email.removed.subject",
125
+ "email.removed.body",
126
+ "email.removed.next",
127
+ "email.leave_removed.subject",
128
+ "email.leave_removed.body",
129
+ "email.leave_removed.next",
130
+ ];
131
+ const en = {
132
+ "week.title": "Roster: week of {date}",
133
+ "week.draft": "Draft: staff can't see this week yet",
134
+ "week.published": "Published",
135
+ "week.unsent": "Published, with changes staff haven't been told about yet",
136
+ "week.prev": "Last week",
137
+ "week.next": "Next week",
138
+ "week.none": "No shifts",
139
+ "week.publish": "Publish and email staff",
140
+ "week.send": "Send the changes now",
141
+ "week.copy": "Copy last week's shifts",
142
+ "week.export": "Download hours",
143
+ "shift.break": "{minutes} min break",
144
+ "shift.remove": "Remove",
145
+ "shift.on_leave": "On leave",
146
+ "shift.removed": "No longer on the roster",
147
+ "add.title": "Add a shift",
148
+ "add.person": "Who",
149
+ "add.day": "Day",
150
+ "add.start": "Starts",
151
+ "add.end": "Ends",
152
+ "add.role": "Doing",
153
+ "add.role_any": "Any of their roles",
154
+ "add.break": "Unpaid break (minutes)",
155
+ "add.note": "Note for them",
156
+ "add.button": "Add shift",
157
+ "gaps.title": "Gaps",
158
+ "gaps.none": "Every time that needs people has them.",
159
+ "gaps.nobody": "{when}: no {role} on",
160
+ "gaps.short": "{when}: {rostered} of {needed} {role} on",
161
+ "gaps.anyone": "staff",
162
+ "staff.title": "Staff",
163
+ "staff.empty": "Nobody on the roster yet. Add each person below.",
164
+ "staff.name": "Name",
165
+ "staff.email": "Email",
166
+ "staff.roles": "Can work as",
167
+ "staff.resource": "Name in bookings",
168
+ "staff.resource_hint": "Only for people customers book. It's their name in bookings.json, such as dr-lee.",
169
+ "staff.add": "Add person",
170
+ "staff.save": "Save",
171
+ "staff.link": "Email them their link",
172
+ "staff.link_sent": "Has their link",
173
+ "staff.no_link": "No link yet",
174
+ "staff.remove": "Take off the roster",
175
+ "leave.title": "Leave",
176
+ "leave.none": "No leave coming up.",
177
+ "leave.from": "First day away",
178
+ "leave.to": "Last day away",
179
+ "leave.add": "Add leave",
180
+ "leave.remove": "Remove",
181
+ "leave.when": "{from} to {to}",
182
+ "mine.title": "{name}'s shifts",
183
+ "mine.none": "No shifts coming up.",
184
+ "mine.calendar": "Add my shifts to my calendar",
185
+ "mine.private": "This page is yours: keep its address to yourself.",
186
+ "mine.leave": "Away {from} to {to}",
187
+ "done.add_shift": "Shift added.",
188
+ "done.remove_shift": "Shift removed.",
189
+ "done.publish": "Done. Staff have been emailed.",
190
+ "done.copy": "Last week's shifts copied.",
191
+ "done.save_staff": "Saved.",
192
+ "done.remove_staff": "Taken off the roster.",
193
+ "done.send_link": "Their link has been emailed.",
194
+ "done.add_leave": "Leave added.",
195
+ "done.remove_leave": "Leave removed.",
196
+ "email.week.subject": "Your shifts: week of {week}",
197
+ "email.changed.subject": "Your shifts have changed: week of {week}",
198
+ "email.hello": "Hi {name},",
199
+ "email.week.intro": "Here are your shifts at {business} for the week of {week}:",
200
+ "email.changed.intro": "Your shifts at {business} for the week of {week} have changed. This is your week now:",
201
+ "email.none": "You have no shifts that week.",
202
+ "email.gone": "No longer rostered: {when}",
203
+ "email.calendar": "The attached calendar file adds them to your calendar.",
204
+ "email.footer": "Sent by {business}'s roster.",
205
+ "email.link.subject": "Your roster link for {business}",
206
+ "email.link.body": "{business} keeps its roster here. Your shifts are on your own page: {url}",
207
+ "email.link.feed": "To see them in Google Calendar, Outlook or Apple Calendar, add this calendar by its address: {url}",
208
+ "email.link.keep": "Keep these links to yourself. A new link stops the old one working.",
209
+ "ics.cancelled": "Shift cancelled",
210
+ "csv.date": "Date",
211
+ "csv.name": "Name",
212
+ "csv.role": "Role",
213
+ "csv.start": "Start",
214
+ "csv.end": "End",
215
+ "csv.break": "Break (minutes)",
216
+ "csv.hours": "Hours",
217
+ "confirm.no": "No, keep it",
218
+ "error.confirm_needed": "Please confirm first. Nothing has changed.",
219
+ "shift.remove.question": "Remove {name}'s shift on {when}?",
220
+ "shift.remove.consequence": "This week is published, so we'll email {name} to say this shift is off once you've stopped making changes. This can't be undone.",
221
+ "shift.remove.consequence_manual": "This week is published, so {name} is emailed that this shift is off when you send the changes. This can't be undone.",
222
+ "shift.remove.consequence_gone": "{name} is no longer on the roster, so nobody is emailed. This can't be undone.",
223
+ "shift.remove.yes": "Yes, remove this shift",
224
+ "week.publish.question": "Publish the week of {date}?",
225
+ "week.publish.consequence": "We'll email {count} people their shifts for the week, with a calendar file, and staff can see it on their own pages. Emails can't be taken back.",
226
+ "week.publish.consequence_one": "We'll email 1 person their shifts for the week, with a calendar file, and staff can see it on their own pages. Emails can't be taken back.",
227
+ "week.publish.consequence_none": "Nobody is emailed. Once it's published, staff can see the week on their own pages.",
228
+ "week.publish.consequence_all": "We'll email everyone with shifts that week, with a calendar file, and staff can see it on their own pages. Emails can't be taken back.",
229
+ "week.publish.yes": "Yes, publish and email",
230
+ "week.publish.no": "No, not yet",
231
+ "week.send.question": "Send the changes to the week of {date}?",
232
+ "week.send.consequence": "We'll email the {count} people whose shifts have changed. Emails can't be taken back.",
233
+ "week.send.consequence_one": "We'll email the 1 person whose shifts have changed. Emails can't be taken back.",
234
+ "week.send.consequence_none": "Nobody's shifts have changed since they were last emailed, so nobody is emailed.",
235
+ "week.send.consequence_all": "We'll email everyone whose shifts have changed. Emails can't be taken back.",
236
+ "week.send.yes": "Yes, send the changes",
237
+ "staff.link.question": "Email {name} a new link?",
238
+ "staff.link.consequence": "Their old link and calendar feed stop working straight away. We'll email {name} the new ones, and they'll need to add the new calendar feed.",
239
+ "staff.link.consequence_first": "We'll email {name} a link to their own page and calendar feed.",
240
+ "staff.link.yes": "Yes, email a new link",
241
+ "staff.link.no": "No, not now",
242
+ "staff.remove.question": "Take {name} off the roster?",
243
+ "staff.remove.consequence": "Their shifts from now on, their leave and their link go, and we'll email {name} to say so. Their past shifts stay for the hours export. This can't be undone.",
244
+ "staff.remove.yes": "Yes, take {name} off",
245
+ "staff.remove.no": "No, keep them on the roster",
246
+ "leave.remove.question": "Remove {name}'s leave, {from} to {to}?",
247
+ "leave.remove.consequence": "We'll email {name} to say these days away are off the roster, so they can be rostered on them. This can't be undone.",
248
+ "leave.remove.yes": "Yes, remove this leave",
249
+ "email.removed.subject": "You're no longer on {business}'s roster",
250
+ "email.removed.body": "{business} has taken you off its roster.",
251
+ "email.removed.next": "Any shifts and days away you had from now on are cancelled, and your own page and calendar feed no longer work. If this isn't right, please talk to {business}.",
252
+ "email.leave_removed.subject": "Your leave has been removed: {from} to {to}",
253
+ "email.leave_removed.body": "{business} has taken your days away from {from} to {to} off the roster, so you may be rostered on those days.",
254
+ "email.leave_removed.next": "If you're still going to be away, please talk to {business}.",
255
+ };
256
+ const tl = {
257
+ "week.title": "Iskedyul: linggo ng {date}",
258
+ "week.draft": "Draft: hindi pa ito nakikita ng mga tauhan",
259
+ "week.published": "Nailathala na",
260
+ "week.unsent": "Nailathala na, may mga pagbabagong hindi pa naipapaalam sa mga tauhan",
261
+ "week.prev": "Nakaraang linggo",
262
+ "week.next": "Susunod na linggo",
263
+ "week.none": "Walang shift",
264
+ "week.publish": "Ilathala at i-email ang mga tauhan",
265
+ "week.send": "Ipadala na ang mga pagbabago",
266
+ "week.copy": "Kopyahin ang mga shift noong nakaraang linggo",
267
+ "week.export": "I-download ang mga oras",
268
+ "shift.break": "{minutes} minutong pahinga",
269
+ "shift.remove": "Alisin",
270
+ "shift.on_leave": "Naka-leave",
271
+ "shift.removed": "Wala na sa iskedyul",
272
+ "add.title": "Magdagdag ng shift",
273
+ "add.person": "Sino",
274
+ "add.day": "Araw",
275
+ "add.start": "Simula",
276
+ "add.end": "Tapos",
277
+ "add.role": "Gagawin",
278
+ "add.role_any": "Alinman sa kanilang tungkulin",
279
+ "add.break": "Pahingang walang bayad (minuto)",
280
+ "add.note": "Paalala para sa kanila",
281
+ "add.button": "Idagdag ang shift",
282
+ "gaps.title": "Mga kulang",
283
+ "gaps.none": "May tao sa bawat oras na kailangan.",
284
+ "gaps.nobody": "{when}: walang {role}",
285
+ "gaps.short": "{when}: {rostered} sa {needed} na {role} lang",
286
+ "gaps.anyone": "tauhan",
287
+ "staff.title": "Mga tauhan",
288
+ "staff.empty": "Wala pang tao sa iskedyul. Idagdag ang bawat isa sa ibaba.",
289
+ "staff.name": "Pangalan",
290
+ "staff.email": "Email",
291
+ "staff.roles": "Puwedeng maging",
292
+ "staff.resource": "Pangalan sa bookings",
293
+ "staff.resource_hint": "Para lang sa mga bina-book ng customer. Ito ang pangalan nila sa bookings.json, gaya ng dr-lee.",
294
+ "staff.add": "Idagdag ang tao",
295
+ "staff.save": "I-save",
296
+ "staff.link": "I-email ang kanilang link",
297
+ "staff.link_sent": "May link na",
298
+ "staff.no_link": "Wala pang link",
299
+ "staff.remove": "Alisin sa iskedyul",
300
+ "leave.title": "Leave",
301
+ "leave.none": "Walang paparating na leave.",
302
+ "leave.from": "Unang araw na wala",
303
+ "leave.to": "Huling araw na wala",
304
+ "leave.add": "Idagdag ang leave",
305
+ "leave.remove": "Alisin",
306
+ "leave.when": "{from} hanggang {to}",
307
+ "mine.title": "Mga shift ni {name}",
308
+ "mine.none": "Walang paparating na shift.",
309
+ "mine.calendar": "Idagdag ang mga shift ko sa aking kalendaryo",
310
+ "mine.private": "Sa iyo ang page na ito: huwag ibahagi ang address nito.",
311
+ "mine.leave": "Wala mula {from} hanggang {to}",
312
+ "done.add_shift": "Naidagdag ang shift.",
313
+ "done.remove_shift": "Naalis ang shift.",
314
+ "done.publish": "Tapos na. Na-email na ang mga tauhan.",
315
+ "done.copy": "Nakopya ang mga shift noong nakaraang linggo.",
316
+ "done.save_staff": "Na-save.",
317
+ "done.remove_staff": "Naalis na sa iskedyul.",
318
+ "done.send_link": "Na-email na ang kanilang link.",
319
+ "done.add_leave": "Naidagdag ang leave.",
320
+ "done.remove_leave": "Naalis ang leave.",
321
+ "email.week.subject": "Ang iyong mga shift: linggo ng {week}",
322
+ "email.changed.subject": "Nagbago ang iyong mga shift: linggo ng {week}",
323
+ "email.hello": "Hi {name},",
324
+ "email.week.intro": "Narito ang iyong mga shift sa {business} para sa linggo ng {week}:",
325
+ "email.changed.intro": "Nagbago ang iyong mga shift sa {business} para sa linggo ng {week}. Ito na ang iyong linggo:",
326
+ "email.none": "Wala kang shift sa linggong iyon.",
327
+ "email.gone": "Hindi na naka-iskedyul: {when}",
328
+ "email.calendar": "Idinadagdag ng kalakip na calendar file ang mga ito sa iyong kalendaryo.",
329
+ "email.footer": "Ipinadala ng iskedyul ng {business}.",
330
+ "email.link.subject": "Ang iyong link sa iskedyul ng {business}",
331
+ "email.link.body": "Dito inilalagay ng {business} ang iskedyul nito. Nasa sarili mong page ang iyong mga shift: {url}",
332
+ "email.link.feed": "Para makita ang mga ito sa Google Calendar, Outlook o Apple Calendar, idagdag ang kalendaryong ito gamit ang address nito: {url}",
333
+ "email.link.keep": "Huwag ibahagi ang mga link na ito. Kapag may bagong link, hindi na gagana ang luma.",
334
+ "ics.cancelled": "Kinansela ang shift",
335
+ "csv.date": "Petsa",
336
+ "csv.name": "Pangalan",
337
+ "csv.role": "Tungkulin",
338
+ "csv.start": "Simula",
339
+ "csv.end": "Tapos",
340
+ "csv.break": "Pahinga (minuto)",
341
+ "csv.hours": "Oras",
342
+ "confirm.no": "Huwag, panatilihin",
343
+ "error.confirm_needed": "Pakikumpirma muna. Walang nagbago.",
344
+ "shift.remove.question": "Alisin ang shift ni {name} sa {when}?",
345
+ "shift.remove.consequence": "Nailathala na ang linggong ito, kaya ie-email namin si {name} na wala na ang shift na ito kapag tapos ka nang magbago. Hindi na ito maibabalik.",
346
+ "shift.remove.consequence_manual": "Nailathala na ang linggong ito, kaya ie-email si {name} na wala na ang shift na ito kapag ipinadala mo ang mga pagbabago. Hindi na ito maibabalik.",
347
+ "shift.remove.consequence_gone": "Wala na si {name} sa iskedyul, kaya walang ie-email. Hindi na ito maibabalik.",
348
+ "shift.remove.yes": "Oo, alisin ang shift na ito",
349
+ "week.publish.question": "Ilathala ang linggo ng {date}?",
350
+ "week.publish.consequence": "Ie-email namin sa {count} tao ang kanilang mga shift para sa linggo, may calendar file, at makikita ito ng mga tauhan sa sarili nilang page. Hindi na mababawi ang mga email.",
351
+ "week.publish.consequence_one": "Ie-email namin sa 1 tao ang kanyang mga shift para sa linggo, may calendar file, at makikita ito ng mga tauhan sa sarili nilang page. Hindi na mababawi ang email.",
352
+ "week.publish.consequence_none": "Walang ie-email. Kapag nailathala na, makikita ng mga tauhan ang linggo sa sarili nilang page.",
353
+ "week.publish.consequence_all": "Ie-email namin ang lahat ng may shift sa linggong iyon, may calendar file, at makikita ito ng mga tauhan sa sarili nilang page. Hindi na mababawi ang mga email.",
354
+ "week.publish.yes": "Oo, ilathala at i-email",
355
+ "week.publish.no": "Huwag muna",
356
+ "week.send.question": "Ipadala ang mga pagbabago sa linggo ng {date}?",
357
+ "week.send.consequence": "Ie-email namin ang {count} tao na nagbago ang mga shift. Hindi na mababawi ang mga email.",
358
+ "week.send.consequence_one": "Ie-email namin ang 1 tao na nagbago ang mga shift. Hindi na mababawi ang email.",
359
+ "week.send.consequence_none": "Walang nagbagong shift mula nang huling i-email sila, kaya walang ie-email.",
360
+ "week.send.consequence_all": "Ie-email namin ang lahat ng nagbago ang mga shift. Hindi na mababawi ang mga email.",
361
+ "week.send.yes": "Oo, ipadala ang mga pagbabago",
362
+ "staff.link.question": "I-email kay {name} ang bagong link?",
363
+ "staff.link.consequence": "Hihinto agad ang luma nilang link at calendar feed. Ie-email namin kay {name} ang mga bago, at kailangan nilang idagdag ang bagong calendar feed.",
364
+ "staff.link.consequence_first": "Ie-email namin kay {name} ang link sa sarili nilang page at calendar feed.",
365
+ "staff.link.yes": "Oo, i-email ang bagong link",
366
+ "staff.link.no": "Huwag muna",
367
+ "staff.remove.question": "Alisin si {name} sa iskedyul?",
368
+ "staff.remove.consequence": "Aalisin ang mga shift nila mula ngayon, ang kanilang leave at ang kanilang link, at ie-email namin si {name} tungkol dito. Mananatili ang mga nakaraang shift para sa export ng mga oras. Hindi na ito maibabalik.",
369
+ "staff.remove.yes": "Oo, alisin si {name}",
370
+ "staff.remove.no": "Huwag, panatilihin sila sa iskedyul",
371
+ "leave.remove.question": "Alisin ang leave ni {name}, {from} hanggang {to}?",
372
+ "leave.remove.consequence": "Ie-email namin si {name} na wala na sa iskedyul ang mga araw na ito na wala sila, kaya puwede na silang i-iskedyul sa mga iyon. Hindi na ito maibabalik.",
373
+ "leave.remove.yes": "Oo, alisin ang leave na ito",
374
+ "email.removed.subject": "Wala ka na sa iskedyul ng {business}",
375
+ "email.removed.body": "Inalis ka na ng {business} sa kanilang iskedyul.",
376
+ "email.removed.next": "Kinansela na ang mga shift at leave mo mula ngayon, at hindi na gagana ang sarili mong page at calendar feed. Kung mali ito, pakausap ang {business}.",
377
+ "email.leave_removed.subject": "Inalis ang iyong leave: {from} hanggang {to}",
378
+ "email.leave_removed.body": "Inalis ng {business} sa iskedyul ang mga araw na wala ka mula {from} hanggang {to}, kaya puwede kang ma-iskedyul sa mga araw na iyon.",
379
+ "email.leave_removed.next": "Kung wala ka pa rin sa mga araw na iyon, pakausap ang {business}.",
380
+ };
381
+ const taglish = {
382
+ "week.title": "Roster: week ng {date}",
383
+ "week.draft": "Draft: hindi pa ito nakikita ng staff",
384
+ "week.published": "Published na",
385
+ "week.unsent": "Published na, may changes na hindi pa nasasabi sa staff",
386
+ "week.prev": "Last week",
387
+ "week.next": "Next week",
388
+ "week.none": "Walang shift",
389
+ "week.publish": "I-publish at i-email ang staff",
390
+ "week.send": "I-send na ang changes",
391
+ "week.copy": "I-copy ang shifts ng last week",
392
+ "week.export": "I-download ang hours",
393
+ "shift.break": "{minutes} min na break",
394
+ "shift.remove": "Tanggalin",
395
+ "shift.on_leave": "Naka-leave",
396
+ "shift.removed": "Wala na sa roster",
397
+ "add.title": "Mag-add ng shift",
398
+ "add.person": "Sino",
399
+ "add.day": "Araw",
400
+ "add.start": "Start",
401
+ "add.end": "End",
402
+ "add.role": "Role",
403
+ "add.role_any": "Kahit anong role nila",
404
+ "add.break": "Unpaid break (minutes)",
405
+ "add.note": "Note para sa kanila",
406
+ "add.button": "I-add ang shift",
407
+ "gaps.title": "Mga kulang",
408
+ "gaps.none": "May tao sa lahat ng oras na kailangan.",
409
+ "gaps.nobody": "{when}: walang {role}",
410
+ "gaps.short": "{when}: {rostered} of {needed} na {role} lang",
411
+ "gaps.anyone": "staff",
412
+ "staff.title": "Staff",
413
+ "staff.empty": "Wala pang tao sa roster. I-add ang bawat isa sa baba.",
414
+ "staff.name": "Name",
415
+ "staff.email": "Email",
416
+ "staff.roles": "Puwedeng maging",
417
+ "staff.resource": "Name sa bookings",
418
+ "staff.resource_hint": "Para lang sa bina-book ng customers. Ito ang name nila sa bookings.json, gaya ng dr-lee.",
419
+ "staff.add": "I-add ang tao",
420
+ "staff.save": "I-save",
421
+ "staff.link": "I-email ang link nila",
422
+ "staff.link_sent": "May link na",
423
+ "staff.no_link": "Wala pang link",
424
+ "staff.remove": "Tanggalin sa roster",
425
+ "leave.title": "Leave",
426
+ "leave.none": "Walang upcoming na leave.",
427
+ "leave.from": "First day na wala",
428
+ "leave.to": "Last day na wala",
429
+ "leave.add": "I-add ang leave",
430
+ "leave.remove": "Tanggalin",
431
+ "leave.when": "{from} to {to}",
432
+ "mine.title": "Shifts ni {name}",
433
+ "mine.none": "Walang upcoming na shift.",
434
+ "mine.calendar": "I-add ang shifts ko sa calendar ko",
435
+ "mine.private": "Sa'yo ang page na 'to: 'wag i-share ang address.",
436
+ "mine.leave": "Wala from {from} to {to}",
437
+ "done.add_shift": "Na-add ang shift.",
438
+ "done.remove_shift": "Natanggal ang shift.",
439
+ "done.publish": "Done. Na-email na ang staff.",
440
+ "done.copy": "Na-copy ang shifts ng last week.",
441
+ "done.save_staff": "Na-save.",
442
+ "done.remove_staff": "Natanggal na sa roster.",
443
+ "done.send_link": "Na-email na ang link nila.",
444
+ "done.add_leave": "Na-add ang leave.",
445
+ "done.remove_leave": "Natanggal ang leave.",
446
+ "email.week.subject": "Shifts mo: week ng {week}",
447
+ "email.changed.subject": "May changes sa shifts mo: week ng {week}",
448
+ "email.hello": "Hi {name},",
449
+ "email.week.intro": "Heto ang shifts mo sa {business} para sa week ng {week}:",
450
+ "email.changed.intro": "May changes sa shifts mo sa {business} para sa week ng {week}. Ito na ang week mo:",
451
+ "email.none": "Wala kang shift sa week na 'yon.",
452
+ "email.gone": "Hindi na naka-roster: {when}",
453
+ "email.calendar": "Ina-add ng naka-attach na calendar file ang mga ito sa calendar mo.",
454
+ "email.footer": "Sent ng roster ng {business}.",
455
+ "email.link.subject": "Ang roster link mo sa {business}",
456
+ "email.link.body": "Dito nilalagay ng {business} ang roster nila. Nasa sarili mong page ang shifts mo: {url}",
457
+ "email.link.feed": "Para makita sa Google Calendar, Outlook o Apple Calendar, i-add ang calendar na 'to gamit ang address: {url}",
458
+ "email.link.keep": "'Wag i-share ang links na 'to. Pag may bagong link, hindi na gagana ang luma.",
459
+ "ics.cancelled": "Cancelled ang shift",
460
+ "csv.date": "Date",
461
+ "csv.name": "Name",
462
+ "csv.role": "Role",
463
+ "csv.start": "Start",
464
+ "csv.end": "End",
465
+ "csv.break": "Break (minutes)",
466
+ "csv.hours": "Hours",
467
+ "confirm.no": "Hindi, i-keep",
468
+ "error.confirm_needed": "Paki-confirm muna. Walang nagbago.",
469
+ "shift.remove.question": "Tanggalin ang shift ni {name} sa {when}?",
470
+ "shift.remove.consequence": "Published na ang week na 'to, kaya ie-email namin si {name} na wala na ang shift na 'to pag tapos ka nang mag-edit. Hindi na 'to maibabalik.",
471
+ "shift.remove.consequence_manual": "Published na ang week na 'to, kaya ie-email si {name} na wala na ang shift na 'to pag ni-send mo ang changes. Hindi na 'to maibabalik.",
472
+ "shift.remove.consequence_gone": "Wala na si {name} sa roster, kaya walang ie-email. Hindi na 'to maibabalik.",
473
+ "shift.remove.yes": "Oo, tanggalin ang shift",
474
+ "week.publish.question": "I-publish ang week ng {date}?",
475
+ "week.publish.consequence": "Ie-email namin sa {count} tao ang shifts nila for the week, may calendar file, at makikita ito ng staff sa sarili nilang page. Hindi na mababawi ang emails.",
476
+ "week.publish.consequence_one": "Ie-email namin sa 1 tao ang shifts niya for the week, may calendar file, at makikita ito ng staff sa sarili nilang page. Hindi na mababawi ang email.",
477
+ "week.publish.consequence_none": "Walang ie-email. Pag published na, makikita ng staff ang week sa sarili nilang page.",
478
+ "week.publish.consequence_all": "Ie-email namin lahat ng may shift sa week na 'yon, may calendar file, at makikita ito ng staff sa sarili nilang page. Hindi na mababawi ang emails.",
479
+ "week.publish.yes": "Oo, i-publish at i-email",
480
+ "week.publish.no": "'Wag muna",
481
+ "week.send.question": "I-send ang changes sa week ng {date}?",
482
+ "week.send.consequence": "Ie-email namin ang {count} tao na nagbago ang shifts. Hindi na mababawi ang emails.",
483
+ "week.send.consequence_one": "Ie-email namin ang 1 tao na nagbago ang shifts. Hindi na mababawi ang email.",
484
+ "week.send.consequence_none": "Walang nagbagong shifts since huling email, kaya walang ie-email.",
485
+ "week.send.consequence_all": "Ie-email namin lahat ng nagbago ang shifts. Hindi na mababawi ang emails.",
486
+ "week.send.yes": "Oo, i-send ang changes",
487
+ "staff.link.question": "I-email kay {name} ang bagong link?",
488
+ "staff.link.consequence": "Hihinto agad ang lumang link at calendar feed nila. Ie-email namin kay {name} ang mga bago, at kailangan nilang i-add ang bagong calendar feed.",
489
+ "staff.link.consequence_first": "Ie-email namin kay {name} ang link sa sarili nilang page at calendar feed.",
490
+ "staff.link.yes": "Oo, i-email ang bagong link",
491
+ "staff.link.no": "'Wag muna",
492
+ "staff.remove.question": "Tanggalin si {name} sa roster?",
493
+ "staff.remove.consequence": "Matatanggal ang shifts nila from now on, ang leave nila at ang link nila, at ie-email namin si {name} tungkol dito. Mananatili ang past shifts para sa hours export. Hindi na 'to maibabalik.",
494
+ "staff.remove.yes": "Oo, tanggalin si {name}",
495
+ "staff.remove.no": "Hindi, i-keep sila sa roster",
496
+ "leave.remove.question": "Tanggalin ang leave ni {name}, {from} to {to}?",
497
+ "leave.remove.consequence": "Ie-email namin si {name} na wala na sa roster ang days na wala sila, kaya puwede na silang i-roster sa mga 'yon. Hindi na 'to maibabalik.",
498
+ "leave.remove.yes": "Oo, tanggalin ang leave",
499
+ "email.removed.subject": "Wala ka na sa roster ng {business}",
500
+ "email.removed.body": "Tinanggal ka na ng {business} sa roster nila.",
501
+ "email.removed.next": "Cancelled na ang shifts at leave mo from now on, at hindi na gagana ang sarili mong page at calendar feed. Kung mali 'to, paki-kausap ang {business}.",
502
+ "email.leave_removed.subject": "Natanggal ang leave mo: {from} to {to}",
503
+ "email.leave_removed.body": "Tinanggal ng {business} sa roster ang days na wala ka from {from} to {to}, kaya puwede kang ma-roster sa mga araw na 'yon.",
504
+ "email.leave_removed.next": "Kung wala ka pa rin sa mga araw na 'yon, paki-kausap ang {business}.",
505
+ };
506
+ export const ROSTER_WORDS = { en, tl, taglish };
package/package.json CHANGED
@@ -1,6 +1,50 @@
1
1
  {
2
2
  "name": "@mccaskie-labs/workbench-roster",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "A staff roster for Workbench apps: staff, shifts and leave in the app's own database. The owner builds a week and publishes it; each person is emailed their shifts with a calendar file and has their own page and calendar feed, and later changes are emailed to the people they touch. A gaps check finds times with too few people on, hoursFor() keeps bookings inside rostered shifts, and the hours export goes to the owner's own payroll. No pay rates and no AI.",
5
+ "license": "UNLICENSED",
6
+ "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/mccaskie-labs/workbench.git",
10
+ "directory": "packages/roster"
11
+ },
12
+ "engines": {
13
+ "node": ">=24"
14
+ },
15
+ "sideEffects": false,
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/index.js"
20
+ },
21
+ "./styles": {
22
+ "types": "./dist/styles.d.ts",
23
+ "default": "./dist/styles.js"
24
+ },
25
+ "./package.json": "./package.json"
26
+ },
27
+ "bin": {
28
+ "workbench-roster": "./dist/cli.js"
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "CHANGELOG.md"
34
+ ],
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "scripts": {
39
+ "typecheck": "tsc -p tsconfig.check.json && tsc -p test/tsconfig.json",
40
+ "test": "vitest run",
41
+ "test:store": "vitest run --config vitest.db.config.ts",
42
+ "build": "node scripts/build.mjs",
43
+ "prepack": "node scripts/build.mjs"
44
+ },
45
+ "devDependencies": {
46
+ "@types/node": "24.19.2",
47
+ "postgres": "4.1.0",
48
+ "vitest": "^5.1.0"
49
+ }
50
+ }