Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit dddae93

Browse files
committed
Add fixme to use newTranslatableError in the near future
See #7372 (comment)
1 parent e4af78b commit dddae93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SlashCommands.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ export const Commands = [
298298
const unixTimestamp = Date.parse(args);
299299
if (!unixTimestamp) {
300300
throw new Error(
301+
// FIXME: Use newTranslatableError here instead otherwise the rageshake error messages will be translated too
301302
_t(
302303
'We were unable to understand the given date (%(inputDate)s). Try using the format YYYY-MM-DD.',
303304
{ inputDate: args },

0 commit comments

Comments
 (0)