]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix: localize PraySystem UI (#28535)
authorVoomra <dimon550@gmail.com>
Sun, 2 Jun 2024 23:51:19 +0000 (02:51 +0300)
committerGitHub <noreply@github.com>
Sun, 2 Jun 2024 23:51:19 +0000 (16:51 -0700)
tweak: localize PraySystem UI

Content.Server/Prayer/PrayerSystem.cs
Resources/Locale/en-US/prayers/prayers.ftl

index c8ef368dadfdeccca212478711fbd94ef6427060..3b1ec3fa0838fe8795d33f4b3c5590c431c8f436 100644 (file)
@@ -54,7 +54,7 @@ public sealed class PrayerSystem : EntitySystem
                     return;
                 }
 
-                _quickDialog.OpenDialog(actor.PlayerSession, Loc.GetString(comp.Verb), "Message", (string message) =>
+                _quickDialog.OpenDialog(actor.PlayerSession, Loc.GetString(comp.Verb), Loc.GetString("prayer-popup-notify-pray-ui-message"), (string message) =>
                 {
                     Pray(actor.PlayerSession, comp, message);
                 });
index 07713bc8216c3f49672a6d572c8b7b0b24a9082e..532ba4954f09959c7d3f331ee3016119aad076d9 100644 (file)
@@ -13,3 +13,4 @@ prayer-popup-notify-centcom-sent = You left a voicemail message for Central Comm
 prayer-popup-notify-syndicate-sent = You left a voicemail message for Syndicate High Command...
 prayer-popup-notify-pray-sent = Your message has been sent to the gods...
 prayer-popup-notify-pray-locked = You don't feel worthy enough...
+prayer-popup-notify-pray-ui-message = Message