Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Correct .POT file #80

Merged
merged 2 commits into from

2 participants

@zedejose

Generated a correct bootstrapwp.pot file (source strings to be used by
translators to create localized versions, i.e. .po's and .mo's), with
http://i18n.svn.wordpress.org/tools/trunk/makepot.php. This util should
be run regularly, or even better, cron'ed to always reflect to current
strings in the code.

zedejose added some commits
@zedejose zedejose Correct .POT file
Generated a correct bootstrapwp.pot file (source strings to be used by
translators to create localized versions), with
http://i18n.svn.wordpress.org/tools/trunk/makepot.php. This util should
be run regularly, or even better, cron'ed to always reflect to current
strings in the code.
e5e25bc
@zedejose zedejose Place the correct load_theme_textdomain call after theme setup
Per http://codex.wordpress.org/Function_Reference/load_theme_textdomain:

- If languages reside in the '/lang' folder, load them from there.
- Move the loading to after_theme_setup
cdc3ebc
@rachelbaker rachelbaker merged commit 9bc2021 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 8, 2012
  1. @zedejose

    Correct .POT file

    zedejose authored
    Generated a correct bootstrapwp.pot file (source strings to be used by
    translators to create localized versions), with
    http://i18n.svn.wordpress.org/tools/trunk/makepot.php. This util should
    be run regularly, or even better, cron'ed to always reflect to current
    strings in the code.
  2. @zedejose

    Place the correct load_theme_textdomain call after theme setup

    zedejose authored
    Per http://codex.wordpress.org/Function_Reference/load_theme_textdomain:
    
    - If languages reside in the '/lang' folder, load them from there.
    - Move the loading to after_theme_setup
This page is out of date. Refresh to see the latest.
Showing with 185 additions and 5 deletions.
  1. +4 −5 functions.php
  2. +181 −0 lang/bootstrapwp.pot
View
9 functions.php
@@ -23,11 +23,6 @@
if ( ! isset( $content_width ) )
$content_width = 770; /* pixels */
-/**
- * Declaring the theme language domain
- */
-load_theme_textdomain('bootstrapwp');
-
/*
| -------------------------------------------------------------------
| Setup Theme
@@ -45,6 +40,10 @@ function bootstrapwp_theme_setup() {
'main-menu' => __( 'Main Menu', 'bootstrapwp' ),
) );
add_theme_support( 'post-formats', array( 'aside', 'image', 'gallery', 'link', 'quote', 'status', 'video', 'audio', 'chat' ) );
+ /**
+ * Declaring the theme language domain
+ */
+ load_theme_textdomain('bootstrapwp', get_template_directory() . '/lang');
}
endif;
View
181 lang/bootstrapwp.pot
@@ -0,0 +1,181 @@
+# Copyright (C) 2010 BootstrapWP
+# This file is distributed under the same license as the BootstrapWP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: BootstrapWP .87\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tag/bootstrapwp-Twitter-Bootstrap-"
+"for-WordPress\n"
+"POT-Creation-Date: 2012-11-08 11:17:01+00:00\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+
+#: 404.php:23
+msgid "This is Embarrassing"
+msgstr ""
+
+#: 404.php:24
+msgid ""
+"It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps "
+"searching, or one of the links below, can help."
+msgstr ""
+
+#: 404.php:44
+msgid "Most Used Categories"
+msgstr ""
+
+#: archive.php:26
+msgid "Daily Archives: %s"
+msgstr ""
+
+#: archive.php:28
+msgid "Monthly Archives: %s"
+msgstr ""
+
+#: archive.php:28
+msgctxt "monthly archives date format"
+msgid "F Y"
+msgstr ""
+
+#: archive.php:30
+msgid "Yearly Archives: %s"
+msgstr ""
+
+#: archive.php:30
+msgctxt "yearly archives date format"
+msgid "Y"
+msgstr ""
+
+#: archive.php:32
+msgid "Tag Archives: %s"
+msgstr ""
+
+#: archive.php:38
+msgid "Category Archives: %s"
+msgstr ""
+
+#: archive.php:44
+msgid "Blog Archives"
+msgstr ""
+
+#: author.php:30
+msgid "Author Archives: %s"
+msgstr ""
+
+#: comments.php:19
+msgid ""
+"This post is password protected. Enter the password to view any comments."
+msgstr ""
+
+#: comments.php:35
+msgid "One thought on &ldquo;%2$s&rdquo;"
+msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
+msgstr[0] ""
+msgstr[1] ""
+
+#: comments.php:59
+msgid "Comments are closed."
+msgstr ""
+
+#: functions.php:45
+msgid "Main Menu"
+msgstr ""
+
+#: functions.php:198
+msgctxt "Previous post link"
+msgid "&larr;"
+msgstr ""
+
+#: functions.php:199
+msgctxt "Next post link"
+msgid "&rarr;"
+msgstr ""
+
+#: functions.php:204
+msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
+msgstr ""
+
+#: functions.php:208
+msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
+msgstr ""
+
+#: functions.php:236
+msgid "Pingback:"
+msgstr ""
+
+#: functions.php:236 functions.php:259
+msgid "(Edit)"
+msgstr ""
+
+#: functions.php:246
+msgid "%s <span class=\"says\">says:</span>"
+msgstr ""
+
+#: functions.php:249
+msgid "Your comment is awaiting moderation."
+msgstr ""
+
+#. translators: 1: date, 2: time
+#: functions.php:257
+msgid "%1$s at %2$s"
+msgstr ""
+
+#: functions.php:285
+msgid ""
+"<span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\" rel="
+"\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</"
+"time></a><span class=\"byline\"> <span class=\"sep\"> by </span> <span class="
+"\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel="
+"\"author\">%7$s</a></span></span>"
+msgstr ""
+
+#: functions.php:291
+msgid "View all posts by %s"
+msgstr ""
+
+#: functions.php:506
+msgid "Page"
+msgstr ""
+
+#: header.php:33
+msgid "Page %s"
+msgstr ""
+
+#: search.php:20
+msgid "Search Results for: %s"
+msgstr ""
+
+#: search.php:35
+msgid "No Results Found"
+msgstr ""
+
+#: search.php:36
+msgid ""
+"It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps you "
+"should try again with a different search term."
+msgstr ""
+
+#. Theme Name of the plugin/theme
+msgid "BootstrapWP"
+msgstr ""
+
+#. Theme URI of the plugin/theme
+msgid "http://bootstrapwp.rachelbaker.me"
+msgstr ""
+
+#. Description of the plugin/theme
+msgid ""
+"A semantic HTML/CSS framework base theme for WordPress Developers ported "
+"from Twitter Bootstrap"
+msgstr ""
+
+#. Author of the plugin/theme
+msgid "Rachel Baker"
+msgstr ""
+
+#. Author URI of the plugin/theme
+msgid "http://www.rachelbaker.me"
+msgstr ""
Something went wrong with that request. Please try again.