Version Description
- Generate POT
Download this release
Release Info
Developer | nathanrice |
Plugin | Genesis Simple Edits |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- Gruntfile.js +96 -0
- languages/genesis-simple-edits.pot +208 -0
- package.json +37 -0
- plugin.php +2 -2
- readme.txt +12 -9
Gruntfile.js
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use strict';
|
2 |
+
|
3 |
+
module.exports = function(grunt) {
|
4 |
+
|
5 |
+
// Load tasks
|
6 |
+
require('load-grunt-tasks')(grunt);
|
7 |
+
|
8 |
+
grunt.initConfig({
|
9 |
+
pkg: grunt.file.readJSON('package.json'),
|
10 |
+
|
11 |
+
|
12 |
+
// Dependencies
|
13 |
+
|
14 |
+
// PHP
|
15 |
+
|
16 |
+
// Lint .php files for syntax errors
|
17 |
+
phplint: {
|
18 |
+
all: [ '*.php', 'lib/**/*.php' ]
|
19 |
+
},
|
20 |
+
|
21 |
+
|
22 |
+
// I18n
|
23 |
+
|
24 |
+
// Add text domain as last argument of i18n functions
|
25 |
+
addtextdomain: {
|
26 |
+
php: {
|
27 |
+
files: {
|
28 |
+
src: [
|
29 |
+
'*.php',
|
30 |
+
'lib/**/*.php'
|
31 |
+
]
|
32 |
+
}
|
33 |
+
}
|
34 |
+
},
|
35 |
+
|
36 |
+
// Check text domain is last argument of i18n functions
|
37 |
+
checktextdomain: {
|
38 |
+
options: {
|
39 |
+
text_domain: '<%= pkg.name %>',
|
40 |
+
keywords: [
|
41 |
+
'__:1,2d',
|
42 |
+
'_e:1,2d',
|
43 |
+
'_x:1,2c,3d',
|
44 |
+
'_ex:1,2c,3d',
|
45 |
+
'_n:1,2,4d',
|
46 |
+
'_nx:1,2,4c,5d',
|
47 |
+
'_n_noop:1,2,3d',
|
48 |
+
'_nx_noop:1,2,3c,4d',
|
49 |
+
'esc_attr__:1,2d',
|
50 |
+
'esc_html__:1,2d',
|
51 |
+
'esc_attr_e:1,2d',
|
52 |
+
'esc_html_e:1,2d',
|
53 |
+
'esc_attr_x:1,2c,3d',
|
54 |
+
'esc_html_x:1,2c,3d'
|
55 |
+
]
|
56 |
+
},
|
57 |
+
files: {
|
58 |
+
expand: true,
|
59 |
+
src: [
|
60 |
+
'*.php',
|
61 |
+
'lib/**/*.php'
|
62 |
+
]
|
63 |
+
}
|
64 |
+
},
|
65 |
+
|
66 |
+
|
67 |
+
// Build language .pot file
|
68 |
+
makepot: {
|
69 |
+
plugin: {
|
70 |
+
options: {
|
71 |
+
domainPath: '/languages',
|
72 |
+
processPot: function( pot ) {
|
73 |
+
pot.headers['report-msgid-bugs-to'] = 'StudioPress <translations@studiopress.com>';
|
74 |
+
pot.headers['last-translator'] = 'StudioPress <translations@studiopress.com>';
|
75 |
+
pot.headers['language-team'] = 'English <translations@studiopress.com>';
|
76 |
+
pot.headers['plural-forms'] = 'nplurals=2; plural=n != 1;';
|
77 |
+
pot.headers['x-generator'] = 'grunt-wp-i18n 0.4.4';
|
78 |
+
pot.headers['x-poedit-basepath'] = '.';
|
79 |
+
pot.headers['x-poedit-language'] = 'English';
|
80 |
+
pot.headers['x-poedit-country'] = 'UNITED STATES';
|
81 |
+
pot.headers['x-poedit-sourcecharset'] = 'utf-8';
|
82 |
+
pot.headers['x-poedit-keywordslist'] = '__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;';
|
83 |
+
pot.headers['x-poedit-bookmarks'] = '';
|
84 |
+
pot.headers['x-poedit-searchpath-0'] = '.';
|
85 |
+
pot.headers['x-textdomain-support'] = 'yes';
|
86 |
+
return pot;
|
87 |
+
},
|
88 |
+
type: 'wp-plugin'
|
89 |
+
}
|
90 |
+
}
|
91 |
+
},
|
92 |
+
|
93 |
+
|
94 |
+
});
|
95 |
+
|
96 |
+
};
|
languages/genesis-simple-edits.pot
ADDED
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 Nathan Rice
|
2 |
+
# This file is distributed under the GNU General Public License v2.0 (or later).
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Genesis Simple Edits 2.1.1\n"
|
6 |
+
"Report-Msgid-Bugs-To: StudioPress <translations@studiopress.com>\n"
|
7 |
+
"POT-Creation-Date: 2015-09-29 19:30:54+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: StudioPress <translations@studiopress.com>\n"
|
13 |
+
"Language-Team: English <translations@studiopress.com>\n"
|
14 |
+
"X-Generator: grunt-wp-i18n 0.4.4\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
16 |
+
"X-Poedit-Basepath: .\n"
|
17 |
+
"X-Poedit-Language: English\n"
|
18 |
+
"X-Poedit-Country: UNITED STATES\n"
|
19 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
+
"X-Poedit-KeywordsList: "
|
21 |
+
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
|
22 |
+
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
|
23 |
+
"X-Poedit-Bookmarks: \n"
|
24 |
+
"X-Poedit-SearchPath-0: .\n"
|
25 |
+
"X-Textdomain-Support: yes\n"
|
26 |
+
|
27 |
+
#: plugin.php:48
|
28 |
+
msgid "Sorry, you cannot activate without <a href=\"%s\">Genesis %s</a> or greater"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: plugin.php:83
|
32 |
+
msgid "Simple Edits Reset"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: plugin.php:86
|
36 |
+
msgid "Simple Edits Saved"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: plugin.php:93 plugin.php:94 plugin.php:100
|
40 |
+
msgid "Copyright"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: plugin.php:93 plugin.php:100
|
44 |
+
msgid "On"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: plugin.php:97
|
48 |
+
msgid "By"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: plugin.php:109
|
52 |
+
msgid "Genesis - Simple Edits"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: plugin.php:109
|
56 |
+
msgid "Simple Edits"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: plugin.php:124
|
60 |
+
msgid "Entry Meta (above content)"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: plugin.php:131
|
64 |
+
msgid "Entry Meta (below content)"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: plugin.php:135
|
68 |
+
msgid "Show available entry meta shortcodes"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: plugin.php:141 plugin.php:192
|
72 |
+
msgid "Shortcode Reference"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: plugin.php:143 plugin.php:194
|
76 |
+
msgid ""
|
77 |
+
"NOTE: For a more comprehensive shortcode usage guide, <a "
|
78 |
+
"href=\"http://my.studiopress.com/docs/shortcode-reference/\" "
|
79 |
+
"target=\"_blank\">see this page</a>."
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: plugin.php:146
|
83 |
+
msgid "Date the entry was published"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: plugin.php:147
|
87 |
+
msgid "Date the entry was last modified"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: plugin.php:148
|
91 |
+
msgid "Time the entry was published"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: plugin.php:149
|
95 |
+
msgid "Time the entry was last modified"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: plugin.php:150
|
99 |
+
msgid "Entry author display name"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: plugin.php:151
|
103 |
+
msgid "Entry author display name, linked to their website"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: plugin.php:152
|
107 |
+
msgid "Entry author display name, linked to their archive"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: plugin.php:153
|
111 |
+
msgid "Entry comments link"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: plugin.php:154
|
115 |
+
msgid "List of entry tags"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: plugin.php:155
|
119 |
+
msgid "List of entry categories"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: plugin.php:156
|
123 |
+
msgid "Entry edit link (visible to admins)"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: plugin.php:164
|
127 |
+
msgid "Footer \"Back to Top\" Link"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: plugin.php:172
|
131 |
+
msgid "Footer Credits Text"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: plugin.php:179
|
135 |
+
msgid "Footer Output"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: plugin.php:181
|
139 |
+
msgid "Modify Entire Footer Text (including markup)?"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: plugin.php:183
|
143 |
+
msgid ""
|
144 |
+
"NOTE: Checking this option will use the content of the box below, and "
|
145 |
+
"override the options above."
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: plugin.php:187
|
149 |
+
msgid "Show available footer shortcodes"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: plugin.php:198
|
153 |
+
msgid "The \"Back to Top\" Link"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: plugin.php:200
|
157 |
+
msgid "The Copyright notice"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: plugin.php:201
|
161 |
+
msgid "The Child Theme Link"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: plugin.php:202
|
165 |
+
msgid "The Genesis Link"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: plugin.php:203
|
169 |
+
msgid "The StudioPress Link"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: plugin.php:204
|
173 |
+
msgid "The WordPress Link"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: plugin.php:205
|
177 |
+
msgid "Log In/Out Link"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: plugin.php:214
|
181 |
+
msgid "Save Settings"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: plugin.php:215
|
185 |
+
msgid "Reset Settings"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#. Plugin Name of the plugin/theme
|
189 |
+
msgid "Genesis Simple Edits"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#. Plugin URI of the plugin/theme
|
193 |
+
msgid "http://www.studiopress.com/plugins/genesis-simple-edits"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#. Description of the plugin/theme
|
197 |
+
msgid ""
|
198 |
+
"Genesis Simple Edits lets you edit the three most commonly modified areas "
|
199 |
+
"in any Genesis theme: the post-info, the post-meta, and the footer area."
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#. Author of the plugin/theme
|
203 |
+
msgid "Nathan Rice"
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#. Author URI of the plugin/theme
|
207 |
+
msgid "http://www.nathanrice.net/"
|
208 |
+
msgstr ""
|
package.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "genesis-simple-edits",
|
3 |
+
"description": "Development files for the Genesis Simple Edits plugin.",
|
4 |
+
"repository": {
|
5 |
+
"type": "git",
|
6 |
+
"url": "https://github.com/copyblogger/genesis-simple-edits"
|
7 |
+
},
|
8 |
+
"dependencies": {},
|
9 |
+
"devDependencies": {
|
10 |
+
"grunt": "^0.4.5",
|
11 |
+
"grunt-autoprefixer": "^0.8.1",
|
12 |
+
"grunt-checktextdomain": "^0.1.1",
|
13 |
+
"grunt-contrib-cssmin": "^0.10.0",
|
14 |
+
"grunt-contrib-imagemin": "^0.7.1",
|
15 |
+
"grunt-contrib-jshint": "^0.10.0",
|
16 |
+
"grunt-contrib-uglify": "^0.5.0",
|
17 |
+
"grunt-contrib-watch": "^0.6.1",
|
18 |
+
"grunt-csscomb": "~2.0.1",
|
19 |
+
"grunt-jsbeautifier": "^0.2.7",
|
20 |
+
"grunt-jsvalidate": "^0.2.2",
|
21 |
+
"grunt-phplint": "0.0.5",
|
22 |
+
"grunt-styledocco": "^0.1.4",
|
23 |
+
"grunt-wp-i18n": "^0.4.5",
|
24 |
+
"load-grunt-tasks": "^0.6.0"
|
25 |
+
},
|
26 |
+
"plugin": {
|
27 |
+
"name": "Genesis Simple Edits",
|
28 |
+
"uri": "https://github.com/copyblogger/genesis-simple-edits",
|
29 |
+
"description": "Genesis Simple Edits lets you edit the three most commonly modified areas in any Genesis theme: the post-info, the post-meta, and the footer area.",
|
30 |
+
"author": "StudioPress",
|
31 |
+
"authoruri": "http://www.studiopress.com/",
|
32 |
+
"version": "2.1.2",
|
33 |
+
"license": "GPL-2.0+",
|
34 |
+
"licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
|
35 |
+
"textdomain": "genesis-simple-edits"
|
36 |
+
}
|
37 |
+
}
|
plugin.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
-
Version: 2.1.
|
10 |
|
11 |
License: GNU General Public License v2.0 (or later)
|
12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
@@ -195,7 +195,7 @@ class Genesis_Simple_Edits {
|
|
195 |
<p>
|
196 |
<ul>
|
197 |
<?php if ( ! genesis_html5() ) : ?>
|
198 |
-
<li>[footer_backtotop] - <span class="description"><?php _e( 'The "Back to Top" Link', ''); ?></span></li>
|
199 |
<?php endif; ?>
|
200 |
<li>[footer_copyright] - <span class="description"><?php _e( 'The Copyright notice', 'genesis-simple-edits' ); ?></span></li>
|
201 |
<li>[footer_childtheme_link] - <span class="description"><?php _e( 'The Child Theme Link', 'genesis-simple-edits' ); ?></span></li>
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
+
Version: 2.1.2
|
10 |
|
11 |
License: GNU General Public License v2.0 (or later)
|
12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
195 |
<p>
|
196 |
<ul>
|
197 |
<?php if ( ! genesis_html5() ) : ?>
|
198 |
+
<li>[footer_backtotop] - <span class="description"><?php _e( 'The "Back to Top" Link', 'genesis-simple-edits'); ?></span></li>
|
199 |
<?php endif; ?>
|
200 |
<li>[footer_copyright] - <span class="description"><?php _e( 'The Copyright notice', 'genesis-simple-edits' ); ?></span></li>
|
201 |
<li>[footer_childtheme_link] - <span class="description"><?php _e( 'The Child Theme Link', 'genesis-simple-edits' ); ?></span></li>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: nathanrice, studiopress, wpmuguru
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
|
4 |
Tags: shortcodes, genesis, genesiswp, studiopress
|
5 |
Requires at least: 3.2
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.1.
|
8 |
|
9 |
This plugin lets you edit the three most commonly modified areas in any Genesis theme: the post-info (byline), the post-meta, and the footer area.
|
10 |
|
@@ -37,16 +37,19 @@ You must have Genesis (1.3+) or a Genesis child theme installed and activated on
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
-
= 1.
|
41 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
= 1.7.1 =
|
44 |
* Increased installation requirement to Genesis 1.7.1
|
45 |
* Removed PHP4 constructor
|
46 |
* Whitespace, standards, and documentation
|
47 |
|
48 |
-
=
|
49 |
-
*
|
50 |
-
|
51 |
-
= 2.1.1 =
|
52 |
-
* Prevent fatal error when Genesis 2.1 not active
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
|
4 |
Tags: shortcodes, genesis, genesiswp, studiopress
|
5 |
Requires at least: 3.2
|
6 |
+
Tested up to: 4.3.1
|
7 |
+
Stable tag: 2.1.2
|
8 |
|
9 |
This plugin lets you edit the three most commonly modified areas in any Genesis theme: the post-info (byline), the post-meta, and the footer area.
|
10 |
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 2.1.2 =
|
41 |
+
* Generate POT
|
42 |
+
|
43 |
+
= 2.1.1 =
|
44 |
+
* Prevent fatal error when Genesis 2.1 not active
|
45 |
+
|
46 |
+
= 2.1.0 =
|
47 |
+
* Genesis 2.1+ compatibility
|
48 |
|
49 |
= 1.7.1 =
|
50 |
* Increased installation requirement to Genesis 1.7.1
|
51 |
* Removed PHP4 constructor
|
52 |
* Whitespace, standards, and documentation
|
53 |
|
54 |
+
= 1.0 =
|
55 |
+
* Initial Release
|
|
|
|
|
|