SF.net SVN: phpwiki:[10818] trunk/lib/plugin/RecentChanges.php

vargenau--- via phpwiki-checkins <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10818
          http://sourceforge.net/p/phpwiki/code/10818
Author:   vargenau
Date:     2022-01-04 17:42:19 +0000 (Tue, 04 Jan 2022)
Log Message:
-----------
UserContribs: add space after ":" and translate

Modified Paths:
--------------
    trunk/lib/plugin/RecentChanges.php

Modified: trunk/lib/plugin/RecentChanges.php
===================================================================
--- trunk/lib/plugin/RecentChanges.php	2022-01-04 14:15:37 UTC (rev 10817)
+++ trunk/lib/plugin/RecentChanges.php	2022-01-04 17:42:19 UTC (rev 10818)
@@ -52,13 +52,13 @@
             if ($title == '[]') {
                 $title = $request->_user->getId();
             }
-            $title = _("UserContribs") . ": $title";
+            $title = _("UserContribs") . _(": ") . $title;
         } elseif ($owner) {
             $title = $owner;
             if ($title == '[]') {
                 $title = $request->_user->getId();
             }
-            $title = _("UserContribs") . ": $title";
+            $title = _("UserContribs") . _(": ") . $title;
         } elseif ($only_new) {
             $title = _("RecentNewPages");
         } elseif ($show_minor) {
@@ -553,7 +553,7 @@
         $author_args = $owner
             ? array('owner' => $owner)
             : array('author' => $author);
-        return array(_("UserContribs"), ":", $owner ? $owner : $author,
+        return array(_("UserContribs"), _(": "), $owner ? $owner : $author,
             ' ',
             $this->rss_icon($author_args),
             $this->rss2_icon($author_args),

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.