Skip to content

Commit

Permalink
Merge pull request #17 from roadiz/l10n_develop
Browse files Browse the repository at this point in the history
New Crowdin updates
  • Loading branch information
ambroisemaupate committed Jan 27, 2023
2 parents 9ca6a36 + 4e8130f commit 11b19ff
Show file tree
Hide file tree
Showing 33 changed files with 406 additions and 882 deletions.
4 changes: 2 additions & 2 deletions src/locale/fr/LC_MESSAGES/developer/attributes/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: roadiz-cms-documentation\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-23 22:16+0200\n"
"PO-Revision-Date: 2021-06-11 11:38\n"
"POT-Creation-Date: 2022-08-05 11:31+0200\n"
"PO-Revision-Date: 2022-08-05 10:32\n"
"Last-Translator: \n"
"Language-Team: French\n"
"MIME-Version: 1.0\n"
Expand Down
2 changes: 1 addition & 1 deletion src/locale/fr/LC_MESSAGES/developer/case-studies/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: roadiz-cms-documentation\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-23 22:16+0200\n"
"PO-Revision-Date: 2021-06-11 11:38\n"
"PO-Revision-Date: 2022-07-22 13:55\n"
"Last-Translator: \n"
"Language-Team: French\n"
"MIME-Version: 1.0\n"
Expand Down
64 changes: 10 additions & 54 deletions src/locale/fr/LC_MESSAGES/developer/contributing.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: roadiz-cms-documentation\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-23 22:16+0200\n"
"PO-Revision-Date: 2020-09-23 20:23\n"
"POT-Creation-Date: 2022-08-05 11:31+0200\n"
"PO-Revision-Date: 2022-08-05 10:32\n"
"Last-Translator: \n"
"Language-Team: French\n"
"MIME-Version: 1.0\n"
Expand All @@ -30,7 +30,7 @@ msgid "Reporting issues"
msgstr ""

#: ../../src/developer/contributing.rst:12
msgid "When you encounter an issue with Roadiz we would love to hear about it. Because thanks to you, we can make the most awesome and stable CMS! If you submit a bug report please include all informations available to you, here are some things you can do:"
msgid "When you encounter an issue with Roadiz we would love to hear about it. Because thanks to you, we can make the most awesome and stable CMS! If you submit a bug report please include all information available to you, here are some things you can do:"
msgstr ""

#: ../../src/developer/contributing.rst:16
Expand All @@ -41,71 +41,27 @@ msgstr ""
msgid "Do not forget to join a screenshot or a trace of your error."
msgstr ""

#: ../../src/developer/contributing.rst:20
msgid "Running tests"
msgstr ""

#: ../../src/developer/contributing.rst:22
msgid "If you developed a new feature or simply want to try out an installation of Roadiz you can run unit-tests. For this you will need to install the testing dependencies, this can easily be done using:"
msgstr ""

#: ../../src/developer/contributing.rst:29
msgid "You have to run unit-tests on a dedicated database not to lose any existing Roadiz website. You can create a ``conf/config_test.yml`` YAML configuration which will be read only for this environment. Then, wire this configuration to a blank database. Unit-tests can be launched by the following command:"
msgstr ""

#: ../../src/developer/contributing.rst:36
msgid "If your are writing a feature, don't forget to write a unit test for it. You can find some example in the folder ``tests``. In Roadiz, there are 4 types of tests:"
msgstr ""

#: ../../src/developer/contributing.rst:39
msgid "Standard tests which must extend ``\\PHPUnit_Framework_TestCase``. These tests should only test simple logic methods and classes as they won’t require Roadiz kernel to boot up."
msgstr ""

#: ../../src/developer/contributing.rst:40
msgid "Kernel dependent tests which must extend `RZ\\Roadiz\\Tests\\KernelDependentCase``. These tests should only test logic classes and methods inside Roadiz kernel without any database concern."
msgstr ""

