Localized a few strings

This commit is contained in:
Rick Falkvinge
2015-01-25 10:22:51 +01:00
parent 1be972bd40
commit 2123d273a8
2 changed files with 8 additions and 2 deletions
@@ -194,6 +194,12 @@
<value>Renewal cost (in {0})</value>
<comment>The {0} is the operating currency (USD etc).</comment>
</data>
<data name="SystemSettings_Error_SmtpHostPort" xml:space="preserve">
<value>SMTP Port must be numeric. Unable to parse host:port.</value>
</data>
<data name="SystemSettings_Error_SmtpSyntax" xml:space="preserve">
<value>Unable to parse user, pass, host, and/or port. (Only host is required.)</value>
</data>
<data name="SystemSettings_ExternalUrl" xml:space="preserve">
<value>Externally Accessible URL</value>
</data>
+2 -2
View File
@@ -89,7 +89,7 @@ namespace Swarmops.Frontend.Pages.v5.Admin
}
catch (FormatException)
{
result.DisplayMessage = "Port must be numeric. Unable to parse host:port.";
result.DisplayMessage = Resources.Pages.Admin.SystemSettings_Error_SmtpHostPort;
result.ResultCode = AjaxTextBox.CodeInvalid;
return result; // return early
}
@@ -109,7 +109,7 @@ namespace Swarmops.Frontend.Pages.v5.Admin
else
{
result.ResultCode = AjaxTextBox.CodeInvalid;
result.DisplayMessage = "Unable to parse user, pass, host, and/or port. (Only host is required.)";
result.DisplayMessage = Resources.Pages.Admin.SystemSettings_Error_SmtpSyntax;
}
break;