-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
148 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/* | ||
You may not change or alter any portion of this comment or credits | ||
of supporting developers from this source code or any supporting source code | ||
which is considered copyrighted (c) material of the original comment or credit authors. | ||
This program 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. | ||
*/ | ||
|
||
/** | ||
* Wfdownloads module | ||
* | ||
* @copyright XOOPS Project (https://xoops.org) | ||
* @license GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html) | ||
* @package wfdownload | ||
* @since 3.23 | ||
* @author Xoops Development Team | ||
*/ | ||
$moduleDirName = \basename(\dirname(__DIR__, 2)); | ||
$moduleDirNameUpper = \mb_strtoupper($moduleDirName); | ||
|
||
//Sample Data | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA', 'Importer des exemples de données (supprimera TOUTES les données actuelles) '); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'SAMPLEDATA_SUCCESS', 'Exemples de données importé avec succès '); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA', 'Exporter des tableaux vers YAML'); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA_SUCCESS', 'Exporter les tableaux vers YAML avec succès '); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA_ERROR', 'ERREUR : Échec de l\'exportation des tables vers YAML'); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON', 'Afficher le bouton d\'exemple ?'); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON_DESC', 'Si oui, le bouton "Ajouter des données d\'échantillon" sera visible par l\'administrateur. C\'est Oui par défaut pour la première installation.'); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA', 'Exporter le schéma de base de données vers YAML'); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_SUCCESS', 'L\'exportation du schéma de base de données vers YAML a été un succès '); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_ERROR', 'ERREUR : Échec de l\'exportation du schéma de base de données vers YAML '); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA_OK', 'Êtes-vous sûr d\'importer des exemples de données ? (Cela supprimera TOUTES les données actuelles) '); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'HIDE_SAMPLEDATA_BUTTONS', 'Masquer les boutons d\importation'); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLEDATA_BUTTONS', 'Afficher les boutons d\'importation'); | ||
\define('CO_' . $moduleDirNameUpper . '_' . 'CONFIRM', 'Confirmer'); |