Skip to content

Commit 9dac91e

Browse files
authored
Merge pull request #135 from LiliaFramework/codex/localize-modules-using-l-function
Localize privileges via implicit L usage
2 parents 53781fb + a959179 commit 9dac91e

File tree

20 files changed

+30
-22
lines changed

20 files changed

+30
-22
lines changed

bodygrouper/languages/english.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ NAME = "English"
22
LANGUAGE = {
33
manageBodygroups = "Manage Bodygroups",
44
changeBodygroups = "Change Bodygroups",
5+
bodygroups = "Bodygroups",
56
bodygrouperModuleName = "Bodygroup Editor",
67
bodygrouperModuleDesc = "Spawns a bodygroup closet where players can edit their model's bodygroups. Admins may inspect others and configure the closet's model.",
78
bodygroupChanged = "You changed %s bodygroups.",

bodygrouper/module.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ MODULE.Privileges = {
1010
Name = "manageBodygroups",
1111
ID = "manageBodygroups",
1212
MinAccess = "admin",
13-
Category = "Bodygroups",
13+
Category = "bodygroups",
1414
},
1515
{
1616
Name = "changeBodygroups",
1717
ID = "changeBodygroups",
1818
MinAccess = "admin",
19-
Category = "Bodygroups",
19+
Category = "bodygroups",
2020
}
2121
}

broadcasts/languages/english.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ NAME = "English"
22
LANGUAGE = {
33
canUseFactionBroadcast = "Can Use Faction Broadcast",
44
canUseClassBroadcast = "Can Use Class Broadcast",
5+
broadcasts = "Broadcasts",
56
broadcastsModuleName = "Broadcasts",
67
broadcastsModuleDesc = "Allows staff to broadcast messages to chosen factions or classes. Every broadcast is logged and controlled through CAMI privileges.",
78
classBroadcastLabel = "[CLASS BROADCAST]",

broadcasts/module.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ MODULE.Privileges = {
1111
Name = "canUseFactionBroadcast",
1212
ID = "canUseFactionBroadcast",
1313
MinAccess = "superadmin",
14-
Category = "Broadcasts",
14+
Category = "broadcasts",
1515
},
1616
{
1717
Name = "canUseClassBroadcast",
1818
ID = "canUseClassBroadcast",
1919
MinAccess = "superadmin",
20-
Category = "Broadcasts",
20+
Category = "broadcasts",
2121
}
2222
}
2323

cinematictext/languages/english.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ LANGUAGE = {
1515
cinematicTextFont = "Cinematic Text Font",
1616
cinematicTextFontDesc = "The font used for cinematic text.",
1717
cinematic = "Cinematic",
18+
cinematics = "Cinematics",
1819
cinematicTextSize = "Cinematic Text Size",
1920
cinematicTextSizeDesc = "The size of the standard cinematic text.",
2021
cinematicBigTextSize = "Cinematic Big Text Size",

cinematictext/module.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ MODULE.Privileges = {
1010
Name = "useCinematicMenu",
1111
ID = "useCinematicMenu",
1212
MinAccess = "admin",
13-
Category = "Cinematics",
13+
Category = "cinematics",
1414
},
1515
}

cutscenes/module.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ MODULE.Privileges = {
1111
Name = "useCutscenes",
1212
ID = "useCutscenes",
1313
MinAccess = "admin",
14-
Category = "Cutscenes",
14+
Category = "cutscenes",
1515
},
1616
}

developmenthud/module.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ MODULE.Privileges = {
99
Name = "staffHUD",
1010
ID = "staffHUD",
1111
MinAccess = "superadmin",
12-
Category = "Development HUD",
12+
Category = "developmentHUD",
1313
},
1414
{
1515
Name = "developmentHUD",
1616
ID = "developmentHUD",
1717
MinAccess = "superadmin",
18-
Category = "Development HUD",
18+
Category = "developmentHUD",
1919
}
2020
}
2121

donator/module.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ MODULE.Features = {"Adds libraries to manage donor perks", "Adds tracking for do
88
MODULE.Privileges = {
99
{
1010
Name = "subtractCharSlots",
11-
ID = "Subtract CharSlots",
11+
ID = "subtractCharSlots",
1212
MinAccess = "superadmin",
13-
Category = "Character Slots",
13+
Category = "charSlots",
1414
},
1515
{
1616
Name = "addCharSlots",
17-
ID = "Add CharSlots",
17+
ID = "addCharSlots",
1818
MinAccess = "superadmin",
19-
Category = "Character Slots",
19+
Category = "charSlots",
2020
},
2121
{
2222
Name = "setCharSlots",
23-
ID = "Set CharSlots",
23+
ID = "setCharSlots",
2424
MinAccess = "superadmin",
25-
Category = "Character Slots",
25+
Category = "charSlots",
2626
}
2727
}

extendeddescriptions/languages/english.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
NAME = "English"
22
LANGUAGE = {
33
changeDescription = "Change Description",
4+
descriptions = "Descriptions",
45
detailedDescTitle = "%s's Detailed Description",
56
editDescTitle = "Edit Detailed Description",
67
openDetDescFallback = "No description available.",

0 commit comments

Comments
 (0)