Skip to content

Commit

Permalink
Merge pull request #228 from WinstonSung/dev
Browse files Browse the repository at this point in the history
Fix i18n/L10n issue: halfwidth-fullwidth, word-separator
  • Loading branch information
synzen committed Sep 5, 2021
2 parents 03e00c6 + 53c5e79 commit 09e8e07
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/commands/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = async (message, command) => {
.replace(/{{defaultPrefix}}/g, config.bot.prefix)
const args = command.args
if (args) {
msg += `\n **${translate('commands.help.arguments')}:**\n`
msg += `\n **${translate('commands.help.arguments')}**\n`
const argsLength = Object.keys(args).length
let i = 0
for (const arg in args) {
Expand All @@ -38,7 +38,7 @@ module.exports = async (message, command) => {
})
return message.author.send(helpMessage, { split: { prepend: '\u200b\n' } })
.then(() => {
message.reply(translate('commands.help.checkDM'))
message.channel.send(`<@${message.author.id}>${translate('commands.help.checkDM')}`)
.catch(err => {
const log = createLogger(message.guild.shard.id)
log.warn({
Expand Down
4 changes: 2 additions & 2 deletions src/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@
"help": {
"controlPanelLink": "Be sure to check out your control panel at {{url}} for easy feed management!",
"description": "Arguments for commands are added after the command. For example: `{{prefix}}test simple`.\n\n**Argument Definitions**\n`a` = Directly add `a`\n`[a]` = Optionally add `a`\n`(a|b)` = Directly input `a` OR `b`\n`<a>` = Replace `a` with relevant content",
"arguments": "Arguments",
"arguments": "Arguments:",
"support": "\nSupport can be found at {{url}}",
"checkDM": "Check your direct messages!"
"checkDM": ", Check your direct messages!"
},
"invite": {
"text": "Invite with Role - <https://discord.com/oauth2/authorize?client_id={{id}}&scope=bot&permissions=19456>\n\nInvite without Role - <https://discord.com/oauth2/authorize?client_id={{id}}&scope=bot>"
Expand Down
4 changes: 2 additions & 2 deletions src/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@
"help": {
"controlPanelLink": "Não deixe de conferir seu painel de controle em {{url}} para facilitar o gerenciamento de feeds!",
"description": "",
"arguments": "Argumentos",
"arguments": "Argumentos:",
"support": "\nSuporte pode ser encontrado em https://discord.gg/pudv7Rx",
"checkDM": "Verifique suas mensagens diretas! 😉"
"checkDM": ", Verifique suas mensagens diretas! 😉"
},
"invite": {
"text": "Convite com cargo - <https://discord.com/oauth2/authorize?client_id={{id}}&scope=bot&permissions=19456>\n\nConvite sem cargo - <https://discord.com/oauth2/authorize?client_id={{id}}&scope=bot>"
Expand Down
4 changes: 2 additions & 2 deletions src/locales/zh-Hant-TW.json → src/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@
"help": {
"controlPanelLink": "",
"description": "",
"arguments": "引數",
"arguments": "引數",
"support": "",
"checkDM": "請檢查您的私訊!"
"checkDM": "請檢查您的私訊!"
},
"invite": {
"text": ""
Expand Down

0 comments on commit 09e8e07

Please sign in to comment.