Version Description
(2011-02-17) = * added 'smaller' and 'larger' classes * added $query arg to wp_pagenavi() * updated translations * more info
Download this release
Release Info
Developer | scribu |
Plugin | WP-PageNavi |
Version | 2.74 |
Comparing to | |
See all releases |
Code changes from version 2.73 to 2.74
- core.php +29 -18
- lang/wp-pagenavi-cs_CZ.mo +0 -0
- lang/wp-pagenavi-cs_CZ.po +196 -0
- lang/wp-pagenavi-pl_PL.mo +0 -0
- lang/wp-pagenavi-pl_PL.po +194 -0
- lang/wp-pagenavi-sr_RS.mo +0 -0
- lang/wp-pagenavi-sr_RS.po +198 -0
- lang/wp-pagenavi-zh_CN.mo +0 -0
- lang/wp-pagenavi-zh_CN.po +165 -203
- lang/wp-pagenavi-zh_TW.mo +0 -0
- lang/wp-pagenavi-zh_TW.po +244 -0
- readme.txt +32 -18
- scb/AdminPage.php +11 -14
- scb/BoxesPage.php +37 -14
- scb/Cron.php +46 -60
- scb/Forms.php +11 -4
- scb/QueryManipulation.php +16 -4
- scb/Table.php +4 -1
- scb/Util.php +23 -6
- scb/load.php +6 -5
- wp-pagenavi.php +2 -2
core.php
CHANGED
@@ -3,30 +3,39 @@
|
|
3 |
/**
|
4 |
* Template tag: Boxed Style Paging
|
5 |
*
|
6 |
-
* @
|
7 |
-
*
|
8 |
-
*
|
|
|
|
|
9 |
*/
|
10 |
-
function wp_pagenavi( $
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
$options = wp_parse_args( $options, PageNavi_Core::$options->get() );
|
14 |
|
15 |
-
$posts_per_page = intval(
|
16 |
-
|
17 |
-
$
|
18 |
-
if ( !$paged )
|
19 |
-
$paged = 1;
|
20 |
-
|
21 |
-
$total_pages = absint( $wp_query->max_num_pages );
|
22 |
-
if ( !$total_pages )
|
23 |
-
$total_pages = 1;
|
24 |
|
25 |
if ( 1 == $total_pages && !$options['always_show'] )
|
26 |
return;
|
27 |
|
28 |
-
$request = $
|
29 |
-
$numposts = $
|
30 |
|
31 |
$pages_to_show = absint( $options['num_pages'] );
|
32 |
$larger_page_to_show = absint( $options['num_larger_page_numbers'] );
|
@@ -49,7 +58,7 @@ function wp_pagenavi( $before = '', $after = '', $options = array() ) {
|
|
49 |
$end_page = $total_pages;
|
50 |
}
|
51 |
|
52 |
-
if ( $start_page
|
53 |
$start_page = 1;
|
54 |
|
55 |
$out = '';
|
@@ -88,12 +97,14 @@ function wp_pagenavi( $before = '', $after = '', $options = array() ) {
|
|
88 |
if ( !empty( $options['prev_text'] ) )
|
89 |
$out .= get_previous_posts_link( $options['prev_text'] );
|
90 |
|
|
|
91 |
foreach ( range( $start_page, $end_page ) as $i ) {
|
92 |
if ( $i == $paged && !empty( $options['current_text'] ) ) {
|
93 |
$current_page_text = str_replace( '%PAGE_NUMBER%', number_format_i18n( $i ), $options['current_text'] );
|
94 |
$out .= "<span class='current'>$current_page_text</span>";
|
|
|
95 |
} else {
|
96 |
-
$out .= _wp_pagenavi_single( $i,
|
97 |
}
|
98 |
}
|
99 |
|
3 |
/**
|
4 |
* Template tag: Boxed Style Paging
|
5 |
*
|
6 |
+
* @param array $args:
|
7 |
+
* 'before': (string)
|
8 |
+
* 'after': (string)
|
9 |
+
* 'options': (string|array) Used to overwrite options set in WP-Admin -> Settings -> PageNavi
|
10 |
+
* 'query': (object) A WP_Query instance
|
11 |
*/
|
12 |
+
function wp_pagenavi( $args = array() ) {
|
13 |
+
if ( !is_array( $args ) ) {
|
14 |
+
$argv = func_get_args();
|
15 |
+
list( $before, $after, $options ) = $argv;
|
16 |
+
$query = $GLOBALS['wp_query'];
|
17 |
+
} else {
|
18 |
+
$args = wp_parse_args( $args, array(
|
19 |
+
'before' => '',
|
20 |
+
'after' => '',
|
21 |
+
'options' => array(),
|
22 |
+
'query' => $GLOBALS['wp_query']
|
23 |
+
) );
|
24 |
+
|
25 |
+
extract( $args, EXTR_SKIP );
|
26 |
+
}
|
27 |
|
28 |
$options = wp_parse_args( $options, PageNavi_Core::$options->get() );
|
29 |
|
30 |
+
$posts_per_page = intval( $query->get( 'posts_per_page' ) );
|
31 |
+
$paged = max( 1, absint( $query->get( 'paged' ) ) );
|
32 |
+
$total_pages = max( 1, absint( $query->max_num_pages ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
if ( 1 == $total_pages && !$options['always_show'] )
|
35 |
return;
|
36 |
|
37 |
+
$request = $query->request;
|
38 |
+
$numposts = $query->found_posts;
|
39 |
|
40 |
$pages_to_show = absint( $options['num_pages'] );
|
41 |
$larger_page_to_show = absint( $options['num_larger_page_numbers'] );
|
58 |
$end_page = $total_pages;
|
59 |
}
|
60 |
|
61 |
+
if ( $start_page < 1 )
|
62 |
$start_page = 1;
|
63 |
|
64 |
$out = '';
|
97 |
if ( !empty( $options['prev_text'] ) )
|
98 |
$out .= get_previous_posts_link( $options['prev_text'] );
|
99 |
|
100 |
+
$timeline = 'smaller';
|
101 |
foreach ( range( $start_page, $end_page ) as $i ) {
|
102 |
if ( $i == $paged && !empty( $options['current_text'] ) ) {
|
103 |
$current_page_text = str_replace( '%PAGE_NUMBER%', number_format_i18n( $i ), $options['current_text'] );
|
104 |
$out .= "<span class='current'>$current_page_text</span>";
|
105 |
+
$timeline = 'larger';
|
106 |
} else {
|
107 |
+
$out .= _wp_pagenavi_single( $i, "page $timeline", $options['page_text'] );
|
108 |
}
|
109 |
}
|
110 |
|
lang/wp-pagenavi-cs_CZ.mo
ADDED
Binary file
|
lang/wp-pagenavi-cs_CZ.po
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin WP-PageNavi 2.73 by Lester 'GaMerZ' Chan & scribu.
|
2 |
+
# Copyright (C) 2010 Lester 'GaMerZ' Chan & scribu
|
3 |
+
# This file is distributed under the same license as the WP-PageNavi package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: WP-PageNavi 2.73\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
|
10 |
+
"POT-Creation-Date: 2010-08-17 17:28+0300\n"
|
11 |
+
"PO-Revision-Date: 2011-08-15 17:38+0100\n"
|
12 |
+
"Last-Translator: Petr Baštán <pbastan@lop.cz>\n"
|
13 |
+
"Language-Team: \n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-Language: Czech\n"
|
18 |
+
"X-Poedit-Country: CZECH REPUBLIC\n"
|
19 |
+
|
20 |
+
#: admin.php:9
|
21 |
+
msgid "PageNavi Settings"
|
22 |
+
msgstr "Nastavení PageNavi"
|
23 |
+
|
24 |
+
#: admin.php:10
|
25 |
+
msgid "PageNavi"
|
26 |
+
msgstr "PageNavi"
|
27 |
+
|
28 |
+
#: admin.php:28
|
29 |
+
msgid "Text For Number Of Pages"
|
30 |
+
msgstr "Text pro počet stránek"
|
31 |
+
|
32 |
+
#: admin.php:33
|
33 |
+
msgid "The current page number."
|
34 |
+
msgstr "Aktuální číslo stránky."
|
35 |
+
|
36 |
+
#: admin.php:34
|
37 |
+
#: admin.php:58
|
38 |
+
#: admin.php:66
|
39 |
+
msgid "The total number of pages."
|
40 |
+
msgstr "Celkový počet stránek."
|
41 |
+
|
42 |
+
#: admin.php:38
|
43 |
+
msgid "Text For Current Page"
|
44 |
+
msgstr "Text pro aktuální stránku"
|
45 |
+
|
46 |
+
#: admin.php:42
|
47 |
+
#: admin.php:50
|
48 |
+
msgid "The page number."
|
49 |
+
msgstr "Číslo stránky."
|
50 |
+
|
51 |
+
#: admin.php:46
|
52 |
+
msgid "Text For Page"
|
53 |
+
msgstr "Text pro stránku"
|
54 |
+
|
55 |
+
#: admin.php:54
|
56 |
+
msgid "Text For First Page"
|
57 |
+
msgstr "Text pro první stránku"
|
58 |
+
|
59 |
+
#: admin.php:62
|
60 |
+
msgid "Text For Last Page"
|
61 |
+
msgstr "Text pro poslední stránku"
|
62 |
+
|
63 |
+
#: admin.php:70
|
64 |
+
msgid "Text For Previous Page"
|
65 |
+
msgstr "Text pro předchozí stránku"
|
66 |
+
|
67 |
+
#: admin.php:76
|
68 |
+
msgid "Text For Next Page"
|
69 |
+
msgstr "Text pro následující stránku"
|
70 |
+
|
71 |
+
#: admin.php:82
|
72 |
+
msgid "Text For Previous ..."
|
73 |
+
msgstr "Text pro předchozí ..."
|
74 |
+
|
75 |
+
#: admin.php:88
|
76 |
+
msgid "Text For Next ..."
|
77 |
+
msgstr "Text pro následující ..."
|
78 |
+
|
79 |
+
#: admin.php:95
|
80 |
+
msgid "Page Navigation Text"
|
81 |
+
msgstr "Texty stránkování"
|
82 |
+
|
83 |
+
#: admin.php:96
|
84 |
+
msgid "Leaving a field blank will hide that part of the navigation."
|
85 |
+
msgstr "Pokud ponecháte některé pole prázdné, skryjete tak jeho část při stránkování."
|
86 |
+
|
87 |
+
#: admin.php:102
|
88 |
+
msgid "Use pagenavi-css.css"
|
89 |
+
msgstr "Použít pagenavi-css.css"
|
90 |
+
|
91 |
+
#: admin.php:108
|
92 |
+
msgid "Page Navigation Style"
|
93 |
+
msgstr "Styl stránkování"
|
94 |
+
|
95 |
+
#: admin.php:111
|
96 |
+
msgid "Normal"
|
97 |
+
msgstr "Normální"
|
98 |
+
|
99 |
+
#: admin.php:111
|
100 |
+
msgid "Drop-down List"
|
101 |
+
msgstr "Rozbalovací menu"
|
102 |
+
|
103 |
+
#: admin.php:116
|
104 |
+
msgid "Always Show Page Navigation"
|
105 |
+
msgstr "Vždy zobrazovat stránkování"
|
106 |
+
|
107 |
+
#: admin.php:119
|
108 |
+
msgid "Show navigation even if there's only one page."
|
109 |
+
msgstr "Zobrazit stránkování i když existuje pouze jedna stránka."
|
110 |
+
|
111 |
+
#: admin.php:123
|
112 |
+
msgid "Number Of Pages To Show"
|
113 |
+
msgstr "Počet stránek"
|
114 |
+
|
115 |
+
#: admin.php:130
|
116 |
+
msgid "Number Of Larger Page Numbers To Show"
|
117 |
+
msgstr "Počet stránek s vyšším pořadím"
|
118 |
+
|
119 |
+
#: admin.php:135
|
120 |
+
msgid "Larger page numbers are in addition to the normal page numbers. They are useful when there are many pages of posts."
|
121 |
+
msgstr "Stránky s vyšším pořadím jsou doplňkem stránek s normálním pořadím. Jsou vhodné pro přehlednější navigaci webů s velkým množstvím příspěvků."
|
122 |
+
|
123 |
+
#: admin.php:136
|
124 |
+
msgid "For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
125 |
+
msgstr "WP-PageNavi pak např. zobrazí: Stránky 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
126 |
+
|
127 |
+
#: admin.php:137
|
128 |
+
msgid "Enter 0 to disable."
|
129 |
+
msgstr "Pro vypnutí zadejte 0."
|
130 |
+
|
131 |
+
#: admin.php:141
|
132 |
+
msgid "Show Larger Page Numbers In Multiples Of"
|
133 |
+
msgstr "Zobrazit stránky s vyšším pořadím jako násobky čísla"
|
134 |
+
|
135 |
+
#: admin.php:146
|
136 |
+
msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
|
137 |
+
msgstr "Například pokud je násobek čísla 5, potom se zobrazí: 5, 10, 15, 20, 25"
|
138 |
+
|
139 |
+
#: admin.php:151
|
140 |
+
msgid "Page Navigation Options"
|
141 |
+
msgstr "Nastavení stránkování"
|
142 |
+
|
143 |
+
#: scb/AdminPage.php:167
|
144 |
+
msgid "Settings <strong>saved</strong>."
|
145 |
+
msgstr "Nastavení bylo <strong>uloženo</strong>."
|
146 |
+
|
147 |
+
#: scb/AdminPage.php:179
|
148 |
+
#: scb/AdminPage.php:189
|
149 |
+
msgid "Save Changes"
|
150 |
+
msgstr "Uložit změny"
|
151 |
+
|
152 |
+
#: scb/AdminPage.php:371
|
153 |
+
msgid "Settings"
|
154 |
+
msgstr "Nastavení"
|
155 |
+
|
156 |
+
#: wp-pagenavi.php:37
|
157 |
+
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
158 |
+
msgstr "%CURRENT_PAGE%. stránka z celkem %TOTAL_PAGES%"
|
159 |
+
|
160 |
+
#: wp-pagenavi.php:40
|
161 |
+
msgid "« First"
|
162 |
+
msgstr "« První"
|
163 |
+
|
164 |
+
#: wp-pagenavi.php:41
|
165 |
+
msgid "Last »"
|
166 |
+
msgstr "Poslední »"
|
167 |
+
|
168 |
+
#: wp-pagenavi.php:42
|
169 |
+
msgid "«"
|
170 |
+
msgstr "«"
|
171 |
+
|
172 |
+
#: wp-pagenavi.php:43
|
173 |
+
msgid "»"
|
174 |
+
msgstr "»"
|
175 |
+
|
176 |
+
#: wp-pagenavi.php:44
|
177 |
+
#: wp-pagenavi.php:45
|
178 |
+
msgid "..."
|
179 |
+
msgstr "..."
|
180 |
+
|
181 |
+
#. Plugin Name of the plugin/theme
|
182 |
+
msgid "WP-PageNavi"
|
183 |
+
msgstr "WP-PageNavi"
|
184 |
+
|
185 |
+
#. Plugin URI of the plugin/theme
|
186 |
+
msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
187 |
+
msgstr "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
188 |
+
|
189 |
+
#. Description of the plugin/theme
|
190 |
+
msgid "Adds a more advanced paging navigation to your WordPress blog"
|
191 |
+
msgstr "Pokročilé stránkování pro váš web ve WordPressu"
|
192 |
+
|
193 |
+
#. Author of the plugin/theme
|
194 |
+
msgid "Lester 'GaMerZ' Chan & scribu"
|
195 |
+
msgstr "Lester 'GaMerZ' Chan & scribu"
|
196 |
+
|
lang/wp-pagenavi-pl_PL.mo
ADDED
Binary file
|
lang/wp-pagenavi-pl_PL.po
ADDED
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin WP-PageNavi 2.73 by Lester 'GaMerZ' Chan & scribu.
|
2 |
+
# Copyright (C) 2010 Lester 'GaMerZ' Chan & scribu
|
3 |
+
# This file is distributed under the same license as the WP-PageNavi package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: WP-PageNavi 2.73\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
|
10 |
+
"POT-Creation-Date: 2010-08-17 17:28+0300\n"
|
11 |
+
"PO-Revision-Date: 2011-07-04 17:15+0100\n"
|
12 |
+
"Last-Translator: Paul Pela <paulpela@gmail.com>\n"
|
13 |
+
"Language-Team: Polish pl_PL <pl@li.org>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
|
18 |
+
#: admin.php:9
|
19 |
+
msgid "PageNavi Settings"
|
20 |
+
msgstr "Ustawienia PageNavi"
|
21 |
+
|
22 |
+
#: admin.php:10
|
23 |
+
msgid "PageNavi"
|
24 |
+
msgstr "PageNavi"
|
25 |
+
|
26 |
+
#: admin.php:28
|
27 |
+
msgid "Text For Number Of Pages"
|
28 |
+
msgstr "Tekst dla liczby stron"
|
29 |
+
|
30 |
+
#: admin.php:33
|
31 |
+
msgid "The current page number."
|
32 |
+
msgstr "Numer aktualnej strony."
|
33 |
+
|
34 |
+
#: admin.php:34
|
35 |
+
#: admin.php:58
|
36 |
+
#: admin.php:66
|
37 |
+
msgid "The total number of pages."
|
38 |
+
msgstr "Całkowita liczba stron."
|
39 |
+
|
40 |
+
#: admin.php:38
|
41 |
+
msgid "Text For Current Page"
|
42 |
+
msgstr "Tekst dla aktualnej strony"
|
43 |
+
|
44 |
+
#: admin.php:42
|
45 |
+
#: admin.php:50
|
46 |
+
msgid "The page number."
|
47 |
+
msgstr "Numer strony."
|
48 |
+
|
49 |
+
#: admin.php:46
|
50 |
+
msgid "Text For Page"
|
51 |
+
msgstr "Takst dla strony"
|
52 |
+
|
53 |
+
#: admin.php:54
|
54 |
+
msgid "Text For First Page"
|
55 |
+
msgstr "Tekst dla pierwszej strony"
|
56 |
+
|
57 |
+
#: admin.php:62
|
58 |
+
msgid "Text For Last Page"
|
59 |
+
msgstr "Tekst dla ostatniej strony"
|
60 |
+
|
61 |
+
#: admin.php:70
|
62 |
+
msgid "Text For Previous Page"
|
63 |
+
msgstr "Tekst dla poprzedniej strony"
|
64 |
+
|
65 |
+
#: admin.php:76
|
66 |
+
msgid "Text For Next Page"
|
67 |
+
msgstr "Tekst dla następnej strony"
|
68 |
+
|
69 |
+
#: admin.php:82
|
70 |
+
msgid "Text For Previous ..."
|
71 |
+
msgstr "Tekst dla \"Poprzednia\" ..."
|
72 |
+
|
73 |
+
#: admin.php:88
|
74 |
+
msgid "Text For Next ..."
|
75 |
+
msgstr "Tekst dla \"Następna\" ..."
|
76 |
+
|
77 |
+
#: admin.php:95
|
78 |
+
msgid "Page Navigation Text"
|
79 |
+
msgstr "Tekst dla nawigacji stron"
|
80 |
+
|
81 |
+
#: admin.php:96
|
82 |
+
msgid "Leaving a field blank will hide that part of the navigation."
|
83 |
+
msgstr "Pozostaw to pole puste, aby ukryć tę część nawigacji."
|
84 |
+
|
85 |
+
#: admin.php:102
|
86 |
+
msgid "Use pagenavi-css.css"
|
87 |
+
msgstr "Używaj pagenavi-css.css"
|
88 |
+
|
89 |
+
#: admin.php:108
|
90 |
+
msgid "Page Navigation Style"
|
91 |
+
msgstr "Styl paginacji"
|
92 |
+
|
93 |
+
#: admin.php:111
|
94 |
+
msgid "Normal"
|
95 |
+
msgstr "Zwykły"
|
96 |
+
|
97 |
+
#: admin.php:111
|
98 |
+
msgid "Drop-down List"
|
99 |
+
msgstr "Lista rozwijana"
|
100 |
+
|
101 |
+
#: admin.php:116
|
102 |
+
msgid "Always Show Page Navigation"
|
103 |
+
msgstr "Zawsze pokazuj paginację"
|
104 |
+
|
105 |
+
#: admin.php:119
|
106 |
+
msgid "Show navigation even if there's only one page."
|
107 |
+
msgstr "Zawsze pokazuj paginację, nawet jeśli to tylko jedna strona."
|
108 |
+
|
109 |
+
#: admin.php:123
|
110 |
+
msgid "Number Of Pages To Show"
|
111 |
+
msgstr "Liczba stron do pokazania"
|
112 |
+
|
113 |
+
#: admin.php:130
|
114 |
+
msgid "Number Of Larger Page Numbers To Show"
|
115 |
+
msgstr "Liczba większych odstępów w numeracji"
|
116 |
+
|
117 |
+
#: admin.php:135
|
118 |
+
msgid "Larger page numbers are in addition to the normal page numbers. They are useful when there are many pages of posts."
|
119 |
+
msgstr "Większe odstępy są pokazywane razem z mniejszymi. Są przydatne, gdy do wyświetlenia jest wiele stron."
|
120 |
+
|
121 |
+
#: admin.php:136
|
122 |
+
msgid "For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
123 |
+
msgstr "Na przykład, WP-PageNavi będzie wyświetlało: Strony 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
124 |
+
|
125 |
+
#: admin.php:137
|
126 |
+
msgid "Enter 0 to disable."
|
127 |
+
msgstr "Wpisz 0, aby to wyłączyć."
|
128 |
+
|
129 |
+
#: admin.php:141
|
130 |
+
msgid "Show Larger Page Numbers In Multiples Of"
|
131 |
+
msgstr "Pokarz odstępy jako wielokrotności"
|
132 |
+
|
133 |
+
#: admin.php:146
|
134 |
+
msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
|
135 |
+
msgstr "Na przykład, jeśli wielokrotność to 5, wtyczka pokaże: 5, 10, 15, 20, 25"
|
136 |
+
|
137 |
+
#: admin.php:151
|
138 |
+
msgid "Page Navigation Options"
|
139 |
+
msgstr "Ustawienia paginacji"
|
140 |
+
|
141 |
+
#: scb/AdminPage.php:167
|
142 |
+
msgid "Settings <strong>saved</strong>."
|
143 |
+
msgstr "Ustawienia zostały <strong>zapisane</strong>."
|
144 |
+
|
145 |
+
#: scb/AdminPage.php:179
|
146 |
+
#: scb/AdminPage.php:189
|
147 |
+
msgid "Save Changes"
|
148 |
+
msgstr "Zapisz zmiany"
|
149 |
+
|
150 |
+
#: scb/AdminPage.php:371
|
151 |
+
msgid "Settings"
|
152 |
+
msgstr "Ustawienia"
|
153 |
+
|
154 |
+
#: wp-pagenavi.php:37
|
155 |
+
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
156 |
+
msgstr "Strona %CURRENT_PAGE% z %TOTAL_PAGES%"
|
157 |
+
|
158 |
+
#: wp-pagenavi.php:40
|
159 |
+
msgid "« First"
|
160 |
+
msgstr "« Pierwsza"
|
161 |
+
|
162 |
+
#: wp-pagenavi.php:41
|
163 |
+
msgid "Last »"
|
164 |
+
msgstr "Ostatnia »"
|
165 |
+
|
166 |
+
#: wp-pagenavi.php:42
|
167 |
+
msgid "«"
|
168 |
+
msgstr "«"
|
169 |
+
|
170 |
+
#: wp-pagenavi.php:43
|
171 |
+
msgid "»"
|
172 |
+
msgstr "»"
|
173 |
+
|
174 |
+
#: wp-pagenavi.php:44
|
175 |
+
#: wp-pagenavi.php:45
|
176 |
+
msgid "..."
|
177 |
+
msgstr "..."
|
178 |
+
|
179 |
+
#. Plugin Name of the plugin/theme
|
180 |
+
msgid "WP-PageNavi"
|
181 |
+
msgstr "WP-PageNavi"
|
182 |
+
|
183 |
+
#. Plugin URI of the plugin/theme
|
184 |
+
msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
185 |
+
msgstr "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
186 |
+
|
187 |
+
#. Description of the plugin/theme
|
188 |
+
msgid "Adds a more advanced paging navigation to your WordPress blog"
|
189 |
+
msgstr "Dodaje bardziej zaawansowaną paginację do twojego bloga na WordPressie"
|
190 |
+
|
191 |
+
#. Author of the plugin/theme
|
192 |
+
msgid "Lester 'GaMerZ' Chan & scribu"
|
193 |
+
msgstr "Lester 'GaMerZ' Chan & scribu"
|
194 |
+
|
lang/wp-pagenavi-sr_RS.mo
ADDED
Binary file
|
lang/wp-pagenavi-sr_RS.po
ADDED
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Serbian translation for WordPress plugin WP-PageNavi 2.73
|
2 |
+
# Copyright (C) 2010 Lester 'GaMerZ' Chan & scribu
|
3 |
+
# This file is distributed under the same license as the WordPress package.
|
4 |
+
# Milan Dinić <milan@srpski.biz> 2011
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: Serbian translation for WordPress plugin WP-PageNavi 2.73\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
|
10 |
+
"POT-Creation-Date: 2010-08-17 17:28+0300\n"
|
11 |
+
"PO-Revision-Date: 2011-03-23 19:39+0100\n"
|
12 |
+
"Last-Translator: Milan Dinić <milan@srpski.biz>\n"
|
13 |
+
"Language-Team: srpski.biz <milan@srpski.biz>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
18 |
+
"X-Poedit-Language: Serbian\n"
|
19 |
+
"X-Poedit-Country: SERBIA\n"
|
20 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
21 |
+
|
22 |
+
#: admin.php:9
|
23 |
+
msgid "PageNavi Settings"
|
24 |
+
msgstr "Подешавања за PageNavi"
|
25 |
+
|
26 |
+
#: admin.php:10
|
27 |
+
msgid "PageNavi"
|
28 |
+
msgstr "PageNavi"
|
29 |
+
|
30 |
+
#: admin.php:28
|
31 |
+
msgid "Text For Number Of Pages"
|
32 |
+
msgstr "Текст за бројеве страница"
|
33 |
+
|
34 |
+
#: admin.php:33
|
35 |
+
msgid "The current page number."
|
36 |
+
msgstr "Број тренутне странице."
|
37 |
+
|
38 |
+
#: admin.php:34
|
39 |
+
#: admin.php:58
|
40 |
+
#: admin.php:66
|
41 |
+
msgid "The total number of pages."
|
42 |
+
msgstr "Укупан број страница."
|
43 |
+
|
44 |
+
#: admin.php:38
|
45 |
+
msgid "Text For Current Page"
|
46 |
+
msgstr "Текст тренутне странице"
|
47 |
+
|
48 |
+
#: admin.php:42
|
49 |
+
#: admin.php:50
|
50 |
+
msgid "The page number."
|
51 |
+
msgstr "Број странице."
|
52 |
+
|
53 |
+
#: admin.php:46
|
54 |
+
msgid "Text For Page"
|
55 |
+
msgstr "Текст за страницу"
|
56 |
+
|
57 |
+
#: admin.php:54
|
58 |
+
msgid "Text For First Page"
|
59 |
+
msgstr "Текст за прву страницу"
|
60 |
+
|
61 |
+
#: admin.php:62
|
62 |
+
msgid "Text For Last Page"
|
63 |
+
msgstr "Текст за последњу страницу"
|
64 |
+
|
65 |
+
#: admin.php:70
|
66 |
+
msgid "Text For Previous Page"
|
67 |
+
msgstr "Текст за претходну страницу"
|
68 |
+
|
69 |
+
#: admin.php:76
|
70 |
+
msgid "Text For Next Page"
|
71 |
+
msgstr "Текст за следећу страницу"
|
72 |
+
|
73 |
+
#: admin.php:82
|
74 |
+
msgid "Text For Previous ..."
|
75 |
+
msgstr "Текст за претходну ..."
|
76 |
+
|
77 |
+
#: admin.php:88
|
78 |
+
msgid "Text For Next ..."
|
79 |
+
msgstr "Текст за следећу ..."
|
80 |
+
|
81 |
+
#: admin.php:95
|
82 |
+
msgid "Page Navigation Text"
|
83 |
+
msgstr "Текст кретања страницама"
|
84 |
+
|
85 |
+
#: admin.php:96
|
86 |
+
msgid "Leaving a field blank will hide that part of the navigation."
|
87 |
+
msgstr "Остављање поља празним ће сакрити тај део кретања."
|
88 |
+
|
89 |
+
#: admin.php:102
|
90 |
+
msgid "Use pagenavi-css.css"
|
91 |
+
msgstr "Користи pagenavi-css.css"
|
92 |
+
|
93 |
+
#: admin.php:108
|
94 |
+
msgid "Page Navigation Style"
|
95 |
+
msgstr "Стил кретања страницама"
|
96 |
+
|
97 |
+
#: admin.php:111
|
98 |
+
msgid "Normal"
|
99 |
+
msgstr "Уобичајени"
|
100 |
+
|
101 |
+
#: admin.php:111
|
102 |
+
msgid "Drop-down List"
|
103 |
+
msgstr "Падајући списак"
|
104 |
+
|
105 |
+
#: admin.php:116
|
106 |
+
msgid "Always Show Page Navigation"
|
107 |
+
msgstr "Увек покажи кретање странама"
|
108 |
+
|
109 |
+
#: admin.php:119
|
110 |
+
msgid "Show navigation even if there's only one page."
|
111 |
+
msgstr "Покажи кретање чак и када постоји само једна страница."
|
112 |
+
|
113 |
+
#: admin.php:123
|
114 |
+
msgid "Number Of Pages To Show"
|
115 |
+
msgstr "Број страница за приказивање"
|
116 |
+
|
117 |
+
#: admin.php:130
|
118 |
+
msgid "Number Of Larger Page Numbers To Show"
|
119 |
+
msgstr "Број већих бројева страница за приказивање"
|
120 |
+
|
121 |
+
#: admin.php:135
|
122 |
+
msgid "Larger page numbers are in addition to the normal page numbers. They are useful when there are many pages of posts."
|
123 |
+
msgstr "Већи бројеви страница су додатак уобичајеним бројевима страница. Корисни су када постоји много страница чланака."
|
124 |
+
|
125 |
+
#: admin.php:136
|
126 |
+
msgid "For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
127 |
+
msgstr "На пример, WP-PageNavi ће приказати: Странице 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
128 |
+
|
129 |
+
#: admin.php:137
|
130 |
+
msgid "Enter 0 to disable."
|
131 |
+
msgstr "Унесите 0 за онемогућавање."
|
132 |
+
|
133 |
+
#: admin.php:141
|
134 |
+
msgid "Show Larger Page Numbers In Multiples Of"
|
135 |
+
msgstr "Прикажи веће бројеве страница у садржаоцима од"
|
136 |
+
|
137 |
+
#: admin.php:146
|
138 |
+
msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
|
139 |
+
msgstr "На пример, ако је садржалац 5, приказиваће: 5, 10, 15, 20, 25"
|
140 |
+
|
141 |
+
#: admin.php:151
|
142 |
+
msgid "Page Navigation Options"
|
143 |
+
msgstr "Могућности кретања страницама"
|
144 |
+
|
145 |
+
#: scb/AdminPage.php:167
|
146 |
+
msgid "Settings <strong>saved</strong>."
|
147 |
+
msgstr "Подешавања су <strong>сачувана</strong>."
|
148 |
+
|
149 |
+
#: scb/AdminPage.php:179
|
150 |
+
#: scb/AdminPage.php:189
|
151 |
+
msgid "Save Changes"
|
152 |
+
msgstr "Сачувај измене"
|
153 |
+
|
154 |
+
#: scb/AdminPage.php:371
|
155 |
+
msgid "Settings"
|
156 |
+
msgstr "Подешавања"
|
157 |
+
|
158 |
+
#: wp-pagenavi.php:37
|
159 |
+
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
160 |
+
msgstr "Страница %CURRENT_PAGE% од %TOTAL_PAGES%"
|
161 |
+
|
162 |
+
#: wp-pagenavi.php:40
|
163 |
+
msgid "« First"
|
164 |
+
msgstr "« Прва"
|
165 |
+
|
166 |
+
#: wp-pagenavi.php:41
|
167 |
+
msgid "Last »"
|
168 |
+
msgstr "Последња »"
|
169 |
+
|
170 |
+
#: wp-pagenavi.php:42
|
171 |
+
msgid "«"
|
172 |
+
msgstr "«"
|
173 |
+
|
174 |
+
#: wp-pagenavi.php:43
|
175 |
+
msgid "»"
|
176 |
+
msgstr "»"
|
177 |
+
|
178 |
+
#: wp-pagenavi.php:44
|
179 |
+
#: wp-pagenavi.php:45
|
180 |
+
msgid "..."
|
181 |
+
msgstr "..."
|
182 |
+
|
183 |
+
#. Plugin Name of the plugin/theme
|
184 |
+
msgid "WP-PageNavi"
|
185 |
+
msgstr "WP-PageNavi"
|
186 |
+
|
187 |
+
#. Plugin URI of the plugin/theme
|
188 |
+
msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
189 |
+
msgstr "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
190 |
+
|
191 |
+
#. Description of the plugin/theme
|
192 |
+
msgid "Adds a more advanced paging navigation to your WordPress blog"
|
193 |
+
msgstr "Додаје напредније кретање страницама вашем Вордпресовом блогу"
|
194 |
+
|
195 |
+
#. Author of the plugin/theme
|
196 |
+
msgid "Lester 'GaMerZ' Chan & scribu"
|
197 |
+
msgstr "Лестер 'GaMerZ' Чен и Скрибу"
|
198 |
+
|
lang/wp-pagenavi-zh_CN.mo
CHANGED
Binary file
|
lang/wp-pagenavi-zh_CN.po
CHANGED
@@ -1,285 +1,247 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WP-PageNavi v2.
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: \n"
|
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 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
"X-Poedit-Language: Chinese\n"
|
14 |
-
"X-Poedit-Country:
|
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;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
"X-Textdomain-Support: yes\n"
|
|
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
-
|
21 |
-
#:
|
22 |
-
|
23 |
-
|
24 |
-
msgid "Page Navigation Options"
|
25 |
-
msgstr "页面导航选项"
|
26 |
|
27 |
-
|
28 |
-
#:
|
29 |
-
msgid "
|
30 |
-
msgstr "
|
31 |
-
|
32 |
-
#@ wp-pagenavi
|
33 |
-
#: pagenavi-options.php:58
|
34 |
-
msgid "No Page Navigation Option Updated"
|
35 |
-
msgstr "无选项更新"
|
36 |
-
|
37 |
-
#@ wp-pagenavi
|
38 |
-
#: pagenavi-options.php:64
|
39 |
-
#: pagenavi-options.php:265
|
40 |
-
msgid "UNINSTALL WP-PageNavi"
|
41 |
-
msgstr "删除 WP-PageNavi"
|
42 |
-
|
43 |
-
#@ wp-pagenavi
|
44 |
-
#: pagenavi-options.php:72
|
45 |
-
#, php-format
|
46 |
-
msgid "Setting Key '%s' has been deleted."
|
47 |
-
msgstr "设置键值“%s”已被删除。"
|
48 |
-
|
49 |
-
#@ wp-pagenavi
|
50 |
-
#: pagenavi-options.php:76
|
51 |
-
#, php-format
|
52 |
-
msgid "Error deleting Setting Key '%s'."
|
53 |
-
msgstr "无法删除设置键值“%s”。"
|
54 |
-
|
55 |
-
#@ wp-pagenavi
|
56 |
-
#: pagenavi-options.php:98
|
57 |
-
#: pagenavi-options.php:233
|
58 |
-
msgid "Uninstall WP-PageNavi"
|
59 |
-
msgstr "删除 WP-PageNavi"
|
60 |
-
|
61 |
-
#@ wp-pagenavi
|
62 |
-
#: pagenavi-options.php:99
|
63 |
-
#, php-format
|
64 |
-
msgid "<a href=\"%s\">Click Here</a> To Finish The Uninstallation And WP-PageNavi Will Be Deactivated Automatically."
|
65 |
-
msgstr "<a href=\"%s\">点击此处</a> 来完成卸载,稍后 WP-PageNavi 会自动禁用。"
|
66 |
-
|
67 |
-
#@ wp-pagenavi
|
68 |
-
#: pagenavi-options.php:111
|
69 |
-
msgid "Page Navigation Text"
|
70 |
-
msgstr "页面导航文字"
|
71 |
|
72 |
-
|
73 |
-
#:
|
74 |
msgid "Text For Number Of Pages"
|
75 |
msgstr "“页数”文字设置"
|
76 |
|
77 |
-
|
78 |
-
#:
|
79 |
msgid "The current page number."
|
80 |
msgstr "当前页数"
|
81 |
|
82 |
-
|
83 |
-
#:
|
84 |
-
#:
|
85 |
-
#:
|
86 |
msgid "The total number of pages."
|
87 |
msgstr "所有页数"
|
88 |
|
89 |
-
|
90 |
-
#:
|
91 |
msgid "Text For Current Page"
|
92 |
msgstr "“当前页数”文字设置"
|
93 |
|
94 |
-
|
95 |
-
#:
|
96 |
-
#:
|
97 |
msgid "The page number."
|
98 |
msgstr "页数"
|
99 |
|
100 |
-
|
101 |
-
#:
|
102 |
msgid "Text For Page"
|
103 |
msgstr "“页数”文字设置"
|
104 |
|
105 |
-
|
106 |
-
#:
|
107 |
-
msgid "Text For First
|
108 |
msgstr "“首页”文字设置"
|
109 |
|
110 |
-
|
111 |
-
#:
|
112 |
-
msgid "Text For Last
|
113 |
-
msgstr "
|
114 |
-
|
115 |
-
#@ wp-pagenavi
|
116 |
-
#: pagenavi-options.php:150
|
117 |
-
msgid "Text For Next Post"
|
118 |
-
msgstr "“上一页”文字设置"
|
119 |
|
120 |
-
|
121 |
-
#:
|
122 |
-
msgid "Text For Previous
|
123 |
msgstr "“下一页”文字设置"
|
124 |
|
125 |
-
|
126 |
-
#:
|
127 |
-
msgid "Text For Next
|
128 |
-
msgstr "
|
129 |
|
130 |
-
|
131 |
-
#:
|
132 |
msgid "Text For Previous ..."
|
133 |
msgstr "“下一页”省略文字设置"
|
134 |
|
135 |
-
|
136 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
msgid "Page Navigation Style"
|
138 |
-
msgstr "
|
139 |
|
140 |
-
|
141 |
-
#:
|
142 |
msgid "Normal"
|
143 |
msgstr "正常"
|
144 |
|
145 |
-
|
146 |
-
#:
|
147 |
-
msgid "Drop
|
148 |
msgstr "下拉列表"
|
149 |
|
150 |
-
|
151 |
-
#:
|
152 |
-
msgid "
|
153 |
-
msgstr "
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
#: pagenavi-options.php:196
|
168 |
-
msgid "No"
|
169 |
-
msgstr "否"
|
170 |
-
|
171 |
-
#@ wp-pagenavi
|
172 |
-
#: pagenavi-options.php:201
|
173 |
-
msgid "Number Of Larger Page Numbers To Show?"
|
174 |
msgstr "显示较大页面页数"
|
175 |
|
176 |
-
|
177 |
-
#:
|
178 |
-
msgid "Larger page numbers are in
|
179 |
msgstr "显示较大页面的页数,通常针对于文章非常多的站点。"
|
180 |
|
181 |
-
|
182 |
-
#:
|
183 |
-
msgid "For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, 50"
|
184 |
msgstr "例如,WP-PageNavi 会显示为:页面 1, 2, 3, 4, 5, 10, 20, 30, 40, 50"
|
185 |
|
186 |
-
|
187 |
-
#:
|
188 |
msgid "Enter 0 to disable."
|
189 |
msgstr "输入 0 可以禁用此功能。"
|
190 |
|
191 |
-
|
192 |
-
#:
|
193 |
-
msgid "Show
|
194 |
msgstr "大页面页数的显示倍数:"
|
195 |
|
196 |
-
|
197 |
-
#:
|
198 |
-
msgid "
|
199 |
msgstr "如果倍数设置为 5,将会显示为:5, 10, 15, 20, 25"
|
200 |
|
201 |
-
|
202 |
-
#:
|
203 |
-
msgid "
|
204 |
-
msgstr "
|
|
|
|
|
|
|
|
|
205 |
|
206 |
-
|
207 |
-
#:
|
|
|
208 |
msgid "Save Changes"
|
209 |
msgstr "保存更改"
|
210 |
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
msgstr "禁用 WP-PageNavi 插件并不会删除此插件曾经创建过的数据,例如页面导航的选项。如果您想完整删除插件的相关内容,您可以选择卸载它"
|
215 |
-
|
216 |
-
#@ wp-pagenavi
|
217 |
-
#: pagenavi-options.php:238
|
218 |
-
msgid "WARNING:"
|
219 |
-
msgstr "注意:"
|
220 |
-
|
221 |
-
#@ wp-pagenavi
|
222 |
-
#: pagenavi-options.php:239
|
223 |
-
msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first."
|
224 |
-
msgstr "一旦您卸载此插件,此操作就不可撤销,在您删除插件之前建议您使用数据库备份插件备份好数据库。"
|
225 |
-
|
226 |
-
#@ wp-pagenavi
|
227 |
-
#: pagenavi-options.php:242
|
228 |
-
msgid "The following WordPress Options will be DELETED:"
|
229 |
-
msgstr "下列 WordPress 选项将被删除:"
|
230 |
-
|
231 |
-
#@ wp-pagenavi
|
232 |
-
#: pagenavi-options.php:247
|
233 |
-
msgid "WordPress Options"
|
234 |
-
msgstr "WordPress 选项(表)"
|
235 |
-
|
236 |
-
#@ wp-pagenavi
|
237 |
-
#: pagenavi-options.php:265
|
238 |
-
msgid ""
|
239 |
-
"You Are About To Uninstall WP-PageNavi From WordPress.\n"
|
240 |
-
"This Action Is Not Reversible.\n"
|
241 |
-
"\n"
|
242 |
-
" Choose [Cancel] To Stop, [OK] To Uninstall."
|
243 |
-
msgstr ""
|
244 |
-
"您即将从 WordPress 中卸载 WP-PageNavi。\n"
|
245 |
-
"此动作不可撤销。\n"
|
246 |
-
"\n"
|
247 |
-
" 点击 [取消] 停止此操作,[确定] 继续卸载。"
|
248 |
-
|
249 |
-
#@ wp-pagenavi
|
250 |
-
#: wp-pagenavi.php:42
|
251 |
-
msgid "PageNavi"
|
252 |
-
msgstr "页面导航"
|
253 |
|
254 |
-
|
255 |
-
#: wp-pagenavi.php:
|
256 |
-
#, php-format
|
257 |
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
258 |
msgstr "第 %CURRENT_PAGE% 页,共 %TOTAL_PAGES% 页"
|
259 |
|
260 |
-
|
261 |
-
#: wp-pagenavi.php:
|
262 |
msgid "« First"
|
263 |
msgstr "« 最新"
|
264 |
|
265 |
-
|
266 |
-
#: wp-pagenavi.php:
|
267 |
msgid "Last »"
|
268 |
msgstr "最旧 »"
|
269 |
|
270 |
-
|
271 |
-
#: wp-pagenavi.php:
|
|
|
|
|
|
|
|
|
|
|
272 |
msgid "»"
|
273 |
msgstr "»"
|
274 |
|
275 |
-
|
276 |
-
#: wp-pagenavi.php:
|
277 |
-
|
278 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
|
280 |
-
|
281 |
-
|
282 |
-
|
|
|
|
|
283 |
msgid "..."
|
284 |
msgstr "..."
|
285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WP-PageNavi v2.73\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
|
5 |
+
"POT-Creation-Date: 2010-08-17 17:28+0300\n"
|
6 |
+
"PO-Revision-Date: 2011-01-18 12:07+0800\n"
|
7 |
+
"Last-Translator: Vanish <v@vzone.me>\n"
|
8 |
+
"Language-Team: ViDo <v@vzone.me>\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: Chinese\n"
|
14 |
+
"X-Poedit-Country: CHINA\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;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
"X-Textdomain-Support: yes\n"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
+
# @ wp-pagenavi
|
22 |
+
#: admin.php:9
|
23 |
+
msgid "PageNavi Settings"
|
24 |
+
msgstr "分页导航选项"
|
|
|
|
|
25 |
|
26 |
+
# @ wp-pagenavi
|
27 |
+
#: admin.php:10
|
28 |
+
msgid "PageNavi"
|
29 |
+
msgstr "分页导航"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
+
# @ wp-pagenavi
|
32 |
+
#: admin.php:28
|
33 |
msgid "Text For Number Of Pages"
|
34 |
msgstr "“页数”文字设置"
|
35 |
|
36 |
+
# @ wp-pagenavi
|
37 |
+
#: admin.php:33
|
38 |
msgid "The current page number."
|
39 |
msgstr "当前页数"
|
40 |
|
41 |
+
# @ wp-pagenavi
|
42 |
+
#: admin.php:34
|
43 |
+
#: admin.php:58
|
44 |
+
#: admin.php:66
|
45 |
msgid "The total number of pages."
|
46 |
msgstr "所有页数"
|
47 |
|
48 |
+
# @ wp-pagenavi
|
49 |
+
#: admin.php:38
|
50 |
msgid "Text For Current Page"
|
51 |
msgstr "“当前页数”文字设置"
|
52 |
|
53 |
+
# @ wp-pagenavi
|
54 |
+
#: admin.php:42
|
55 |
+
#: admin.php:50
|
56 |
msgid "The page number."
|
57 |
msgstr "页数"
|
58 |
|
59 |
+
# @ wp-pagenavi
|
60 |
+
#: admin.php:46
|
61 |
msgid "Text For Page"
|
62 |
msgstr "“页数”文字设置"
|
63 |
|
64 |
+
# @ wp-pagenavi
|
65 |
+
#: admin.php:54
|
66 |
+
msgid "Text For First Page"
|
67 |
msgstr "“首页”文字设置"
|
68 |
|
69 |
+
# @ wp-pagenavi
|
70 |
+
#: admin.php:62
|
71 |
+
msgid "Text For Last Page"
|
72 |
+
msgstr "“页数”文字设置"
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
# @ wp-pagenavi
|
75 |
+
#: admin.php:70
|
76 |
+
msgid "Text For Previous Page"
|
77 |
msgstr "“下一页”文字设置"
|
78 |
|
79 |
+
# @ wp-pagenavi
|
80 |
+
#: admin.php:76
|
81 |
+
msgid "Text For Next Page"
|
82 |
+
msgstr "“页数”文字设置"
|
83 |
|
84 |
+
# @ wp-pagenavi
|
85 |
+
#: admin.php:82
|
86 |
msgid "Text For Previous ..."
|
87 |
msgstr "“下一页”省略文字设置"
|
88 |
|
89 |
+
# @ wp-pagenavi
|
90 |
+
#: admin.php:88
|
91 |
+
msgid "Text For Next ..."
|
92 |
+
msgstr "“上一页”省略文字设置"
|
93 |
+
|
94 |
+
# @ wp-pagenavi
|
95 |
+
#: admin.php:95
|
96 |
+
msgid "Page Navigation Text"
|
97 |
+
msgstr "分页导航文字"
|
98 |
+
|
99 |
+
#: admin.php:96
|
100 |
+
msgid "Leaving a field blank will hide that part of the navigation."
|
101 |
+
msgstr "将隐藏导航区域留下的空白的部分。"
|
102 |
+
|
103 |
+
#: admin.php:102
|
104 |
+
msgid "Use pagenavi-css.css"
|
105 |
+
msgstr "使用pagenavi- css.css"
|
106 |
+
|
107 |
+
# @ wp-pagenavi
|
108 |
+
#: admin.php:108
|
109 |
msgid "Page Navigation Style"
|
110 |
+
msgstr "分页导航选项"
|
111 |
|
112 |
+
# @ wp-pagenavi
|
113 |
+
#: admin.php:111
|
114 |
msgid "Normal"
|
115 |
msgstr "正常"
|
116 |
|
117 |
+
# @ wp-pagenavi
|
118 |
+
#: admin.php:111
|
119 |
+
msgid "Drop-down List"
|
120 |
msgstr "下拉列表"
|
121 |
|
122 |
+
# @ wp-pagenavi
|
123 |
+
#: admin.php:116
|
124 |
+
msgid "Always Show Page Navigation"
|
125 |
+
msgstr "总是显示页面导航"
|
126 |
+
|
127 |
+
#: admin.php:119
|
128 |
+
msgid "Show navigation even if there's only one page."
|
129 |
+
msgstr "即使只有一个网页也显示导航。"
|
130 |
+
|
131 |
+
# @ wp-pagenavi
|
132 |
+
#: admin.php:123
|
133 |
+
msgid "Number Of Pages To Show"
|
134 |
+
msgstr "显示多少页数"
|
135 |
+
|
136 |
+
# @ wp-pagenavi
|
137 |
+
#: admin.php:130
|
138 |
+
msgid "Number Of Larger Page Numbers To Show"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
msgstr "显示较大页面页数"
|
140 |
|
141 |
+
# @ wp-pagenavi
|
142 |
+
#: admin.php:135
|
143 |
+
msgid "Larger page numbers are in addition to the normal page numbers. They are useful when there are many pages of posts."
|
144 |
msgstr "显示较大页面的页数,通常针对于文章非常多的站点。"
|
145 |
|
146 |
+
# @ wp-pagenavi
|
147 |
+
#: admin.php:136
|
148 |
+
msgid "For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
149 |
msgstr "例如,WP-PageNavi 会显示为:页面 1, 2, 3, 4, 5, 10, 20, 30, 40, 50"
|
150 |
|
151 |
+
# @ wp-pagenavi
|
152 |
+
#: admin.php:137
|
153 |
msgid "Enter 0 to disable."
|
154 |
msgstr "输入 0 可以禁用此功能。"
|
155 |
|
156 |
+
# @ wp-pagenavi
|
157 |
+
#: admin.php:141
|
158 |
+
msgid "Show Larger Page Numbers In Multiples Of"
|
159 |
msgstr "大页面页数的显示倍数:"
|
160 |
|
161 |
+
# @ wp-pagenavi
|
162 |
+
#: admin.php:146
|
163 |
+
msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
|
164 |
msgstr "如果倍数设置为 5,将会显示为:5, 10, 15, 20, 25"
|
165 |
|
166 |
+
# @ wp-pagenavi
|
167 |
+
#: admin.php:151
|
168 |
+
msgid "Page Navigation Options"
|
169 |
+
msgstr "页面导航选项"
|
170 |
+
|
171 |
+
#: scb/AdminPage.php:167
|
172 |
+
msgid "Settings <strong>saved</strong>."
|
173 |
+
msgstr "选项<strong>保存</strong>."
|
174 |
|
175 |
+
# @ wp-pagenavi
|
176 |
+
#: scb/AdminPage.php:179
|
177 |
+
#: scb/AdminPage.php:189
|
178 |
msgid "Save Changes"
|
179 |
msgstr "保存更改"
|
180 |
|
181 |
+
#: scb/AdminPage.php:371
|
182 |
+
msgid "Settings"
|
183 |
+
msgstr "选项"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
|
185 |
+
# @ wp-pagenavi
|
186 |
+
#: wp-pagenavi.php:37
|
|
|
187 |
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
188 |
msgstr "第 %CURRENT_PAGE% 页,共 %TOTAL_PAGES% 页"
|
189 |
|
190 |
+
# @ wp-pagenavi
|
191 |
+
#: wp-pagenavi.php:40
|
192 |
msgid "« First"
|
193 |
msgstr "« 最新"
|
194 |
|
195 |
+
# @ wp-pagenavi
|
196 |
+
#: wp-pagenavi.php:41
|
197 |
msgid "Last »"
|
198 |
msgstr "最旧 »"
|
199 |
|
200 |
+
# @ wp-pagenavi
|
201 |
+
#: wp-pagenavi.php:42
|
202 |
+
msgid "«"
|
203 |
+
msgstr "«"
|
204 |
+
|
205 |
+
# @ wp-pagenavi
|
206 |
+
#: wp-pagenavi.php:43
|
207 |
msgid "»"
|
208 |
msgstr "»"
|
209 |
|
210 |
+
# @ wp-pagenavi
|
211 |
+
#: wp-pagenavi.php:44
|
212 |
+
#: wp-pagenavi.php:45
|
213 |
+
msgid "..."
|
214 |
+
msgstr "..."
|
215 |
+
|
216 |
+
# @ wp-pagenavi
|
217 |
+
#. Plugin Name of the plugin/theme
|
218 |
+
msgid "WP-PageNavi"
|
219 |
+
msgstr "WP-PageNavi分页导航"
|
220 |
+
|
221 |
+
#. Plugin URI of the plugin/theme
|
222 |
+
msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#. Description of the plugin/theme
|
226 |
+
msgid "Adds a more advanced paging navigation to your WordPress blog"
|
227 |
+
msgstr "增加了一个更美观实用的分页导航到你的WordPress博客"
|
228 |
|
229 |
+
#. Author of the plugin/theme
|
230 |
+
msgid "Lester 'GaMerZ' Chan & scribu"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
agenavi.php:45
|
234 |
msgid "..."
|
235 |
msgstr "..."
|
236 |
|
237 |
+
# @ wp-pagenavi
|
238 |
+
#. Plugin Name of the plugin/theme
|
239 |
+
msgid "WP-PageNavi"
|
240 |
+
msgstr "WP-PageNavi分页导航"
|
241 |
+
|
242 |
+
#. Plugin URI of the plugin/theme
|
243 |
+
msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#. Description of the plugin/theme
|
247 |
+
msgid "Adds a more advanced paging
|
lang/wp-pagenavi-zh_TW.mo
ADDED
Binary file
|
lang/wp-pagenavi-zh_TW.po
ADDED
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WP-PageNavi v2.73\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
|
5 |
+
"POT-Creation-Date: 2010-08-17 17:28+0300\n"
|
6 |
+
"PO-Revision-Date: 2011-02-22 16:39+0800\n"
|
7 |
+
"Last-Translator: Sh2153 <sh2153@gmail.com>\n"
|
8 |
+
"Language-Team: sh2153 <sh2153@gmail.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: Chinese\n"
|
14 |
+
"X-Poedit-Country: TAIWAN\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;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
+
"X-Textdomain-Support: yes\n"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
# @ wp-pagenavi
|
22 |
+
#: admin.php:9
|
23 |
+
msgid "PageNavi Settings"
|
24 |
+
msgstr "換頁導航選項"
|
25 |
+
|
26 |
+
# @ wp-pagenavi
|
27 |
+
#: admin.php:10
|
28 |
+
msgid "PageNavi"
|
29 |
+
msgstr "換頁導航"
|
30 |
+
|
31 |
+
# @ wp-pagenavi
|
32 |
+
#: admin.php:28
|
33 |
+
msgid "Text For Number Of Pages"
|
34 |
+
msgstr "“頁數”文字設定"
|
35 |
+
|
36 |
+
# @ wp-pagenavi
|
37 |
+
#: admin.php:33
|
38 |
+
msgid "The current page number."
|
39 |
+
msgstr "目前頁數"
|
40 |
+
|
41 |
+
# @ wp-pagenavi
|
42 |
+
#: admin.php:34
|
43 |
+
#: admin.php:58
|
44 |
+
#: admin.php:66
|
45 |
+
msgid "The total number of pages."
|
46 |
+
msgstr "所有頁數"
|
47 |
+
|
48 |
+
# @ wp-pagenavi
|
49 |
+
#: admin.php:38
|
50 |
+
msgid "Text For Current Page"
|
51 |
+
msgstr "“目前頁數”文字設定"
|
52 |
+
|
53 |
+
# @ wp-pagenavi
|
54 |
+
#: admin.php:42
|
55 |
+
#: admin.php:50
|
56 |
+
msgid "The page number."
|
57 |
+
msgstr "頁數"
|
58 |
+
|
59 |
+
# @ wp-pagenavi
|
60 |
+
#: admin.php:46
|
61 |
+
msgid "Text For Page"
|
62 |
+
msgstr "“頁數”文字設定"
|
63 |
+
|
64 |
+
# @ wp-pagenavi
|
65 |
+
#: admin.php:54
|
66 |
+
msgid "Text For First Page"
|
67 |
+
msgstr "“首頁”文字設定"
|
68 |
+
|
69 |
+
# @ wp-pagenavi
|
70 |
+
#: admin.php:62
|
71 |
+
msgid "Text For Last Page"
|
72 |
+
msgstr "“頁數”文字設定"
|
73 |
+
|
74 |
+
# @ wp-pagenavi
|
75 |
+
#: admin.php:70
|
76 |
+
msgid "Text For Previous Page"
|
77 |
+
msgstr "“下一頁”文字設定"
|
78 |
+
|
79 |
+
# @ wp-pagenavi
|
80 |
+
#: admin.php:76
|
81 |
+
msgid "Text For Next Page"
|
82 |
+
msgstr "“頁數”文字設定"
|
83 |
+
|
84 |
+
# @ wp-pagenavi
|
85 |
+
#: admin.php:82
|
86 |
+
msgid "Text For Previous ..."
|
87 |
+
msgstr "“下一頁”省略文字設定"
|
88 |
+
|
89 |
+
# @ wp-pagenavi
|
90 |
+
#: admin.php:88
|
91 |
+
msgid "Text For Next ..."
|
92 |
+
msgstr "“上一頁”省略文字設定"
|
93 |
+
|
94 |
+
# @ wp-pagenavi
|
95 |
+
#: admin.php:95
|
96 |
+
msgid "Page Navigation Text"
|
97 |
+
msgstr "換頁導航文字"
|
98 |
+
|
99 |
+
#: admin.php:96
|
100 |
+
msgid "Leaving a field blank will hide that part of the navigation."
|
101 |
+
msgstr "將隱藏導航區域留下的空白的部分。"
|
102 |
+
|
103 |
+
#: admin.php:102
|
104 |
+
msgid "Use pagenavi-css.css"
|
105 |
+
msgstr "使用pagenavi- css.css"
|
106 |
+
|
107 |
+
# @ wp-pagenavi
|
108 |
+
#: admin.php:108
|
109 |
+
msgid "Page Navigation Style"
|
110 |
+
msgstr "換頁導航樣式"
|
111 |
+
|
112 |
+
# @ wp-pagenavi
|
113 |
+
#: admin.php:111
|
114 |
+
msgid "Normal"
|
115 |
+
msgstr "正常"
|
116 |
+
|
117 |
+
# @ wp-pagenavi
|
118 |
+
#: admin.php:111
|
119 |
+
msgid "Drop-down List"
|
120 |
+
msgstr "下拉列表"
|
121 |
+
|
122 |
+
# @ wp-pagenavi
|
123 |
+
#: admin.php:116
|
124 |
+
msgid "Always Show Page Navigation"
|
125 |
+
msgstr "始終顯示換頁導航"
|
126 |
+
|
127 |
+
#: admin.php:119
|
128 |
+
msgid "Show navigation even if there's only one page."
|
129 |
+
msgstr "即使只有一個網頁也顯示導航。"
|
130 |
+
|
131 |
+
# @ wp-pagenavi
|
132 |
+
#: admin.php:123
|
133 |
+
msgid "Number Of Pages To Show"
|
134 |
+
msgstr "顯示多少頁數"
|
135 |
+
|
136 |
+
# @ wp-pagenavi
|
137 |
+
#: admin.php:130
|
138 |
+
msgid "Number Of Larger Page Numbers To Show"
|
139 |
+
msgstr "顯示較大頁面頁數"
|
140 |
+
|
141 |
+
# @ wp-pagenavi
|
142 |
+
#: admin.php:135
|
143 |
+
msgid "Larger page numbers are in addition to the normal page numbers. They are useful when there are many pages of posts."
|
144 |
+
msgstr "顯示較大頁面的頁數,通常針對於文章非常多的站點。"
|
145 |
+
|
146 |
+
# @ wp-pagenavi
|
147 |
+
#: admin.php:136
|
148 |
+
msgid "For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
|
149 |
+
msgstr "例如,WP-PageNavi 會顯示為:頁面 1, 2, 3, 4, 5, 10, 20, 30, 40, 50"
|
150 |
+
|
151 |
+
# @ wp-pagenavi
|
152 |
+
#: admin.php:137
|
153 |
+
msgid "Enter 0 to disable."
|
154 |
+
msgstr "輸入0可以禁用此功能。"
|
155 |
+
|
156 |
+
# @ wp-pagenavi
|
157 |
+
#: admin.php:141
|
158 |
+
msgid "Show Larger Page Numbers In Multiples Of"
|
159 |
+
msgstr "顯示較大的頁面數的倍數"
|
160 |
+
|
161 |
+
# @ wp-pagenavi
|
162 |
+
#: admin.php:146
|
163 |
+
msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
|
164 |
+
msgstr "如果倍數設置為5,將會顯示為:5,10,15,20,25"
|
165 |
+
|
166 |
+
# @ wp-pagenavi
|
167 |
+
#: admin.php:151
|
168 |
+
msgid "Page Navigation Options"
|
169 |
+
msgstr "換面導航選項"
|
170 |
+
|
171 |
+
#: scb/AdminPage.php:167
|
172 |
+
msgid "Settings <strong>saved</strong>."
|
173 |
+
msgstr "選項<strong>保存</strong>."
|
174 |
+
|
175 |
+
# @ wp-pagenavi
|
176 |
+
#: scb/AdminPage.php:179
|
177 |
+
#: scb/AdminPage.php:189
|
178 |
+
msgid "Save Changes"
|
179 |
+
msgstr "保存更改"
|
180 |
+
|
181 |
+
#: scb/AdminPage.php:371
|
182 |
+
msgid "Settings"
|
183 |
+
msgstr "設置"
|
184 |
+
|
185 |
+
# @ wp-pagenavi
|
186 |
+
#: wp-pagenavi.php:37
|
187 |
+
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
188 |
+
msgstr "第 %CURRENT_PAGE% 頁,共 %TOTAL_PAGES% 頁"
|
189 |
+
|
190 |
+
# @ wp-pagenavi
|
191 |
+
#: wp-pagenavi.php:40
|
192 |
+
msgid "« First"
|
193 |
+
msgstr "« 最新"
|
194 |
+
|
195 |
+
# @ wp-pagenavi
|
196 |
+
#: wp-pagenavi.php:41
|
197 |
+
msgid "Last »"
|
198 |
+
msgstr "最後 »"
|
199 |
+
|
200 |
+
# @ wp-pagenavi
|
201 |
+
#: wp-pagenavi.php:42
|
202 |
+
msgid "«"
|
203 |
+
msgstr "«"
|
204 |
+
|
205 |
+
# @ wp-pagenavi
|
206 |
+
#: wp-pagenavi.php:43
|
207 |
+
msgid "»"
|
208 |
+
msgstr "»"
|
209 |
+
|
210 |
+
# @ wp-pagenavi
|
211 |
+
#: wp-pagenavi.php:44
|
212 |
+
#: wp-pagenavi.php:45
|
213 |
+
msgid "..."
|
214 |
+
msgstr "..."
|
215 |
+
|
216 |
+
# @ wp-pagenavi
|
217 |
+
#. Plugin Name of the plugin/theme
|
218 |
+
msgid "WP-PageNavi"
|
219 |
+
msgstr "WP-PageNav換頁導航"
|
220 |
+
|
221 |
+
#. Plugin URI of the plugin/theme
|
222 |
+
msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#. Description of the plugin/theme
|
226 |
+
msgid "Adds a more advanced paging navigation to your WordPress blog"
|
227 |
+
msgstr "增加了一個更美觀實用的分頁導航到你的WordPress的博客"
|
228 |
+
|
229 |
+
#. Author of the plugin/theme
|
230 |
+
msgid "Lester 'GaMerZ' Chan & scribu"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
msgid "..."
|
234 |
+
msgstr "..."
|
235 |
+
|
236 |
+
# @ wp-pagenavi
|
237 |
+
#. Plugin Name of the plugin/theme
|
238 |
+
msgid "WP-PageNavi"
|
239 |
+
msgstr "WP-PageNavi換頁導航"
|
240 |
+
|
241 |
+
#. Plugin URI of the plugin/theme
|
242 |
+
msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
|
243 |
+
msgstr ""
|
244 |
+
|
readme.txt
CHANGED
@@ -1,25 +1,18 @@
|
|
1 |
=== WP-PageNavi ===
|
2 |
Contributors: GamerZ, scribu
|
3 |
-
Donate link: http://lesterchan.net/wordpress
|
4 |
Tags: navigation, pagination, paging, pages
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.
|
8 |
|
9 |
-
Adds a more advanced paging navigation
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
[PHP5 is required since version 2.70](http://scribu.net/wordpress/wp-pagenavi/wp-2-70.html)
|
14 |
|
15 |
-
|
16 |
|
17 |
-
Example:
|
18 |
-
|
19 |
-
Pages (17): [1] 2 3 4 » ... Last »
|
20 |
-
|
21 |
-
|
22 |
-
<br>
|
23 |
Links: [Demo](http://lesterchan.net/wordpress/) | [Plugin News](http://scribu.net/wordpress/wp-pagenavi/) | [Translating](http://scribu.net/wordpress/translating-plugins.html)
|
24 |
|
25 |
== Installation ==
|
@@ -31,9 +24,20 @@ You can either install it automatically from the WordPress admin, or do it manua
|
|
31 |
|
32 |
= Usage =
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
= Changing the CSS =
|
39 |
|
@@ -56,16 +60,26 @@ Make sure your host is running PHP 5. The only foolproof way to do this is to ad
|
|
56 |
`var_dump(PHP_VERSION);`
|
57 |
<br>
|
58 |
|
59 |
-
= Doesn't work with query_posts() =
|
60 |
|
61 |
-
Read [
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
|
|
|
|
|
|
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= 2.73 (2010-08-17) =
|
70 |
* added $options arg to wp_pagenavi()
|
71 |
* updated scbFramework
|
1 |
=== WP-PageNavi ===
|
2 |
Contributors: GamerZ, scribu
|
|
|
3 |
Tags: navigation, pagination, paging, pages
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 3.1
|
6 |
+
Stable tag: 2.74
|
7 |
|
8 |
+
Adds a more advanced paging navigation interface.
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
[PHP5 is required since version 2.70](http://scribu.net/wordpress/wp-pagenavi/wp-2-70.html)
|
13 |
|
14 |
+
Replaces the basic *← Older posts | Newer posts →* links with a more advanced paging navigation interface.
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
Links: [Demo](http://lesterchan.net/wordpress/) | [Plugin News](http://scribu.net/wordpress/wp-pagenavi/) | [Translating](http://scribu.net/wordpress/translating-plugins.html)
|
17 |
|
18 |
== Installation ==
|
24 |
|
25 |
= Usage =
|
26 |
|
27 |
+
In your theme, you need to find calls to next_posts_link() and previous_posts_link() and replace them.
|
28 |
+
|
29 |
+
In the Twentyten theme, it looks like this:
|
30 |
+
|
31 |
+
`
|
32 |
+
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyten' ) ); ?></div>
|
33 |
+
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
|
34 |
+
`
|
35 |
+
|
36 |
+
You would replace those two lines with this:
|
37 |
+
|
38 |
+
`<?php wp_pagenavi(); ?>`
|
39 |
+
|
40 |
+
Go to *WP-Admin -> Settings -> PageNavi* for configuration.
|
41 |
|
42 |
= Changing the CSS =
|
43 |
|
60 |
`var_dump(PHP_VERSION);`
|
61 |
<br>
|
62 |
|
63 |
+
= Doesn't work with query_posts() or custom query =
|
64 |
|
65 |
+
Read [this tutorial](http://scribu.net/wordpress/wp-pagenavi/wpn-2-74.html)
|
66 |
|
67 |
+
= How do I ignore the options page? =
|
68 |
|
69 |
+
If you are running a multi-language plugin, you will probably want to ignore the strings in the options page.
|
70 |
+
|
71 |
+
You can do that like so:
|
72 |
+
|
73 |
+
`<?php wp_pagenavi( array( 'options' => PageNavi_Core::$options->get_defaults() ) ); ?>`
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 2.74 (2011-02-17) =
|
78 |
+
* added 'smaller' and 'larger' classes
|
79 |
+
* added $query arg to wp_pagenavi()
|
80 |
+
* updated translations
|
81 |
+
* [more info](http://scribu.net/wordpress/wp-pagenavi/wpn-2-74.html)
|
82 |
+
|
83 |
= 2.73 (2010-08-17) =
|
84 |
* added $options arg to wp_pagenavi()
|
85 |
* updated scbFramework
|
scb/AdminPage.php
CHANGED
@@ -35,9 +35,6 @@ abstract class scbAdminPage {
|
|
35 |
// l10n
|
36 |
protected $textdomain;
|
37 |
|
38 |
-
// Formdata used for filling the form elements
|
39 |
-
protected $formdata = array();
|
40 |
-
|
41 |
|
42 |
// ____________REGISTRATION COMPONENT____________
|
43 |
|
@@ -85,10 +82,8 @@ abstract class scbAdminPage {
|
|
85 |
|
86 |
// Constructor
|
87 |
function __construct( $file, $options = NULL ) {
|
88 |
-
if (
|
89 |
$this->options = $options;
|
90 |
-
$this->formdata = $this->options->get();
|
91 |
-
}
|
92 |
|
93 |
$this->file = $file;
|
94 |
$this->plugin_url = plugin_dir_url( $file );
|
@@ -147,16 +142,18 @@ abstract class scbAdminPage {
|
|
147 |
|
148 |
check_admin_referer( $this->nonce );
|
149 |
|
150 |
-
|
151 |
-
|
152 |
-
|
|
|
|
|
|
|
153 |
|
154 |
$new_data = stripslashes_deep( $new_data );
|
155 |
|
156 |
-
$
|
157 |
|
158 |
-
|
159 |
-
$this->options->set( $this->formdata );
|
160 |
|
161 |
$this->admin_msg();
|
162 |
}
|
@@ -286,8 +283,8 @@ abstract class scbAdminPage {
|
|
286 |
}
|
287 |
|
288 |
function input( $args, $formdata = array() ) {
|
289 |
-
if ( empty( $formdata ) )
|
290 |
-
$formdata = $this->
|
291 |
|
292 |
if ( isset( $args['name_tree'] ) ) {
|
293 |
$tree = ( array ) $args['name_tree'];
|
35 |
// l10n
|
36 |
protected $textdomain;
|
37 |
|
|
|
|
|
|
|
38 |
|
39 |
// ____________REGISTRATION COMPONENT____________
|
40 |
|
82 |
|
83 |
// Constructor
|
84 |
function __construct( $file, $options = NULL ) {
|
85 |
+
if ( is_a( $options, 'scbOptions' ) )
|
86 |
$this->options = $options;
|
|
|
|
|
87 |
|
88 |
$this->file = $file;
|
89 |
$this->plugin_url = plugin_dir_url( $file );
|
142 |
|
143 |
check_admin_referer( $this->nonce );
|
144 |
|
145 |
+
if ( !isset($this->options) ) {
|
146 |
+
trigger_error('options handler not set', E_USER_WARNING);
|
147 |
+
return false;
|
148 |
+
}
|
149 |
+
|
150 |
+
$new_data = scbUtil::array_extract( $_POST, array_keys( $this->options->get_defaults() ) );
|
151 |
|
152 |
$new_data = stripslashes_deep( $new_data );
|
153 |
|
154 |
+
$new_data = $this->validate( $new_data, $this->options->get() );
|
155 |
|
156 |
+
$this->options->set( $new_data );
|
|
|
157 |
|
158 |
$this->admin_msg();
|
159 |
}
|
283 |
}
|
284 |
|
285 |
function input( $args, $formdata = array() ) {
|
286 |
+
if ( empty( $formdata ) && isset( $this->options ) )
|
287 |
+
$formdata = $this->options->get();
|
288 |
|
289 |
if ( isset( $args['name_tree'] ) ) {
|
290 |
$tree = ( array ) $args['name_tree'];
|
scb/BoxesPage.php
CHANGED
@@ -43,17 +43,43 @@ abstract class scbBoxesPage extends scbAdminPage {
|
|
43 |
function default_css() {
|
44 |
?>
|
45 |
<style type="text/css">
|
46 |
-
.postbox-container + .postbox-container {
|
47 |
-
|
48 |
-
|
49 |
-
.
|
50 |
-
|
51 |
-
|
52 |
-
.inside
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
</style>
|
58 |
<?php
|
59 |
}
|
@@ -121,9 +147,6 @@ abstract class scbBoxesPage extends scbAdminPage {
|
|
121 |
if ( method_exists( $this, $handler ) )
|
122 |
call_user_func_array( array( $this, $handler ), $args );
|
123 |
}
|
124 |
-
|
125 |
-
if ( $this->options )
|
126 |
-
$this->formdata = $this->options->get();
|
127 |
}
|
128 |
|
129 |
function columns( $columns ) {
|
43 |
function default_css() {
|
44 |
?>
|
45 |
<style type="text/css">
|
46 |
+
.postbox-container + .postbox-container {
|
47 |
+
margin-left: 18px;
|
48 |
+
}
|
49 |
+
.postbox-container {
|
50 |
+
padding-right: 0;
|
51 |
+
}
|
52 |
+
.inside {
|
53 |
+
clear: both;
|
54 |
+
overflow: hidden;
|
55 |
+
padding: 10px 10px 0 !important;
|
56 |
+
}
|
57 |
+
.inside table {
|
58 |
+
margin: 0 !important;
|
59 |
+
padding: 0 !important;
|
60 |
+
}
|
61 |
+
.inside table td {
|
62 |
+
vertical-align: middle !important;
|
63 |
+
}
|
64 |
+
.inside table .regular-text {
|
65 |
+
width: 100% !important;
|
66 |
+
}
|
67 |
+
.inside .form-table th {
|
68 |
+
width: 30%;
|
69 |
+
max-width: 200px;
|
70 |
+
padding: 10px 0 !important;
|
71 |
+
}
|
72 |
+
.inside .widefat .check-column {
|
73 |
+
padding-bottom: 7px !important;
|
74 |
+
}
|
75 |
+
.inside p,
|
76 |
+
.inside table {
|
77 |
+
margin: 0 0 10px !important;
|
78 |
+
}
|
79 |
+
.inside p.submit {
|
80 |
+
float: left !important;
|
81 |
+
padding: 0 !important;
|
82 |
+
}
|
83 |
</style>
|
84 |
<?php
|
85 |
}
|
147 |
if ( method_exists( $this, $handler ) )
|
148 |
call_user_func_array( array( $this, $handler ), $args );
|
149 |
}
|
|
|
|
|
|
|
150 |
}
|
151 |
|
152 |
function columns( $columns ) {
|
scb/Cron.php
CHANGED
@@ -16,18 +16,43 @@ class scbCron {
|
|
16 |
string $action OR callback $callback
|
17 |
string $schedule OR number $interval
|
18 |
array $callback_args ( optional )
|
19 |
-
* @param bool Debug mode
|
20 |
*/
|
21 |
-
function __construct( $file, $args
|
22 |
-
|
23 |
|
24 |
-
|
25 |
-
|
|
|
26 |
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
/* Change the interval of the cron job
|
@@ -69,24 +94,26 @@ class scbCron {
|
|
69 |
|
70 |
/**
|
71 |
* Execute the job now
|
|
|
72 |
*/
|
73 |
-
function do_now() {
|
74 |
-
|
|
|
|
|
|
|
75 |
}
|
76 |
|
77 |
/**
|
78 |
* Execute the job with a given delay
|
79 |
-
* @param int
|
|
|
80 |
*/
|
81 |
-
function do_once( $delay = 0 ) {
|
82 |
-
|
83 |
-
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
*/
|
88 |
-
function debug() {
|
89 |
-
add_action( 'admin_footer', array( __CLASS__, '_debug' ) );
|
90 |
}
|
91 |
|
92 |
|
@@ -103,15 +130,6 @@ class scbCron {
|
|
103 |
return $schedules;
|
104 |
}
|
105 |
|
106 |
-
function _debug() {
|
107 |
-
if ( ! current_user_can( 'manage_options' ) )
|
108 |
-
return;
|
109 |
-
|
110 |
-
echo "<pre>";
|
111 |
-
print_r( get_option( 'cron' ) );
|
112 |
-
echo "</pre>";
|
113 |
-
}
|
114 |
-
|
115 |
protected function schedule() {
|
116 |
if ( ! $this->time )
|
117 |
$this->time = time();
|
@@ -119,38 +137,6 @@ class scbCron {
|
|
119 |
wp_schedule_event( $this->time, $this->schedule, $this->hook, $this->callback_args );
|
120 |
}
|
121 |
|
122 |
-
protected function _set_args( $args ) {
|
123 |
-
extract( $args );
|
124 |
-
|
125 |
-
// Set hook
|
126 |
-
if ( isset( $action ) ) {
|
127 |
-
$this->hook = $action;
|
128 |
-
} elseif ( isset( $callback ) ) {
|
129 |
-
$this->hook = self::_callback_to_string( $callback );
|
130 |
-
|
131 |
-
add_action( $this->hook, $callback );
|
132 |
-
} elseif ( method_exists( $this, 'callback' ) ) {
|
133 |
-
$this->hook = self::_callback_to_string( $callback );
|
134 |
-
|
135 |
-
add_action( $this->hook, $callback );
|
136 |
-
} else {
|
137 |
-
trigger_error( '$action OR $callback not set', E_USER_WARNING );
|
138 |
-
}
|
139 |
-
|
140 |
-
// Set schedule
|
141 |
-
if ( isset( $interval ) ) {
|
142 |
-
$this->schedule = $interval . 'secs';
|
143 |
-
$this->interval = $interval;
|
144 |
-
} elseif ( isset( $schedule ) ) {
|
145 |
-
$this->schedule = $schedule;
|
146 |
-
} else {
|
147 |
-
trigger_error( '$schedule OR $interval not set', E_USER_WARNING );
|
148 |
-
}
|
149 |
-
|
150 |
-
if ( isset( $callback_args ) )
|
151 |
-
$this->callback_args = ( array ) $callback_args;
|
152 |
-
}
|
153 |
-
|
154 |
protected static function really_clear_scheduled_hook( $name ) {
|
155 |
$crons = _get_cron_array();
|
156 |
|
16 |
string $action OR callback $callback
|
17 |
string $schedule OR number $interval
|
18 |
array $callback_args ( optional )
|
|
|
19 |
*/
|
20 |
+
function __construct( $file, $args ) {
|
21 |
+
extract( $args, EXTR_SKIP );
|
22 |
|
23 |
+
// Set time & schedule
|
24 |
+
if ( isset( $time ) )
|
25 |
+
$this->time = $time;
|
26 |
|
27 |
+
if ( isset( $interval ) ) {
|
28 |
+
$this->schedule = $interval . 'secs';
|
29 |
+
$this->interval = $interval;
|
30 |
+
} elseif ( isset( $schedule ) ) {
|
31 |
+
$this->schedule = $schedule;
|
32 |
+
}
|
33 |
|
34 |
+
// Set hook
|
35 |
+
if ( isset( $action ) ) {
|
36 |
+
$this->hook = $action;
|
37 |
+
} elseif ( isset( $callback ) ) {
|
38 |
+
$this->hook = self::_callback_to_string( $callback );
|
39 |
+
add_action( $this->hook, $callback );
|
40 |
+
} elseif ( method_exists( $this, 'callback' ) ) {
|
41 |
+
$this->hook = self::_callback_to_string( array( $this, 'callback' ) );
|
42 |
+
add_action( $this->hook, $callback );
|
43 |
+
} else {
|
44 |
+
trigger_error( '$action OR $callback not set', E_USER_WARNING );
|
45 |
+
}
|
46 |
+
|
47 |
+
if ( isset( $callback_args ) )
|
48 |
+
$this->callback_args = ( array ) $callback_args;
|
49 |
+
|
50 |
+
if ( $this->schedule ) {
|
51 |
+
scbUtil::add_activation_hook( $file, array( $this, 'reset' ) );
|
52 |
+
register_deactivation_hook( $file, array( $this, 'unschedule' ) );
|
53 |
+
}
|
54 |
+
|
55 |
+
add_filter( 'cron_schedules', array( $this, '_add_timing' ) );
|
56 |
}
|
57 |
|
58 |
/* Change the interval of the cron job
|
94 |
|
95 |
/**
|
96 |
* Execute the job now
|
97 |
+
* @param array $args List of arguments to pass to the callback
|
98 |
*/
|
99 |
+
function do_now( $args = null ) {
|
100 |
+
if ( is_null( $args ) )
|
101 |
+
$args = $this->callback_args;
|
102 |
+
|
103 |
+
do_action_ref_array( $this->hook, $args );
|
104 |
}
|
105 |
|
106 |
/**
|
107 |
* Execute the job with a given delay
|
108 |
+
* @param int $delay in seconds
|
109 |
+
* @param array $args List of arguments to pass to the callback
|
110 |
*/
|
111 |
+
function do_once( $delay = 0, $args = null ) {
|
112 |
+
if ( is_null( $args ) )
|
113 |
+
$args = $this->callback_args;
|
114 |
|
115 |
+
wp_clear_scheduled_hook( $this->hook, $args );
|
116 |
+
wp_schedule_single_event( time() + $delay, $this->hook, $args );
|
|
|
|
|
|
|
117 |
}
|
118 |
|
119 |
|
130 |
return $schedules;
|
131 |
}
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
protected function schedule() {
|
134 |
if ( ! $this->time )
|
135 |
$this->time = time();
|
137 |
wp_schedule_event( $this->time, $this->schedule, $this->hook, $this->callback_args );
|
138 |
}
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
protected static function really_clear_scheduled_hook( $name ) {
|
141 |
$crons = _get_cron_array();
|
142 |
|
scb/Forms.php
CHANGED
@@ -213,9 +213,14 @@ class scbForms {
|
|
213 |
// Find relevant formdata
|
214 |
$match = NULL;
|
215 |
if ( $checked === NULL ) {
|
216 |
-
$
|
217 |
-
|
218 |
-
|
|
|
|
|
|
|
|
|
|
|
219 |
}
|
220 |
} else if ( is_array( $checked ) ) {
|
221 |
$cur_args['checked'] = isset( $checked[$i] ) && $checked[$i];
|
@@ -268,7 +273,7 @@ class scbForms {
|
|
268 |
$$key = &$val;
|
269 |
unset( $val );
|
270 |
|
271 |
-
if ( FALSE === strpos( $name, '[' ) )
|
272 |
$extra['id'] = $name;
|
273 |
|
274 |
return self::_input_gen( $args );
|
@@ -378,6 +383,8 @@ class scbForms {
|
|
378 |
}
|
379 |
|
380 |
private static function array_to_attr( $attr ) {
|
|
|
|
|
381 |
$out = '';
|
382 |
foreach ( $attr as $key => $value )
|
383 |
$out .= ' ' . $key . '=' . '"' . esc_attr( $value ) . '"';
|
213 |
// Find relevant formdata
|
214 |
$match = NULL;
|
215 |
if ( $checked === NULL ) {
|
216 |
+
$key = str_replace( '[]', '', $$i1 );
|
217 |
+
|
218 |
+
if ( isset( self::$formdata[ $key ] ) ) {
|
219 |
+
$match = self::$formdata[ $key ];
|
220 |
+
|
221 |
+
if ( is_array( $match ) ) {
|
222 |
+
$match = $match[$i];
|
223 |
+
}
|
224 |
}
|
225 |
} else if ( is_array( $checked ) ) {
|
226 |
$cur_args['checked'] = isset( $checked[$i] ) && $checked[$i];
|
273 |
$$key = &$val;
|
274 |
unset( $val );
|
275 |
|
276 |
+
if ( !isset( $extra['id'] ) && FALSE === strpos( $name, '[' ) )
|
277 |
$extra['id'] = $name;
|
278 |
|
279 |
return self::_input_gen( $args );
|
383 |
}
|
384 |
|
385 |
private static function array_to_attr( $attr ) {
|
386 |
+
$attr = array_filter( (array) $attr );
|
387 |
+
|
388 |
$out = '';
|
389 |
foreach ( $attr as $key => $value )
|
390 |
$out .= ' ' . $key . '=' . '"' . esc_attr( $value ) . '"';
|
scb/QueryManipulation.php
CHANGED
@@ -16,14 +16,21 @@ class scbQueryManipulation {
|
|
16 |
);
|
17 |
|
18 |
public function __construct( $callback, $once = true ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
$this->callback = $callback;
|
20 |
|
21 |
$this->enable();
|
22 |
|
23 |
-
if (
|
24 |
-
|
25 |
-
|
26 |
-
add_filter( 'posts_request', array( $this, '_disable' ) );
|
27 |
}
|
28 |
|
29 |
function _disable( $request ) {
|
@@ -66,6 +73,11 @@ class scbQueryManipulation {
|
|
66 |
}
|
67 |
|
68 |
function alter( $query ) {
|
|
|
|
|
|
|
|
|
|
|
69 |
$this->bits = call_user_func( $this->callback, $this->bits, $this->wp_query );
|
70 |
}
|
71 |
|
16 |
);
|
17 |
|
18 |
public function __construct( $callback, $once = true ) {
|
19 |
+
global $wp_version;
|
20 |
+
|
21 |
+
if ( version_compare( $wp_version, '3.1-alpha', '>=' ) ) {
|
22 |
+
if ( !$once ) {
|
23 |
+
add_filter( 'posts_clauses', $callback, 10, 2 );
|
24 |
+
return;
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
$this->callback = $callback;
|
29 |
|
30 |
$this->enable();
|
31 |
|
32 |
+
if ( $once )
|
33 |
+
add_filter( 'posts_request', array( $this, '_disable' ) );
|
|
|
|
|
34 |
}
|
35 |
|
36 |
function _disable( $request ) {
|
73 |
}
|
74 |
|
75 |
function alter( $query ) {
|
76 |
+
// suppress_filters => true
|
77 |
+
if ( is_null( $this->wp_query ) ) {
|
78 |
+
return;
|
79 |
+
}
|
80 |
+
|
81 |
$this->bits = call_user_func( $this->callback, $this->bits, $this->wp_query );
|
82 |
}
|
83 |
|
scb/Table.php
CHANGED
@@ -9,10 +9,13 @@ class scbTable {
|
|
9 |
function __construct( $name, $file, $columns, $upgrade_method = 'dbDelta' ) {
|
10 |
global $wpdb;
|
11 |
|
12 |
-
$this->name = $wpdb
|
13 |
$this->columns = $columns;
|
14 |
$this->upgrade_method = $upgrade_method;
|
15 |
|
|
|
|
|
|
|
16 |
scbUtil::add_activation_hook( $file, array( $this, 'install' ) );
|
17 |
scbUtil::add_uninstall_hook( $file, array( $this, 'uninstall' ) );
|
18 |
}
|
9 |
function __construct( $name, $file, $columns, $upgrade_method = 'dbDelta' ) {
|
10 |
global $wpdb;
|
11 |
|
12 |
+
$this->name = $wpdb->prefix . $name;
|
13 |
$this->columns = $columns;
|
14 |
$this->upgrade_method = $upgrade_method;
|
15 |
|
16 |
+
$wpdb->tables[] = $name;
|
17 |
+
$wpdb->$name = $this->name;
|
18 |
+
|
19 |
scbUtil::add_activation_hook( $file, array( $this, 'install' ) );
|
20 |
scbUtil::add_uninstall_hook( $file, array( $this, 'uninstall' ) );
|
21 |
}
|
scb/Util.php
CHANGED
@@ -115,19 +115,36 @@ class scbUtil {
|
|
115 |
|
116 |
//_____Minimalist HTML framework_____
|
117 |
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
if ( ! function_exists( 'html' ) ):
|
120 |
-
function html( $tag
|
121 |
-
|
|
|
|
|
|
|
|
|
122 |
$closing = $tag;
|
|
|
123 |
foreach ( $attributes as $key => $value ) {
|
124 |
-
$tag .= ' ' . $key . '="' .
|
125 |
}
|
126 |
} else {
|
127 |
-
$
|
128 |
-
list( $closing ) = explode(' ', $tag, 2);
|
129 |
}
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
return "<{$tag}>{$content}</{$closing}>";
|
132 |
}
|
133 |
endif;
|
115 |
|
116 |
//_____Minimalist HTML framework_____
|
117 |
|
118 |
+
/*
|
119 |
+
* Examples:
|
120 |
+
*
|
121 |
+
* html( 'p', 'Hello world!' ); <p>Hello world!</p>
|
122 |
+
* html( 'a', array( 'href' => 'http://example.com' ), 'A link' ); <a href="http://example.com">A link</a>
|
123 |
+
* html( 'img', array( 'src' => 'http://example.com/f.jpg' ) ); <img src="http://example.com/f.jpg" />
|
124 |
+
* html( 'ul', html( 'li', 'a' ), html( 'li', 'b' ) ); <ul><li>a</li><li>b</li></ul>
|
125 |
+
*/
|
126 |
if ( ! function_exists( 'html' ) ):
|
127 |
+
function html( $tag ) {
|
128 |
+
$args = func_get_args();
|
129 |
+
|
130 |
+
$tag = array_shift( $args );
|
131 |
+
|
132 |
+
if ( is_array( $args[0] ) ) {
|
133 |
$closing = $tag;
|
134 |
+
$attributes = array_shift( $args );
|
135 |
foreach ( $attributes as $key => $value ) {
|
136 |
+
$tag .= ' ' . $key . '="' . htmlspecialchars( $value, ENT_QUOTES ) . '"';
|
137 |
}
|
138 |
} else {
|
139 |
+
list( $closing ) = explode( ' ', $tag, 2 );
|
|
|
140 |
}
|
141 |
|
142 |
+
if ( in_array( $closing, array( 'area', 'base', 'basefont', 'br', 'hr', 'input', 'img', 'link', 'meta' ) ) ) {
|
143 |
+
return "<{$tag} />";
|
144 |
+
}
|
145 |
+
|
146 |
+
$content = implode( '', $args );
|
147 |
+
|
148 |
return "<{$tag}>{$content}</{$closing}>";
|
149 |
}
|
150 |
endif;
|
scb/load.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
$GLOBALS['_scb_data'] = array(
|
4 |
'scbUtil', 'scbOptions', 'scbForms', 'scbTable',
|
5 |
'scbWidget', 'scbAdminPage', 'scbBoxesPage',
|
6 |
'scbQueryManipulation', 'scbCron',
|
@@ -12,7 +12,7 @@ class scbLoad4 {
|
|
12 |
private static $candidates;
|
13 |
private static $classes;
|
14 |
private static $callbacks = array();
|
15 |
-
|
16 |
private static $loaded;
|
17 |
|
18 |
static function init( $callback = '' ) {
|
@@ -28,7 +28,7 @@ class scbLoad4 {
|
|
28 |
}
|
29 |
|
30 |
// TODO: don't load when activating a plugin ?
|
31 |
-
add_action( 'plugins_loaded', array( __CLASS__, 'load' ),
|
32 |
}
|
33 |
|
34 |
static function delayed_activation( $plugin ) {
|
@@ -37,13 +37,14 @@ class scbLoad4 {
|
|
37 |
if ( '.' == $plugin_dir )
|
38 |
return;
|
39 |
|
40 |
-
foreach ( self::$callbacks as $file => $callback )
|
41 |
-
if (
|
42 |
self::load( false );
|
43 |
call_user_func( $callback );
|
44 |
do_action( 'scb_activation_' . $plugin );
|
45 |
break;
|
46 |
}
|
|
|
47 |
}
|
48 |
|
49 |
static function load( $do_callbacks = true ) {
|
1 |
<?php
|
2 |
|
3 |
+
$GLOBALS['_scb_data'] = array( 31, __FILE__, array(
|
4 |
'scbUtil', 'scbOptions', 'scbForms', 'scbTable',
|
5 |
'scbWidget', 'scbAdminPage', 'scbBoxesPage',
|
6 |
'scbQueryManipulation', 'scbCron',
|
12 |
private static $candidates;
|
13 |
private static $classes;
|
14 |
private static $callbacks = array();
|
15 |
+
|
16 |
private static $loaded;
|
17 |
|
18 |
static function init( $callback = '' ) {
|
28 |
}
|
29 |
|
30 |
// TODO: don't load when activating a plugin ?
|
31 |
+
add_action( 'plugins_loaded', array( __CLASS__, 'load' ), 9, 0 );
|
32 |
}
|
33 |
|
34 |
static function delayed_activation( $plugin ) {
|
37 |
if ( '.' == $plugin_dir )
|
38 |
return;
|
39 |
|
40 |
+
foreach ( self::$callbacks as $file => $callback ) {
|
41 |
+
if ( dirname( dirname( plugin_basename( $file ) ) ) == $plugin_dir ) {
|
42 |
self::load( false );
|
43 |
call_user_func( $callback );
|
44 |
do_action( 'scb_activation_' . $plugin );
|
45 |
break;
|
46 |
}
|
47 |
+
}
|
48 |
}
|
49 |
|
50 |
static function load( $do_callbacks = true ) {
|
wp-pagenavi.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP-PageNavi
|
4 |
-
Version: 2.
|
5 |
Description: Adds a more advanced paging navigation to your WordPress blog
|
6 |
Author: Lester 'GaMerZ' Chan & scribu
|
7 |
Plugin URI: http://wordpress.org/extend/plugins/wp-pagenavi/
|
@@ -26,7 +26,7 @@ along with this program; if not, write to the Free Software
|
|
26 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
27 |
*/
|
28 |
|
29 |
-
|
30 |
|
31 |
function _pagenavi_init() {
|
32 |
load_plugin_textdomain( 'wp-pagenavi', '', dirname( plugin_basename( __FILE__ ) ) . '/lang' );
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP-PageNavi
|
4 |
+
Version: 2.74
|
5 |
Description: Adds a more advanced paging navigation to your WordPress blog
|
6 |
Author: Lester 'GaMerZ' Chan & scribu
|
7 |
Plugin URI: http://wordpress.org/extend/plugins/wp-pagenavi/
|
26 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
27 |
*/
|
28 |
|
29 |
+
@include dirname( __FILE__ ) . '/scb/load.php';
|
30 |
|
31 |
function _pagenavi_init() {
|
32 |
load_plugin_textdomain( 'wp-pagenavi', '', dirname( plugin_basename( __FILE__ ) ) . '/lang' );
|