Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
4373b41b
Commit
4373b41b
authored
Oct 04, 2017
by
Savorboard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update english resource.
parent
fd4a0d2b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
6 deletions
+51
-6
Strings.Designer.cs
...DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
+27
-0
Strings.resx
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
+9
-0
Strings.zh.resx
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
+9
-0
HtmlHelper.cs
src/DotNetCore.CAP/Dashboard/HtmlHelper.cs
+1
-1
NodePage.cshtml
src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml
+5
-5
No files found.
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
View file @
4373b41b
...
...
@@ -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>
...
...
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
View file @
4373b41b
...
...
@@ -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>
\ No newline at end of file
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
View file @
4373b41b
...
...
@@ -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>
\ No newline at end of file
src/DotNetCore.CAP/Dashboard/HtmlHelper.cs
View file @
4373b41b
...
...
@@ -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
)
...
...
src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml
View file @
4373b41b
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment