Commit 4373b41b authored by Savorboard's avatar Savorboard

update english resource.

parent fd4a0d2b
...@@ -699,6 +699,33 @@ namespace DotNetCore.CAP.Dashboard.Resources { ...@@ -699,6 +699,33 @@ namespace DotNetCore.CAP.Dashboard.Resources {
} }
} }
/// <summary>
/// Looks up a localized string similar to IP Address.
/// </summary>
public static string NodePage_Table_IP {
get {
return ResourceManager.GetString("NodePage_Table_IP", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Node Name.
/// </summary>
public static string NodePage_Table_NodeName {
get {
return ResourceManager.GetString("NodePage_Table_NodeName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Port.
/// </summary>
public static string NodePage_Table_Port {
get {
return ResourceManager.GetString("NodePage_Table_Port", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Nodes. /// Looks up a localized string similar to Nodes.
/// </summary> /// </summary>
......
...@@ -390,4 +390,13 @@ ...@@ -390,4 +390,13 @@
<data name="MessagesPage_Table_State" xml:space="preserve"> <data name="MessagesPage_Table_State" xml:space="preserve">
<value>State</value> <value>State</value>
</data> </data>
<data name="NodePage_Table_IP" xml:space="preserve">
<value>IP Address</value>
</data>
<data name="NodePage_Table_NodeName" xml:space="preserve">
<value>Node Name</value>
</data>
<data name="NodePage_Table_Port" xml:space="preserve">
<value>Port</value>
</data>
</root> </root>
\ No newline at end of file
...@@ -414,4 +414,13 @@ ...@@ -414,4 +414,13 @@
<data name="MessagesPage_Table_State" xml:space="preserve"> <data name="MessagesPage_Table_State" xml:space="preserve">
<value>状态</value> <value>状态</value>
</data> </data>
<data name="NodePage_Table_IP" xml:space="preserve">
<value>IP 地址</value>
</data>
<data name="NodePage_Table_NodeName" xml:space="preserve">
<value>节点名称</value>
</data>
<data name="NodePage_Table_Port" xml:space="preserve">
<value>端口号</value>
</data>
</root> </root>
\ No newline at end of file
...@@ -170,7 +170,7 @@ namespace DotNetCore.CAP.Dashboard ...@@ -170,7 +170,7 @@ namespace DotNetCore.CAP.Dashboard
public NonEscapedString NodeSwitchLink(string id) public NonEscapedString NodeSwitchLink(string id)
{ {
return Raw( return Raw(
$"<a class=\"job-method\" onclick=\"nodeSwitch({id});\" href=\"javascript:;\">{Strings.NodePage_Switch}</a>"); $"<a onclick=\"nodeSwitch({id});\" href=\"javascript:;\">{Strings.NodePage_Switch}</a>");
} }
public NonEscapedString StackTrace(string stackTrace) public NonEscapedString StackTrace(string stackTrace)
......
...@@ -21,12 +21,12 @@ ...@@ -21,12 +21,12 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th width="10%">编号</th> <th width="10%">@Strings.Common_Id</th>
<th width="20%">节点名称</th> <th width="20%">@Strings.NodePage_Table_NodeName</th>
<th width="20%">IP地址</th> <th width="20%">@Strings.NodePage_Table_IP</th>
<th width="7%">端口号</th> <th width="7%">@Strings.NodePage_Table_Port</th>
<th>Tags</th> <th>Tags</th>
<th width="20%">操作</th> <th width="20%">@Strings.NodePage_Switch</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment