#38998 closed defect (bug) (fixed)
Inconsistencies on admin update page, 'up-to-date' vs 'up to date'
Reported by: | aprea | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | trivial | Version: | 4.6.1 |
Component: | I18N | Keywords: | good-first-bug has-patch needs-refresh |
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 (3)
Change History (19)
#4
@
8 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
#6
@
6 years 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
@
6 years 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?
This ticket was mentioned in Slack in #core by hareesh-pillai. View the logs.
5 years ago
#11
@
5 years ago
- Milestone changed from Future Release to 5.3
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
#12
follow-up:
↓ 14
@
5 years ago
- Keywords needs-refresh added
- Milestone changed from 5.3 to Future Release
Hi @hareesh-pillai nice to e-meet you in scrub - https://wordpress.slack.com/archives/C02RQBWTW/p1568268801349200
Reviewing this the only string that makes sense to change here would be the first comment;
Replace hrefs of attachment anchors with up to date permalinks.
The other all use the proper up-to-date "adjective phrase that is used as a synonym for current";
Reference - https://writingexplained.org/up-to-date-hyphenated
Cheers
#14
in reply to:
↑ 12
@
5 years ago
Replying to garrett-eclipse:
Reviewing this the only string that makes sense to change here would be the first comment;
Replace hrefs of attachment anchors with up to date permalinks.
The other all use the proper up-to-date "adjective phrase that is used as a synonym for current";
Reference - https://writingexplained.org/up-to-date-hyphenated
Hmm, my understanding is vice versa :) Per the examples in that article, "up-to-date permalinks" seems correct as is, while the other instances should be corrected to "up to date", making them consistent with some other existing strings: "Your plugins are all up to date", "This theme is already installed and is up to date", etc.
#16
in reply to:
↑ description
@
5 years ago
Replying to aprea:
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.
The use of hyphens depends on how we're using the phrase in a sentence.
If we're using the phrase as a modifier -- adjective or adverb, for instance, we use the hyphens.
"Please use the most up-to-date version you can run."
*up-to-date* modifies the noun *version*. *most* modifies *up-to-date*
If the phrase on its own is a noun, then we lose the hyphens.
"Is that installation up to date?"
The phrase stands on its own, because it's not modifying anything.
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?