Procházet zdrojové kódy

update english resource.

master
Savorboard před 7 roky
rodič
revize
4373b41bea
5 změnil soubory, kde provedl 51 přidání a 6 odebrání
  1. +27
    -0
      src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
  2. +9
    -0
      src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
  3. +9
    -0
      src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
  4. +1
    -1
      src/DotNetCore.CAP/Dashboard/HtmlHelper.cs
  5. +5
    -5
      src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml

+ 27
- 0
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs Zobrazit soubor

@@ -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>
/// Looks up a localized string similar to Nodes.
/// </summary>


+ 9
- 0
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx Zobrazit soubor

@@ -390,4 +390,13 @@
<data name="MessagesPage_Table_State" xml:space="preserve">
<value>State</value>
</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>

+ 9
- 0
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx Zobrazit soubor

@@ -414,4 +414,13 @@
<data name="MessagesPage_Table_State" xml:space="preserve">
<value>状态</value>
</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>

+ 1
- 1
src/DotNetCore.CAP/Dashboard/HtmlHelper.cs Zobrazit soubor

@@ -170,7 +170,7 @@ namespace DotNetCore.CAP.Dashboard
public NonEscapedString NodeSwitchLink(string id)
{
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)


+ 5
- 5
src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml Zobrazit soubor

@@ -21,12 +21,12 @@
<table class="table">
<thead>
<tr>
<th width="10%">编号</th>
<th width="20%">节点名称</th>
<th width="20%">IP地址</th>
<th width="7%">端口号</th>
<th width="10%">@Strings.Common_Id</th>
<th width="20%">@Strings.NodePage_Table_NodeName</th>
<th width="20%">@Strings.NodePage_Table_IP</th>
<th width="7%">@Strings.NodePage_Table_Port</th>
<th>Tags</th>
<th width="20%">操作</th>
<th width="20%">@Strings.NodePage_Switch</th>
</tr>
</thead>
<tbody>


Načítá se…
Zrušit
Uložit