Version Description
Download this release
Release Info
Developer | Ajay |
Plugin | Top 10 – Popular posts plugin for WordPress |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.5.1
- languages/tptn-be_BY.mo +0 -0
- languages/tptn-be_BY.po +174 -0
- readme.txt +3 -0
- top-10.php +3 -3
languages/tptn-be_BY.mo
ADDED
Binary file
|
languages/tptn-be_BY.po
ADDED
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Топ 10\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-07-26 23:48+0530\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Fat Cow <zhr@tut.by>\n"
|
8 |
+
"Language-Team: FatCow <zhr@tut.by>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: Belarusian\n"
|
13 |
+
"X-Poedit-Country: BELARUS\n"
|
14 |
+
|
15 |
+
#: admin.inc.php:33
|
16 |
+
msgid "Options saved successfully."
|
17 |
+
msgstr "Налады захаваны."
|
18 |
+
|
19 |
+
#: admin.inc.php:42
|
20 |
+
msgid "Options set to Default."
|
21 |
+
msgstr "Налады скінуты."
|
22 |
+
|
23 |
+
#: admin.inc.php:53
|
24 |
+
msgid "Support the Development"
|
25 |
+
msgstr "Падтрымаеце стваральніка ўбудовы"
|
26 |
+
|
27 |
+
#: admin.inc.php:57
|
28 |
+
msgid "If you find "
|
29 |
+
msgstr "Калі вы лічыце ўбудова"
|
30 |
+
|
31 |
+
#: admin.inc.php:59
|
32 |
+
msgid "useful, please do"
|
33 |
+
msgstr "карысным, калі ласка, зрабіце"
|
34 |
+
|
35 |
+
#: admin.inc.php:60
|
36 |
+
msgid "drop in your contribution"
|
37 |
+
msgstr "ахвяраванне"
|
38 |
+
|
39 |
+
#: admin.inc.php:61
|
40 |
+
msgid "Some reasons why you should."
|
41 |
+
msgstr "Некалькі чыннікаў зрабіць гэта."
|
42 |
+
|
43 |
+
#: admin.inc.php:68
|
44 |
+
msgid "Options:"
|
45 |
+
msgstr "Налады ўбудовы:"
|
46 |
+
|
47 |
+
#: admin.inc.php:73
|
48 |
+
msgid "Format to display the count in: "
|
49 |
+
msgstr "Фармат адлюстравання колькасці праглядаў:"
|
50 |
+
|
51 |
+
#: admin.inc.php:77
|
52 |
+
msgid "Use <code>%totalcount%</code> to display the total count and <code>%dailycount%</code> to display the daily count. e.g. the default options displays <code>(Visited 123 times, 23 visits today)</code>"
|
53 |
+
msgstr "Выкарыстоўвайце <code>%totalcount%</code> каб паказваць агульны лік праглядаў, а <code>%dailycount%</code> - прагляды за суткі. Напрыклад: <code>(Прагледжана 123 раз, 23 разу прагляду сёння)</code>"
|
54 |
+
|
55 |
+
#: admin.inc.php:80
|
56 |
+
msgid "Number of popular posts to display: "
|
57 |
+
msgstr "Колькасць Папулярных запісаў у спісе:"
|
58 |
+
|
59 |
+
#: admin.inc.php:86
|
60 |
+
msgid "Title of popular posts: "
|
61 |
+
msgstr "Загаловак блока Папулярных запісаў:"
|
62 |
+
|
63 |
+
#: admin.inc.php:92
|
64 |
+
msgid "Title of daily popular posts: "
|
65 |
+
msgstr "Загаловак блока Папулярных сёння запісаў:"
|
66 |
+
|
67 |
+
#: admin.inc.php:98
|
68 |
+
msgid "Daily Popular should contain views of how many days? "
|
69 |
+
msgstr "За колькі дзён лічыць прагляды для запісаў, Папулярных сёння?"
|
70 |
+
|
71 |
+
#: admin.inc.php:105
|
72 |
+
msgid "Exclude Pages in display of Popular Posts? Number of views on Pages will continue to be counted."
|
73 |
+
msgstr "Выключыць старонкі са спісу Папулярных запісаў? Колькасць праглядаў для старонак будзе падлічвацца."
|
74 |
+
|
75 |
+
#: admin.inc.php:111
|
76 |
+
msgid "Display number of views on posts?"
|
77 |
+
msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
|
78 |
+
|
79 |
+
#: admin.inc.php:117
|
80 |
+
msgid "Display number of views on pages?"
|
81 |
+
msgstr "Паказваць колькасць праглядаў старонкі ў яе \"целе\"?"
|
82 |
+
|
83 |
+
#: admin.inc.php:123
|
84 |
+
msgid "Track visits of authors on their own posts?"
|
85 |
+
msgstr "Улічваць прагляды запісаў, зробленыя іх жа аўтарамі?"
|
86 |
+
|
87 |
+
#: admin.inc.php:129
|
88 |
+
msgid "Display number of page views in popular lists?"
|
89 |
+
msgstr "Паказваць колькасць праглядаў запісаў/старонак у спісе Папулярных запісаў?"
|
90 |
+
|
91 |
+
#: admin.inc.php:135
|
92 |
+
msgid "Force daily posts' list to be dynamic? This options uses JavaScript to load the post and can increase your page load time"
|
93 |
+
msgstr "Зрабіць спіс Папулярных запісаў дынамічным? Опцыя выкарыстоўвае JavaScript , і гэта можа павялічыць час загрузкі старонак"
|
94 |
+
|
95 |
+
#: admin.inc.php:141
|
96 |
+
msgid "Display page views on Edit posts/pages in WP-Admin? An extra column is added with the count"
|
97 |
+
msgstr "Адлюстроўваць колькасць праглядаў запісаў/старонак у админке? Для гэтага будзе дададзена асобная калонка"
|
98 |
+
|
99 |
+
#: admin.inc.php:147
|
100 |
+
msgid "A link to the plugin is added as an extra list item to the list of popular posts. Not mandatory, but thanks if you do it!"
|
101 |
+
msgstr "Спасылка на ўбудову будзе дададзена да спісаў Папулярных запісаў. Мы будзем удзячныя Вам, калі Вы яе ўсё ж пакінеце!"
|
102 |
+
|
103 |
+
#: admin.inc.php:152
|
104 |
+
msgid "Do you want to set options to Default?"
|
105 |
+
msgstr "Скінуць налады ўбудовы?"
|
106 |
+
|
107 |
+
#: admin.inc.php:168
|
108 |
+
#: admin.inc.php:192
|
109 |
+
#: admin.inc.php:364
|
110 |
+
#: top-10.php:354
|
111 |
+
#: top-10.php:373
|
112 |
+
msgid "Popular Posts"
|
113 |
+
msgstr "Папулярныя запісы"
|
114 |
+
|
115 |
+
#: admin.inc.php:168
|
116 |
+
msgid "Daily Popular Posts"
|
117 |
+
msgstr "Папулярныя сёння запісы"
|
118 |
+
|
119 |
+
#: admin.inc.php:191
|
120 |
+
#: admin.inc.php:192
|
121 |
+
msgid "Top 10"
|
122 |
+
msgstr "Топ 10 запісаў"
|
123 |
+
|
124 |
+
#: admin.inc.php:272
|
125 |
+
msgid "Results"
|
126 |
+
msgstr "Вынікі"
|
127 |
+
|
128 |
+
#: admin.inc.php:274
|
129 |
+
#: admin.inc.php:280
|
130 |
+
msgid "of"
|
131 |
+
msgstr "з"
|
132 |
+
|
133 |
+
#: admin.inc.php:278
|
134 |
+
msgid "Page"
|
135 |
+
msgstr "Старонка"
|
136 |
+
|
137 |
+
#: admin.inc.php:292
|
138 |
+
msgid "View Daily Popular Posts"
|
139 |
+
msgstr "Паглядзець усе Папулярныя сёння запісы"
|
140 |
+
|
141 |
+
#: admin.inc.php:296
|
142 |
+
msgid "View Overall Popular Posts"
|
143 |
+
msgstr "Паглядзець усе Папулярныя запісы"
|
144 |
+
|
145 |
+
#: admin.inc.php:300
|
146 |
+
msgid "Results per-page:"
|
147 |
+
msgstr "Вынікаў на старонку:"
|
148 |
+
|
149 |
+
#: admin.inc.php:324
|
150 |
+
msgid "Previous"
|
151 |
+
msgstr "Папярэдняя старонка"
|
152 |
+
|
153 |
+
#: admin.inc.php:342
|
154 |
+
msgid "Next"
|
155 |
+
msgstr "Наступная старонка"
|
156 |
+
|
157 |
+
#: admin.inc.php:365
|
158 |
+
#: top-10.php:303
|
159 |
+
#: top-10.php:374
|
160 |
+
msgid "Daily Popular"
|
161 |
+
msgstr "Папулярныя сёння запісы"
|
162 |
+
|
163 |
+
#: admin.inc.php:376
|
164 |
+
msgid "Total / Today's Views"
|
165 |
+
msgstr "Усяго / Сёння праглядаў"
|
166 |
+
|
167 |
+
#: top-10.php:156
|
168 |
+
msgid "<h3>Popular Posts</h3>"
|
169 |
+
msgstr "<h3>Папулярныя запісы</h3>"
|
170 |
+
|
171 |
+
#: top-10.php:157
|
172 |
+
msgid "<h3>Daily Popular</h3>"
|
173 |
+
msgstr "<h3>Папулярныя сёння запісы</h3>"
|
174 |
+
|
readme.txt
CHANGED
@@ -29,6 +29,9 @@ Includes a sidebar widget to display the popular posts. And, all settings can be
|
|
29 |
|
30 |
== Changelog ==
|
31 |
|
|
|
|
|
|
|
32 |
= 1.5 =
|
33 |
* Added support for post thumbnails feature of WordPress 2.9
|
34 |
|
29 |
|
30 |
== Changelog ==
|
31 |
|
32 |
+
= 1.5 =
|
33 |
+
* Fixed some compatibility issues with WordPress 2.9 and YARPP
|
34 |
+
|
35 |
= 1.5 =
|
36 |
* Added support for post thumbnails feature of WordPress 2.9
|
37 |
|
top-10.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Top 10
|
4 |
-
Version: 1.5
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
|
6 |
Description: Count daily and total visits per post and display the most popular posts based on the number of views. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>
|
7 |
Author: Ajay D'Souza
|
@@ -49,7 +49,7 @@ add_action('init', 'ald_tptn_init');
|
|
49 |
* Main Function (Do not edit) *
|
50 |
********************************************************************/
|
51 |
// Update post views
|
52 |
-
add_filter('the_content','tptn_add_viewed_count'
|
53 |
function tptn_add_viewed_count($content) {
|
54 |
global $post, $wpdb, $single,$tptn_url,$tptn_path;
|
55 |
$table_name = $wpdb->prefix . "top_ten";
|
@@ -90,7 +90,7 @@ function tptn_pc_content($content) {
|
|
90 |
return $content;
|
91 |
}
|
92 |
}
|
93 |
-
add_filter('the_content', 'tptn_pc_content'
|
94 |
|
95 |
// Function to manually display count
|
96 |
function echo_tptn_post_count() {
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Top 10
|
4 |
+
Version: 1.5.1
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
|
6 |
Description: Count daily and total visits per post and display the most popular posts based on the number of views. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>
|
7 |
Author: Ajay D'Souza
|
49 |
* Main Function (Do not edit) *
|
50 |
********************************************************************/
|
51 |
// Update post views
|
52 |
+
add_filter('the_content','tptn_add_viewed_count');
|
53 |
function tptn_add_viewed_count($content) {
|
54 |
global $post, $wpdb, $single,$tptn_url,$tptn_path;
|
55 |
$table_name = $wpdb->prefix . "top_ten";
|
90 |
return $content;
|
91 |
}
|
92 |
}
|
93 |
+
add_filter('the_content', 'tptn_pc_content');
|
94 |
|
95 |
// Function to manually display count
|
96 |
function echo_tptn_post_count() {
|