Make WordPress Core

Opened 12 years ago

Last modified 3 months ago

#22623 new defect (bug)

Some string tweaks - duplicity, context, mistake

Reported by: pavelevap's profile pavelevap Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.0
Component: Administration Keywords: has-patch has-unit-tests good-first-bug
Focuses: ui-copy Cc:

Description

1) String "Path" has a little different meaning for TinyMCE (HTML position) and Multisite list sites column (subdirectory address). Can we have a context?

2) When you click "Deactivate" action link bellow any site (in Multisite admin), site is marked as "Deleted" instead of "Deactivated"? You can "Activate" deleted site? Strange...

3) We have strings "No results found." (twice) and "No matches found." One string would be better instead of three similar strings?

4) String "Show header text with your image." is not accurate. You can show header text without header image.

Attachments (2)

22623.diff (663 bytes) - added by DrewAPicture 12 years ago.
Show header text
22623.network.patch (1.4 KB) - added by SergeyBiryukov 12 years ago.

Download all attachments as: .zip

Change History (34)

#1 @SergeyBiryukov
12 years ago

2) When you click "Deactivate" action link bellow any site (in Multisite admin), site is marked as "Deleted" instead of "Deactivated"? You can "Activate" deleted site? Strange...

Related: #15801, #17164

#2 @pavelevap
12 years ago

Thank you, Sergey! I did not notice these tickets...

@DrewAPicture
12 years ago

Show header text

#3 @DrewAPicture
12 years ago

22623.diff changes 'Show header text with your image' to 'Show header text', though I'm not sure if that just ends up being a bit redundant as the section title is also 'Header Text'.

#4 @knutsp
12 years ago

  • Cc knut@… added

#5 in reply to: ↑ description @nacin
12 years ago

  • Version changed from trunk to 3.0

Replying to pavelevap:

1) String "Path" has a little different meaning for TinyMCE (HTML position) and Multisite list sites column (subdirectory address). Can we have a context?

Not new. Can we solve this in 3.6?

2) When you click "Deactivate" action link bellow any site (in Multisite admin), site is marked as "Deleted" instead of "Deactivated"? You can "Activate" deleted site? Strange...

Duplicate of #15801 / #17164.

3) We have strings "No results found." (twice) and "No matches found." One string would be better instead of three similar strings?

Confirmed, I see:

x( 'No results found.', 'search results' );
__( 'No results found.' );
__( 'No matches found.' );

Let's evaluate each contexts and work to merge them in 3.6?

4) String "Show header text with your image." is not accurate. You can show header text without header image.

This has been a problem for a long time. Moving the "Version" of this ticket to 3.0 when custom headers gained prominence — which is also around the same time the multisite "Path" string, "Deactivate" for multisite, one of the "No results found." strings, came in.

#6 @pavelevap
12 years ago

No problem, can be solved in 3.6. I will add some more examples...

5) There are similar strings "File doesn’t exist?" and "File “%s” doesn’t exist?".

Also "File is not an image." and "File “%s” is not an image."

Last edited 12 years ago by pavelevap (previous) (diff)

#7 @pavelevap
12 years ago

And for 3.5 we could remove one of following: "Could not read image size." and "Could not read image size"

#8 follow-up: @pavelevap
12 years ago

7) We have strings "Site URL" and "Home URL". And we have also similar strings with the same meaning "Site Address (URL)" and "WordPress Address (URL)". Could we merge them?

See #22771

Last edited 12 years ago by pavelevap (previous) (diff)

#9 @pavelevap
12 years ago

8) We have also similar strings "Alt Text" (media modal) and "Alternative Text" (TinyMCE).

#10 @pavelevap
12 years ago

9) Similar strings: "Create Gallery" and "Create a new gallery"

"Insert gallery" could be replaced with "Insert into page" and "Insert into post".

And for 3.5 we could remove one of these: "Select files" and "Select Files".

#11 @pavelevap
12 years ago

