Migrate more strings to translation keys (#11608)

This commit is contained in:
Michael Telatynski 2023-09-19 07:17:31 +01:00 committed by GitHub
parent 46072caa3a
commit e9c9377e78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 2402 additions and 2411 deletions

View file

@ -144,7 +144,7 @@ export const join = new Command({
command: "join",
aliases: ["j"],
args: "<room-address>",
description: _td("Joins room with given address"),
description: _td("slash_command|join"),
runFn: function (cli, roomId, threadId, args) {
return openRoom(cli, args, true) ?? reject(this.getUsage());
},
@ -157,7 +157,7 @@ export const goto = new Command({
command: "goto",
aliases: ["view"],
args: "<room-address>",
description: _td("Views room with given address"),
description: _td("slash_command|view"),
runFn: function (cli, roomId, threadId, args) {
return openRoom(cli, args, false) ?? reject(this.getUsage());
},

View file

@ -62,7 +62,7 @@ const updatePowerLevelHelper = (
export const op = new Command({
command: "op",
args: "<user-id> [<power-level>]",
description: _td("Define the power level of a user"),
description: _td("slash_command|op"),
isEnabled: canAffectPowerlevels,
runFn: function (cli, roomId, threadId, args) {
if (args) {
@ -85,7 +85,7 @@ export const op = new Command({
export const deop = new Command({
command: "deop",
args: "<user-id>",
description: _td("Deops user with given id"),
description: _td("slash_command|deop"),
isEnabled: canAffectPowerlevels,
runFn: function (cli, roomId, threadId, args) {
if (args) {