mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Updated french translation, with further i18n fixes to setup.
This commit is contained in:
1 parent
1c9c77e412
commit
c131834982
2 files changed
+28
-96
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ function check_davical_version() {
|
||||
global $c;
|
||||
$url = 'http://www.davical.org/current_davical_version?v='.$c->version_string;
|
||||
$version_file = @fopen($url, 'r');
|
||||
if ( ! $version_file ) return "Could not retrieve '$url'";
|
||||
if ( ! $version_file ) return translate("Could not retrieve") . " '$url'";
|
||||
$current_version = trim(fread( $version_file,12));
|
||||
fclose($version_file);
|
||||
return ( $c->version_string == $current_version ? true : $current_version );
|
||||
|
||||
Reference in new issue
Block a user