File tree 6 files changed +8
-7
lines changed
6 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public CommandResult Execute(CommandContext context)
25
25
if ( context . Player . RoleID == 79 )
26
26
return new CommandResult
27
27
{
28
- Message = "As Scp079-robot you can't use this Command" ,
28
+ Message = PluginClass . Translation . ActiveTranslation . NotAsRobot ,
29
29
State = CommandResultState . Error
30
30
} ;
31
31
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public CommandResult Execute(CommandContext context)
24
24
if ( context . Player . RoleID == 79 )
25
25
return new CommandResult
26
26
{
27
- Message = "As Scp079-robot you can't use this Command" ,
27
+ Message = PluginClass . Translation . ActiveTranslation . NotAsRobot ,
28
28
State = CommandResultState . Error
29
29
} ;
30
30
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public CommandResult Execute(CommandContext context)
26
26
if ( context . Player . RoleID == 79 )
27
27
return new CommandResult
28
28
{
29
- Message = "As Scp079-robot you can't use this Command" ,
29
+ Message = PluginClass . Translation . ActiveTranslation . NotAsRobot ,
30
30
State = CommandResultState . Error
31
31
} ;
32
32
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ internal void RegisterCommands(Assembly assembly)
38
38
}
39
39
catch ( Exception e )
40
40
{
41
- Synapse . Api . Logger . Get . Error ( $ "Registering Scp-079 Command for type { commandclass . Name } faile :\n \n { e } ") ;
41
+ Synapse . Api . Logger . Get . Error ( $ "Registering Scp-079 Command for type { commandclass . Name } failed :\n \n { e } ") ;
42
42
}
43
43
}
44
44
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace Scp079Rework
15
15
SynapseMajor = 2 ,
16
16
SynapseMinor = 2 ,
17
17
SynapsePatch = 0 ,
18
- Version = "v.2.0 .0"
18
+ Version = "v.2.1 .0"
19
19
) ]
20
20
public class PluginClass : AbstractPlugin
21
21
{
@@ -38,7 +38,8 @@ public override void Load()
38
38
LowLevel = "Dein Level ist nich hoch genug!Du brauchst mindestens Level %level%." ,
39
39
LowEnergy = "Du braucht mindestens %energy% Energie um diesen Befehl auszuführen." ,
40
40
Error = "Ein Fehler ist aufgetreten während dem Ausführen des Befehls." ,
41
- NoCommand = "Kein solcher Unter befehl mit dem namen %command% wurde gefunden."
41
+ NoCommand = "Kein solcher Unter befehl mit dem namen %command% wurde gefunden." ,
42
+ NotAsRobot = "Als SCP-079-Roboter kannst du diesen Befehl nicht ausführen"
42
43
} , "GERMAN" ) ;
43
44
44
45
CommandHandler . Handler . RegisterCommands ( Assembly . GetExecutingAssembly ( ) ) ;
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ public class PluginTranslation : IPluginTranslation
18
18
19
19
public string NoCommand { get ; set ; } = "No Scp-079 Command was found for %command%" ;
20
20
21
- public string NotAsRobot { get ; set ; } = "As Scp079 -robot you can't use this Command" ;
21
+ public string NotAsRobot { get ; set ; } = "As SCP-079 -robot you can't use this Command" ;
22
22
}
23
23
}
You can’t perform that action at this time.
0 commit comments