mojira.dev
MC-312068

Some strings are missing articles before the word "invalid"

The Bug:

Some strings are missing articles before the word "invalid".

For a bit of context, there are three articles within the English language. These are "a", "an", and "the". Articles are used before nouns. Strings such as "The server sent an invalid packet" have an article before the word "invalid", therefore introducing an inconsistency. The same kind of problem was fixed for other command strings in MC-311969 and MC-309915.

Affected String(s):

Before reading the table, please note the following:

  • Characters colored in GREEN are correct.

  • Characters colored in RED are incorrect.

Translation Key

Current String

Expected String

String URL on Crowdin

command.compute.result.named.invalid

%s returned invalid value (%s)

%s returned an invalid value (%s)

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5441278

command.compute.result.unnamed.invalid

Number provider returned invalid value (%s)

Number provider returned an invalid value (%s)

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5441280

test.error.sequence.invalid_tick

Succeeded in invalid tick: expected %s

Succeeded in an invalid tick: expected %s

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5404304

multiplayer.disconnect.invalid_packet

The server sent an invalid packet

The server sent an invalid packet

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5332420

commands.attribute.failed.entity

%s is not a valid entity for this command

%s is not a valid entity for this command

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5340964

Steps to Reproduce:

  1. Display any of the affected strings as listed above by using the command provided below and replacing "XYZ" with the string's translation key.

    /tellraw @s {"translate":"XYZ"}

    In 26.4 Snapshot 1, the first two strings use the keys commands.compute.result.named.invalid and commands.compute.result.unnamed.invalid.

  2. Observe if the said string contains an article where appropriate.

Observed Behavior:

Articles are missing.

Expected Behavior:

Articles would be present where appropriate.

Comments 0

No comments.

Avoma

(Unassigned)

Unconfirmed

Text

26.3, 26.4 Snapshot 1

Retrieved