10) TinyMCE string "Copyright © 2003-2011..." should end with 2012 (or 2013 in near future).

Similar strings: "Advanced Rich Editing" and "Advanced use of the Rich Editor"

Similar strings: "Basics of Rich Editing" and "Rich Editing Basics"

Following string is no longer relevant (TinyMCE help): "There is a button in the editor toolbar for inserting images that are already hosted somewhere on the internet. If you have a URL for an image, click this button and enter the URL in the box which appears."

#12 @pavelevap
12 years ago

11) There are 3 similar strings: "Drop files here", "Drop files to upload" and "Drop files anywhere to upload".

Similar strings (maybe not used anywhere): "Add an Image" and "Add images", "Add Video" and "Add Audio" (TinyMCE).

Similar strings: "Error" and "Error " (with space).

String "None" (media link) should have special context.

Same meaning: "Link URL" (old media) and "Link To" (new media modal).

#13 @pavelevap
12 years ago

12) Similar strings: "Use as featured image" (this string is no longer used?) and "Set featured image".

And new string "Set Featured Image".

Last edited 12 years ago by pavelevap (previous) (diff)

#14 in reply to: ↑ 8 ; follow-up: @SergeyBiryukov
12 years ago

Replying to pavelevap:

7) We have strings "Site URL" and "Home URL". And we have also similar strings with the same meaning "Site Address (URL)" and "WordPress Address (URL)". Could we merge them?

Found another issue with them.

On General Settings screen, "WordPress Address (URL)" is siteurl, and "Site Address (URL)" is home. In XML-RPC, it's vice versa: "Site URL" is siteurl and "Home URL" is home (introduced in [21805]).

Would it make sense to replace the XML-RPC strings with the ones from General Settings screen to prevent confusion?

#15 in reply to: ↑ 14 @SergeyBiryukov
12 years ago

Replying to SergeyBiryukov:

Would it make sense to replace the XML-RPC strings with the ones from General Settings screen to prevent confusion?

Moved to #22771.

#16 @pavelevap
12 years ago

Thank you, Sergey! I did not notice it, because in Czech localization I merged these strings as in your patch from 22771. I know this ticket is a little bit mess now :-) We will have to create several new tickets with related problems in the end... There are only some notes found during localization now...

#17 @pavelevap
12 years ago

Strings "Describe this video…" (audio file, media file) are not used anywhere an we can remove them?

String "Random" is used only once, so we do not need context function.

#18 @SergeyBiryukov
12 years ago

13) "Invalid user ID." and "Invalid user ID".

#19 @SergeyBiryukov
12 years ago

  • Milestone changed from Awaiting Review to 3.6

#20 @pavelevap
12 years ago

  • Similar strings: "Don’t forget to click on the Save Changes button when you are finished." and "Don’t forget to click “Save Changes” when you’re done!"
  • We do not need special context function for string "Default: %s" but we need it for "Default". When there is only one string, comments are usually used:
/* translators: Hint */
  • String "This will remove the background image. You will not be able to restore any customizations." is shown bellow button for background and above button for header. There should be the same position.

#21 @pavelevap
12 years ago

Following string works only for posts:

Published <span class=\"count\">(%s)</span>

But there is no context for pages. For posts we have "1 Publikovaný", but for pages we have "1 Publikovaná".

#22 @SergeyBiryukov
12 years ago

22623.network.patch merges two network-related strings added in [14871]. The change is similar to [16921].

Last edited 12 years ago by SergeyBiryukov (previous) (diff)

#23 @SergeyBiryukov
12 years ago

14) "Timezone" and "Time Zone".

#24 @markjaquith
11 years ago

  • Milestone changed from 3.6 to Future Release

SergeyBiryukov — Those network-related strings should have ordered replacements.

#25 @pavelevap
11 years ago

Same strings, different HTML: "Loading&hellip;" and "Loading&#8230;"

#26 @chriscct7
9 years ago

  • Component changed from I18N to Text Changes
  • Keywords needs-patch added

