[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/media/includes/classes
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2009-08-02 22:18:14
Message-ID: 1249251494.129052.26795.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1006053 by aacid:
change to use i18n_var with arguments as test it works
M +4 -4 class_appinfo.inc
--- trunk/www/media/includes/classes/class_appinfo.inc #1006052:1006053
@@ -92,16 +92,16 @@
{
if ($license == "gpl")
{
- $this->license = "$this->title is distributed under the terms of the <a \
href=\"http://www.gnu.org/licenses/gpl.html\">GNU General Public License (GPL), \
Version 2</a>.\n"; + $this->license = i18n_var("%1 is distributed under the terms \
of the <a href=\"http://www.gnu.org/licenses/gpl.html\">GNU General Public License \
(GPL), Version 2</a>.", $this->title) . "\n"; }
else
if ($license == "lgpl")
{
- $this->license = "$this->title is distributed under the terms of the <a \
href=\"http://www.gnu.org/licenses/lgpl.html\">GNU Lesser General Public License \
(LGPL), Version 2</a>.\n"; + $this->license = i18n_var("%1 is distributed under the \
terms of the <a href=\"http://www.gnu.org/licenses/lgpl.html\">GNU Lesser General \
Public License (LGPL), Version 2</a>.", $this->title) . "\n"; }
else
{
- $this->license = "Unknown license, valid licenses for setLicense() are 'gpl', \
'lgpl'. Update www/media/includes/classes/class_appinfo.inc if another is required \
(contact Chris Howells <howells@kde.org>.\n"; + $this->license = i18n_var("Unknown \
license, valid licenses for setLicense() are 'gpl', 'lgpl'. Update \
www/media/includes/classes/class_appinfo.inc if another is required (contact Chris \
Howells <howells@kde.org>.") . "\n"; }
}
@@ -111,7 +111,7 @@
{
print "<img src=\"$this->icon\" alt=\"$this->title\" width=\"$this->width\" \
height=\"$this->height\" style=\"float:left;margin-right:10px;margin-bottom:10px\" \
/>\n"; }
- print "<b>Version $this->version</b><br />\n";
+ print i18n_var("<b>Version %1</b>", $this->version) . "<br />\n";
$date = getdate();
print "<b>© $this->copy_year-". $date['year'] . " $this->by</b><br />\n";
print "<br style=\"clear:both\" />\n";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic