[wp-meta] [Making WordPress.org] #3784: i18n: numbered placeholders for notify_applicant_application_received
Making WordPress.org
noreply at wordpress.org
Fri Aug 31 12:16:48 UTC 2018
#3784: i18n: numbered placeholders for notify_applicant_application_received
-------------------------------------+--------------------
Reporter: felipeelia | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: WordCamp Site & Plugins | Keywords:
-------------------------------------+--------------------
In `notify_applicant_application_received` function
(`sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event
/class-event-application.php`) we should:
1 - Have numbered placeholders.
2 - Update translators comment.
So, this
{{{#!php
//translators: Name and city of the event. Egs WordCamp in New York.
$message = sprintf(
__(
"Thank you for applying to organize a %s in %s! We'll send
you a follow-up e-mail once we've had a chance to review your
application.",
'wpct'
),
$this->get_event_label(), sanitize_text_field( $meetup_city )
);
}}}
Should actually become something like:
{{{#!php
/* translators: 1: Name of the event. 2: City of the event. */
$message = sprintf(
__(
'Thank you for applying to organize a %1$s in %2$s! We'll
send you a follow-up e-mail once we've had a chance to review your
application.',
'wpct'
),
$this->get_event_label(), sanitize_text_field( $meetup_city )
);
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3784>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list