WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#38998 new defect (bug)

Inconsistencies on admin update page, 'up-to-date' vs 'up to date'

Reported by: aprea Owned by:
Milestone: Future Release Priority: normal
Severity: trivial Version: 4.6.1
Component: I18N Keywords: good-first-bug has-patch
Focuses: Cc:

Description

The WordPress Update page in wp-admin includes both the phrases 'up-to-date' and 'up to date'. We should decide on one format to keep things consistent.

Attachments (2)

Screen Shot 2016-12-01 at 10.03.57 am.png (18.2 KB) - added by aprea 3 years ago.
38998.diff (673 bytes) - added by socalchristina 5 months ago.

Download all attachments as: .zip

Change History (10)

#1 @aprea
3 years ago

  • Severity changed from normal to trivial

#2 @SergeyBiryukov
3 years ago

  • Component changed from Administration to I18N
  • Keywords close added

Hi @aprea, welcome to Trac! Thanks for the ticket.

This is an issue with the en_GB translation:
https://translate.wordpress.org/projects/wp/dev/admin/en-gb/default?filters%5Bterm%5D=up+to+date

Of the six strings containing "up to date", two are translated with "up-to-date", and the rest are left as is.

@garyj: Could you take a look?

#3 @aprea
3 years ago

FYI I'm using the en_AU translation.

#4 @netweb
3 years ago

For #en-au @aprea they are here: https://translate.wordpress.org/projects/wp/dev/admin/en-au/default?filters%5Bterm%5D=up+to+date

If you click details and update the strings as I needed I'll approve them

#5 @GaryJ
3 years ago

I'll take this to the en_GB team and we'll make them consistent.

#6 @desrosj
5 months ago

  • Keywords needs-patch good-first-bug added; close removed
  • Milestone changed from Awaiting Review to Future Release

It looks like the en_GB translations are now all reflecting up to date, but there are still some up-to-date translations in en_AU.

There is also one stray `up-to-date` remaining in core, as well as 3 inline documentation comments with up-to-date.

#7 @socalchristina
5 months ago

Hi,

This is my first attempt at open source. I hope I'm on the right track here.

(It looks like the en_GB translations are now all reflecting up to date, but there are still some up-to-date translations in en_AU.)

I updated the strings in the en-au in https://translate.wordpress.org/projects/wp/dev/admin/en-au/default?filters%5Bterm%5D=up+to+date

(There is also one stray up-to-date remaining in core, as well as 3 inline documentation comments with up-to-date.)

I changed up-to-date to display as up to date. I did not see 3 inline documentation comments with up-to-date.

@desrosj, can I get some clarification on the inline comments, please?

38998.diff

Last edited 5 months ago by socalchristina (previous) (diff)

#8 @socalchristina
5 months ago

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.