forked from GNUsocial/gnu-social
Fix gettext domain for messages in plugins "_()" to "_m()".
Some other i18n and L10n updates, too. i18n/L10n review not complete.
This commit is contained in:
@@ -365,7 +365,7 @@ class EventPlugin extends MicroappPlugin
|
||||
|
||||
$out->elementStart('div', 'event-times'); // VEVENT/EVENT-TIMES IN
|
||||
|
||||
$out->element('strong', null, _('Time:'));
|
||||
$out->element('strong', null, _m('Time:'));
|
||||
|
||||
$out->element('abbr', array('class' => 'dtstart',
|
||||
'title' => common_date_iso8601($event->start_time)),
|
||||
@@ -385,14 +385,14 @@ class EventPlugin extends MicroappPlugin
|
||||
|
||||
if (!empty($event->location)) {
|
||||
$out->elementStart('div', 'event-location');
|
||||
$out->element('strong', null, _('Location: '));
|
||||
$out->element('strong', null, _m('Location:'));
|
||||
$out->element('span', 'location', $event->location);
|
||||
$out->elementEnd('div');
|
||||
}
|
||||
|
||||
if (!empty($event->description)) {
|
||||
$out->elementStart('div', 'event-description');
|
||||
$out->element('strong', null, _('Description: '));
|
||||
$out->element('strong', null, _m('Description:'));
|
||||
$out->element('span', 'description', $event->description);
|
||||
$out->elementEnd('div');
|
||||
}
|
||||
@@ -400,9 +400,11 @@ class EventPlugin extends MicroappPlugin
|
||||
$rsvps = $event->getRSVPs();
|
||||
|
||||
$out->elementStart('div', 'event-rsvps');
|
||||
$out->element('strong', null, _('Attending: '));
|
||||
$out->element('strong', null, _m('Attending:'));
|
||||
$out->element('span', 'event-rsvps',
|
||||
sprintf(_('Yes: %d No: %d Maybe: %d'),
|
||||
// TRANS: RSVP counts.
|
||||
// TRANS: %1$d, %2$d and %3$d are numbers of RSVPs.
|
||||
sprintf(_m('Yes: %1$d No: %2$d Maybe: %3$d'),
|
||||
count($rsvps[RSVP::POSITIVE]),
|
||||
count($rsvps[RSVP::NEGATIVE]),
|
||||
count($rsvps[RSVP::POSSIBLE])));
|
||||
|
Reference in New Issue
Block a user