Translation and update comments

This commit is contained in:
Dany De Bontridder 2015-10-25 19:05:17 +01:00
parent 70383a2ca6
commit 8356df23d6
5 changed files with 1915 additions and 365 deletions

View file

@ -8,7 +8,7 @@
echo "Extract"
cd ..
# CATALOG
xgettext -L PHP -j --from-code=UTF-8 -p html/lang/ html/*.php html/admin/*.php include/*.php include/template/*.php include/ext/*/*.php include/ext/*/include/*.php include/ext/*/include/template/*.php include/lib/*.php include/ajax/*.php include/export/*.php include/class/*.php
xgettext -L PHP -j --from-code=UTF-8 -p html/lang/ html/*.php include/*.php include/template/*.php include/ext/*/*.php include/ext/*/include/*.php include/ext/*/include/template/*.php include/lib/*.php include/ajax/*.php include/export/*.php include/class/*.php
# For dutch
echo "Dutch"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -20,7 +20,7 @@
// Copyright 2015 Author Dany De Bontridder danydb@aevalys.eu
// require_once '.php';
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
if ( ! defined ('ALLOWED') ) die(_('Non autorisé'));
// Security
if ($g_user->check_module('CFGPRO')==0)
@ -30,7 +30,7 @@ if ( $p_profile_menu_id == 0 ||isNumber($p_profile_menu_id)==0) throw new Exc
// Delete menu + children
$cn->exec_sql('delete from profile_menu where pm_id = $1 or pm_id_dep=$1',array($p_profile_menu_id));
// remove child without parent
// remove children without parent
$cn->exec_sql("delete from profile_menu "
. " where pm_id_dep is not null "
. " and pm_id_dep not in (select pm_id from profile_menu)");