Make WordPress Core

Ticket #53141: 53141.diff

File 53141.diff, 4.0 KB (added by sabernhardt, 3 years ago)
  • src/wp-admin/options-permalink.php

     
    360360<p>
    361361                                <?php
    362362                                printf(
    363                                         /* translators: 1: web.config, 2: Documentation URL, 3: CTRL + a, 4: Element code. */
    364                                         __( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it isn&#8217;t so this is the url rewrite rule you should have in your %1$s file. Click in the field and press %3$s to select all. Then insert this rule inside of the %4$s element in %1$s file.' ),
     363                                        /* translators: 1: web.config, 2: Documentation URL, 3: Element code. */
     364                                        __( 'Error: Your %1$s file is not <a href="%2$s">writable</a>, so updating it automatically was not possible. Select and copy the URL rewrite rule below, and insert the entire code inside the %3$s element in the %1$s file.' ),
    365365                                        '<code>web.config</code>',
    366366                                        __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    367                                         '<kbd>CTRL + a</kbd>',
    368367                                        '<code>/&lt;configuration&gt;/&lt;system.webServer&gt;/&lt;rewrite&gt;/&lt;rules&gt;</code>'
    369368                                );
    370369                                ?>
     
    377376                                <?php
    378377                                printf(
    379378                                        /* translators: %s: web.config */
    380                                         __( 'If you temporarily make your %s file writable for us to generate rewrite rules automatically, do not forget to revert the permissions after rule has been saved.' ),
     379                                        __( 'If you temporarily make your %s file writable to generate rewrite rules automatically, do not forget to revert the permissions after rule has been saved.' ),
    381380                                        '<code>web.config</code>'
    382381                                );
    383382                                ?>
     
    386385<p>
    387386                        <?php
    388387                        printf(
    389                                 /* translators: 1: Documentation URL, 2: web.config, 3: CTRL + a */
    390                                 __( 'If the root directory of your site was <a href="%1$s">writable</a>, we could do this automatically, but it isn&#8217;t so this is the url rewrite rule you should have in your %2$s file. Create a new file, called %2$s in the root directory of your site. Click in the field and press %3$s to select all. Then insert this code into the %2$s file.' ),
     388                                /* translators: 1: Documentation URL, 2: web.config */
     389                                __( 'Error: The root directory of your site is not <a href="%1$s">writable</a>, so creating a file automatically was not possible. Create a new file called %2$s in the root directory of your site. Then select and copy the URL rewrite rule below, and insert the entire code into the %2$s file.' ),
    391390                                __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    392                                 '<code>web.config</code>',
    393                                 '<kbd>CTRL + a</kbd>'
     391                                '<code>web.config</code>'
    394392                        );
    395393                        ?>
    396394</p>
     
    402400                        <?php
    403401                        printf(
    404402                                /* translators: %s: web.config */
    405                                 __( 'If you temporarily make your site&#8217;s root directory writable for us to generate the %s file automatically, do not forget to revert the permissions after the file has been created.' ),
     403                                __( 'If you temporarily make your site&#8217;s root directory writable to generate the %s file automatically, do not forget to revert the permissions after the file has been created.' ),
    406404                                '<code>web.config</code>'
    407405                        );
    408406                        ?>
     
    418416<p>
    419417                <?php
    420418                printf(
    421                         /* translators: 1: .htaccess, 2: Documentation URL, 3: CTRL + a */
    422                         __( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s to select all.' ),
     419                        /* translators: 1: .htaccess, 2: Documentation URL */
     420                        __( 'Error: Your %1$s file is not <a href="%2$s">writable</a>, so updating it automatically was not possible. Select and copy the mod_rewrite rules below, and insert the entire code inside the %1$s file.' ),
    423421                        '<code>.htaccess</code>',
    424                         __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    425                         '<kbd>CTRL + a</kbd>'
     422                        __( 'https://wordpress.org/support/article/changing-file-permissions/' )
    426423                );
    427424                ?>
    428425</p>