diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-08 03:44:06 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-08 03:44:06 +0000 |
commit | dda0815b08128ef66da98ab007ed1b57ac33fe50 (patch) | |
tree | 142f25901f916a26a461fe0c2cd3fe63451a299a /lib/class | |
parent | 66b7d6f37a2d1dd02968bd06a53e9dfe8cc87871 (diff) | |
download | ampache-dda0815b08128ef66da98ab007ed1b57ac33fe50.tar.gz ampache-dda0815b08128ef66da98ab007ed1b57ac33fe50.tar.bz2 ampache-dda0815b08128ef66da98ab007ed1b57ac33fe50.zip |
more fixes for the translation (Thx momo-i) and updated ja_JP
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/catalog.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 723d7c55..ee51e9e5 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -490,13 +490,13 @@ class Catalog { if (!$file_size) { debug_event('read',"Unable to get filesize for $full_file",'2','ampache-catalog'); - Error::add('catalog_add',_('Error: Unable to get filesize for') . ' ' . $full_file); + Error::add('catalog_add',sprintf(_('Error: Unable to get filesize for %s'), $full_file)); } // file_size check if (!is_readable($full_file)) { // not readable, warn user debug_event('read',"$full_file is not readable by ampache",'2','ampache-catalog'); - Error::add('catalog_add',"$full_file " . _('is not readable by ampache')); + Error::add('catalog_add', sprintf(_('%s is not readable by ampache'), $full_file)); continue; } @@ -504,7 +504,7 @@ class Catalog { if (function_exists('iconv')) { if (strcmp($full_file,iconv(Config::get('site_charset'),Config::get('site_charset'),$full_file)) != '0') { debug_event('read',$full_file . ' has non-' . Config::get('site_charset') . ' characters and can not be indexed','1'); - Error::add('catalog_add',$full_file . ' ' . _('does not match site charset')); + Error::add('catalog_add', sprintf(_('%s does not match site charset'), $full_file)); continue; } } // end if iconv |