Plugin Directory

Changeset 1427853


Ignore:
Timestamp:
05/31/2016 08:46:47 PM (10 years ago)
Author:
jjchinquist
Message:

Strings translated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • oewa/trunk/oewa.php

    r1401292 r1427853  
    134134    }
    135135   
     136    /**
     137     * Deactivation
     138     *
     139     * @author jjchinquist
     140     */
    136141    public function deactivate_oewa() {
    137142       
     
    271276        $createThisManyBlanks = 5;
    272277       
    273         // @todo: translation
    274278        ?>
    275             <p>Enter any number of path to category mappings. If additional rows are required, then submit the form and rows will be added. Paths <strong>may not</strong>
    276             start or end with &quot;/&quot;.</p>
    277             <p><strong>Important!</strong></p>
     279            <p><?php echo __('Enter any number of path to category mappings. If additional rows are required, then submit the form and rows will be added. Paths <strong>may not</strong>
     280            start or end with &quot;/&quot;.', 'oewa'); ?></p>
     281            <p><strong><?php echo __('Important!'); ?></strong></p>
    278282            <ol>
    279                 <li>The form will automatically throw out any unmatched pairs. If either the path or the category column are empty in a single row, then the row will be skipped.</li>
    280                 <li>Do not include the Protocol and Domain. The URL Path must be relative to the site_url() path <i><?php echo site_url() . ('/' === substr(site_url(), -1) ? '' : '/'); ?></i>.</li>
    281                 <li>If two patterns match a URL, then the one that is higher in this list will be used.</li>
    282                 <li>If you are using post translations, then manage both URL schemes that are created.</li>
    283                 <li>Lastly, please read the readme.txt concerning ÖWA audits and failure to comply to proper website categorization.</li>
     283                <li><?php echo __('The form will automatically throw out any unmatched pairs. If either the path or the category column are empty in a single row, then the row will be skipped.', 'oewa'); ?></li>
     284                <li><?php echo __('Do not include the Protocol and Domain. The URL Path must be relative to the site_url() path', 'oewa'); ?> <i><?php echo site_url() . ('/' === substr(site_url(), -1) ? '' : '/'); ?></i>.</li>
     285                <li><?php echo __('If two patterns match a URL, then the one that is higher in this list will be used.', 'oewa'); ?></li>
     286                <li><?php echo __('If you are using post translations, then manage both URL schemes that are created.', 'oewa'); ?></li>
     287                <li><?php echo __('Lastly, please read the readme.txt concerning ÖWA audits and failure to comply to proper website categorization.', 'oewa'); ?></li>
    284288            </ol>
    285             <p>Example url paths</p>
     289            <p><?php echo __('Examples'); ?></p>
    286290            <ol>
    287                 <li>&quot;<strong>about/faq</strong>&quot;: matches the exact URL &quot;<i>/about/faq</i>&quot;</li>
    288                 <li>&quot;<strong>about/*</strong>&quot;: matches pages such as &quot;<i>about/faq</i>&quot; or &quot;<i>about/testing/unit-testing/faqs</i>&quot;
    289                     but would not match &quot;<i>about</i>&quot;</li>
    290                 <li>&quot;<strong>about/*/faq</strong>&quot;: matches pages such as &quot;<i>about/testing/faq</i>&quot; or &quot;<i>about/testing/unit-testing/faqs</i>&quot;
    291                     but would not match &quot;<i>about/faqs</i>&quot;</li>
     291                <li><?php echo __('&quot;<strong>about/faq</strong>&quot;: matches the exact URL &quot;<i>/about/faq</i>&quot;', 'oewa'); ?></li>
     292                <li><?php echo __('&quot;<strong>about/*</strong>&quot;: matches pages such as &quot;<i>about/faq</i>&quot; or &quot;<i>about/testing/unit-testing/faqs</i>&quot;
     293                    but would not match &quot;<i>about</i>&quot;', 'oewa'); ?></li>
     294                <li><?php echo __('&quot;<strong>about/*/faq</strong>&quot;: matches pages such as &quot;<i>about/testing/faq</i>&quot; or &quot;<i>about/testing/unit-testing/faqs</i>&quot;
     295                    but would not match &quot;<i>about/faqs</i>&quot;', 'oewa'); ?></li>
    292296            </ol>
    293297            <table style="witdth: 100%;">
     
    295299                   <th></th>
    296300                   <th>URL Path (wildcard = *)</th>
    297                    <th>Category string</th>
     301                   <th><?php echo __('Category'); ?></th>
    298302                </tr>
    299303                <?php if ($count) : ?>
Note: See TracChangeset for help on using the changeset viewer.