diff options
author | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-13 00:46:08 -0400 |
---|---|---|
committer | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-13 00:46:08 -0400 |
commit | 834c21b2aaf78da1081416d05098286e9bf17c2a (patch) | |
tree | a57182952d58f659dd0e950e886f9f62be305f7c /lib/util.php | |
parent | 464e70ac5dd85cc55e33c6e1f4a9eed797362a7d (diff) |
Merge some gettext strings to one line so translation tools are happier
darcs-hash:20080713044608-533db-ee16aecee9b6d82b22ce6a25f6a9573c23eee9f8.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/util.php b/lib/util.php index c1fc8c781..f7b66c07d 100644 --- a/lib/util.php +++ b/lib/util.php @@ -234,11 +234,7 @@ function common_show_footer() { } else { $instr = _('**%%site.name%%** is a microblogging service. '); } - $instr .= sprintf(_('It runs the [Laconica](http://laconi.ca/) ' . - 'microblogging software, version %s, ' . - 'available under the ' . - '[GNU Affero General Public License]' . - '(http://www.fsf.org/licensing/licenses/agpl-3.0.html).'), LACONICA_VERSION); + $instr .= sprintf(_('It runs the [Laconica](http://laconi.ca/) microblogging software, version %s, available under the [GNU Affero General Public License] (http://www.fsf.org/licensing/licenses/agpl-3.0.html).'), LACONICA_VERSION); $output = common_markup_to_html($instr); common_raw($output); common_element_end('div'); @@ -1062,7 +1058,7 @@ function common_log($priority, $msg, $filename=NULL) { if ($logfile) { $log = fopen($logfile, "a"); if ($log) { - static $syslog_priorities = array('LOG_EMERG', 'LOG_ALERT', 'LOG_CRIT', 'LOG_ERR', + static $syslog_priorities = array('LOG_EMERG', 'LOG_ALERT', 'LOG_CRIT', 'LOG_ERR', 'LOG_WARNING', 'LOG_NOTICE', 'LOG_INFO', 'LOG_DEBUG'); $output = date('Y-m-d H:i:s') . ' ' . $syslog_priorities[$priority] . ': ' . $msg . "\n"; fwrite($log, $output); |