diff --git a/Site/Pages/v5/Swarm/ListFindPeople.aspx b/Site/Pages/v5/Swarm/ListFindPeople.aspx
index 40c22857..f4a05eb8 100644
--- a/Site/Pages/v5/Swarm/ListFindPeople.aspx
+++ b/Site/Pages/v5/Swarm/ListFindPeople.aspx
@@ -53,7 +53,7 @@
var rowCount = $(this).datagrid('getRows').length;
$("#spanHitCount").text(rowCount);
if (rowCount == 1000) {
- alertify.log(SwarmopsJS.unescape(''));
+ alertify.log(SwarmopsJS.unescape('<%= this.Localized_NoticeTooManyHits %>'));
}
// Leaving some remnant code from PayOutMoney in here for now, as similar code will be needed
diff --git a/Site/Pages/v5/Swarm/ListFindPeople.aspx.cs b/Site/Pages/v5/Swarm/ListFindPeople.aspx.cs
index 822336ff..56a08469 100644
--- a/Site/Pages/v5/Swarm/ListFindPeople.aspx.cs
+++ b/Site/Pages/v5/Swarm/ListFindPeople.aspx.cs
@@ -41,8 +41,6 @@ namespace Swarmops.Frontend.Pages.Swarm
this.LabelGridHeaderName.Text = Global.Global_Name;
this.LabelGridHeaderPhone.Text = Global.Global_Phone;
this.LabelGridHeaderNotes.Text = Global.Global_Notes;
-
- this.LiteralNoticeTooManyHits.Text = JavascriptEscape(Resources.Pages.Swarm.ListFindPeople_TooManyHits);
}
[WebMethod]
@@ -116,5 +114,12 @@ namespace Swarmops.Frontend.Pages.Swarm
public string DisplayMessage;
public bool Success;
}
+
+
+ // ReSharper disable once InconsistentNaming
+ public string Localized_NoticeTooManyHits
+ {
+ get { return JavascriptEscape(Resources.Pages.Swarm.ListFindPeople_TooManyHits); }
+ }
}
}
\ No newline at end of file
diff --git a/Site/Pages/v5/Swarm/ListFindPeople.aspx.designer.cs b/Site/Pages/v5/Swarm/ListFindPeople.aspx.designer.cs
index 10cb2c84..9041fc0b 100644
--- a/Site/Pages/v5/Swarm/ListFindPeople.aspx.designer.cs
+++ b/Site/Pages/v5/Swarm/ListFindPeople.aspx.designer.cs
@@ -12,15 +12,6 @@ namespace Swarmops.Frontend.Pages.Swarm {
public partial class ListFindPeople {
- ///
- /// LiteralNoticeTooManyHits control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Literal LiteralNoticeTooManyHits;
-
///
/// ComboGeographies control.
///