Extract text feedback messages.
This commit is contained in:
committed by
Gustas
parent
94c8339e17
commit
c609c4af14
@@ -37,6 +37,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Speech notification to play when selecting a primary building.")]
|
||||
public readonly string SelectionNotification = null;
|
||||
|
||||
[TranslationReference(optional: true)]
|
||||
[Desc("Text notification to display when selecting a primary building.")]
|
||||
public readonly string SelectionTextNotification = null;
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Speech notification to play when a unit is delivered.")]
|
||||
public readonly string ReadyAudio = "Reinforce";
|
||||
|
||||
[TranslationReference(optional: true)]
|
||||
[Desc("Text notification to display when a unit is delivered.")]
|
||||
public readonly string ReadyTextNotification = null;
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Speech notification to play when setting a new rallypoint.")]
|
||||
public readonly string Notification = null;
|
||||
|
||||
[TranslationReference(optional: true)]
|
||||
[Desc("Text notification to display when setting a new rallypoint.")]
|
||||
public readonly string TextNotification = null;
|
||||
|
||||
|
||||
@@ -47,10 +47,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string RepairCondition = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Speech notification to play when the repair process is started.")]
|
||||
[Desc("Voice line to play when repairs are started.")]
|
||||
public readonly string RepairingNotification = null;
|
||||
|
||||
[Desc("Text notification to display when the repair process is started.")]
|
||||
[TranslationReference(optional: true)]
|
||||
[Desc("Transient text message to display when repairs are started.")]
|
||||
public readonly string RepairingTextNotification = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
|
||||
Reference in New Issue
Block a user