Skip to content
Snippets Groups Projects
Commit 0a52489e authored by Erick Hitter's avatar Erick Hitter
Browse files

Translate default template

parent 33ec196c
Branches
Tags
1 merge request!8Fix translation support
Pipeline #4908 passed
...@@ -30,7 +30,18 @@ ...@@ -30,7 +30,18 @@
wpf_the_page_numbers( false, '<p class="page_numbers">Page ', ' of ', '</p><!-- .page_numbers -->' ); wpf_the_page_numbers( false, '<p class="page_numbers">Page ', ' of ', '</p><!-- .page_numbers -->' );
?> ?>
<p class="wpf-source"><strong>Source URL:</strong> <?php the_permalink(); ?></p> <p class="wpf-source">
<?php
printf(
/* translators: 1. Post permalink. */
__(
'<strong>Source URL:</strong> %1$s',
'wp-print-friendly'
),
get_the_permalink()
);
?>
</p>
<hr class="wpf-divider" /> <hr class="wpf-divider" />
</div> </div>
...@@ -39,7 +50,19 @@ ...@@ -39,7 +50,19 @@
endif; endif;
?> ?>
<p class="copyright">Copyright &copy;<?php echo date( 'Y' ); ?> <strong><?php bloginfo( 'name' ); ?></strong> unless otherwise noted.</p> <p class="copyright">
<?php
printf(
/* translators: 1. Copyright year, 2. Site name. */
__(
'Copyright &copy;%1$d %2$s unless otherwise noted.',
'wp-print-friendly'
),
date( 'Y' ),
get_bloginfo( 'name' )
);
?>
</p>
</body> </body>
</html> </html>
...@@ -5,7 +5,7 @@ msgstr "" ...@@ -5,7 +5,7 @@ msgstr ""
"Project-Id-Version: WP Print Friendly 0.6.3\n" "Project-Id-Version: WP Print Friendly 0.6.3\n"
"Report-Msgid-Bugs-To: " "Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/wp-print-friendly\n" "https://wordpress.org/support/plugin/wp-print-friendly\n"
"POT-Creation-Date: 2022-06-25 20:55:28+00:00\n" "POT-Creation-Date: 2022-06-25 21:01:31+00:00\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
...@@ -25,6 +25,16 @@ msgstr "" ...@@ -25,6 +25,16 @@ msgstr ""
"X-Textdomain-Support: yes\n" "X-Textdomain-Support: yes\n"
"X-Generator: grunt-wp-i18n 1.0.3\n" "X-Generator: grunt-wp-i18n 1.0.3\n"
#: default-template.php:37
#. translators: 1. Post permalink.
msgid "<strong>Source URL:</strong> %1$s"
msgstr ""
#: default-template.php:57
#. translators: 1. Copyright year, 2. Site name.
msgid "Copyright &copy;%1$d %2$s unless otherwise noted."
msgstr ""
#: wp-print-friendly.php:128 #: wp-print-friendly.php:128
msgid "Print this entry" msgid "Print this entry"
msgstr "" msgstr ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment