List category posts - Version 0.51

Version Description

  • Fixes translations, updates Spanish translation. Translators, please update your po and mo files and submit them via pull request on GitHub :)
    • Test compatibility with WordPress 4.0
    • Adds icon for WordPress 4.0 new plugin interface.
    • Fixes posts_morelink and customfields for templates.
    • Adds fixes by htrex:
    • Fix custom template regression
    • Fix excluded categories not working in widget
Download this release

Release Info

Developer fernandobt
Plugin Icon 128x128 List category posts
Version 0.51
Comparing to
See all releases

Code changes from version 0.50.3 to 0.51

include/{CatList.php → lcp-catlist.php} RENAMED
@@ -112,8 +112,8 @@ class CatList{
112
  $args['tag'] = $this->params['tags'];
113
  endif;
114
 
115
- if ( !empty($this->exclude)):
116
- $args['category__not_in'] = array($this->exclude);
117
  endif;
118
 
119
  if ( $this->lcp_not_empty('customfield_orderby') ):
@@ -620,4 +620,4 @@ class CatList{
620
  endif;
621
  return $lcp_thumbnail;
622
  }
623
- }
112
  $args['tag'] = $this->params['tags'];
113
  endif;
114
 
115
+ if ( !empty($this->params['exclude'])):
116
+ $args['category__not_in'] = array($this->params['exclude']);
117
  endif;
118
 
119
  if ( $this->lcp_not_empty('customfield_orderby') ):
620
  endif;
621
  return $lcp_thumbnail;
622
  }
623
+ }
include/{CatListDisplayer.php → lcp-catlistdisplayer.php} RENAMED
@@ -1,10 +1,10 @@
1
  <?php
2
  /**
3
  * This is an auxiliary class to help display the info
4
- * on your CatList.php instance.
5
  * @author fernando@picandocodigo.net
6
  */
7
- require_once 'CatList.php';
8
 
9
  class CatListDisplayer {
10
  private $catlist;
@@ -79,7 +79,7 @@ class CatListDisplayer {
79
  $paths = self::getTemplatePaths();
80
  foreach ($paths as $templatePath){
81
  if (is_dir($templatePath) && scandir($templatePath)){
82
- foreach ($templatePath as $file){
83
  // Check that the files found are well formed
84
  if ( ($file[0] != '.') && (substr($file, -4) == '.php') &&
85
  is_file($templatePath.$file) && is_readable($templatePath.$file) ){
@@ -267,27 +267,7 @@ class CatListDisplayer {
267
  }
268
 
269
  // Custom field display
270
- if (!empty($this->params['customfield_display'])) :
271
- if (!empty($this->params['customfield_tag'])):
272
- if (!empty($this->params['customfield_class'])):
273
- $lcp_display_output .= $this->get_custom_fields(
274
- $this->params['customfield_display'],
275
- $single->ID,
276
- $this->params['customfield_tag'],
277
- $this->params['customfield_class']);
278
- else:
279
- $lcp_display_output .= $this->get_custom_fields(
280
- $this->params['customfield_display'],
281
- $single->ID,
282
- $this->params['customfield_tag']);
283
- endif;
284
- else:
285
- $lcp_display_output .= $this->get_custom_fields(
286
- $this->params['customfield_display'],
287
- $single->ID
288
- );
289
- endif;
290
- endif;
291
 
292
  $lcp_display_output .= $this->get_thumbnail($single);
293
 
@@ -315,15 +295,7 @@ class CatListDisplayer {
315
  $lcp_display_output .= $this->get_excerpt($single);
316
  endif;
317
 
318
- if (!empty($this->params['posts_morelink'])) :
319
- $href = 'href="' . get_permalink($single->ID) . '"';
320
- $class = "";
321
- if (!empty($this->params['posts_morelink_class'])) :
322
- $class = 'class="' . $this->params['posts_morelink_class'] . '" ';
323
- endif;
324
- $readmore = $this->params['posts_morelink'];
325
- $lcp_display_output .= ' <a ' . $href . ' ' . $class . ' >' . $readmore . '</a>';
326
- endif;
327
 
328
  $lcp_display_output .= '</' . $tag . '>';
329
  return $lcp_display_output;
@@ -363,13 +335,15 @@ class CatListDisplayer {
363
  return $this->assign_style($info, $tag, $css_class);
364
  }
365
 
366
- private function get_custom_fields($custom_key, $post_id, $tag = null, $css_class = null){
367
- $info = $this->catlist->get_custom_fields($custom_key, $post_id);
368
- if($tag == null)
369
- $tag = 'div';
370
- if($css_class == null)
371
- $css_class = 'lcp_customfield';
372
- return $this->assign_style($info, $tag, $css_class);
 
 
373
  }
374
 
375
  private function get_date($single, $tag = null, $css_class = null){
@@ -442,6 +416,18 @@ class CatListDisplayer {
442
  return $info;
443
  }
444
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  private function get_category_link($tag = null, $css_class = null){
446
  $info = $this->catlist->get_category_link();
447
  return $this->assign_style($info, $tag, $css_class);
1
  <?php
2
  /**
3
  * This is an auxiliary class to help display the info
4
+ * on your CatList instance.
5
  * @author fernando@picandocodigo.net
6
  */
7
+ require_once 'lcp-catlist.php';
8
 
9
  class CatListDisplayer {
10
  private $catlist;
79
  $paths = self::getTemplatePaths();
80
  foreach ($paths as $templatePath){
81
  if (is_dir($templatePath) && scandir($templatePath)){
82
+ foreach (scandir($templatePath) as $file){
83
  // Check that the files found are well formed
84
  if ( ($file[0] != '.') && (substr($file, -4) == '.php') &&
85
  is_file($templatePath.$file) && is_readable($templatePath.$file) ){
267
  }
268
 
269
  // Custom field display
270
+ $lcp_display_output .= $this->get_custom_fields($single);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
 
272
  $lcp_display_output .= $this->get_thumbnail($single);
273
 
295
  $lcp_display_output .= $this->get_excerpt($single);
296
  endif;
297
 
298
+ $lcp_display_output .= $this->get_posts_morelink($single);
 
 
 
 
 
 
 
 
299
 
300
  $lcp_display_output .= '</' . $tag . '>';
301
  return $lcp_display_output;
335
  return $this->assign_style($info, $tag, $css_class);
336
  }
337
 
338
+ private function get_custom_fields($single){
339
+ if(!empty($this->params['customfield_display'])){
340
+ $info = $this->catlist->get_custom_fields($this->params['customfield_display'], $single->ID);
341
+ if(empty($this->params['customfield_tag']) || $this->params['customfield_tag'] == null)
342
+ $tag = 'div';
343
+ if(empty($this->params['customfield_class']) || $this->params['customfield_class'] == null)
344
+ $css_class = 'lcp_customfield';
345
+ return $this->assign_style($info, $tag, $css_class);
346
+ }
347
  }
348
 
349
  private function get_date($single, $tag = null, $css_class = null){
416
  return $info;
417
  }
418
 
419
+ private function get_posts_morelink($single){
420
+ if(!empty($this->params['posts_morelink'])){
421
+ $href = 'href="' . get_permalink($single->ID) . '"';
422
+ $class = "";
423
+ if ( !empty($this->params['posts_morelink_class']) ):
424
+ $class = 'class="' . $this->params['posts_morelink_class'] . '" ';
425
+ endif;
426
+ $readmore = $this->params['posts_morelink'];
427
+ return ' <a ' . $href . ' ' . $class . ' >' . $readmore . '</a>';
428
+ }
429
+ }
430
+
431
  private function get_category_link($tag = null, $css_class = null){
432
  $info = $this->catlist->get_category_link();
433
  return $this->assign_style($info, $tag, $css_class);
include/{options.php → lcp-options.php} RENAMED
@@ -22,7 +22,7 @@ function list_category_posts_options() {
22
  ?>
23
  <div class="wrap">
24
  <h2>List Category Posts</h2>
25
- <form method="post" action="options.php">
26
  <?php
27
  settings_fields('list_category_posts_group');
28
  do_settings_sections('list_category_posts_group');
@@ -41,10 +41,10 @@ function list_category_posts_options() {
41
  <small>
42
  <ul>
43
  <li>
44
- <?php _e("Default number of posts (overriden using <code>numberposts</code> parameter on each shortcode)."); ?>
45
  </li>
46
- <li><?php _e("0 - displays the max number of posts per page");?></li>
47
- <li><?php _e("-1 - displays ALL THE POSTS (no limit)");?></li>
48
  </ul>
49
  </small>
50
  </td>
@@ -54,13 +54,13 @@ function list_category_posts_options() {
54
  </form>
55
  <p>
56
  <em>
57
- <?php _e("Thanks for using List Category Posts.");?>
58
  <?php _e("If you need help with the plugin, please visit
59
  the <a href='http://wordpress.org/support/plugin/list-category-posts'>WordPress
60
  support forum</a>. Make sure
61
  you <a href='http://wordpress.org/extend/plugins/list-category-posts/other_notes/'>read
62
  the instructions</a> to be aware of all the things you can do
63
- with List Category Posts and <a href='https://github.com/picandocodigo/List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>check out the FAQ</a>."); ?>
64
  </em>
65
  </p>
66
 
@@ -71,7 +71,7 @@ function list_category_posts_options() {
71
  to <a href='https://github.com/picandocodigo/List-Category-Posts/issues'>GitHub
72
  Issues</a> and check out the
73
  the <a href='https://github.com/picandocodigo/List-Category-Posts'>GitHub
74
- repo</a> if you want to contribute code."); ?>
75
  </p>
76
  <p>
77
  <?php _e("If you've found the plugin useful, consider making
@@ -81,7 +81,7 @@ function list_category_posts_options() {
81
  for <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/ref=wl_web'
82
  title='Amazon Wishlist' rel='nofollow'>books</a>
83
  or <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/ref=cm_wl_rlist_go_o'
84
- rel='nofollow'>comic books</a> :)."); ?>
85
  </em>
86
  </p>
87
  </div>
22
  ?>
23
  <div class="wrap">
24
  <h2>List Category Posts</h2>
25
+ <form method="post" action="lcp-options.php">
26
  <?php
27
  settings_fields('list_category_posts_group');
28
  do_settings_sections('list_category_posts_group');
41
  <small>
42
  <ul>
43
  <li>
44
+ <?php _e("Default number of posts (overriden using <code>numberposts</code> parameter on each shortcode).", "list-category-posts"); ?>
45
  </li>
46
+ <li><?php _e("0 - displays the max number of posts per page", "list-category-posts");?></li>
47
+ <li><?php _e("-1 - displays ALL THE POSTS (no limit)", "list-category-posts", "list-category-posts");?></li>
48
  </ul>
49
  </small>
50
  </td>
54
  </form>
55
  <p>
56
  <em>
57
+ <?php _e("Thanks for using List Category Posts.", "list-category-posts");?>
58
  <?php _e("If you need help with the plugin, please visit
59
  the <a href='http://wordpress.org/support/plugin/list-category-posts'>WordPress
60
  support forum</a>. Make sure
61
  you <a href='http://wordpress.org/extend/plugins/list-category-posts/other_notes/'>read
62
  the instructions</a> to be aware of all the things you can do
63
+ with List Category Posts and <a href='https://github.com/picandocodigo/List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>check out the FAQ</a>.", "list-category-posts"); ?>
64
  </em>
65
  </p>
66
 
71
  to <a href='https://github.com/picandocodigo/List-Category-Posts/issues'>GitHub
72
  Issues</a> and check out the
73
  the <a href='https://github.com/picandocodigo/List-Category-Posts'>GitHub
74
+ repo</a> if you want to contribute code.", "list-category-posts"); ?>
75
  </p>
76
  <p>
77
  <?php _e("If you've found the plugin useful, consider making
81
  for <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/ref=wl_web'
82
  title='Amazon Wishlist' rel='nofollow'>books</a>
83
  or <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/ref=cm_wl_rlist_go_o'
84
+ rel='nofollow'>comic books</a> :).", "list-category-posts"); ?>
85
  </em>
86
  </p>
87
  </div>
include/{lcp_widget_form.php → lcp-widget-form.php} RENAMED
File without changes
include/{ListCategoryPostsWidget.php → lcp-widget.php} RENAMED
@@ -3,7 +3,7 @@
3
  * List Category Posts sidebar widget.
4
  * @author fernando@picandocodigo.net
5
  */
6
- require_once 'CatListDisplayer.php';
7
 
8
  class ListCategoryPostsWidget extends WP_Widget{
9
 
@@ -107,7 +107,7 @@ class ListCategoryPostsWidget extends WP_Widget{
107
 
108
  /** @see WP_Widget::form */
109
  function form($instance) {
110
- include('lcp_widget_form.php');
111
  }
112
  }
113
 
3
  * List Category Posts sidebar widget.
4
  * @author fernando@picandocodigo.net
5
  */
6
+ require_once 'lcp-catlistdisplayer.php';
7
 
8
  class ListCategoryPostsWidget extends WP_Widget{
9
 
107
 
108
  /** @see WP_Widget::form */
109
  function form($instance) {
110
+ include('lcp-widget-form.php');
111
  }
112
  }
113
 
languages/list-category-posts-es_ES.mo CHANGED
Binary file
languages/list-category-posts-es_ES.po CHANGED
@@ -4,122 +4,249 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: list-category-posts\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp\n"
7
- "POT-Creation-Date: 2012-12-19 13:23:13+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2012-12-21 02:40-0300\n"
12
  "Last-Translator: Fernando Briano <fernando@picandocodigo.net>\n"
13
  "Language-Team: <fernando@picandocodigo.net>\n"
14
  "Language: es_ES\n"
 
 
 
 
15
 
16
- #: include/ListCategoryPostsWidget.php:5
17
- msgid ""
18
- "List Category Posts allows you to list posts from a category into a post/"
19
- "page using the [catlist] shortcode. This shortcode accepts a category name "
20
- "or id, the order in which you want the posts to display, and the number of "
21
- "posts to display. You can use [catlist] as many times as needed with "
22
- "different arguments. Usage: [catlist argument1=value1 argument2=value2]."
23
- msgstr ""
24
- "List Category Posts te permite listar posts de una categoría en una página o "
25
- "post usando el shortcode [catlist]. Este shortcode acepta el nombre o id de "
26
- "una categoría, el orden en el que quieres que aparezcan los post, y la "
27
- "cantidad de posts a mostrar. Puedes usar [catlist] cuantas veces sea "
28
- "necesario con argumentos diferente. Modo de uso: [catlist argumento1=valor "
29
- "argumento2=valor]."
30
-
31
- #: include/ListCategoryPostsWidget.php:11
32
- msgid "List posts from a specified category"
33
- msgstr "Listar posts de una categoría especificada"
34
-
35
- #: include/ListCategoryPostsWidget.php:12
36
- msgid "List Category Posts"
37
- msgstr "List Category Posts"
38
-
39
- #: include/lcp_widget_form.php:40
40
  msgid "Title"
41
  msgstr "Título"
42
 
43
- #: include/lcp_widget_form.php:47
44
  msgid "Category"
45
  msgstr "Categoría"
46
 
47
- #: include/lcp_widget_form.php:65
48
  msgid "Number of posts"
49
  msgstr "Cantidad de posts"
50
 
51
- #: include/lcp_widget_form.php:72
52
  msgid "Offset"
53
  msgstr "Offset"
54
 
55
- #: include/lcp_widget_form.php:78
56
  msgid "Order by"
57
  msgstr "Ordenar por"
58
 
59
- #: include/lcp_widget_form.php:81 include/lcp_widget_form.php:123
 
60
  msgid "Date"
61
  msgstr "Fecha"
62
 
63
- #: include/lcp_widget_form.php:82
64
  msgid "Post title"
65
  msgstr "Título del post"
66
 
67
- #: include/lcp_widget_form.php:83 include/lcp_widget_form.php:127
 
68
  msgid "Author"
69
  msgstr "Autor"
70
 
71
- #: include/lcp_widget_form.php:84
72
  msgid "Random"
73
  msgstr "Al azar"
74
 
75
- #: include/lcp_widget_form.php:88
76
  msgid "Order"
77
  msgstr "Orden"
78
 
79
- #: include/lcp_widget_form.php:91
80
  msgid "Descending"
81
  msgstr "Descendiente"
82
 
83
- #: include/lcp_widget_form.php:92
84
  msgid "Ascending"
85
  msgstr "Ascendiente"
86
 
87
- #: include/lcp_widget_form.php:96
88
  msgid "Exclude categories (id's)"
89
  msgstr "Excluir categorías (id's)"
90
 
91
- #: include/lcp_widget_form.php:102
92
  msgid "Exclude posts (id's)"
93
  msgstr "Excluir posts (id's)"
94
 
95
- #: include/lcp_widget_form.php:109
96
  msgid "Show"
97
  msgstr "Mostrar"
98
 
99
- #: include/lcp_widget_form.php:112
100
  msgid "Thumbnail - size"
101
  msgstr "Vista previa - tamaño"
102
 
103
- #: include/lcp_widget_form.php:131
104
- msgid "Link to category"
105
- msgstr "Enlace a la categoría"
 
 
 
 
 
 
 
 
106
 
107
- #: include/lcp_widget_form.php:135
108
  msgid "Excerpt"
109
  msgstr "Extracto"
110
 
111
- #: include/lcp_widget_form.php:138
 
 
 
 
112
  msgid "More link"
113
  msgstr "Enlace a más"
114
 
115
- #: list_cat_posts.php:102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  msgid "How to use"
117
  msgstr "Cómo usarlo"
118
 
119
- #: list_cat_posts.php:103
120
  msgid "Donate"
121
  msgstr "Donar"
122
 
123
- #: list_cat_posts.php:104
124
  msgid "Fork on Github"
125
  msgstr "Forkear en Github"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  msgstr ""
5
  "Project-Id-Version: list-category-posts\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp\n"
7
+ "POT-Creation-Date: 2014-09-03 22:58-0300\n"
8
+ "PO-Revision-Date: 2014-09-03 23:58-0300\n"
 
 
 
9
  "Last-Translator: Fernando Briano <fernando@picandocodigo.net>\n"
10
  "Language-Team: <fernando@picandocodigo.net>\n"
11
  "Language: es_ES\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
 
17
+ #: ../include/lcp-widget-form.php:51 .././include/lcp-widget-form.php:51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  msgid "Title"
19
  msgstr "Título"
20
 
21
+ #: ../include/lcp-widget-form.php:61 .././include/lcp-widget-form.php:61
22
  msgid "Category"
23
  msgstr "Categoría"
24
 
25
+ #: ../include/lcp-widget-form.php:90 .././include/lcp-widget-form.php:90
26
  msgid "Number of posts"
27
  msgstr "Cantidad de posts"
28
 
29
+ #: ../include/lcp-widget-form.php:100 .././include/lcp-widget-form.php:100
30
  msgid "Offset"
31
  msgstr "Offset"
32
 
33
+ #: ../include/lcp-widget-form.php:109 .././include/lcp-widget-form.php:109
34
  msgid "Order by"
35
  msgstr "Ordenar por"
36
 
37
+ #: ../include/lcp-widget-form.php:113 ../include/lcp-widget-form.php:184
38
+ #: .././include/lcp-widget-form.php:113 .././include/lcp-widget-form.php:184
39
  msgid "Date"
40
  msgstr "Fecha"
41
 
42
+ #: ../include/lcp-widget-form.php:114 .././include/lcp-widget-form.php:114
43
  msgid "Post title"
44
  msgstr "Título del post"
45
 
46
+ #: ../include/lcp-widget-form.php:115 ../include/lcp-widget-form.php:196
47
+ #: .././include/lcp-widget-form.php:115 .././include/lcp-widget-form.php:196
48
  msgid "Author"
49
  msgstr "Autor"
50
 
51
+ #: ../include/lcp-widget-form.php:116 .././include/lcp-widget-form.php:116
52
  msgid "Random"
53
  msgstr "Al azar"
54
 
55
+ #: ../include/lcp-widget-form.php:133 .././include/lcp-widget-form.php:133
56
  msgid "Order"
57
  msgstr "Orden"
58
 
59
+ #: ../include/lcp-widget-form.php:139 .././include/lcp-widget-form.php:139
60
  msgid "Descending"
61
  msgstr "Descendiente"
62
 
63
+ #: ../include/lcp-widget-form.php:142 .././include/lcp-widget-form.php:142
64
  msgid "Ascending"
65
  msgstr "Ascendiente"
66
 
67
+ #: ../include/lcp-widget-form.php:149 .././include/lcp-widget-form.php:149
68
  msgid "Exclude categories (id's)"
69
  msgstr "Excluir categorías (id's)"
70
 
71
+ #: ../include/lcp-widget-form.php:159 .././include/lcp-widget-form.php:159
72
  msgid "Exclude posts (id's)"
73
  msgstr "Excluir posts (id's)"
74
 
75
+ #: ../include/lcp-widget-form.php:168 .././include/lcp-widget-form.php:168
76
  msgid "Show"
77
  msgstr "Mostrar"
78
 
79
+ #: ../include/lcp-widget-form.php:170 .././include/lcp-widget-form.php:170
80
  msgid "Thumbnail - size"
81
  msgstr "Vista previa - tamaño"
82
 
83
+ #: ../include/lcp-widget-form.php:190 .././include/lcp-widget-form.php:190
84
+ msgid "Modified Date"
85
+ msgstr "Fecha de modificación"
86
+
87
+ #: ../include/lcp-widget-form.php:202 .././include/lcp-widget-form.php:202
88
+ msgid ""
89
+ "Link to category (use 'catlink' on the title field if you want the title of "
90
+ "this widget to be a link to the category)"
91
+ msgstr ""
92
+ "Enlace a categoría (usar 'catlink' en el campo de título si quieres que el "
93
+ "título de este widget sea un enlace a la categoría)"
94
 
95
+ #: ../include/lcp-widget-form.php:208 .././include/lcp-widget-form.php:208
96
  msgid "Excerpt"
97
  msgstr "Extracto"
98
 
99
+ #: ../include/lcp-widget-form.php:212 .././include/lcp-widget-form.php:212
100
+ msgid "Excerpt size"
101
+ msgstr "Tamaño del extracto\t"
102
+
103
+ #: ../include/lcp-widget-form.php:221 .././include/lcp-widget-form.php:221
104
  msgid "More link"
105
  msgstr "Enlace a más"
106
 
107
+ #: ../include/lcp-widget-form.php:231 .././include/lcp-widget-form.php:231
108
+ msgid "Template"
109
+ msgstr "Plantilla"
110
+
111
+ #: ../include/lcp-widget.php:11 .././include/lcp-widget.php:11
112
+ msgid "List posts from a specified category"
113
+ msgstr "Listar posts de una categoría especificada"
114
+
115
+ #: ../include/lcp-widget.php:12 .././include/lcp-widget.php:12
116
+ msgid "List Category Posts"
117
+ msgstr "List Category Posts"
118
+
119
+ #: ../include/lcp-catlist.php:274 .././include/lcp-catlist.php:274
120
+ msgid "Empty Term"
121
+ msgstr "Término vacío"
122
+
123
+ #: ../include/lcp-catlist.php:494 .././include/lcp-catlist.php:494
124
+ msgid "Continue reading &rarr;"
125
+ msgstr "Seguir leyendo &rarr;"
126
+
127
+ #: ../include/lcp-options.php:19 .././include/lcp-options.php:19
128
+ msgid "You do not have sufficient permissions to access this page."
129
+ msgstr "No tienes suficientes permisos para acceder a esta página."
130
+
131
+ #: ../include/lcp-options.php:36 .././include/lcp-options.php:36
132
+ msgid "Number of Posts"
133
+ msgstr "Cantidad de posts"
134
+
135
+ #: ../include/lcp-options.php:44 .././include/lcp-options.php:44
136
+ msgid ""
137
+ "Default number of posts (overriden using <code>numberposts</code> parameter "
138
+ "on each shortcode)."
139
+ msgstr ""
140
+ "Cantidad de posts por defecto (se pasa por arriba usando el parámetro "
141
+ "<code>numberposts</code> en cada llamada al shortcode)."
142
+
143
+ #: ../include/lcp-options.php:46 .././include/lcp-options.php:46
144
+ msgid "0 - displays the max number of posts per page"
145
+ msgstr "0 - muestra la cantidad máxima de posts por página"
146
+
147
+ #: ../include/lcp-options.php:47 .././include/lcp-options.php:47
148
+ msgid "-1 - displays ALL THE POSTS (no limit)"
149
+ msgstr "-1 - muestra TODOS LOS POSTS (sin límite)"
150
+
151
+ #: ../include/lcp-options.php:57 .././include/lcp-options.php:57
152
+ msgid "Thanks for using List Category Posts."
153
+ msgstr "Gracias por usar List Category Posts."
154
+
155
+ #: ../include/lcp-options.php:58 .././include/lcp-options.php:58
156
+ msgid ""
157
+ "If you need help with the plugin, please visit\n"
158
+ " the <a href='http://wordpress.org/support/plugin/list-category-"
159
+ "posts'>WordPress\n"
160
+ " support forum</a>. Make sure\n"
161
+ " you <a href='http://wordpress.org/extend/plugins/list-category-posts/"
162
+ "other_notes/'>read\n"
163
+ " the instructions</a> to be aware of all the things you can do\n"
164
+ " with List Category Posts and <a href='https://github.com/picandocodigo/"
165
+ "List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>check "
166
+ "out the FAQ</a>."
167
+ msgstr ""
168
+ "Si necesitas ayuda con el plugin, por favor visita\n"
169
+ " el <a href='http://wordpress.org/support/plugin/list-category-"
170
+ "posts'>foro de soporte\n"
171
+ " de WordPress</a>. Asegúrate\n"
172
+ " de <a href='http://wordpress.org/extend/plugins/list-category-posts/"
173
+ "other_notes/'>leer\n"
174
+ " las instrucciones</a> para estar al tanto de todo lo que puedes hacer\n"
175
+ " con List Category Posts y <a href='https://github.com/picandocodigo/"
176
+ "List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-"
177
+ "questions'>revisa el FAQ</a>."
178
+
179
+ #: ../include/lcp-options.php:69 .././include/lcp-options.php:69
180
+ msgid ""
181
+ "Please post <strong>new feature requests, Bug fixes,\n"
182
+ " enhancements</strong>\n"
183
+ " to <a href='https://github.com/picandocodigo/List-Category-Posts/"
184
+ "issues'>GitHub\n"
185
+ " Issues</a> and check out the\n"
186
+ " the <a href='https://github.com/picandocodigo/List-Category-"
187
+ "Posts'>GitHub\n"
188
+ " repo</a> if you want to contribute code."
189
+ msgstr ""
190
+ "Por favor publica <strong>pedidos de nuevas características, errores,\n"
191
+ "mejoras</strong>\n"
192
+ "en <a href='https://github.com/picandocodigo/List-Category-Posts/"
193
+ "issues'>GitHub\n"
194
+ "Issues</a> y revisa el <a href='https://github.com/picandocodigo/List-"
195
+ "Category-Posts'>repo en GitHub\n"
196
+ "</a> si quieres contribuir código"
197
+
198
+ #: ../include/lcp-options.php:77 .././include/lcp-options.php:77
199
+ msgid ""
200
+ "If you've found the plugin useful, consider making\n"
201
+ " a <a href='http://picandocodigo.net/programacion/wordpress/list-"
202
+ "category-posts-wordpress-plugin-english/'\n"
203
+ " title='Donate via PayPal' rel='nofollow'>donation via PayPal</a>\n"
204
+ " or visit my Amazon Wishlist\n"
205
+ " for <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/"
206
+ "ref=wl_web'\n"
207
+ " title='Amazon Wishlist' rel='nofollow'>books</a>\n"
208
+ " or <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
209
+ "ref=cm_wl_rlist_go_o'\n"
210
+ " rel='nofollow'>comic books</a> :)."
211
+ msgstr ""
212
+ "Si has encontrado útil el plugin, considera hacer una\n"
213
+ " a <a href='http://picandocodigo.net/programacion/wordpress/list-"
214
+ "category-posts-wordpress-plugin-english/'\n"
215
+ " title='Donate via PayPal' rel='nofollow'>donación via PayPal</a>\n"
216
+ " o visita mi Wishlist de Amazon\n"
217
+ " para <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/"
218
+ "ref=wl_web'\n"
219
+ " title='Amazon Wishlist' rel='nofollow'>libros</a>\n"
220
+ " o <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
221
+ "ref=cm_wl_rlist_go_o'\n"
222
+ " rel='nofollow'>comics</a> :)."
223
+
224
+ #: .././list_cat_posts.php:143 ../list_cat_posts.php:143
225
  msgid "How to use"
226
  msgstr "Cómo usarlo"
227
 
228
+ #: .././list_cat_posts.php:144 ../list_cat_posts.php:144
229
  msgid "Donate"
230
  msgstr "Donar"
231
 
232
+ #: .././list_cat_posts.php:145 ../list_cat_posts.php:145
233
  msgid "Fork on Github"
234
  msgstr "Forkear en Github"
235
+
236
+ #~ msgid ""
237
+ #~ "List Category Posts allows you to list posts from a category into a post/"
238
+ #~ "page using the [catlist] shortcode. This shortcode accepts a category "
239
+ #~ "name or id, the order in which you want the posts to display, and the "
240
+ #~ "number of posts to display. You can use [catlist] as many times as needed "
241
+ #~ "with different arguments. Usage: [catlist argument1=value1 "
242
+ #~ "argument2=value2]."
243
+ #~ msgstr ""
244
+ #~ "List Category Posts te permite listar posts de una categoría en una "
245
+ #~ "página o post usando el shortcode [catlist]. Este shortcode acepta el "
246
+ #~ "nombre o id de una categoría, el orden en el que quieres que aparezcan "
247
+ #~ "los post, y la cantidad de posts a mostrar. Puedes usar [catlist] cuantas "
248
+ #~ "veces sea necesario con argumentos diferente. Modo de uso: [catlist "
249
+ #~ "argumento1=valor argumento2=valor]."
250
+
251
+ #~ msgid "Link to category"
252
+ #~ msgstr "Enlace a la categoría"
languages/list-category-posts-th_TH.po ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: \n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp\n"
7
+ "POT-Creation-Date: 2012-12-19 13:23:13+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-06-24 11:16+7\n"
12
+ "Last-Translator: Rachask Ragkamnerd <id513128@gmail.com>\n"
13
+ "Language-Team: Thailand <LL@li.org>\n"
14
+ "Language: th_TH\n"
15
+
16
+ #: include/ListCategoryPostsWidget.php:5
17
+ msgid "List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2]."
18
+ msgstr "ระบบแสดงรายการบทความจากหมวดหมู่จะช่วยให้คุณสามารถแสดงรายการบทความจากหมวดหมู่สู่บทความ/หน้าโดยใช้รหัสย่อ [catlist] ซึ่งสามารใช้ชื่อหรือรหัสหมวดหมู่ที่คุณต้องการในการแสดงบทความที่คุณต้องการแสดงผล และจำนวนบทความที่คุณต้องการแสดงผลด้วย คุณสามารถใช้ [catlist] ได้เท่าไหร่ก็ได้ตามที่คุณต้องการโดยใช้ค่าที่แตกต่างกันไป ในรูปแบบ: [catlist argument1=value1 argument2=value2]"
19
+
20
+ #: include/ListCategoryPostsWidget.php:11
21
+ msgid "List posts from a specified category"
22
+ msgstr "แสดงบทความจากหมวดหมู่ที่ระบุไว้"
23
+
24
+ #: include/ListCategoryPostsWidget.php:12
25
+ msgid "List Category Posts"
26
+ msgstr "แสดงบทความของหมวดหมู่"
27
+
28
+ #: include/lcp_widget_form.php:40
29
+ msgid "Title"
30
+ msgstr "หัวเรื่อง"
31
+
32
+ #: include/lcp_widget_form.php:47
33
+ msgid "Category"
34
+ msgstr "หมวดหมู่"
35
+
36
+ #: include/lcp_widget_form.php:65
37
+ msgid "Number of posts"
38
+ msgstr "จำนวนบทความ"
39
+
40
+ #: include/lcp_widget_form.php:72
41
+ msgid "Offset"
42
+ msgstr "ระยะห่าง"
43
+
44
+ #: include/lcp_widget_form.php:78
45
+ msgid "Order by"
46
+ msgstr "เรียงตาม"
47
+
48
+ #: include/lcp_widget_form.php:81 include/lcp_widget_form.php:123
49
+ msgid "Date"
50
+ msgstr "วันที่"
51
+
52
+ #: include/lcp_widget_form.php:82
53
+ msgid "Post title"
54
+ msgstr "หัวเรื่องบทความ"
55
+
56
+ #: include/lcp_widget_form.php:83 include/lcp_widget_form.php:127
57
+ msgid "Author"
58
+ msgstr "ผู้เขียน"
59
+
60
+ #: include/lcp_widget_form.php:84
61
+ msgid "Random"
62
+ msgstr "สุ่ม"
63
+
64
+ #: include/lcp_widget_form.php:88
65
+ msgid "Order"
66
+ msgstr "เรียง"
67
+
68
+ #: include/lcp_widget_form.php:91
69
+ msgid "Descending"
70
+ msgstr "จากน้อยไปมาก"
71
+
72
+ #: include/lcp_widget_form.php:92
73
+ msgid "Ascending"
74
+ msgstr "จากมากไปน้อย"
75
+
76
+ #: include/lcp_widget_form.php:96
77
+ msgid "Exclude categories (id's)"
78
+ msgstr "ยกเว้นหมวดหมู่ (ระบุโดยใ้รหัสหมดวหมู่)"
79
+
80
+ #: include/lcp_widget_form.php:102
81
+ msgid "Exclude posts (id's)"
82
+ msgstr "ยกเว้นบทความ (ระบุโดยใ้รหัสบทความ)"
83
+
84
+ #: include/lcp_widget_form.php:109
85
+ msgid "Show"
86
+ msgstr "แสดง"
87
+
88
+ #: include/lcp_widget_form.php:112
89
+ msgid "Thumbnail - size"
90
+ msgstr "รูปย่อ - ขนาด"
91
+
92
+ #: include/lcp_widget_form.php:131
93
+ msgid "Link to category"
94
+ msgstr "เชื่อมโยงไปยังหมวดหมู่"
95
+
96
+ #: include/lcp_widget_form.php:135
97
+ msgid "Excerpt"
98
+ msgstr "ยกเว้น"
99
+
100
+ #: include/lcp_widget_form.php:138
101
+ msgid "More link"
102
+ msgstr "เชื่อมโยงเพิ่มเติม"
103
+
104
+ #: list_cat_posts.php:102
105
+ msgid "How to use"
106
+ msgstr "วิธีใช้"
107
+
108
+ #: list_cat_posts.php:103
109
+ msgid "Donate"
110
+ msgstr "สนับสนุนผู้จัดทำ"
111
+
112
+ #: list_cat_posts.php:104
113
+ msgid "Fork on Github"
114
+ msgstr "แตกโครงการได้ที่ Github"
languages/list-category-posts.pot CHANGED
@@ -1,113 +1,239 @@
1
- # Copyright (C) 2012
2
- # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: \n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp\n"
7
- "POT-Creation-Date: 2012-12-19 13:23:13+00:00\n"
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: include/ListCategoryPostsWidget.php:5
16
- msgid "List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2]."
17
- msgstr ""
18
-
19
- #: include/ListCategoryPostsWidget.php:11
20
- msgid "List posts from a specified category"
21
- msgstr ""
22
-
23
- #: include/ListCategoryPostsWidget.php:12
24
- msgid "List Category Posts"
25
- msgstr ""
26
-
27
- #: include/lcp_widget_form.php:40
28
  msgid "Title"
29
- msgstr ""
30
 
31
- #: include/lcp_widget_form.php:47
32
  msgid "Category"
33
- msgstr ""
34
 
35
- #: include/lcp_widget_form.php:65
36
  msgid "Number of posts"
37
- msgstr ""
38
 
39
- #: include/lcp_widget_form.php:72
40
  msgid "Offset"
41
- msgstr ""
42
 
43
- #: include/lcp_widget_form.php:78
44
  msgid "Order by"
45
- msgstr ""
46
 
47
- #: include/lcp_widget_form.php:81 include/lcp_widget_form.php:123
 
48
  msgid "Date"
49
- msgstr ""
50
 
51
- #: include/lcp_widget_form.php:82
52
  msgid "Post title"
53
- msgstr ""
54
 
55
- #: include/lcp_widget_form.php:83 include/lcp_widget_form.php:127
 
56
  msgid "Author"
57
- msgstr ""
58
 
59
- #: include/lcp_widget_form.php:84
60
  msgid "Random"
61
- msgstr ""
62
 
63
- #: include/lcp_widget_form.php:88
64
  msgid "Order"
65
- msgstr ""
66
 
67
- #: include/lcp_widget_form.php:91
68
  msgid "Descending"
69
- msgstr ""
70
 
71
- #: include/lcp_widget_form.php:92
72
  msgid "Ascending"
73
- msgstr ""
74
 
75
- #: include/lcp_widget_form.php:96
76
  msgid "Exclude categories (id's)"
77
- msgstr ""
78
 
79
- #: include/lcp_widget_form.php:102
80
  msgid "Exclude posts (id's)"
81
- msgstr ""
82
 
83
- #: include/lcp_widget_form.php:109
84
  msgid "Show"
85
- msgstr ""
86
 
87
- #: include/lcp_widget_form.php:112
88
  msgid "Thumbnail - size"
89
- msgstr ""
90
 
91
- #: include/lcp_widget_form.php:131
92
- msgid "Link to category"
 
 
 
 
 
 
93
  msgstr ""
 
 
94
 
95
- #: include/lcp_widget_form.php:135
96
  msgid "Excerpt"
97
- msgstr ""
98
 
99
- #: include/lcp_widget_form.php:138
 
 
 
 
100
  msgid "More link"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
 
103
- #: list_cat_posts.php:102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  msgid "How to use"
105
- msgstr ""
106
 
107
- #: list_cat_posts.php:103
108
  msgid "Donate"
109
- msgstr ""
110
 
111
- #: list_cat_posts.php:104
112
  msgid "Fork on Github"
113
- msgstr ""
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: List Category Posts\n"
4
+ "POT-Creation-Date: 2014-09-03 22:58-0300\n"
5
+ "PO-Revision-Date: 2014-09-04 00:02-0300\n"
6
+ "Last-Translator: Fernando Briano <fernando@picandocodigo.net>\n"
7
+ "Language-Team: <fernando@picandocodigo.net>\n"
8
+ "Language: English\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.4\n"
13
+ "X-Poedit-KeywordsList: __(;_e;__\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: ../include\n"
17
+ "X-Poedit-SearchPath-1: ../.\n"
18
+ "X-Poedit-SearchPath-2: ../templates\n"
19
+ "X-Poedit-SearchPath-3: ..\n"
20
+
21
+ #: ../include/lcp-widget-form.php:51 .././include/lcp-widget-form.php:51
 
 
 
 
 
 
 
22
  msgid "Title"
23
+ msgstr "Title"
24
 
25
+ #: ../include/lcp-widget-form.php:61 .././include/lcp-widget-form.php:61
26
  msgid "Category"
27
+ msgstr "Category"
28
 
29
+ #: ../include/lcp-widget-form.php:90 .././include/lcp-widget-form.php:90
30
  msgid "Number of posts"
31
+ msgstr "Number of posts"
32
 
33
+ #: ../include/lcp-widget-form.php:100 .././include/lcp-widget-form.php:100
34
  msgid "Offset"
35
+ msgstr "Offset"
36
 
37
+ #: ../include/lcp-widget-form.php:109 .././include/lcp-widget-form.php:109
38
  msgid "Order by"
39
+ msgstr "Order by"
40
 
41
+ #: ../include/lcp-widget-form.php:113 ../include/lcp-widget-form.php:184
42
+ #: .././include/lcp-widget-form.php:113 .././include/lcp-widget-form.php:184
43
  msgid "Date"
44
+ msgstr "Date"
45
 
46
+ #: ../include/lcp-widget-form.php:114 .././include/lcp-widget-form.php:114
47
  msgid "Post title"
48
+ msgstr "Post title"
49
 
50
+ #: ../include/lcp-widget-form.php:115 ../include/lcp-widget-form.php:196
51
+ #: .././include/lcp-widget-form.php:115 .././include/lcp-widget-form.php:196
52
  msgid "Author"
53
+ msgstr "Author"
54
 
55
+ #: ../include/lcp-widget-form.php:116 .././include/lcp-widget-form.php:116
56
  msgid "Random"
57
+ msgstr "Random"
58
 
59
+ #: ../include/lcp-widget-form.php:133 .././include/lcp-widget-form.php:133
60
  msgid "Order"
61
+ msgstr "Order"
62
 
63
+ #: ../include/lcp-widget-form.php:139 .././include/lcp-widget-form.php:139
64
  msgid "Descending"
65
+ msgstr "Descending"
66
 
67
+ #: ../include/lcp-widget-form.php:142 .././include/lcp-widget-form.php:142
68
  msgid "Ascending"
69
+ msgstr "Ascending"
70
 
71
+ #: ../include/lcp-widget-form.php:149 .././include/lcp-widget-form.php:149
72
  msgid "Exclude categories (id's)"
73
+ msgstr "Exclude categories (id's)"
74
 
75
+ #: ../include/lcp-widget-form.php:159 .././include/lcp-widget-form.php:159
76
  msgid "Exclude posts (id's)"
77
+ msgstr "Exclude posts (id's)"
78
 
79
+ #: ../include/lcp-widget-form.php:168 .././include/lcp-widget-form.php:168
80
  msgid "Show"
81
+ msgstr "Show"
82
 
83
+ #: ../include/lcp-widget-form.php:170 .././include/lcp-widget-form.php:170
84
  msgid "Thumbnail - size"
85
+ msgstr "Thumbnail - size"
86
 
87
+ #: ../include/lcp-widget-form.php:190 .././include/lcp-widget-form.php:190
88
+ msgid "Modified Date"
89
+ msgstr "Modified Date"
90
+
91
+ #: ../include/lcp-widget-form.php:202 .././include/lcp-widget-form.php:202
92
+ msgid ""
93
+ "Link to category (use 'catlink' on the title field if you want the title of "
94
+ "this widget to be a link to the category)"
95
  msgstr ""
96
+ "Link to category (use 'catlink' on the title field if you want the title of "
97
+ "this widget to be a link to the category)"
98
 
99
+ #: ../include/lcp-widget-form.php:208 .././include/lcp-widget-form.php:208
100
  msgid "Excerpt"
101
+ msgstr "Excerpt"
102
 
103
+ #: ../include/lcp-widget-form.php:212 .././include/lcp-widget-form.php:212
104
+ msgid "Excerpt size"
105
+ msgstr "Excerpt size"
106
+
107
+ #: ../include/lcp-widget-form.php:221 .././include/lcp-widget-form.php:221
108
  msgid "More link"
109
+ msgstr "More link"
110
+
111
+ #: ../include/lcp-widget-form.php:231 .././include/lcp-widget-form.php:231
112
+ msgid "Template"
113
+ msgstr "Template"
114
+
115
+ #: ../include/lcp-widget.php:11 .././include/lcp-widget.php:11
116
+ msgid "List posts from a specified category"
117
+ msgstr "List posts from a specified category"
118
+
119
+ #: ../include/lcp-widget.php:12 .././include/lcp-widget.php:12
120
+ msgid "List Category Posts"
121
+ msgstr "List Category Posts"
122
+
123
+ #: ../include/lcp-catlist.php:274 .././include/lcp-catlist.php:274
124
+ msgid "Empty Term"
125
+ msgstr "Empty Term"
126
+
127
+ #: ../include/lcp-catlist.php:494 .././include/lcp-catlist.php:494
128
+ msgid "Continue reading &rarr;"
129
+ msgstr "Continue reading &rarr;"
130
+
131
+ #: ../include/lcp-options.php:19 .././include/lcp-options.php:19
132
+ msgid "You do not have sufficient permissions to access this page."
133
+ msgstr "You do not have sufficient permissions to access this page."
134
+
135
+ #: ../include/lcp-options.php:36 .././include/lcp-options.php:36
136
+ msgid "Number of Posts"
137
+ msgstr "Number of Posts"
138
+
139
+ #: ../include/lcp-options.php:44 .././include/lcp-options.php:44
140
+ msgid ""
141
+ "Default number of posts (overriden using <code>numberposts</code> parameter "
142
+ "on each shortcode)."
143
  msgstr ""
144
+ "Default number of posts (overriden using <code>numberposts</code> parameter "
145
+ "on each shortcode)."
146
+
147
+ #: ../include/lcp-options.php:46 .././include/lcp-options.php:46
148
+ msgid "0 - displays the max number of posts per page"
149
+ msgstr "0 - displays the max number of posts per page"
150
+
151
+ #: ../include/lcp-options.php:47 .././include/lcp-options.php:47
152
+ msgid "-1 - displays ALL THE POSTS (no limit)"
153
+ msgstr "-1 - displays ALL THE POSTS (no limit)"
154
+
155
+ #: ../include/lcp-options.php:57 .././include/lcp-options.php:57
156
+ msgid "Thanks for using List Category Posts."
157
+ msgstr "Thanks for using List Category Posts."
158
 
159
+ #: ../include/lcp-options.php:58 .././include/lcp-options.php:58
160
+ msgid ""
161
+ "If you need help with the plugin, please visit\n"
162
+ " the <a href='http://wordpress.org/support/plugin/list-category-"
163
+ "posts'>WordPress\n"
164
+ " support forum</a>. Make sure\n"
165
+ " you <a href='http://wordpress.org/extend/plugins/list-category-posts/"
166
+ "other_notes/'>read\n"
167
+ " the instructions</a> to be aware of all the things you can do\n"
168
+ " with List Category Posts and <a href='https://github.com/picandocodigo/"
169
+ "List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>check "
170
+ "out the FAQ</a>."
171
+ msgstr ""
172
+ "If you need help with the plugin, please visit\n"
173
+ " the <a href='http://wordpress.org/support/plugin/list-category-"
174
+ "posts'>WordPress\n"
175
+ " support forum</a>. Make sure\n"
176
+ " you <a href='http://wordpress.org/extend/plugins/list-category-posts/"
177
+ "other_notes/'>read\n"
178
+ " the instructions</a> to be aware of all the things you can do\n"
179
+ " with List Category Posts and <a href='https://github.com/picandocodigo/"
180
+ "List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>check "
181
+ "out the FAQ</a>."
182
+
183
+ #: ../include/lcp-options.php:69 .././include/lcp-options.php:69
184
+ msgid ""
185
+ "Please post <strong>new feature requests, Bug fixes,\n"
186
+ " enhancements</strong>\n"
187
+ " to <a href='https://github.com/picandocodigo/List-Category-Posts/"
188
+ "issues'>GitHub\n"
189
+ " Issues</a> and check out the\n"
190
+ " the <a href='https://github.com/picandocodigo/List-Category-"
191
+ "Posts'>GitHub\n"
192
+ " repo</a> if you want to contribute code."
193
+ msgstr ""
194
+ "Please post <strong>new feature requests, Bug fixes,\n"
195
+ " enhancements</strong>\n"
196
+ " to <a href='https://github.com/picandocodigo/List-Category-Posts/"
197
+ "issues'>GitHub\n"
198
+ " Issues</a> and check out the\n"
199
+ " the <a href='https://github.com/picandocodigo/List-Category-"
200
+ "Posts'>GitHub\n"
201
+ " repo</a> if you want to contribute code."
202
+
203
+ #: ../include/lcp-options.php:77 .././include/lcp-options.php:77
204
+ msgid ""
205
+ "If you've found the plugin useful, consider making\n"
206
+ " a <a href='http://picandocodigo.net/programacion/wordpress/list-"
207
+ "category-posts-wordpress-plugin-english/'\n"
208
+ " title='Donate via PayPal' rel='nofollow'>donation via PayPal</a>\n"
209
+ " or visit my Amazon Wishlist\n"
210
+ " for <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/"
211
+ "ref=wl_web'\n"
212
+ " title='Amazon Wishlist' rel='nofollow'>books</a>\n"
213
+ " or <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
214
+ "ref=cm_wl_rlist_go_o'\n"
215
+ " rel='nofollow'>comic books</a> :)."
216
+ msgstr ""
217
+ "If you've found the plugin useful, consider making\n"
218
+ " a <a href='http://picandocodigo.net/programacion/wordpress/list-"
219
+ "category-posts-wordpress-plugin-english/'\n"
220
+ " title='Donate via PayPal' rel='nofollow'>donation via PayPal</a>\n"
221
+ " or visit my Amazon Wishlist\n"
222
+ " for <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/"
223
+ "ref=wl_web'\n"
224
+ " title='Amazon Wishlist' rel='nofollow'>books</a>\n"
225
+ " or <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
226
+ "ref=cm_wl_rlist_go_o'\n"
227
+ " rel='nofollow'>comic books</a> :)."
228
+
229
+ #: .././list_cat_posts.php:143 ../list_cat_posts.php:143
230
  msgid "How to use"
231
+ msgstr "How to use"
232
 
233
+ #: .././list_cat_posts.php:144 ../list_cat_posts.php:144
234
  msgid "Donate"
235
+ msgstr "Donate"
236
 
237
+ #: .././list_cat_posts.php:145 ../list_cat_posts.php:145
238
  msgid "Fork on Github"
239
+ msgstr "Fork on Github"
list_cat_posts.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
- Description: List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
- Version: 0.50.3
7
  Author: Fernando Briano
8
  Author URI: http://fernandobriano.com
9
 
@@ -27,11 +27,10 @@
27
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  */
29
 
30
- load_plugin_textdomain( 'list-category-posts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
31
 
32
- include 'include/ListCategoryPostsWidget.php';
33
- include 'include/options.php';
34
- require_once 'include/CatListDisplayer.php';
35
 
36
  class ListCategoryPosts{
37
  /**
@@ -151,6 +150,11 @@ function lpc_meta($links, $file) {
151
 
152
  add_filter( 'plugin_row_meta', 'lpc_meta', 10, 2 );
153
 
 
 
 
 
 
154
  function lcp_pagination_css(){
155
  if ( @file_exists( get_stylesheet_directory() . '/lcp_paginator.css' ) ):
156
  $css_file = get_stylesheet_directory_uri() . '/lcp_paginator.css';
2
  /*
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
+ Description: List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
+ Version: 0.51
7
  Author: Fernando Briano
8
  Author URI: http://fernandobriano.com
9
 
27
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  */
29
 
 
30
 
31
+ include 'include/lcp-widget.php';
32
+ include 'include/lcp-options.php';
33
+ require_once 'include/lcp-catlistdisplayer.php';
34
 
35
  class ListCategoryPosts{
36
  /**
150
 
151
  add_filter( 'plugin_row_meta', 'lpc_meta', 10, 2 );
152
 
153
+ function load_i18n(){
154
+ load_plugin_textdomain( 'list-category-posts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
155
+ }
156
+ add_action( 'plugins_loaded', 'load_i18n' );
157
+
158
  function lcp_pagination_css(){
159
  if ( @file_exists( get_stylesheet_directory() . '/lcp_paginator.css' ) ):
160
  $css_file = get_stylesheet_directory_uri() . '/lcp_paginator.css';
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: fernandobt
3
  Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/#support
4
  Tags: list, categories, posts, cms
5
  Requires at least: 3.3
6
- Tested up to: 3.9.1
7
- Stable tag: 0.50.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -422,6 +422,15 @@ Template system has changed. Custom templates should be stored in WordPress them
422
 
423
  == Changelog ==
424
 
 
 
 
 
 
 
 
 
 
425
  = 0.50.3 =
426
 
427
  * Addresses some warnings / scandir on Displayer and catname on widget
3
  Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/#support
4
  Tags: list, categories, posts, cms
5
  Requires at least: 3.3
6
+ Tested up to: 4.0
7
+ Stable tag: 0.51
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
422
 
423
  == Changelog ==
424
 
425
+ = 0.51 =
426
+ * Fixes translations, updates Spanish translation. Translators, please update your po and mo files and submit them via pull request on GitHub :)
427
+ * Test compatibility with WordPress 4.0
428
+ * Adds icon for WordPress 4.0 new plugin interface.
429
+ * Fixes posts_morelink and customfields for templates.
430
+ * Adds fixes by [htrex](https://github.com/htrex):
431
+ * Fix custom template regression
432
+ * Fix excluded categories not working in widget
433
+
434
  = 0.50.3 =
435
 
436
  * Addresses some warnings / scandir on Displayer and catname on widget