Contextual Related Posts - Version 1.4.1

Version Description

  • Added Italian and Danish languages
  • Minor fix for text in the admin page
Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Contextual Related Posts
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4 to 1.4.1

admin.inc.php CHANGED
@@ -168,7 +168,7 @@ function crp_options() {
168
  </p>
169
  <p>
170
  <input type="submit" name="crp_save" id="crp_save" value="Save Options" style="border:#0C0 1px solid" />
171
- <input name="crp_default" type="submit" id="crp_default" value="Default Options" style="border:#F00 1px solid" onclick="if (!confirm('<?php _e('Do you want to set options to Default? If you don\'t have a copy of the username, please hit Cancel and copy it first.',CRP_LOCAL_NAME); ?>')) return false;" />
172
  <input name="crp_recreate" type="submit" id="crp_recreate" value="Recreate index" style="border:#00c 1px solid" onclick="if (!confirm('<?php _e('Are you sure you want to recreate the index?',CRP_LOCAL_NAME); ?>')) return false;" />
173
  </p>
174
  </fieldset>
168
  </p>
169
  <p>
170
  <input type="submit" name="crp_save" id="crp_save" value="Save Options" style="border:#0C0 1px solid" />
171
+ <input name="crp_default" type="submit" id="crp_default" value="Default Options" style="border:#F00 1px solid" onclick="if (!confirm('<?php _e('Do you want to set options to Default?',CRP_LOCAL_NAME); ?>')) return false;" />
172
  <input name="crp_recreate" type="submit" id="crp_recreate" value="Recreate index" style="border:#00c 1px solid" onclick="if (!confirm('<?php _e('Are you sure you want to recreate the index?',CRP_LOCAL_NAME); ?>')) return false;" />
173
  </p>
174
  </fieldset>
contextual-related-posts.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
- Version: 1.4
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
6
  Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
7
  Author: Ajay D'Souza
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
+ Version: 1.4.1
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
6
  Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
7
  Author: Ajay D'Souza
languages/crp-da_DK.mo ADDED
Binary file
languages/crp-da_DK.po ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Contextual Related Posts 1.4.1\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-08-06 09:50+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Team Blogos <wordpress@blogos.dk>\n"
8
+ "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2;plural=n != 1;\n"
13
+ "X-Poedit-Language: Danish\n"
14
+ "X-Poedit-Country: DENMARK\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_c;_e;__ngettext:1,2;__ngettext_noop:1,2;_n:1,2;_nc:1,2;_n_noop:1,2\n"
17
+ "X-Poedit-Basepath: d:\\wordpress\\plugins\\contextual-related-posts\n"
18
+ "X-Poedit-SearchPath-0: d:\\wordpress\\plugins\\contextual-related-posts\n"
19
+
20
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:49
21
+ msgid "Options saved successfully."
22
+ msgstr "Indstillingerne blev gemt."
23
+
24
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:58
25
+ msgid "Options set to Default."
26
+ msgstr "Indstillingerne sat til standardværdier."
27
+
28
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:73
29
+ msgid "Index recreated"
30
+ msgstr "Indeks blev gendannet"
31
+
32
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:84
33
+ msgid "Support the Development"
34
+ msgstr "Støt udviklingen"
35
+
36
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:88
37
+ msgid "If you find "
38
+ msgstr "Hvis du finder "
39
+
40
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:90
41
+ msgid "useful, please do"
42
+ msgstr "brugbar, så venligst"
43
+
44
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:91
45
+ msgid "drop in your contribution"
46
+ msgstr "giv et bidrag"
47
+
48
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:92
49
+ msgid "Some reasons why you should."
50
+ msgstr "Nogle grunde til, du skulle gøre det."
51
+
52
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:99
53
+ msgid "Options:"
54
+ msgstr "Indstillinger:"
55
+
56
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:104
57
+ msgid "Number of related posts to display: "
58
+ msgstr "Antal Lignende indlæg, der skal vises: "
59
+
60
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:110
61
+ msgid "Title of related posts: "
62
+ msgstr "Titel på Lignende indlæg: "
63
+
64
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:114
65
+ msgid "Exclude Categories: "
66
+ msgstr "Udelad kategorier: "
67
+
68
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:129
69
+ msgid "When there are no posts, what should be shown?"
70
+ msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
71
+
72
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:132
73
+ msgid "Blank Output"
74
+ msgstr "Intet"
75
+
76
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:136
77
+ msgid "Display \"No Related Posts\""
78
+ msgstr "Vis \"Ingen lignende indlæg\""
79
+
80
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:142
81
+ msgid "Add related posts to the post content on single posts. <br />If you choose to disable this, please add <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your template file where you want it displayed"
82
+ msgstr "Tilføj Lignende indlæg til indlæggenes indhold i enkelt-indlæg. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
83
+
84
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:148
85
+ msgid "Add related posts to pages. <br />If you choose to disable this, please add <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your template file where you want it displayed"
86
+ msgstr "Tilføj Lignende indlæg til statiske sider. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
87
+
88
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:154
89
+ msgid "Add related posts to feed"
90
+ msgstr "Tilføj Lignende indlæg til feeds"
91
+
92
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:160
93
+ msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
94
+ msgstr "Find Lignende indlæg ud fra såvel indhold som titel. Hvis umarkeret, bruges kun indlæggenes titler (jeg anbefaler et cache-plugin, hvis du aktiverer dette)"
95
+
96
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:166
97
+ msgid "Exclude Pages in Related Posts"
98
+ msgstr "Udelad sider i Lignende indlæg"
99
+
100
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:171
101
+ msgid "Do you want to set options to Default?"
102
+ msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
103
+
104
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:172
105
+ msgid "Are you sure you want to recreate the index?"
106
+ msgstr "Er du sikker på, du ønsker at gendanne indekset?"
107
+
108
+ #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:197
109
+ msgid "Related Posts"
110
+ msgstr "Lignende indlæg"
111
+
112
+ #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:89
113
+ #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:93
114
+ msgid "No related posts found"
115
+ msgstr "Ingen lignende indlæg fundet"
116
+
117
+ #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:125
118
+ msgid "<h3>Related Posts:</h3>"
119
+ msgstr "<h3>Lignende indlæg:</h3>"
120
+
121
+ #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:192
122
+ msgid "Settings"
123
+ msgstr "Opsætning"
124
+
125
+ #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:193
126
+ msgid "Support"
127
+ msgstr "Support"
128
+
129
+ #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:194
130
+ msgid "Donate"
131
+ msgstr "Donation"
132
+
languages/crp-en_US.mo CHANGED
Binary file
languages/crp-en_US.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-08-02 12:12+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
@@ -95,7 +95,7 @@ msgid "Exclude Pages in Related Posts"
95
  msgstr ""
96
 
97
  #: admin.inc.php:171
98
- msgid "Do you want to set options to Default? If you don't have a copy of the username, please hit Cancel and copy it first."
99
  msgstr ""
100
 
101
  #: admin.inc.php:172
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-08-05 22:53+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
95
  msgstr ""
96
 
97
  #: admin.inc.php:171
98
+ msgid "Do you want to set options to Default?"
99
  msgstr ""
100
 
101
  #: admin.inc.php:172
languages/crp-en_US.pot CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-08-02 12:12+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
@@ -95,7 +95,7 @@ msgid "Exclude Pages in Related Posts"
95
  msgstr ""
96
 
97
  #: admin.inc.php:171
98
- msgid "Do you want to set options to Default? If you don't have a copy of the username, please hit Cancel and copy it first."
99
  msgstr ""
100
 
101
  #: admin.inc.php:172
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-08-05 22:53+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
95
  msgstr ""
96
 
97
  #: admin.inc.php:171
98
+ msgid "Do you want to set options to Default?"
99
  msgstr ""
100
 
101
  #: admin.inc.php:172
languages/crp-it_IT.mo ADDED
Binary file
languages/crp-it_IT.po ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Contextual Related Posts in italiano\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-08-05 22:53+0530\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
+ "Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Italian\n"
13
+ "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "X-Poedit-Country: ITALY\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin.inc.php:49
19
+ msgid "Options saved successfully."
20
+ msgstr "Le opzioni sono state salvate correttamente."
21
+
22
+ #: admin.inc.php:58
23
+ msgid "Options set to Default."
24
+ msgstr "Opzioni impostate alle predefinite."
25
+
26
+ #: admin.inc.php:73
27
+ msgid "Index recreated"
28
+ msgstr "E' stato ricreato l'indice"
29
+
30
+ #: admin.inc.php:84
31
+ msgid "Support the Development"
32
+ msgstr "Sostieni lo sviluppo"
33
+
34
+ #: admin.inc.php:88
35
+ msgid "If you find "
36
+ msgstr "Avessi trovato utile il mio"
37
+
38
+ #: admin.inc.php:90
39
+ msgid "useful, please do"
40
+ msgstr ", effettua"
41
+
42
+ #: admin.inc.php:91
43
+ msgid "drop in your contribution"
44
+ msgstr "una donazione"
45
+
46
+ #: admin.inc.php:92
47
+ msgid "Some reasons why you should."
48
+ msgstr "alcuni motivi affinché tu lo faccia"
49
+
50
+ #: admin.inc.php:99
51
+ msgid "Options:"
52
+ msgstr "Opzioni:"
53
+
54
+ #: admin.inc.php:104
55
+ msgid "Number of related posts to display: "
56
+ msgstr "numero di articoli correlati da mostrare:"
57
+
58
+ #: admin.inc.php:110
59
+ msgid "Title of related posts: "
60
+ msgstr "titolo per gli articoli correlati:"
61
+
62
+ #: admin.inc.php:114
63
+ msgid "Exclude Categories: "
64
+ msgstr "escludi le categorie:"
65
+
66
+ #: admin.inc.php:129
67
+ msgid "When there are no posts, what should be shown?"
68
+ msgstr "Cosa desideri mostrare in assenza di articoli?"
69
+
70
+ #: admin.inc.php:132
71
+ msgid "Blank Output"
72
+ msgstr "nulla"
73
+
74
+ #: admin.inc.php:136
75
+ msgid "Display \"No Related Posts\""
76
+ msgstr "\"Nessun articolo correlato\""
77
+
78
+ #: admin.inc.php:142
79
+ msgid "Add related posts to the post content on single posts. <br />If you choose to disable this, please add <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your template file where you want it displayed"
80
+ msgstr "aggiungi gli articoli correlati ai contenuti del post (articoli singoli). <br />oppure disattiva ed inserisci <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> nel tuo template laddove desideri che siano visualizzati"
81
+
82
+ #: admin.inc.php:148
83
+ msgid "Add related posts to pages. <br />If you choose to disable this, please add <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your template file where you want it displayed"
84
+ msgstr "aggiungi gli articoli correlati alle pagine. <br />oppure disattiva ed inserisci <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> nel tuo template laddove desideri che siano visualizzati"
85
+
86
+ #: admin.inc.php:154
87
+ msgid "Add related posts to feed"
88
+ msgstr "aggiungi gli articoli correlati al feed"
89
+
90
+ #: admin.inc.php:160
91
+ msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
92
+ msgstr "Ricerca degli articoli correlati in relazione al contenuto ed al titolo. Se disattivata, verranno utilizzati i soli titoli dei post. (in questo caso é preferibile attivare un plugin per la cache)"
93
+
94
+ #: admin.inc.php:166
95
+ msgid "Exclude Pages in Related Posts"
96
+ msgstr "Escludi le pagine da Related Posts"
97
+
98
+ #: admin.inc.php:171
99
+ msgid "Do you want to set options to Default?"
100
+ msgstr "Sei certo di volere impostare alle opzioni predefinite?"
101
+
102
+ #: admin.inc.php:172
103
+ msgid "Are you sure you want to recreate the index?"
104
+ msgstr "Sei certo di volere ricreare l'indice?"
105
+
106
+ #: admin.inc.php:197
107
+ msgid "Related Posts"
108
+ msgstr "Related Posts"
109
+
110
+ #: contextual-related-posts.php:89
111
+ #: contextual-related-posts.php:93
112
+ msgid "No related posts found"
113
+ msgstr "Non é stato trovato alcun articolo correlato"
114
+
115
+ #: contextual-related-posts.php:125
116
+ msgid "<h3>Related Posts:</h3>"
117
+ msgstr "<h3>Related Posts:</h3>"
118
+
119
+ #: contextual-related-posts.php:192
120
+ msgid "Settings"
121
+ msgstr "Impostazioni"
122
+
123
+ #: contextual-related-posts.php:193
124
+ msgid "Support"
125
+ msgstr "Supporto"
126
+
127
+ #: contextual-related-posts.php:194
128
+ msgid "Donate"
129
+ msgstr "Donazioni"
130
+
131
+ #~ msgid ""
132
+ #~ "Do you want to set options to Default? If you don't have a copy of the "
133
+ #~ "username, please hit Cancel and copy it first."
134
+ #~ msgstr ""
135
+ #~ " Non avessi una copia del nome utente, premi Annulla e fai una copia."
136
+
readme.txt CHANGED
@@ -31,6 +31,10 @@ Now, you can choose to exclude posts from certain categories as well as exclude
31
 
32
  == Changelog ==
33
 
 
 
 
 
34
  = 1.4 =
35
  * Added complete localization support
36
  * Added button to recreate the mySQL FULLTEXT index
31
 
32
  == Changelog ==
33
 
34
+ = 1.4.1 =
35
+ * Added Italian and Danish languages
36
+ * Minor fix for text in the admin page
37
+
38
  = 1.4 =
39
  * Added complete localization support
40
  * Added button to recreate the mySQL FULLTEXT index