Skip to content

Commit

Permalink
Merge pull request #54 from seb86/dev
Browse files Browse the repository at this point in the history
v1.4.7
  • Loading branch information
seb86 committed Apr 4, 2016
2 parents 08fd88a + 58959fc commit a270987
Show file tree
Hide file tree
Showing 11 changed files with 436 additions and 55 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
# 1.4.7 (4th April 2016)
* Added the Russian (Russia) translation.
* Updated the English (United Kingdom) translation.
* Updated the Italian (Italy) translation.

# 1.4.6 (3rd April 2016)
* Corrected links within the readme.txt file.
* Provided a list of extra features coming with Auto Load Next Post Premium.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -25,7 +25,7 @@ GitHub is for *bug reports and contributions only* - if you have a support quest
* When committing, reference your issue (#1234) and include a note about the fix.
* Push the changes to your fork and submit a pull request to the 'dev' branch of the Auto-Load-Next-Post repository.
* Please **don't** modify the changelog - this will be maintained by me.
* Please **don't** add your localizations or update the .pot files - this will be maintanied by me. To contribute to the localization of Auto Load Next Post, please join the [Auto Load Next Post Transifex project](https://www.transifex.com/projects/p/auto-load-next-post/).
* Please **don't** add your localizations or update the .pot files - this will be maintained by me. To contribute to the localization of Auto Load Next Post, please join the [Auto Load Next Post Transifex project](https://www.transifex.com/projects/p/auto-load-next-post/).

At this point you're waiting on me to merge your pull request. I'll review all pull requests, and make suggestions and changes if necessary.

Expand Down
18 changes: 11 additions & 7 deletions README.md
Expand Up @@ -2,25 +2,28 @@

[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png?style=flat)](http://gruntjs.com/) [![GitHub forks](https://img.shields.io/github/forks/seb86/Auto-Load-Next-Post.svg?style=flat)](https://github.com/seb86/Auto-Load-Next-Post/network) [![GitHub license](https://img.shields.io/badge/license-GPLv2-blue.svg?style=flat)](https://raw.githubusercontent.com/seb86/Auto-Load-Next-Post/master/license.txt) [![WordPress plugin](https://img.shields.io/wordpress/plugin/v/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![WordPress](https://img.shields.io/wordpress/plugin/dt/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![WordPress](https://img.shields.io/wordpress/v/auto-load-next-post.svg?style=flat)](https://wordpress.org/plugins/auto-load-next-post/) [![Build Status](https://scrutinizer-ci.com/g/seb86/Auto-Load-Next-Post/badges/build.png?b=master)](https://scrutinizer-ci.com/g/seb86/Auto-Load-Next-Post/build-status/master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/seb86/Auto-Load-Next-Post/badges/quality-score.png)](https://scrutinizer-ci.com/g/seb86/Auto-Load-Next-Post/) [![Code Climate](https://codeclimate.com/github/seb86/Auto-Load-Next-Post/badges/gpa.svg)](https://codeclimate.com/github/seb86/Auto-Load-Next-Post)

Have you ever felt tired of going back and forth between blog posts? I know I have so I developed a solution, one where you would need no coding or very little required to set up on your blog.
Gain more post views by allowing your site viewers to continue reading your blog posts as they scroll down the page.

[![Auto Load Next Post Video](https://raw.githubusercontent.com/seb86/Auto-Load-Next-Post/master/youtube-video-screenshot.png)](https://www.youtube.com/watch?v=EvBCPXVe2U4)

### What is Auto Load Next Post?
Auto Load Next Post loads the next post once the bottom of the first post the user visits has been reached. The process is repeated until there are no more posts to load.
Auto Load Next Post simply loads the next post on your blog automatically once the user has reached the bottom of the initial post. This is repeated until there are no more posts to load.

It simply reads the post navigation in the theme at the end of each post and collects the post URL for the next post / page. WordPress will then do a partial load and place the content of the next post underneath the parent post / page.
The post navigation at the end of each post is detected to collect the previous post URL for the next post to load. The Javacript then loads the post by inserting the content via a partial template underneath the parent post.

Not only that, it updates your web history by manipulating the web address and page title. This allows you to return to any post you have looked at in your browser history. When you refresh the browser, it will load the post / page the user was viewing last.
As it does this, your browser URL address bar and page title changes to the post that it has loaded. Should you refresh the browser, the post you were currently reading would load as the initial post.

Your browser still retains the history of the posts that were viewed on the blog.

### First Time Users
For new first time users I suggest reading [the documentation](https://github.com/seb86/Auto-Load-Next-Post/wiki) to understand how to setup the plugin and see how it works. By default when the plugin is activated, the settings are ready to be used with the latest WordPress core theme, Twenty Fifteen.
For new first time users I suggest reading [the documentation](https://github.com/seb86/Auto-Load-Next-Post/wiki) to understand how to setup the plugin and see how it works. By default when the plugin is activated, the settings are ready to be used with WordPress's core theme, Twenty Fifteen.

### Features
* Use action hooks to load content before and after the next post has loaded.
* Use action hooks to load content before and after the next post has loaded. [Example Plugin](https://github.com/seb86/Auto-Load-Next-Post-Hooks-Example)
* Have the option to hide the comments if you wish.
* Track each post load with Google Analytics. ( Requires Google Analytics to be applied for this to work. )
* Over-writable template file.
* WordPress Network / Multisite support.

> #### Auto Load Next Post Premium
> There's an even better version of the plugin coming out soon with the following extra features:
Expand Down Expand Up @@ -63,8 +66,9 @@ Current languages available:
* German (Germany)
* Italian (Italy)
* Româna (Romanian)
* Russian (Russia)

Auto Load Next Post is currently available in 5 languages. The folks over at [WP Translations](http://wp-translations.org/) handle the translations, and it's because of them that these translations are available. More are on the way and with your help they can be released quicker. If you would like to help translate, go to the [Transifex](https://www.transifex.com/projects/p/auto-load-next-post/) project.
Auto Load Next Post is currently available in 6 languages. The folks over at [WP Translations](http://wp-translations.org/) handle the translations, and it's because of them that these translations are available. More are on the way and with your help they can be released quicker. If you would like to help translate, go to the [Transifex](https://www.transifex.com/projects/p/auto-load-next-post/) project.

### Libraries Used
- [chosen](https://github.com/harvesthq/chosen)
Expand Down
4 changes: 2 additions & 2 deletions auto-load-next-post.php
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Auto Load Next Post
* Plugin URI: https://autoloadnextpost.com
* Description: Auto loads the next post as you scroll down to the end of a post. Replaces the URL in the address bar and the page title when viewing the next post.
* Version: 1.4.6
* Version: 1.4.7
* Author: Sébastien Dumont
* Author URI: https://sebastiendumont.com
* License: GPL-2.0+
Expand Down Expand Up @@ -149,7 +149,7 @@ public function autoload($class) {
* @access private
*/
private function setup_constants() {
$this->define('AUTO_LOAD_NEXT_POST_VERSION', '1.4.6');
$this->define('AUTO_LOAD_NEXT_POST_VERSION', '1.4.7');
$this->define('AUTO_LOAD_NEXT_POST_FILE', __FILE__);
$this->define('AUTO_LOAD_NEXT_POST_SLUG', 'auto-load-next-post');

Expand Down
Binary file modified languages/auto-load-next-post-it_IT.mo
Binary file not shown.
99 changes: 68 additions & 31 deletions languages/auto-load-next-post-it_IT.po
@@ -1,21 +1,23 @@
# Auto Load Next Post Copyright (c) {2014}
# Auto Load Next Post Copyright (c) {2016}
# Translators:
# Alessandro Curci <hantarex@gmail.com>, 2015
# marcochiesi <marco@blackstudio.it>, 2015
# Leonardo Armando Iarrusso <trueliarx@gmail.com>, 2016
# marcochiesi <marco@blackstudio.it>, 2015-2016
# Sebastien D <mailme@sebastiendumont.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Auto Load Next Post\n"
"Report-Msgid-Bugs-To: https://github.com/seb86/WordPress-Plugin-Boilerplate/issues\n"
"POT-Creation-Date: 2015-11-28 16:47+0100\n"
"PO-Revision-Date: 2015-11-30 14:40+0100\n"
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
"Report-Msgid-Bugs-To: https://github.com/seb86/Auto-Load-Next-Post/issues\n"
"POT-Creation-Date: 2016-04-02 23:57+0200\n"
"PO-Revision-Date: 2016-04-04 21:48+0200\n"
"Last-Translator: Sebastien D <mailme@sebastiendumont.com>\n"
"Language-Team: Italian (Italy) (http://www.transifex.com/wp-translations/auto-load-next-post/language/it_IT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it_IT\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.6\n"
"X-Generator: Poedit 1.8.7\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
"X-Poedit-SourceCharset: UTF-8\n"
Expand All @@ -26,7 +28,9 @@ msgstr ""
msgid "Cheatin’ huh?"
msgstr "Si tenta di fare i furbi, eh?"

#: includes/admin/class-auto-load-next-post-admin-help.php:51 includes/admin/class-auto-load-next-post-admin.php:81 includes/admin/class-auto-load-next-post-admin.php:147
#: includes/admin/class-auto-load-next-post-admin-help.php:51
#: includes/admin/class-auto-load-next-post-admin.php:81
#: includes/admin/class-auto-load-next-post-admin.php:147
msgid "Documentation"
msgstr "Documentazione"

Expand All @@ -46,27 +50,61 @@ msgstr "Hai trovato un bug?"

#: includes/admin/class-auto-load-next-post-admin-help.php:61
#, php-format
msgid "If you find a bug within <strong>%s</strong> you can create a ticket via <a href=\"%s\" target=\"_blank\">Github issues</a>. Ensure you read the <a href=\"%s\" target=\"_blank\">contribution guide</a> prior to submitting your report. Be as descriptive as possible. Thank you."
msgstr "Se trovi un bug in <strong>%s</strong> puoi creare un ticket su <a href=\"%s\" target=\"_blank\">Github issues</a>. Assicurati di leggere la <a href=\"%s\" target=\"_blank\">guida di contribuzione</a> prima di inviare la tua segnalazione. Sii il più descrittivo possibile. Grazie."
msgid "If you find a bug within <strong>%s</strong>, please create a ticket on GitHub via the <a href=\"%s\" target=\"_blank\">Github issues</a>. Ensure that you read the <a href=\"%s\" target=\"_blank\">contribution guidelines</a> prior to submitting your report. Be as descriptive as possible. Thank you."
msgstr "Se trovi un bug in <strong>%s</strong> puoi creare un ticket su <a href=\"%s\" target=\"_blank\">Github issues</a>. Assicurati di leggere le <a href=\"%s\" target=\"_blank\">Linee guida sulla contribuzione</a> prima di inviare la tua segnalazione. Sii il più descrittivo possibile. Grazie."

#: includes/admin/class-auto-load-next-post-admin-help.php:62
msgid "Report a bug"
msgstr "Segnala un bug"
#: includes/admin/class-auto-load-next-post-admin.php:191
msgid "Report an Issue"
msgstr "Segnala un problema"

#: includes/admin/class-auto-load-next-post-admin-help.php:67
#: includes/admin/class-auto-load-next-post-admin.php:57
#: includes/admin/settings/class-auto-load-next-post-settings-support.php:32
#: includes/admin/settings/class-auto-load-next-post-settings-support.php:83
msgid "Support"
msgstr "Supporto"

#: includes/admin/class-auto-load-next-post-admin-help.php:69
#, php-format
msgid "If you need support with <strong>%s</strong>, you may ask the WordPress community for help by opening a thread on the <a href=\"%s\" target=\"_blank\">WordPress.org support forum</a>."
msgstr "Per supporto con <strong>%s</strong> puoi chiedere aiuto alla comunità WordPress creando una nuova discusssione sul forum di supporto di <a href=\"%s\" target=\"_blank\">WordPress.org</a>."

#: includes/admin/class-auto-load-next-post-admin-help.php:70
msgid "Create a Ticket"
msgstr "Crea un Ticket"

#: includes/admin/class-auto-load-next-post-admin-help.php:75
msgid "Feedback"
msgstr "Riscontro"

#: includes/admin/class-auto-load-next-post-admin-help.php:77
#, php-format
msgid "Your feedback is most important as it helps improve <strong>%s</strong> to support what you need. You can either submit a review on WordPress.org or complete a simple survey."
msgstr "La tua opinione è molto importante e ci aiuta a migliorare <strong>%s</strong> per le tue necessità. Puoi inviare una recensione su WordPress.org o completare un semplice sondaggio."

#: includes/admin/class-auto-load-next-post-admin-help.php:66
#: includes/admin/class-auto-load-next-post-admin-help.php:78
msgid "Submit a Review"
msgstr "Invia una Recensione"

#: includes/admin/class-auto-load-next-post-admin-help.php:78
msgid "Complete Survey"
msgstr "Completa il Sondaggio"

#: includes/admin/class-auto-load-next-post-admin-help.php:82
msgid "For more information:"
msgstr "Per altre informazioni:"

#: includes/admin/class-auto-load-next-post-admin-help.php:67
#: includes/admin/class-auto-load-next-post-admin-help.php:83
#, php-format
msgid "About %s"
msgstr "Informazioni su %s"

#: includes/admin/class-auto-load-next-post-admin-help.php:68
#: includes/admin/class-auto-load-next-post-admin-help.php:84
msgid "Project on WordPress.org"
msgstr "Progetto su WordPress.org"

#: includes/admin/class-auto-load-next-post-admin-help.php:69
#: includes/admin/class-auto-load-next-post-admin-help.php:85
msgid "Project on Github"
msgstr "Progetto su Github"

Expand All @@ -83,7 +121,8 @@ msgstr "Azione non riuscita. Si prega di aggiornare la pagina e riprovare."
msgid "Your settings have been saved."
msgstr "Le tue impostazioni sono state salvate."

#: includes/admin/class-auto-load-next-post-admin-settings.php:134 includes/admin/class-auto-load-next-post-admin.php:122
#: includes/admin/class-auto-load-next-post-admin-settings.php:134
#: includes/admin/class-auto-load-next-post-admin.php:122
msgid "The changes you made will be lost if you navigate away from this page."
msgstr "Se si abbandona questa pagina i cambiamenti effettuati verranno persi ."

Expand All @@ -95,10 +134,6 @@ msgstr "Aggiorna ora"
msgid "Settings"
msgstr "Impostazioni"

#: includes/admin/class-auto-load-next-post-admin.php:57 includes/admin/settings/class-auto-load-next-post-settings-support.php:32 includes/admin/settings/class-auto-load-next-post-settings-support.php:83
msgid "Support"
msgstr "Supporto"

#: includes/admin/class-auto-load-next-post-admin.php:82
msgid "Community Support"
msgstr "Supporto comunitario"
Expand All @@ -116,16 +151,13 @@ msgstr "Se <strong>%1$s</strong> ti piace, per favore lascia una valutazione <a
msgid "Contribute"
msgstr "Contribuisci"

#: includes/admin/class-auto-load-next-post-admin.php:191
msgid "Report Bugs"
msgstr "Segnala i bug"

#: includes/admin/class-auto-load-next-post-admin.php:200
#, php-format
msgid "%s Version"
msgstr "Versione %s"

#: includes/admin/settings/class-auto-load-next-post-settings-general.php:34 includes/admin/settings/class-auto-load-next-post-settings-general.php:83
#: includes/admin/settings/class-auto-load-next-post-settings-general.php:34
#: includes/admin/settings/class-auto-load-next-post-settings-general.php:83
msgid "General"
msgstr "Impostazioni Generali"

Expand Down Expand Up @@ -205,12 +237,12 @@ msgstr "Ciao <b>%s</b>,"

#: includes/admin/settings/class-auto-load-next-post-settings-support.php:63
#, php-format
msgid "%1$s is <b>100&#37; free and open-sourced</b>, but I do rely on donations to facilitate further development of the free plugin. If %1$s has worked out for you well, please consider making a donation at %2$s"
msgstr "%1$s è <b>100&#37; grauito e open-sourced</b>, ma faccio affidamento sulle donazioni per l'ulteriore sviluppo del plugin. Se %1$s ti è stato utile, per favore considera la possibilità di effettuare una donazione su %2$s"
msgid "%1$s is <b>100&#37; free and open-sourced</b>, but I do rely on donations to facilitate further development of the free plugin. If %1$s has worked out for you well, please consider <a href=\"%2$s\" target=\"_blank\">making a donation</a>."
msgstr "%1$s è <b>100&#37; gratuito e opensource</b> ma si basa sulle donazioni per lo sviluppo di questo plugin gratuito. Se %1$s ti è stato utile considera di <a href=\"%2$s\" target=\"_blank\">fare una donazione</a>."

#: includes/admin/settings/class-auto-load-next-post-settings-support.php:64
#, php-format
msgid "As this is a free plugin, I can not provide support. You may ask the WordPress community for help by opening a thread on the <a href=\"%s\" target=\"_blank\">WordPress.org support forum</a>. Response time can range from a few days to a few weeks and will likely be from a non-developer."
msgid "As this is a free plugin, I can not always provide support. You may ask the WordPress community for help by opening a thread on the <a href=\"%s\" target=\"_blank\">WordPress.org support forum</a>. Response time can range from a few days to a few weeks and will likely be from a non-developer."
msgstr "Trattandosi di un plugin gratuito, non posso fornire supporto. Puoi chiedere aiuto alla comunità di WordPress aprendo una discussione sul <a href=\"%s\" target=\"_blank\">forum di support di WordPress.org</a>. I tempi di risposta possono variare da pochi giorni a poche settimane e probabilmente e probabilmente saranno risposte di non sviluppatori."

#: includes/admin/settings/class-auto-load-next-post-settings-support.php:66
Expand All @@ -219,8 +251,8 @@ msgid "If you've found a bug, please <a href=\"%s\" target=\"_blank\">submit an
msgstr "Se hai trovato un bug, per favore <a href=\"%s\" target=\"_blank\">apri una Issue su GitHub</a> dove potrò gestirla in maniera più efficiente."

#: includes/admin/settings/class-auto-load-next-post-settings-support.php:67
msgid "Also if you can spare about 5 minutes to take a simple <a href=\"http://sebd86.polldaddy.com/s/auto-load-next-post\" target=\"_blank\">survey</a>, it would be a great help."
msgstr "Inoltre se hai 5 minuti potresti partecipare a un semplice <a href=\"http://sebd86.polldaddy.com/s/auto-load-next-post\" target=\"_blank\">sondaggio</a>, sarebbe di grande aiuto."
msgid "Also if you can spare about 5 minutes to <a href=\"https://sebd86.polldaddy.com/s/auto-load-next-post\" target=\"_blank\">take a simple survey</a>, it would be a great help."
msgstr "Inoltre se hai 5 minuti potresti <a href=\"https://sebd86.polldaddy.com/s/auto-load-next-post\" target=\"_blank\">partecipare a un semplice sondaggio</a>, sarebbe di grande aiuto."

#: includes/admin/settings/class-auto-load-next-post-settings-support.php:68
msgid "Thank you."
Expand Down Expand Up @@ -266,6 +298,11 @@ msgctxt "Previous post link"
msgid "&larr;"
msgstr "&larr;"

#: wp-update-php/WPUpdatePhp.php:47
#, php-format
msgid "Unfortunately, <strong>%s</strong> can not run on PHP versions older than "
msgstr "Sfortunatamente <strong>%s</strong> non funziona con versioni di PHP più vecchie di "

#: wp-update-php/wp-update-php.php:151
#, php-format
msgid "%s recommends a PHP version higher than %s. Read more information about <a href=\"%s\" target=\"_blank\">how you can update</a>."
Expand Down
Binary file added languages/auto-load-next-post-ru_RU.mo
Binary file not shown.

0 comments on commit a270987

Please sign in to comment.