#: ../../src/developer/contributing.rst:41
msgid "Schema dependent tests which must extend ``RZ\\Roadiz\\Tests\\SchemaDependentCase``. These tests should only test low level database methods and classes without relying on node-types or translations. Use this type of testing if you want to test Roadiz entities and repositories methods except for Nodes and NodeTypes."
msgstr ""

#: ../../src/developer/contributing.rst:42
msgid "DefaultTheme dependent tests which must extend ``RZ\\Roadiz\\Tests\\DefaultThemeDependentCase``. These tests rely on a complete Roadiz installation with existing node-types and translation. They are longer to prepare as PHPUnit must install a fresh Roadiz with DefaultTheme at each case."
msgstr ""

#: ../../src/developer/contributing.rst:45
msgid "Each ``SchemaDependentCase`` and ``DefaultThemeDependentCase`` will provision a fresh Roadiz database then drop it. Make sure to use a dedicated database. If you execute unit-tests from an existing Roadiz website, you’ll have to run ``bin/console generate:nsentities`` at the end of your testing session to build your NodesSources classes again (every environment share the same ``gen-src`` folder)."
msgstr ""

#: ../../src/developer/contributing.rst:48
#: ../../src/developer/contributing.rst:21
msgid "Coding style"
msgstr ""

#: ../../src/developer/contributing.rst:50
#: ../../src/developer/contributing.rst:23
msgid "The code you contributed to the project should respect the guidelines defined in PHP *PSR2* standard. If you install the requirements for devs by the command ``composer update --dev``, you can use *phpcs* to check your code. You can copy and paste the following command-lines to check easily:"
msgstr ""

#: ../../src/developer/contributing.rst:58
#: ../../src/developer/contributing.rst:31
msgid "Or you can use *phpcbf* to automatically fix code style issues."
msgstr ""

#: ../../src/developer/contributing.rst:64
msgid "Please take those rules into account, we aim to have a clean codebase. A coherent codestyle will contribute to Roadiz stability. Your code will be checked when we will be considering your pull requests."
#: ../../src/developer/contributing.rst:37
msgid "Please take those rules into account, we aim to have a clean codebase. A coherent code-style will contribute to Roadiz stability. Your code will be checked when we will be considering your pull requests."
msgstr ""

#: ../../src/developer/contributing.rst:68
#: ../../src/developer/contributing.rst:41
msgid "Static analysis"
msgstr ""

#: ../../src/developer/contributing.rst:70
#: ../../src/developer/contributing.rst:43
msgid "Then we use ``phpstan`` as a static code analyzer to check bugs and misuses before they occur:"
msgstr ""

#: ../../src/developer/contributing.rst:None
msgid "Standard Edition"
msgstr ""

#: ../../src/developer/contributing.rst:78
msgid "Roadiz *Standard Edition* comes with a ``Makefile`` to make it easier to test your sources and your theme. Just execute ``make test`` and ``phpcbf`` and ``phpstan`` will test your theme sources. If you are using *Gitlab CI/CD* with our ``.gitlab-ci.yml`` file, those tests will be executed at each pipeline trigger."
msgstr ""