#27 @ocean90
9 years ago

In 34841:

Image Editor: Merge two error strings.

Props pavelevap.
See #22623.

#28 @SergeyBiryukov
9 years ago

Same strings, different quotes:

  • Need more help? <a href="%s">We got it</a>.
  • Need more help? <a href='%s'>We got it</a>.

#29 @garrett-eclipse
5 years ago

  • Component changed from Text Changes to Administration
  • Focuses ui-copy added

This ticket was mentioned in PR #1891 on WordPress/wordpress-develop by bradp.


3 years ago
#30

  • Keywords has-patch has-unit-tests added; needs-patch removed

Make some strings more consistent across the project.

Trac ticket: #22623

#31 @bradparbs
3 years ago

Opened a PR to make some of these strings more consistent, along with some notes below on the different things brought up in this ticket, most of which have been resolved since this ticket was opened.


3) We have strings "No results found." (twice) and "No matches found." One string would be better instead of three similar strings?

Resolved at some point in the past years

4) String "Show header text with your image." is not accurate. You can show header text without header image.

Resolved in patch

5) There are similar strings "File doesn&#8217;t exist?" and "File &#8220;%s&#8221; doesn&#8217;t exist?".

File &#8220;%s&#8221; doesn&#8217;t exist? is only used in a depercated function.

5a) Also "File is not an image." and "File &#8220;%s&#8221; is not an image."

Resolved at some point in the past years

6) And for 3.5 we could remove one of following: "Could not read image size." and "Could not read image size"

Resolved at some point in the past years

7) We have strings "Site URL" and "Home URL". And we have also similar strings with the same meaning "Site Address (URL)" and "WordPress Address (URL)". Could we merge them?

Handled in separate trac ticket

8) We have also similar strings "Alt Text" (media modal) and "Alternative Text" (TinyMCE).

Resolved in patch

9) Similar strings: "Create Gallery" and "Create a new gallery"

Used for different actions

And for 3.5 we could remove one of these: "Select files" and "Select Files".

Resolved at some point in the past years

Similar strings: "Advanced Rich Editing" and "Advanced use of the Rich Editor"

Resolved at some point in the past years

Similar strings: "Basics of Rich Editing" and "Rich Editing Basics"

Resolved at some point in the past years

11) There are 3 similar strings: "Drop files here", "Drop files to upload" and "Drop files anywhere to upload".

Only "Drop files to upload" is used, other strings are for translator context

Similar strings (maybe not used anywhere): "Add an Image" and "Add images", "Add Video" and "Add Audio" (TinyMCE).

Resolved in patch

Similar strings: "Error" and "Error " (with space).

Resolved at some point in the past years

Same meaning: "Link URL" (old media) and "Link To" (new media modal).

Resolved in patch

12) Similar strings: "Use as featured image" (this string is no longer used?) and "Set featured image".

Used for set_featured_image and use_featured_image post type labels

Similar strings: "Don&#8217;t forget to click on the Save Changes button when you are finished." and "Don&#8217;t forget to click &#8220;Save Changes&#8221; when you&#8217;re done!"

Resolved in patch

13) "Invalid user ID." and "Invalid user ID".

Resolved at some point in the past years

Same strings, different HTML: "Loading&hellip;" and "Loading&#8230;"

Resolved in patch

Need more help? <a href="%s">We got it</a>. Need more help? <a href='%s'>We got it</a>.

Resolved in patch

#32 @desrosj
3 months ago

  • Keywords good-first-bug added
  • Milestone set to Future Release

I found this one scrubbing tickets with no milestone. Going to move this back to Future Release for now.

@bradparbs thanks for opening the PR above. I noticed it was closed, though it's not clear why. I spot checked a few of the strings and it seems there could be some fix suggestions above remaining.

Marking this as good-first-bug to hopefully attract someone to report some updated findings so this can be wrapped up and closed out.

Note: See TracTickets for help on using tickets.