Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.theme.yml
1 description: 'Generate a theme.'
2 help: 'The <info>generate:theme</info> command helps you generates a new theme.'
3 welcome: 'Welcome to the Drupal theme generator'
4 options:
5   theme: 'The theme name'
6   machine-name: 'The machine name (lowercase and underscore only)'
7   theme-path: 'The path of the theme'
8   description: 'Theme description'
9   core: 'Core version'
10   package: 'Theme package'
11   composer: 'Add a composer.json file'
12   base-theme: 'Base theme (i.e. classy, stable)'
13   global-library: 'Global styling library name'
14   libraries: 'Libraries'
15   regions: Regions
16   breakpoints: Breakpoints
17 questions:
18   theme: 'Enter the new theme name'
19   machine-name: 'Enter the theme machine name'
20   theme-path: 'Enter the theme Path'
21   description: 'Enter theme description'
22   core: 'Enter Drupal Core version'
23   package: 'Enter package name'
24   dependencies: 'Would you like to add module dependencies?'
25   invalid-theme: 'Invalid "%s" theme was selected'
26   global-library: 'Enter the global styling library name'
27   library-add: 'Do you want to add another library?'
28   library-name: 'Enter library name'
29   library-version: 'Enter library version'
30   regions: 'Do you want to generate the theme regions?'
31   region-name: 'Enter region name'
32   region-machine-name: 'Enter region machine name'
33   region-add: 'Do you want to add another region?'
34   breakpoints: 'Do you want to generate the theme breakpoints?'
35   breakpoint-name: 'Enter breakpoint name'
36   breakpoint-label: 'Enter breakpoint label'
37   breakpoint-media-query: 'Enter breakpoint media query'
38   breakpoint-weight: 'Enter breakpoint weight'
39   breakpoint-multipliers: 'Enter breakpoint multipliers'
40   breakpoint-add: 'Do you want to add another breakpoint?'
41 suggestions:
42   my-awesome-theme: 'My Awesome theme'
43   other: 'Other'
44 warnings:
45   module-unavailable: 'Warning The following modules are not available in your local environment "%s"'
46 errors:
47   directory-exists: 'The target directory "%s" is not empty.'
48 examples:
49   - description: 'Generate a theme without region and without breakpoint specifying the theme name, its machine name, the theme path, a description, the drupal core, the package name and the global library'
50     execution: |
51       drupal generate:theme  \
52         --theme="AnotherTheme"  \
53         --machine-name="anothertheme"  \
54         --theme-path="themes/custom"  \
55         --description="My Awesome theme"  \
56         --core="8.x"  \
57         --package="PackageName"  \
58         --global-library="global-styling"  \
59         --base-theme="false"
60   - description: 'Generate a theme base on stable theme with two region defined and one breakpoint specifying the theme name, its machine name, the theme path, a description, the drupal core, the package name, a global library, its base, the regions and the breakpoint'
61     execution: |
62       drupal generate:theme \
63         --theme="MyTheme" \
64         --machine-name="mytheme" \
65         --theme-path="themes/custom" \
66         --description="My Awesome theme" \
67         --core="8.x" \
68         --package="MyThemePackage" \
69         --global-library="global-styling" \
70         --base-theme="stable" \
71         --regions='"region_name":"Content", "region_machine_name":"content"' \
72         --regions='"region_name":"Panel", "region_machine_name":"panel"' \
73         --breakpoints='"breakpoint_name":"narrow", "breakpoint_label":"narrow", "breakpoint_media_query":"all and (min-width: 560px) and (max-width: 850px)", "breakpoint_weight":"1", "breakpoint_multipliers":"1x"'