@stevenkellner/team-conduct-api 1.0.21 → 1.0.23
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/lib/src/functions/fine/add.js +7 -3
- package/lib/src/functions/fine/delete.js +5 -3
- package/lib/src/functions/fine/update.js +9 -6
- package/lib/src/locales/de.d.ts +66 -0
- package/lib/src/locales/de.js +99 -0
- package/lib/src/locales/en.d.ts +66 -0
- package/lib/src/locales/en.js +99 -0
- package/lib/src/types/Configuration.d.ts +3 -2
- package/lib/src/types/Configuration.js +2 -1
- package/lib/src/types/FineAmount.js +3 -3
- package/lib/src/types/FineTemplateRepetition.js +3 -3
- package/lib/src/types/Localization.d.ts +205 -60
- package/lib/src/types/Localization.js +65 -117
- package/lib/src/types/PayedState.js +1 -1
- package/lib/src/types/Pluralization.d.ts +17 -0
- package/lib/src/types/Pluralization.js +33 -0
- package/lib/src/types/UserRole.js +1 -1
- package/lib/src/types/index.d.ts +1 -0
- package/lib/src/types/index.js +1 -0
- package/lib/test/localization-utils.d.ts +0 -11
- package/lib/test/localization-utils.js +5 -49
- package/lib/test/localization.de.test.js +43 -80
- package/lib/test/localization.en.test.js +46 -85
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -5
- package/src/functions/fine/add.ts +7 -3
- package/src/functions/fine/delete.ts +5 -3
- package/src/functions/fine/update.ts +10 -7
- package/src/locales/de.ts +97 -0
- package/src/locales/en.ts +97 -0
- package/src/types/Configuration.ts +4 -3
- package/src/types/FineAmount.ts +3 -3
- package/src/types/FineTemplateRepetition.ts +3 -3
- package/src/types/Localization.ts +67 -83
- package/src/types/PayedState.ts +1 -1
- package/src/types/Pluralization.ts +44 -0
- package/src/types/UserRole.ts +3 -3
- package/src/types/index.ts +1 -0
- package/lib/src/locales/de.json +0 -85
- package/lib/src/locales/en.json +0 -85
- package/src/locales/de.json +0 -85
- package/src/locales/en.json +0 -85
package/lib/src/locales/en.json
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"notification": {
|
|
3
|
-
"fine": {
|
|
4
|
-
"new": {
|
|
5
|
-
"title": "%s",
|
|
6
|
-
"body": "You have a new fine of %s. Please pay it as soon as possible."
|
|
7
|
-
},
|
|
8
|
-
"reminder": {
|
|
9
|
-
"title": "You still have outstanding fines",
|
|
10
|
-
"body": "You still have %s outstanding. Please pay as soon as possible."
|
|
11
|
-
},
|
|
12
|
-
"state-change": {
|
|
13
|
-
"title": "One of your fines has changed",
|
|
14
|
-
"body-payed": "You have paid a fine of %1$s (%2$s).",
|
|
15
|
-
"body-unpayed": "%1$s, %2$s is still outstanding.",
|
|
16
|
-
"body-deleted": "%1$s, %2$s has been deleted."
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"fineAmount": {
|
|
21
|
-
"item": {
|
|
22
|
-
"type": {
|
|
23
|
-
"crateOfBeer": "Crate of Beer",
|
|
24
|
-
"crateOfBeer?count=%s": {
|
|
25
|
-
"one": "a crate of beer",
|
|
26
|
-
"other": "%s crates of beer"
|
|
27
|
-
},
|
|
28
|
-
"crateOfBeerWithoutCount?count=%s": {
|
|
29
|
-
"one": "Crate of Beer",
|
|
30
|
-
"other": "Crates of Beer"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"fineTemplateRepetition": {
|
|
36
|
-
"item": {
|
|
37
|
-
"minute": "Minute",
|
|
38
|
-
"minute?count=%s": {
|
|
39
|
-
"one": "1 minute",
|
|
40
|
-
"other": "%s minutes"
|
|
41
|
-
},
|
|
42
|
-
"minuteWithoutCount?count=%s": {
|
|
43
|
-
"one": "Minute",
|
|
44
|
-
"other": "Minutes"
|
|
45
|
-
},
|
|
46
|
-
"day": "Day",
|
|
47
|
-
"day?count=%s": {
|
|
48
|
-
"one": "1 day",
|
|
49
|
-
"other": "%s days"
|
|
50
|
-
},
|
|
51
|
-
"dayWithoutCount?count=%s": {
|
|
52
|
-
"one": "Day",
|
|
53
|
-
"other": "Days"
|
|
54
|
-
},
|
|
55
|
-
"item": "Item",
|
|
56
|
-
"item?count=%s": {
|
|
57
|
-
"one": "1 item",
|
|
58
|
-
"other": "%s items"
|
|
59
|
-
},
|
|
60
|
-
"itemWithoutCount?count=%s": {
|
|
61
|
-
"one": "Item",
|
|
62
|
-
"other": "Items"
|
|
63
|
-
},
|
|
64
|
-
"count": "Count",
|
|
65
|
-
"count?count=%s": {
|
|
66
|
-
"one": "1 time",
|
|
67
|
-
"other": "%s times"
|
|
68
|
-
},
|
|
69
|
-
"countWithoutCount?count=%s": {
|
|
70
|
-
"one": "time",
|
|
71
|
-
"other": "times"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"payedState": {
|
|
76
|
-
"payed": "Paid",
|
|
77
|
-
"notPayed": "Outstanding"
|
|
78
|
-
},
|
|
79
|
-
"userRole": {
|
|
80
|
-
"personManager": "Person Manager",
|
|
81
|
-
"fineTemplateManager": "Fine Template Manager",
|
|
82
|
-
"fineManager": "Fine Manager",
|
|
83
|
-
"teamManager": "Team Manager"
|
|
84
|
-
}
|
|
85
|
-
}
|
package/src/locales/de.json
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"notification": {
|
|
3
|
-
"fine": {
|
|
4
|
-
"new": {
|
|
5
|
-
"title": "%s",
|
|
6
|
-
"body": "Du hast eine neue Strafe von %s. Bitte so schnell wie möglich zahlen."
|
|
7
|
-
},
|
|
8
|
-
"reminder": {
|
|
9
|
-
"title": "Du hast noch offene Strafen",
|
|
10
|
-
"body": "Bei dir sind noch %s offen. Bitte so schnell wie möglich zahlen."
|
|
11
|
-
},
|
|
12
|
-
"state-change": {
|
|
13
|
-
"title": "Eine deiner Strafen hat sich geändert",
|
|
14
|
-
"body-payed": "Du hast eine Strafe von %1$s bezahlt (%2$s).",
|
|
15
|
-
"body-unpayed": "%1$s, %2$s ist noch offen.",
|
|
16
|
-
"body-deleted": "%1$s, %2$s wurde gelöscht."
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"fineAmount": {
|
|
21
|
-
"item": {
|
|
22
|
-
"type": {
|
|
23
|
-
"crateOfBeer": "Kasten Bier",
|
|
24
|
-
"crateOfBeer?count=%s": {
|
|
25
|
-
"one": "Ein Kasten Bier",
|
|
26
|
-
"other": "%s Kästen Bier"
|
|
27
|
-
},
|
|
28
|
-
"crateOfBeerWithoutCount?count=%s": {
|
|
29
|
-
"one": "Kasten Bier",
|
|
30
|
-
"other": "Kästen Bier"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"fineTemplateRepetition": {
|
|
36
|
-
"item": {
|
|
37
|
-
"minute": "Minute",
|
|
38
|
-
"minute?count=%s": {
|
|
39
|
-
"one": "1 Minute",
|
|
40
|
-
"other": "%s Minuten"
|
|
41
|
-
},
|
|
42
|
-
"minuteWithoutCount?count=%s": {
|
|
43
|
-
"one": "Minute",
|
|
44
|
-
"other": "Minuten"
|
|
45
|
-
},
|
|
46
|
-
"day": "Tag",
|
|
47
|
-
"day?count=%s": {
|
|
48
|
-
"one": "1 Tag",
|
|
49
|
-
"other": "%s Tage"
|
|
50
|
-
},
|
|
51
|
-
"dayWithoutCount?count=%s": {
|
|
52
|
-
"one": "Tag",
|
|
53
|
-
"other": "Tage"
|
|
54
|
-
},
|
|
55
|
-
"item": "Teil",
|
|
56
|
-
"item?count=%s": {
|
|
57
|
-
"one": "1 Teil",
|
|
58
|
-
"other": "%s Teile"
|
|
59
|
-
},
|
|
60
|
-
"itemWithoutCount?count=%s": {
|
|
61
|
-
"one": "Teil",
|
|
62
|
-
"other": "Teile"
|
|
63
|
-
},
|
|
64
|
-
"count": "Anzahl",
|
|
65
|
-
"count?count=%s": {
|
|
66
|
-
"one": "1 mal",
|
|
67
|
-
"other": "%s mal"
|
|
68
|
-
},
|
|
69
|
-
"countWithoutCount?count=%s": {
|
|
70
|
-
"one": "mal",
|
|
71
|
-
"other": "mal"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"payedState": {
|
|
76
|
-
"payed": "Bezahlt",
|
|
77
|
-
"notPayed": "Offen"
|
|
78
|
-
},
|
|
79
|
-
"userRole": {
|
|
80
|
-
"personManager": "Personenmanager",
|
|
81
|
-
"fineTemplateManager": "Strafvorlagenmanager",
|
|
82
|
-
"fineManager": "Strafenmanager",
|
|
83
|
-
"teamManager": "Teammanager"
|
|
84
|
-
}
|
|
85
|
-
}
|
package/src/locales/en.json
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"notification": {
|
|
3
|
-
"fine": {
|
|
4
|
-
"new": {
|
|
5
|
-
"title": "%s",
|
|
6
|
-
"body": "You have a new fine of %s. Please pay it as soon as possible."
|
|
7
|
-
},
|
|
8
|
-
"reminder": {
|
|
9
|
-
"title": "You still have outstanding fines",
|
|
10
|
-
"body": "You still have %s outstanding. Please pay as soon as possible."
|
|
11
|
-
},
|
|
12
|
-
"state-change": {
|
|
13
|
-
"title": "One of your fines has changed",
|
|
14
|
-
"body-payed": "You have paid a fine of %1$s (%2$s).",
|
|
15
|
-
"body-unpayed": "%1$s, %2$s is still outstanding.",
|
|
16
|
-
"body-deleted": "%1$s, %2$s has been deleted."
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"fineAmount": {
|
|
21
|
-
"item": {
|
|
22
|
-
"type": {
|
|
23
|
-
"crateOfBeer": "Crate of Beer",
|
|
24
|
-
"crateOfBeer?count=%s": {
|
|
25
|
-
"one": "a crate of beer",
|
|
26
|
-
"other": "%s crates of beer"
|
|
27
|
-
},
|
|
28
|
-
"crateOfBeerWithoutCount?count=%s": {
|
|
29
|
-
"one": "Crate of Beer",
|
|
30
|
-
"other": "Crates of Beer"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"fineTemplateRepetition": {
|
|
36
|
-
"item": {
|
|
37
|
-
"minute": "Minute",
|
|
38
|
-
"minute?count=%s": {
|
|
39
|
-
"one": "1 minute",
|
|
40
|
-
"other": "%s minutes"
|
|
41
|
-
},
|
|
42
|
-
"minuteWithoutCount?count=%s": {
|
|
43
|
-
"one": "Minute",
|
|
44
|
-
"other": "Minutes"
|
|
45
|
-
},
|
|
46
|
-
"day": "Day",
|
|
47
|
-
"day?count=%s": {
|
|
48
|
-
"one": "1 day",
|
|
49
|
-
"other": "%s days"
|
|
50
|
-
},
|
|
51
|
-
"dayWithoutCount?count=%s": {
|
|
52
|
-
"one": "Day",
|
|
53
|
-
"other": "Days"
|
|
54
|
-
},
|
|
55
|
-
"item": "Item",
|
|
56
|
-
"item?count=%s": {
|
|
57
|
-
"one": "1 item",
|
|
58
|
-
"other": "%s items"
|
|
59
|
-
},
|
|
60
|
-
"itemWithoutCount?count=%s": {
|
|
61
|
-
"one": "Item",
|
|
62
|
-
"other": "Items"
|
|
63
|
-
},
|
|
64
|
-
"count": "Count",
|
|
65
|
-
"count?count=%s": {
|
|
66
|
-
"one": "1 time",
|
|
67
|
-
"other": "%s times"
|
|
68
|
-
},
|
|
69
|
-
"countWithoutCount?count=%s": {
|
|
70
|
-
"one": "time",
|
|
71
|
-
"other": "times"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"payedState": {
|
|
76
|
-
"payed": "Paid",
|
|
77
|
-
"notPayed": "Outstanding"
|
|
78
|
-
},
|
|
79
|
-
"userRole": {
|
|
80
|
-
"personManager": "Person Manager",
|
|
81
|
-
"fineTemplateManager": "Fine Template Manager",
|
|
82
|
-
"fineManager": "Fine Manager",
|
|
83
|
-
"teamManager": "Team Manager"
|
|
84
|
-
}
|
|
85
|
-
}
|