diff --git a/lib/updater.php b/lib/updater.php index 967f64c0b3..1b1a4eab97 100644 --- a/lib/updater.php +++ b/lib/updater.php @@ -58,15 +58,17 @@ class OC_Updater{ } public static function ShowUpdatingHint(){ + $l = OC_L10N::get('lib'); + if(OC_Config::getValue('updatechecker', true)==true){ $data=OC_Updater::check(); if(isset($data['version']) and $data['version']<>'') { - $txt=''.$data['versionstring'].' is available. Get more information'; + $txt=''.$l->t('%s is available. Get more information',array($data['versionstring'], $data['web'])).''; }else{ - $txt='up to date'; + $txt=$l->t('up to date'); } }else{ - $txt='updates check is disabled'; + $txt=$l->t('updates check is disabled'); } return($txt); }