summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-02-28 05:24:24 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-02-28 05:24:24 +0000
commit4626bc1ff1a2c2a8bc2b37f5aece23a2ee6d9104 (patch)
treea20538b3d7f18f86fd51d9d9d3acd4db287311db /lib
parent9c591955e23284080caae01dd4a1bea723788283 (diff)
downloadampache-4626bc1ff1a2c2a8bc2b37f5aece23a2ee6d9104.tar.gz
ampache-4626bc1ff1a2c2a8bc2b37f5aece23a2ee6d9104.tar.bz2
ampache-4626bc1ff1a2c2a8bc2b37f5aece23a2ee6d9104.zip
updated russian translation and tweaked some plural points thx littlesavage
Diffstat (limited to 'lib')
-rw-r--r--lib/class/catalog.class.php4
-rw-r--r--lib/debug.lib.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 4c11abf8..0b152458 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -173,9 +173,9 @@ class Catalog {
$hours = $hours%24;
$time_text = "$days ";
- $time_text .= ($days == 1) ? _('day') : _('days');
+ $time_text .= ngettext('day','days',$days);
$time_text .= ", $hours ";
- $time_text .= ($hours == 1) ? _('hour') : _('hours');
+ $time_text .= ngettext('hour','hours',$hours);
$results['time_text'] = $time_text;
diff --git a/lib/debug.lib.php b/lib/debug.lib.php
index aac111b6..d0685b24 100644
--- a/lib/debug.lib.php
+++ b/lib/debug.lib.php
@@ -76,7 +76,7 @@ function check_database_inserted($dbh,$db_name) {
*/
function check_php_ver($level=0) {
- if (strcmp('5.0.0',phpversion()) > 0) {
+ if (strcmp('5.1.0',phpversion()) > 0) {
return false;
}