Version Description
Download this release
Release Info
Developer | mitchoyoshitaka |
Plugin | Yet Another Related Posts Plugin (YARPP) |
Version | 3.2b4 |
Comparing to | |
See all releases |
Code changes from version 3.2b3 to 3.2b4
- cache-postmeta.php +15 -9
- cache-tables.php +37 -40
- lang/yarpp-lt_LT.mo +0 -0
- lang/yarpp-lt_LT.po +295 -473
- lang/yarpp-nb_NO.mo +0 -0
- lang/yarpp-nb_NO.po +591 -0
- magic.php +16 -23
- options.php +1 -1
- readme.txt +45 -39
- services.php +11 -1
- yarpp.php +3 -2
cache-postmeta.php
CHANGED
@@ -12,6 +12,7 @@ class YARPP_Cache_Postmeta {
|
|
12 |
var $related_postdata = array();
|
13 |
var $related_IDs = array();
|
14 |
var $name = "postmeta";
|
|
|
15 |
|
16 |
/**
|
17 |
* SETUP/STATUS
|
@@ -53,9 +54,9 @@ class YARPP_Cache_Postmeta {
|
|
53 |
* MAGIC FILTERS
|
54 |
*/
|
55 |
function where_filter($arg) {
|
56 |
-
global $wpdb
|
57 |
-
|
58 |
-
|
59 |
// modify the where clause to use the related ID list.
|
60 |
if (!count($this->related_IDs))
|
61 |
$this->related_IDs = array(0);
|
@@ -69,15 +70,18 @@ class YARPP_Cache_Postmeta {
|
|
69 |
}
|
70 |
|
71 |
function orderby_filter($arg) {
|
72 |
-
global $wpdb, $
|
73 |
-
if
|
|
|
|
|
|
|
74 |
return str_replace("$wpdb->posts.post_date","score",$arg);
|
75 |
return $arg;
|
76 |
}
|
77 |
|
78 |
function fields_filter($arg) {
|
79 |
-
global $wpdb, $
|
80 |
-
if ($yarpp_time && is_array($this->related_postdata) && count($this->related_postdata)) {
|
81 |
$scores = array();
|
82 |
foreach ($this->related_postdata as $related_entry) {
|
83 |
$scores[] = " WHEN {$related_entry['ID']} THEN {$related_entry['score']}";
|
@@ -100,8 +104,8 @@ class YARPP_Cache_Postmeta {
|
|
100 |
}
|
101 |
|
102 |
function limit_filter($arg) {
|
103 |
-
global $wpdb, $
|
104 |
-
if ($yarpp_time and $yarpp_online_limit)
|
105 |
return " limit $yarpp_online_limit ";
|
106 |
return $arg;
|
107 |
}
|
@@ -110,6 +114,7 @@ class YARPP_Cache_Postmeta {
|
|
110 |
* RELATEDNESS CACHE CONTROL
|
111 |
*/
|
112 |
function begin_yarpp_time($reference_ID) {
|
|
|
113 |
// get the related posts from postdata, and also construct the relate_IDs array
|
114 |
$this->related_postdata = get_post_meta($reference_ID,YARPP_POSTMETA_RELATED_KEY,true);
|
115 |
if (is_array($this->related_postdata) && count($this->related_postdata))
|
@@ -117,6 +122,7 @@ class YARPP_Cache_Postmeta {
|
|
117 |
}
|
118 |
|
119 |
function end_yarpp_time() {
|
|
|
120 |
$this->related_IDs = array();
|
121 |
$this->related_postdata = array();
|
122 |
}
|
12 |
var $related_postdata = array();
|
13 |
var $related_IDs = array();
|
14 |
var $name = "postmeta";
|
15 |
+
var $yarpp_time = false;
|
16 |
|
17 |
/**
|
18 |
* SETUP/STATUS
|
54 |
* MAGIC FILTERS
|
55 |
*/
|
56 |
function where_filter($arg) {
|
57 |
+
global $wpdb;
|
58 |
+
if ($this->yarpp_time) {
|
59 |
+
$threshold = yarpp_get_option('threshold');
|
60 |
// modify the where clause to use the related ID list.
|
61 |
if (!count($this->related_IDs))
|
62 |
$this->related_IDs = array(0);
|
70 |
}
|
71 |
|
72 |
function orderby_filter($arg) {
|
73 |
+
global $wpdb, $yarpp_score_override;
|
74 |
+
// only order by score if the score function is added in fields_filter, which only happens
|
75 |
+
// if there are related posts in the postdata
|
76 |
+
if ($this->yarpp_time && $yarpp_score_override &&
|
77 |
+
is_array($this->related_postdata) && count($this->related_postdata))
|
78 |
return str_replace("$wpdb->posts.post_date","score",$arg);
|
79 |
return $arg;
|
80 |
}
|
81 |
|
82 |
function fields_filter($arg) {
|
83 |
+
global $wpdb, $wpdb;
|
84 |
+
if ($this->yarpp_time && is_array($this->related_postdata) && count($this->related_postdata)) {
|
85 |
$scores = array();
|
86 |
foreach ($this->related_postdata as $related_entry) {
|
87 |
$scores[] = " WHEN {$related_entry['ID']} THEN {$related_entry['score']}";
|
104 |
}
|
105 |
|
106 |
function limit_filter($arg) {
|
107 |
+
global $wpdb, $yarpp_online_limit;
|
108 |
+
if ($this->yarpp_time and $yarpp_online_limit)
|
109 |
return " limit $yarpp_online_limit ";
|
110 |
return $arg;
|
111 |
}
|
114 |
* RELATEDNESS CACHE CONTROL
|
115 |
*/
|
116 |
function begin_yarpp_time($reference_ID) {
|
117 |
+
$this->yarpp_time = true;
|
118 |
// get the related posts from postdata, and also construct the relate_IDs array
|
119 |
$this->related_postdata = get_post_meta($reference_ID,YARPP_POSTMETA_RELATED_KEY,true);
|
120 |
if (is_array($this->related_postdata) && count($this->related_postdata))
|
122 |
}
|
123 |
|
124 |
function end_yarpp_time() {
|
125 |
+
$this->yarpp_time = false;
|
126 |
$this->related_IDs = array();
|
127 |
$this->related_postdata = array();
|
128 |
}
|
cache-tables.php
CHANGED
@@ -2,8 +2,12 @@
|
|
2 |
|
3 |
$yarpp_storage_class = 'YARPP_Cache_Tables';
|
4 |
|
|
|
|
|
|
|
5 |
class YARPP_Cache_Tables {
|
6 |
var $name = "custom tables";
|
|
|
7 |
|
8 |
/**
|
9 |
* SETUP/STATUS
|
@@ -22,8 +26,8 @@ class YARPP_Cache_Tables {
|
|
22 |
global $wpdb;
|
23 |
// now check for the cache tables
|
24 |
$tabledata = $wpdb->get_col("show tables");
|
25 |
-
if (array_search(
|
26 |
-
array_search(
|
27 |
return true;
|
28 |
else
|
29 |
return false;
|
@@ -31,25 +35,25 @@ class YARPP_Cache_Tables {
|
|
31 |
|
32 |
function setup() {
|
33 |
global $wpdb;
|
34 |
-
if (!$wpdb->query("CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}
|
35 |
`ID` bigint(20) unsigned NOT NULL default '0',
|
36 |
`body` text collate utf8_unicode_ci NOT NULL,
|
37 |
`title` text collate utf8_unicode_ci NOT NULL,
|
38 |
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
39 |
PRIMARY KEY (`ID`)
|
40 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='YARPP''s keyword cache table';")) {
|
41 |
-
echo "<!--MySQL error on creating
|
42 |
$wpdb->print_error();
|
43 |
echo "-->";
|
44 |
}
|
45 |
-
if (!$wpdb->query("CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}
|
46 |
`reference_ID` bigint(20) unsigned NOT NULL default '0',
|
47 |
`ID` bigint(20) unsigned NOT NULL default '0',
|
48 |
`score` float unsigned NOT NULL default '0',
|
49 |
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
50 |
PRIMARY KEY ( `score` , `date` , `reference_ID` , `ID` )
|
51 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;")) {
|
52 |
-
echo "<!--MySQL error on creating
|
53 |
$wpdb->print_error();
|
54 |
echo "-->";
|
55 |
}
|
@@ -59,7 +63,7 @@ class YARPP_Cache_Tables {
|
|
59 |
global $wpdb;
|
60 |
return $wpdb->get_var("select (count(p.ID)-sum(c.ID IS NULL))/count(p.ID)
|
61 |
FROM `{$wpdb->posts}` as p
|
62 |
-
LEFT JOIN `{$wpdb->prefix}
|
63 |
WHERE p.post_status = 'publish' ");
|
64 |
}
|
65 |
|
@@ -67,7 +71,7 @@ class YARPP_Cache_Tables {
|
|
67 |
global $wpdb;
|
68 |
return $wpdb->get_col("select SQL_CALC_FOUND_ROWS p.ID
|
69 |
FROM `{$wpdb->posts}` as p
|
70 |
-
LEFT JOIN `{$wpdb->prefix}
|
71 |
WHERE p.post_status = 'publish' and c.ID IS NULL
|
72 |
LIMIT $limit OFFSET $offset");
|
73 |
}
|
@@ -76,16 +80,16 @@ class YARPP_Cache_Tables {
|
|
76 |
* MAGIC FILTERS
|
77 |
*/
|
78 |
function join_filter($arg) {
|
79 |
-
global $wpdb
|
80 |
-
if ($yarpp_time)
|
81 |
-
$arg .= " join {$wpdb->prefix}
|
82 |
return $arg;
|
83 |
}
|
84 |
|
85 |
function where_filter($arg) {
|
86 |
-
global $wpdb
|
87 |
$threshold = yarpp_get_option('threshold');
|
88 |
-
if ($yarpp_time) {
|
89 |
|
90 |
$arg = str_replace("$wpdb->posts.ID = ","yarpp.score >= $threshold and yarpp.reference_ID = ",$arg);
|
91 |
|
@@ -98,16 +102,16 @@ class YARPP_Cache_Tables {
|
|
98 |
}
|
99 |
|
100 |
function orderby_filter($arg) {
|
101 |
-
global $wpdb, $
|
102 |
-
if ($yarpp_time and $yarpp_score_override) {
|
103 |
$arg = str_replace("$wpdb->posts.post_date","yarpp.score",$arg);
|
104 |
}
|
105 |
return $arg;
|
106 |
}
|
107 |
|
108 |
function fields_filter($arg) {
|
109 |
-
global $wpdb
|
110 |
-
if ($yarpp_time)
|
111 |
$arg .= ", yarpp.score";
|
112 |
return $arg;
|
113 |
}
|
@@ -125,8 +129,8 @@ class YARPP_Cache_Tables {
|
|
125 |
}
|
126 |
|
127 |
function limit_filter($arg) {
|
128 |
-
global $wpdb, $
|
129 |
-
if ($yarpp_time and $yarpp_online_limit) {
|
130 |
return " limit $yarpp_online_limit ";
|
131 |
}
|
132 |
return $arg;
|
@@ -136,22 +140,24 @@ class YARPP_Cache_Tables {
|
|
136 |
* RELATEDNESS CACHE CONTROL
|
137 |
*/
|
138 |
function begin_yarpp_time() {
|
|
|
139 |
}
|
140 |
|
141 |
function end_yarpp_time() {
|
|
|
142 |
}
|
143 |
|
144 |
function is_cached($reference_ID) {
|
145 |
global $wpdb;
|
146 |
-
return $wpdb->get_var("select count(*) as count from {$wpdb->prefix}
|
147 |
}
|
148 |
|
149 |
function clear($reference_ID) {
|
150 |
global $wpdb;
|
151 |
if (is_array($reference_ID) && count($reference_ID))
|
152 |
-
$wpdb->query("delete from {$wpdb->prefix}
|
153 |
else if (is_int($reference_ID))
|
154 |
-
$wpdb->query("delete from {$wpdb->prefix}
|
155 |
}
|
156 |
|
157 |
function update($reference_ID, $types) {
|
@@ -163,7 +169,7 @@ class YARPP_Cache_Tables {
|
|
163 |
// clear out the cruft
|
164 |
$this->clear($reference_ID);
|
165 |
|
166 |
-
$wpdb->query("insert into {$wpdb->prefix}
|
167 |
|
168 |
if ($wpdb->rows_affected) {
|
169 |
$new_related = $this->related($reference_ID);
|
@@ -178,7 +184,7 @@ class YARPP_Cache_Tables {
|
|
178 |
//error_log('clear:' . implode(':', array_diff($new_related, $original_related)));
|
179 |
}
|
180 |
} else {
|
181 |
-
$wpdb->query("insert into {$wpdb->prefix}
|
182 |
if (!$wpdb->rows_affected)
|
183 |
return false;
|
184 |
// Clear the caches of those which are no longer related.
|
@@ -191,24 +197,24 @@ class YARPP_Cache_Tables {
|
|
191 |
|
192 |
function flush() {
|
193 |
global $wpdb;
|
194 |
-
return $wpdb->query("truncate table `{$wpdb->prefix}
|
195 |
}
|
196 |
|
197 |
function related($reference_ID = null, $related_ID = null) {
|
198 |
global $wpdb;
|
199 |
if (!is_null($reference_ID) && !is_null($related_ID)) {
|
200 |
-
$results = $wpdb->get_col("select ID from {$wpdb->prefix}
|
201 |
return count($results) > 0;
|
202 |
}
|
203 |
|
204 |
// return a list of ID's of "related" entries
|
205 |
if (!is_null($reference_ID)) {
|
206 |
-
return $wpdb->get_col("select distinct ID from {$wpdb->prefix}
|
207 |
}
|
208 |
|
209 |
// return a list of entities which list this post as "related"
|
210 |
if (!is_null($related_ID)) {
|
211 |
-
return $wpdb->get_col("select distinct reference_ID from {$wpdb->prefix}
|
212 |
}
|
213 |
|
214 |
return false;
|
@@ -221,30 +227,21 @@ class YARPP_Cache_Tables {
|
|
221 |
global $wpdb;
|
222 |
$body_terms = post_body_keywords($ID);
|
223 |
$title_terms = post_title_keywords($ID);
|
224 |
-
/*
|
225 |
-
CREATE TABLE `wp_yarpp_keyword_cache` (
|
226 |
-
`ID` BIGINT( 20 ) UNSIGNED NOT NULL ,
|
227 |
-
`body` TEXT NOT NULL ,
|
228 |
-
`title` TEXT NOT NULL ,
|
229 |
-
`date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
|
230 |
-
PRIMARY KEY ( `ID` )
|
231 |
-
) ENGINE = MYISAM COMMENT = 'YARPP\'s keyword cache table'
|
232 |
-
*/
|
233 |
|
234 |
if (defined('DB_CHARSET') && DB_CHARSET) {
|
235 |
$wpdb->query('set names '.DB_CHARSET);
|
236 |
}
|
237 |
|
238 |
-
$wpdb->query("insert into {$wpdb->prefix}
|
239 |
|
240 |
}
|
241 |
|
242 |
function get_keywords($ID, $type='body') {
|
243 |
global $wpdb;
|
244 |
-
$out = $wpdb->get_var("select $type from {$wpdb->prefix}
|
245 |
if ($out === false or $out == '') { // if empty, try caching them first.
|
246 |
$this->cache_keywords($ID);
|
247 |
-
$out = $wpdb->get_var("select $type from {$wpdb->prefix}
|
248 |
}
|
249 |
if ($out === false or $out == '') { // if still empty... return false
|
250 |
//echo "<!--YARPP ERROR: couldn't select/create yarpp $type keywords for $ID-->";
|
2 |
|
3 |
$yarpp_storage_class = 'YARPP_Cache_Tables';
|
4 |
|
5 |
+
define('YARPP_TABLES_RELATED_TABLE', 'yarpp_related_cache');
|
6 |
+
define('YARPP_TABLES_KEYWORDS_TABLE', 'yarpp_keyword_cache');
|
7 |
+
|
8 |
class YARPP_Cache_Tables {
|
9 |
var $name = "custom tables";
|
10 |
+
var $yarpp_time = false;
|
11 |
|
12 |
/**
|
13 |
* SETUP/STATUS
|
26 |
global $wpdb;
|
27 |
// now check for the cache tables
|
28 |
$tabledata = $wpdb->get_col("show tables");
|
29 |
+
if (array_search($wpdb->prefix . YARPP_TABLES_RELATED_TABLE,$tabledata) !== false &&
|
30 |
+
array_search($wpdb->prefix . YARPP_TABLES_KEYWORDS_TABLE,$tabledata) !== false)
|
31 |
return true;
|
32 |
else
|
33 |
return false;
|
35 |
|
36 |
function setup() {
|
37 |
global $wpdb;
|
38 |
+
if (!$wpdb->query("CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . "` (
|
39 |
`ID` bigint(20) unsigned NOT NULL default '0',
|
40 |
`body` text collate utf8_unicode_ci NOT NULL,
|
41 |
`title` text collate utf8_unicode_ci NOT NULL,
|
42 |
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
43 |
PRIMARY KEY (`ID`)
|
44 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='YARPP''s keyword cache table';")) {
|
45 |
+
echo "<!--MySQL error on creating " . YARPP_TABLES_KEYWORDS_TABLE . " table: ";
|
46 |
$wpdb->print_error();
|
47 |
echo "-->";
|
48 |
}
|
49 |
+
if (!$wpdb->query("CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . "` (
|
50 |
`reference_ID` bigint(20) unsigned NOT NULL default '0',
|
51 |
`ID` bigint(20) unsigned NOT NULL default '0',
|
52 |
`score` float unsigned NOT NULL default '0',
|
53 |
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
54 |
PRIMARY KEY ( `score` , `date` , `reference_ID` , `ID` )
|
55 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;")) {
|
56 |
+
echo "<!--MySQL error on creating " . YARPP_TABLES_RELATED_TABLE . " table: ";
|
57 |
$wpdb->print_error();
|
58 |
echo "-->";
|
59 |
}
|
63 |
global $wpdb;
|
64 |
return $wpdb->get_var("select (count(p.ID)-sum(c.ID IS NULL))/count(p.ID)
|
65 |
FROM `{$wpdb->posts}` as p
|
66 |
+
LEFT JOIN `{$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . "` as c ON (p.ID = c.reference_ID)
|
67 |
WHERE p.post_status = 'publish' ");
|
68 |
}
|
69 |
|
71 |
global $wpdb;
|
72 |
return $wpdb->get_col("select SQL_CALC_FOUND_ROWS p.ID
|
73 |
FROM `{$wpdb->posts}` as p
|
74 |
+
LEFT JOIN `{$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . "` as c ON (p.ID = c.reference_ID)
|
75 |
WHERE p.post_status = 'publish' and c.ID IS NULL
|
76 |
LIMIT $limit OFFSET $offset");
|
77 |
}
|
80 |
* MAGIC FILTERS
|
81 |
*/
|
82 |
function join_filter($arg) {
|
83 |
+
global $wpdb;
|
84 |
+
if ($this->yarpp_time)
|
85 |
+
$arg .= " join {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " as yarpp on {$wpdb->posts}.ID = yarpp.ID";
|
86 |
return $arg;
|
87 |
}
|
88 |
|
89 |
function where_filter($arg) {
|
90 |
+
global $wpdb;
|
91 |
$threshold = yarpp_get_option('threshold');
|
92 |
+
if ($this->yarpp_time) {
|
93 |
|
94 |
$arg = str_replace("$wpdb->posts.ID = ","yarpp.score >= $threshold and yarpp.reference_ID = ",$arg);
|
95 |
|
102 |
}
|
103 |
|
104 |
function orderby_filter($arg) {
|
105 |
+
global $wpdb, $yarpp_score_override;
|
106 |
+
if ($this->yarpp_time and $yarpp_score_override) {
|
107 |
$arg = str_replace("$wpdb->posts.post_date","yarpp.score",$arg);
|
108 |
}
|
109 |
return $arg;
|
110 |
}
|
111 |
|
112 |
function fields_filter($arg) {
|
113 |
+
global $wpdb;
|
114 |
+
if ($this->yarpp_time)
|
115 |
$arg .= ", yarpp.score";
|
116 |
return $arg;
|
117 |
}
|
129 |
}
|
130 |
|
131 |
function limit_filter($arg) {
|
132 |
+
global $wpdb, $yarpp_online_limit;
|
133 |
+
if ($this->yarpp_time and $yarpp_online_limit) {
|
134 |
return " limit $yarpp_online_limit ";
|
135 |
}
|
136 |
return $arg;
|
140 |
* RELATEDNESS CACHE CONTROL
|
141 |
*/
|
142 |
function begin_yarpp_time() {
|
143 |
+
$this->yarpp_time = true;
|
144 |
}
|
145 |
|
146 |
function end_yarpp_time() {
|
147 |
+
$this->yarpp_time = false;
|
148 |
}
|
149 |
|
150 |
function is_cached($reference_ID) {
|
151 |
global $wpdb;
|
152 |
+
return $wpdb->get_var("select count(*) as count from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID = $reference_ID");
|
153 |
}
|
154 |
|
155 |
function clear($reference_ID) {
|
156 |
global $wpdb;
|
157 |
if (is_array($reference_ID) && count($reference_ID))
|
158 |
+
$wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID in (".implode(',',$reference_ID).")");
|
159 |
else if (is_int($reference_ID))
|
160 |
+
$wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID = {$reference_ID}");
|
161 |
}
|
162 |
|
163 |
function update($reference_ID, $types) {
|
169 |
// clear out the cruft
|
170 |
$this->clear($reference_ID);
|
171 |
|
172 |
+
$wpdb->query("insert into {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " (reference_ID,ID,score) ".yarpp_sql($types,array(),true,$reference_ID)." on duplicate key update date = now()");
|
173 |
|
174 |
if ($wpdb->rows_affected) {
|
175 |
$new_related = $this->related($reference_ID);
|
184 |
//error_log('clear:' . implode(':', array_diff($new_related, $original_related)));
|
185 |
}
|
186 |
} else {
|
187 |
+
$wpdb->query("insert into {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " (reference_ID,ID,score) values ($reference_ID,0,0) on duplicate key update date = now()");
|
188 |
if (!$wpdb->rows_affected)
|
189 |
return false;
|
190 |
// Clear the caches of those which are no longer related.
|
197 |
|
198 |
function flush() {
|
199 |
global $wpdb;
|
200 |
+
return $wpdb->query("truncate table `{$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . "`");
|
201 |
}
|
202 |
|
203 |
function related($reference_ID = null, $related_ID = null) {
|
204 |
global $wpdb;
|
205 |
if (!is_null($reference_ID) && !is_null($related_ID)) {
|
206 |
+
$results = $wpdb->get_col("select ID from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID = $reference_ID and ID = $related_ID");
|
207 |
return count($results) > 0;
|
208 |
}
|
209 |
|
210 |
// return a list of ID's of "related" entries
|
211 |
if (!is_null($reference_ID)) {
|
212 |
+
return $wpdb->get_col("select distinct ID from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID = $reference_ID and ID != 0");
|
213 |
}
|
214 |
|
215 |
// return a list of entities which list this post as "related"
|
216 |
if (!is_null($related_ID)) {
|
217 |
+
return $wpdb->get_col("select distinct reference_ID from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where ID = $related_ID");
|
218 |
}
|
219 |
|
220 |
return false;
|
227 |
global $wpdb;
|
228 |
$body_terms = post_body_keywords($ID);
|
229 |
$title_terms = post_title_keywords($ID);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
|
231 |
if (defined('DB_CHARSET') && DB_CHARSET) {
|
232 |
$wpdb->query('set names '.DB_CHARSET);
|
233 |
}
|
234 |
|
235 |
+
$wpdb->query("insert into {$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . " (ID,body,title) values ($ID,'$body_terms ','$title_terms ') on duplicate key update date = now(), body = '$body_terms ', title = '$title_terms '");
|
236 |
|
237 |
}
|
238 |
|
239 |
function get_keywords($ID, $type='body') {
|
240 |
global $wpdb;
|
241 |
+
$out = $wpdb->get_var("select $type from {$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . " where ID = $ID");
|
242 |
if ($out === false or $out == '') { // if empty, try caching them first.
|
243 |
$this->cache_keywords($ID);
|
244 |
+
$out = $wpdb->get_var("select $type from {$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . " where ID = $ID");
|
245 |
}
|
246 |
if ($out === false or $out == '') { // if still empty... return false
|
247 |
//echo "<!--YARPP ERROR: couldn't select/create yarpp $type keywords for $ID-->";
|
lang/yarpp-lt_LT.mo
CHANGED
Binary file
|
lang/yarpp-lt_LT.po
CHANGED
@@ -1,665 +1,487 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version:
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
-
"Language-Team:
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"
|
|
|
13 |
"X-Poedit-Language: Lithuanian\n"
|
14 |
-
"X-Poedit-Country: LITHUANIA\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
-
"
|
17 |
-
"X-Poedit-
|
18 |
-
"X-Poedit-
|
19 |
-
"X-Poedit-SearchPath-0: .\n"
|
20 |
-
"X-Textdomain-Support: yes"
|
21 |
-
|
22 |
-
#: includes.php:24
|
23 |
-
#: includes.php:35
|
24 |
-
#@ yarpp
|
25 |
-
msgid "Related posts:"
|
26 |
-
msgstr "Panašūs įrašai:"
|
27 |
-
|
28 |
-
#: includes.php:26
|
29 |
-
#: includes.php:37
|
30 |
-
#: template-metabox.php:28
|
31 |
-
#@ yarpp
|
32 |
-
msgid "No related posts."
|
33 |
-
msgstr "Panašių įrašų nėra"
|
34 |
-
|
35 |
-
#: includes.php:94
|
36 |
-
#@ yarpp
|
37 |
-
msgid "MySQL error on adding yarpp_title"
|
38 |
-
msgstr "MySql klaida su yarpp pavadinimo įdėjimu"
|
39 |
-
|
40 |
-
#: includes.php:99
|
41 |
-
#@ yarpp
|
42 |
-
msgid "MySQL error on adding yarpp_content"
|
43 |
-
msgstr "MySql klaida su yarpp turinio pridėjimu"
|
44 |
-
|
45 |
-
#: includes.php:110
|
46 |
-
#@ yarpp
|
47 |
-
msgid "MySQL error on creating yarpp_keyword_cache table"
|
48 |
-
msgstr "MySql klaida su YARPP keyword_cache lentelės kūrimu"
|
49 |
-
|
50 |
-
#: includes.php:121
|
51 |
-
#@ yarpp
|
52 |
-
msgid "MySQL error on creating yarpp_related_cache table"
|
53 |
-
msgstr "MySql klaida su yarpp related_cache lentelės kūrimu"
|
54 |
|
55 |
-
#:
|
56 |
-
|
57 |
-
|
58 |
-
msgstr "Panašūs įrašai (YARPP)"
|
59 |
|
60 |
-
#:
|
61 |
-
|
62 |
-
|
63 |
-
msgid "Related Posts"
|
64 |
-
msgstr "Panašūs įrašai"
|
65 |
|
66 |
-
#:
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
70 |
|
71 |
-
#: magic.php:71
|
72 |
-
#@ yarpp
|
73 |
msgid "Example post "
|
74 |
-
msgstr "
|
75 |
|
76 |
-
#: magic.php:
|
77 |
-
#: options.php:
|
78 |
-
#: options.php:
|
79 |
-
#@ yarpp
|
80 |
msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
|
81 |
-
msgstr "
|
82 |
|
83 |
-
#:
|
84 |
-
|
|
|
|
|
|
|
|
|
85 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
86 |
-
msgstr "
|
87 |
|
88 |
-
#: options.php:15
|
89 |
-
#@ yarpp
|
90 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
91 |
-
msgstr "YARPP
|
92 |
|
93 |
-
#: options.php:26
|
94 |
-
#@ yarpp
|
95 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
96 |
-
msgstr "MyISAM
|
97 |
|
98 |
-
#: options.php:35
|
99 |
#, php-format
|
100 |
-
#@ yarpp
|
101 |
msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
102 |
-
msgstr ""
|
103 |
|
104 |
-
#: options.php:37
|
105 |
#, php-format
|
106 |
-
#@ yarpp
|
107 |
msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
|
108 |
-
msgstr "
|
109 |
|
110 |
-
#: options.php:39
|
111 |
#, php-format
|
112 |
-
#@ yarpp
|
113 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
114 |
-
msgstr "
|
115 |
|
116 |
-
#: options.php:42
|
117 |
-
#@ yarpp
|
118 |
msgid "Trust me. Let me use MyISAM features."
|
119 |
-
msgstr "
|
120 |
|
121 |
-
#: options.php:65
|
122 |
-
#@ yarpp
|
123 |
msgid "The YARPP database had an error but has been fixed."
|
124 |
-
msgstr "YARPP
|
125 |
|
126 |
-
#: options.php:67
|
127 |
-
#@ yarpp
|
128 |
msgid "The YARPP database has an error which could not be fixed."
|
129 |
-
msgstr "YARPP
|
130 |
|
131 |
-
#: options.php:68
|
132 |
-
#@ yarpp
|
133 |
msgid "Please try <A>manual SQL setup</a>."
|
134 |
-
msgstr "
|
135 |
|
136 |
-
#: options.php:
|
137 |
-
#@ yarpp
|
138 |
msgid "Options saved!"
|
139 |
-
msgstr "Nuostatos išsaugotos
|
140 |
-
|
141 |
-
#: options.php:
|
142 |
-
#: options.php:112
|
143 |
-
#: options.php:115
|
144 |
-
#: options.php:533
|
145 |
-
#@ yarpp
|
146 |
-
msgid "Related posts cache status"
|
147 |
-
msgstr "Panašių įrašų podėlio statusas"
|
148 |
-
|
149 |
-
#: options.php:100
|
150 |
-
#@ yarpp
|
151 |
-
msgid "If you updated the \"pool\" options or \"relatedness\" options displayed, please rebuild your cache now from the <A>related posts status pane</a>."
|
152 |
-
msgstr "Jeigu jūs atnaujinsite panašių įrašų nustatymus,prašau perkurti jūsų podėlį per <A>panašių įrašų statuso panele</a>."
|
153 |
-
|
154 |
-
#: options.php:112
|
155 |
-
#@ yarpp
|
156 |
-
msgid "Your related posts cache is incomplete. Please build your cache from the <A>related posts status pane</a>."
|
157 |
-
msgstr "Jūsų panašių įrašų podėlio kūrimas nebaigtas.Prašau perkurti jūsų podėlį per <A>panašių įrašų statusų panelę</a>."
|
158 |
-
|
159 |
-
#: options.php:115
|
160 |
-
#@ yarpp
|
161 |
-
msgid "Your related posts cache is empty. Please build your cache from the <A>related posts status pane</a>."
|
162 |
-
msgstr "Jūsų panašių įrašų podėlis yra tuščias. Prašau sukurti podėlį iš <A>panašių įrašų statusų panelės</a>."
|
163 |
-
|
164 |
-
#: options.php:151
|
165 |
-
#@ yarpp
|
166 |
msgid "word"
|
167 |
-
msgstr "
|
168 |
|
169 |
-
#: options.php:
|
170 |
-
#@ yarpp
|
171 |
msgid "tag"
|
172 |
-
msgstr "
|
173 |
|
174 |
-
#: options.php:
|
175 |
-
#@ yarpp
|
176 |
msgid "category"
|
177 |
-
msgstr "
|
178 |
|
179 |
-
#: options.php:
|
180 |
-
#: options.php:
|
181 |
-
#: options.php:
|
182 |
-
#@ yarpp
|
183 |
msgid "do not consider"
|
184 |
-
msgstr "
|
185 |
|
186 |
-
#: options.php:
|
187 |
-
#: options.php:
|
188 |
-
#: options.php:
|
189 |
-
#@ yarpp
|
190 |
msgid "consider"
|
191 |
-
msgstr "
|
192 |
|
193 |
-
#: options.php:
|
194 |
-
#: options.php:
|
195 |
#, php-format
|
196 |
-
#@ yarpp
|
197 |
msgid "require at least one %s in common"
|
198 |
-
msgstr "
|
199 |
|
200 |
-
#: options.php:
|
201 |
-
#: options.php:
|
202 |
#, php-format
|
203 |
-
#@ yarpp
|
204 |
msgid "require more than one %s in common"
|
205 |
-
msgstr "
|
206 |
|
207 |
-
#: options.php:
|
208 |
-
#@ yarpp
|
209 |
msgid "consider with extra weight"
|
210 |
-
msgstr "
|
211 |
|
212 |
-
#: options.php:
|
213 |
-
#@ yarpp
|
214 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
215 |
-
msgstr "Yet Another Related Posts
|
216 |
|
217 |
-
#: options.php:
|
218 |
-
#@ yarpp
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
-
msgstr "Yet Another Related Posts
|
221 |
|
222 |
-
#: options.php:
|
223 |
-
#@ yarpp
|
224 |
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
225 |
-
msgstr "
|
226 |
|
227 |
-
#: options.php:
|
228 |
-
#@ yarpp
|
229 |
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
230 |
-
msgstr "
|
231 |
|
232 |
-
#: options.php:
|
233 |
-
#@ yarpp
|
234 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
235 |
-
msgstr "Sekite <a href=\"http://twitter.com/yarpp/\">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
|
237 |
-
#: options.php:
|
238 |
-
#@ yarpp
|
239 |
msgid "\"The Pool\""
|
240 |
-
msgstr "
|
241 |
|
242 |
-
#: options.php:
|
243 |
-
#@ yarpp
|
244 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
245 |
-
msgstr "
|
246 |
|
247 |
-
#: options.php:
|
248 |
-
#@ yarpp
|
249 |
msgid "Disallow by category:"
|
250 |
-
msgstr "
|
251 |
|
252 |
-
#: options.php:
|
253 |
-
#@ yarpp
|
254 |
msgid "Disallow by tag:"
|
255 |
-
msgstr "
|
256 |
|
257 |
-
#: options.php:
|
258 |
-
#@ yarpp
|
259 |
msgid "Show password protected posts?"
|
260 |
msgstr "Rodyti slaptažodžiu apsaugotus įrašus?"
|
261 |
|
262 |
-
#: options.php:
|
263 |
-
#@ yarpp
|
264 |
msgid "day(s)"
|
265 |
-
msgstr "
|
266 |
|
267 |
-
#: options.php:
|
268 |
-
#@ yarpp
|
269 |
msgid "week(s)"
|
270 |
-
msgstr "
|
271 |
|
272 |
-
#: options.php:
|
273 |
-
#@ yarpp
|
274 |
msgid "month(s)"
|
275 |
-
msgstr "
|
276 |
|
277 |
-
#: options.php:
|
278 |
-
#@ yarpp
|
279 |
msgid "Show only posts from the past NUMBER UNITS"
|
280 |
-
msgstr "
|
281 |
|
282 |
-
#: options.php:
|
283 |
-
#@ yarpp
|
284 |
msgid "\"Relatedness\" options"
|
285 |
-
msgstr "
|
286 |
|
287 |
-
#: options.php:
|
288 |
-
#, php-format
|
289 |
-
#@ yarpp
|
290 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
291 |
-
msgstr "YARPP skiriasi nuo <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">
|
292 |
-
|
293 |
-
#: options.php:
|
294 |
-
#: options.php:325
|
295 |
-
#: options.php:
|
296 |
-
#: options.php:
|
297 |
-
#: options.php:
|
298 |
-
#: options.php:
|
299 |
-
#: options.php:
|
300 |
-
#: options.php:
|
301 |
-
#: options.php:
|
302 |
-
#: options.php:534
|
303 |
-
#@ yarpp
|
304 |
msgid "more>"
|
305 |
msgstr "daugiau>"
|
306 |
|
307 |
-
#: options.php:
|
308 |
-
#@ yarpp
|
309 |
msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
|
310 |
-
msgstr "
|
311 |
|
312 |
-
#: options.php:316
|
313 |
-
#@ yarpp
|
314 |
msgid "Match threshold:"
|
315 |
-
msgstr "
|
316 |
|
317 |
-
#: options.php:317
|
318 |
-
#@ yarpp
|
319 |
msgid "Titles: "
|
320 |
-
msgstr "
|
321 |
|
322 |
-
#: options.php:319
|
323 |
-
#@ yarpp
|
324 |
msgid "Bodies: "
|
325 |
-
msgstr "
|
326 |
|
327 |
-
#: options.php:321
|
328 |
-
#@ yarpp
|
329 |
msgid "Tags: "
|
330 |
-
msgstr "
|
331 |
|
332 |
-
#: options.php:323
|
333 |
-
#@ yarpp
|
334 |
msgid "Categories: "
|
335 |
-
msgstr "
|
336 |
|
337 |
-
#: options.php:325
|
338 |
-
#@ yarpp
|
339 |
msgid "Cross-relate posts and pages?"
|
340 |
-
msgstr ""
|
341 |
|
342 |
-
#: options.php:325
|
343 |
-
#@ yarpp
|
344 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
345 |
-
msgstr "
|
|
|
|
|
|
|
|
|
346 |
|
347 |
-
#: options.php:
|
348 |
-
#@ yarpp
|
349 |
msgid "There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk."
|
350 |
-
msgstr "
|
351 |
|
352 |
-
#: options.php:
|
353 |
-
#@ yarpp
|
354 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
355 |
-
msgstr "
|
356 |
|
357 |
-
#: options.php:404
|
358 |
-
#@ yarpp
|
359 |
msgid "Display options <small>for your website</small>"
|
360 |
-
msgstr ""
|
361 |
|
362 |
-
#: options.php:
|
363 |
-
#@ yarpp
|
364 |
msgid "Automatically display related posts?"
|
365 |
msgstr "Automatiškai rodyti panašius įrašus?"
|
366 |
|
367 |
-
#: options.php:
|
368 |
-
#@ yarpp
|
369 |
msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
|
370 |
-
msgstr ""
|
371 |
|
372 |
-
#: options.php:
|
373 |
-
#@ yarpp
|
374 |
msgid "Website display code example"
|
375 |
-
msgstr ""
|
376 |
|
377 |
-
#: options.php:
|
378 |
-
#: options.php:
|
379 |
-
#@ yarpp
|
380 |
msgid "(Update options to reload.)"
|
381 |
-
msgstr "(
|
382 |
|
383 |
-
#: options.php:
|
384 |
-
#: options.php:
|
385 |
-
#@ yarpp
|
386 |
msgid "Maximum number of related posts:"
|
387 |
-
msgstr "Didžiausias panašių įrašų
|
388 |
|
389 |
-
#: options.php:
|
390 |
-
#: options.php:
|
391 |
-
|
392 |
msgid "Display using a custom template file"
|
393 |
-
msgstr "Rodyti
|
394 |
-
|
395 |
-
#: options.php:413
|
396 |
-
#: options.php:477
|
397 |
-
#: options.php:530
|
398 |
-
#@ yarpp
|
399 |
-
msgid "NEW!"
|
400 |
-
msgstr "NAUJAS!"
|
401 |
|
402 |
-
#: options.php:
|
403 |
-
#: options.php:
|
404 |
-
#@ yarpp
|
405 |
msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
|
406 |
-
msgstr ""
|
407 |
|
408 |
-
#: options.php:
|
409 |
-
#: options.php:
|
410 |
-
|
411 |
msgid "Template file:"
|
412 |
-
msgstr "
|
413 |
|
414 |
-
#: options.php:
|
415 |
-
#@ yarpp
|
416 |
msgid "Before / after related entries:"
|
417 |
-
msgstr "
|
418 |
-
|
419 |
-
#: options.php:
|
420 |
-
#: options.php:
|
421 |
-
#: options.php:
|
422 |
-
#: options.php:
|
423 |
-
#: options.php:
|
424 |
-
#: options.php:
|
425 |
-
#@ yarpp
|
426 |
msgid "For example:"
|
427 |
msgstr "Pavyzdžiui:"
|
428 |
|
429 |
-
#: options.php:
|
430 |
-
#: options.php:
|
431 |
-
#: options.php:
|
432 |
-
#: options.php:
|
433 |
-
#: options.php:
|
434 |
-
#: options.php:
|
435 |
-
#@ yarpp
|
436 |
msgid " or "
|
437 |
-
msgstr "
|
438 |
|
439 |
-
#: options.php:
|
440 |
-
#: options.php:
|
441 |
-
#@ yarpp
|
442 |
msgid "Before / after each related entry:"
|
443 |
-
msgstr "
|
444 |
|
445 |
-
#: options.php:
|
446 |
-
#: options.php:
|
447 |
-
#@ yarpp
|
448 |
msgid "Show excerpt?"
|
449 |
msgstr "Rodyti ištrauką?"
|
450 |
|
451 |
-
#: options.php:
|
452 |
-
#: options.php:
|
453 |
-
#@ yarpp
|
454 |
msgid "Excerpt length (No. of words):"
|
455 |
-
msgstr "Ištraukos ilgis (skaičius
|
456 |
|
457 |
-
#: options.php:
|
458 |
-
#@ yarpp
|
459 |
msgid "Before / after (Excerpt):"
|
460 |
-
msgstr "Prieš / po (
|
461 |
|
462 |
-
#: options.php:
|
463 |
-
#: options.php:
|
464 |
-
#@ yarpp
|
465 |
msgid "Order results:"
|
466 |
-
msgstr "
|
467 |
|
468 |
-
#: options.php:
|
469 |
-
#: options.php:
|
470 |
-
#@ yarpp
|
471 |
msgid "score (high relevance to low)"
|
472 |
-
msgstr "
|
473 |
|
474 |
-
#: options.php:
|
475 |
-
#: options.php:
|
476 |
-
#@ yarpp
|
477 |
msgid "score (low relevance to high)"
|
478 |
-
msgstr "
|
479 |
|
480 |
-
#: options.php:
|
481 |
-
#: options.php:
|
482 |
-
#@ yarpp
|
483 |
msgid "date (new to old)"
|
484 |
-
msgstr "
|
485 |
|
486 |
-
#: options.php:
|
487 |
-
#: options.php:
|
488 |
-
#@ yarpp
|
489 |
msgid "date (old to new)"
|
490 |
-
msgstr "
|
491 |
|
492 |
-
#: options.php:
|
493 |
-
#: options.php:
|
494 |
-
#@ yarpp
|
495 |
msgid "title (alphabetical)"
|
496 |
-
msgstr "
|
497 |
|
498 |
-
#: options.php:
|
499 |
-
#: options.php:
|
500 |
-
#@ yarpp
|
501 |
msgid "title (reverse alphabetical)"
|
502 |
-
msgstr "
|
503 |
|
504 |
-
#: options.php:
|
505 |
-
#: options.php:
|
506 |
-
#@ yarpp
|
507 |
msgid "Default display if no results:"
|
508 |
-
msgstr "
|
509 |
|
510 |
-
#: options.php:
|
511 |
-
#: options.php:
|
512 |
-
|
513 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
514 |
-
msgstr "
|
515 |
|
516 |
-
#: options.php:
|
517 |
-
#: options.php:
|
518 |
#, php-format
|
519 |
-
#@ yarpp
|
520 |
msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
|
521 |
-
msgstr ""
|
522 |
|
523 |
-
#: options.php:
|
524 |
-
#@ yarpp
|
525 |
msgid "Display options <small>for RSS</small>"
|
526 |
-
msgstr "Rodymo
|
527 |
|
528 |
-
#: options.php:
|
529 |
-
#@ yarpp
|
530 |
msgid "Display related posts in feeds?"
|
531 |
-
msgstr "Rodyti panašius įrašus
|
532 |
|
533 |
-
#: options.php:
|
534 |
-
#@ yarpp
|
535 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
536 |
-
msgstr ""
|
537 |
|
538 |
-
#: options.php:
|
539 |
-
#@ yarpp
|
540 |
msgid "Display related posts in the descriptions?"
|
541 |
-
msgstr "Rodyti panašius įrašus
|
542 |
|
543 |
-
#: options.php:
|
544 |
-
#@ yarpp
|
545 |
msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
|
546 |
-
msgstr ""
|
547 |
|
548 |
-
#: options.php:
|
549 |
-
#@ yarpp
|
550 |
msgid "RSS display code example"
|
551 |
-
msgstr "RSS
|
552 |
|
553 |
-
#: options.php:
|
554 |
-
|
|
|
|
|
|
|
555 |
msgid "Before / after related entries display:"
|
556 |
-
msgstr "Prieš / po panašių
|
557 |
|
558 |
-
#: options.php:
|
559 |
-
#@ yarpp
|
560 |
msgid "Before / after (excerpt):"
|
561 |
-
msgstr "Prieš / po ištraukos"
|
562 |
-
|
563 |
-
#: options.php:
|
564 |
-
#@ yarpp
|
565 |
-
msgid "Advanced"
|
566 |
-
msgstr "Pažengusiems"
|
567 |
-
|
568 |
-
#: options.php:533
|
569 |
-
#@ yarpp
|
570 |
-
msgid "Show cache status"
|
571 |
-
msgstr "Žiūrėti podėlio statusą"
|
572 |
-
|
573 |
-
#: options.php:534
|
574 |
-
#@ yarpp
|
575 |
-
msgid "When the cache is incomplete, compute related posts on the fly?"
|
576 |
-
msgstr "Kai podėlis yra nebaigtas ,apskaičiuoti panašius įrašus?"
|
577 |
-
|
578 |
-
#: options.php:535
|
579 |
-
#@ yarpp
|
580 |
-
msgid "If a displayed post's related posts are not cached and this option is on, YARPP will compute them on the fly.<br />If this option is off and a post's related posts have not been cached, it will display as if it has no related posts."
|
581 |
-
msgstr "Jeigu rodomi panašus įrašai , nėra podėlyje ši YARPP nuostata jį įrašys.<br /> Jeigu šį nuostata yra išjungta ir panašus įrašai ne podėlyje ,jie nebus rodomi panašiuose įrašuose."
|
582 |
-
|
583 |
-
#: options.php:565
|
584 |
-
#@ yarpp
|
585 |
-
msgid "'MIN minute(s) and SEC second(s) remaining'"
|
586 |
-
msgstr "'MIN minutės(ių) and SEC secondės(žių) liko'"
|
587 |
-
|
588 |
-
#: options.php:567
|
589 |
-
#@ yarpp
|
590 |
-
msgid "'SEC second(s) remaining'"
|
591 |
-
msgstr "'SEC sekundės(žių) liko'"
|
592 |
-
|
593 |
-
#: options.php:571
|
594 |
-
#@ yarpp
|
595 |
-
msgid "Your related posts cache is now complete."
|
596 |
-
msgstr "Jūsų panašių įrašų podėlis baigtas"
|
597 |
-
|
598 |
-
#: options.php:571
|
599 |
-
#@ yarpp
|
600 |
-
msgid "The SQL queries took SEC seconds."
|
601 |
-
msgstr "SQL lentelės sukūrimas truks keletą sekundžių."
|
602 |
-
|
603 |
-
#: options.php:578
|
604 |
-
#@ yarpp
|
605 |
-
msgid "There was an error while constructing the related posts for TITLE"
|
606 |
-
msgstr "Klaida konstruojant panašių įrašų antraštes"
|
607 |
-
|
608 |
-
#: options.php:580
|
609 |
-
#: options.php:586
|
610 |
-
#@ yarpp
|
611 |
-
msgid "Constructing the related posts timed out."
|
612 |
-
msgstr "Konstruojami panašūs įrašai laikas baigėsi"
|
613 |
-
|
614 |
-
#: options.php:583
|
615 |
-
#: options.php:588
|
616 |
-
#@ yarpp
|
617 |
-
msgid "Try to continue..."
|
618 |
-
msgstr "Bandykite tęsti..."
|
619 |
-
|
620 |
-
#: options.php:596
|
621 |
-
#@ yarpp
|
622 |
-
msgid "Your related posts cache is PERCENT% complete."
|
623 |
-
msgstr "Jūsų pranašių įrašų podėlis yra PERCENT% baigtas"
|
624 |
-
|
625 |
-
#: options.php:602
|
626 |
-
#@ yarpp
|
627 |
-
msgid "starting..."
|
628 |
-
msgstr "paleidžiama..."
|
629 |
-
|
630 |
-
#: options.php:609
|
631 |
-
#@ yarpp
|
632 |
msgid "Update options"
|
633 |
-
msgstr "Atnaujinti
|
634 |
|
635 |
-
#: options.php:
|
636 |
-
#@ yarpp
|
637 |
msgid "Do you really want to reset your configuration?"
|
638 |
-
msgstr "Ar
|
639 |
|
640 |
-
#: options.php:
|
641 |
-
#@ yarpp
|
642 |
msgid "Reset options"
|
643 |
-
msgstr "
|
644 |
|
645 |
-
#:
|
646 |
-
|
647 |
-
msgid "
|
648 |
-
msgstr "
|
649 |
|
650 |
-
#:
|
651 |
-
|
652 |
-
|
653 |
-
msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
|
654 |
-
msgstr ""
|
655 |
|
656 |
-
#:
|
657 |
-
|
658 |
-
|
659 |
-
msgstr "Čia yra pateikti visi panašūs įrašai. Atnaujinus įrašą bus pasikeis ir panašūs įrašai."
|
660 |
|
661 |
-
#:
|
662 |
-
|
663 |
-
|
664 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
665 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Blogr.lt sulietuvinimas\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-12-26 22:14+0300\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Mantas Malcius <kaipgis@gmail.com>\n"
|
8 |
+
"Language-Team: Mantas Malcius <kaipgis@gmail.com>\n"
|
9 |
+
"Language: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;_c;__ngettext:1,2;_n:1,2;_nc:1,2;__ngettext_noop:1,2;_n_noop:1,2;_x:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_ex:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-Language: Lithuanian\n"
|
|
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
18 |
+
"X-Poedit-Country: LITHUANIA\n"
|
19 |
+
"X-Poedit-SearchPath-0: /home/mantas/Desktop/yet-another-related-posts-plugin\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/template-metabox.php:12
|
22 |
+
msgid "These are the related entries for this entry. Updating this post may change these related posts."
|
23 |
+
msgstr "Čia matote panašius įrašus. Jie gali pasikeisti po įrašo redagavimo."
|
|
|
24 |
|
25 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/template-metabox.php:26
|
26 |
+
msgid "Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options."
|
27 |
+
msgstr "Ar visi šie panašūs įrašai yra rodomi tinklaraštyje ir kaip jie yra rodomi, priklauso nuo įskiepio nuostatų."
|
|
|
|
|
28 |
|
29 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/template-metabox.php:28
|
30 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/template-widget.php:13
|
31 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:29
|
32 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:40
|
33 |
+
msgid "No related posts."
|
34 |
+
msgstr "Nėra panašių įrašų."
|
35 |
|
36 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/magic.php:71
|
|
|
37 |
msgid "Example post "
|
38 |
+
msgstr "Įrašo pavyzdys "
|
39 |
|
40 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/magic.php:351
|
41 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:462
|
42 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:530
|
|
|
43 |
msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
|
44 |
+
msgstr "Panašius įrašus pateikia „<a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>“ įskiepis."
|
45 |
|
46 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/template-builtin.php:35
|
47 |
+
#, php-format
|
48 |
+
msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
|
49 |
+
msgstr "%f yra panašumo su peržiūrimu įrašu rodiklis. Ši reikšmė yra skirta tik tinklaraščio administratoriui, lankytojai jos nemato."
|
50 |
+
|
51 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:10
|
52 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
53 |
+
msgstr "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
54 |
|
55 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:15
|
|
|
56 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
57 |
+
msgstr "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
58 |
|
59 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:26
|
|
|
60 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
61 |
+
msgstr "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
62 |
|
63 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:35
|
64 |
#, php-format
|
|
|
65 |
msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
66 |
+
msgstr "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
67 |
|
68 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:37
|
69 |
#, php-format
|
|
|
70 |
msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
|
71 |
+
msgstr "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
|
72 |
|
73 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:39
|
74 |
#, php-format
|
|
|
75 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
76 |
+
msgstr "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
77 |
|
78 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:42
|
|
|
79 |
msgid "Trust me. Let me use MyISAM features."
|
80 |
+
msgstr "Trust me. Let me use MyISAM features."
|
81 |
|
82 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:65
|
|
|
83 |
msgid "The YARPP database had an error but has been fixed."
|
84 |
+
msgstr "The YARPP database had an error but has been fixed."
|
85 |
|
86 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:67
|
|
|
87 |
msgid "The YARPP database has an error which could not be fixed."
|
88 |
+
msgstr "The YARPP database has an error which could not be fixed."
|
89 |
|
90 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:68
|
|
|
91 |
msgid "Please try <A>manual SQL setup</a>."
|
92 |
+
msgstr "Please try <A>manual SQL setup</a>."
|
93 |
|
94 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:99
|
|
|
95 |
msgid "Options saved!"
|
96 |
+
msgstr "Nuostatos išsaugotos."
|
97 |
+
|
98 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:135
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
msgid "word"
|
100 |
+
msgstr "žodį"
|
101 |
|
102 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:136
|
|
|
103 |
msgid "tag"
|
104 |
+
msgstr "žymą"
|
105 |
|
106 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:137
|
|
|
107 |
msgid "category"
|
108 |
+
msgstr "kategoriją"
|
109 |
|
110 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:141
|
111 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:158
|
112 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:170
|
|
|
113 |
msgid "do not consider"
|
114 |
+
msgstr "Neturi reikšmės"
|
115 |
|
116 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:142
|
117 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:159
|
118 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:172
|
|
|
119 |
msgid "consider"
|
120 |
+
msgstr "Turi reikšmę"
|
121 |
|
122 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:144
|
123 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:174
|
124 |
#, php-format
|
|
|
125 |
msgid "require at least one %s in common"
|
126 |
+
msgstr "Privalo turėti nors vieną bendrą %s"
|
127 |
|
128 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:146
|
129 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:176
|
130 |
#, php-format
|
|
|
131 |
msgid "require more than one %s in common"
|
132 |
+
msgstr "Privalo turėti daugiau negu vieną bendrą %s"
|
133 |
|
134 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:160
|
|
|
135 |
msgid "consider with extra weight"
|
136 |
+
msgstr "Turi didelę reikšmę"
|
137 |
|
138 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:188
|
|
|
139 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
140 |
+
msgstr "„Yet Another Related Posts Plugin“ versijų istorija (RSS 2.0)"
|
141 |
|
142 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:242
|
|
|
143 |
msgid "Yet Another Related Posts Plugin Options"
|
144 |
+
msgstr "„Yet Another Related Posts Plugin“ įskiepio nuostatos"
|
145 |
|
146 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:253
|
|
|
147 |
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
148 |
+
msgstr "Paremti įskiepio kūrėją mitcho (Michael Yoshitaka Erlewine) per PayPal"
|
149 |
|
150 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:255
|
|
|
151 |
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
152 |
+
msgstr "Sukūrė: <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
153 |
|
154 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:255
|
|
|
155 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
156 |
+
msgstr "Sekite „Yet Another Related Posts Plugin“ <a href=\"http://twitter.com/yarpp/\">Twitter tarnyboje</a>"
|
157 |
+
|
158 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:271
|
159 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:304
|
160 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:401
|
161 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:469
|
162 |
+
msgid "Click to toggle"
|
163 |
+
msgstr "Paspauskite, jei norite perjungti"
|
164 |
|
165 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:274
|
|
|
166 |
msgid "\"The Pool\""
|
167 |
+
msgstr "Įskiepio veikimo sritis"
|
168 |
|
169 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:276
|
|
|
170 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
171 |
+
msgstr "Čia galite nustatyti, su kuriais įrašais įskiepis turėtų veikti."
|
172 |
|
173 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:281
|
|
|
174 |
msgid "Disallow by category:"
|
175 |
+
msgstr "Išjungti pagal kategoriją:"
|
176 |
|
177 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:283
|
|
|
178 |
msgid "Disallow by tag:"
|
179 |
+
msgstr "Išjungti pagal žymą:"
|
180 |
|
181 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:286
|
|
|
182 |
msgid "Show password protected posts?"
|
183 |
msgstr "Rodyti slaptažodžiu apsaugotus įrašus?"
|
184 |
|
185 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:290
|
|
|
186 |
msgid "day(s)"
|
187 |
+
msgstr "d."
|
188 |
|
189 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:291
|
|
|
190 |
msgid "week(s)"
|
191 |
+
msgstr "sav."
|
192 |
|
193 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:292
|
|
|
194 |
msgid "month(s)"
|
195 |
+
msgstr "mėn."
|
196 |
|
197 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:294
|
|
|
198 |
msgid "Show only posts from the past NUMBER UNITS"
|
199 |
+
msgstr "Nerodyti įrašų, paskelbtų seniau nei prieš NUMBER UNITS"
|
200 |
|
201 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:307
|
|
|
202 |
msgid "\"Relatedness\" options"
|
203 |
+
msgstr "Priskyrimo panašiems įrašams požymių reikšmė"
|
204 |
|
205 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:310
|
|
|
|
|
206 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
207 |
+
msgstr "YARPP skiriasi nuo <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">savo pirmtakų</a> tuo, kad gali apriboti panašių įrašų skaičių pagal (1) didžiausią leistiną jų kiekį ir (2) <em>minimalų panašumo rodiklį</em>."
|
208 |
+
|
209 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:310
|
210 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:325
|
211 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:409
|
212 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:414
|
213 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:461
|
214 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:478
|
215 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:479
|
216 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:483
|
217 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:529
|
|
|
|
|
218 |
msgid "more>"
|
219 |
msgstr "daugiau>"
|
220 |
|
221 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:310
|
|
|
222 |
msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
|
223 |
+
msgstr "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
|
224 |
|
225 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:316
|
|
|
226 |
msgid "Match threshold:"
|
227 |
+
msgstr "Minimalus panašumo rodiklis:"
|
228 |
|
229 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:317
|
|
|
230 |
msgid "Titles: "
|
231 |
+
msgstr "Įrašų pavadinimai: "
|
232 |
|
233 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:319
|
|
|
234 |
msgid "Bodies: "
|
235 |
+
msgstr "Įrašų turinys: "
|
236 |
|
237 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:321
|
|
|
238 |
msgid "Tags: "
|
239 |
+
msgstr "Įrašų žymos: "
|
240 |
|
241 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:323
|
|
|
242 |
msgid "Categories: "
|
243 |
+
msgstr "Įrašų kategorijos: "
|
244 |
|
245 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:325
|
|
|
246 |
msgid "Cross-relate posts and pages?"
|
247 |
+
msgstr "Tarp rezultatų įtraukti ir panašius puslapius?"
|
248 |
|
249 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:325
|
|
|
250 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
251 |
+
msgstr "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
252 |
+
|
253 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:326
|
254 |
+
msgid "Show only previous posts?"
|
255 |
+
msgstr "Rodyti tik ankstesnius įrašus?"
|
256 |
|
257 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:388
|
|
|
258 |
msgid "There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk."
|
259 |
+
msgstr "Yra nauja „Yet Another Related Posts Plugin“ beta versija (VERSION) . Galite <A>ją atsisiųsti iš čia</a> (neatsakome už riziką)."
|
260 |
|
261 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:390
|
|
|
262 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
263 |
+
msgstr "Yra nauja „Yet Another Related Posts Plugin“ versija (VERSION)! Galite <A>ją atsisiųsti iš čia</a>."
|
264 |
|
265 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:404
|
|
|
266 |
msgid "Display options <small>for your website</small>"
|
267 |
+
msgstr "Rodymo nuostatos <small>jūsų tinklaraštyje</small>"
|
268 |
|
269 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:409
|
|
|
270 |
msgid "Automatically display related posts?"
|
271 |
msgstr "Automatiškai rodyti panašius įrašus?"
|
272 |
|
273 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:409
|
|
|
274 |
msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
|
275 |
+
msgstr "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
|
276 |
|
277 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:410
|
|
|
278 |
msgid "Website display code example"
|
279 |
+
msgstr "Tinklaraštyje rodomo kodo pavyzdys"
|
280 |
|
281 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:410
|
282 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:480
|
|
|
283 |
msgid "(Update options to reload.)"
|
284 |
+
msgstr "(Atnaujinus nuostatas, atsinaujins ir pavyzdys)"
|
285 |
|
286 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:413
|
287 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:482
|
|
|
288 |
msgid "Maximum number of related posts:"
|
289 |
+
msgstr "Didžiausias rodomų panašių įrašų kiekis:"
|
290 |
|
291 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:414
|
292 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:483
|
293 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:270
|
294 |
msgid "Display using a custom template file"
|
295 |
+
msgstr "Rodyti panaudojant nuosavą šablono failą"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
|
297 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:414
|
298 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:483
|
|
|
299 |
msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
|
300 |
+
msgstr "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
|
301 |
|
302 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:416
|
303 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:485
|
304 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:271
|
305 |
msgid "Template file:"
|
306 |
+
msgstr "Šablono failas:"
|
307 |
|
308 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:426
|
|
|
309 |
msgid "Before / after related entries:"
|
310 |
+
msgstr "Prieš / po panašių įrašų:"
|
311 |
+
|
312 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:427
|
313 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:432
|
314 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:441
|
315 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:496
|
316 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:501
|
317 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:510
|
|
|
318 |
msgid "For example:"
|
319 |
msgstr "Pavyzdžiui:"
|
320 |
|
321 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:427
|
322 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:432
|
323 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:441
|
324 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:496
|
325 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:501
|
326 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:510
|
|
|
327 |
msgid " or "
|
328 |
+
msgstr " ar "
|
329 |
|
330 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:431
|
331 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:500
|
|
|
332 |
msgid "Before / after each related entry:"
|
333 |
+
msgstr "Prieš / po kiekvieno panašaus įrašo:"
|
334 |
|
335 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:435
|
336 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:504
|
|
|
337 |
msgid "Show excerpt?"
|
338 |
msgstr "Rodyti ištrauką?"
|
339 |
|
340 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:436
|
341 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:505
|
|
|
342 |
msgid "Excerpt length (No. of words):"
|
343 |
+
msgstr "Ištraukos ilgis (žodžių skaičius):"
|
344 |
|
345 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:440
|
|
|
346 |
msgid "Before / after (Excerpt):"
|
347 |
+
msgstr "Prieš / po (ištraukos):"
|
348 |
|
349 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:446
|
350 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:515
|
|
|
351 |
msgid "Order results:"
|
352 |
+
msgstr "Atvaizduoti įrašus pagal:"
|
353 |
|
354 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:448
|
355 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:517
|
|
|
356 |
msgid "score (high relevance to low)"
|
357 |
+
msgstr "panašumo rodiklį (nuo aukščiausio iki žemiausio)"
|
358 |
|
359 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:449
|
360 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:518
|
|
|
361 |
msgid "score (low relevance to high)"
|
362 |
+
msgstr "panašumo rodiklį (nuo žemiausio iki aukščiausio)"
|
363 |
|
364 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:450
|
365 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:519
|
|
|
366 |
msgid "date (new to old)"
|
367 |
+
msgstr "datą (nuo naujausių iki seniausių)"
|
368 |
|
369 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:451
|
370 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:520
|
|
|
371 |
msgid "date (old to new)"
|
372 |
+
msgstr "datą (nuo seniausių iki naujausių)"
|
373 |
|
374 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:452
|
375 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:521
|
|
|
376 |
msgid "title (alphabetical)"
|
377 |
+
msgstr "įrašo pavadinimą (pagal abėcėlę)"
|
378 |
|
379 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:453
|
380 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:522
|
|
|
381 |
msgid "title (reverse alphabetical)"
|
382 |
+
msgstr "įrašo pavadinimą (nuo abėcėlės galo)"
|
383 |
|
384 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:458
|
385 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:527
|
|
|
386 |
msgid "Default display if no results:"
|
387 |
+
msgstr "Nesant panašių įrašų, rodyti:"
|
388 |
|
389 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:460
|
390 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:529
|
391 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:279
|
392 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
393 |
+
msgstr "Prisidėti prie „Yet Another Related Posts Plugin“ įskiepio populiarinimo?"
|
394 |
|
395 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:462
|
396 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:530
|
397 |
#, php-format
|
|
|
398 |
msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
|
399 |
+
msgstr "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
|
400 |
|
401 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:472
|
|
|
402 |
msgid "Display options <small>for RSS</small>"
|
403 |
+
msgstr "Rodymo nuostatos <small>RSS sraute</small>"
|
404 |
|
405 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:478
|
|
|
406 |
msgid "Display related posts in feeds?"
|
407 |
+
msgstr "Rodyti panašius įrašus RSS sraute?"
|
408 |
|
409 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:478
|
|
|
410 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
411 |
+
msgstr "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
412 |
|
413 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:479
|
|
|
414 |
msgid "Display related posts in the descriptions?"
|
415 |
+
msgstr "Rodyti panašius įrašus aprašymuose?"
|
416 |
|
417 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:479
|
|
|
418 |
msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
|
419 |
+
msgstr "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
|
420 |
|
421 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:480
|
|
|
422 |
msgid "RSS display code example"
|
423 |
+
msgstr "RSS sraute rodomo kodo pavyzdys"
|
424 |
|
425 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:483
|
426 |
+
msgid "NEW!"
|
427 |
+
msgstr "NAUJIENA!"
|
428 |
+
|
429 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:495
|
430 |
msgid "Before / after related entries display:"
|
431 |
+
msgstr "Prieš / po panašių įrašų:"
|
432 |
|
433 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:509
|
|
|
434 |
msgid "Before / after (excerpt):"
|
435 |
+
msgstr "Prieš / po (ištraukos):"
|
436 |
+
|
437 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
msgid "Update options"
|
439 |
+
msgstr "Atnaujinti nuostatas"
|
440 |
|
441 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:539
|
|
|
442 |
msgid "Do you really want to reset your configuration?"
|
443 |
+
msgstr "Ar tikrai norite atkurti numatytąsias nuostatas?"
|
444 |
|
445 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/options.php:539
|
|
|
446 |
msgid "Reset options"
|
447 |
+
msgstr "Atkurti nuostatas"
|
448 |
|
449 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:27
|
450 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:38
|
451 |
+
msgid "Related posts:"
|
452 |
+
msgstr "Panašūs įrašai:"
|
453 |
|
454 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:96
|
455 |
+
msgid "MySQL error on adding yarpp_title"
|
456 |
+
msgstr "MySQL error on adding yarpp_title"
|
|
|
|
|
457 |
|
458 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:101
|
459 |
+
msgid "MySQL error on adding yarpp_content"
|
460 |
+
msgstr "MySQL error on adding yarpp_content"
|
|
|
461 |
|
462 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:112
|
463 |
+
msgid "MySQL error on creating yarpp_keyword_cache table"
|
464 |
+
msgstr "MySQL error on creating yarpp_keyword_cache table"
|
465 |
+
|
466 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:123
|
467 |
+
msgid "MySQL error on creating yarpp_related_cache table"
|
468 |
+
msgstr "MySQL error on creating yarpp_related_cache table"
|
469 |
+
|
470 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:182
|
471 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:215
|
472 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:236
|
473 |
+
msgid "Related Posts (YARPP)"
|
474 |
+
msgstr "Panašūs įrašai"
|
475 |
+
|
476 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:191
|
477 |
+
msgid "Settings"
|
478 |
+
msgstr "Nuostatos"
|
479 |
+
|
480 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:265
|
481 |
+
msgid "Title:"
|
482 |
+
msgstr "Pavadinimas:"
|
483 |
+
|
484 |
+
#: /home/mantas/Desktop/yet-another-related-posts-plugin/includes.php:489
|
485 |
+
msgid "Related Posts"
|
486 |
+
msgstr "Panašūs įrašai"
|
487 |
|
lang/yarpp-nb_NO.mo
ADDED
Binary file
|
lang/yarpp-nb_NO.po
ADDED
@@ -0,0 +1,591 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Yet Another Related Posts Plugin v3.1.9\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2011-01-02 09:45+0000\n"
|
7 |
+
"Last-Translator: Tom <tom@datanerden.no>\n"
|
8 |
+
"Language-Team: \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: Norwegian (Bokmål)\n"
|
14 |
+
"X-Poedit-Country: NORWAY\n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"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"
|
17 |
+
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Poedit-Bookmarks: \n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
"X-Textdomain-Support: yes"
|
21 |
+
|
22 |
+
#: includes.php:27
|
23 |
+
#: includes.php:38
|
24 |
+
#@ yarpp
|
25 |
+
msgid "Related posts:"
|
26 |
+
msgstr "Relaterte poster:"
|
27 |
+
|
28 |
+
#: includes.php:29
|
29 |
+
#: includes.php:40
|
30 |
+
#: template-metabox.php:28
|
31 |
+
#: template-widget.php:13
|
32 |
+
#@ yarpp
|
33 |
+
msgid "No related posts."
|
34 |
+
msgstr "Ingen relaterte poster."
|
35 |
+
|
36 |
+
#: includes.php:96
|
37 |
+
#@ yarpp
|
38 |
+
msgid "MySQL error on adding yarpp_title"
|
39 |
+
msgstr "MySQL feilmelding ved yarpp_title"
|
40 |
+
|
41 |
+
#: includes.php:101
|
42 |
+
#@ yarpp
|
43 |
+
msgid "MySQL error on adding yarpp_content"
|
44 |
+
msgstr "MySQL feilmelding ved yarpp_content"
|
45 |
+
|
46 |
+
#: includes.php:112
|
47 |
+
#@ yarpp
|
48 |
+
msgid "MySQL error on creating yarpp_keyword_cache table"
|
49 |
+
msgstr "MySQL feilmelding ved opprettelse av yarpp_keyword_cache tabell"
|
50 |
+
|
51 |
+
#: includes.php:123
|
52 |
+
#@ yarpp
|
53 |
+
msgid "MySQL error on creating yarpp_related_cache table"
|
54 |
+
msgstr "MySQL feilmelding ved opprettelse av yarpp_related_cache tabell"
|
55 |
+
|
56 |
+
#: includes.php:182
|
57 |
+
#: includes.php:215
|
58 |
+
#: includes.php:236
|
59 |
+
#@ yarpp
|
60 |
+
msgid "Related Posts (YARPP)"
|
61 |
+
msgstr "Relaterte poster (YARPP)"
|
62 |
+
|
63 |
+
#: includes.php:191
|
64 |
+
#@ yarpp
|
65 |
+
msgid "Settings"
|
66 |
+
msgstr "Innstillinger"
|
67 |
+
|
68 |
+
#: includes.php:265
|
69 |
+
#@ default
|
70 |
+
msgid "Title:"
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: includes.php:270
|
74 |
+
#: options.php:414
|
75 |
+
#: options.php:483
|
76 |
+
#@ yarpp
|
77 |
+
msgid "Display using a custom template file"
|
78 |
+
msgstr "Vis ved å bruke en egendefinert mal-fil"
|
79 |
+
|
80 |
+
#: includes.php:271
|
81 |
+
#: options.php:416
|
82 |
+
#: options.php:485
|
83 |
+
#@ yarpp
|
84 |
+
msgid "Template file:"
|
85 |
+
msgstr "Mal fil:"
|
86 |
+
|
87 |
+
#: includes.php:279
|
88 |
+
#: options.php:460
|
89 |
+
#: options.php:529
|
90 |
+
#@ yarpp
|
91 |
+
msgid "Help promote Yet Another Related Posts Plugin?"
|
92 |
+
msgstr "Vil du hjelpe å fremme Yet Another Related Posts Plugin?"
|
93 |
+
|
94 |
+
#: includes.php:489
|
95 |
+
#@ yarpp
|
96 |
+
msgid "Related Posts"
|
97 |
+
msgstr "Relaterte poster"
|
98 |
+
|
99 |
+
#: magic.php:71
|
100 |
+
#@ yarpp
|
101 |
+
msgid "Example post "
|
102 |
+
msgstr "Eksempel post"
|
103 |
+
|
104 |
+
#: magic.php:351
|
105 |
+
#: options.php:462
|
106 |
+
#: options.php:530
|
107 |
+
#@ yarpp
|
108 |
+
msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
|
109 |
+
msgstr "Relaterte poster ble vist med <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
|
110 |
+
|
111 |
+
#: options.php:10
|
112 |
+
#@ yarpp
|
113 |
+
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
114 |
+
msgstr "Vennligst flytt YARPP mal filene til tema-mappen din for å fullføre installasjonen. Du kan enkelt nok flytte eksempel mal-filene (forløpig i <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) til <code>TEMPLATEPATH</code> mappen."
|
115 |
+
|
116 |
+
#: options.php:15
|
117 |
+
#@ yarpp
|
118 |
+
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
119 |
+
msgstr "Ingen YARPP mal-filer ble funnet i temaet (<code>TEMPLATEPATH</code>), så den egendefinerte mal-visningen ble deaktivert."
|
120 |
+
|
121 |
+
#: options.php:26
|
122 |
+
#@ yarpp
|
123 |
+
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
124 |
+
msgstr "Sjekken av MyISAM har blitt overkjørt. Du kan nå bruke \"vurder titler\" og \"vurder body\" relaterte kriterier."
|
125 |
+
|
126 |
+
#: options.php:35
|
127 |
+
#, php-format
|
128 |
+
#@ yarpp
|
129 |
+
msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
130 |
+
msgstr "YARPPs \"vurder titler\" og \"vurder body\" relaterte kriterier krever din <code>%s</code> tabell for å bruke <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM lagringsmotor</a>, men tabellen ser ut til å bruke <code>%s</code> motoren. Disse to innstillingene har blitt deaktivert."
|
131 |
+
|
132 |
+
#: options.php:37
|
133 |
+
#, php-format
|
134 |
+
#@ yarpp
|
135 |
+
msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
|
136 |
+
msgstr "For å gjenopprette disse funksjonene, vennligst oppdater din <code>%s</code> tabell ved å kjøre følgende SQL direktiv (kommando): <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Ingen data vil bli fjernet ved endringer av tabell-motoren, men det kan være ytelse implikasjoner."
|
137 |
+
|
138 |
+
#: options.php:39
|
139 |
+
#, php-format
|
140 |
+
#@ yarpp
|
141 |
+
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
142 |
+
msgstr "Dersom, til tross for denne sjekken, du er sikker at <code>%s</code> kjører MyISAM motoren, trykk på denne magiske knappen:"
|
143 |
+
|
144 |
+
#: options.php:42
|
145 |
+
#@ yarpp
|
146 |
+
msgid "Trust me. Let me use MyISAM features."
|
147 |
+
msgstr "Stol på meg. La meg bruke MyISAM funksjonene."
|
148 |
+
|
149 |
+
#: options.php:65
|
150 |
+
#@ yarpp
|
151 |
+
msgid "The YARPP database had an error but has been fixed."
|
152 |
+
msgstr "YARPP databasen hadde en feilmelding, men det har blitt fikset."
|
153 |
+
|
154 |
+
#: options.php:67
|
155 |
+
#@ yarpp
|
156 |
+
msgid "The YARPP database has an error which could not be fixed."
|
157 |
+
msgstr "YARPP databasen hadde en feilmelding som ikke kunne bli fikset."
|
158 |
+
|
159 |
+
#: options.php:68
|
160 |
+
#@ yarpp
|
161 |
+
msgid "Please try <A>manual SQL setup</a>."
|
162 |
+
msgstr "Vennligst prøv <a>manuell SQL installasjon</a>."
|
163 |
+
|
164 |
+
#: options.php:99
|
165 |
+
#@ yarpp
|
166 |
+
msgid "Options saved!"
|
167 |
+
msgstr "Innstillingene ble lagret!"
|
168 |
+
|
169 |
+
#: options.php:135
|
170 |
+
#@ yarpp
|
171 |
+
msgid "word"
|
172 |
+
msgstr "ord"
|
173 |
+
|
174 |
+
#: options.php:136
|
175 |
+
#@ yarpp
|
176 |
+
msgid "tag"
|
177 |
+
msgstr "stikkord"
|
178 |
+
|
179 |
+
#: options.php:137
|
180 |
+
#@ yarpp
|
181 |
+
msgid "category"
|
182 |
+
msgstr "kategori"
|
183 |
+
|
184 |
+
#: options.php:141
|
185 |
+
#: options.php:158
|
186 |
+
#: options.php:170
|
187 |
+
#@ yarpp
|
188 |
+
msgid "do not consider"
|
189 |
+
msgstr "ikke vurder"
|
190 |
+
|
191 |
+
#: options.php:142
|
192 |
+
#: options.php:159
|
193 |
+
#: options.php:172
|
194 |
+
#@ yarpp
|
195 |
+
msgid "consider"
|
196 |
+
msgstr "vurder"
|
197 |
+
|
198 |
+
#: options.php:144
|
199 |
+
#: options.php:174
|
200 |
+
#, php-format
|
201 |
+
#@ yarpp
|
202 |
+
msgid "require at least one %s in common"
|
203 |
+
msgstr "krev at minst èn %s er felles"
|
204 |
+
|
205 |
+
#: options.php:146
|
206 |
+
#: options.php:176
|
207 |
+
#, php-format
|
208 |
+
#@ yarpp
|
209 |
+
msgid "require more than one %s in common"
|
210 |
+
msgstr "krev at mer enn èn %s er felles"
|
211 |
+
|
212 |
+
#: options.php:160
|
213 |
+
#@ yarpp
|
214 |
+
msgid "consider with extra weight"
|
215 |
+
msgstr "vurder med ekstra vekt"
|
216 |
+
|
217 |
+
#: options.php:188
|
218 |
+
#@ yarpp
|
219 |
+
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
220 |
+
msgstr "Yet Another Related Posts Plugin versjon historie (RSS 2.0)"
|
221 |
+
|
222 |
+
#: options.php:242
|
223 |
+
#@ yarpp
|
224 |
+
msgid "Yet Another Related Posts Plugin Options"
|
225 |
+
msgstr "Yet Another Related Posts Plugin innstillinger"
|
226 |
+
|
227 |
+
#: options.php:253
|
228 |
+
#@ default
|
229 |
+
#@ yarpp
|
230 |
+
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
231 |
+
msgstr "Donèr til mitcho (Michael Yoshitaka Erlewine) for denne utvidelsen via PayPal"
|
232 |
+
|
233 |
+
#: options.php:255
|
234 |
+
#@ yarpp
|
235 |
+
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
236 |
+
msgstr "av <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
237 |
+
|
238 |
+
#: options.php:255
|
239 |
+
#@ yarpp
|
240 |
+
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
241 |
+
msgstr "Følg <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin på Twitter</a>"
|
242 |
+
|
243 |
+
#: options.php:271
|
244 |
+
#: options.php:304
|
245 |
+
#: options.php:401
|
246 |
+
#: options.php:469
|
247 |
+
#@ default
|
248 |
+
msgid "Click to toggle"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: options.php:274
|
252 |
+
#@ yarpp
|
253 |
+
msgid "\"The Pool\""
|
254 |
+
msgstr "\"Samlingen\""
|
255 |
+
|
256 |
+
#: options.php:276
|
257 |
+
#@ yarpp
|
258 |
+
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
259 |
+
msgstr "\"Samlingen\" refererer til samlingen av poster og sider som er kandidater for visning som relatert til den følgende oppføringen."
|
260 |
+
|
261 |
+
#: options.php:281
|
262 |
+
#@ yarpp
|
263 |
+
msgid "Disallow by category:"
|
264 |
+
msgstr "Ikke tillat ved kategori:"
|
265 |
+
|
266 |
+
#: options.php:283
|
267 |
+
#@ yarpp
|
268 |
+
msgid "Disallow by tag:"
|
269 |
+
msgstr "Ikke tillat ved stikkord:"
|
270 |
+
|
271 |
+
#: options.php:286
|
272 |
+
#@ yarpp
|
273 |
+
msgid "Show password protected posts?"
|
274 |
+
msgstr "Vil du vise passord beskyttede poster?"
|
275 |
+
|
276 |
+
#: options.php:290
|
277 |
+
#@ yarpp
|
278 |
+
msgid "day(s)"
|
279 |
+
msgstr "dag(er)"
|
280 |
+
|
281 |
+
#: options.php:291
|
282 |
+
#@ yarpp
|
283 |
+
msgid "week(s)"
|
284 |
+
msgstr "uke(r)"
|
285 |
+
|
286 |
+
#: options.php:292
|
287 |
+
#@ yarpp
|
288 |
+
msgid "month(s)"
|
289 |
+
msgstr "måned(er)"
|
290 |
+
|
291 |
+
#: options.php:294
|
292 |
+
#@ yarpp
|
293 |
+
msgid "Show only posts from the past NUMBER UNITS"
|
294 |
+
msgstr "Vis kun poster fra de forrige NUMBER UNITS"
|
295 |
+
|
296 |
+
#: options.php:307
|
297 |
+
#@ yarpp
|
298 |
+
msgid "\"Relatedness\" options"
|
299 |
+
msgstr "\"Relatert\" innstillinger"
|
300 |
+
|
301 |
+
#: options.php:310
|
302 |
+
#, php-format
|
303 |
+
#@ yarpp
|
304 |
+
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
305 |
+
msgstr "YARPP er forskjellig fra de <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">forrige utvidelsene den er basert på</a> siden den setter en grense for listen med relaterte poster med (1) et maksimum tall og (2) en <em>resultat-terskel</em>."
|
306 |
+
|
307 |
+
#: options.php:310
|
308 |
+
#: options.php:325
|
309 |
+
#: options.php:409
|
310 |
+
#: options.php:414
|
311 |
+
#: options.php:461
|
312 |
+
#: options.php:478
|
313 |
+
#: options.php:479
|
314 |
+
#: options.php:483
|
315 |
+
#: options.php:529
|
316 |
+
#@ yarpp
|
317 |
+
msgid "more>"
|
318 |
+
msgstr "mer>"
|
319 |
+
|
320 |
+
#: options.php:310
|
321 |
+
#@ yarpp
|
322 |
+
msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
|
323 |
+
msgstr "Desto høyere resultat-terskel, desto strenger, og du vil få mindre relaterte poster generelt. Standard resultat-terskel er 5. Dersom du vil oppnå en hensiktsmessig resultat-terskel, ta en titt på noen relaterte poster og se på poengsummen. Du kan se hva slags relaterte poster som blir valgt ut og hva slags poengsum, og dermed finne en hensiktsmessig resultat-terskel for din side."
|
324 |
+
|
325 |
+
#: options.php:316
|
326 |
+
#@ yarpp
|
327 |
+
msgid "Match threshold:"
|
328 |
+
msgstr "Resultat-terskel:"
|
329 |
+
|
330 |
+
#: options.php:317
|
331 |
+
#@ yarpp
|
332 |
+
msgid "Titles: "
|
333 |
+
msgstr "Titler:"
|
334 |
+
|
335 |
+
#: options.php:319
|
336 |
+
#@ yarpp
|
337 |
+
msgid "Bodies: "
|
338 |
+
msgstr "Innhold:"
|
339 |
+
|
340 |
+
#: options.php:321
|
341 |
+
#@ yarpp
|
342 |
+
msgid "Tags: "
|
343 |
+
msgstr "Stikkord:"
|
344 |
+
|
345 |
+
#: options.php:323
|
346 |
+
#@ yarpp
|
347 |
+
msgid "Categories: "
|
348 |
+
msgstr "Kategorier:"
|
349 |
+
|
350 |
+
#: options.php:325
|
351 |
+
#@ yarpp
|
352 |
+
msgid "Cross-relate posts and pages?"
|
353 |
+
msgstr "Kryss-relatèr poster og sider?"
|
354 |
+
|
355 |
+
#: options.php:325
|
356 |
+
#@ yarpp
|
357 |
+
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
358 |
+
msgstr "Når \"Kryss-relatèr poster og sider\" innstillingen er markert, så vil <code>related_posts()</code>, <code>related_pages()</code>, og <code>related_entries()</code> gi samme resultat, og vise både relaterte sider og poster."
|
359 |
+
|
360 |
+
#: options.php:326
|
361 |
+
#@ yarpp
|
362 |
+
msgid "Show only previous posts?"
|
363 |
+
msgstr "Vis kun tidligere poster?"
|
364 |
+
|
365 |
+
#: options.php:388
|
366 |
+
#@ yarpp
|
367 |
+
msgid "There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk."
|
368 |
+
msgstr "Det er en ny beta (VERSION) av Yet Another Related Posts Plugin. Du kan <A>laste den ned her</a> på egen risiko."
|
369 |
+
|
370 |
+
#: options.php:390
|
371 |
+
#@ yarpp
|
372 |
+
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
373 |
+
msgstr "Det er en ny versjon (VERSION) av Yet Another Related Posts Plugin tilgjengelig! Du kan <A>laste den ned her</a>."
|
374 |
+
|
375 |
+
#: options.php:404
|
376 |
+
#@ yarpp
|
377 |
+
msgid "Display options <small>for your website</small>"
|
378 |
+
msgstr "Vis innstillingene <small>for din hjemmeside</small>"
|
379 |
+
|
380 |
+
#: options.php:409
|
381 |
+
#@ yarpp
|
382 |
+
msgid "Automatically display related posts?"
|
383 |
+
msgstr "Automatisk vis relaterte poster?"
|
384 |
+
|
385 |
+
#: options.php:409
|
386 |
+
#@ yarpp
|
387 |
+
msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
|
388 |
+
msgstr "Denne innstillingen automatisk viser poster rett etter innholdet ved enkelt sider. Dersom denne innstillingen er deaktivert, må du manuelt plassere <code>related_posts()</code> eller andre varianter (<code>related_pages()</code> og <code>related_entries()</code>) i filene til ditt tema."
|
389 |
+
|
390 |
+
#: options.php:410
|
391 |
+
#@ yarpp
|
392 |
+
msgid "Website display code example"
|
393 |
+
msgstr "Eksempel av kodevisning på hjemmesiden"
|
394 |
+
|
395 |
+
#: options.php:410
|
396 |
+
#: options.php:480
|
397 |
+
#@ yarpp
|
398 |
+
msgid "(Update options to reload.)"
|
399 |
+
msgstr "(Oppdater innstillinger for å laste på nytt.)"
|
400 |
+
|
401 |
+
#: options.php:413
|
402 |
+
#: options.php:482
|
403 |
+
#@ yarpp
|
404 |
+
msgid "Maximum number of related posts:"
|
405 |
+
msgstr "Maksimalt antall relaterte poster:"
|
406 |
+
|
407 |
+
#: options.php:414
|
408 |
+
#: options.php:483
|
409 |
+
#@ yarpp
|
410 |
+
msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
|
411 |
+
msgstr "Denne avanserte innstillingen gir deg full makt til å definere hvordan dine relaterte poster blir vist. Malene (plassert i din tema-mappe) er skrevet i PHP."
|
412 |
+
|
413 |
+
#: options.php:426
|
414 |
+
#@ yarpp
|
415 |
+
msgid "Before / after related entries:"
|
416 |
+
msgstr "Før / etter relatert innhold:"
|
417 |
+
|
418 |
+
#: options.php:427
|
419 |
+
#: options.php:432
|
420 |
+
#: options.php:441
|
421 |
+
#: options.php:496
|
422 |
+
#: options.php:501
|
423 |
+
#: options.php:510
|
424 |
+
#@ yarpp
|
425 |
+
msgid "For example:"
|
426 |
+
msgstr "For eksempel:"
|
427 |
+
|
428 |
+
#: options.php:427
|
429 |
+
#: options.php:432
|
430 |
+
#: options.php:441
|
431 |
+
#: options.php:496
|
432 |
+
#: options.php:501
|
433 |
+
#: options.php:510
|
434 |
+
#@ yarpp
|
435 |
+
msgid " or "
|
436 |
+
msgstr "eller"
|
437 |
+
|
438 |
+
#: options.php:431
|
439 |
+
#: options.php:500
|
440 |
+
#@ yarpp
|
441 |
+
msgid "Before / after each related entry:"
|
442 |
+
msgstr "Før / etter hvert relatert innhold:"
|
443 |
+
|
444 |
+
#: options.php:435
|
445 |
+
#: options.php:504
|
446 |
+
#@ yarpp
|
447 |
+
msgid "Show excerpt?"
|
448 |
+
msgstr "Vis utdrag?"
|
449 |
+
|
450 |
+
#: options.php:436
|
451 |
+
#: options.php:505
|
452 |
+
#@ yarpp
|
453 |
+
msgid "Excerpt length (No. of words):"
|
454 |
+
msgstr "Lengde på utdrag (antall ord):"
|
455 |
+
|
456 |
+
#: options.php:440
|
457 |
+
#@ yarpp
|
458 |
+
msgid "Before / after (Excerpt):"
|
459 |
+
msgstr "Før / etter (utdrag):"
|
460 |
+
|
461 |
+
#: options.php:446
|
462 |
+
#: options.php:515
|
463 |
+
#@ yarpp
|
464 |
+
msgid "Order results:"
|
465 |
+
msgstr "Rydd opp resultater:"
|
466 |
+
|
467 |
+
#: options.php:448
|
468 |
+
#: options.php:517
|
469 |
+
#@ yarpp
|
470 |
+
msgid "score (high relevance to low)"
|
471 |
+
msgstr "poeng (høy relevans til lav)"
|
472 |
+
|
473 |
+
#: options.php:449
|
474 |
+
#: options.php:518
|
475 |
+
#@ yarpp
|
476 |
+
msgid "score (low relevance to high)"
|
477 |
+
msgstr "poeng (lav relevans til høy)"
|
478 |
+
|
479 |
+
#: options.php:450
|
480 |
+
#: options.php:519
|
481 |
+
#@ yarpp
|
482 |
+
msgid "date (new to old)"
|
483 |
+
msgstr "dato (ny til gammel)"
|
484 |
+
|
485 |
+
#: options.php:451
|
486 |
+
#: options.php:520
|
487 |
+
#@ yarpp
|
488 |
+
msgid "date (old to new)"
|
489 |
+
msgstr "dato (gammel til ny)"
|
490 |
+
|
491 |
+
#: options.php:452
|
492 |
+
#: options.php:521
|
493 |
+
#@ yarpp
|
494 |
+
msgid "title (alphabetical)"
|
495 |
+
msgstr "tittel (alfabetisk)"
|
496 |
+
|
497 |
+
#: options.php:453
|
498 |
+
#: options.php:522
|
499 |
+
#@ yarpp
|
500 |
+
msgid "title (reverse alphabetical)"
|
501 |
+
msgstr "tittel (omvendt alfabetisk)"
|
502 |
+
|
503 |
+
#: options.php:458
|
504 |
+
#: options.php:527
|
505 |
+
#@ yarpp
|
506 |
+
msgid "Default display if no results:"
|
507 |
+
msgstr "Standard visning ved ingen resultater:"
|
508 |
+
|
509 |
+
#: options.php:462
|
510 |
+
#: options.php:530
|
511 |
+
#, php-format
|
512 |
+
#@ yarpp
|
513 |
+
msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
|
514 |
+
msgstr "Denne innstillingen vil legge til koden %s. Prøv å slå den på, oppdater innstillingene dine, og se koden i kode-eksempelet til høyre. Disse linkene og donasjonene blir satt stor pris på."
|
515 |
+
|
516 |
+
#: options.php:472
|
517 |
+
#@ yarpp
|
518 |
+
msgid "Display options <small>for RSS</small>"
|
519 |
+
msgstr "Visning innstillinger <small>for RSS</small>"
|
520 |
+
|
521 |
+
#: options.php:478
|
522 |
+
#@ yarpp
|
523 |
+
msgid "Display related posts in feeds?"
|
524 |
+
msgstr "Vis relaterte poster i feeds?"
|
525 |
+
|
526 |
+
#: options.php:478
|
527 |
+
#@ yarpp
|
528 |
+
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
529 |
+
msgstr "Disse innstillingene viser relaterte poster ved slutten av hver enhet i dine RSS og Atom feeds. Krever ingen endringer på malen."
|
530 |
+
|
531 |
+
#: options.php:479
|
532 |
+
#@ yarpp
|
533 |
+
msgid "Display related posts in the descriptions?"
|
534 |
+
msgstr "Vis relaterte poster i beskrivelsen?"
|
535 |
+
|
536 |
+
#: options.php:479
|
537 |
+
#@ yarpp
|
538 |
+
msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
|
539 |
+
msgstr "Denne innstillingen viser relaterte poster i RSS beskrivelse-feltet, ikke bare i selve innholdet. Dersom dine feeds er satt opp til å kun vise utdrag, men kun beskrivelses feltet blir brukt, så kreves denne innstillingen for noe som helst visning."
|
540 |
+
|
541 |
+
#: options.php:480
|
542 |
+
#@ yarpp
|
543 |
+
msgid "RSS display code example"
|
544 |
+
msgstr "RSS visning kode-eksempel"
|
545 |
+
|
546 |
+
#: options.php:483
|
547 |
+
#@ yarpp
|
548 |
+
msgid "NEW!"
|
549 |
+
msgstr "NY!"
|
550 |
+
|
551 |
+
#: options.php:495
|
552 |
+
#@ yarpp
|
553 |
+
msgid "Before / after related entries display:"
|
554 |
+
msgstr "Før / etter visning av relatert innhold:"
|
555 |
+
|
556 |
+
#: options.php:509
|
557 |
+
#@ yarpp
|
558 |
+
msgid "Before / after (excerpt):"
|
559 |
+
msgstr "Før / etter (utdrag):"
|
560 |
+
|
561 |
+
#: options.php:538
|
562 |
+
#@ yarpp
|
563 |
+
msgid "Update options"
|
564 |
+
msgstr "Oppdater innstillinger"
|
565 |
+
|
566 |
+
#: options.php:539
|
567 |
+
#@ yarpp
|
568 |
+
msgid "Do you really want to reset your configuration?"
|
569 |
+
msgstr "Vil du virkelig fjerne alle innstillingene?"
|
570 |
+
|
571 |
+
#: options.php:539
|
572 |
+
#@ yarpp
|
573 |
+
msgid "Reset options"
|
574 |
+
msgstr "Fjern innstillinger"
|
575 |
+
|
576 |
+
#: template-builtin.php:35
|
577 |
+
#, php-format
|
578 |
+
#@ yarpp
|
579 |
+
msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
|
580 |
+
msgstr "%f er YARPP resultat-terskel mellom det gjeldende og relaterte innholdet. Du ser denne poeng-summen fordi du er logget inn i WordPress som en administrator. Det blir ikke vist til vanlig besøkende."
|
581 |
+
|
582 |
+
#: template-metabox.php:12
|
583 |
+
#@ yarpp
|
584 |
+
msgid "These are the related entries for this entry. Updating this post may change these related posts."
|
585 |
+
msgstr "Dette er det relaterte innholdet for denne denne. Ved å oppdatere denne posten kan gi endringer til relaterte poster."
|
586 |
+
|
587 |
+
#: template-metabox.php:26
|
588 |
+
#@ yarpp
|
589 |
+
msgid "Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options."
|
590 |
+
msgstr "Om alle disse relaterte poster faktisk blir vist, eller hvordan de blir vist, kommer an på dine YARPP visning innstillinger."
|
591 |
+
|
magic.php
CHANGED
@@ -3,12 +3,9 @@
|
|
3 |
//=TEMPLATING/DISPLAY===========
|
4 |
|
5 |
function yarpp_set_score_override_flag($q) {
|
6 |
-
global $
|
7 |
-
if ($yarpp_time) {
|
8 |
-
|
9 |
-
$yarpp_score_override = true;
|
10 |
-
else
|
11 |
-
$yarpp_score_override = false;
|
12 |
|
13 |
if ($q->query_vars['showposts'] != '') {
|
14 |
$yarpp_online_limit = $q->query_vars['showposts'];
|
@@ -179,10 +176,10 @@ function yarpp_sql($type,$args,$giveresults = true,$reference_ID=false,$domain='
|
|
179 |
/* new in 3.0! new query-based approach: EXTREMELY HACKY! */
|
180 |
|
181 |
function yarpp_related($type,$args,$echo = true,$reference_ID=false,$domain = 'website') {
|
182 |
-
global $post, $
|
183 |
|
184 |
if ($domain != 'demo_web' and $domain != 'demo_rss') {
|
185 |
-
if ($yarpp_time) // if we're already in a YARPP loop, stop now.
|
186 |
return false;
|
187 |
|
188 |
if (is_object($post) and !$reference_ID)
|
@@ -222,10 +219,9 @@ function yarpp_related($type,$args,$echo = true,$reference_ID=false,$domain = 'w
|
|
222 |
|
223 |
$output = '';
|
224 |
|
225 |
-
if ($domain != 'demo_web' and $domain != 'demo_rss')
|
226 |
-
$
|
227 |
-
|
228 |
-
} else
|
229 |
$yarpp_demo_time = true;
|
230 |
// just so we can return to normal later
|
231 |
$current_query = $wp_query;
|
@@ -242,7 +238,7 @@ function yarpp_related($type,$args,$echo = true,$reference_ID=false,$domain = 'w
|
|
242 |
$current_currentmonth = $currentmonth;
|
243 |
|
244 |
$related_query = new WP_Query();
|
245 |
-
$orders =
|
246 |
if ($domain != 'demo_web' and $domain != 'demo_rss')
|
247 |
$related_query->query(array('p'=>$reference_ID,'orderby'=>$orders[0],'order'=>$orders[1],'showposts'=>$limit,'post_type'=>$type));
|
248 |
else
|
@@ -269,10 +265,9 @@ function yarpp_related($type,$args,$echo = true,$reference_ID=false,$domain = 'w
|
|
269 |
}
|
270 |
|
271 |
unset($related_query);
|
272 |
-
if ($domain != 'demo_web' and $domain != 'demo_rss')
|
273 |
-
$
|
274 |
-
|
275 |
-
} else
|
276 |
$yarpp_demo_time = false;
|
277 |
|
278 |
// restore the older wp_query.
|
@@ -296,24 +291,22 @@ function yarpp_related($type,$args,$echo = true,$reference_ID=false,$domain = 'w
|
|
296 |
}
|
297 |
|
298 |
function yarpp_related_exist($type,$args,$reference_ID=false) {
|
299 |
-
global $post, $
|
300 |
|
301 |
if (is_object($post) and !$reference_ID)
|
302 |
$reference_ID = $post->ID;
|
303 |
|
304 |
-
if ($yarpp_time) // if we're already in a YARPP loop, stop now.
|
305 |
return false;
|
306 |
|
307 |
yarpp_cache_enforce($type,$reference_ID);
|
308 |
|
309 |
-
|
310 |
-
$yarpp_cache->start_yarpp_time($reference_ID);
|
311 |
$related_query = new WP_Query();
|
312 |
$related_query->query(array('p'=>$reference_ID,'showposts'=>10000,'post_type'=>$type));
|
313 |
$return = $related_query->have_posts();
|
314 |
-
$yarpp_time = false; // YARPP time is over. :(
|
315 |
unset($related_query);
|
316 |
-
$yarpp_cache->end_yarpp_time();
|
317 |
|
318 |
return $return;
|
319 |
}
|
3 |
//=TEMPLATING/DISPLAY===========
|
4 |
|
5 |
function yarpp_set_score_override_flag($q) {
|
6 |
+
global $yarpp_cache, $yarpp_score_override, $yarpp_online_limit;
|
7 |
+
if ($yarpp_cache->yarpp_time) {
|
8 |
+
$yarpp_score_override = ($q->query_vars['orderby'] == 'score');
|
|
|
|
|
|
|
9 |
|
10 |
if ($q->query_vars['showposts'] != '') {
|
11 |
$yarpp_online_limit = $q->query_vars['showposts'];
|
176 |
/* new in 3.0! new query-based approach: EXTREMELY HACKY! */
|
177 |
|
178 |
function yarpp_related($type,$args,$echo = true,$reference_ID=false,$domain = 'website') {
|
179 |
+
global $post, $yarpp_demo_time, $wp_query, $id, $page, $pages, $authordata, $day, $currentmonth, $multipage, $more, $pagenow, $numpages, $yarpp_cache;
|
180 |
|
181 |
if ($domain != 'demo_web' and $domain != 'demo_rss') {
|
182 |
+
if ($yarpp_cache->yarpp_time) // if we're already in a YARPP loop, stop now.
|
183 |
return false;
|
184 |
|
185 |
if (is_object($post) and !$reference_ID)
|
219 |
|
220 |
$output = '';
|
221 |
|
222 |
+
if ($domain != 'demo_web' and $domain != 'demo_rss')
|
223 |
+
$yarpp_cache->begin_yarpp_time($reference_ID); // get ready for YARPP TIME!
|
224 |
+
else
|
|
|
225 |
$yarpp_demo_time = true;
|
226 |
// just so we can return to normal later
|
227 |
$current_query = $wp_query;
|
238 |
$current_currentmonth = $currentmonth;
|
239 |
|
240 |
$related_query = new WP_Query();
|
241 |
+
$orders = explode(' ',$order);
|
242 |
if ($domain != 'demo_web' and $domain != 'demo_rss')
|
243 |
$related_query->query(array('p'=>$reference_ID,'orderby'=>$orders[0],'order'=>$orders[1],'showposts'=>$limit,'post_type'=>$type));
|
244 |
else
|
265 |
}
|
266 |
|
267 |
unset($related_query);
|
268 |
+
if ($domain != 'demo_web' and $domain != 'demo_rss')
|
269 |
+
$yarpp_cache->end_yarpp_time(); // YARPP time is over... :(
|
270 |
+
else
|
|
|
271 |
$yarpp_demo_time = false;
|
272 |
|
273 |
// restore the older wp_query.
|
291 |
}
|
292 |
|
293 |
function yarpp_related_exist($type,$args,$reference_ID=false) {
|
294 |
+
global $post, $yarpp_cache;
|
295 |
|
296 |
if (is_object($post) and !$reference_ID)
|
297 |
$reference_ID = $post->ID;
|
298 |
|
299 |
+
if ($yarpp_cache->yarpp_time) // if we're already in a YARPP loop, stop now.
|
300 |
return false;
|
301 |
|
302 |
yarpp_cache_enforce($type,$reference_ID);
|
303 |
|
304 |
+
$yarpp_cache->start_yarpp_time($reference_ID); // get ready for YARPP TIME!
|
|
|
305 |
$related_query = new WP_Query();
|
306 |
$related_query->query(array('p'=>$reference_ID,'showposts'=>10000,'post_type'=>$type));
|
307 |
$return = $related_query->have_posts();
|
|
|
308 |
unset($related_query);
|
309 |
+
$yarpp_cache->end_yarpp_time(); // YARPP time is over. :(
|
310 |
|
311 |
return $return;
|
312 |
}
|
options.php
CHANGED
@@ -265,7 +265,7 @@ function load_display_discats() {
|
|
265 |
<a href='https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=1&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8' target='_new'><img src="https://www.paypal.com/<?php echo paypal_directory(); ?>i/btn/btn_donate_SM.gif" name="submit" alt="<?php _e('Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal');?>" title="<?php _e('Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal','yarpp');?>" style="padding-left: 10px;"/></a>
|
266 |
</div>
|
267 |
|
268 |
-
<small><?php _e('by <a href="http://mitcho.com/
|
269 |
|
270 |
</div>
|
271 |
|
265 |
<a href='https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=1&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8' target='_new'><img src="https://www.paypal.com/<?php echo paypal_directory(); ?>i/btn/btn_donate_SM.gif" name="submit" alt="<?php _e('Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal');?>" title="<?php _e('Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal','yarpp');?>" style="padding-left: 10px;"/></a>
|
266 |
</div>
|
267 |
|
268 |
+
<small><?php _e('by <a href="http://mitcho.com/">mitcho (Michael 芳貴 Erlewine)</a>','yarpp');?>. <?php _e('Follow <a href="http://twitter.com/yarpp/">Yet Another Related Posts Plugin on Twitter</a>','yarpp');?>.</small>
|
269 |
|
270 |
</div>
|
271 |
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://mitcho.com/code/yarpp/
|
|
6 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8
|
7 |
Tags: related, posts, post, pages, page, RSS, feed, feeds
|
8 |
Requires at least: 3.0
|
9 |
-
Tested up to: 3.
|
10 |
Stable tag: 3.1.9
|
11 |
|
12 |
Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
@@ -139,43 +139,44 @@ I highly recommend you disactivate YARPP, replace it with the new one, and then
|
|
139 |
|
140 |
YARPP is currently localized in the following languages:
|
141 |
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
|
|
179 |
|
180 |
If you are a bilingual speaker of English and another language and an avid user of YARPP, I would love to talk to you about localizing YARPP! Localizing YARPP can be pretty easy using [the Codestyling Localization plugin](http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en). Please [contact me](mailto:yarpp@mitcho.com) *first* before translating to make sure noone else is working on your language. Thanks!
|
181 |
|
@@ -187,7 +188,12 @@ If you are a bilingual speaker of English and another language and an avid user
|
|
187 |
* The appropriate caches are cleared after posts are deleted ([#1245](http://plugins.trac.wordpress.org/ticket/1245)).
|
188 |
* Caching is no longer performed while batch-importing posts.
|
189 |
* A new object-based abstraction for the caching system. YARPP by default uses custom database tables (same behavior as 3.1.x), but you now have an option to use the `postmeta` table instead. To use `postmeta` caching, add `define('YARPP_CACHE_TYPE', 'postmeta');` to your `wp-config.php` file.<!--YARPP no longer uses custom tables! Both custom tables (`yarpp_related_cache` and `yarpp_keywords_cache`) are automatically removed if you have them. WordPress Post Meta is used instead for caching.-->
|
190 |
-
*
|
|
|
|
|
|
|
|
|
|
|
191 |
* Added [WordPress HelpCenter](http://wphelpcenter.com/) widget for quick access to professional support.
|
192 |
* Some code cleanup (bug [#1246](http://plugins.trac.wordpress.org/ticket/1246))
|
193 |
* No longer supporting WordPress versions before 3.0, not because I suddenly started using something that requires 3.0, but in order to simplify testing.
|
6 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8
|
7 |
Tags: related, posts, post, pages, page, RSS, feed, feeds
|
8 |
Requires at least: 3.0
|
9 |
+
Tested up to: 3.1
|
10 |
Stable tag: 3.1.9
|
11 |
|
12 |
Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
139 |
|
140 |
YARPP is currently localized in the following languages:
|
141 |
|
142 |
+
* Egyptian Arabic (`ar_EG`) by Bishoy Antoun (yarpp-ar at mitcho dot com) of [cdmazika.com](http://www.cdmazika.com).
|
143 |
+
* Standard Arabic (`ar`) by [led](http://led24.de) (yarpp-ar at mitcho dot com)
|
144 |
+
* Belarussian (`by_BY`) by [Fat Cow](http://www.fatcow.com)
|
145 |
+
* Bulgarian (`bg_BG`) by [Flash Gallery](www.flashgallery.org)
|
146 |
+
* Simplified Chinese (`zh_CN`) by Jor Wang (mail at jorwang dot com) of [jorwang.com](http://jorwang.com)
|
147 |
+
* Cypriot Greek (`el_CY`) by Aristidis Tonikidis (yarpp-el at mitcho dot com) of [akouseto.gr](http://www.akouseto.gr)
|
148 |
+
* Dutch (`nl_NL`) by Sybrand van der Werf (yarpp-nl at mitcho dot com)
|
149 |
+
* Farsi/Persian (`fa_IR`) by [Moshen Derakhshan](http://webdesigner.downloadkar.com/) (yarpp-fa at mitcho dot com)
|
150 |
+
* French (`fr_FR`) by Lionel Chollet (yarpp-fr at mitcho dot com)
|
151 |
+
* German (`de_DE`) by Michael Kalina (yarpp-de at mitcho dot com) of [3th.be](http://3th.be) - **we are now looking for a new German translator**
|
152 |
+
* Greek (`el_EL`) by Aristidis Tonikidis (yarpp-el at mitcho dot com) of [akouseto.gr](http://www.akouseto.gr)
|
153 |
+
* Hebrew (`he_IL`) by Mickey Zelansky (yarpp-he at mitcho dot com) of [simpleidea.us](http://simpleidea.us)
|
154 |
+
* Hindi (`hi_IN`) by [Outshine Solutions](http://outshinesolutions.com/) (yarpp-hi at mitcho dot com)
|
155 |
+
* Italian (`it_IT`) by Gianni Diurno (yarpp-it at mitcho dot com) of [gidibao.net](http://gidibao.net)
|
156 |
+
* Japanese (`ja`) by myself (yarpp at mitcho dot com)
|
157 |
+
* Korean (`ko_KR`) by [Jong-In Kim](http://incommunity.codex.kr) (yarpp-ko at mitcho dot com)
|
158 |
+
* Latvian (`lv_LV`) by [Mike](http://antsar.info) (yarpp-lv at mitcho dot com)
|
159 |
+
* Lithuanian (`lt_LT`) by [Karolis Vyčius](http://vycius.co.cc) and [Mantas Malcius](http://mantas.malcius.lt) (yarpp-lt at mitcho dot com)
|
160 |
+
* Norwegian (`nb_NO`) by [Tom Arne Sundtjønn](www.datanerden.no) (yarpp-nb at mitcho dot com)
|
161 |
+
* Polish (`pl_PL`) by [Perfecta](http://perfecta.pro/wp-pl/)
|
162 |
+
* (European) Portuguese (`pt_PT`) by Stefan Mueller (yarpp-pt at mitcho.com) of [fernstadium-net](www.fernstudium-net.de)
|
163 |
+
* Brazilian Portuguese (`pt_BR`) by Rafael Fischmann (yarpp-ptBR at mitcho.com) of [macmagazine.br](http://macmagazine.com.br/)
|
164 |
+
* Russian (`ru_RU`) by Marat Latypov (yarpp-ru at mitcho.com) of [blogocms.ru](http://blogocms.ru)
|
165 |
+
* Swedish (`sv_SE`) by Max Elander (yarpp-sv at mitcho dot com)
|
166 |
+
* Turkish (`tr_TR`) by [Nurullah](http://www.ndemir.com) (yarpp-tr at mitcho.com)
|
167 |
+
* Vietnamese (`vi_VN`) by Vu Nguyen (yarpp-vi at mitcho dot com) of [Rubik Integration](http://rubikintegration.com/)
|
168 |
+
* Ukrainian (`uk_UA`) by [Onore](http://Onore.kiev.ua) (Alexander Musevich) (yarpp-uk at mitcho dot com)
|
169 |
+
* Uzbek (`uz_UZ`) by Ali Safarov (yarpp-uz at mitcho dot com) of [comfi.com](http://www.comfi.com/)
|
170 |
+
|
171 |
+
<!--We already have localizers lined up for the following languages:
|
172 |
+
* Danish
|
173 |
+
* Spanish
|
174 |
+
* Catalan
|
175 |
+
* Indonesian
|
176 |
+
* Hungarian
|
177 |
+
* Romanian
|
178 |
+
* Thai
|
179 |
+
-->
|
180 |
|
181 |
If you are a bilingual speaker of English and another language and an avid user of YARPP, I would love to talk to you about localizing YARPP! Localizing YARPP can be pretty easy using [the Codestyling Localization plugin](http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en). Please [contact me](mailto:yarpp@mitcho.com) *first* before translating to make sure noone else is working on your language. Thanks!
|
182 |
|
188 |
* The appropriate caches are cleared after posts are deleted ([#1245](http://plugins.trac.wordpress.org/ticket/1245)).
|
189 |
* Caching is no longer performed while batch-importing posts.
|
190 |
* A new object-based abstraction for the caching system. YARPP by default uses custom database tables (same behavior as 3.1.x), but you now have an option to use the `postmeta` table instead. To use `postmeta` caching, add `define('YARPP_CACHE_TYPE', 'postmeta');` to your `wp-config.php` file.<!--YARPP no longer uses custom tables! Both custom tables (`yarpp_related_cache` and `yarpp_keywords_cache`) are automatically removed if you have them. WordPress Post Meta is used instead for caching.-->
|
191 |
+
* Localizations:
|
192 |
+
* added Bulgarian (`bg_BG`) by [Flash Gallery](www.flashgallery.org);
|
193 |
+
* added Farsi/Persian (`fa_IR`) by [Moshen Derakhshan](http://webdesigner.downloadkar.com/);
|
194 |
+
* added Norwegian (`nb_NO`) by [Tom Arne Sundtjønn](www.datanerden.no);
|
195 |
+
* added Portuguese (`pt_PT`) by [Stefan Mueller](www.fernstudium-net.de).
|
196 |
+
* updated Lithuanian (`lt_LT`) by [Mantas Malcius](http://mantas.malcius.lt/)
|
197 |
* Added [WordPress HelpCenter](http://wphelpcenter.com/) widget for quick access to professional support.
|
198 |
* Some code cleanup (bug [#1246](http://plugins.trac.wordpress.org/ticket/1246))
|
199 |
* No longer supporting WordPress versions before 3.0, not because I suddenly started using something that requires 3.0, but in order to simplify testing.
|
services.php
CHANGED
@@ -10,6 +10,10 @@ if (function_exists('add_action')) {
|
|
10 |
|
11 |
function yarpp_ajax_display_discats() {
|
12 |
global $wpdb;
|
|
|
|
|
|
|
|
|
13 |
$discats = explode(',',yarpp_get_option('discats'));
|
14 |
array_unshift($discats,' ');
|
15 |
foreach ($wpdb->get_results("select $wpdb->terms.term_id, name from $wpdb->terms natural join $wpdb->term_taxonomy where $wpdb->term_taxonomy.taxonomy = 'category' order by name") as $cat) {
|
@@ -20,6 +24,10 @@ function yarpp_ajax_display_discats() {
|
|
20 |
|
21 |
function yarpp_ajax_display_distags() {
|
22 |
global $wpdb;
|
|
|
|
|
|
|
|
|
23 |
$distags = explode(',',yarpp_get_option('distags'));
|
24 |
array_unshift($distags,' ');
|
25 |
foreach ($wpdb->get_results("select $wpdb->terms.term_id, name from $wpdb->terms natural join $wpdb->term_taxonomy where $wpdb->term_taxonomy.taxonomy = 'post_tag' order by name") as $tag) {
|
@@ -31,6 +39,7 @@ function yarpp_ajax_display_distags() {
|
|
31 |
function yarpp_ajax_display_demo_web() {
|
32 |
global $wpdb, $post, $yarpp_demo_time, $wp_query, $id, $page, $pages, $yarpp_limit;
|
33 |
|
|
|
34 |
header("Content-Type: text/html; charset=UTF-8");
|
35 |
|
36 |
$yarpp_limit = yarpp_get_option('limit');
|
@@ -43,7 +52,8 @@ function yarpp_ajax_display_demo_web() {
|
|
43 |
function yarpp_ajax_display_demo_rss() {
|
44 |
global $wpdb, $post, $yarpp_demo_time, $wp_query, $id, $page, $pages, $yarpp_limit;
|
45 |
|
46 |
-
header("
|
|
|
47 |
|
48 |
$yarpp_limit = yarpp_get_option('rss_limit');
|
49 |
$return = yarpp_related(array('post'),array(),false,false,'demo_rss');
|
10 |
|
11 |
function yarpp_ajax_display_discats() {
|
12 |
global $wpdb;
|
13 |
+
|
14 |
+
header("HTTP/1.1 200");
|
15 |
+
header("Content-Type: text/html; charset=UTF-8");
|
16 |
+
|
17 |
$discats = explode(',',yarpp_get_option('discats'));
|
18 |
array_unshift($discats,' ');
|
19 |
foreach ($wpdb->get_results("select $wpdb->terms.term_id, name from $wpdb->terms natural join $wpdb->term_taxonomy where $wpdb->term_taxonomy.taxonomy = 'category' order by name") as $cat) {
|
24 |
|
25 |
function yarpp_ajax_display_distags() {
|
26 |
global $wpdb;
|
27 |
+
|
28 |
+
header("HTTP/1.1 200");
|
29 |
+
header("Content-Type: text/html; charset=UTF-8");
|
30 |
+
|
31 |
$distags = explode(',',yarpp_get_option('distags'));
|
32 |
array_unshift($distags,' ');
|
33 |
foreach ($wpdb->get_results("select $wpdb->terms.term_id, name from $wpdb->terms natural join $wpdb->term_taxonomy where $wpdb->term_taxonomy.taxonomy = 'post_tag' order by name") as $tag) {
|
39 |
function yarpp_ajax_display_demo_web() {
|
40 |
global $wpdb, $post, $yarpp_demo_time, $wp_query, $id, $page, $pages, $yarpp_limit;
|
41 |
|
42 |
+
header("HTTP/1.1 200");
|
43 |
header("Content-Type: text/html; charset=UTF-8");
|
44 |
|
45 |
$yarpp_limit = yarpp_get_option('limit');
|
52 |
function yarpp_ajax_display_demo_rss() {
|
53 |
global $wpdb, $post, $yarpp_demo_time, $wp_query, $id, $page, $pages, $yarpp_limit;
|
54 |
|
55 |
+
header("HTTP/1.1 200");
|
56 |
+
header("Content-Type: text/html; charset=UTF-8");
|
57 |
|
58 |
$yarpp_limit = yarpp_get_option('rss_limit');
|
59 |
$return = yarpp_related(array('post'),array(),false,false,'demo_rss');
|
yarpp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
Plugin URI: http://mitcho.com/code/yarpp/
|
5 |
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
6 |
-
Version: 3.
|
7 |
Author: mitcho (Michael Yoshitaka Erlewine)
|
8 |
Author URI: http://mitcho.com/
|
9 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8
|
@@ -13,7 +13,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4D
|
|
13 |
if (isset($_REQUEST['yarpp_debug']))
|
14 |
$yarpp_debug = true;
|
15 |
|
16 |
-
define('YARPP_VERSION','3.
|
17 |
define('YARPP_DIR',dirname(__FILE__));
|
18 |
|
19 |
require_once(YARPP_DIR.'/includes.php');
|
@@ -27,6 +27,7 @@ require_once(YARPP_DIR.'/template-functions.php');
|
|
27 |
if (!defined('YARPP_CACHE_TYPE'))
|
28 |
define('YARPP_CACHE_TYPE', 'tables');
|
29 |
require_once(YARPP_DIR . '/cache-' . YARPP_CACHE_TYPE . '.php');
|
|
|
30 |
$yarpp_cache = new $yarpp_storage_class;
|
31 |
|
32 |
// Setup admin
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
Plugin URI: http://mitcho.com/code/yarpp/
|
5 |
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
|
6 |
+
Version: 3.2b4
|
7 |
Author: mitcho (Michael Yoshitaka Erlewine)
|
8 |
Author URI: http://mitcho.com/
|
9 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&charset=UTF%2d8
|
13 |
if (isset($_REQUEST['yarpp_debug']))
|
14 |
$yarpp_debug = true;
|
15 |
|
16 |
+
define('YARPP_VERSION','3.2b4');
|
17 |
define('YARPP_DIR',dirname(__FILE__));
|
18 |
|
19 |
require_once(YARPP_DIR.'/includes.php');
|
27 |
if (!defined('YARPP_CACHE_TYPE'))
|
28 |
define('YARPP_CACHE_TYPE', 'tables');
|
29 |
require_once(YARPP_DIR . '/cache-' . YARPP_CACHE_TYPE . '.php');
|
30 |
+
global $yarpp_cache;
|
31 |
$yarpp_cache = new $yarpp_storage_class;
|
32 |
|
33 |
// Setup admin
|