Fixed some typos #1

Merged
Philippe-dev merged 1 commit from master into master 2021-11-04 08:46:39 +00:00
3 changed files with 20 additions and 20 deletions
Showing only changes of commit 1cc1293ed3 - Show all commits

View file

@ -85,12 +85,12 @@ class tweakStoresBehaviors
if ($core->error->flag()) { if ($core->error->flag()) {
echo '<p class="error">' . implode(' ', $core->error->getErrors()) . '</p>'; echo '<p class="error">' . implode(' ', $core->error->getErrors()) . '</p>';
} else { } else {
echo '<p class="success">' . __('File successfully write') . '</p>'; echo '<p class="success">' . __('File successfully written') . '</p>';
} }
} }
if (count($combo) < 2) { if (count($combo) < 2) {
echo echo
'<div class="info">' . __('There are no module to tweak') . '</div>' . '<div class="info">' . __('There is no module to tweak') . '</div>' .
'</div>'; '</div>';
return; return;
@ -99,13 +99,13 @@ class tweakStoresBehaviors
echo sprintf( echo sprintf(
'<p class="info"><a href="%s">%s</a></p>', '<p class="info"><a href="%s">%s</a></p>',
$core->adminurl->get('admin.plugins', ['module' => 'tweakStores', 'conf' => 1, 'redir' => $page_url]), $core->adminurl->get('admin.plugins', ['module' => 'tweakStores', 'conf' => 1, 'redir' => $page_url]),
__('You must configure zip file pattern to complete xml code automaticaly.') __('You must configure zip file pattern to complete xml code automatically.')
); );
} else { } else {
echo echo
'<form method="post" action="' . $page_url . '" id="buildxml" class="fieldset">' . '<form method="post" action="' . $page_url . '" id="buildxml" class="fieldset">' .
'<h4>' . __('Generate xml code') . '</h4>' . '<h4>' . __('Generate xml code') . '</h4>' .
'<p>' . __('This help to generate content of dcstore.xml for seleted module.') . '</p>' . '<p>' . __('This helps to generate content of dcstore.xml for seleted module.') . '</p>' .
'<p class="field"><label for="buildxml_id" class="classic required"><abbr title="' . __('Required field') . '">*</abbr> ' . __('Module to parse:') . '</label> ' . '<p class="field"><label for="buildxml_id" class="classic required"><abbr title="' . __('Required field') . '">*</abbr> ' . __('Module to parse:') . '</label> ' .
form::combo('buildxml_id', $combo, empty($_POST['buildxml_id']) ? '-' : html::escapeHTML($_POST['buildxml_id'])) . form::combo('buildxml_id', $combo, empty($_POST['buildxml_id']) ? '-' : html::escapeHTML($_POST['buildxml_id'])) .
'</p>' . '</p>' .
@ -116,7 +116,7 @@ class tweakStoresBehaviors
if (!empty($_POST['buildxml_id'])) { if (!empty($_POST['buildxml_id'])) {
echo echo
'<form method="post" action="' . $page_url . '" id="writexml" class="fieldset">' . '<form method="post" action="' . $page_url . '" id="writexml" class="fieldset">' .
'<h4>' . sprintf(__('Generated code for module : %s'), html::escapeHTML($_POST['buildxml_id'])) . '</h4>'; '<h4>' . sprintf(__('Generated code for module: %s'), html::escapeHTML($_POST['buildxml_id'])) . '</h4>';
if (!empty(tweakStores::$failed)) { if (!empty(tweakStores::$failed)) {
echo '<p class="info">' . sprintf(__('Failed to parse XML code: %s'), implode(', ', tweakStores::$failed)) . '</p> '; echo '<p class="info">' . sprintf(__('Failed to parse XML code: %s'), implode(', ', tweakStores::$failed)) . '</p> ';

View file

@ -61,15 +61,15 @@ __('Enable plugin') . '</label></p>
<p><label class="classic" for="tweakStores_packman">' . <p><label class="classic" for="tweakStores_packman">' .
form::checkbox('tweakStores_packman', 1, $tweakStores_packman) . ' ' . form::checkbox('tweakStores_packman', 1, $tweakStores_packman) . ' ' .
__('Enable packman behaviors') . '</label></p> __('Enable packman behaviors') . '</label></p>
<p class="form-note">' . __('If enabled, plugin pacKman (re)generate on the fly dcstore.xml file at root directory of the module.') .'</p> <p class="form-note">' . __('If enabled, plugin pacKman will (re)generate on the fly dcstore.xml file at root directory of the module.') .'</p>
<p><label class="classic" for="tweakStores_file_pattern">'. __('Predictable URL to zip file on the external repository') . <p><label class="classic" for="tweakStores_file_pattern">'. __('Predictable URL to zip file on the external repository') .
form::field('tweakStores_file_pattern', 65, 255, $tweakStores_file_pattern, 'maximal') . ' form::field('tweakStores_file_pattern', 65, 255, $tweakStores_file_pattern, 'maximal') . '
</label></p> </label></p>
<p class="form-note">' . <p class="form-note">' .
__('You can use widcard like %author%, %type%, %id%, %version%.') . '<br /> ' . __('You can use widcard like %author%, %type%, %id%, %version%.') . '<br /> ' .
__('For exemple on github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip') . '<br />' . __('For example on github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip') . '<br />' .
__('Note on github, you must create a release and join to it the module zip file.') . ' __('Note: on github, you must create a release and join to it the module zip file.') . '
</p> </p>
</div>'; </div>';

View file

@ -13,16 +13,16 @@ msgstr ""
msgid "Tweak third-party repositories" msgid "Tweak third-party repositories"
msgstr "Gestion de dépôts tiers" msgstr "Gestion de dépôts tiers"
msgid "File successfully write" msgid "File successfully written"
msgstr "Fichier enregistré avec succès" msgstr "Fichier enregistré avec succès"
msgid "There are no module to tweak" msgid "There is no module to tweak"
msgstr "Il n'y a pas de module à gérer" msgstr "Il n'y a pas de module à gérer"
msgid "Generate xml code" msgid "Generate xml code"
msgstr "Générer le code XML" msgstr "Générer le code XML"
msgid "This help to generate content of dcstore.xml for seleted module." msgid "This helps to generate content of dcstore.xml for seleted module."
msgstr "Ceci aide à générer le contenu du fichier dcstore.xml pour le module selectionné." msgstr "Ceci aide à générer le contenu du fichier dcstore.xml pour le module selectionné."
msgid "Module to parse:" msgid "Module to parse:"
@ -31,8 +31,8 @@ msgstr "Module à traiter :"
msgid "Generate" msgid "Generate"
msgstr "Générer" msgstr "Générer"
msgid "Generated code for module : %s" msgid "Generated code for module: %s"
msgstr "Code généré pour le module \"%s" msgstr "Code généré pour le module : %s"
msgid "Failed to parse XML code: %s" msgid "Failed to parse XML code: %s"
msgstr "Impossible de traiter le code XML : %s" msgstr "Impossible de traiter le code XML : %s"
@ -46,7 +46,7 @@ msgstr "Le code est complet"
msgid "Save to module directory" msgid "Save to module directory"
msgstr "Enregistrer dans le répertoire du module" msgstr "Enregistrer dans le répertoire du module"
msgid "You must configure zip file pattern to complete xml code automaticaly." msgid "You must configure zip file pattern to complete xml code automatically."
msgstr "Vous devez configurer le modèle de fichier zip pour compléter le code XML automatiquement." msgstr "Vous devez configurer le modèle de fichier zip pour compléter le code XML automatiquement."
msgid "You can edit zip file pattern from configuration page." msgid "You can edit zip file pattern from configuration page."
@ -56,13 +56,13 @@ msgid "Select a module"
msgstr "Sélectionner un module" msgstr "Sélectionner un module"
msgid "If enabled, new tab \"Tweak stores\" allows your to perfom actions relative to third-party repositories." msgid "If enabled, new tab \"Tweak stores\" allows your to perfom actions relative to third-party repositories."
msgstr "Si activé, un nouvel onglet \"Tweak stores\" vous permettra de mené des actions relatives aux dépôts tiers." msgstr "Si activé, un nouvel onglet \"Tweak stores\" vous permettra de mener des actions relatives aux dépôts tiers."
msgid "Enable packman behaviors" msgid "Enable packman behaviors"
msgstr "Activer les comportements avec pacKman" msgstr "Activer les comportements avec pacKman"
msgid "If enabled, plugin pacKman (re)generate on the fly dcstore.xml file at root directory of the module." msgid "If enabled, plugin pacKman will (re)generate on the fly dcstore.xml file at root directory of the module."
msgstr "Si activé, le plugin pacKman (re)génèrera à la volé le fichier dcstore.xml" msgstr "Si activé, le plugin pacKman (re)génèrera à la volée le fichier dcstore.xml"
msgid "Predictable URL to zip file on the external repository" msgid "Predictable URL to zip file on the external repository"
msgstr "URL prédictive du fichier zip sur le dépôt externe" msgstr "URL prédictive du fichier zip sur le dépôt externe"
@ -70,9 +70,9 @@ msgstr "URL prédictive du fichier zip sur le dépôt externe"
msgid "You can use widcard like %author%, %type%, %id%, %version%." msgid "You can use widcard like %author%, %type%, %id%, %version%."
msgstr "Vous pouvez utiliser les remplacements automatiques tels que %author%, %type%, %id%, %version%." msgstr "Vous pouvez utiliser les remplacements automatiques tels que %author%, %type%, %id%, %version%."
msgid "For exemple on github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip" msgid "For example on github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip"
msgstr "Par exemple sur github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip" msgstr "Par exemple sur github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip"
msgid "Note on github, you must create a release and join to it the module zip file." msgid "Note: on github, you must create a release and join to it the module zip file."
msgstr "Note sur github, you devez créer un release et y joindre le fichier zip du module." msgstr "Note : sur github, vous devez créer un release et y joindre le fichier zip du module."