Merge branch 'master' into grunt

This commit is contained in:
Ben Word
2013-02-15 11:00:26 -06:00
22 changed files with 747 additions and 937 deletions

View File

@@ -1,8 +1,7 @@
<?php get_template_part('templates/page', 'header'); ?> <?php get_template_part('templates/page', 'header'); ?>
<div class="alert alert-block fade in"> <div class="alert">
<a class="close" data-dismiss="alert">&times;</a> <?php _e('Sorry, but the page you were trying to view does not exist.', 'roots'); ?>
<p><?php _e('Sorry, but the page you were trying to view does not exist.', 'roots'); ?></p>
</div> </div>
<p><?php _e('It looks like this was the result of either:', 'roots'); ?></p> <p><?php _e('It looks like this was the result of either:', 'roots'); ?></p>
@@ -11,4 +10,4 @@
<li><?php _e('an out-of-date link', 'roots'); ?></li> <li><?php _e('an out-of-date link', 'roots'); ?></li>
</ul> </ul>
<?php get_search_form(); ?> <?php get_search_form(); ?>

View File

@@ -1,3 +1,10 @@
### HEAD
* Simplify alerts
* Remove disabled post nav links
* Use Bootstrap media object for listing comments
* Move Google Analytics to `lib/scripts.php`
* Static top navbar instead of fixed
### 6.3.0: February 8th, 2013 ### 6.3.0: February 8th, 2013
* Update to Bootstrap 2.3.0 * Update to Bootstrap 2.3.0
* Update to jQuery 1.9.1 * Update to jQuery 1.9.1

View File

