diff --git a/Site/App_GlobalResources/Pages.Comms.designer.cs b/Site/App_GlobalResources/Pages.Comms.designer.cs
index 1c381c3c..e97dc700 100644
--- a/Site/App_GlobalResources/Pages.Comms.designer.cs
+++ b/Site/App_GlobalResources/Pages.Comms.designer.cs
@@ -141,6 +141,15 @@ namespace Resources.Pages {
}
}
+ ///
+ /// Looks up a localized string similar to You're currently using the Sandbox. Where would you like a test message sent?.
+ ///
+ internal static string SendMassMessage_Sandbox_EnterAddress {
+ get {
+ return ResourceManager.GetString("SendMassMessage_Sandbox_EnterAddress", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Send.
///
diff --git a/Site/Pages/v5/Comms/SendMassMessage.aspx b/Site/Pages/v5/Comms/SendMassMessage.aspx
index c4a6d8c3..4dd5d5b8 100644
--- a/Site/Pages/v5/Comms/SendMassMessage.aspx
+++ b/Site/Pages/v5/Comms/SendMassMessage.aspx
@@ -59,13 +59,10 @@
// Prompt for an address to send to
// This should preferably be in a mod on just Sandbox and not in code everywhere
- alertify.prompt("You're currently using the Sandbox. Where would you like a test message sent?", // TODO: LOC
+ alertify.prompt(SwarmopsJS.unescape('<%=this.Localized_Sandbox_EnterAddress%>'),
function(evt, value) {
testMessageSandboxAddress = value; // may need sanitation
onClickTest(); // rerun with value set
- },
- function() {
- alertify.log('Canceled.');
});
return null; // do not process at this time, wait for async response
diff --git a/Site/Pages/v5/Comms/SendMassMessage.aspx.cs b/Site/Pages/v5/Comms/SendMassMessage.aspx.cs
index 3b80cebc..d3608854 100644
--- a/Site/Pages/v5/Comms/SendMassMessage.aspx.cs
+++ b/Site/Pages/v5/Comms/SendMassMessage.aspx.cs
@@ -167,5 +167,9 @@ namespace Swarmops.Frontend.Pages.Comms
get { return JavascriptEscape(Resources.Pages.Comms.SendMassMessage_Error_EmptySubject); }
}
+ public string Localized_Sandbox_EnterAddress
+ {
+ get { return JavascriptEscape(Resources.Pages.Comms.SendMassMessage_Sandbox_EnterAddress); }
+ }
}
}
\ No newline at end of file