diff --git a/github/commands/GhCommand.ts b/github/commands/GhCommand.ts index 0ab84c4..3416f69 100644 --- a/github/commands/GhCommand.ts +++ b/github/commands/GhCommand.ts @@ -15,7 +15,7 @@ export class GHCommand implements ISlashCommand { public constructor(private readonly app: GithubApp) {} public command: string = "gh"; public i18nParamsExample: string = ""; - public i18nDescription: string = "fetching github data"; + public i18nDescription: string = "cmd_description"; public providesPreview: boolean = false; public async executor( diff --git a/github/commands/GithubCommand.ts b/github/commands/GithubCommand.ts index ae6d13b..dc66900 100644 --- a/github/commands/GithubCommand.ts +++ b/github/commands/GithubCommand.ts @@ -15,7 +15,7 @@ import { CommandUtility } from "../lib/commandUtility"; export class GithubCommand implements ISlashCommand { public constructor(private readonly app: GithubApp) {} public command = "github"; - public i18nDescription = "fetching github data"; + public i18nDescription = "cmd_description"; public providesPreview = false; public i18nParamsExample = ""; diff --git a/github/i18n/en.json b/github/i18n/en.json new file mode 100644 index 0000000..5b24054 --- /dev/null +++ b/github/i18n/en.json @@ -0,0 +1,3 @@ +{ + "cmd_description": "Search, Share, Review, Merge, Subscribe GitHub Resources and do much more from Rocket.Chat." +} \ No newline at end of file