[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 05/08: cosmetic : add separator + translation
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 05/08: cosmetic : add separator + translation |
Date: |
Wed, 05 Nov 2014 20:05:16 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit ba727f0860aa80eaa7b0600a9e30f37e142df63c
Author: Dany De Bontridder <address@hidden>
Date: Wed Nov 5 20:53:23 2014 +0100
cosmetic : add separator + translation
---
include/fiche.inc.php | 2 +-
include/history_operation.inc.php | 3 ++-
include/impress_bilan.inc.php | 2 +-
include/impress_jrn.inc.php | 6 +++---
include/impress_rapport.inc.php | 25 +++++++++++++------------
5 files changed, 20 insertions(+), 18 deletions(-)
diff --git a/include/fiche.inc.php b/include/fiche.inc.php
index cee87ab..44a29a2 100644
--- a/include/fiche.inc.php
+++ b/include/fiche.inc.php
@@ -88,7 +88,7 @@
$search_card_js=sprintf('onclick="boxsearch_card(\'%d\')"',dossier::id());
<div id="box_search_card">
<?php echo _('Recherche de fiche')?> <?php echo
HtmlInput::infobulle(18)?> :<?php echo $search_card->input()?>
- <?php echo
HtmlInput::button_anchor("Chercher","javascript:void(0)","",$search_card_js)?>
+ <?php echo
HtmlInput::button_anchor(_("Chercher"),"javascript:void(0)","",$search_card_js,'smallbutton')?>
</div>
<?php
echo '</div>';
diff --git a/include/history_operation.inc.php
b/include/history_operation.inc.php
index 01edcae..9a45967 100644
--- a/include/history_operation.inc.php
+++ b/include/history_operation.inc.php
@@ -20,7 +20,8 @@
// Copyright Author Dany De Bontridder address@hidden
-/**\file
+/**
+ * \file
*
*
* \brief
diff --git a/include/impress_bilan.inc.php b/include/impress_bilan.inc.php
index e02f7e8..efe052b 100644
--- a/include/impress_bilan.inc.php
+++ b/include/impress_bilan.inc.php
@@ -92,6 +92,6 @@ echo _('<span class="notice"> Attention : si le bilan n\'est
pas équilibré.<br
<li> les comptes passifs ont un solde créditeur (sauf les comptes dit
inversés) </li>
</ul>
Utilisez la balance des comptes pour vérifier. </span>');
-
+echo '<hr>';
echo '</div>';
?>
diff --git a/include/impress_jrn.inc.php b/include/impress_jrn.inc.php
index 482bea2..37c357b 100644
--- a/include/impress_jrn.inc.php
+++ b/include/impress_jrn.inc.php
@@ -81,9 +81,9 @@ echo '<div class="content">';
* Let you change the exercice
*/
echo '<form method="GET">';
-echo '<fieldset><legend>' . _('Choississez un autre exercice') . '</legend>';
+echo '<fieldset><legend>' . _('Exercice') . '</legend>';
;
-echo 'Choississez un autre exercice :';
+echo _('Choississez un autre exercice').' :';
$ex = new Exercice($cn);
$wex = $ex->select('exercice', $exercice, ' onchange="submit(this)"');
echo $wex->input();
@@ -135,7 +135,7 @@ echo '</TABLE>';
print HtmlInput::submit('bt_html', 'Visualisation');
echo '</FORM>';
-
+echo '<hr>';
//-----------------------------------------------------
diff --git a/include/impress_rapport.inc.php b/include/impress_rapport.inc.php
index 7b6c217..e873a5b 100644
--- a/include/impress_rapport.inc.php
+++ b/include/impress_rapport.inc.php
@@ -179,7 +179,7 @@
$exercice=(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice();
/*
* Let you change the exercice
*/
-echo '<fieldset><legend>'._('Choississez un autre exercice').'</legend>';;
+echo '<fieldset><legend>'._('Exercice').'</legend>';;
echo '<form method="GET">';
echo 'Choississez un autre exercice :';
$ex=new Exercice($cn);
@@ -200,13 +200,13 @@ echo dossier::hidden();
echo '<TABLE><TR>';
$w=new ISelect();
$w->table=1;
-print td("Choississez le rapport");
+print td(_("Choississez le rapport"));
print $w->input("form_id",$ret);
print '</TR>';
//-- calendrier ou periode comptable
$aCal=array(
- array('value'=>0,'label'=>'Période comptable'),
- array('value'=>1,'label'=>'Calendrier')
+ array('value'=>0,'label'=>_('Période comptable')),
+ array('value'=>1,'label'=>_('Calendrier'))
);
$w->javascript=' onchange=enable_type_periode();';
@@ -237,31 +237,32 @@ $date_from->id='from_date';
$date_to=new IDate('to_date');
$date_to->id='to_date';
-echo td("Calendrier depuis :");
+echo td(_("Calendrier depuis :"));
echo td($date_from->input('from_date'));
-echo td("jusque");
+echo td(_("jusque"));
echo td($date_to->input('to_date'));
echo '</tr>';
$aStep=array(
- array('value'=>0,'label'=>'Pas d\'étape'),
- array('value'=>1,'label'=>'1 mois')
+ array('value'=>0,'label'=>_('Pas d\'étape')),
+ array('value'=>1,'label'=>_('1 mois'))
);
echo '<tr>';
-echo td('Par étape de');
+echo td(_('Par étape de'));
$w->id='p_step';
echo $w->input('p_step',$aStep);
echo '</TR>';
echo '</TABLE>';
-echo '<span class="notice"> Attention : vous ne pouvez pas utiliser les
étapes avec les dates calendriers.</span>';
+echo '<span class="notice"> '._('Attention : vous ne pouvez pas utiliser les
étapes avec les dates calendriers.').'</span>';
echo '<br>';
-echo '<span class="notice"> Les clauses FROM sont ignorés avec les dates
calendriers</span>';
+echo '<span class="notice">'._('Les clauses FROM sont ignorés avec les dates
calendriers').'</span>';
echo '<br>';
-print HtmlInput::submit('bt_html','Visualisation');
+print HtmlInput::submit('bt_html',_('Visualisation'));
echo '</FORM>';
echo '<script>enable_type_periode()</script>';
+echo '<hr>';
echo '</div>';
//-----------------------------------------------------
// Function
- [Noalyss-commit] [noalyss] branch master updated (91be6b5 -> c4424df), Dany De Bontridder, 2014/11/05
- [Noalyss-commit] [noalyss] 06/08: minor change : comment, Dany De Bontridder, 2014/11/05
- [Noalyss-commit] [noalyss] 05/08: cosmetic : add separator + translation,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/08: Task #1041 - Balance : ajout bouton pour montrer ou cacher les conditions supplémentaires, Dany De Bontridder, 2014/11/05
- [Noalyss-commit] [noalyss] 07/08: minor change : add missing div, Dany De Bontridder, 2014/11/05
- [Noalyss-commit] [noalyss] 08/08: cosmetic : improve appearance impress bilan, Dany De Bontridder, 2014/11/05
- [Noalyss-commit] [noalyss] 02/08: Ajout traduction + header, Dany De Bontridder, 2014/11/05
- [Noalyss-commit] [noalyss] 01/08: Test unitaire avec PHPUNIT class_acc_account_ledger.php, Dany De Bontridder, 2014/11/05
- [Noalyss-commit] [noalyss] 04/08: cosmetic : remove <hr> from history_operation.inc.php, Dany De Bontridder, 2014/11/05