',
$gDossier,$div,$jr_id);
echo $x;
$filename= $obj->det->jr_pj_name;
@@ -323,7 +323,7 @@ case 'loadfile':
if ( ! isset($_REQUEST['ajax']) ) echo ""; else echo "";
echo "
';
- $x=sprintf('
enlever',
+ $x=sprintf('
'._('enlever').'',
$gDossier,$div,$jr_id);
echo $x;
$filename= $obj->det->jr_pj_name;
@@ -350,7 +350,7 @@ case 'rmf':
echo '
';
diff --git a/html/ajax_misc.php b/html/ajax_misc.php
index 322c36ee7..2418a075e 100644
--- a/html/ajax_misc.php
+++ b/html/ajax_misc.php
@@ -294,7 +294,7 @@ EOF;
$detail = "
" . $row['jr_internal'] . "";
$r.='Date : ' . $row['j_date_fmt'] . ' ref :' . $detail . '
';
- $r.=h($row['jr_comment']) . " montant: " . ($row['j_montant']) . " " . (($row['j_debit'] == 't') ? 'D' : 'C');
+ $r.=h($row['jr_comment']) ." ". _("montant")." : " . ($row['j_montant']) . " " . (($row['j_debit'] == 't') ? 'D' : 'C');
$r.='';
$r.='
';
echo HtmlInput::hidden('inpopup',1);
diff --git a/html/recherche.php b/html/recherche.php
index b9356b20d..5c8f99e7e 100644
--- a/html/recherche.php
+++ b/html/recherche.php
@@ -50,7 +50,7 @@ if ($act =='P')
}
if ( $act=='X')
{
- alert('Accès interdit');
+ alert(_('Accès interdit'));
exit();
}
// display a search box
diff --git a/html/user_login.php b/html/user_login.php
index d17af17b3..c34465e7b 100644
--- a/html/user_login.php
+++ b/html/user_login.php
@@ -93,7 +93,7 @@ if ( $User->Admin() == 1)
}
include_once("user_menu.php");
-$priv=($User->admin==1)?"Administrateur":"Utilisateur";
+$priv=($User->admin==1)?_("Administrateur"):_("Utilisateur");
load_all_script();
if ( isset ($_POST['set_preference'])) {
//// Save value
@@ -152,7 +152,7 @@ $result.='
'._('Deconnexion
$result.="";
$result.="";
-echo ''._('Bienvenue ').$User->first_name.' '.$User->name.' '._("dans NOALYSS")."";
+echo ''._('Bienvenue')." ".$User->first_name.' '.$User->name.' '._("dans NOALYSS")."";
echo ''.$result.' ';
echo '';
?>
diff --git a/html/user_pref.php b/html/user_pref.php
index 1482956be..d0c7f6500 100644
--- a/html/user_pref.php
+++ b/html/user_pref.php
@@ -84,7 +84,7 @@ if ( isset ($_POST['val']) )
// comta style
include_once ("user_menu.php");
-echo " Préférences";
+echo ""._('Préférence')."";
require_once("pref.inc.php");
html_page_stop();
diff --git a/include/ac_common.php b/include/ac_common.php
index a03fafda8..5ca1d35fc 100644
--- a/include/ac_common.php
+++ b/include/ac_common.php
@@ -605,9 +605,9 @@ function sql_filter_per($p_cn, $p_from, $p_to, $p_form='p_id', $p_field='jr_tech
$a_start = $pPeriode->get_date_limit($p_from);
$a_end = $pPeriode->get_date_limit($p_to);
if ($a_start == null || $a_end == null)
- throw new Exception(__FILE__ . __LINE__ . 'Attention periode ' .
- ' non trouvee periode p_from=' . $p_from .
- 'p_to_periode = ' . $p_to);
+ throw new Exception(__FILE__ . __LINE__ . sprintf(_('Attention periode
+ non trouvee periode p_from= %s p_to_periode = %s'), $p_from ,
+ $p_to));
$p_from = $a_start['p_start'];
@@ -657,7 +657,7 @@ function set_language()
{
$g_lang = 'fr_FR.utf8';
$dir = setlocale(LC_MESSAGES, $g_lang);
- echo '' . $_SESSION['g_lang'] . ' domaine non supporté';
+ // echo '' . $_SESSION['g_lang'] . ' domaine non supporté';
}
bindtextdomain('messages', './lang');
textdomain('messages');
@@ -779,9 +779,9 @@ function ajax_disconnected($div)
$html = $script;
$html.=HtmlInput::anchor_close($div);
$html.='';
- $html.=h2('Données non disponibles', 'class="info" style="width:auto"');
- $html.=h2('Veuillez vous reconnecter', '');
- $html.=alert("Déconnecté", true);
+ $html.=h2(_('Données non disponibles'), 'class="info" style="width:auto"');
+ $html.=h2(_('Veuillez vous reconnecter'), '');
+ $html.=alert(_("Déconnecté"), true);
$html = escape_xml($html);
header('Content-type: text/xml; charset=UTF-8');
@@ -1058,11 +1058,11 @@ function display_dashboard_operation($p_array,$p_title,$p_div)
0) :?>
- | Date |
- Code Interne |
- Description |
+ |
+ |
+ |
- Montant
+
|
@@ -1088,7 +1088,7 @@ function display_dashboard_operation($p_array,$p_title,$p_div)
?>
- Aucune donnée
+
diff --git a/include/action.common.inc.php b/include/action.common.inc.php
index d8cd9377f..e2b1b4056 100644
--- a/include/action.common.inc.php
+++ b/include/action.common.inc.php
@@ -122,7 +122,7 @@ if ($sub_action == "update")
if ($g_user->can_write_action($act2->ag_id) == false )
{
echo ' ';
- echo ' Cette action ne vous est pas autorisée Contactez votre responsable';
+ echo ''._('Cette action ne vous est pas autorisée Contactez votre responsable').'';
echo '';
exit();
}
@@ -274,11 +274,11 @@ if ($sub_action == "save_action_st2")
// insert into action_gestion
echo $act->save();
$url = "?$base&sa=detail&ag_id=" . $act->ag_id . '&' . dossier::get();
- echo ' ' . hb('Action Sauvée : ' . $act->ag_ref) . ' ';
+ echo ' ' . hb(_('Action Sauvée').' : ' . $act->ag_ref) . ' ';
Follow_Up::show_action_list($cn,$base);
$url = "?$base&sa=detail&ag_id=" . $act->ag_id . '&' . dossier::get();
- echo ' ' . hb('Action Sauvée : ' . $act->ag_ref) . ' ';
+ echo ' ' . hb(_('Action Sauvée').' : ' . $act->ag_ref) . ' ';
}
?>
diff --git a/include/ajax_add_menu.php b/include/ajax_add_menu.php
index 8a71159ab..5b22fc2bb 100644
--- a/include/ajax_add_menu.php
+++ b/include/ajax_add_menu.php
@@ -67,9 +67,9 @@ $me_code_dep->value=$ame_code_dep;
$p_type=new ISelect('p_type');
$p_type->value=$atype;
$pm_default=new ICheckBox('pm_default');
-echo HtmlInput::title_box("Nouveau menu", $ctl);
+echo HtmlInput::title_box(_("Nouveau menu"), $ctl);
?>
-
diff --git a/include/ajax_boxcard_search.php b/include/ajax_boxcard_search.php
index 632883d82..207391113 100644
--- a/include/ajax_boxcard_search.php
+++ b/include/ajax_boxcard_search.php
@@ -36,39 +36,39 @@ $sql="
order by 2
";
$array=$cn->get_array($sql,array($_GET['card']));
-echo HtmlInput::title_box("Résultat recherche", "boxsearch_card_div");
+echo HtmlInput::title_box(_("Résultat recherche"), "boxsearch_card_div");
$max=(count($array)>MAX_CARD_SEARCH)?MAX_CARD_SEARCH:count($array);
?>
MAX_CARD_SEARCH ): ?>
- Résultat limité à , nombre de fiches trouvées :
+
-Filtre
+ :
|
- Quick Code
+
|
Nom
▾
|
- Categorie
+
|
- Description
+
|
- Numéro TVA
+
|
- Poste comptable
+
|
- Aucun résultat
+
diff --git a/include/ajax_calendar_zoom.php b/include/ajax_calendar_zoom.php
index 2786c450c..4d1e7dd6b 100644
--- a/include/ajax_calendar_zoom.php
+++ b/include/ajax_calendar_zoom.php
@@ -20,7 +20,7 @@
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_calendar.php';
ob_start();
-echo HtmlInput::title_box("Calendrier", "calendar_zoom_div");
+echo HtmlInput::title_box(_("Calendrier"), "calendar_zoom_div");
$cal=new Calendar();
$cal->set_periode($_GET['in']);
echo $cal->zoom();
diff --git a/include/ajax_fiche_def_detail.php b/include/ajax_fiche_def_detail.php
index d4bd7eb6c..0ebe9095e 100644
--- a/include/ajax_fiche_def_detail.php
+++ b/include/ajax_fiche_def_detail.php
@@ -37,7 +37,7 @@ if ( $_GET['id'] > 0 )
{
echo $fd->input_detail();
- echo HtmlInput::button("retour_b", "Retour à la liste", "onclick=\"$('detail_category_div').hide();$('list_cat_div').show()\"");
+ echo HtmlInput::button("retour_b", _("Retour à la liste"), "onclick=\"$('detail_category_div').hide();$('list_cat_div').show()\"");
}
else
{
diff --git a/include/ajax_get_menu_detail.php b/include/ajax_get_menu_detail.php
index fb3c0cde7..c3e9100fd 100644
--- a/include/ajax_get_menu_detail.php
+++ b/include/ajax_get_menu_detail.php
@@ -67,34 +67,34 @@ $pm_default=new ICheckBox('pm_default','1');
$pm_default->set_check($array[0]['pm_default']);
?>
-';
if ($profile->p_id > 0)
{
- echo '';
- echo '';
echo '';
echo '';
echo '';
- echo " Impression";
+ echo ""._("Impression")."";
$profile_menu->printing($p_id);
echo $add_impression;
echo '';
diff --git a/include/ajax_mod_predf_op.php b/include/ajax_mod_predf_op.php
index a541f2e23..487fd69a7 100644
--- a/include/ajax_mod_predf_op.php
+++ b/include/ajax_mod_predf_op.php
@@ -29,7 +29,7 @@ require_once 'class_pre_operation.php';
$op=new Pre_Operation($cn,$_GET['id']);
$array=$op->load();
echo HtmlInput::anchor_close('mod_predf_op');
-echo h2info('Modification du nom');
+echo h2info(_('Modification du nom'));
echo '
';
diff --git a/include/ajax_mod_stock_repo.php b/include/ajax_mod_stock_repo.php
index 0ff7597f4..c9dc1a640 100644
--- a/include/ajax_mod_stock_repo.php
+++ b/include/ajax_mod_stock_repo.php
@@ -36,7 +36,7 @@ $st=new Stock_Sql($_GET['r_id']);
|
- Nom
+
|
r_name); echo $name->input();?>
@@ -44,7 +44,7 @@ $st=new Stock_Sql($_GET['r_id']);
|
|
- Adresse
+
|
r_adress); echo $name->input();?>
@@ -52,7 +52,7 @@ $st=new Stock_Sql($_GET['r_id']);
|
|
- Ville
+
|
r_city); echo $name->input();?>
@@ -60,7 +60,7 @@ $st=new Stock_Sql($_GET['r_id']);
|
|
- Pays
+
|
r_country); echo $name->input();?>
@@ -68,7 +68,7 @@ $st=new Stock_Sql($_GET['r_id']);
|
|
- Téléphone
+
|
r_phone); echo $name->input();?>
@@ -76,5 +76,5 @@ $st=new Stock_Sql($_GET['r_id']);
|
-
+
\ No newline at end of file
diff --git a/include/ajax_navigator.php b/include/ajax_navigator.php
index 223e6e387..1b0c58687 100644
--- a/include/ajax_navigator.php
+++ b/include/ajax_navigator.php
@@ -34,7 +34,7 @@ $a_menu=$cn->get_array($sql,array($_SESSION['g_user']));
?>
- Vous permet d'accèder rapidement au menu qui vous intéresse, utiliser le filtre pour trouver plus rapidement
+
Filtre : get_array($sql,array($_SESSION['g_user']));
▾
- Chemin
+
|
- Description complète
+
|
- Aide sur le wiki
+
|
-
|
- sur le wiki :
+ :
|
diff --git a/include/ajax_plugin_detail.php b/include/ajax_plugin_detail.php
index 60ca42e80..c60aa5f6e 100644
--- a/include/ajax_plugin_detail.php
+++ b/include/ajax_plugin_detail.php
@@ -26,36 +26,36 @@
*
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
-$msg=($new==1)?"Nouvelle extension":"Modification ".$me_menu->value;
+$msg=($new==1)?_("Nouvelle extension"):_("Modification"). " ".$me_menu->value;
echo HtmlInput::title_box($msg, $ctl);
?>
- |