[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: 2012-06-17 21:32:50
Message-ID: 20120617213250.DE042AC779 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1301458 by aacid:
more i18n
M +9 -9 class_appdata.inc
--- trunk/www/media/includes/classes/class_appdata.inc #1301457:1301458
@@ -118,16 +118,16 @@
function licenseHtml() {
$license = $this->data['license'];
- $text = '<p>'.$this->name().' is distributed under the terms of the ';
+ $text = '<p>';
switch($license) {
case 'GPL': case 'GPL_V2':
- $text .= '<a \
href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public \
License (GPL), Version 2</a>.'; + $text .= i18n_var('%1 is \
distributed under the terms of the <a \
href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public \
License (GPL), Version 2</a>.', $this->name()); break;
case 'GPL_V3':
- $text .= '<a href="http://www.gnu.org/licenses/gpl.html">GNU \
General Public License (GPL), Version 3</a>.'; + $text .= \
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 \
3</a>.', $this->name()); break;
case 'LGPL':
- $text .= '<a \
href="http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"> GNU Library General \
Public License, version 2</a>.'; + $text .= i18n_var('%1 is \
distributed under the terms of the <a \
href="http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"> GNU Library General \
Public License, version 2</a>.', $this->name()); break;
default:
$text .= $license.'.';
@@ -200,7 +200,7 @@
function browseSourcesHtml() {
if ($this->data['repository'][0] == 'svn') {
- return '<p><a \
href="http://websvn.kde.org/'.$this->data['repository'][1].'">Browse \
'.$this->name().' source code on WebSVN</a></p>'; + return '<p><a \
href="http://websvn.kde.org/'.$this->data['repository'][1].'">'.i18n_var("Browse %1 \
source code on WebSVN", $this->name()).'</a></p>'; } else \
if($this->data['repository'][0] == 'git') { $path = '<p><a \
href="https://projects.kde.org/projects/'; if (isset($this->data['parent']) && \
$this->data['parent'] != '') { @@ -212,7 +212,7 @@
} else {
return '';
}
- $path .= '/repository">Browse '.$this->name().' source code on Git</a></p>';
+ $path .= '/repository">'.i18n_var("Browse %1 source code on Git", \
$this->name()).'</a></p>'; return $path;
}
return '';
@@ -220,9 +220,9 @@
function checkoutSourcesHtml() {
if ($this->data['repository'][0] == 'svn') {
- return '<p>Checkout '.$this->name().' source code:</p><p><code>svn \
co svn://anonsvn.kde.org/home/kde/'.$this->data['repository'][1].'</code></p>'; + \
return '<p>'.i18n_var("Checkout source code:", $this->name()).'</p><p><code>svn co \
svn://anonsvn.kde.org/home/kde/'.$this->data['repository'][1].'</code></p>'; } else \
if($this->data['repository'][0] == 'git') {
- return '<p>Clone '.$this->name().' source code:</p><p><code>git \
clone git://anongit.kde.org/'.$this->data['repository'][1].'</code></p>'; + \
return '<p>'.i18n_var("Clone %1 source code:", $this->name()).'</p><p><code>git clone \
git://anongit.kde.org/'.$this->data['repository'][1].'</code></p>'; }
return '';
}
@@ -232,7 +232,7 @@
}
function ciaVcHtml() {
- return '<a \
href="http://cia.vc/stats/project/'.$this->data['cia.vc'].'">Watch '.$this->name().' \
development activity on cia.vc</a>'; + return '<a \
href="http://cia.vc/stats/project/'.$this->data['cia.vc'].'">'.i18n_var("Watch %1 \
development activity on cia.vc", $this->name()).'</a>'; }
//Returns true if the application has a bugtracker (external or KDE \
bugzilla)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic