translate function added to remaining static text

pot file created with gulp pot
This commit is contained in:
mzanni 2017-07-05 00:41:30 -07:00
Родитель 42957bd545
Коммит 7ceb40ed8a
6 изменённых файлов: 81 добавлений и 18 удалений

Просмотреть файл

@ -0,0 +1,71 @@
# Copyright (C) 2017 ihr
# This file is distributed under the same license as the ihr package.
msgid ""
msgstr ""
"Project-Id-Version: ihr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: templates/content-about.php:73
msgid "archive of reports"
msgstr ""
#: templates/content-blog.php:89
msgid "Load more blog posts"
msgstr ""
#: templates/footer.php:8
msgid "Join our newsletter"
msgstr ""
#: templates/footer.php:10
msgid "Keep up with the latest Internet Health news."
msgstr ""
#: templates/footer.php:22
msgid "Email address"
msgstr ""
#: templates/footer.php:28
msgid "Im okay with mozilla handling my info as explained in this <a href=\"https://www.mozilla.org/privacy/websites/\">privacy notice</a>."
msgstr ""
#: templates/footer.php:34
msgid "Join us"
msgstr ""
#: templates/footer.php:58
msgid "Contact"
msgstr ""
#: templates/footer.php:59
msgid "License"
msgstr ""
#: templates/footer.php:61
msgid "Community"
msgstr ""
#: templates/footer.php:63
msgid "Legal"
msgstr ""
#: templates/footer.php:64
msgid "Privacy"
msgstr ""
#: templates/footer.php:66
msgid "Rss"
msgstr ""
#: templates/footer.php:73
msgid "We are a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at <a href=\"http://mozilla.org\">mozilla.org</a>"
msgstr ""

Просмотреть файл

@ -1,10 +0,0 @@
<?php
/**
* Template Name: Custom Template
*/
?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/page', 'header'); ?>
<?php get_template_part('templates/content', 'page'); ?>
<?php endwhile; ?>

Просмотреть файл

@ -70,7 +70,7 @@ endif; ?>
<?php
if( have_rows('feature_reports') ): ?>
<h3 class="bar">archive of reports</h3>
<h3 class="bar"><?php _e('archive of reports','ihr'); ?></h3>

Просмотреть файл

@ -86,7 +86,7 @@ if( $post_objects ): ?>
</div>
<div class="loader">
<div class="read-more load-more">Load more blog posts</div>
<div class="read-more load-more"><?php _e('Load more blog posts','ihr'); ?></div>
<div class="spinner"></div>
</div>

Просмотреть файл

@ -1,2 +1,4 @@
<article class="single-post-container">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</article>

Просмотреть файл

@ -5,9 +5,9 @@
<div class="container">
<div class="heading">
<h3>Join our newsletter</h3>
<h3><?php _e('Join our newsletter','ihr'); ?></h3>
<p>Keep up with the latest Internet Health news.</p>
<p><?php _e('Keep up with the latest Internet Health news.','ihr'); ?></p>
</div>
@ -19,19 +19,19 @@
<div id="newsletter_errors" class="newsletter_errors"></div>
<div id="newsletter_email" class="form_group form_group_email">
<input type="email" id="email" name="email" class="signup-form__email" required="" placeholder="Email address" size="30">
<input type="email" id="email" name="email" class="signup-form__email" required="" placeholder="<?php _e('Email address','ihr'); ?>" size="30">
<div id="newsletter_privacy" class="form_group form_group-agree">
<label for="privacy">
<input type="checkbox" id="privacy" name="privacy" class="signup-form__checkbox" required="">
<div class="signup-form__checkbox-label">Im okay with mozilla handling my info as explained in this <a href="https://www.mozilla.org/privacy/websites/">privacy notice</a>.
<div class="signup-form__checkbox-label"><?php _e('Im okay with mozilla handling my info as explained in this <a href="https://www.mozilla.org/privacy/websites/">privacy notice</a>.','ihr'); ?>
</div>
</label>
</div>
<button id="newsletter_submit" type="submit" class="signup-form__btn">Join us</button>
<button id="newsletter_submit" type="submit" class="signup-form__btn"><?php _e('Join us','ihr'); ?></button>
</div>