From 1cc1293ed30555b3eb87599b68c8be04c31de5ea Mon Sep 17 00:00:00 2001 From: Philippe-dev Date: Thu, 4 Nov 2021 09:22:34 +0100 Subject: [PATCH] Fixed some typos --- _admin.php | 10 +++++----- _config.php | 6 +++--- locales/fr/main.po | 24 ++++++++++++------------ 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/_admin.php b/_admin.php index d6cb0ed..2f7cf51 100644 --- a/_admin.php +++ b/_admin.php @@ -85,12 +85,12 @@ class tweakStoresBehaviors if ($core->error->flag()) { echo '

' . implode(' ', $core->error->getErrors()) . '

'; } else { - echo '

' . __('File successfully write') . '

'; + echo '

' . __('File successfully written') . '

'; } } if (count($combo) < 2) { echo - '
' . __('There are no module to tweak') . '
' . + '
' . __('There is no module to tweak') . '
' . ''; return; @@ -99,13 +99,13 @@ class tweakStoresBehaviors echo sprintf( '

%s

', $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 { echo '
' . '

' . __('Generate xml code') . '

' . - '

' . __('This help to generate content of dcstore.xml for seleted module.') . '

' . + '

' . __('This helps to generate content of dcstore.xml for seleted module.') . '

' . '

' . form::combo('buildxml_id', $combo, empty($_POST['buildxml_id']) ? '-' : html::escapeHTML($_POST['buildxml_id'])) . '

' . @@ -116,7 +116,7 @@ class tweakStoresBehaviors if (!empty($_POST['buildxml_id'])) { echo '' . - '

' . sprintf(__('Generated code for module : %s'), html::escapeHTML($_POST['buildxml_id'])) . '

'; + '

' . sprintf(__('Generated code for module: %s'), html::escapeHTML($_POST['buildxml_id'])) . '

'; if (!empty(tweakStores::$failed)) { echo '

' . sprintf(__('Failed to parse XML code: %s'), implode(', ', tweakStores::$failed)) . '

'; diff --git a/_config.php b/_config.php index 8def099..38a8e9f 100644 --- a/_config.php +++ b/_config.php @@ -61,15 +61,15 @@ __('Enable plugin') . '

-

' . __('If enabled, plugin pacKman (re)generate on the fly dcstore.xml file at root directory of the module.') .'

+

' . __('If enabled, plugin pacKman will (re)generate on the fly dcstore.xml file at root directory of the module.') .'

' . __('You can use widcard like %author%, %type%, %id%, %version%.') . '
' . -__('For exemple on github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip') . '
' . -__('Note on github, you must create a release and join to it the module zip file.') . ' +__('For example on github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip') . '
' . +__('Note: on github, you must create a release and join to it the module zip file.') . '

'; \ No newline at end of file diff --git a/locales/fr/main.po b/locales/fr/main.po index a46a393..c087656 100644 --- a/locales/fr/main.po +++ b/locales/fr/main.po @@ -13,16 +13,16 @@ msgstr "" msgid "Tweak third-party repositories" msgstr "Gestion de dépôts tiers" -msgid "File successfully write" +msgid "File successfully written" 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" msgid "Generate xml code" 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é." msgid "Module to parse:" @@ -31,8 +31,8 @@ msgstr "Module à traiter :" msgid "Generate" msgstr "Générer" -msgid "Generated code for module : %s" -msgstr "Code généré pour le module \"%s" +msgid "Generated code for module: %s" +msgstr "Code généré pour le module : %s" msgid "Failed to parse XML code: %s" msgstr "Impossible de traiter le code XML : %s" @@ -46,7 +46,7 @@ msgstr "Le code est complet" msgid "Save to module directory" 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." msgid "You can edit zip file pattern from configuration page." @@ -56,13 +56,13 @@ msgid "Select a module" msgstr "Sélectionner un module" 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" 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." -msgstr "Si activé, le plugin pacKman (re)génèrera à la volé le fichier dcstore.xml" +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ée le fichier dcstore.xml" msgid "Predictable URL to zip file on the external repository" 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%." 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" -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." +msgid "Note: on github, you must create a release and join to it the module zip file." +msgstr "Note : sur github, vous devez créer un release et y joindre le fichier zip du module."