Migrate more strings to translation keys (#11608)
This commit is contained in:
parent
46072caa3a
commit
e9c9377e78
78 changed files with 2402 additions and 2411 deletions
|
@ -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());
|
||||
},
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue