Access level localization (#10250)
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Content.Shared.Access
|
|||||||
[DataField("name")]
|
[DataField("name")]
|
||||||
public string Name
|
public string Name
|
||||||
{
|
{
|
||||||
get => _name ?? ID;
|
get => (_name is not null) ? _name : ID;
|
||||||
private set => _name = Loc.GetString(value);
|
private set => _name = Loc.GetString(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
37
Resources/Locale/en-US/prototypes/access/accesses.ftl
Normal file
37
Resources/Locale/en-US/prototypes/access/accesses.ftl
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
id-card-access-level-command = Command
|
||||||
|
id-card-access-level-captain = Captain
|
||||||
|
id-card-access-level-head-of-personnel = Head of Personnel
|
||||||
|
|
||||||
|
id-card-access-level-head-of-security = Head of Security
|
||||||
|
id-card-access-level-security = Security
|
||||||
|
id-card-access-level-armory = Armory
|
||||||
|
id-card-access-level-brig = Brig
|
||||||
|
|
||||||
|
id-card-access-level-chief-engineer = Chief Engineer
|
||||||
|
id-card-access-level-engineering = Engineering
|
||||||
|
id-card-access-level-atmospherics = Atmospherics
|
||||||
|
|
||||||
|
id-card-access-level-research-director = Research Director
|
||||||
|
id-card-access-level-research = Research
|
||||||
|
|
||||||
|
id-card-access-level-chief-medical-officer = Chief Medical Officer
|
||||||
|
id-card-access-level-medical = Medical
|
||||||
|
id-card-access-level-chemistry = Chemistry
|
||||||
|
|
||||||
|
id-card-access-level-quartermaster = Quartermaster
|
||||||
|
id-card-access-level-cargo = Cargo
|
||||||
|
id-card-access-level-salvage = Salvage
|
||||||
|
|
||||||
|
id-card-access-level-bar = Bar
|
||||||
|
id-card-access-level-kitchen = Kitchen
|
||||||
|
id-card-access-level-hydroponics = Hydroponics
|
||||||
|
id-card-access-level-service = Service
|
||||||
|
id-card-access-level-janitor = Janitor
|
||||||
|
id-card-access-level-theatre = Theatre
|
||||||
|
id-card-access-level-chapel = Chapel
|
||||||
|
|
||||||
|
id-card-access-level-maintenance = Maintenance
|
||||||
|
|
||||||
|
id-card-access-level-external = External
|
||||||
|
|
||||||
|
id-card-access-level-nuclear-operative = Nuclear Operative
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Quartermaster
|
id: Quartermaster
|
||||||
name: Quartermaster
|
name: id-card-access-level-quartermaster
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Cargo
|
id: Cargo
|
||||||
name: Cargo
|
name: id-card-access-level-cargo
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Salvage
|
id: Salvage
|
||||||
name: Salvage
|
name: id-card-access-level-salvage
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Cargo
|
id: Cargo
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Command
|
id: Command
|
||||||
name: Command
|
name: id-card-access-level-command
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Captain
|
id: Captain
|
||||||
name: Captain
|
name: id-card-access-level-captain
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: HeadOfPersonnel
|
id: HeadOfPersonnel
|
||||||
name: Head of Personnel
|
name: id-card-access-level-head-of-personnel
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Command
|
id: Command
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: ChiefEngineer
|
id: ChiefEngineer
|
||||||
name: Chief Engineer
|
name: id-card-access-level-chief-engineer
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Engineering
|
id: Engineering
|
||||||
name: Engineering
|
name: id-card-access-level-engineering
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Atmospherics
|
id: Atmospherics
|
||||||
name: Atmospherics
|
name: id-card-access-level-atmospherics
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Engineering
|
id: Engineering
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: External
|
id: External
|
||||||
name: External
|
name: id-card-access-level-external
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Maintenance
|
id: Maintenance
|
||||||
name: Maintenance
|
name: id-card-access-level-maintenance
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: ChiefMedicalOfficer
|
id: ChiefMedicalOfficer
|
||||||
name: Chief Medical Officer
|
name: id-card-access-level-chief-medical-officer
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Medical
|
id: Medical
|
||||||
name: Medical
|
name: id-card-access-level-medical
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Chemistry
|
id: Chemistry
|
||||||
name: Chemistry
|
name: id-card-access-level-chemistry
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Medical
|
id: Medical
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: ResearchDirector
|
id: ResearchDirector
|
||||||
name: Research Director
|
name: id-card-access-level-research-director
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Research
|
id: Research
|
||||||
name: Research
|
name: id-card-access-level-research
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Research
|
id: Research
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: HeadOfSecurity
|
id: HeadOfSecurity
|
||||||
name: Head of Security
|
name: id-card-access-level-head-of-security
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Security
|
id: Security
|
||||||
name: Security
|
name: id-card-access-level-security
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Armory
|
id: Armory
|
||||||
name: Armory
|
name: id-card-access-level-armory
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Brig
|
id: Brig
|
||||||
name: Brig
|
name: id-card-access-level-brig
|
||||||
|
|
||||||
#- type: accessLevel
|
#- type: accessLevel
|
||||||
# id: Detective
|
# id: Detective
|
||||||
|
|||||||
@@ -1,30 +1,30 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Bar
|
id: Bar
|
||||||
name: Bar
|
name: id-card-access-level-bar
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Kitchen
|
id: Kitchen
|
||||||
name: Kitchen
|
name: id-card-access-level-kitchen
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Hydroponics
|
id: Hydroponics
|
||||||
name: Hydroponics
|
name: id-card-access-level-hydroponics
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Service
|
id: Service
|
||||||
name: Service
|
name: id-card-access-level-service
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Janitor
|
id: Janitor
|
||||||
name: Janitor
|
name: id-card-access-level-janitor
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Theatre
|
id: Theatre
|
||||||
name: Theatre
|
name: id-card-access-level-theatre
|
||||||
|
|
||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: Chapel
|
id: Chapel
|
||||||
name: Chapel
|
name: id-card-access-level-chapel
|
||||||
|
|
||||||
- type: accessGroup
|
- type: accessGroup
|
||||||
id: Service
|
id: Service
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
- type: accessLevel
|
- type: accessLevel
|
||||||
id: NuclearOperative
|
id: NuclearOperative
|
||||||
name: Nuclear Operative
|
name: id-card-access-level-nuclear-operative
|
||||||
|
|||||||
Reference in New Issue
Block a user