@@ -2,44 +2,28 @@
## Reporting issues ## Reporting issues
A bug is a _demonstrable problem_ that is caused by the code in the **We only accept issues that are bug reports or feature requests.** Bugs must
repository. be isolated and reproducible problems that we can fix within Roots. Please
read the following guidelines before [opening any issues](https://github.com/retlehs/roots/issues):
Please read the following guidelines for reporting bugs: 1. **Use the GitHub issue search.** Check to see if the issue has already been
Please read the following guidelines before you [report an issue](https://github.com/retlehs/roots/issues): reported. If it has been, please comment on the existing issue. An existing
issue may also already have a fix available.
1. **Use the GitHub issue search** &mdash; check if the issue has already been 2. **Isolate the problem to Roots.** Make sure that the code in the Roots
reported. If it has been, please comment on the existing issue. repository is _definitely_ responsible for the issue. Switch to a core WordPress
theme (such as Twenty Twelve) to confirm problems before reporting an issue.
Make sure you have reproduced the bug with all plugins disabled. Any issues
related to HTML5 Boilerplate or Bootstrap should be reported to their respected
repositories and follow their contributing guidelines.
2. **Check if the issue has been fixed** &mdash; the latest `master` or 3. **Do not use GitHub issues for questions or support.** If you have a question
development branch may already contain a fix. or support request, please post on the [Google Group](http://groups.google.com/group/roots-theme).
3. **Isolate the problem to Roots** &mdash; make sure that the code in the Please try to be as detailed as possible in your report. What steps will
Roots repository is _definitely_ responsible for the issue. Switch to a default WordPress theme to confirm problems before reporting an issue. Any issues related to HTML5 Boilerplate or Bootstrap should be reported to their respected repositories. reproduce the issue? What would you expect to be the outcome? All these details
will help people to assess and fix any potential bugs. A good bug report
Please try to be as detailed as possible in your report too. What is your shouldn't leave people needing to chase you up to get further information.
environment? What steps will reproduce the issue? What browser(s) and OS
experience the problem? What would you expect to be the outcome? All these
details will help people to assess and fix any potential bugs.
### Example of a good bug report:
> Short and descriptive title
>
> A summary of the issue and the server OS environment in which it occurs. If
> suitable, include the steps required to reproduce the bug.
>
> 1. This is the first step
> 2. This is the second step
> 3. Further steps, etc.
>
> Any other information you want to share that is relevant to the issue being
> reported. This might include the lines of code that you have identified as
> causing the bug, and potential solutions (and your opinions on their
> merits).
A good bug report shouldn't leave people needing to chase you up to get further
information that is required to assess or fix the bug.
**[File a bug report](https://github.com/retlehs/roots/issues)** **[File a bug report](https://github.com/retlehs/roots/issues)**
@@ -56,7 +40,7 @@ changes to any part of the project, please open an issue to discuss it first.
Please follow this process; it's the best way to get your work included in the Please follow this process; it's the best way to get your work included in the
project: project:
1. [Fork](http://help.github.com/fork-a-repo/) the project. 1. [Fork](https://help.github.com/articles/fork-a-repo) the project.
2. Clone your fork (`git clone 2. Clone your fork (`git clone
https://github.com/<your-username>/roots.git`). https://github.com/<your-username>/roots.git`).
@@ -64,8 +48,8 @@ project:
3. Add an `upstream` remote (`git remote add upstream 3. Add an `upstream` remote (`git remote add upstream
https://github.com/retlehs/roots.git`). https://github.com/retlehs/roots.git`).
4. Get the latest changes from upstream (e.g. `git pull upstream 4. Get the latest changes from upstream (`git pull upstream
<dev-branch>`). master`).
5. Create a new topic branch to contain your feature, change, or fix (`git 5. Create a new topic branch to contain your feature, change, or fix (`git
checkout -b <topic-branch-name>`). checkout -b <topic-branch-name>`).
@@ -79,12 +63,12 @@ project:
up your commits before making them public. Please adhere to these [git commit up your commits before making them public. Please adhere to these [git commit
message message
guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
or your pull request is unlikely be merged into the main project. or your pull request is unlikely be merged.
8. Locally merge (or rebase) the upstream branch into your topic branch. 8. Locally merge (or rebase) the upstream branch into your topic branch.
9. Push your topic branch up to your fork (`git push origin 9. Push your topic branch up to your fork (`git push origin
<topic-branch-name>`). <topic-branch-name>`).
10. [Open a Pull Request](http://help.github.com/send-pull-requests/) with a 10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
clear title and description. Please mention which browsers you tested in. clear title and description.

124
README.md
View File

@@ -1,50 +1,74 @@
# [Roots Theme](http://www.rootstheme.com/) # [Roots Theme](http://www.rootstheme.com/)
Roots is a starting WordPress theme made for developers thats based on [HTML5 Boilerplate](http://html5boilerplate.com/) and [Bootstrap from Twitter](http://twitter.github.com/bootstrap/). Roots is a starting WordPress theme made for developers thats based on
[HTML5 Boilerplate](http://html5boilerplate.com/) and [Bootstrap from Twitter](http://twitter.github.com/bootstrap/).
## Installation
* Source: [https://github.com/retlehs/roots](https://github.com/retlehs/roots)
* Clone the git repo - `git clone git://github.com/retlehs/roots.git` - or [download it](https://github.com/retlehs/roots/zipball/master) * Home Page: [http://www.rootstheme.com/](http://www.rootstheme.com/)
* Reference the [theme activation](doc/activation.md) documentation to understand everything that happens once you activate Roots * Twitter: [@retlehs](https://twitter.com/retlehs)
* Google Group: [http://groups.google.com/group/roots-theme](http://groups.google.com/group/roots-theme)
## Configuration
## Installation
Edit `lib/config.php` to enable or disable support for various theme functions and to define constants that are used throughout the theme.
* Clone the git repo - `git clone git://github.com/retlehs/roots.git` - or [download it](https://github.com/retlehs/roots/zipball/master)
Edit `lib/init.php` to setup custom navigation menus and post thumbnail sizes. * Reference the [theme activation](doc/activation.md) documentation to understand
everything that happens once you activate Roots
## Documentation
## Configuration
Take a look at the [documentation table of contents](doc/TOC.md).
Edit `lib/config.php` to enable or disable support for various theme functions
## Features and to define constants that are used throughout the theme.
* HTML5 Boilerplates markup and `.htaccess` Edit `lib/init.php` to setup custom navigation menus and post thumbnail sizes.
* Bootstrap from Twitter
* Theme wrapper ## Documentation
* Root relative URLs
* Clean URLs (no more `/wp-content/`) Take a look at the [documentation table of contents](doc/TOC.md).
* All static theme assets are rewritten to the website root (`/assets/css/`, `/assets/img/`, and `/assets/js/`)
* Cleaner HTML output of navigation menus ## Features
* Cleaner output of `wp_head` and enqueued scripts/styles
* Posts use the [hNews](http://microformats.org/wiki/hnews) microformat * HTML5 Boilerplates markup and `.htaccess`
* [Multilingual ready](http://www.rootstheme.com/wpml/) (English, Spanish, French, Italian, Dutch, Brazilian Portuguese, Macedonian, Finnish, Danish, Turkish, Swedish, Bulgarian, Norwegian, Catalan, Polish, Hungarian, Russian) * Bootstrap from Twitter
* [Theme wrapper](doc/wrapper.md)
## Contributing * Root relative URLs
* Clean URLs (no more `/wp-content/`)
Everyone is welcome to help [contribute](CONTRIBUTING.md) and improve this project. There are several ways you can contribute: * All static theme assets are rewritten to the website root (`/assets/css/`,
`/assets/img/`, and `/assets/js/`)
* Reporting issues (please read [issue guidelines](https://github.com/necolas/issue-guidelines)) * Cleaner HTML output of navigation menus
* Suggesting new features * Cleaner output of `wp_head` and enqueued scripts/styles
* Writing or editing [docs](doc/TOC.md) * Posts use the [hNews](http://microformats.org/wiki/hnews) microformat
* Writing or refactoring code * [Multilingual ready](http://www.rootstheme.com/wpml/) (Brazilian Portuguese,
* Fixing [issues](https://github.com/retlehs/roots/issues) Bulgarian, Catalan, Danish, Dutch, English, Finnish, French, German, Hungarian,
* Replying to questions on the [Google Group](http://groups.google.com/group/roots-theme) Indonesian, Italian, Korean, Macedonian, Norwegian, Polish, Russian, Simplified
Chinese, Spanish, Swedish, Traditional Chinese, Turkish, Vietnamese)
## Project information
### Build Script
* Source: [https://github.com/retlehs/roots](https://github.com/retlehs/roots)
* Web: [http://www.rootstheme.com/](http://www.rootstheme.com/) The [grunt branch](https://github.com/retlehs/roots/tree/grunt) contains a build
* Google Group: [http://groups.google.com/group/roots-theme](http://groups.google.com/group/roots-theme) script powered by grunt. More information can be found at [Integrating grunt.js with Roots](http://benword.com/integrating-grunt-js-with-roots/).
* Twitter Updates: [@retlehs](https://twitter.com/#!/retlehs)
* Contributors: [https://github.com/retlehs/roots/contributors](https://github.com/retlehs/roots/contributors) * Easily compile LESS files
* Minification and concatenation without plugins
* Fewer requests made to the server (one CSS file, one main JS file besides
Modernizr and jQuery)
* Ensures valid JavaScript
* Others working on your project are able to use the same build script and have
a unified development process
* Code is optimized for production use
## Contributing
Everyone is welcome to help [contribute](CONTRIBUTING.md) and improve this project.
There are several ways you can contribute:
* Reporting issues (please read [issue guidelines](https://github.com/necolas/issue-guidelines))
* Suggesting new features
* Writing or editing [docs](doc/TOC.md)
* Writing or refactoring code
* Fixing [issues](https://github.com/retlehs/roots/issues)
* Replying to questions on the [Google Group](http://groups.google.com/group/roots-theme)
## Support
Use the [Google Group](http://groups.google.com/group/roots-theme) to ask
questions and get support.

View File

@@ -1,7 +1,12 @@
/* /**
Theme Name: Roots * Updating this file with Bootstrap changes:
Description: Used to style the TinyMCE editor *
*/ * 1. Go to http://twitter.github.com/bootstrap/customize.html
* 2. Un-toggle everything
* 3. Check: 'Body type and links', 'Headings, body, etc', 'Code and pre'
* 4. Download
* 5. Remove margin property on body tag
*/
.clearfix { .clearfix {
*zoom: 1; *zoom: 1;
@@ -41,7 +46,8 @@ a {
color: #0088cc; color: #0088cc;
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover,
a:focus {
color: #005580; color: #005580;
text-decoration: underline; text-decoration: underline;
} }
@@ -88,30 +94,47 @@ cite {
.muted { .muted {
color: #999999; color: #999999;
} }
a.muted:hover,
a.muted:focus {
color: #808080;
}
.text-warning { .text-warning {
color: #c09853; color: #c09853;
} }
a.text-warning:hover { a.text-warning:hover,
a.text-warning:focus {
color: #a47e3c; color: #a47e3c;
} }
.text-error { .text-error {
color: #b94a48; color: #b94a48;
} }
a.text-error:hover { a.text-error:hover,
a.text-error:focus {
color: #953b39; color: #953b39;
} }
.text-info { .text-info {
color: #3a87ad; color: #3a87ad;
} }
a.text-info:hover { a.text-info:hover,
a.text-info:focus {
color: #2d6987; color: #2d6987;
} }
.text-success { .text-success {
color: #468847; color: #468847;
} }
a.text-success:hover { a.text-success:hover,
a.text-success:focus {
color: #356635; color: #356635;
} }
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
h1, h1,
h2, h2,
h3, h3,
@@ -194,6 +217,21 @@ ol.unstyled {
margin-left: 0; margin-left: 0;
list-style: none; list-style: none;
} }
ul.inline,
ol.inline {
margin-left: 0;
list-style: none;
}
ul.inline > li,
ol.inline > li {
display: inline-block;
*display: inline;
/* IE7 inline-block hack */
*zoom: 1;
padding-left: 5px;
padding-right: 5px;
}
dl { dl {
margin-bottom: 20px; margin-bottom: 20px;
} }
@@ -253,9 +291,9 @@ blockquote {
} }
blockquote p { blockquote p {
margin-bottom: 0; margin-bottom: 0;
font-size: 16px; font-size: 17.5px;
font-weight: 300; font-weight: 300;
line-height: 25px; line-height: 1.25;
} }
blockquote small { blockquote small {
display: block; display: block;
@@ -309,6 +347,7 @@ code {
color: #d14; color: #d14;
background-color: #f7f7f9; background-color: #f7f7f9;
border: 1px solid #e1e1e8; border: 1px solid #e1e1e8;
white-space: nowrap;
} }
pre { pre {
display: block; display: block;
@@ -333,6 +372,8 @@ pre.prettyprint {
pre code { pre code {
padding: 0; padding: 0;
color: inherit; color: inherit;
white-space: pre;
white-space: pre-wrap;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
} }

View File

@@ -21,10 +21,6 @@ body { }
.banner { } .banner { }
/* Fixed Topbar Navigation */
body.top-navbar { padding-top: 60px; }
body.admin-bar .navbar-fixed-top { top: 28px; }
/* ========================================================================== /* ==========================================================================
@@ -87,9 +83,6 @@ figure.alignnone { margin-left: 0; margin-right: 0; }
Media Queries Media Queries
========================================================================== */ ========================================================================== */
@media (max-width: 979px) { @media (max-width: 767px) {
/* Fix top padding when using the responsive grid with the fixed topbar */
body.top-navbar { }
padding-top: 0;
}
}

View File

@@ -4,6 +4,19 @@
Roots is a starting WordPress theme made for developers thats based on [HTML5 Boilerplate](http://html5boilerplate.com/) and [Bootstrap from Twitter](http://twitter.github.com/bootstrap/). Roots is a starting WordPress theme made for developers thats based on [HTML5 Boilerplate](http://html5boilerplate.com/) and [Bootstrap from Twitter](http://twitter.github.com/bootstrap/).
## Installation
* Clone the git repo - `git clone git://github.com/retlehs/roots.git` - or [download it](https://github.com/retlehs/roots/zipball/master)
* Reference the [theme activation](activation.md) documentation to understand
everything that happens once you activate Roots
## Configuration
Edit `lib/config.php` to enable or disable support for various theme functions
and to define constants that are used throughout the theme.
Edit `lib/init.php` to setup custom navigation menus and post thumbnail sizes.
## Getting started ## Getting started
* [Usage](usage.md) — Overview of the project contents. * [Usage](usage.md) — Overview of the project contents.

View File

@@ -5,10 +5,10 @@ table of contents](TOC.md)
| **Plugin Name** | **Plugin Description** | **Plugin Name** | **Plugin Description**
|:----------------|:---------------------- |:----------------|:----------------------
| [**Soil**](https://github.com/retlehs/soil) | Frequently used plugins for your WordPress installation and a site specific plugin for your custom post types, taxonomies, meta boxes, and shortcodes.
| [**Gravity Forms**](http://www.rootstheme.com/gravity-forms/) | With Gravity Forms you can build complex, interactive contact forms in minutes. | [**Gravity Forms**](http://www.rootstheme.com/gravity-forms/) | With Gravity Forms you can build complex, interactive contact forms in minutes.
| [**WPML**](http://www.rootstheme.com/wpml/) | WPML makes it easy to build multilingual sites and run them. Roots already includes translations for:<br> English, Spanish, French, Italian, Dutch, Brazilian Portuguese, Macedonian, Finnish, Danish, Turkish, Swedish, Bulgarian, Norwegian, Catalan, Polish, Hungarian, Russian. | [**WPML**](http://www.rootstheme.com/wpml/) | WPML makes it easy to build multilingual sites and run them. Roots already includes translations for:<br> English, Spanish, French, Italian, Dutch, Brazilian Portuguese, Macedonian, Finnish, Danish, Turkish, Swedish, Bulgarian, Norwegian, Catalan, Polish, Hungarian, Russian.
| [**WordPress SEO**](http://yoast.com/wordpress/seo/) | Yoast's all in one SEO solution: titles, meta descriptions, XML sitemaps, breadcrumbs & more. | [**WordPress SEO**](http://yoast.com/wordpress/seo/) | Yoast's all in one SEO solution: titles, meta descriptions, XML sitemaps, breadcrumbs & more.
| [**WP Super Cache**](http://wordpress.org/extend/plugins/wp-super-cache/) | WP Super Cache is a static caching plugin that generates HTML files.
| [**W3 Total Cache**](http://wordpress.org/extend/plugins/w3-total-cache/) | Improve site performance and user experience via caching. | [**W3 Total Cache**](http://wordpress.org/extend/plugins/w3-total-cache/) | Improve site performance and user experience via caching.
| [Analytics 360](http://wordpress.org/extend/plugins/analytics360/) | Pull Google Analytics and MailChimp data directly into your dashboard. | [Analytics 360](http://wordpress.org/extend/plugins/analytics360/) | Pull Google Analytics and MailChimp data directly into your dashboard.
| [Custom Metaboxes & Fields](https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) | Easily create metaboxes with custom fields. | [Custom Metaboxes & Fields](https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) | Easily create metaboxes with custom fields.
@@ -19,11 +19,10 @@ table of contents](TOC.md)
| [Posts 2 Posts](http://scribu.net/wordpress/posts-to-posts) | Create many-to-many connections between posts of all kinds. | [Posts 2 Posts](http://scribu.net/wordpress/posts-to-posts) | Create many-to-many connections between posts of all kinds.
| [Query Multiple Taxonomies](http://scribu.net/wordpress/query-multiple-taxonomies) | Filter posts through multiple custom taxonomies. | [Query Multiple Taxonomies](http://scribu.net/wordpress/query-multiple-taxonomies) | Filter posts through multiple custom taxonomies.
| [Simple Footnotes](http://wordpress.org/extend/plugins/simple-footnotes/) | Create simple, elegant footnotes on your site. Use the [ref] shortcode and the plugin takes care of the rest. | [Simple Footnotes](http://wordpress.org/extend/plugins/simple-footnotes/) | Create simple, elegant footnotes on your site. Use the [ref] shortcode and the plugin takes care of the rest.
| [SLD Custom Content Types](https://github.com/jkudish/sld-custom-content-and-taxonomies) | Register new custom post types easily, with good default values and some extended functionality.
| [WordPress Domain Changer](https://github.com/veloper/WordPress-Domain-Changer) | A self-contained script that helps ease the migration of WordPress sites from one domain to another. | [WordPress Domain Changer](https://github.com/veloper/WordPress-Domain-Changer) | A self-contained script that helps ease the migration of WordPress sites from one domain to another.
| [WPAlchemy MetaBox Class](http://www.farinspace.com/wpalchemy-metabox/) | Create custom WordPress meta boxes quickly. | [WPAlchemy MetaBox Class](http://www.farinspace.com/wpalchemy-metabox/) | Create custom WordPress meta boxes quickly.
| [WP-DB-Backup](http://wordpress.org/extend/plugins/wp-db-backup/) | WP-DB-Backup allows you easily to backup your WordPress database tables. | [WP-DB-Backup](http://wordpress.org/extend/plugins/wp-db-backup/) | WP-DB-Backup allows you easily to backup your WordPress database tables.
| [WP-PageNavi](http://wordpress.org/extend/plugins/wp-pagenavi/) | Adds a more advanced paging navigation interface. | [WP-PageNavi](http://wordpress.org/extend/plugins/wp-pagenavi/) | Adds a more advanced paging navigation interface.
| [WP Database Optimizer](http://www.matthewaprice.com/wp-database-optimizer/) | Automated scheduled database optimization. | [WP Database Optimizer](http://www.matthewaprice.com/wp-database-optimizer/) | Automated scheduled database optimization.
| [WP Mail SMTP](http://wordpress.org/extend/plugins/wp-mail-smtp/) | Reconfigures the wp_mail() function to use SMTP instead of mail(). | [WP Mail SMTP](http://wordpress.org/extend/plugins/wp-mail-smtp/) | Reconfigures the wp_mail() function to use SMTP instead of mail().
| [Taxonomy Images](http://wordpress.org/extend/plugins/taxonomy-images/) | Associate images from your media library to categories, tags and custom taxonomies. | [Taxonomy Images](http://wordpress.org/extend/plugins/taxonomy-images/) | Associate images from your media library to categories, tags and custom taxonomies.

View File

@@ -27,8 +27,6 @@ The `content-single.php` template is included by single post templates in the th
`footer.php` includes the Footer sidebar area and displays the site copyright information. `footer.php` includes the Footer sidebar area and displays the site copyright information.
Also included is the [asynchronous Google Analytics snippet](http://mathiasbynens.be/notes/async-analytics-snippet) from HTML5 Boilerplate if an ID is defined in `config.php`.
### head.php ### head.php
`head.php` includes everything in the `<head>`. `head.php` includes everything in the `<head>`.

View File

@@ -12,6 +12,7 @@ require_once locate_template('/lib/config.php'); // Configuration
require_once locate_template('/lib/activation.php'); // Theme activation require_once locate_template('/lib/activation.php'); // Theme activation
require_once locate_template('/lib/cleanup.php'); // Cleanup require_once locate_template('/lib/cleanup.php'); // Cleanup
require_once locate_template('/lib/nav.php'); // Custom nav modifications require_once locate_template('/lib/nav.php'); // Custom nav modifications
require_once locate_template('/lib/comments.php'); // Custom comments modifications
require_once locate_template('/lib/rewrites.php'); // URL rewriting for assets require_once locate_template('/lib/rewrites.php'); // URL rewriting for assets
require_once locate_template('/lib/htaccess.php'); // HTML5 Boilerplate .htaccess require_once locate_template('/lib/htaccess.php'); // HTML5 Boilerplate .htaccess
require_once locate_template('/lib/widgets.php'); // Sidebars and widgets require_once locate_template('/lib/widgets.php'); // Sidebars and widgets

Binary file not shown.

View File

@@ -2,516 +2,284 @@ msgid ""
msgstr "" msgstr ""
"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"
"Project-Id-Version: Roots WordPress theme translations 1.1\n" "Project-Id-Version: Roots WordPress theme translations 1.2\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: Casper Klenz-Kitenge <hi@cabgfx.com>\n" "Last-Translator: Casper Klenz-Kitenge <hi@cabgfx.com>\n"
"Language-Team: CabGFX <hi@cabgfx.com>\n" "Language-Team: CabGFX <hi@cabgfx.com>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"X-Poedit-Language: Danish\n" "X-Generator: Poedit 1.5.5\n"
"X-Poedit-Country: DENMARK\n" "Language: Danish\n"
"X-Poedit-SourceCharset: utf-8\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Text in echo #: 404.php:5
#: comments.php:72 msgid ""
#: comments.php:76 "The page you are looking for might have been removed, had its name changed, "
msgid " (required)" "or is temporarily unavailable."
msgstr "(påkrævet)" msgstr ""
"Siden du leder efter er muligvis blevet fjernet, har skiftet navn, eller er "
"midlertidigt utilgængelig."
#. Text in echo #: 404.php:8
#: inc/roots-options.php:260 msgid "Please try the following:"
msgid "#fullwidth CSS Classes" msgstr "Prøv venligst følgende:"
msgstr "#fullwidth CSS Classes"
#. Text in echo #: 404.php:10
#: inc/roots-options.php:238
#: inc/roots-options.php:240
msgid "#main CSS Classes"
msgstr "#main CSS Classes"
#. Text in echo
#: inc/roots-options.php:248
#: inc/roots-options.php:250
msgid "#sidebar CSS Classes"
msgstr "#sidebar CSS Classes"
#. Text in function
#: comments.php:8
msgid "%1$s"
msgstr "%1$s"
#. Text in function
#: inc/roots-activation.php:70
msgid "%s Theme Activation"
msgstr "%s Theme Activation"
#. Text in function
#: inc/roots-options.php:214
msgid "%s Theme Options"
msgstr "%s Theme Options"
#. Text in function
#: comments.php:43
msgid "&larr; Older comments"
msgstr "&larr; Ældre kommentarer"
#. Text in function
#: loop.php:34
msgid "&larr; Older posts"
msgstr "&larr; Ældre indlæg"
#. Text in function
#: comments.php:9
msgid "(Edit)"
msgstr "(Redig&eacute;r)"
#. Text in function
#: inc/roots-options.php:1
msgid "1140"
msgstr "1140"
#. Text in function
#: inc/roots-options.php:1
msgid "960gs (12 cols)"
msgstr "960gs (12 cols)"
#. Text in function
#: inc/roots-options.php:1
msgid "960gs (16 cols)"
msgstr "960gs (16 cols)"
#. Text in function
#: inc/roots-options.php:1
msgid "960gs (24 cols)"
msgstr "960gs (24 cols)"
#. Text in function
#: comments.php:7
msgid "<cite class=\"fn\">%s</cite>"
msgstr "<cite class=\"fn\">%s</cite>"
#. Text in function
#: inc/roots-options.php:1
msgid "Adapt.js"
msgstr "Adapt.js"
#. Text in function
#: inc/roots-activation.php:145
msgid "Add all current published pages to the Primary Navigation"
msgstr "Tilføj alle pt. udgivne Sider til den primære navigation"
#. Text in echo
#: inc/roots-activation.php:137
#: inc/roots-activation.php:139
msgid "Add pages to menu?"
msgstr "Tilføj Sider til menu?"
#. Text in function
#: archive.php:8
msgid "Author Archives: %s"
msgstr "Forfatter Arkiver: %s"
#. Text in function
#: inc/roots-options.php:1
msgid "Blueprint CSS"
msgstr "Blueprint CSS"
#. Text in function
#: inc/roots-options.php:1
msgid "Bootstrap"
msgstr "Bootstrap"
#. Text in echo
#: inc/roots-options.php:282
msgid "Bootstrap Javascript Packages"
msgstr "Bootstrap Javascript Packages"
#. Text in function
#: inc/roots-options.php:1
msgid "Bootstrap w/ Less"
msgstr "Bootstrap w/ Less"
#. Text in echo
#: inc/roots-options.php:226
#: inc/roots-options.php:228
msgid "CSS Grid Framework"
msgstr "CSS Grid Framework"
#. Text in function
#: inc/roots-activation.php:106
msgid "Change permalink structure to /&#37;postname&#37;/"
msgstr "Ret permalink struktur til /&#37;postname&#37;/"
#. Text in echo
#: inc/roots-activation.php:98
msgid "Change permalink structure?"
msgstr "Ret permalink struktur?"
#. Text in function
#: inc/roots-activation.php:119
msgid "Change uploads folder to /assets/ instead of /wp-content/uploads/"
msgstr "Skift uploads mappen til /assets/ i stedet for /wp-content/uploads/"
#. Text in echo
#: inc/roots-activation.php:111
msgid "Change uploads folder?"
msgstr "Skift uploads mappen?"
#. Text in echo
#: 404.php:11
msgid "Check your spelling" msgid "Check your spelling"
msgstr "Kontroll&eacute;r stavning" msgstr "Tjek din stavning"
#. Text in echo #: 404.php:11
#: inc/roots-widgets.php:107 msgid "Return to the <a href=\"%s\">home page</a>"
msgid "City/Locality:" msgstr "Gå tilbage til <a href=\"%s\">forsiden</a>"
msgstr "By/Område:"
#. Text in echo #: 404.php:12
#: inc/roots-options.php:315
#: inc/roots-options.php:317
msgid "Cleanup Menu Output"
msgstr "Ryd op i menu output"
#. Text in echo
#: 404.php:13
msgid "Click the <a href=\"javascript:history.back()\">Back</a> button" msgid "Click the <a href=\"javascript:history.back()\">Back</a> button"
msgstr "Klik på <a href=\"javascript:history.back()\">Tilbage</a> knappen" msgstr "Tryk på <a href=\"javascript:history.back()\">Tilbage</a> knappen"
#. Text in echo #: lib/activation.php:31 lib/activation.php:32
#: comments.php:85 msgid "Theme Activation"
msgid "Comment" msgstr "Theme aktivering"
msgstr "Kommentar"
#. Text in echo #: lib/activation.php:68
#: comments.php:49 msgid "%s Theme Activation"
#: comments.php:56 msgstr "%s Theme aktivering"
msgid "Comments are closed."
msgstr "Kommentarer er lukket."
#. Text in function #: lib/activation.php:83 lib/activation.php:85
#: inc/roots-cleanup.php:1
msgid "Continued"
msgstr "Fortsættes"
#. Text in function
#: inc/roots-activation.php:93
msgid "Create a page called Home and set it to be the static front page"
msgstr "Opret en Side kaldet Hjem og brug den som statisk forside"
#. Text in echo
#: inc/roots-activation.php:124
#: inc/roots-activation.php:126
msgid "Create navigation menus?"
msgstr "Opret navigation/menuer?"
#. Text in echo
#: inc/roots-activation.php:85
#: inc/roots-activation.php:87
msgid "Create static front page?" msgid "Create static front page?"
msgstr "Opret statisk forside?" msgstr "Opret statisk forside?"
#. Text in function #: lib/activation.php:87 lib/activation.php:100 lib/activation.php:113
#: inc/roots-activation.php:132 #: lib/activation.php:126 lib/activation.php:139
msgid "Create the Primary and Utility Navigation menus and set their locations"
msgstr "Opret de primære og sekundære navigations-menuer og indstil deres placeringer"
#. Text in function
#: archive.php:8
msgid "Daily Archives: %s"
msgstr "Daglige Arkiver: %s"
#. Text in echo
#: inc/roots-options.php:243
#: inc/roots-options.php:253
#: inc/roots-options.php:263
msgid "Default:"
msgstr "Standard:"
#. Text in echo
#: comments.php:76
msgid "Email (will not be published)"
msgstr "Email (bliver ikke vist)"
#. Text in echo
#: inc/roots-widgets.php:123
msgid "Email:"
msgstr "Email:"
#. Text in echo
#: inc/roots-options.php:284
msgid "Enable Bootstrap Javascript"
msgstr "Enable Bootstrap Javascript"
#. Text in echo
#: inc/roots-options.php:304
#: inc/roots-options.php:306
msgid "Enable Root Relative URLs"
msgstr "Enable Root Relative URLs"
#. Text in function
#: inc/roots-options.php:299
msgid "Enter your UA-XXXXX-X ID"
msgstr "Skriv dit UA-XXXXX-X ID"
#. Text in echo
#: 404.php:7
msgid "File Not Found"
msgstr "Filen blev ikke fundet"
#. Text in function
#: inc/roots-options.php:1
msgid "Foundation"
msgstr "Foundation"
#. Text in echo
#: inc/roots-options.php:258
msgid "Full Width CSS Classes"
msgstr "Full Width CSS Classes"
#. Text in echo
#: inc/roots-options.php:294
#: inc/roots-options.php:296
msgid "Google Analytics ID"
msgstr "Google Analytics ID"
#. Text in echo
#: index.php:7
msgid "Latest Posts"
msgstr "Seneste Indlæg"
#. Text in function
#: comments.php:62
msgid "Leave a Reply"
msgstr "Skriv et svar"
#. Text in function
#: comments.php:62
msgid "Leave a Reply to %s"
msgstr "Skriv et svar til %s"
#. Text in function
#: inc/roots-options.php:1
msgid "Less Framework 4"
msgstr "Less Framework 4"
#. Text in echo
#: comments.php:69
msgid "Log out &raquo;"
msgstr "Log ud &raquo;"
#. Text in function
#: comments.php:69
msgid "Log out of this account"
msgstr "Log ud af denne konto"
#. Text in function
#: comments.php:69
msgid "Logged in as <a href=\"%s/wp-admin/profile.php\">%s</a>."
msgstr "Logget ind some <a href=\"%s/wp-admin/profile.php\">%s</a>."
#. Text in function
#: archive.php:8
msgid "Monthly Archives: %s"
msgstr "Månedlige Arkiver: %s"
#. Text in echo
#: comments.php:72
msgid "Name"
msgstr "Navn"
#. Text in function
#: comments.php:44
msgid "Newer comments &rarr;"
msgstr "Nyere kommentarer &rarr;"
#. Text in function
#: loop.php:35
msgid "Newer posts &rarr;"
msgstr "Nyere indlæg &rarr;"
#. Text in echo
#: inc/roots-activation.php:142
#: inc/roots-options.php:274
#: inc/roots-options.php:287
#: inc/roots-options.php:309
#: inc/roots-options.php:320
msgid "No"
msgstr "Nej"
#. Text in function
#: inc/roots-options.php:1
msgid "None"
msgstr "Ingen"
#. Text in function
#: loop-single.php:14
#: loop-page.php:7
msgid "Pages:"
msgstr "Sider:"
#. Text in function
#: inc/roots-htaccess.php:1
msgid "Please make sure your <a href=\"%s\">.htaccess</a> file is writable "
msgstr "Tjek venligst at din <a href=\"%s\">.htaccess</a> fil er skrivbar"
#. Text in echo
#: 404.php:9
msgid "Please try the following:"
msgstr "Prøv venligst det følgende:"
#. Text in function
#: inc/roots-cleanup.php:1
msgid "Please update your <a href=\"%s\">site tagline</a> <a href=\"%s\" style=\"float: right;\">Hide Notice</a>"
msgstr "Opdat&eacute;r venligst din <a href=\"%s\">blogs tagline</a> <a href=\"%s\" style=\"float: right;\">Skjul besked</a>"
#. Text in function
#: functions.php:1
msgid "Posted on %s at %s."
msgstr "Skrevet %s kl. %s."
#. Text in function
#: functions.php:1
msgid "Primary Navigation"
msgstr "Primære Navigation"
#. Text in function
#: 404.php:12
msgid "Return to the <a href=\"%s\">home page</a>"
msgstr "Tilbage til <a href=\"%s\">forsiden</a>"
#. Text in function
#: inc/roots-widgets.php:1
msgid "Roots: vCard"
msgstr "Roots: vCard"
#. Text in echo
#: searchform.php:3
#: searchform.php:4
msgid "Search"
msgstr "Søg"
#. Text in echo
#: search.php:7
msgid "Search Results for"
msgstr "Søgeresultater for"
#. Text in echo
#: searchform.php:2
msgid "Search for:"
msgstr "Søg efter:"
#. Text in echo
#: loop.php:3
msgid "Sorry, no results were found."
msgstr "Beklager, der blev ikke fundet nogen resultater."
#. Text in echo
#: inc/roots-widgets.php:111
msgid "State/Region:"
msgstr "Stat/Region:"
#. Text in echo
#: inc/roots-widgets.php:103
msgid "Street Address:"
msgstr "Adresse:"
#. Text in echo
#: comments.php:88
msgid "Submit Comment"
msgstr "Gem kommentar"
#. Text in echo
#: inc/roots-widgets.php:119
msgid "Telephone:"
msgstr "Telefon:"
#. Text in echo
#: 404.php:8
msgid "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."
msgstr "Siden du leder efter er enten blevet fjernet, omdøbt eller midlertidigt utilgængelig."
#. Text in function
#: inc/roots-activation.php:1
msgid "Theme Activation"
msgstr "Theme Activation"
#. Text in function
#: inc/roots-options.php:1
msgid "Theme Options"
msgstr "Theme Options"
#. Text in echo
#: comments.php:27
msgid "This post is password protected. Enter the password to view comments."
msgstr "Dette indlæg er beskyttet med kodeord. Skriv venligst koden for at se kommentarer."
#. Text in echo
#: inc/roots-widgets.php:99
msgid "Title (optional):"
msgstr "Titel (valgfri):"
#. Text in echo
#: inc/roots-activation.php:100
msgid "Update permalink structure?"
msgstr "Opdat&eacute;r permalink struktur?"
#. Text in echo
#: inc/roots-activation.php:113
msgid "Update uploads folder?"
msgstr "Opdat&eacute;r uploads mappen?"
#. Text in function
#: inc/roots-widgets.php:1
msgid "Use this widget to add a vCard"
msgstr "Brug denne widget til at tilføje et visitkort (vCard)"
#. Text in function
#: functions.php:1
msgid "Utility Navigation"
msgstr "Sekundær Navigation"
#. Text in echo
#: comments.php:80
msgid "Website"
msgstr "Website"
#. Text in function
#: functions.php:1
msgid "Written by"
msgstr "Skrevet af"
#. Text in function
#: archive.php:8
msgid "Yearly Archives: %s"
msgstr "Årlige Arkiver: %s"
#. Text in echo
#: inc/roots-activation.php:141
#: inc/roots-options.php:273
#: inc/roots-options.php:286
#: inc/roots-options.php:308
#: inc/roots-options.php:319
msgid "Yes" msgid "Yes"
msgstr "Ja" msgstr "Ja"
#. Text in function #: lib/activation.php:88 lib/activation.php:101 lib/activation.php:114
#: comments.php:65 #: lib/activation.php:127 lib/activation.php:140
msgid "You must be <a href=\"%s\">logged in</a> to post a comment." msgid "No"
msgstr "Du skal være <a href=\"%s\">logget ind</a> for at skrive en kommentar." msgstr "Nej"
#. Text in echo #: lib/activation.php:91
#: comments.php:13 msgid "Create a page called Home and set it to be the static front page"
msgid "Your comment is awaiting moderation." msgstr "Opret en side kaldet Home og sæt den til at være statisk forside"
msgstr "Din kommentar afventer godkendelse."
#. Text in echo #: lib/activation.php:96
#: inc/roots-widgets.php:115 msgid "Change permalink structure?"
msgid "Zipcode/Postal Code:" msgstr "Opret permalink struktur?"
msgstr "Postnr.:"
#. Text in function #: lib/activation.php:98
#: inc/roots-widgets.php:1 msgid "Update permalink structure?"
msgstr "Opdatér permalink struktur"
#: lib/activation.php:104
msgid "Change permalink structure to /&#37;postname&#37;/"
msgstr "Skift permalink struktur til /&#37;postname&#37;/"
#: lib/activation.php:109
msgid "Change uploads folder?"
msgstr "Skift uploads mappe?"
#: lib/activation.php:111
msgid "Update uploads folder?"
msgstr "Opdatér uploads mappe?"
#: lib/activation.php:117
msgid "Change uploads folder to /assets/ instead of /wp-content/uploads/"
msgstr "Skift uploads mappe til /assets/ i stedet for /wp-content/uploads/"
#: lib/activation.php:122 lib/activation.php:124
msgid "Create navigation menu?"
msgstr "Opret navigations menu?"
#: lib/activation.php:130
msgid "Create the Primary Navigation menu and set the location"
msgstr "Opret den Primære Navigation menu og indstil placeringen"
#: lib/activation.php:135 lib/activation.php:137
msgid "Add pages to menu?"
msgstr "Tilføj Sider til menuen?"
#: lib/activation.php:143
msgid "Add all current published pages to the Primary Navigation"
msgstr "Tilføj all pt. udgivne Sider til den Primære Navigation"
#: lib/cleanup.php:388
msgid "Continued"
msgstr "Fortsættes"
#: lib/htaccess.php:25
msgid "Please make sure your <a href=\"%s\">.htaccess</a> file is writable "
msgstr "Tjek venligst at din <a href=\"%s\">.htaccess</a> fil er skrivbar"
#: lib/init.php:13
msgid "Primary Navigation"
msgstr "Primære Navigation"
#: lib/utils.php:14
msgid "Latest Posts"
msgstr "Seneste indlæg"
#: lib/utils.php:23
msgid "Daily Archives: %s"
msgstr "Dagligt arkiv: %s"
#: lib/utils.php:25
msgid "Monthly Archives: %s"
msgstr "Månedeligt arkiv: %s"
#: lib/utils.php:27
msgid "Yearly Archives: %s"
msgstr "Årligt arkiv: %s"
#: lib/utils.php:31
msgid "Author Archives: %s"
msgstr "Forfatter arkiv: %s"
#: lib/utils.php:36
msgid "Search Results for %s"
msgstr "Søgeresultater for %s"
#: lib/utils.php:38
msgid "File Not Found"
msgstr "Filen blev ikke fundet"
#: lib/widgets.php:6
msgid "Primary Sidebar"
msgstr "Primære sidebar"
#: lib/widgets.php:15
msgid "Footer"
msgstr "Footer"
#: lib/widgets.php:41
msgid "Use this widget to add a vCard"
msgstr "Brug denne widget til at tilføje et vCard"
#: lib/widgets.php:43
msgid "Roots: vCard"
msgstr "Roots: vCard"
#: lib/widgets.php:70
msgid "vCard" msgid "vCard"
msgstr "Visitkort (vCard)" msgstr "vCard"
#: templates/comments.php:7
msgid "<cite class=\"fn\">%s</cite>"
msgstr "<cite class=\"fn\">%s</cite>"
#: templates/comments.php:8
msgid "%1$s"
msgstr "%1$s"
#: templates/comments.php:9
msgid "(Edit)"
msgstr "(Redigér)"
#: templates/comments.php:15
msgid "Your comment is awaiting moderation."
msgstr "Din kommentar afventer godkendelse"
#: templates/comments.php:32
msgid "This post is password protected. Enter the password to view comments."
msgstr ""
"Dette indlæg er beskyttet med adgangskode. Skriv koden for at se "
"kommentarerne."
#: templates/comments.php:39
msgid "One Response to &ldquo;%2$s&rdquo;"
msgid_plural "%1$s Responses to &ldquo;%2$s&rdquo;"
msgstr[0] "Én kommentar til &ldquo;%2$s&rdquo;"
msgstr[1] "%1$s kommentarer til &ldquo;%2$s&rdquo;"
#: templates/comments.php:49 templates/comments.php:51
msgid "&larr; Older comments"
msgstr "&larr; Ældre kommentarer"
#: templates/comments.php:54 templates/comments.php:56
msgid "Newer comments &rarr;"
msgstr "Nyere kommentarer &rarr;"
#: templates/comments.php:66 templates/comments.php:76
msgid "Comments are closed."
msgstr "Kommentarer er lukket."
#: templates/comments.php:83
msgid "Leave a Reply"
msgstr "Skriv et svar"
#: templates/comments.php:83
msgid "Leave a Reply to %s"
msgstr "Skriv et svar til %s"
#: templates/comments.php:86
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
msgstr ""
"Du skal være logget ind <a href=\"%s\">logget ind</a> for at skrive en "
"kommentar."
#: templates/comments.php:90
msgid "Logged in as <a href=\"%s/wp-admin/profile.php\">%s</a>."
msgstr "Logget ind som <a href=\"%s/wp-admin/profile.php\">%s</a>."
#: templates/comments.php:90
msgid "Log out of this account"
msgstr "Log ud af denne konto."
#: templates/comments.php:90
msgid "Log out &raquo;"
msgstr "Log ud &raquo;"
#: templates/comments.php:92
msgid "Name"
msgstr "Navn"
#: templates/comments.php:92 templates/comments.php:94
msgid " (required)"
msgstr " (påkrævet)"
#: templates/comments.php:94
msgid "Email (will not be published)"
msgstr "Email (bliver ikke vist)"
#: templates/comments.php:96
msgid "Website"
msgstr "Website"
#: templates/comments.php:99
msgid "Comment"
msgstr "Kommentar"
#: templates/comments.php:101
msgid "Submit Comment"
msgstr "Skriv kommentar"
#: templates/content-single.php:11
msgid "Pages:"
msgstr "Sider:"
#: templates/content.php:4
msgid "Sorry, no results were found."
msgstr "Beklager, der blev ikke fundet nogen resultater."
#: templates/content.php:28 templates/content.php:30
msgid "&larr; Older posts"
msgstr "&larr; Ældre indlæg"
#: templates/content.php:33 templates/content.php:35
msgid "Newer posts &rarr;"
msgstr "Nyere indlæg &rarr;"
#: templates/entry-meta.php:1
msgid "Posted on %s at %s."
msgstr "Skrevet d. %s kl. %s."
#: templates/entry-meta.php:2
msgid "Written by"
msgstr "Skrevet af"
#: templates/searchform.php:2
msgid "Search for:"
msgstr "Søg efter:"
#: templates/searchform.php:3 templates/searchform.php:4
msgid "Search"
msgstr "Søg"

Binary file not shown.

View File

@@ -1,324 +1,283 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: roots WP theme\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: Kazik <netboy@netboy.pl>\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"
"X-Poedit-Language: Polish\n" "Project-Id-Version: \n"
"X-Poedit-Country: Poland\n" "POT-Creation-Date: \n"
"X-Poedit-SourceCharset: utf-8\n" "PO-Revision-Date: \n"
"Last-Translator: Kazik <netboy@netboy.pl>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"X-Generator: Poedit 1.5.5\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: 404.php:7 #: 404.php:5
msgid "File Not Found" msgid ""
msgstr "Nie znaleziono pliku" "The page you are looking for might have been removed, had its name changed, "
"or is temporarily unavailable."
msgstr ""
"Strona której szukasz nie istnieje, została przeniesiona lub jest tymczasowo "
"niedostępna."
#: 404.php:11 #: 404.php:8
msgid "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."
msgstr "Strona której szukasz nie istnieje, została przeniesiona lub jest tymczasowo niedostępna."
#: 404.php:13
msgid "Please try the following:" msgid "Please try the following:"
msgstr "Spróbuj następujących czynności:" msgstr "Spróbuj następujących czynności:"
#: 404.php:15 #: 404.php:10
msgid "Check your spelling" msgid "Check your spelling"
msgstr "Sprawdź poprawność pisowni" msgstr "Sprawdź poprawność pisowni"
#: 404.php:16 #: 404.php:11
#, php-format
msgid "Return to the <a href=\"%s\">home page</a>" msgid "Return to the <a href=\"%s\">home page</a>"
msgstr "Powrót do <a href=\"%s\">strony głównej</a>" msgstr "Powrót do <a href=\"%s\">strony głównej</a>"
#: 404.php:17 #: 404.php:12
msgid "Click the <a href=\"javascript:history.back()\">Back</a> button" msgid "Click the <a href=\"javascript:history.back()\">Back</a> button"
msgstr "Kliknij <a href=\"javascript:history.back()\">Powrót</a>" msgstr "Kliknij <a href=\"javascript:history.back()\">Powrót</a>"
#: archive.php:13 #: lib/activation.php:31 lib/activation.php:32
#, php-format
msgid "Daily Archives: %s"
msgstr "Dzienne archiwa: %s"
#: archive.php:15
#, php-format
msgid "Monthly Archives: %s"
msgstr "Miesięczne archiwa: %s"
#: archive.php:17
#, php-format
msgid "Yearly Archives: %s"
msgstr "Roczne archiwa: %s"
#: archive.php:21
#, php-format
msgid "Author Archives: %s"
msgstr "Аrchiwa autora: %s"
#: comments.php:7
#, php-format
msgid "<cite class=\"fn\">%s</cite>"
msgstr "<cite class=\"fn\">%s</cite>"
#: comments.php:8
#, php-format
msgid "%1$s"
msgstr "%1$s"
#: comments.php:9
msgid "(Edit)"
msgstr "(Edytuj)"
#: comments.php:15
msgid "Your comment is awaiting moderation."
msgstr "Twój komentarz oczekuje na moderację."
#: comments.php:32
msgid "This post is password protected. Enter the password to view comments."
msgstr "Ten artykuł jest chroniony hasłem. Podaj hasło aby zobaczyć komentarze."
#: comments.php:49
msgid "&larr; Older comments"
msgstr "&larr; Starsze komentarze"
#: comments.php:50
msgid "Newer comments &rarr;"
msgstr "Nowsze komentarze &rarr;"
#: comments.php:58
#: comments.php:68
msgid "Comments are closed."
msgstr "Komentarze są zamknięte."
#: comments.php:75
msgid "Leave a Reply"
msgstr "Pozostaw odpowiedź"
#: comments.php:75
#, php-format
msgid "Leave a Reply to %s"
msgstr "Pozostaw odpowiedź dla %s"
#: comments.php:78
#, php-format
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
msgstr "Musisz być <a href=\"%s\">zalogowany</a> aby wysłać komentarz."
#: comments.php:82
#, php-format
msgid "Logged in as <a href=\"%s/wp-admin/profile.php\">%s</a>."
msgstr "Zalogowany jako: <a href=\"%s/wp-admin/profile.php\">%s</a>."
#: comments.php:82
msgid "Log out of this account"
msgstr "Wyloguj się z tego konta"
#: comments.php:82
msgid "Log out &raquo;"
msgstr "Wyloguj się &raquo;"
#: comments.php:84
msgid "Name"
msgstr "Imię"
#: comments.php:84
#: comments.php:86
msgid " (required)"
msgstr " (wymagane)"
#: comments.php:86
msgid "Email (will not be published)"
msgstr "E-mail (nie zostanie opublikowany)"
#: comments.php:88
msgid "Website"
msgstr "Strona WWW"
#: comments.php:91
msgid "Comment"
msgstr "Komentarz"
#: comments.php:93
msgid "Submit Comment"
msgstr "Dodaj komentarz"
#: functions.php:45
msgid "Primary Navigation"
msgstr "Główna nawigacja"
#: functions.php:74
#, php-format
msgid "Posted on %s at %s."
msgstr "Wysłane w dniu %s o %s."
#: functions.php:75
msgid "Written by"
msgstr "Napisane przez"
#: index.php:7
msgid "Latest Posts"
msgstr "Ostatnie artykuły"
#: loop-single.php:14
msgid "Pages:"
msgstr "Strony:"
#: loop.php:5
msgid "Sorry, no results were found."
msgstr "Przepraszamy, nic nie znaleziono."
#: loop.php:37
msgid "&larr; Older posts"
msgstr "&larr; Starsze artykuły"
#: loop.php:38
msgid "Newer posts &rarr;"
msgstr "Nowsze artykuły &rarr;"
#: search.php:7
msgid "Search Results for"
msgstr "Wyniki wyszukiwania dla"
#: searchform.php:2
msgid "Search for:"
msgstr "Szukaj:"
#: searchform.php:3
#: searchform.php:4
msgid "Search"
msgstr "Szukaj"
#: inc/roots-activation.php:32
#: inc/roots-activation.php:33
msgid "Theme Activation" msgid "Theme Activation"
msgstr "Аktywacja motywu" msgstr "Aktywacja szablonu"
#: inc/roots-activation.php:70 #: lib/activation.php:68
#, php-format
msgid "%s Theme Activation" msgid "%s Theme Activation"
msgstr "%s Aktywacja motywu" msgstr "%s Aktywacja szablonu"
#: inc/roots-activation.php:85 #: lib/activation.php:83 lib/activation.php:85
#: inc/roots-activation.php:87
msgid "Create static front page?" msgid "Create static front page?"
msgstr "Czy stworzyć statyczną stronę główną?" msgstr "Czy stworzyć statyczną stronę główną?"
#: inc/roots-activation.php:89 #: lib/activation.php:87 lib/activation.php:100 lib/activation.php:113
#: inc/roots-activation.php:102 #: lib/activation.php:126 lib/activation.php:139
#: inc/roots-activation.php:115
#: inc/roots-activation.php:128
#: inc/roots-activation.php:141
msgid "Yes" msgid "Yes"
msgstr "Tak" msgstr "Tak"
#: inc/roots-activation.php:90 #: lib/activation.php:88 lib/activation.php:101 lib/activation.php:114
#: inc/roots-activation.php:103 #: lib/activation.php:127 lib/activation.php:140
#: inc/roots-activation.php:116
#: inc/roots-activation.php:129
#: inc/roots-activation.php:142
msgid "No" msgid "No"
msgstr "Nie" msgstr "Nie"
#: inc/roots-activation.php:93 #: lib/activation.php:91
msgid "Create a page called Home and set it to be the static front page" msgid "Create a page called Home and set it to be the static front page"
msgstr "Stwórz stronę o nazwie Home i ustaw ją jako statyczną stronę główną" msgstr "Stwórz stronę o nazwie Home i ustaw ją jako statyczną stronę główną"
#: inc/roots-activation.php:98 #: lib/activation.php:96
msgid "Change permalink structure?" msgid "Change permalink structure?"
msgstr "Czy zmienić strukturę permalinków?" msgstr "Czy zmienić strukturę permalinków?"
#: inc/roots-activation.php:100 #: lib/activation.php:98
msgid "Update permalink structure?" msgid "Update permalink structure?"
msgstr "Czy zaktualizować strukturę permalinków?" msgstr "Czy zaktualizować strukturę permalinków?"
#: inc/roots-activation.php:106 #: lib/activation.php:104
msgid "Change permalink structure to /&#37;postname&#37;/" msgid "Change permalink structure to /&#37;postname&#37;/"
msgstr "Zmień strukturę permalinków: /&#37;postname&#37;/" msgstr "Zmień strukturę permalinków: /&#37;postname&#37;/"
#: inc/roots-activation.php:111 #: lib/activation.php:109
msgid "Change uploads folder?" msgid "Change uploads folder?"
msgstr "Czy zmienić folder z plikami?" msgstr "Czy zmienić folder z plikami?"
#: inc/roots-activation.php:113 #: lib/activation.php:111
msgid "Update uploads folder?" msgid "Update uploads folder?"
msgstr "Czy dostosować folder z plikami?" msgstr "Czy dostosować folder z plikami?"
#: inc/roots-activation.php:119 #: lib/activation.php:117
msgid "Change uploads folder to /assets/ instead of /wp-content/uploads/" msgid "Change uploads folder to /assets/ instead of /wp-content/uploads/"
msgstr "Zamień folder z plikami na /assets/ zamiast /wp-content/uploads/" msgstr "Zmień nazwę folderu z plikami na /assets/ zamiast /wp-content/uploads/"
#: inc/roots-activation.php:124 #: lib/activation.php:122 lib/activation.php:124
#: inc/roots-activation.php:126
msgid "Create navigation menu?" msgid "Create navigation menu?"
msgstr "Czy stworzyć menu?" msgstr "Czy stworzyć menu?"
#: inc/roots-activation.php:132 #: lib/activation.php:130
msgid "Create the Primary Navigation menu and set the location" msgid "Create the Primary Navigation menu and set the location"
msgstr "Stwórz główne menu i ustaw jego lokalizację" msgstr "Stwórz główne menu i ustaw jego pozycję"
#: inc/roots-activation.php:137 #: lib/activation.php:135 lib/activation.php:137
#: inc/roots-activation.php:139
msgid "Add pages to menu?" msgid "Add pages to menu?"
msgstr "Czy dodać strony do menu?" msgstr "Czy dodać strony do menu?"
#: inc/roots-activation.php:145 #: lib/activation.php:143
msgid "Add all current published pages to the Primary Navigation" msgid "Add all current published pages to the Primary Navigation"
msgstr "Dodaj wszystkie aktualnie opublikowane strony do głównego menu" msgstr "Dodaj wszystkie aktualnie opublikowane strony do głównego menu"
#: inc/roots-cleanup.php:370 #: lib/cleanup.php:388
msgid "Continued" msgid "Continued"
msgstr "Kontynuuj" msgstr "Kontynuuj"
#: inc/roots-cleanup.php:538 #: lib/htaccess.php:25
#, php-format
msgid "Please update your <a href=\"%s\">site tagline</a> <a href=\"%s\" style=\"float: right;\">Hide Notice</a>"
msgstr "Proszę zaktualizować <a href=\"%s\">tagline</a>. <a href=\"%s\" style=\"float: right;\">Ukryj wiadomość</a>"
#: inc/roots-htaccess.php:11
#, php-format
msgid "Please make sure your <a href=\"%s\">.htaccess</a> file is writable " msgid "Please make sure your <a href=\"%s\">.htaccess</a> file is writable "
msgstr "Proszę upewnić się, że plik <a href=\"%s\">.htaccess</a> jest dostępny do zapisu " msgstr ""
"Proszę upewnij się, że plik <a href=\"%s\">.htaccess</a> jest dostępny do "
"zapisu "
#: inc/roots-widgets.php:5 #: lib/init.php:13
msgid "Primary Navigation"
msgstr "Główna nawigacja"
#: lib/utils.php:14
msgid "Latest Posts"
msgstr "Ostatnie posty"
#: lib/utils.php:23
msgid "Daily Archives: %s"
msgstr "Dzienne archiwa: %s"
#: lib/utils.php:25
msgid "Monthly Archives: %s"
msgstr "Miesięczne archiwa: %s"
#: lib/utils.php:27
msgid "Yearly Archives: %s"
msgstr "Roczne archiwa: %s"
#: lib/utils.php:31
msgid "Author Archives: %s"
msgstr "Archiwa autora: %s"
#: lib/utils.php:36
msgid "Search Results for %s"
msgstr "Wyniki wyszukiwania: %s"
#: lib/utils.php:38
msgid "File Not Found"
msgstr "Nie znaleziono pliku"
#: lib/widgets.php:6
msgid "Primary Sidebar"
msgstr "Główny sidebar"
#: lib/widgets.php:15
msgid "Footer"
msgstr "Stopka"
#: lib/widgets.php:41
msgid "Use this widget to add a vCard" msgid "Use this widget to add a vCard"
msgstr "Użyj tej funkcji do dodania vCard" msgstr "Użyj tego widgetu do dodania karty (vCard)"
#: inc/roots-widgets.php:6 #: lib/widgets.php:43
msgid "Roots: vCard" msgid "Roots: vCard"
msgstr "Roots: vCard" msgstr "Roots: vCard"
#: inc/roots-widgets.php:33 #: lib/widgets.php:70
msgid "vCard" msgid "vCard"
msgstr "vCard" msgstr "vCard"
#: inc/roots-widgets.php:99 #: templates/comments.php:7
msgid "Title (optional):" msgid "<cite class=\"fn\">%s</cite>"
msgstr "Tytuł (opcjonalny):" msgstr "<cite class=\"fn\">%s</cite>"
#: inc/roots-widgets.php:103 #: templates/comments.php:8
msgid "Street Address:" msgid "%1$s"
msgstr "Ulica:" msgstr "%1$s"
#: inc/roots-widgets.php:107 #: templates/comments.php:9
msgid "City/Locality:" msgid "(Edit)"
msgstr "Miasto lub miejscowość:" msgstr "(Edytuj)"
#: inc/roots-widgets.php:111 #: templates/comments.php:15
msgid "State/Region:" msgid "Your comment is awaiting moderation."
msgstr "Województwo:" msgstr "Twój komentarz oczekuje na moderację."
#: inc/roots-widgets.php:115 #: templates/comments.php:32
msgid "Zipcode/Postal Code:" msgid "This post is password protected. Enter the password to view comments."
msgstr "Kod pocztowy:" msgstr ""
"Ten artykuł jest chroniony hasłem. Podaj hasło aby zobaczyć komentarze."
#: inc/roots-widgets.php:119 #: templates/comments.php:39
msgid "Telephone:" msgid "One Response to &ldquo;%2$s&rdquo;"
msgstr "Тelefon:" msgid_plural "%1$s Responses to &ldquo;%2$s&rdquo;"
msgstr[0] "Jedna odpowiedź na &ldquo;%2$s&rdquo;"
msgstr[1] "%1$s Odpowiedzi na &ldquo;%2$s&rdquo;"
#: inc/roots-widgets.php:123 #: templates/comments.php:49 templates/comments.php:51
msgid "Email:" msgid "&larr; Older comments"
msgstr "Е-mail:" msgstr "&larr; Starsze komentarze"
#: templates/comments.php:54 templates/comments.php:56
msgid "Newer comments &rarr;"
msgstr "Nowsze komentarze &rarr;"
#: templates/comments.php:66 templates/comments.php:76
msgid "Comments are closed."
msgstr "Komentarze są zamknięte."
#: templates/comments.php:83
msgid "Leave a Reply"
msgstr "Pozostaw odpowiedź"
#: templates/comments.php:83
msgid "Leave a Reply to %s"
msgstr "Pozostaw odpowiedź na %s"
#: templates/comments.php:86
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
msgstr "Musisz być <a href=\"%s\">zalogowany</a> aby wysłać komentarz."
#: templates/comments.php:90
msgid "Logged in as <a href=\"%s/wp-admin/profile.php\">%s</a>."
msgstr "Zalogowany jako: <a href=\"%s/wp-admin/profile.php\">%s</a>."
#: templates/comments.php:90
msgid "Log out of this account"
msgstr "Wyloguj się z tego konta"
#: templates/comments.php:90
msgid "Log out &raquo;"
msgstr "Wyloguj się &raquo;"
#: templates/comments.php:92
msgid "Name"
msgstr "Imię"
#: templates/comments.php:92 templates/comments.php:94
msgid " (required)"
msgstr " (wymagane)"
#: templates/comments.php:94
msgid "Email (will not be published)"
msgstr "E-mail (nie zostanie opublikowany)"
#: templates/comments.php:96
msgid "Website"
msgstr "Strona WWW"
#: templates/comments.php:99
msgid "Comment"
msgstr "Komentarz"
#: templates/comments.php:101
msgid "Submit Comment"
msgstr "Dodaj komentarz"
#: templates/content-single.php:11
msgid "Pages:"
msgstr "Strony:"
#: templates/content.php:4
msgid "Sorry, no results were found."
msgstr "Przepraszamy, brak rezultatów wyszukiwania."
#: templates/content.php:28 templates/content.php:30
msgid "&larr; Older posts"
msgstr "&larr; Starsze posty"
#: templates/content.php:33 templates/content.php:35
msgid "Newer posts &rarr;"
msgstr "Nowsze posty &rarr;"
#: templates/entry-meta.php:1
msgid "Posted on %s at %s."
msgstr "Wysłane %s o %s."
#: templates/entry-meta.php:2
msgid "Written by"
msgstr "Napisane przez"
#: templates/searchform.php:2
msgid "Search for:"
msgstr "Szukaj:"
#: templates/searchform.php:3 templates/searchform.php:4
msgid "Search"
msgstr "Szukaj"

View File

@@ -99,12 +99,6 @@ add_filter('style_loader_tag', 'roots_clean_style_tag');
* Add and remove body_class() classes * Add and remove body_class() classes
*/ */
function roots_body_class($classes) { function roots_body_class($classes) {
// Add 'top-navbar' class if using Bootstrap's Navbar
// Used to add styling to account for the WordPress admin bar
if (current_theme_supports('bootstrap-top-navbar')) {
$classes[] = 'top-navbar';
}
// Add post/page slug // Add post/page slug
if (is_single() || is_page() && !is_front_page()) { if (is_single() || is_page() && !is_front_page()) {
$classes[] = basename(get_permalink()); $classes[] = basename(get_permalink());

63
lib/comments.php Normal file
View File

@@ -0,0 +1,63 @@
<?php
function roots_get_avatar($avatar) {
$avatar = str_replace("class='avatar", "class='avatar pull-left media-object", $avatar);
return $avatar;
}
add_filter('get_avatar', 'roots_get_avatar');
/**
* Use Bootstrap's media object for listing comments
*
* @link http://twitter.github.com/bootstrap/components.html#media
*/
class Roots_Walker_Comment extends Walker_Comment {
function start_lvl(&$output, $depth = 0, $args = array()) {
$GLOBALS['comment_depth'] = $depth + 1; ?>
<ul <?php comment_class('media unstyled comment-' . get_comment_ID()); ?>>
<?php
}
function end_lvl(&$output, $depth = 0, $args = array()) {
$GLOBALS['comment_depth'] = $depth + 1;
echo '</ul>';
}
function start_el(&$output, $comment, $depth, $args, $id = 0) {
$depth++;
$GLOBALS['comment_depth'] = $depth;
$GLOBALS['comment'] = $comment;
if (!empty($args['callback'])) {
call_user_func($args['callback'], $comment, $args, $depth);
return;
}
extract($args, EXTR_SKIP); ?>
<li <?php comment_class('media comment-' . get_comment_ID()); ?>>
<?php echo get_avatar($comment, $size = '64'); ?>
<div class="media-body">
<h4 class="media-heading"><?php echo get_comment_author_link(); ?></h4>
<time datetime="<?php echo comment_date('c'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?>"><?php printf(__('%1$s', 'roots'), get_comment_date(), get_comment_time()); ?></a></time>
<?php edit_comment_link(__('(Edit)', 'roots'), '', ''); ?>
<?php if ($comment->comment_approved == '0') : ?>
<div class="alert">
<?php _e('Your comment is awaiting moderation.', 'roots'); ?>
</div>
<?php endif; ?>
<?php comment_text(); ?>
<?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?>
<?php
}
function end_el(&$output, $comment, $depth = 0, $args = array()) {
if (!empty($args['end-callback'])) {
call_user_func($args['end-callback'], $comment, $args, $depth);
return;
}
echo "</li>\n";
}
}

View File

@@ -6,7 +6,7 @@
add_theme_support('root-relative-urls'); // Enable relative URLs add_theme_support('root-relative-urls'); // Enable relative URLs
add_theme_support('rewrites'); // Enable URL rewrites add_theme_support('rewrites'); // Enable URL rewrites
add_theme_support('h5bp-htaccess'); // Enable HTML5 Boilerplate's .htaccess add_theme_support('h5bp-htaccess'); // Enable HTML5 Boilerplate's .htaccess
add_theme_support('bootstrap-top-navbar'); // Enable Bootstrap's fixed navbar add_theme_support('bootstrap-top-navbar'); // Enable Bootstrap's top navbar
add_theme_support('bootstrap-gallery'); // Enable Bootstrap's thumbnails component on [gallery] add_theme_support('bootstrap-gallery'); // Enable Bootstrap's thumbnails component on [gallery]
add_theme_support('nice-search'); // Enable /?s= to /search/ redirect add_theme_support('nice-search'); // Enable /?s= to /search/ redirect

View File

@@ -59,3 +59,16 @@ function roots_jquery_local_fallback($src, $handle) {
if (!is_admin()) { if (!is_admin()) {
add_filter('script_loader_src', 'roots_jquery_local_fallback', 10, 2); add_filter('script_loader_src', 'roots_jquery_local_fallback', 10, 2);
} }
function roots_google_analytics() { ?>
<script>
var _gaq=[['_setAccount','<?php echo GOOGLE_ANALYTICS_ID; ?>'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<?php }
if (GOOGLE_ANALYTICS_ID) {
add_action('wp_footer', 'roots_google_analytics', 20);
}

View File

@@ -2,75 +2,40 @@
if (post_password_required()) { if (post_password_required()) {
return; return;
} }
?>
<?php function roots_comment($comment, $args, $depth) { if (have_comments()) : ?>
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?>>
<article class="comment-<?php comment_ID(); ?>">
<header class="comment-author vcard">
<?php echo get_avatar($comment, $size = '32'); ?>
<?php printf(__('<cite class="fn">%s</cite>', 'roots'), get_comment_author_link()); ?>
<time datetime="<?php echo comment_date('c'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?>"><?php printf(__('%1$s', 'roots'), get_comment_date(), get_comment_time()); ?></a></time>
<?php edit_comment_link(__('(Edit)', 'roots'), '', ''); ?>
</header>
<?php if ($comment->comment_approved == '0') : ?>
<div class="alert alert-block fade in">
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('Your comment is awaiting moderation.', 'roots'); ?></p>
</div>
<?php endif; ?>
<section class="comment">
<?php comment_text(); ?>
</section>
<?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?>
</article>
<?php } ?>
<?php if (have_comments()) : ?>
<section id="comments"> <section id="comments">
<h3><?php printf(_n('One Response to &ldquo;%2$s&rdquo;', '%1$s Responses to &ldquo;%2$s&rdquo;', get_comments_number(), 'roots'), number_format_i18n(get_comments_number()), get_the_title()); ?></h3> <h3><?php printf(_n('One Response to &ldquo;%2$s&rdquo;', '%1$s Responses to &ldquo;%2$s&rdquo;', get_comments_number(), 'roots'), number_format_i18n(get_comments_number()), get_the_title()); ?></h3>
<ol class="commentlist"> <ol class="media-list">
<?php wp_list_comments(array('callback' => 'roots_comment')); ?> <?php wp_list_comments(array('walker' => new Roots_Walker_Comment)); ?>
</ol> </ol>
<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // are there comments to navigate through ?> <?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : ?>
<nav> <nav>
<ul class="pager"> <ul class="pager">
<?php if (get_previous_comments_link()) : ?> <?php if (get_previous_comments_link()) : ?>
<li class="previous"><?php previous_comments_link(__('&larr; Older comments', 'roots')); ?></li> <li class="previous"><?php previous_comments_link(__('&larr; Older comments', 'roots')); ?></li>
<?php else: ?> <?php endif; ?>
<li class="previous disabled"><a><?php _e('&larr; Older comments', 'roots'); ?></a></li> <?php if (get_next_comments_link()) : ?>
<?php endif; ?> <li class="next"><?php next_comments_link(__('Newer comments &rarr;', 'roots')); ?></li>
<?php if (get_next_comments_link()) : ?> <?php endif; ?>
<li class="next"><?php next_comments_link(__('Newer comments &rarr;', 'roots')); ?></li> </ul>
<?php else: ?> </nav>
<li class="next disabled"><a><?php _e('Newer comments &rarr;', 'roots'); ?></a></li> <?php endif; ?>
<?php endif; ?>
</ul>
</nav>
<?php endif; // check for comment navigation ?>
<?php if (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?> <?php if (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
<div class="alert alert-block fade in"> <div class="alert">
<a class="close" data-dismiss="alert">&times;</a> <?php _e('Comments are closed.', 'roots'); ?>
<p><?php _e('Comments are closed.', 'roots'); ?></p> </div>
</div>
<?php endif; ?> <?php endif; ?>
</section><!-- /#comments --> </section><!-- /#comments -->
<?php endif; ?> <?php endif; ?>
<?php if (!have_comments() && !comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?> <?php if (!have_comments() && !comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
<section id="comments"> <section id="comments">
<div class="alert alert-block fade in"> <div class="alert">
<a class="close" data-dismiss="alert">&times;</a> <?php _e('Comments are closed.', 'roots'); ?>
<p><?php _e('Comments are closed.', 'roots'); ?></p>
</div> </div>
</section><!-- /#comments --> </section><!-- /#comments -->
<?php endif; ?> <?php endif; ?>
@@ -84,21 +49,24 @@
<?php else : ?> <?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if (is_user_logged_in()) : ?> <?php if (is_user_logged_in()) : ?>
<p><?php printf(__('Logged in as <a href="%s/wp-admin/profile.php">%s</a>.', 'roots'), get_option('siteurl'), $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php __('Log out of this account', 'roots'); ?>"><?php _e('Log out &raquo;', 'roots'); ?></a></p> <p>
<?php printf(__('Logged in as <a href="%s/wp-admin/profile.php">%s</a>.', 'roots'), get_option('siteurl'), $user_identity); ?>
<a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php __('Log out of this account', 'roots'); ?>"><?php _e('Log out &raquo;', 'roots'); ?></a>
</p>
<?php else : ?> <?php else : ?>
<label for="author"><?php _e('Name', 'roots'); if ($req) _e(' (required)', 'roots'); ?></label> <label for="author"><?php _e('Name', 'roots'); if ($req) _e(' (required)', 'roots'); ?></label>
<input type="text" class="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?>> <input type="text" class="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" <?php if ($req) echo 'aria-required="true"'; ?>>
<label for="email"><?php _e('Email (will not be published)', 'roots'); if ($req) _e(' (required)', 'roots'); ?></label> <label for="email"><?php _e('Email (will not be published)', 'roots'); if ($req) _e(' (required)', 'roots'); ?></label>
<input type="email" class="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?>> <input type="email" class="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" <?php if ($req) echo 'aria-required="true"'; ?>>
<label for="url"><?php _e('Website', 'roots'); ?></label> <label for="url"><?php _e('Website', 'roots'); ?></label>
<input type="url" class="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3"> <input type="url" class="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22">
<?php endif; ?> <?php endif; ?>
<label for="comment"><?php _e('Comment', 'roots'); ?></label> <label for="comment"><?php _e('Comment', 'roots'); ?></label>
<textarea name="comment" id="comment" class="input-xlarge" tabindex="4"></textarea> <textarea name="comment" id="comment" class="input-xlarge" rows="5" aria-required="true"></textarea>
<p><input name="submit" class="btn btn-primary" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'roots'); ?>"></p> <p><input name="submit" class="btn btn-primary" type="submit" id="submit" value="<?php _e('Submit Comment', 'roots'); ?>"></p>
<?php comment_id_fields(); ?> <?php comment_id_fields(); ?>
<?php do_action('comment_form', $post->ID); ?> <?php do_action('comment_form', $post->ID); ?>
</form> </form>
<?php endif; // if registration required and not logged in ?> <?php endif; ?>
</section><!-- /#respond --> </section><!-- /#respond -->
<?php endif; ?> <?php endif; ?>

View File

@@ -1,7 +1,6 @@
<?php if (!have_posts()) : ?> <?php if (!have_posts()) : ?>
<div class="alert alert-block fade in"> <div class="alert">
<a class="close" data-dismiss="alert">&times;</a> <?php _e('Sorry, no results were found.', 'roots'); ?>
<p><?php _e('Sorry, no results were found.', 'roots'); ?></p>
</div> </div>
<?php get_search_form(); ?> <?php get_search_form(); ?>
<?php endif; ?> <?php endif; ?>
@@ -26,13 +25,9 @@
<ul class="pager"> <ul class="pager">
<?php if (get_next_posts_link()) : ?> <?php if (get_next_posts_link()) : ?>
<li class="previous"><?php next_posts_link(__('&larr; Older posts', 'roots')); ?></li> <li class="previous"><?php next_posts_link(__('&larr; Older posts', 'roots')); ?></li>
<?php else: ?>
<li class="previous disabled"><a><?php _e('&larr; Older posts', 'roots'); ?></a></li>
<?php endif; ?> <?php endif; ?>
<?php if (get_previous_posts_link()) : ?> <?php if (get_previous_posts_link()) : ?>
<li class="next"><?php previous_posts_link(__('Newer posts &rarr;', 'roots')); ?></li> <li class="next"><?php previous_posts_link(__('Newer posts &rarr;', 'roots')); ?></li>
<?php else: ?>
<li class="next disabled"><a><?php _e('Newer posts &rarr;', 'roots'); ?></a></li>
<?php endif; ?> <?php endif; ?>
</ul> </ul>
</nav> </nav>

View File

@@ -5,13 +5,4 @@
</div> </div>
</footer> </footer>
<?php if (GOOGLE_ANALYTICS_ID) : ?> <?php wp_footer(); ?>
<script>
var _gaq=[['_setAccount','<?php echo GOOGLE_ANALYTICS_ID; ?>'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<?php endif; ?>
<?php wp_footer(); ?>

View File

@@ -1,4 +1,4 @@
<header class="banner navbar navbar-fixed-top" role="banner"> <header class="banner navbar navbar-static-top" role="banner">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container"> <div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
@@ -18,4 +18,4 @@
</nav> </nav>
</div> </div>
</div> </div>
</header> </header>