forked from moodleou/moodle-report_customsql
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New functionality to allow reports to have placeholders
Then the user is prompted to enter values to stubstitute for the parameters when the report is run. Also, other minor tweaks made at the OU recently.
- Loading branch information
Showing
13 changed files
with
265 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<?php | ||
// This file is part of Moodle - http://moodle.org/ | ||
// | ||
// Moodle is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Moodle is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
/** | ||
* Lang strings for report/customsql | ||
* | ||
* @package report_customsql | ||
* @copyright 2010 Séverin Terrier | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
$string['addreport'] = 'Ajouter une nouvelle requête'; | ||
$string['anyonewhocanveiwthisreport'] = 'Toute personne pouvant voir ce rapport (report/customsql:view)'; | ||
$string['archivedversions'] = 'Versions archivées de cette requête'; | ||
$string['automaticallymonthly'] = 'Planifiée, le premier jour de chaque mois'; | ||
$string['automaticallyweekly'] = 'Planifiée, le premier jour de chaque semaine'; | ||
$string['availablereports'] = 'Requêtes à la demande'; | ||
$string['availableto'] = 'Disponible pour $a.'; | ||
$string['backtoreportlist'] = 'Retour à la liste des requêtes'; | ||
//$string['changetheparameters'] = ''; | ||
$string['customsql:definequeries'] = 'Définir des requêtes personnalisées'; | ||
$string['customsql:view'] = 'Voir les rapports personnalisés'; | ||
$string['deleteareyousure'] = 'Êtes vous certain de vouloir supprimer cette requête ?'; | ||
$string['deletethisreport'] = 'Supprimer cette requête'; | ||
$string['description'] = 'Description'; | ||
$string['displayname'] = 'Nom de la requête'; | ||
$string['displaynamerequired'] = 'Vous devez saisir un nom de requête'; | ||
$string['displaynamex'] = 'Nom de la requête : $a'; | ||
$string['downloadthisreportascsv'] = 'Télécharger le résultat sous forme CSV'; | ||
$string['editingareport'] = 'Modifier une requête personnalisée'; | ||
$string['editthisreport'] = 'Modifier cette requête'; | ||
//$string['enterparameters'] = ''; | ||
$string['errordeletingreport'] = 'Erreur de suppression d\'une requête.'; | ||
$string['errorinsertingreport'] = 'Erreur d\'insertion d\'une requête.'; | ||
$string['errorupdatingreport'] = 'Erreur de modification d\'une requête.'; | ||
$string['invalidreportid'] = 'Requête invalide id $a.'; | ||
$string['lastexecuted'] = 'Dernière exécution le $a->lastrun. Durée d\'exécution {$a->lastexecutiontime}s.'; | ||
$string['manually'] = 'À la demande'; | ||
$string['manualnote'] = 'Ces requêtes sont exécutées à la demande, lorsque vous cliquez sur leur lien pour voir les résultats.'; | ||
$string['morethanonerowreturned'] = 'Plus d\'une ligne retournée comme résultat. Cette requête devrait retourner une seule ligne.'; | ||
$string['nodatareturned'] = 'Cette requête n\'a retourné aucun résultat.'; | ||
$string['noexplicitprefix'] = 'Utilisez prefix_ dans votre requête, au lieu de $a.'; | ||
$string['noreportsavailable'] = 'Pas de requête disponible'; | ||
$string['norowsreturned'] = 'Aucune ligne retournée comme résultat. Cette requête devrait retourner une ligne.'; | ||
$string['nosemicolon'] = 'Vous ne pouvez pas utiliser le caractère ; dans la commande SQL.'; | ||
$string['notallowedwords'] = 'Vous ne pouvez pas utiliser les mots $a dans la commande SQL.'; | ||
$string['note'] = 'Attention'; | ||
$string['notrunyet'] = 'Cette requête n\'a pas encore été exécutée.'; | ||
$string['onerow'] = 'La requête renvoie une ligne, et cumule les résultats une ligne à la fois'; | ||
//$string['parametervalue'] = ''; | ||
$string['pluginname'] = 'Rapports personnalisés'; | ||
$string['queryfailed'] = 'Erreur à l\'exécution de la requête : $a'; | ||
$string['querynote'] = '<ul> | ||
<li>La chaîne <tt>%%%%WWWROOT%%%%</tt> dans les résultats sera remplacée par <tt>$a</tt>.</li> | ||
<li>Tout champ de sortie ressemblant à une URL sera automatiquement transformé en lien.</li> | ||
<li>La chaîne <tt>%%%%USERID%%%%</tt> dans la requête sera remplacée par le \"user id\" de l\'utilisateur visualisant le rapport, avant l\'exécution du rapport.</li> | ||
<li>Pour des rapports programmés, les chaînes <tt>%%%%STARTTIME%%%%</tt> et <tt>%%%%ENDTIME%%%%</tt> sont remplacées par le timestamp Unix du début et de fin de semaine/mois du rapport dans la requête avant son exécution.</li> | ||
</ul>';// Note, new last li point needs to be translated. | ||
//$string['queryparameters'] = ''; | ||
//$string['queryparams'] = ''; | ||
//$string['queryparamschanged'] = ''; | ||
$string['queryrundate'] = 'date d\'exécution de la requête'; | ||
$string['querysql'] = 'Requête SQL'; | ||
$string['querysqlrequried'] = 'Vous devez saisir du code SQL'; | ||
$string['recordlimitreached'] = 'Cette requête a atteint la limite de $a lignes de résultat. Des lignes ont certainement été omises à la fin.'; | ||
$string['reportfor'] = 'Requête exécutée le $a'; | ||
$string['runable'] = 'Exécution'; | ||
$string['runablex'] = 'Exécution : $a.'; | ||
$string['schedulednote'] = 'Ces requêtes sont lancées automatiquement le premier jour de chaque semaine ou chaque mois, pour des rapports sur la semaine ou le mois précédent. Ces liens vous permettent de visualiser les résultats qui ont déjà été accumulés.'; | ||
$string['scheduledqueries'] = 'Requêtes programmées'; | ||
$string['typeofresult'] = 'Type de résultat'; | ||
$string['unknowndownloadfile'] = 'Fichier à télécharger inconnu.'; | ||
$string['userswhocanconfig'] = 'Administrateurs uniquement (moodle/site:config)'; | ||
$string['userswhocanviewsitereports'] = 'Utilisateurs pouvant voir les rapports (moodle/site:viewreports)'; | ||
$string['whocanaccess'] = 'Qui peut accéder à cette requête'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.