mojira.dev
MC-312289

The `mco.configure.world.invite_codes.edit.expiration_date` string names a date, but the slider it labels shows a length of time

The Bug:

The mco.configure.world.invite_codes.edit.expiration_date string names a date, but the slider it labels shows a length of time.

This string is the label of the slider on the Edit Invite Code screen, and the game displays it together with the slider's value as "%s: %s", for example "Expiration Date: 7 days". The values of the slider are "30 minutes", "1 hour", "6 hours", "12 hours", "1 day", "7 days" and "Never", none of which is a date, because choosing one makes the invite code expire that long after it is saved. The actual date is displayed by a separate string above the slider, "Expires: %s", therefore introducing an inconsistency.

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

mco.configure.world.invite_codes.edit.expiration_date

Expiration Date

Expiration

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

mco.configure.world.invite_codes.expiration.30_minutes

30 minutes

30 minutes

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

mco.configure.world.invite_codes.expiration.1_hour

1 hour

1 hour

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

mco.configure.world.invite_codes.expiration.6_hours

6 hours

6 hours

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

mco.configure.world.invite_codes.expiration.12_hours

12 hours

12 hours

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

mco.configure.world.invite_codes.expiration.1_day

1 day

1 day

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

mco.configure.world.invite_codes.expiration.7_days

7 days

7 days

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

mco.configure.world.invite_codes.expiration.never

Never

Never

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

mco.configure.world.invite_codes.edit.expires

Expires: %s

Expires: %s

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

Steps to Reproduce:

  1. Display the affected string by using the command provided below.

    /tellraw @s {"translate":"mco.configure.world.invite_codes.edit.expiration_date"}
  2. Observe the word "Date" within the string, and compare it with the slider on the Edit Invite Code screen of a Realm, which reads, for example, "Expiration Date: 7 days".

Observed Behavior:

The slider is labeled "Expiration Date", but its values are lengths of time.

Expected Behavior:

The slider would be labeled "Expiration", since its values are lengths of time.

Comments 0

No comments.

Avoma

(Unassigned)

Confirmed

Text

26.3, 26.4 Snapshot 2

Retrieved