Fix: Translation category strings
This commit is contained in:
parent
899adaaef5
commit
35bcabeb1e
@ -17,15 +17,13 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/bank/ligne.php
|
\file htdocs/compta/bank/ligne.php
|
||||||
\ingroup compta
|
\ingroup compta
|
||||||
\brief Page <EFBFBD>dition d'une <EFBFBD>criture bancaire
|
\brief Page edition d'une ecriture bancaire
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
@ -35,6 +33,7 @@ if (! $user->rights->banque->lire && ! $user->rights->banque->consolidate)
|
|||||||
|
|
||||||
$langs->load("banks");
|
$langs->load("banks");
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
|
$langs->load("categories");
|
||||||
if ($conf->adherent->enabled) $langs->load("members");
|
if ($conf->adherent->enabled) $langs->load("members");
|
||||||
|
|
||||||
$rowid=isset($_GET["rowid"])?$_GET["rowid"]:$_POST["rowid"];
|
$rowid=isset($_GET["rowid"])?$_GET["rowid"]:$_POST["rowid"];
|
||||||
@ -218,7 +217,7 @@ if ($result)
|
|||||||
// Confirmations
|
// Confirmations
|
||||||
if ($_GET["action"] == 'delete_categ')
|
if ($_GET["action"] == 'delete_categ')
|
||||||
{
|
{
|
||||||
$html->form_confirm("ligne.php?rowid=".$_GET["rowid"]."&cat1=".$_GET["fk_categ"]."&orig_account=".$orig_account,"Supprimer dans la cat<61>gorie","Etes-vous s<>r de vouloir supprimer le classement dans la cat<61>gorie ?","confirm_delete_categ");
|
$html->form_confirm("ligne.php?rowid=".$_GET["rowid"]."&cat1=".$_GET["fk_categ"]."&orig_account=".$orig_account,$langs->trans("RemoveFromCategory"),$langs->trans("RemoveFromCategoryConfirm"),"confirm_delete_categ");
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -233,7 +232,7 @@ if ($result)
|
|||||||
|
|
||||||
$links=$acct->get_url($rowid);
|
$links=$acct->get_url($rowid);
|
||||||
|
|
||||||
// Tableau sur 4 colonne si d<EFBFBD>ja rapproch<63>, sinon sur 5 colonnes
|
// Tableau sur 4 colonne si deja rapproche, sinon sur 5 colonnes
|
||||||
|
|
||||||
// Author
|
// Author
|
||||||
print '<tr><td width="20%">'.$langs->trans("Author")."</td>";
|
print '<tr><td width="20%">'.$langs->trans("Author")."</td>";
|
||||||
|
|||||||
@ -14,15 +14,13 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/bank/treso.php
|
\file htdocs/compta/bank/treso.php
|
||||||
\ingroup banque
|
\ingroup banque
|
||||||
\brief Page de détail du budget de trésorerie
|
\brief Page de détail du budget de trésorerie
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -1213,6 +1213,7 @@ if ($_GET['action'] == 'create')
|
|||||||
$mode_reglement_id = $soc->mod_reglement;
|
$mode_reglement_id = $soc->mod_reglement;
|
||||||
$remise_percent = $soc->remise_client;
|
$remise_percent = $soc->remise_client;
|
||||||
$remise_absolue = 0;
|
$remise_absolue = 0;
|
||||||
|
$dateinvoice=$contrat->date_contrat;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1221,6 +1222,7 @@ if ($_GET['action'] == 'create')
|
|||||||
$mode_reglement_id = $soc->mode_reglement;
|
$mode_reglement_id = $soc->mode_reglement;
|
||||||
$remise_percent = $soc->remise_client;
|
$remise_percent = $soc->remise_client;
|
||||||
$remise_absolue = 0;
|
$remise_absolue = 0;
|
||||||
|
$dateinvoice=mktime();
|
||||||
}
|
}
|
||||||
$absolute_discount=$soc->getAvailableDiscounts();
|
$absolute_discount=$soc->getAvailableDiscounts();
|
||||||
|
|
||||||
@ -1353,7 +1355,7 @@ if ($_GET['action'] == 'create')
|
|||||||
|
|
||||||
// Date facture
|
// Date facture
|
||||||
print '<tr><td>'.$langs->trans('Date').'</td><td colspan="2">';
|
print '<tr><td>'.$langs->trans('Date').'</td><td colspan="2">';
|
||||||
$html->select_date('','','','','',"add");
|
$html->select_date($dateinvoice,'','','','',"add");
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Conditions de règlement
|
// Conditions de règlement
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/contrat/contrat.class.php
|
\file htdocs/contrat/contrat.class.php
|
||||||
\ingroup contrat
|
\ingroup contrat
|
||||||
\brief Fichier de la classe des contrats
|
\brief Fichier de la classe des contrats
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/commonobject.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/commonobject.class.php");
|
||||||
@ -36,7 +33,6 @@ require_once(DOL_DOCUMENT_ROOT."/lib/price.lib.php");
|
|||||||
\class Contrat
|
\class Contrat
|
||||||
\brief Classe permettant la gestion des contrats
|
\brief Classe permettant la gestion des contrats
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Contrat extends CommonObject
|
class Contrat extends CommonObject
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
@ -54,7 +50,10 @@ class Contrat extends CommonObject
|
|||||||
var $user_cloture;
|
var $user_cloture;
|
||||||
var $date_creation;
|
var $date_creation;
|
||||||
var $date_validation;
|
var $date_validation;
|
||||||
|
|
||||||
|
var $date_contrat;
|
||||||
var $date_cloture;
|
var $date_cloture;
|
||||||
|
|
||||||
var $commercial_signature_id;
|
var $commercial_signature_id;
|
||||||
var $commercial_suivi_id;
|
var $commercial_suivi_id;
|
||||||
|
|
||||||
|
|||||||
@ -2281,7 +2281,7 @@ class Facture extends CommonObject
|
|||||||
$facref = substr($this->ref, 1, 4);
|
$facref = substr($this->ref, 1, 4);
|
||||||
|
|
||||||
// Si facture non brouillon et non provisoire
|
// Si facture non brouillon et non provisoire
|
||||||
if ($facref != 'PROV' && ! $conf->comptaexpert->enabled && $conf->global->FACTURE_ENABLE_EDITDELETE)
|
if ($facref != 'PROV' && $conf->global->FACTURE_ENABLE_EDITDELETE)
|
||||||
{
|
{
|
||||||
// On ne peut supprimer que la dernière facture validée
|
// On ne peut supprimer que la dernière facture validée
|
||||||
// pour ne pas avoir de trou dans la numérotation
|
// pour ne pas avoir de trou dans la numérotation
|
||||||
|
|||||||
@ -58,6 +58,8 @@ ContentsNotVisibleByAllShort=Contents not visible by all
|
|||||||
CategoriesTree=Categories tree
|
CategoriesTree=Categories tree
|
||||||
DeleteCategory=Delete category
|
DeleteCategory=Delete category
|
||||||
ConfirmDeleteCategory=Are you sure you want to delete this category ?
|
ConfirmDeleteCategory=Are you sure you want to delete this category ?
|
||||||
|
RemoveFromCategory=Remove link with categorie
|
||||||
|
RemoveFromCategoryConfirm=Are you sure you want to remove link between the transaction and the category ?
|
||||||
NoCategoriesDefined=No category defined
|
NoCategoriesDefined=No category defined
|
||||||
SuppliersCategoryShort=Suppliers category
|
SuppliersCategoryShort=Suppliers category
|
||||||
CustomersCategoryShort=Customers category
|
CustomersCategoryShort=Customers category
|
||||||
|
|||||||
@ -57,7 +57,9 @@ ContentsVisibleByAllShort=Contenu visible par tous
|
|||||||
ContentsNotVisibleByAllShort=Contenu non visible par tous
|
ContentsNotVisibleByAllShort=Contenu non visible par tous
|
||||||
CategoriesTree=Arbre des catégories
|
CategoriesTree=Arbre des catégories
|
||||||
DeleteCategory=Supprimer categorie
|
DeleteCategory=Supprimer categorie
|
||||||
ConfirmDeleteCategory=Etes vous sur de vouloir supprimer cette catégorie ?
|
ConfirmDeleteCategory=Etes-vous sur de vouloir supprimer cette catégorie ?
|
||||||
|
RemoveFromCategory=Supprimer lien avec catégorie
|
||||||
|
RemoveFromCategoryConfirm=Etes-vous sur de vouloir supprimer le lien entre la transaction et la categorie ?
|
||||||
NoCategoriesDefined=Aucune catégorie définie
|
NoCategoriesDefined=Aucune catégorie définie
|
||||||
SuppliersCategoryShort=Catégorie fournisseurs
|
SuppliersCategoryShort=Catégorie fournisseurs
|
||||||
CustomersCategoryShort=Catégorie clients
|
CustomersCategoryShort=Catégorie clients
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/lib/bank.lib.php
|
\file htdocs/lib/bank.lib.php
|
||||||
\brief Ensemble de fonctions de base pour le module banque
|
\brief Ensemble de fonctions de base pour le module banque
|
||||||
\ingroup banque
|
\ingroup banque
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
|
|
||||||
Ensemble de fonctions de base de dolibarr sous forme d'include
|
Ensemble de fonctions de base de dolibarr sous forme d'include
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user