mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 19:02:35 +01:00
Qual: Update french comments with 'nombre' (#37032)
Update french comments with 'nombre' in their phrasing Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Copyright (C) 2014-2016 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2018-2024 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2021-2025 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Benjamin Falière <benjamin.faliere@altairis.fr>
|
||||
* Copyright (C) 2024 Alexandre Spangaro <alexandre@inovea-conseil.com>
|
||||
*
|
||||
@@ -503,7 +503,7 @@ if ($search_filter == 'outofdate') {
|
||||
$sql .= " AND (datefin < '".$db->idate($now)."')";
|
||||
}
|
||||
if ($search_status != '') {
|
||||
// Peut valoir un nombre ou liste de nombre separates par virgules
|
||||
// Can be a number or comma separated list of numbers
|
||||
$sql .= " AND d.statut in (".$db->sanitize($db->escape($search_status)).")";
|
||||
}
|
||||
if ($search_morphy != '' && $search_morphy != '-1') {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Copyright (C) 2005-2011 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2020 Tobias Sekan <tobias.sekan@startmail.com>
|
||||
* 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
|
||||
@@ -61,7 +61,7 @@ if (!$user->admin) {
|
||||
*/
|
||||
$error = 0;
|
||||
|
||||
// positionne la variable pour le nombre de rss externes
|
||||
// Set the variable for the number of external RSS
|
||||
$sql = "SELECT ".$db->decrypt('name')." as name FROM ".MAIN_DB_PREFIX."const";
|
||||
$sql .= " WHERE ".$db->decrypt('name')." LIKE 'EXTERNAL_RSS_URLRSS_%'";
|
||||
//print $sql;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (c) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* 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
|
||||
@@ -92,9 +92,9 @@ class DeplacementStats extends Stats
|
||||
|
||||
|
||||
/**
|
||||
* Renvoie le nombre de facture par annee
|
||||
* Return the number of invoices per year
|
||||
*
|
||||
* @return array<array{0:int,1:int}> Array of nb each year
|
||||
* @return array<array{0:int,1:int}> Array of nb each year
|
||||
*/
|
||||
public function getNbByYear()
|
||||
{
|
||||
@@ -108,7 +108,7 @@ class DeplacementStats extends Stats
|
||||
|
||||
|
||||
/**
|
||||
* Renvoie le nombre de facture par mois pour une annee donnee
|
||||
* Return the number of invoices for the given year
|
||||
*
|
||||
* @param int $year Year to scan
|
||||
* @param int $format 0=Label of abscissa is a translated text, 1=Label of abscissa is month number, 2=Label of abscissa is first letter of month
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Copyright (c) 2008-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2012 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2024 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
|
||||
@@ -483,7 +483,6 @@ abstract class Stats
|
||||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
|
||||
/**
|
||||
* Renvoie le nombre de documents par mois pour une annee donnee
|
||||
* Return number of documents per month for a given year
|
||||
*
|
||||
* @param int $year Year
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2025 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -128,7 +128,7 @@ class MailingTargets // This can't be abstract as it is used for some method
|
||||
}
|
||||
|
||||
/**
|
||||
* Retourne nombre de destinataires
|
||||
* Return the number of recipients
|
||||
*
|
||||
* @param string $sql Sql request to count
|
||||
* @return int|string Nb of recipient, or <0 if error, or '' if NA
|
||||
@@ -161,15 +161,15 @@ class MailingTargets // This can't be abstract as it is used for some method
|
||||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Met a jour nombre de destinataires
|
||||
* Update the number of recipients
|
||||
*
|
||||
* @param int $mailing_id Id of emailing
|
||||
* @return int Return integer < 0 si erreur, nb destinataires si ok
|
||||
* @param int $mailing_id Id of emailing
|
||||
* @return int Return integer < 0 if error, otherwise number of recipients
|
||||
*/
|
||||
public function update_nb($mailing_id)
|
||||
{
|
||||
// phpcs:enable
|
||||
// Mise a jour nombre de destinataire dans table des mailings
|
||||
// Update the number of recipients in the mailing table
|
||||
$sql = "SELECT COUNT(*) nb FROM ".$this->db->prefix()."mailing_cibles";
|
||||
$sql .= " WHERE fk_mailing = ".((int) $mailing_id);
|
||||
$result = $this->db->query($sql);
|
||||
|
||||
@@ -221,7 +221,7 @@ if ($action == 'add' && $permissiontoadd) {
|
||||
$newinter->note_private = $object->note_private;
|
||||
$newinter->note_public = $object->note_public;
|
||||
|
||||
// on créer un nouvelle intervention
|
||||
// Create a new intervention
|
||||
$extrafields->fetch_name_optionals_label($newinter->table_element);
|
||||
|
||||
$array_options = $extrafields->getOptionalsFromPost($newinter->table_element);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2013-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2024 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
|
||||
@@ -62,7 +62,7 @@ if (isset($_SESSION["nbrecases"])) {
|
||||
$_SESSION["typecolonne".$i] = $arrayoftypecolumn[$i];
|
||||
}
|
||||
}
|
||||
} else { //nombre de cases par défaut
|
||||
} else { // Number of cases by default
|
||||
$_SESSION["nbrecases"] = 5;
|
||||
}
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ $arrayofjs = array();
|
||||
$arrayofcss = array('/opensurvey/css/style.css');
|
||||
llxHeader('', $langs->trans("OpenSurvey"), "", '', 0, 0, $arrayofjs, $arrayofcss);
|
||||
|
||||
//nombre de cases par défaut
|
||||
// Number of cases by default
|
||||
if (!isset($_SESSION["nbrecaseshoraires"])) {
|
||||
$_SESSION["nbrecaseshoraires"] = 5;
|
||||
} elseif ((GETPOST('ajoutcases') || GETPOST("ajoutcases_y")) && $_SESSION["nbrecaseshoraires"] == 5) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2016 Jean-François Ferry <hello@librethic.io>
|
||||
* 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
|
||||
@@ -79,9 +79,9 @@ class TicketStats extends Stats
|
||||
}
|
||||
|
||||
/**
|
||||
* Renvoie le nombre de tickets par annee
|
||||
* Return the number of tickets per year
|
||||
*
|
||||
* @return array<array{0:int,1:int}> Array of values
|
||||
* @return array<array{0:int,1:int}> Array of values
|
||||
*/
|
||||
public function getNbByYear()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user