Skip to content

Commit

Permalink
feat: add discord
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Apr 14, 2021
1 parent a5bc02c commit eaf720d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/renderer/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@
"feedback": {
"": "Feedback",
"description": "I found a Bug or I want to make a suggestion",
"discord": "Discord",
"discordDescription": "Join Discord Channel",
"discordJoin": "Join",
"github": "Github Issue",
"githubDescription": "Open an Github Issue to tell your thought",
"githubOpenIssue": "Github",
Expand Down Expand Up @@ -976,4 +979,4 @@
"unset": "Unset"
},
"yes": "Yes"
}
}
7 changes: 5 additions & 2 deletions src/renderer/assets/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@
"feedback": {
"": "反馈",
"description": "我找到了一个BUG/我想反馈",
"discord": "Discord",
"discordDescription": "加入 Discord 讨论组",
"discordJoin": "加入",
"github": "Github Issue",
"githubDescription": "通过 Github Issue 来反应你的想法",
"githubOpenIssue": "Github",
Expand Down Expand Up @@ -419,7 +422,6 @@
"name": "已知问题"
},
"java": {
"locationPlaceHolder": "使用系统已经安装的 Java",
"autoAlloc": "自动分配",
"browse": "浏览java可执行文件",
"browser": "从文件导入 Java",
Expand All @@ -428,6 +430,7 @@
"incompatibleJavaHint": "当前 Java 版本无法运已选择的 Minecraft 版本",
"invalid": "无效的 Java 路径",
"location": "Java 路径",
"locationPlaceHolder": "使用系统已经安装的 Java",
"maxMemory": "最大内存",
"memory": "Java 内存",
"memoryHint": "这将影响您的游戏运行性能",
Expand Down Expand Up @@ -938,4 +941,4 @@
"unset": "未启用"
},
"yes": ""
}
}
20 changes: 20 additions & 0 deletions src/renderer/windows/main/pages/HomePageFeedbackDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,26 @@
</v-btn>
</v-list-tile-action>
</v-list-tile>

<v-list-tile avatar>
<v-list-tile-content>
<v-list-tile-title>{{ $t('feedback.discord') }}</v-list-tile-title>
<v-list-tile-sub-title
style="max-width: 80%"
>
{{ $t('feedback.discordDescription') }}
</v-list-tile-sub-title>
</v-list-tile-content>

<v-list-tile-action>
<v-btn
flat
href="https://discord.gg/W5XVwYY7GQ"
>
{{ $t('feedback.discordJoin') }}
</v-btn>
</v-list-tile-action>
</v-list-tile>
</v-list>
</v-dialog>
</template>
Expand Down

0 comments on commit eaf720d

Please sign in to comment.