Qual: Translate french 'avec' comments to English (#37049)
# Qual: Translate french 'avec' comments to English
This commit is contained in:
parent
c5582f5085
commit
4e8b6dc21d
5 changed files with 22 additions and 22 deletions
|
|
@ -6,7 +6,7 @@
|
|||
* Copyright (C) 2011-2014 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
|
||||
* Copyright (C) 2021 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -132,8 +132,8 @@ $sql .= " WHERE ptva.fk_tva = tva.rowid";
|
|||
$sql .= " AND tva.entity = " . $conf->entity;
|
||||
if ($year > 0) {
|
||||
$sql .= " AND (";
|
||||
// Si period renseignee on l'utilise comme critere de date, sinon on prend date echeance,
|
||||
// ceci afin d'etre compatible avec les cas ou la periode n'etait pas obligatoire
|
||||
// If the date range is provided, use it as a lookup condition. Otherwise we use the due date.
|
||||
// This ensures compatibilituy for the cases where the period is not mandatory
|
||||
$sql .= " (tva.datev IS NOT NULL AND tva.datev between '" . $db->idate(dol_get_first_day($year)) . "' AND '" . $db->idate(dol_get_last_day($year)) . "')";
|
||||
$sql .= " OR (tva.datev IS NULL AND tva.datev between '" . $db->idate(dol_get_first_day($year)) . "' AND '" . $db->idate(dol_get_last_day($year)) . "')";
|
||||
$sql .= ")";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
|
||||
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -429,25 +429,25 @@ class DoliDBSqlite3 extends DoliDB
|
|||
|
||||
$descTable = $this->db->querySingle("SELECT sql FROM sqlite_master WHERE name='".$this->escape($tablename)."'");
|
||||
|
||||
// 1- Renommer la table avec un nom temporaire
|
||||
// 1- Rename the table to a temporary name
|
||||
$this->query("ALTER TABLE ".$tablename." RENAME TO tmp_".$tablename);
|
||||
|
||||
// 2- Recréer la table avec la contrainte ajoutée
|
||||
// 2- Recreate the table with the new constraint
|
||||
|
||||
// on bricole la requete pour ajouter la contrainte
|
||||
// Adjust the SQL request to add the constraint
|
||||
$descTable = substr($descTable, 0, strlen($descTable) - 1);
|
||||
$descTable .= ", CONSTRAINT ".$constraintname." FOREIGN KEY (".$localfields.") REFERENCES ".$foreignTable."(".$foreignFields.")";
|
||||
|
||||
// fermeture de l'instruction
|
||||
// Add closing parenthesis for SQL query
|
||||
$descTable .= ')';
|
||||
|
||||
// Création proprement dite de la table
|
||||
// Perform query to create the table
|
||||
$this->query($descTable);
|
||||
|
||||
// 3- Transférer les données
|
||||
// 3- Copy the data from the temporary table (before adding constraint)
|
||||
$this->query("INSERT INTO ".$tablename." SELECT * FROM tmp_".$tablename);
|
||||
|
||||
// 4- Supprimer la table temporaire
|
||||
// 4- Delete the original (now temporary) table
|
||||
$this->query("DROP TABLE tmp_".$tablename);
|
||||
|
||||
// dummy statement
|
||||
|
|
@ -571,7 +571,7 @@ class DoliDBSqlite3 extends DoliDB
|
|||
}
|
||||
return $resultset->fetchArray(SQLITE3_NUM);
|
||||
} else {
|
||||
// si le curseur est un boolean on retourne la valeur 0
|
||||
// If the cursor is a boolean, return 0
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -753,7 +753,7 @@ class DoliDBSqlite3 extends DoliDB
|
|||
/**
|
||||
* Get last ID after an insert INSERT
|
||||
*
|
||||
* @param string $tab Table name concerned by insert. Ne sert pas sous MySql mais requis pour compatibilite avec Postgresql
|
||||
* @param string $tab Table name concerned by insert. Not used for mysql, but required for Postgresql
|
||||
* @param string $fieldid Field name
|
||||
* @return int Id of row
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
* Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
||||
* Copyright (C) 2017 Rui Strecht <rui.strecht@aliartalentos.com>
|
||||
* Copyright (C) 2018-2024 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -1982,7 +1982,7 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon = null, $nopr
|
|||
} elseif (is_object($filterobj) && get_class($filterobj) == 'Contrat') {
|
||||
$sql .= ", " . MAIN_DB_PREFIX . "contrat as o";
|
||||
} elseif (is_object($filterobj) && get_class($filterobj) == 'Expedition') {
|
||||
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "expedition as s ON a.fk_element = s.rowid AND a.elementtype = 'shipping'"; // Jointure sur la table des expéditions avec condition ON
|
||||
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "expedition as s ON a.fk_element = s.rowid AND a.elementtype = 'shipping'"; // JOIN on the shipping tame using the 'ON' constraint
|
||||
} elseif (is_object($filterobj) && get_class($filterobj) == 'Propal') {
|
||||
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "propal as o ON a.fk_element = o.rowid AND a.elementtype = 'propal'";
|
||||
} elseif (
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
/* Copyright (C) 2013-2016 Jean-François FERRY <hello@librethic.io>
|
||||
* Copyright (C) 2016 Christophe Battarel <christophe@altairis.fr>
|
||||
* Copyright (C) 2023 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -207,8 +207,8 @@ if (empty($reshook)) {
|
|||
// Search company saved with email
|
||||
$searched_companies = $object->searchSocidByEmail($origin_email, 0);
|
||||
|
||||
// Chercher un contact existent avec cette address email
|
||||
// Le premier contact trouvé est utilisé pour déterminer le contact suivi
|
||||
// Look for an existing contact with this email address
|
||||
// The first contact found is used to dtermine the tracking contact
|
||||
$contacts = $object->searchContactByEmail($origin_email);
|
||||
if (!is_array($contacts)) {
|
||||
$contacts = array();
|
||||
|
|
|
|||
|
|
@ -2526,19 +2526,19 @@ td.showDragHandle {
|
|||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Styles de positionnement des zones */
|
||||
/* Zone positioning styles */
|
||||
/* ============================================================================== */
|
||||
|
||||
#id-container {
|
||||
width: 100%;
|
||||
<?php if (getDolGlobalString('THEME_STICKY_TOPMENU') == 'scrollleftmenu_after_mainpage') { ?>
|
||||
display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
|
||||
display: table; /* DOL_XXX Prevents the correct operation of the horizontal scroll on a table, with datatable or CSS */
|
||||
<?php } ?>
|
||||
/* table-layout: fixed; */
|
||||
|
||||
}
|
||||
#id-right, #id-left {
|
||||
display: table-cell; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
|
||||
display: table-cell; /* DOL_XXX Prevents the correct operation of the horizontal scroll on a table, with datatable or CSS */
|
||||
float: none;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
|
@ -2728,7 +2728,7 @@ div.vmenu, td.vmenu {
|
|||
.user-header { height: auto !important; color: var(--colortextbackhmenu); }
|
||||
|
||||
#id-container {
|
||||
display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
|
||||
display: table; /* DOL_XXX Prevents the correct operation of the horizontal scroll on a table, with datatable or CSS */
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue