Changeset 44366
- Timestamp:
- 12/28/2018 01:52:31 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r44360 r44366 31 31 32 32 // Die with an error message 33 $die = sprintf( 34 /* translators: %1$s: WordPress */ 35 __( 'You are running %1$s without JavaScript and CSS files. These need to be built.' ), 36 'WordPress' 33 $die = __( 'You are running WordPress without JavaScript and CSS files. These need to be built.' ) . '</p>'; 34 35 $die .= '<p>' . sprintf( 36 /* translators: %s: npm install */ 37 __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running %s.' ), 38 '<code style="color: green;">npm install</code>' 37 39 ) . '</p>'; 38 40 39 $die .= '<p>' . __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running ' );40 $die .= '<code style="color: green;">npm install</code>.</p>';41 42 41 $die .= '<ul>'; 43 $die .= '<li>' . sprintf( 44 /* translators: %s: WordPress */ 45 __( 'To build %s while developing run:' ), 46 'WordPress' 47 ) . '<br /><br />'; 42 $die .= '<li>' . __( 'To build WordPress while developing, run:' ) . '<br /><br />'; 48 43 $die .= '<code style="color: green;">grunt build --dev</code></li>'; 49 $die .= '<li>' . sprintf( 50 __( 'To build files automatically when changing the source files run:' ), 51 'WordPress' 52 ) . '<br /><br />'; 44 $die .= '<li>' . __( 'To build files automatically when changing the source files, run:' ) . '<br /><br />'; 53 45 $die .= '<code style="color: green;">grunt watch</code></li>'; 54 $die .= '<li>' . sprintf( 55 __( 'To create a production build of %s run:' ), 56 'WordPress' 57 ) . '<br /><br />'; 46 $die .= '<li>' . __( 'To create a production build of WordPress, run:' ) . '<br /><br />'; 58 47 $die .= '<code style="color: green;">grunt build</code></li>'; 59 48 $die .= '</ul>'; 60 49 61 62 50 $die .= '<p>' . sprintf( 63 /* translators: %1$s: NPM URL, %2$s: GruntURL */51 /* translators: 1: NPM URL, 2: Grunt URL, 3: Handbook URL */ 64 52 __( 'This requires <a href="%1$s">NPM</a> and <a href="%2$s">Grunt</a>. <a href="%3$s">Read more about setting up your local development environment</a>.' ), 65 53 'https://www.npmjs.com/', -
trunk/src/wp-admin/index.php
r44360 r44366 31 31 32 32 // Die with an error message 33 $die = sprintf( 34 /* translators: %1$s: WordPress */ 35 __( 'You are running %1$s without JavaScript and CSS files. These need to be built.' ), 36 'WordPress' 33 $die = __( 'You are running WordPress without JavaScript and CSS files. These need to be built.' ) . '</p>'; 34 35 $die .= '<p>' . sprintf( 36 /* translators: %s: npm install */ 37 __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running %s.' ), 38 '<code style="color: green;">npm install</code>' 37 39 ) . '</p>'; 38 40 39 $die .= '<p>' . __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running ' );40 $die .= '<code style="color: green;">npm install</code>.</p>';41 42 41 $die .= '<ul>'; 43 $die .= '<li>' . sprintf( 44 /* translators: %s: WordPress */ 45 __( 'To build %s while developing run:' ), 46 'WordPress' 47 ) . '<br /><br />'; 42 $die .= '<li>' . __( 'To build WordPress while developing, run:' ) . '<br /><br />'; 48 43 $die .= '<code style="color: green;">grunt build --dev</code></li>'; 49 $die .= '<li>' . sprintf( 50 __( 'To build files automatically when changing the source files run:' ), 51 'WordPress' 52 ) . '<br /><br />'; 44 $die .= '<li>' . __( 'To build files automatically when changing the source files, run:' ) . '<br /><br />'; 53 45 $die .= '<code style="color: green;">grunt watch</code></li>'; 54 $die .= '<li>' . sprintf( 55 __( 'To create a production build of %s run:' ), 56 'WordPress' 57 ) . '<br /><br />'; 46 $die .= '<li>' . __( 'To create a production build of WordPress, run:' ) . '<br /><br />'; 58 47 $die .= '<code style="color: green;">grunt build</code></li>'; 59 48 $die .= '</ul>'; 60 49 61 62 50 $die .= '<p>' . sprintf( 63 /* translators: %1$s: NPM URL, %2$s: GruntURL */64 51 /* translators: 1: NPM URL, 2: Grunt URL, 3: Handbook URL */ 52 __( 'This requires <a href="%1$s">NPM</a> and <a href="%2$s">Grunt</a>. <a href="%3$s">Read more about setting up your local development environment</a>.' ), 65 53 'https://www.npmjs.com/', 66 54 'https://gruntjs.com/',
Note: See TracChangeset
for help on using the changeset viewer.