compose: Fix typos in error message for too-long compose content.

This commit is contained in:
M@ 2021-07-27 19:03:19 -04:00 committed by GitHub
parent 79b0ff5b23
commit 53540432e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -478,7 +478,7 @@ test_ui("test_check_overflow_text", () => {
assert.ok(textarea.hasClass("over_limit"));
assert.equal(
$("#compose-error-msg").html(),
"translated HTML: Message length should'nt be greatar than 10000 characters.",
"translated HTML: Message length shouldn't be greater than 10000 characters.",
);
assert.ok(send_button.prop("disabled"));

View File

@ -471,7 +471,7 @@ export function check_overflow_text() {
$t_html(
{
defaultMessage:
"Message length should'nt be greatar than {max_length} characters.",
"Message length shouldn't be greater than {max_length} characters.",
},
{max_length},
),