mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
I18N: Improve translator comments for strings in the community events widget.
Props dimadin, iandunn. Fixes #40865. git-svn-id: https://develop.svn.wordpress.org/trunk@40866 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1046,7 +1046,15 @@ function wp_localize_community_events() {
|
||||
* It would be too cumbersome to include that in the instructions
|
||||
* to the user, so it's left as an implication.
|
||||
*/
|
||||
/* translators: %s is the name of the city we couldn't locate. Replace the examples with cities in your locale, but test that they match the expected location before including them. Use endonyms (native locale names) whenever possible. */
|
||||
/* translators: %s is the name of the city we couldn't locate.
|
||||
* Replace the examples with cities related to your locale. Test that
|
||||
* they match the expected location and have upcoming events before
|
||||
* including them. If no cities related to your locale have events,
|
||||
* then use cities related to your locale that would be recognizable
|
||||
* to most users. Use only the city name itself, without any region
|
||||
* or country. Use the endonym (native locale name) instead of the
|
||||
* English name if possible.
|
||||
*/
|
||||
'could_not_locate_city' => __( 'We couldn’t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
|
||||
|
||||
// This one is only used with wp.a11y.speak(), so it can/should be more brief.
|
||||
|
||||
Reference in New Issue
Block a user