2 changes: 1 addition & 1 deletion src/locale/fr/LC_MESSAGES/developer/first-steps/docker.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: roadiz-cms-documentation\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-23 22:16+0200\n"
"PO-Revision-Date: 2021-06-11 11:38\n"
"PO-Revision-Date: 2022-07-22 13:55\n"
"Last-Translator: \n"
"Language-Team: French\n"
"MIME-Version: 1.0\n"
Expand Down
4 changes: 2 additions & 2 deletions src/locale/fr/LC_MESSAGES/developer/first-steps/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: roadiz-cms-documentation\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-23 22:16+0200\n"
"PO-Revision-Date: 2021-06-11 11:38\n"
"POT-Creation-Date: 2022-08-05 11:31+0200\n"
"PO-Revision-Date: 2022-08-05 10:32\n"
"Last-Translator: \n"
"Language-Team: French\n"
"MIME-Version: 1.0\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: roadiz-cms-documentation\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-23 22:16+0200\n"
"PO-Revision-Date: 2021-06-11 12:13\n"
"PO-Revision-Date: 2022-07-22 13:55\n"
"Last-Translator: \n"
"Language-Team: French\n"
"MIME-Version: 1.0\n"
Expand Down
86 changes: 17 additions & 69 deletions src/locale/fr/LC_MESSAGES/developer/first-steps/installation.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: roadiz-cms-documentation\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-23 22:16+0200\n"
"PO-Revision-Date: 2021-06-11 11:44\n"
"POT-Creation-Date: 2022-08-05 11:31+0200\n"
"PO-Revision-Date: 2022-08-05 10:32\n"
"Last-Translator: \n"
"Language-Team: French\n"
"MIME-Version: 1.0\n"
Expand All @@ -18,78 +18,26 @@ msgstr ""
"Language: fr_FR\n"

#: ../../src/developer/first-steps/installation.rst:5
msgid "Install Roadiz Standard Edition"
msgstr "Installer Roadiz Standard Edition"
msgid "Create a new Roadiz project"
msgstr ""

#: ../../src/developer/first-steps/installation.rst:7
msgid "For new projects **Roadiz** can be easily setup using ``create-project`` command."
msgstr "Pour les nouveaux projets **Roadiz** peut être facilement configuré en utilisant la commande ``create-project``."

#: ../../src/developer/first-steps/installation.rst:24
msgid "*Composer* will prompt you if you want to can versioning history. Choose the default answer ``no`` as we definitely want to replace *standard-edition* *Git* with our own versioning. Then you will be able to customize every files in your projects and save them using Git, not only your theme. Of course we added a default ``.gitignore`` file to prevent your configuration setting and entry points to be commited in your *Git* history. That way you can have different configuration on development and on your production server without bothering about merge conflicts."
msgstr "*Composer* vous demandera si vous voulez conserver l'historique Git. Choisissez la réponse par défaut ``no`` car nous voulons absolument remplacer l'historique Git de la *standard-edition* par notre propre dépôt. Vous serez alors en mesure de personnaliser tous les fichiers de vos projets et de les enregistrer en utilisant Git, pas seulement votre thème. Bien sûr, nous avons ajouté un fichier ``.gitignore`` par défaut pour empêcher que vos paramètres de configuration et vos points d'entrée ne soient ajoutés dans votre historique *Git*. De cette façon, vous pouvez avoir une configuration différente sur l'environement de développement et sur votre serveur de production sans vous soucier des conflits de fusion."

#: ../../src/developer/first-steps/installation.rst:32
msgid "For *Windows* users, ``bin/console themes:generate --symlink --relative FooBar`` command can be used without ``--relative`` option to create **absolute symlinks**. You can even install your theme assets as *hard copies* without ``--symlink`` option. Make sure that you call regularly ``bin/console themes:assets:install FooBar`` when using *hard copy* mode to update your assets. You should use *symlinks* if possible to prevent update issues."
msgstr "Pour les utilisateurs de *Windows*, la commande ``bin/console themes:generate --symlink --relative FooBar`` peut être utilisée sans l'option ``--relative`` pour créer des **liens symboliques absolus**. Vous pouvez même installer les ressources de votre thème en tant que *hard copy* sans option ``--symlink``. Assurez-vous d'exécuter régulièrement ``bin/console themes:assets:install FooBar`` lorsque vous utilisez le mode *hard copy* pour mettre à jour vos ressources. Vous devriez utiliser des *liens symboliques* dès que possible pour éviter les problèmes de mise à jour."

#: ../../src/developer/first-steps/installation.rst:40
msgid "Dealing with Roadiz environments"
msgstr "Travailler avec les environnements Roadiz"

