Added some loc
This commit is contained in:
@@ -141,6 +141,15 @@ namespace Resources.Pages {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You're currently using the Sandbox. Where would you like a test message sent?.
|
||||
/// </summary>
|
||||
internal static string SendMassMessage_Sandbox_EnterAddress {
|
||||
get {
|
||||
return ResourceManager.GetString("SendMassMessage_Sandbox_EnterAddress", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Send.
|
||||
/// </summary>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user