From: Brion Vibber Date: Wed, 10 Mar 2010 17:36:00 +0000 (-0800) Subject: Ticket #2221: fix for missing whitespace between messages in en-gb. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8ee8b89dd8b3483724aa52a812eef89b8bfae38b;p=quix0rs-gnu-social.git Ticket #2221: fix for missing whitespace between messages in en-gb. The final whitespace should be dropped from the source messages after we've stabilized; trailing space is pretty unreliable to keep through translation tools and should be avoided. Use separator strings outside the messages! --- diff --git a/lib/action.php b/lib/action.php index 816086d202..9884f529c9 100644 --- a/lib/action.php +++ b/lib/action.php @@ -767,11 +767,14 @@ class Action extends HTMLOutputter // lawsuit { $this->element('dt', array('id' => 'site_statusnet_license'), _('StatusNet software license')); $this->elementStart('dd', null); + // @fixme drop the final spaces in the messages when at good spot + // to let translations get updated. if (common_config('site', 'broughtby')) { $instr = _('**%%site.name%%** is a microblogging service brought to you by [%%site.broughtby%%](%%site.broughtbyurl%%). '); } else { $instr = _('**%%site.name%%** is a microblogging service. '); } + $instr .= ' '; $instr .= sprintf(_('It runs the [StatusNet](http://status.net/) microblogging software, version %s, available under the [GNU Affero General Public License](http://www.fsf.org/licensing/licenses/agpl-3.0.html).'), STATUSNET_VERSION); $output = common_markup_to_html($instr); $this->raw($output);