#: ../../src/developer/first-steps/installation.rst:45
msgid "Installation environment"
msgstr "Environnement d'installation"
msgid "For new projects **Roadiz** can be easily setup using ``create-project`` command and our *Skeleton*."
msgstr ""

#: ../../src/developer/first-steps/installation.rst:47
msgid "Once you’ve succeeded to download Roadiz and its dependencies. You’ll have to setup its database and every information needed to begin your website."
msgstr "Une fois que vous avez réussi à télécharger Roadiz et ses dépendances, vous devrez configurer sa base de données et toutes les informations nécessaires pour démarrer votre site Web."
#: ../../src/developer/first-steps/installation.rst:22
msgid "*Composer* will prompt you if you want to can versioning history. Choose the default answer ``no`` as we definitely want to replace *roadiz/skeleton* *Git* with our own versioning. Then you will be able to customize every files in your projects and save them using Git, not only your theme. Of course we added a default ``.gitignore`` file to prevent your configuration setting and entry points to be committed in your *Git* history. That way you can have different configuration on development and on your production server without bothering about merge conflicts."
msgstr ""

#: ../../src/developer/first-steps/installation.rst:50
msgid "As every *Symfony* applications do, *Roadiz* works using environments. By default, there is a *production* environment which is handled by ``index.php`` entry point. At this moment, if you try to connect to your fresh new Roadiz website, you will get an error as we did not install its database and its essential data."
msgstr "Comme toutes les applications *Symfony*, *Roadiz* fonctionne en utilisant des environnements. Par défaut, il y a un environnement *production* qui est géré par le point d'entrée ``index.php``. En ce moment, si vous essayez de vous connecter à votre nouveau site web Roadiz, vous obtiendrez une erreur car nous n'avons pas installé sa base de données et ses données essentielles."
#: ../../src/developer/first-steps/installation.rst:29
msgid "Generate JWT private and public keys"
msgstr ""

#: ../../src/developer/first-steps/installation.rst:54
msgid "To be able to use Roadiz *install interface*, you’ll need to call the *install* entry point. An ``install.php`` file has been generated when you executed ``composer install`` command. This environment will be reachable at the Url ``http://mywebsite.com/install.php``."
msgstr "Pour pouvoir utiliser l'interface d'installation de Roadiz *installation*, vous devrez appeler le point d'entrée ``install.php``. Ce fichier a été généré lorsque vous avez exécuté la commande ``composer install``. Cet environnement sera accessible à l'adresse ``http://mywebsite.com/install.php``."
#: ../../src/developer/first-steps/installation.rst:41
msgid "Install database"
msgstr ""

#: ../../src/developer/first-steps/installation.rst:57
msgid "For security reasons, we added an IP filtering in this entry point, you can add your own IP address in the following array: ``array('127.0.0.1', 'fe80::1', '::1', ':ffff:127.0.0.1', '::ffff:127.0.0.1')``. This IP filtering is very important if you are working on a public server, no one except you should be able to access *install* entry point."
msgstr "Pour des raisons de sécurité, nous avons activé un filtrage d'IP pour ce point d'entrée, vous pouvez ajouter votre propre adresse IP dans le tableau suivant : ``array('127. .0.1', 'fe80::1', '::1', ':ffff:127. .0.1', '::ffff:127.0.0.1')``. Ce filtrage IP est très important si vous travaillez sur un serveur public, personne à part vous ne devrait pouvoir accéder au point d'entrée *install*."

#: ../../src/developer/first-steps/installation.rst:59
msgid "At the end of the install process, you will be invited to remove the ``install.php`` file and to connect to your website final URL."
msgstr "À la fin du processus d'installation, vous serez invité à supprimer le fichier ``install.php`` et à vous connecter à l'URL finale de votre site."

#: ../../src/developer/first-steps/installation.rst:63
msgid "Development environment"
msgstr "Environnement de développement"

#: ../../src/developer/first-steps/installation.rst:64
msgid "Roadiz *production* environment is not made for developing your own themes and extending back-office features. As the same way as *install* environment, we prepared a *dev* environment to disable resources caching and enable debug features. You’ll find a ``dev.php`` file at your website root which was generated at ``composer install`` command. As well as *install.php* entry point, you’ll need to add your own IP address to filter who can access to your *dev* environment."
msgstr "L'environnement de *production* de Roadiz n'est pas conçu pour développer vos propres thèmes et étendre les fonctionnalités du back-office. De la même manière que l'environnement *install*, nous avons préparé un environnement *dev* pour désactiver la mise en cache des ressources et activer les fonctionnalités de débogage. Vous trouverez un fichier ``dev.php`` à la racine de votre site web qui a été généré à la commande ``composer install``. De la même manière que pour *install.php*, vous devrez ajouter votre propre adresse IP pour filtrer qui peut accéder à votre environnement *dev*."

#: ../../src/developer/first-steps/installation.rst:70
msgid "Preview environment"
msgstr "Environnement de prévisualisation"

#: ../../src/developer/first-steps/installation.rst:71
msgid "The *preview* environment is not a real one as it only adds a flag to Roadiz’ Kernel to enable back-office users to see unpublished nodes. By default, it is available using ``preview.php`` entry point, unless you decide to remove it."
msgstr "L'environnement *preview* n'est pas un vrai car il ajoute seulement un drapeau au noyau de Roadiz pour permettre aux utilisateurs du back-office de voir les nœuds non publiés. Par défaut, il est disponible en utilisant le point d'entrée ``preview.php``, sauf si vous décidez de le supprimer."

#: ../../src/developer/first-steps/installation.rst:76
msgid "Production environment"
msgstr "Environnement de production"

#: ../../src/developer/first-steps/installation.rst:77
msgid "This is the default ``index.php`` entry point which will be called by all your visitors. There is no restriction on it and it will wake up Roadiz application using the strongest caching policies. So it’s not recommended for development usage (you would have to flush caches each time your change something in the code)."
msgstr "C'est le point d'entrée ``index.php`` par défaut qui sera appelé par tous vos visiteurs. Il n'y a pas de restriction à ce sujet et il lancera l'application Roadiz en utilisant les politiques de mise en cache les plus fortes. Il n'est donc pas recommandé d'utiliser pour le développement (vous devrez vider les caches chaque fois que vous changez quelque chose dans le code)."

#: ../../src/developer/first-steps/installation.rst:83
msgid "Clear cache environment"
msgstr "Environnement pour le vidage du cache"

#: ../../src/developer/first-steps/installation.rst:84
msgid "The *clear_cache* environment is only meant to empty Roadiz cache without waking up the whole application. It can be useful if you are using a op-code cache like *APC* or native PHP *OPcache*. These special caches can’t be purged from command line utilities, so you need to call a PHP script from your browser or via ``curl`` to empty them. Like *install* and *dev* environment, ``clear_cache.php`` is IP-restricted not to allow everyone to flush your dear caches. You’ll need to add your own IP address to filter who can access it."
msgstr "L'environnement *clear_cache* est uniquement destiné à vider le cache Roadiz sans exécuter toute l'application. Il peut être utile si vous utilisez un cache op-code comme *APC* ou PHP natif *OPcache*. Ces caches spécials ne peuvent pas être purgées depuis utilitaires en ligne de commande, donc vous devez appeler un script PHP depuis votre navigateur ou via ``curl`` pour les vider. Comme l'environnement *install* et *dev*, ``clear_cache.php`` est restreint par IP pour ne pas permettre à tout le monde de vider vos caches applicatifs. Vous devrez ajouter votre propre adresse IP pour filtrer qui peut y accéder."
msgid "Then connect to ``http://localhost:YOUR_PORT/rz-admin`` to access your freshly-created Roadiz backoffice."
msgstr ""

0 comments on commit 11b19ff

Please sign in to comment.