-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
71c9d5c
commit 903f836
Showing
49 changed files
with
7,139 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) 2020, Ambroise Maupate & Julien Blanchet | ||
# This file is distributed under the same license as the Roadiz documentation package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Roadiz documentation 1.5.3\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-09-23 22:16+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: ../../src/developer/attributes/index.rst:3 | ||
msgid "Attributes" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:5 | ||
msgid "Attributes are entities meant to qualify features on other entities, such as *nodes*. The main difference between *tags* and *attributes* is that you can set a value for each attributed *node*." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:13 | ||
msgid "The attribute \"Color\" can be set to \"red\" for one node and set to \"green\" for an other one." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:15 | ||
msgid "Okay, but now what is the difference between *attributes* and node-type fields? Not so much because node-type fields describe your node' features too, but they are fixed and defined by the developer. Once your node-type fields are created, you have to implement your feature in your *Twig* templates, and translate it in your XLF files too." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:20 | ||
msgid "Attributes are meant to be created and added by editors so they can use them in your website lifecycle without needing any further development." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:23 | ||
msgid "From the developer perspective, attributes are just a collection of entities to be displayed in a loop. Then your editor can create new ones and be sure they will be displayed without any additional development." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:51 | ||
msgid "If you grouped your attributes, you can use ``grouped_attributes`` filter instead:" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:88 | ||
msgid "Attributes types" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:93 | ||
msgid "*String*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:94 | ||
msgid "*Date*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:95 | ||
msgid "*Date and time*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:96 | ||
msgid "*Single choice*: choice among defined options in your attribute" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:97 | ||
msgid "*Boolean*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:98 | ||
msgid "*Integer*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:99 | ||
msgid "*Decimal*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:100 | ||
msgid "*Email*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:101 | ||
msgid "*Color*" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:102 | ||
msgid "*Country*: ISO 2-letters country code" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:105 | ||
msgid "Add attributes to nodes" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:107 | ||
msgid "*Attribute* section is available for any node in any translations." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:113 | ||
msgid "Twig extension" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:115 | ||
msgid "Several filters and tests are available to ease up templating with *attributes*:" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:118 | ||
msgid "Filters" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:120 | ||
msgid "``attributes``: same as ``node_source_attributes()`` method, get all available attributes from a ``NodesSources``." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:121 | ||
msgid "``grouped_attributes``: same as ``node_source_grouped_attributes()`` method, get all available attributes from a ``NodesSources`` and gather them into their **group**." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:122 | ||
msgid "``attribute_label(translation)``: get attribute translated ``label`` or ``code`` if not translated." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:123 | ||
msgid "``attribute_group_label(translation)``: get attribute group translated ``name`` or ``canonicalName`` if not translated." | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:126 | ||
msgid "Tests" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:128 | ||
msgid "``datetime``" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:129 | ||
msgid "``date``" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:130 | ||
msgid "``country``" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:131 | ||
msgid "``boolean``" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:132 | ||
msgid "``choice``" | ||
msgstr "" | ||
|
||
#: ../../src/developer/attributes/index.rst:133 | ||
msgid "``enum``" | ||
msgstr "" |
121 changes: 121 additions & 0 deletions
121
i18n/locale/developer/case-studies/download-to-vagrant.pot
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,121 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) 2020, Ambroise Maupate & Julien Blanchet | ||
# This file is distributed under the same license as the Roadiz documentation package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Roadiz documentation 1.5.3\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-09-23 22:16+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:5 | ||
msgid "Download a website on my computer to work with Vagrant" | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:7 | ||
msgid "This case study is meant to get a fresh development environment from an **existing** Roadiz **Source edition** website and theme. Following code snippets are using some variables data, in theses examples I’ll use:" | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:10 | ||
msgid "``MYUSER`` as the MySQL database user." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:11 | ||
msgid "``MYPASSWORD`` as the MySQL database user password." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:12 | ||
msgid "``MYDATABASE`` as the MySQL database name." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:13 | ||
msgid "``~/Documents/Websites`` as the working directory on your own computer." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:14 | ||
msgid "``database-YYYY-mm-dd.sql`` is the mysql dump file name, replace ``YYYY-mm-dd`` with the current date." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:15 | ||
msgid "``mysuperwebsite`` is your website root folder." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:16 | ||
msgid "``git@github.com:johndoe/SuperTheme.git`` is an example *Github* repository for your theme." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:17 | ||
msgid "``SuperTheme`` is an example theme name and folder." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:20 | ||
msgid "On the production server:" | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:22 | ||
msgid "Generate a database dump on your production server." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:28 | ||
msgid "Then download it on your computer. You can also use *phpmyadmin* web tool to export your database tables. Make sure to disable *foreign key verification* and add the *DROP IF EXISTS* directive on *phpmyadmin* export form." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:33 | ||
msgid "On your computer:" | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:35 | ||
msgid "Clone Roadiz on your favorite folder, choose well between master or develop branch if you want the stable version or the latest features." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:44 | ||
msgid "Clone your website theme in Roadiz ``themes/`` folder, choose well your branch too. If you already have a *develop* branch, clone with ``-b develop`` option." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:52 | ||
msgid "**[Optional]** Initialize *git-flow* on the theme. You should always work on *develop*. *Master* branch is only for releases. If you don’t have *git-flow* on your computer, you can find some help on the `official documentation <http://danielkummer.github.io/git-flow-cheatsheet/>`_." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:64 | ||
msgid "Install Roadiz’ *Composer* dependencies (after cloning the theme to be sure that all *composer* dependencies are loaded)" | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:71 | ||
msgid "Launch your Vagrant environment. Do not to automatically provision your VM if you want to choose what tool to install." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:78 | ||
msgid "Choose tools to install on your VM, ``roadiz`` provisioner is mandatory… obviously, ``devtools`` provisioner will install *Composer*, *Node.js*, *Grunt* and *Bower* commands. If you have lots of website on your computer, it’s better to install these tools directly on your host machine, they will be more effective than on the VM. And you will be able to take advantage of *Composer* and *NPM* cache between your dev websites." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:91 | ||
msgid "Import your database dump. First, you’ll need to copy it into your Roadiz website to make it available within your Vagrant VM. Then import it in your VM using the ``mysql`` tool." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:105 | ||
msgid "Update your conf/config.yml file to fill in your mysql credentials." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:113 | ||
msgid "Use the ``bin/roadiz generate:nsentities`` to regenerate *Doctrine* entities existing in database but not as files." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:125 | ||
msgid "Download your production documents to your dev VM. You don’t have to do this within your VM." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:133 | ||
msgid "If you are using a Vagrant VM you have to add your IP address to the ``dev.php`` file to authorize your host computer to use the development environment." | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/download-to-vagrant.rst:135 | ||
msgid "11. Connect to ``http://localhost:8080/dev.php`` to begin. Every outgoing emails should be catched by *Mailcatcher*. You can see them at address ``http://localhost:1080``." | ||
msgstr "" |
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,25 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) 2020, Ambroise Maupate & Julien Blanchet | ||
# This file is distributed under the same license as the Roadiz documentation package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Roadiz documentation 1.5.3\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-09-23 22:16+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: ../../src/developer/case-studies/index.rst:4 | ||
msgid "Case studies" | ||
msgstr "" | ||
|
||
#: ../../src/developer/case-studies/index.rst:6 | ||
msgid "Some step-to-step guides to work with Roadiz." | ||
msgstr "" |
Oops, something went wrong.