Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 14d5572

Browse files
committed
Feat: optimize english text
1 parent 6659cc6 commit 14d5572

File tree

4 files changed

+28
-25
lines changed

4 files changed

+28
-25
lines changed

src/app/views/InstanceDetail.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ Copyright (C) 2022 MCSManager <[email protected]>
239239
<el-col :lg="24" class="row-mt">
240240
<div class="sub-title">
241241
<div class="sub-title-title require-field">
242-
{{ $t("instancesDetail.launchTypeInfo") }}
242+
{{ $t("instancesDetail.launchType") }}
243243
</div>
244244
<div class="sub-title-info">
245-
{{ $t("instancesDetail.launchType") }}
245+
{{ $t("instancesDetail.launchTypeInfo") }}
246246
</div>
247247
</div>
248248
<el-select v-model="instanceInfo.config.processType" style="width: 100%">

src/app/views/Instances.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<FunctionComponent>
3131
<el-input
3232
v-model="query.instanceName"
33-
:placeholder="$t('instances.selectDaemon')"
33+
:placeholder="$t('instances.searchInstanceName')"
3434
size="small"
3535
style="width: 160px"
3636
></el-input>
@@ -392,6 +392,7 @@
392392
.notAnyInstanceTip {
393393
text-align: center;
394394
margin: 100px 0px;
395+
color: #7f7f7f;
395396
}
396397
397398
.instanceStatusGreen {

src/language/en_us.js

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export default {
119119
instances: {
120120
instancesList: "Application instances",
121121
selectDaemon: "Please select the remote node address",
122+
searchInstanceName: "Enter a name to search",
122123
selectOne: "Please select at least one item",
123124
instanceName: "Instance Name",
124125
showCardList: "Simple View",
@@ -294,16 +295,16 @@ export default {
294295
cwd: "Working Directory",
295296
cwdInfo: "The working directory of the instance running, absolute path and relative path can be filled",
296297
cwdExample: "Example: D:/MyServers/0001",
297-
updateCmd: "Update/installer files command",
298+
updateCmd: "Update/Install files command",
298299
updateCmdInfo:
299300
"This command will be executed when the user performs an update/install operation, ${mcsm_workspace} represents the working directory, which isEmpty does not provide this function",
300301
updateCmdExample:
301302
'Example: "D:/SteamCMD/steamcmd.exe" +login anonymous +force_install_dir "${mcsm_workspace}" "+app_update 380870 validate" +quit',
302-
ie: "terminal input encoding",
303+
ie: "Terminal input encoding",
303304
ieInfo: "The command sends the code and restarts the instance to take effect",
304-
oe: "terminal output encoding",
305+
oe: "Terminal output encoding",
305306
oeInfo: "The terminal outputs the encoding and restarts the instance to take effect",
306-
stopCmd: "Close instance command",
307+
stopCmd: "Close command",
307308
stopCmdInfo: "Execute this command when you click the stop button, ^C means send Ctrl+C key combination.",
308309
fileCode: "File management code",
309310
fileCodeInfo: "Code for decompression, edit",
@@ -314,13 +315,13 @@ export default {
314315
defaultType: "Default Type",
315316
docker: "Virtualizing Containers (Linux Docker)",
316317

317-
dockerConfig: "Virtualization container configuration",
318+
dockerConfig: "Virtualization Container Config (Docker)",
318319
dockerConfigInfo:
319320
"A Docker-based virtualization solution that can run each instance in a one-off box and destroy it after use to ensure host security.",
320321
dockerImage: "Environment Image",
321322
dockerImageInfo: "Specify instance image",
322323
openPort: "Open Port",
323-
openPortInfo: "Multiple are separated by spaces. The left side of the colon is the exposed port of the host machine, and the right side is the exposed port of the container, which is usually the same.",
324+
openPortInfo: "Multiple are separated by spaces.",
324325
portExample: "Optional, example 25565:25565/tcp 3380:3380/udp",
325326
quickEdit: "Quick Edit",
326327
extraVolumes: "Additional mount paths",
@@ -338,7 +339,7 @@ export default {
338339
netAliasesTooltip: "Optional, it is not recommended to fill in this item without special needs",
339340
netAliasesExample: "optional, example login-server-1",
340341
limitCpu: "Limit CPU usage (percent)",
341-
limitCpuInfo: "Limit the total usage of all CPUs, there will be a slight deviation",
342+
limitCpuInfo: "Limit the total usage of all CPUs",
342343
limitCpuTooltip:
343344
"Filling in 50 means all core usage and capping at 50%, if filling in 200 means allowing the use of all cores with a total of 200% usage",
344345
limitCpuExample: "optional, 0 to infinity",
@@ -347,7 +348,7 @@ export default {
347348
cpuSetCpusTooltip:
348349
"Specify the process to run on some cores. Reasonable allocation can make better use of your system hardware resources. For example, 0,1 means run on the 1st and 2nd cores, separated by commas",
349350
cpuSetCpusExample: "Optional, such as 0,1,2,3",
350-
maxMem: "Maximum memory (in MB)",
351+
maxMem: "Maximum memory (MB)",
351352
maxMemInfo: "For example, 1024, 2048, etc., please do not add units",
352353
maxMemExample: "Optional, eg 1024",
353354
newImage: "--- New Image ---",
@@ -855,49 +856,49 @@ export default {
855856
createTaskError: "Failed to create",
856857
},
857858
settings: {
858-
setOperate: "Configuration operation",
859+
setOperate: "Operation",
859860
updateSet: "Update Configuration",
860861
updateSetInfo: "Some configurations may require restarting the panel to take effect",
861862

862-
languageSetting: "Language Setting",
863+
languageSetting: "Language",
863864
languageSettingInfo: "After changing the language, the control panel will synchronize all nodes, interfaces, etc. to the same language.",
864865
basicSetting: "Basic Settings",
865-
accessPort: "Panel access port",
866+
accessPort: "Web Port",
866867
accessPortInfo: "The port for the browser to access the web panel. This port must be released by the firewall. Restart the panel to take effect.",
867-
inputNum: "Please fill in a number",
868+
inputNum: "Please write a number",
868869

869-
bindIP: "Panel bind IP",
870+
bindIP: "Bind IP",
870871
bindIPInfo: "In general, please keep the default value. Generally, it is suitable for multiple IP and network card binding scenarios.",
871-
inputIP: "Default 0.0.0.0 I don't need to fill in by default",
872+
inputIP: "Default 0.0.0.0, I don't need to write by default",
872873

873-
loginPage: "A brief description of the login interface",
874+
loginPage: "Login Page Info",
874875
loginPageInfo: "Used to display a brief description text on the login interface. It can be used for administrator identity introduction and filing information introduction.",
875-
inputCopy: "Please enter the copy, for example: Beijing ICP No. 00000001",
876+
inputCopy: "A line displayed on the login page",
876877

877878
referenceLink: "Notes",
878879
referenceLinksInfo:
879880
"Most settings of the panel are very important. Under normal circumstances, most parameters do not need to be changed. If you do not know what a parameter represents, it is recommended that you do not modify it.",
880881

881-
limitAndSecurity: "Limit and Security",
882-
canFileManager: "Allow general users to use the file management function",
882+
limitAndSecurity: "Security",
883+
canFileManager: "File management",
883884
canFileManagerInfo:
884885
"File management is a resource-consuming and difficult-to-control function. If your general users do not have any requirements for file management, you can prohibit users from using file management.",
885886

886887
crossAPI: "Cross-Origin Request API",
887888
crossAPIInfo:
888889
"The HTTP response will add access-control-allow-origin: *, which may reduce security, but improve development scalability.",
889-
loginCheckIp: "The limit of the number of logins with the same IP",
890+
loginCheckIp: "Login IP limit",
890891
loginCheckIpInfo:
891892
"This feature will protect your panel from brute force password cracking by a single host with only 10 password errors per IP.",
892893
attention: "Notes",
893894
attentionInfo:
894895
"These configuration settings require some professional knowledge, and you can roughly guess which values ​​are suitable for you based on your hardware equipment. <br />In general, the default values ​​​​can meet the daily usage scenarios of individuals, if the scale is larger, the hardware The requirements are higher, in order not to lose the user experience excessively, a suitable threshold is very important.",
895896

896-
about: "about",
897+
about: "About",
897898
aboutTitle:
898-
"The software is based on <a target='black' href='https://github.com/MCSManager/MCSManager-Daemon/blob/master/LICENSE'>Apache-2.0</a> Open Source Software License Release<br />Copyright MCSManager Team ",
899+
"<p>Copyright MCSManager Team</p> ",
899900
aboutTitleInfo:
900-
"This agreement allows everyone to copy and modify copies of the code, and to charge the user for the service.<br />",
901+
"https://github.com/mcsmanager | https://mcsmanager.com/ | [email protected]",
901902
closedSource: "Closed Source Commercial License",
902903
closedSourceInfo: "If you want to re-develop and use closed source for any activity (including but not limited to commercial, personal).",
903904
learnMore: "Learn more",

src/language/zh_cn.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export default {
119119
instances: {
120120
instancesList: "应用实例列表",
121121
selectDaemon: "请选择远程节点地址",
122+
searchInstanceName: "使用名字搜索",
122123
selectOne: "请至少选择一项",
123124
instanceName: "实例名称",
124125
showCardList: "简单视图",

0 commit comments

Comments
 (0)