Translation:add gettext function, improve extract_text
Add everywhere the missing gettext function and improve the script for extracting string
This commit is contained in:
parent
b87f987c73
commit
38311bd212
97 changed files with 13993 additions and 15415 deletions
|
|
@ -50,7 +50,7 @@ if ( isset ($_POST["p_user"] ) )
|
|||
|
||||
if ($version != DBVERSIONREPO)
|
||||
{
|
||||
echo alert('Version de base de données incorrectes, vous devez mettre à jour');
|
||||
echo alert(_('Version de base de données incorrectes, vous devez mettre à jour'));
|
||||
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=admin/setup.php\">";
|
||||
exit();
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@ if ( isset ($_POST["p_user"] ) )
|
|||
$valid = $img->check($_POST['captcha_code']);
|
||||
if ( $valid == false )
|
||||
{
|
||||
echo alert('Code invalide');
|
||||
echo alert(_('Code invalide'));
|
||||
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=index.php\">";
|
||||
exit();
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@ else
|
|||
|
||||
if ( $version != DBVERSIONREPO)
|
||||
{
|
||||
echo alert('Version de base de données incorrectes, vous devez mettre à jour');
|
||||
echo alert(_('Version de base de données incorrectes, vous devez mettre à jour'));
|
||||
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"1;url=admin/setup.php\">";
|
||||
exit();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue