Lathe and ghost role localization (#10251)

This commit is contained in:
Rinkashikachi
2022-08-02 16:40:53 +03:00
committed by GitHub
parent 78bb2ed5fc
commit ff930c33aa
8 changed files with 29 additions and 17 deletions

View File

@@ -31,7 +31,7 @@ namespace Content.Server.Ghost.Roles.Components
[Access(typeof(GhostRoleSystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends
public string RoleName
{
get => _roleName;
get => Loc.GetString(_roleName);
set
{
_roleName = value;
@@ -43,7 +43,7 @@ namespace Content.Server.Ghost.Roles.Components
[Access(typeof(GhostRoleSystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends
public string RoleDescription
{
get => _roleDescription;
get => Loc.GetString(_roleDescription);
set
{
_roleDescription = value;