clarify `/jumptodate` argument (#8323)
* Update SlashCommands.tsx * remove date format from description * update stringspull/21833/head
parent
f95106d2c6
commit
71ea88286d
|
@ -321,8 +321,8 @@ export const Commands = [
|
||||||
}),
|
}),
|
||||||
new Command({
|
new Command({
|
||||||
command: 'jumptodate',
|
command: 'jumptodate',
|
||||||
args: '<date>',
|
args: '<YYYY-MM-DD>',
|
||||||
description: _td('Jump to the given date in the timeline (YYYY-MM-DD)'),
|
description: _td('Jump to the given date in the timeline'),
|
||||||
isEnabled: () => SettingsStore.getValue("feature_jump_to_date"),
|
isEnabled: () => SettingsStore.getValue("feature_jump_to_date"),
|
||||||
runFn: function(roomId, args) {
|
runFn: function(roomId, args) {
|
||||||
if (args) {
|
if (args) {
|
||||||
|
|
|
@ -421,7 +421,7 @@
|
||||||
"Sends a message as html, without interpreting it as markdown": "Sends a message as html, without interpreting it as markdown",
|
"Sends a message as html, without interpreting it as markdown": "Sends a message as html, without interpreting it as markdown",
|
||||||
"Upgrades a room to a new version": "Upgrades a room to a new version",
|
"Upgrades a room to a new version": "Upgrades a room to a new version",
|
||||||
"You do not have the required permissions to use this command.": "You do not have the required permissions to use this command.",
|
"You do not have the required permissions to use this command.": "You do not have the required permissions to use this command.",
|
||||||
"Jump to the given date in the timeline (YYYY-MM-DD)": "Jump to the given date in the timeline (YYYY-MM-DD)",
|
"Jump to the given date in the timeline": "Jump to the given date in the timeline",
|
||||||
"We were unable to understand the given date (%(inputDate)s). Try using the format YYYY-MM-DD.": "We were unable to understand the given date (%(inputDate)s). Try using the format YYYY-MM-DD.",
|
"We were unable to understand the given date (%(inputDate)s). Try using the format YYYY-MM-DD.": "We were unable to understand the given date (%(inputDate)s). Try using the format YYYY-MM-DD.",
|
||||||
"Changes your display nickname": "Changes your display nickname",
|
"Changes your display nickname": "Changes your display nickname",
|
||||||
"Changes your display nickname in the current room only": "Changes your display nickname in the current room only",
|
"Changes your display nickname in the current room only": "Changes your display nickname in the current room only",
|
||||||
|
|
Loading…
Reference in New Issue