Skip to content

Commit

Permalink
Add help link to Server Commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ClassicOldSong committed Sep 12, 2024
1 parent 74e079b commit 50c6e5b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src_assets/common/assets/web/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
</div>
<div class="mb-3 buttons">
<button class="btn btn-primary" @click="save">{{ $t('_common.save') }}</button>
<button class="btn btn-success" @click="apply" v-if="saved && !restarted">{{ $t('_common.apply') }}</button>
<button class="btn btn-success mx-2" @click="apply" v-if="saved && !restarted">{{ $t('_common.apply') }}</button>
</div>
</div>
</body>
Expand Down
3 changes: 3 additions & 0 deletions src_assets/common/assets/web/configs/tabs/General.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ function removeCmd(cmdArr, index) {
<div id="server_cmd" class="mb-3 d-flex flex-column">
<label class="form-label">{{ $t('config.server_cmd') }}</label>
<div class="form-text">{{ $t('config.server_cmd_desc') }}</div>
<div class="form-text">
<a href="https://github.com/ClassicOldSong/Apollo/wiki/Server-Commands" target="_blank">{{ $t('_common.learn_more') }}</a>
</div>
<table class="table" v-if="serverCmd.length > 0">
<thead>
<tr>
Expand Down
1 change: 1 addition & 0 deletions src_assets/common/assets/web/public/assets/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"enabled": "Enabled",
"enabled_def": "Enabled (default)",
"error": "Error!",
"learn_more": "Learn More",
"note": "Note:",
"password": "Password",
"run_as": "Run as Admin",
Expand Down
1 change: 1 addition & 0 deletions src_assets/common/assets/web/public/assets/locale/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"enabled": "启用",
"enabled_def": "启用(默认)",
"error": "错误!",
"learn_more": "了解更多",
"note": "注:",
"password": "密码",
"run_as": "以管理员身份运行",
Expand Down

0 comments on commit 50c6e5b

Please sign in to comment.