Skip to content

Commit 4224e00

Browse files
author
Carrie Dils
committed
Added translation-ready components
Removed version number and added text domain to CSS. Generated .pot file and set up grunt tasks to automate .pot file creation. Props @GaryJones for the tips.
1 parent 828e35c commit 4224e00

File tree

5 files changed

+51
-7
lines changed

5 files changed

+51
-7
lines changed

assets/scss/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Author: Carrie Dls
66
Author URI: http://www.carriedils.com/
77
Template: genesis
88
Template Version: 2.1.0
9-
Tags: black, orange, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
9+
Tags: black, orange, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
1010
License: GPL-2.0+
1111
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12-
Version: 0.2.0
12+
Text Domain: itb
1313
*/
1414

1515
/* # Table of Contents

gruntfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ module.exports = function(grunt) {
4848
}
4949
}
5050
},
51+
/**
52+
* makepot
53+
*/
54+
makepot: {
55+
theme: {
56+
options: {
57+
type: 'wp-theme'
58+
}
59+
}
60+
},
5161
/**
5262
* CSSJanus
5363
*/

languages/in-the-beginning.pot

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Copyright (C) 2014 Carrie Dls
2+
# This file is distributed under the GPL-2.0+.
3+
msgid ""
4+
msgstr ""
5+
"Project-Id-Version: In the Beginning 2.1.0\n"
6+
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/style\n"
7+
"POT-Creation-Date: 2014-10-30 22:23:41+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: 2014-MO-DA HO:MI+ZONE\n"
12+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13+
"Language-Team: LANGUAGE <[email protected]>\n"
14+
"X-Generator: grunt-wp-i18n 0.4.9\n"
15+
16+
#. Theme Name of the plugin/theme
17+
msgid "In the Beginning"
18+
msgstr ""
19+
20+
#. Theme URI of the plugin/theme
21+
msgid "https://github.com/cdils/in-the-beginning"
22+
msgstr ""
23+
24+
#. Description of the plugin/theme
25+
msgid "This is a Sass starter theme created for the Genesis Framework."
26+
msgstr ""
27+
28+
#. Author of the plugin/theme
29+
msgid "Carrie Dls"
30+
msgstr ""
31+
32+
#. Author URI of the plugin/theme
33+
msgid "http://www.carriedils.com/"
34+
msgstr ""

style-rtl.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Author: Carrie Dls
66
Author URI: http://www.carriedils.com/
77
Template: genesis
88
Template Version: 2.1.0
9-
Tags: black, orange, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
9+
Tags: black, orange, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
1010
License: GPL-2.0+
1111
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12-
Version: 0.2.0
12+
Text Domain: itb
1313
*/
1414
/* # Table of Contents
1515
- HTML5 Reset
@@ -164,7 +164,7 @@ blockquote {
164164
}
165165

166166
cite {
167-
color: gray;
167+
color: #737373;
168168
font-style: italic;
169169
}
170170
cite:before {

style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Author: Carrie Dls
66
Author URI: http://www.carriedils.com/
77
Template: genesis
88
Template Version: 2.1.0
9-
Tags: black, orange, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
9+
Tags: black, orange, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
1010
License: GPL-2.0+
1111
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12-
Version: 0.2.0
12+
Text Domain: itb
1313
*/
1414
/* # Table of Contents
1515
- HTML5 Reset

0 commit comments

Comments
 (0)