Plugin Directory

Changeset 2747998


Ignore:
Timestamp:
06/25/2022 09:10:07 PM (3 years ago)
Author:
ethitter
Message:

Update to version 0.6.3 from GitLab (https://git.ethitter.com/wp-plugins/wp-print-friendly; https://git.ethitter.com/wp-plugins/wp-print-friendly/-/jobs/19308)

Location:
wp-print-friendly
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-print-friendly/tags/0.6.3/default-template.php

    r2372020 r2747998  
    3131                    ?>
    3232
    33                     <p class="wpf-source"><strong>Source URL:</strong> <?php the_permalink(); ?></p>
     33                    <p class="wpf-source">
     34                        <?php
     35                            printf(
     36                                /* translators: 1. Post permalink. */
     37                                __(
     38                                    '<strong>Source URL:</strong> %1$s',
     39                                    'wp-print-friendly'
     40                                ),
     41                                get_the_permalink()
     42                            );
     43                        ?>
     44                    </p>
    3445
    3546                    <hr class="wpf-divider" />
     
    4051    ?>
    4152
    42         <p class="copyright">Copyright &copy;<?php echo date( 'Y' ); ?> <strong><?php bloginfo( 'name' ); ?></strong> unless otherwise noted.</p>
     53        <p class="copyright">
     54            <?php
     55                printf(
     56                    /* translators: 1. Copyright year, 2. Site name. */
     57                    __(
     58                        'Copyright &copy;%1$d %2$s unless otherwise noted.',
     59                        'wp-print-friendly'
     60                    ),
     61                    date( 'Y' ),
     62                    get_bloginfo( 'name' )
     63                );
     64            ?>
     65        </p>
    4366
    4467    </body>
  • wp-print-friendly/tags/0.6.3/languages/wp-print-friendly.pot

    r2740942 r2747998  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WP Print Friendly 0.6.2\n"
     5"Project-Id-Version: WP Print Friendly 0.6.3\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/wp-print-friendly\n"
    8 "POT-Creation-Date: 2022-06-11 18:14:57+00:00\n"
     8"POT-Creation-Date: 2022-06-25 21:01:31+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    2626"X-Generator: grunt-wp-i18n 1.0.3\n"
    2727
    28 #: wp-print-friendly.php:121
     28#: default-template.php:37
     29#. translators: 1. Post permalink.
     30msgid "<strong>Source URL:</strong> %1$s"
     31msgstr ""
     32
     33#: default-template.php:57
     34#. translators: 1. Copyright year, 2. Site name.
     35msgid "Copyright &copy;%1$d %2$s unless otherwise noted."
     36msgstr ""
     37
     38#: wp-print-friendly.php:128
    2939msgid "Print this entry"
    3040msgstr ""
    3141
    32 #: wp-print-friendly.php:122
     42#: wp-print-friendly.php:129
    3343msgid "Print this page"
    3444msgstr ""
    3545
    36 #: wp-print-friendly.php:126
     46#: wp-print-friendly.php:133
    3747msgid "Endnotes:"
    3848msgstr ""
    3949
    40 #: wp-print-friendly.php:671
     50#: wp-print-friendly.php:678
    4151msgid "Automatically add print links based on settings below?"
    4252msgstr ""
    4353
    44 #: wp-print-friendly.php:673 wp-print-friendly.php:737
     54#: wp-print-friendly.php:680 wp-print-friendly.php:744
    4555msgid "Yes"
    4656msgstr ""
    4757
    48 #: wp-print-friendly.php:674
     58#: wp-print-friendly.php:681
    4959msgid "No"
    5060msgstr ""
    5161
    52 #: wp-print-friendly.php:678
     62#: wp-print-friendly.php:685
    5363msgid "Automatically place link:"
    5464msgstr ""
    5565
    56 #: wp-print-friendly.php:680
     66#: wp-print-friendly.php:687
    5767msgid "Above content"
    5868msgstr ""
    5969
    60 #: wp-print-friendly.php:681
     70#: wp-print-friendly.php:688
    6171msgid "Below content"
    6272msgstr ""
    6373
    64 #: wp-print-friendly.php:682
     74#: wp-print-friendly.php:689
    6575msgid "Above and below content"
    6676msgstr ""
    6777
    68 #: wp-print-friendly.php:686
     78#: wp-print-friendly.php:693
    6979msgid "Display automatically on:"
    7080msgstr ""
    7181
    72 #: wp-print-friendly.php:699
     82#: wp-print-friendly.php:706
    7383msgid "Text for link to print entire item:"
    7484msgstr ""
    7585
    76 #: wp-print-friendly.php:705
     86#: wp-print-friendly.php:712
    7787msgid "Text for link to print current page:"
    7888msgstr ""
    7989
    80 #: wp-print-friendly.php:709
     90#: wp-print-friendly.php:716
    8191msgid ""
    8292"If viewing a multipage post (set by using the &lt;!--nextpage--&gt; tag), "
     
    8494msgstr ""
    8595
    86 #: wp-print-friendly.php:710
     96#: wp-print-friendly.php:717
    8797msgid "<strong>To hide this link,</strong> clear the field's contents."
    8898msgstr ""
    8999
    90 #: wp-print-friendly.php:714
     100#: wp-print-friendly.php:721
    91101msgid "CSS for print links:"
    92102msgstr ""
    93103
    94 #: wp-print-friendly.php:718
     104#: wp-print-friendly.php:725
    95105msgid ""
    96106"For page-specific print links, a second class, created by appending "
     
    98108msgstr ""
    99109
    100 #: wp-print-friendly.php:719
     110#: wp-print-friendly.php:726
    101111msgid ""
    102112"Be aware that Internet Explorer will only interpret the first two CSS "
     
    105115msgstr ""
    106116
    107 #: wp-print-friendly.php:723
     117#: wp-print-friendly.php:730
    108118msgid "Open print-friendly views:"
    109119msgstr ""
    110120
    111 #: wp-print-friendly.php:725
     121#: wp-print-friendly.php:732
    112122msgid "In the same window"
    113123msgstr ""
    114124
    115 #: wp-print-friendly.php:726
     125#: wp-print-friendly.php:733
    116126msgid "In a new window"
    117127msgstr ""
    118128
    119 #: wp-print-friendly.php:735
     129#: wp-print-friendly.php:742
    120130msgid "Include endnotes for links found in content?"
    121131msgstr ""
    122132
    123 #: wp-print-friendly.php:739
     133#: wp-print-friendly.php:746
    124134msgid ""
    125135"If enabled, content is automatically scanned for links and an endnote is "
     
    128138msgstr ""
    129139
    130 #: wp-print-friendly.php:743
     140#: wp-print-friendly.php:750
    131141msgid "Endnotes heading:"
    132142msgstr ""
    133143
    134 #: wp-print-friendly.php:747
     144#: wp-print-friendly.php:754
    135145msgid ""
    136146"If endnotes are enabled, the text entered above will be output above the "
     
    142152msgstr ""
    143153
    144 #: wp-print-friendly.php:883
     154#: wp-print-friendly.php:890
    145155msgid ""
    146156"You must refresh your site's permalinks before WP Print Friendly is fully "
     
    149159msgstr ""
    150160
    151 #: wp-print-friendly.php:885
     161#: wp-print-friendly.php:892
    152162msgid "When finished, click <a href=\"%s\">here</a> to hide this message."
    153163msgstr ""
  • wp-print-friendly/tags/0.6.3/readme.txt

    r2740942 r2747998  
    55Requires at least: 3.1
    66Tested up to: 6.0
    7 Stable tag: 0.6.2
     7Stable tag: 0.6.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5959
    6060== Changelog ==
     61
     62= 0.6.3 =
     63* Fix translation support.
    6164
    6265= 0.6.2 =
     
    155158== Upgrade Notice ==
    156159
     160= 0.6.3 =
     161Fixes translation support.
     162
    157163= 0.6.2 =
    158164Resolves a warning arising in PHP 7.3.
  • wp-print-friendly/tags/0.6.3/wp-print-friendly.php

    r2372020 r2747998  
    11<?php
    22// phpcs:ignoreFile -- legacy code in need of refactoring.
    3 /*
    4 Plugin Name: WP Print Friendly
    5 Plugin URI: http://oomphinc.com/plugins-modules/wp-print-friendly/
    6 Description: Extends WordPress' template system to support printer-friendly templates. Works with permalink structures to support nice URLs.
    7 Author: Erick Hitter, Steven K Word, and Oomph, Inc.
    8 Version: 0.6.2
    9 Author URI: http://oomphinc.com/
    10 Text Domain: wp_print_friendly
    11 
    12 This program is free software; you can redistribute it and/or modify
    13 it under the terms of the GNU General Public License as published by
    14 the Free Software Foundation; either version 2 of the License, or
    15 (at your option) any later version.
    16 
    17 This program is distributed in the hope that it will be useful,
    18 but WITHOUT ANY WARRANTY; without even the implied warranty of
    19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    20 GNU General Public License for more details.
    21 
    22 You should have received a copy of the GNU General Public License
    23 along with this program; if not, write to the Free Software
    24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    25 */
     3/**
     4 * Plugin Name: WP Print Friendly
     5 * Plugin URI: http://oomphinc.com/plugins-modules/wp-print-friendly/
     6 * Description: Extends WordPress' template system to support printer-friendly templates. Works with permalink structures to support nice URLs.
     7 * Author: Erick Hitter, Steven K Word, and Oomph, Inc.
     8 * Version: 0.6.3
     9 * Author URI: http://oomphinc.com/
     10 * Text Domain: wp-print-friendly
     11 * Domain Path: /languages/
     12 *
     13 * This program is free software; you can redistribute it and/or modify
     14 * it under the terms of the GNU General Public License as published by
     15 * the Free Software Foundation; either version 2 of the License, or
     16 * (at your option) any later version.
     17 *
     18 * This program is distributed in the hope that it will be useful,
     19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     21 * GNU General Public License for more details.
     22 *
     23 * You should have received a copy of the GNU General Public License
     24 * along with this program; if not, write to the Free Software
     25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     26 */
    2627
    2728class wp_print_friendly {
     
    114115     */
    115116    public function action_plugins_loaded() {
     117        load_plugin_textdomain(
     118            'wp-print-friendly',
     119            false,
     120            dirname( plugin_basename( __FILE__ ) ) . '/languages/'
     121        );
     122
    116123        // Populate default settings, with translation support
    117124        $this->settings_defaults = array(
     
    119126            'placement'       => 'below',
    120127            'post_types'      => array( 'post', 'page' ),
    121             'print_text'      => __( 'Print this entry', 'wp_print_friendly' ),
    122             'print_text_page' => __( 'Print this page', 'wp_print_friendly' ),
     128            'print_text'      => __( 'Print this entry', 'wp-print-friendly' ),
     129            'print_text_page' => __( 'Print this page', 'wp-print-friendly' ),
    123130            'css_class'       => 'print_link',
    124131            'link_target'     => 'same',
    125132            'endnotes'        => true,
    126             'endnotes_label'  => __( 'Endnotes:', 'wp_print_friendly' ),
     133            'endnotes_label'  => __( 'Endnotes:', 'wp-print-friendly' ),
    127134        );
    128135
     
    669676                <table class="form-table">
    670677                    <tr>
    671                         <th scope="row"><?php _e( 'Automatically add print links based on settings below?', 'wp_print_friendly' ); ?></th>
     678                        <th scope="row"><?php _e( 'Automatically add print links based on settings below?', 'wp-print-friendly' ); ?></th>
    672679                        <td>
    673                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-true" value="1"<?php checked( $options[ 'auto' ], true, true ); ?> /> <label for="auto-true"><?php _e( 'Yes', 'wp_print_friendly' ); ?></label><br />
    674                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-false" value="0"<?php checked( $options[ 'auto' ], false, true ); ?> /> <label for="auto-false"><?php _e( 'No', 'wp_print_friendly' ); ?></label>
     680                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-true" value="1"<?php checked( $options[ 'auto' ], true, true ); ?> /> <label for="auto-true"><?php _e( 'Yes', 'wp-print-friendly' ); ?></label><br />
     681                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-false" value="0"<?php checked( $options[ 'auto' ], false, true ); ?> /> <label for="auto-false"><?php _e( 'No', 'wp-print-friendly' ); ?></label>
    675682                        </td>
    676683                    </tr>
    677684                    <tr>
    678                         <th scope="row"><?php _e( 'Automatically place link:', 'wp_print_friendly' ); ?></th>
     685                        <th scope="row"><?php _e( 'Automatically place link:', 'wp-print-friendly' ); ?></th>
    679686                        <td>
    680                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-above" value="above"<?php checked( $options[ 'placement' ], 'above', true ); ?> /> <label for="placement-above"><?php _e( 'Above content', 'wp_print_friendly' ); ?></label><br />
    681                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-below" value="below"<?php checked( $options[ 'placement' ], 'below', true ); ?> /> <label for="placement-below"><?php _e( 'Below content', 'wp_print_friendly' ); ?></label><br />
    682                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-both" value="both"<?php checked( $options[ 'placement' ], 'both', true ); ?> /> <label for="placement-both"><?php _e( 'Above and below content', 'wp_print_friendly' ); ?></label>
     687                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-above" value="above"<?php checked( $options[ 'placement' ], 'above', true ); ?> /> <label for="placement-above"><?php _e( 'Above content', 'wp-print-friendly' ); ?></label><br />
     688                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-below" value="below"<?php checked( $options[ 'placement' ], 'below', true ); ?> /> <label for="placement-below"><?php _e( 'Below content', 'wp-print-friendly' ); ?></label><br />
     689                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-both" value="both"<?php checked( $options[ 'placement' ], 'both', true ); ?> /> <label for="placement-both"><?php _e( 'Above and below content', 'wp-print-friendly' ); ?></label>
    683690                        </td>
    684691                    </tr>
    685692                    <tr>
    686                         <th scope="row"><?php _e( 'Display automatically on:', 'wp_print_friendly' ); ?></th>
     693                        <th scope="row"><?php _e( 'Display automatically on:', 'wp-print-friendly' ); ?></th>
    687694                        <td>
    688695                            <?php foreach ( $post_types as $post_type ): ?>
     
    697704                <table class="form-table">
    698705                    <tr>
    699                         <th scope="row"><?php _e( 'Text for link to print entire item:', 'wp_print_friendly' ); ?></th>
     706                        <th scope="row"><?php _e( 'Text for link to print entire item:', 'wp-print-friendly' ); ?></th>
    700707                        <td>
    701708                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[print_text]" id="print_text" value="<?php echo esc_attr( $options[ 'print_text' ] ); ?>" style="width: 40%;" />
     
    703710                    </tr>
    704711                    <tr>
    705                         <th scope="row"><?php _e( 'Text for link to print current page:', 'wp_print_friendly' ); ?></th>
     712                        <th scope="row"><?php _e( 'Text for link to print current page:', 'wp-print-friendly' ); ?></th>
    706713                        <td>
    707714                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[print_text_page]" id="print_text_page" value="<?php echo esc_attr( $options[ 'print_text_page' ] ); ?>" style="width: 40%;" />
    708715
    709                             <p class="description"><?php _e( 'If viewing a multipage post (set by using the &lt;!--nextpage--&gt; tag), the text above is used for a link to print just the current page.', 'wp_print_friendly' ); ?></p>
    710                             <p class="description"><?php _e( '<strong>To hide this link,</strong> clear the field\'s contents.', 'wp_print_friendly' ); ?></p>
     716                            <p class="description"><?php _e( 'If viewing a multipage post (set by using the &lt;!--nextpage--&gt; tag), the text above is used for a link to print just the current page.', 'wp-print-friendly' ); ?></p>
     717                            <p class="description"><?php _e( '<strong>To hide this link,</strong> clear the field\'s contents.', 'wp-print-friendly' ); ?></p>
    711718                        </td>
    712719                    </tr>
    713720                    <tr>
    714                         <th scope="row"><?php _e( 'CSS for print links:', 'wp_print_friendly' ); ?></th>
     721                        <th scope="row"><?php _e( 'CSS for print links:', 'wp-print-friendly' ); ?></th>
    715722                        <td>
    716723                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[css_class]" id="css_class" value="<?php echo esc_attr( $options[ 'css_class' ] ); ?>" style="width: 40%;" />
    717724
    718                             <p class="description"><?php _e( 'For page-specific print links, a second class, created by appending <strong>_cur</strong> to the above text, is added to each link.', 'wp_print_friendly' ); ?></p>
    719                             <p class="description"><?php _e( 'Be aware that Internet Explorer will only interpret the first two CSS classes, so if multiple classes are entered above, the page-specific class may not be available in IE.', 'wp_print_friendly' ); ?></p>
     725                            <p class="description"><?php _e( 'For page-specific print links, a second class, created by appending <strong>_cur</strong> to the above text, is added to each link.', 'wp-print-friendly' ); ?></p>
     726                            <p class="description"><?php _e( 'Be aware that Internet Explorer will only interpret the first two CSS classes, so if multiple classes are entered above, the page-specific class may not be available in IE.', 'wp-print-friendly' ); ?></p>
    720727                        </td>
    721728                    </tr>
    722729                    <tr>
    723                         <th scope="row"><?php _e( 'Open print-friendly views:', 'wp_print_friendly' ); ?></th>
     730                        <th scope="row"><?php _e( 'Open print-friendly views:', 'wp-print-friendly' ); ?></th>
    724731                        <td>
    725                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-same" value="same"<?php checked( $options[ 'link_target' ], 'same', true ); ?> /> <label for="target-same"><?php _e( 'In the same window', 'wp_print_friendly' ); ?></label><br />
    726                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-new" value="new"<?php checked( $options[ 'link_target' ], 'new', true ); ?> /> <label for="target-new"><?php _e( 'In a new window', 'wp_print_friendly' ); ?></label>
     732                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-same" value="same"<?php checked( $options[ 'link_target' ], 'same', true ); ?> /> <label for="target-same"><?php _e( 'In the same window', 'wp-print-friendly' ); ?></label><br />
     733                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-new" value="new"<?php checked( $options[ 'link_target' ], 'new', true ); ?> /> <label for="target-new"><?php _e( 'In a new window', 'wp-print-friendly' ); ?></label>
    727734                        </td>
    728735                    </tr>
     
    733740                <table class="form-table">
    734741                    <tr>
    735                         <th scope="row"><?php _e( 'Include endnotes for links found in content?', 'wp_print_friendly' ); ?></th>
     742                        <th scope="row"><?php _e( 'Include endnotes for links found in content?', 'wp-print-friendly' ); ?></th>
    736743                        <td>
    737                             <input type="checkbox" name="<?php echo esc_attr( $this->settings_key ); ?>[endnotes]" id="endnotes" value="1"<?php checked( $options[ 'endnotes' ], true, true ); ?> /> <label for="endnotes"><?php _e( 'Yes', 'wp_print_friendly' ); ?></label>
    738 
    739                             <p class="description"><?php _e( 'If enabled, content is automatically scanned for links and an endnote is added for each link found. This can be helpful for users if your content includes many links.', 'wp_print_friendly' ); ?></p>
     744                            <input type="checkbox" name="<?php echo esc_attr( $this->settings_key ); ?>[endnotes]" id="endnotes" value="1"<?php checked( $options[ 'endnotes' ], true, true ); ?> /> <label for="endnotes"><?php _e( 'Yes', 'wp-print-friendly' ); ?></label>
     745
     746                            <p class="description"><?php _e( 'If enabled, content is automatically scanned for links and an endnote is added for each link found. This can be helpful for users if your content includes many links.', 'wp-print-friendly' ); ?></p>
    740747                        </td>
    741748                    </tr>
    742749                    <tr>
    743                         <th scope="row"><label for="endnotes-label"><?php _e( 'Endnotes heading:', 'wp_print_friendly' ); ?></label></th>
     750                        <th scope="row"><label for="endnotes-label"><?php _e( 'Endnotes heading:', 'wp-print-friendly' ); ?></label></th>
    744751                        <td>
    745752                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[endnotes_label]" class="regular-text code" id="endnotes-label" value="<?php echo esc_attr( $options[ 'endnotes_label' ] ); ?>" />
    746753
    747                             <p class="description"><?php _e( 'If endnotes are enabled, the text entered above will be output above the list of links.', 'wp_print_friendly' ); ?></p>
     754                            <p class="description"><?php _e( 'If endnotes are enabled, the text entered above will be output above the list of links.', 'wp-print-friendly' ); ?></p>
    748755                        </td>
    749756                    </tr>
     
    879886
    880887        <div id="wpf-rewrite-flush-warning" class="error fade">
    881             <p><strong><?php _e( 'WP Print Friendly', 'wp_print_friendly' ); ?></strong></p>
    882 
    883             <p><?php printf( __( 'You must refresh your site\'s permalinks before WP Print Friendly is fully activated. To do so, go to <a href="%s">Permalinks</a> and click the <strong><em>Save Changes</em></strong> button at the bottom of the screen.', 'wp_print_friendly' ), esc_url( admin_url( 'options-permalink.php' ) ) ); ?></p>
    884 
    885             <p><?php printf( __( 'When finished, click <a href="%s">here</a> to hide this message.', 'wp_print_friendly' ), esc_url( admin_url( add_query_arg( $this->notice_key, 1, 'index.php' ) ) ) ); ?></p>
     888            <p><strong><?php _e( 'WP Print Friendly', 'wp-print-friendly' ); ?></strong></p>
     889
     890            <p><?php printf( __( 'You must refresh your site\'s permalinks before WP Print Friendly is fully activated. To do so, go to <a href="%s">Permalinks</a> and click the <strong><em>Save Changes</em></strong> button at the bottom of the screen.', 'wp-print-friendly' ), esc_url( admin_url( 'options-permalink.php' ) ) ); ?></p>
     891
     892            <p><?php printf( __( 'When finished, click <a href="%s">here</a> to hide this message.', 'wp-print-friendly' ), esc_url( admin_url( add_query_arg( $this->notice_key, 1, 'index.php' ) ) ) ); ?></p>
    886893        </div>
    887894
  • wp-print-friendly/trunk/default-template.php

    r2372020 r2747998  
    3131                    ?>
    3232
    33                     <p class="wpf-source"><strong>Source URL:</strong> <?php the_permalink(); ?></p>
     33                    <p class="wpf-source">
     34                        <?php
     35                            printf(
     36                                /* translators: 1. Post permalink. */
     37                                __(
     38                                    '<strong>Source URL:</strong> %1$s',
     39                                    'wp-print-friendly'
     40                                ),
     41                                get_the_permalink()
     42                            );
     43                        ?>
     44                    </p>
    3445
    3546                    <hr class="wpf-divider" />
     
    4051    ?>
    4152
    42         <p class="copyright">Copyright &copy;<?php echo date( 'Y' ); ?> <strong><?php bloginfo( 'name' ); ?></strong> unless otherwise noted.</p>
     53        <p class="copyright">
     54            <?php
     55                printf(
     56                    /* translators: 1. Copyright year, 2. Site name. */
     57                    __(
     58                        'Copyright &copy;%1$d %2$s unless otherwise noted.',
     59                        'wp-print-friendly'
     60                    ),
     61                    date( 'Y' ),
     62                    get_bloginfo( 'name' )
     63                );
     64            ?>
     65        </p>
    4366
    4467    </body>
  • wp-print-friendly/trunk/languages/wp-print-friendly.pot

    r2740942 r2747998  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WP Print Friendly 0.6.2\n"
     5"Project-Id-Version: WP Print Friendly 0.6.3\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/wp-print-friendly\n"
    8 "POT-Creation-Date: 2022-06-11 18:14:57+00:00\n"
     8"POT-Creation-Date: 2022-06-25 21:01:31+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    2626"X-Generator: grunt-wp-i18n 1.0.3\n"
    2727
    28 #: wp-print-friendly.php:121
     28#: default-template.php:37
     29#. translators: 1. Post permalink.
     30msgid "<strong>Source URL:</strong> %1$s"
     31msgstr ""
     32
     33#: default-template.php:57
     34#. translators: 1. Copyright year, 2. Site name.
     35msgid "Copyright &copy;%1$d %2$s unless otherwise noted."
     36msgstr ""
     37
     38#: wp-print-friendly.php:128
    2939msgid "Print this entry"
    3040msgstr ""
    3141
    32 #: wp-print-friendly.php:122
     42#: wp-print-friendly.php:129
    3343msgid "Print this page"
    3444msgstr ""
    3545
    36 #: wp-print-friendly.php:126
     46#: wp-print-friendly.php:133
    3747msgid "Endnotes:"
    3848msgstr ""
    3949
    40 #: wp-print-friendly.php:671
     50#: wp-print-friendly.php:678
    4151msgid "Automatically add print links based on settings below?"
    4252msgstr ""
    4353
    44 #: wp-print-friendly.php:673 wp-print-friendly.php:737
     54#: wp-print-friendly.php:680 wp-print-friendly.php:744
    4555msgid "Yes"
    4656msgstr ""
    4757
    48 #: wp-print-friendly.php:674
     58#: wp-print-friendly.php:681
    4959msgid "No"
    5060msgstr ""
    5161
    52 #: wp-print-friendly.php:678
     62#: wp-print-friendly.php:685
    5363msgid "Automatically place link:"
    5464msgstr ""
    5565
    56 #: wp-print-friendly.php:680
     66#: wp-print-friendly.php:687
    5767msgid "Above content"
    5868msgstr ""
    5969
    60 #: wp-print-friendly.php:681
     70#: wp-print-friendly.php:688
    6171msgid "Below content"
    6272msgstr ""
    6373
    64 #: wp-print-friendly.php:682
     74#: wp-print-friendly.php:689
    6575msgid "Above and below content"
    6676msgstr ""
    6777
    68 #: wp-print-friendly.php:686
     78#: wp-print-friendly.php:693
    6979msgid "Display automatically on:"
    7080msgstr ""
    7181
    72 #: wp-print-friendly.php:699
     82#: wp-print-friendly.php:706
    7383msgid "Text for link to print entire item:"
    7484msgstr ""
    7585
    76 #: wp-print-friendly.php:705
     86#: wp-print-friendly.php:712
    7787msgid "Text for link to print current page:"
    7888msgstr ""
    7989
    80 #: wp-print-friendly.php:709
     90#: wp-print-friendly.php:716
    8191msgid ""
    8292"If viewing a multipage post (set by using the &lt;!--nextpage--&gt; tag), "
     
    8494msgstr ""
    8595
    86 #: wp-print-friendly.php:710
     96#: wp-print-friendly.php:717
    8797msgid "<strong>To hide this link,</strong> clear the field's contents."
    8898msgstr ""
    8999
    90 #: wp-print-friendly.php:714
     100#: wp-print-friendly.php:721
    91101msgid "CSS for print links:"
    92102msgstr ""
    93103
    94 #: wp-print-friendly.php:718
     104#: wp-print-friendly.php:725
    95105msgid ""
    96106"For page-specific print links, a second class, created by appending "
     
    98108msgstr ""
    99109
    100 #: wp-print-friendly.php:719
     110#: wp-print-friendly.php:726
    101111msgid ""
    102112"Be aware that Internet Explorer will only interpret the first two CSS "
     
    105115msgstr ""
    106116
    107 #: wp-print-friendly.php:723
     117#: wp-print-friendly.php:730
    108118msgid "Open print-friendly views:"
    109119msgstr ""
    110120
    111 #: wp-print-friendly.php:725
     121#: wp-print-friendly.php:732
    112122msgid "In the same window"
    113123msgstr ""
    114124
    115 #: wp-print-friendly.php:726
     125#: wp-print-friendly.php:733
    116126msgid "In a new window"
    117127msgstr ""
    118128
    119 #: wp-print-friendly.php:735
     129#: wp-print-friendly.php:742
    120130msgid "Include endnotes for links found in content?"
    121131msgstr ""
    122132
    123 #: wp-print-friendly.php:739
     133#: wp-print-friendly.php:746
    124134msgid ""
    125135"If enabled, content is automatically scanned for links and an endnote is "
     
    128138msgstr ""
    129139
    130 #: wp-print-friendly.php:743
     140#: wp-print-friendly.php:750
    131141msgid "Endnotes heading:"
    132142msgstr ""
    133143
    134 #: wp-print-friendly.php:747
     144#: wp-print-friendly.php:754
    135145msgid ""
    136146"If endnotes are enabled, the text entered above will be output above the "
     
    142152msgstr ""
    143153
    144 #: wp-print-friendly.php:883
     154#: wp-print-friendly.php:890
    145155msgid ""
    146156"You must refresh your site's permalinks before WP Print Friendly is fully "
     
    149159msgstr ""
    150160
    151 #: wp-print-friendly.php:885
     161#: wp-print-friendly.php:892
    152162msgid "When finished, click <a href=\"%s\">here</a> to hide this message."
    153163msgstr ""
  • wp-print-friendly/trunk/readme.txt

    r2740942 r2747998  
    55Requires at least: 3.1
    66Tested up to: 6.0
    7 Stable tag: 0.6.2
     7Stable tag: 0.6.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5959
    6060== Changelog ==
     61
     62= 0.6.3 =
     63* Fix translation support.
    6164
    6265= 0.6.2 =
     
    155158== Upgrade Notice ==
    156159
     160= 0.6.3 =
     161Fixes translation support.
     162
    157163= 0.6.2 =
    158164Resolves a warning arising in PHP 7.3.
  • wp-print-friendly/trunk/wp-print-friendly.php

    r2372020 r2747998  
    11<?php
    22// phpcs:ignoreFile -- legacy code in need of refactoring.
    3 /*
    4 Plugin Name: WP Print Friendly
    5 Plugin URI: http://oomphinc.com/plugins-modules/wp-print-friendly/
    6 Description: Extends WordPress' template system to support printer-friendly templates. Works with permalink structures to support nice URLs.
    7 Author: Erick Hitter, Steven K Word, and Oomph, Inc.
    8 Version: 0.6.2
    9 Author URI: http://oomphinc.com/
    10 Text Domain: wp_print_friendly
    11 
    12 This program is free software; you can redistribute it and/or modify
    13 it under the terms of the GNU General Public License as published by
    14 the Free Software Foundation; either version 2 of the License, or
    15 (at your option) any later version.
    16 
    17 This program is distributed in the hope that it will be useful,
    18 but WITHOUT ANY WARRANTY; without even the implied warranty of
    19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    20 GNU General Public License for more details.
    21 
    22 You should have received a copy of the GNU General Public License
    23 along with this program; if not, write to the Free Software
    24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    25 */
     3/**
     4 * Plugin Name: WP Print Friendly
     5 * Plugin URI: http://oomphinc.com/plugins-modules/wp-print-friendly/
     6 * Description: Extends WordPress' template system to support printer-friendly templates. Works with permalink structures to support nice URLs.
     7 * Author: Erick Hitter, Steven K Word, and Oomph, Inc.
     8 * Version: 0.6.3
     9 * Author URI: http://oomphinc.com/
     10 * Text Domain: wp-print-friendly
     11 * Domain Path: /languages/
     12 *
     13 * This program is free software; you can redistribute it and/or modify
     14 * it under the terms of the GNU General Public License as published by
     15 * the Free Software Foundation; either version 2 of the License, or
     16 * (at your option) any later version.
     17 *
     18 * This program is distributed in the hope that it will be useful,
     19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     21 * GNU General Public License for more details.
     22 *
     23 * You should have received a copy of the GNU General Public License
     24 * along with this program; if not, write to the Free Software
     25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     26 */
    2627
    2728class wp_print_friendly {
     
    114115     */
    115116    public function action_plugins_loaded() {
     117        load_plugin_textdomain(
     118            'wp-print-friendly',
     119            false,
     120            dirname( plugin_basename( __FILE__ ) ) . '/languages/'
     121        );
     122
    116123        // Populate default settings, with translation support
    117124        $this->settings_defaults = array(
     
    119126            'placement'       => 'below',
    120127            'post_types'      => array( 'post', 'page' ),
    121             'print_text'      => __( 'Print this entry', 'wp_print_friendly' ),
    122             'print_text_page' => __( 'Print this page', 'wp_print_friendly' ),
     128            'print_text'      => __( 'Print this entry', 'wp-print-friendly' ),
     129            'print_text_page' => __( 'Print this page', 'wp-print-friendly' ),
    123130            'css_class'       => 'print_link',
    124131            'link_target'     => 'same',
    125132            'endnotes'        => true,
    126             'endnotes_label'  => __( 'Endnotes:', 'wp_print_friendly' ),
     133            'endnotes_label'  => __( 'Endnotes:', 'wp-print-friendly' ),
    127134        );
    128135
     
    669676                <table class="form-table">
    670677                    <tr>
    671                         <th scope="row"><?php _e( 'Automatically add print links based on settings below?', 'wp_print_friendly' ); ?></th>
     678                        <th scope="row"><?php _e( 'Automatically add print links based on settings below?', 'wp-print-friendly' ); ?></th>
    672679                        <td>
    673                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-true" value="1"<?php checked( $options[ 'auto' ], true, true ); ?> /> <label for="auto-true"><?php _e( 'Yes', 'wp_print_friendly' ); ?></label><br />
    674                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-false" value="0"<?php checked( $options[ 'auto' ], false, true ); ?> /> <label for="auto-false"><?php _e( 'No', 'wp_print_friendly' ); ?></label>
     680                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-true" value="1"<?php checked( $options[ 'auto' ], true, true ); ?> /> <label for="auto-true"><?php _e( 'Yes', 'wp-print-friendly' ); ?></label><br />
     681                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[auto]" id="auto-false" value="0"<?php checked( $options[ 'auto' ], false, true ); ?> /> <label for="auto-false"><?php _e( 'No', 'wp-print-friendly' ); ?></label>
    675682                        </td>
    676683                    </tr>
    677684                    <tr>
    678                         <th scope="row"><?php _e( 'Automatically place link:', 'wp_print_friendly' ); ?></th>
     685                        <th scope="row"><?php _e( 'Automatically place link:', 'wp-print-friendly' ); ?></th>
    679686                        <td>
    680                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-above" value="above"<?php checked( $options[ 'placement' ], 'above', true ); ?> /> <label for="placement-above"><?php _e( 'Above content', 'wp_print_friendly' ); ?></label><br />
    681                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-below" value="below"<?php checked( $options[ 'placement' ], 'below', true ); ?> /> <label for="placement-below"><?php _e( 'Below content', 'wp_print_friendly' ); ?></label><br />
    682                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-both" value="both"<?php checked( $options[ 'placement' ], 'both', true ); ?> /> <label for="placement-both"><?php _e( 'Above and below content', 'wp_print_friendly' ); ?></label>
     687                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-above" value="above"<?php checked( $options[ 'placement' ], 'above', true ); ?> /> <label for="placement-above"><?php _e( 'Above content', 'wp-print-friendly' ); ?></label><br />
     688                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-below" value="below"<?php checked( $options[ 'placement' ], 'below', true ); ?> /> <label for="placement-below"><?php _e( 'Below content', 'wp-print-friendly' ); ?></label><br />
     689                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[placement]" id="placement-both" value="both"<?php checked( $options[ 'placement' ], 'both', true ); ?> /> <label for="placement-both"><?php _e( 'Above and below content', 'wp-print-friendly' ); ?></label>
    683690                        </td>
    684691                    </tr>
    685692                    <tr>
    686                         <th scope="row"><?php _e( 'Display automatically on:', 'wp_print_friendly' ); ?></th>
     693                        <th scope="row"><?php _e( 'Display automatically on:', 'wp-print-friendly' ); ?></th>
    687694                        <td>
    688695                            <?php foreach ( $post_types as $post_type ): ?>
     
    697704                <table class="form-table">
    698705                    <tr>
    699                         <th scope="row"><?php _e( 'Text for link to print entire item:', 'wp_print_friendly' ); ?></th>
     706                        <th scope="row"><?php _e( 'Text for link to print entire item:', 'wp-print-friendly' ); ?></th>
    700707                        <td>
    701708                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[print_text]" id="print_text" value="<?php echo esc_attr( $options[ 'print_text' ] ); ?>" style="width: 40%;" />
     
    703710                    </tr>
    704711                    <tr>
    705                         <th scope="row"><?php _e( 'Text for link to print current page:', 'wp_print_friendly' ); ?></th>
     712                        <th scope="row"><?php _e( 'Text for link to print current page:', 'wp-print-friendly' ); ?></th>
    706713                        <td>
    707714                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[print_text_page]" id="print_text_page" value="<?php echo esc_attr( $options[ 'print_text_page' ] ); ?>" style="width: 40%;" />
    708715
    709                             <p class="description"><?php _e( 'If viewing a multipage post (set by using the &lt;!--nextpage--&gt; tag), the text above is used for a link to print just the current page.', 'wp_print_friendly' ); ?></p>
    710                             <p class="description"><?php _e( '<strong>To hide this link,</strong> clear the field\'s contents.', 'wp_print_friendly' ); ?></p>
     716                            <p class="description"><?php _e( 'If viewing a multipage post (set by using the &lt;!--nextpage--&gt; tag), the text above is used for a link to print just the current page.', 'wp-print-friendly' ); ?></p>
     717                            <p class="description"><?php _e( '<strong>To hide this link,</strong> clear the field\'s contents.', 'wp-print-friendly' ); ?></p>
    711718                        </td>
    712719                    </tr>
    713720                    <tr>
    714                         <th scope="row"><?php _e( 'CSS for print links:', 'wp_print_friendly' ); ?></th>
     721                        <th scope="row"><?php _e( 'CSS for print links:', 'wp-print-friendly' ); ?></th>
    715722                        <td>
    716723                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[css_class]" id="css_class" value="<?php echo esc_attr( $options[ 'css_class' ] ); ?>" style="width: 40%;" />
    717724
    718                             <p class="description"><?php _e( 'For page-specific print links, a second class, created by appending <strong>_cur</strong> to the above text, is added to each link.', 'wp_print_friendly' ); ?></p>
    719                             <p class="description"><?php _e( 'Be aware that Internet Explorer will only interpret the first two CSS classes, so if multiple classes are entered above, the page-specific class may not be available in IE.', 'wp_print_friendly' ); ?></p>
     725                            <p class="description"><?php _e( 'For page-specific print links, a second class, created by appending <strong>_cur</strong> to the above text, is added to each link.', 'wp-print-friendly' ); ?></p>
     726                            <p class="description"><?php _e( 'Be aware that Internet Explorer will only interpret the first two CSS classes, so if multiple classes are entered above, the page-specific class may not be available in IE.', 'wp-print-friendly' ); ?></p>
    720727                        </td>
    721728                    </tr>
    722729                    <tr>
    723                         <th scope="row"><?php _e( 'Open print-friendly views:', 'wp_print_friendly' ); ?></th>
     730                        <th scope="row"><?php _e( 'Open print-friendly views:', 'wp-print-friendly' ); ?></th>
    724731                        <td>
    725                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-same" value="same"<?php checked( $options[ 'link_target' ], 'same', true ); ?> /> <label for="target-same"><?php _e( 'In the same window', 'wp_print_friendly' ); ?></label><br />
    726                             <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-new" value="new"<?php checked( $options[ 'link_target' ], 'new', true ); ?> /> <label for="target-new"><?php _e( 'In a new window', 'wp_print_friendly' ); ?></label>
     732                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-same" value="same"<?php checked( $options[ 'link_target' ], 'same', true ); ?> /> <label for="target-same"><?php _e( 'In the same window', 'wp-print-friendly' ); ?></label><br />
     733                            <input type="radio" name="<?php echo esc_attr( $this->settings_key ); ?>[link_target]" id="target-new" value="new"<?php checked( $options[ 'link_target' ], 'new', true ); ?> /> <label for="target-new"><?php _e( 'In a new window', 'wp-print-friendly' ); ?></label>
    727734                        </td>
    728735                    </tr>
     
    733740                <table class="form-table">
    734741                    <tr>
    735                         <th scope="row"><?php _e( 'Include endnotes for links found in content?', 'wp_print_friendly' ); ?></th>
     742                        <th scope="row"><?php _e( 'Include endnotes for links found in content?', 'wp-print-friendly' ); ?></th>
    736743                        <td>
    737                             <input type="checkbox" name="<?php echo esc_attr( $this->settings_key ); ?>[endnotes]" id="endnotes" value="1"<?php checked( $options[ 'endnotes' ], true, true ); ?> /> <label for="endnotes"><?php _e( 'Yes', 'wp_print_friendly' ); ?></label>
    738 
    739                             <p class="description"><?php _e( 'If enabled, content is automatically scanned for links and an endnote is added for each link found. This can be helpful for users if your content includes many links.', 'wp_print_friendly' ); ?></p>
     744                            <input type="checkbox" name="<?php echo esc_attr( $this->settings_key ); ?>[endnotes]" id="endnotes" value="1"<?php checked( $options[ 'endnotes' ], true, true ); ?> /> <label for="endnotes"><?php _e( 'Yes', 'wp-print-friendly' ); ?></label>
     745
     746                            <p class="description"><?php _e( 'If enabled, content is automatically scanned for links and an endnote is added for each link found. This can be helpful for users if your content includes many links.', 'wp-print-friendly' ); ?></p>
    740747                        </td>
    741748                    </tr>
    742749                    <tr>
    743                         <th scope="row"><label for="endnotes-label"><?php _e( 'Endnotes heading:', 'wp_print_friendly' ); ?></label></th>
     750                        <th scope="row"><label for="endnotes-label"><?php _e( 'Endnotes heading:', 'wp-print-friendly' ); ?></label></th>
    744751                        <td>
    745752                            <input type="text" name="<?php echo esc_attr( $this->settings_key ); ?>[endnotes_label]" class="regular-text code" id="endnotes-label" value="<?php echo esc_attr( $options[ 'endnotes_label' ] ); ?>" />
    746753
    747                             <p class="description"><?php _e( 'If endnotes are enabled, the text entered above will be output above the list of links.', 'wp_print_friendly' ); ?></p>
     754                            <p class="description"><?php _e( 'If endnotes are enabled, the text entered above will be output above the list of links.', 'wp-print-friendly' ); ?></p>
    748755                        </td>
    749756                    </tr>
     
    879886
    880887        <div id="wpf-rewrite-flush-warning" class="error fade">
    881             <p><strong><?php _e( 'WP Print Friendly', 'wp_print_friendly' ); ?></strong></p>
    882 
    883             <p><?php printf( __( 'You must refresh your site\'s permalinks before WP Print Friendly is fully activated. To do so, go to <a href="%s">Permalinks</a> and click the <strong><em>Save Changes</em></strong> button at the bottom of the screen.', 'wp_print_friendly' ), esc_url( admin_url( 'options-permalink.php' ) ) ); ?></p>
    884 
    885             <p><?php printf( __( 'When finished, click <a href="%s">here</a> to hide this message.', 'wp_print_friendly' ), esc_url( admin_url( add_query_arg( $this->notice_key, 1, 'index.php' ) ) ) ); ?></p>
     888            <p><strong><?php _e( 'WP Print Friendly', 'wp-print-friendly' ); ?></strong></p>
     889
     890            <p><?php printf( __( 'You must refresh your site\'s permalinks before WP Print Friendly is fully activated. To do so, go to <a href="%s">Permalinks</a> and click the <strong><em>Save Changes</em></strong> button at the bottom of the screen.', 'wp-print-friendly' ), esc_url( admin_url( 'options-permalink.php' ) ) ); ?></p>
     891
     892            <p><?php printf( __( 'When finished, click <a href="%s">here</a> to hide this message.', 'wp-print-friendly' ), esc_url( admin_url( add_query_arg( $this->notice_key, 1, 'index.php' ) ) ) ); ?></p>
    886893        </div>
    887894
Note: See TracChangeset for help on using the changeset viewer.