Version Description
- admin bug fix. thanks ixkaito !
- Translation Update Thanks Natali_Z !
Download this release
Release Info
Developer | Toro_Unit |
Plugin | Custom Post Type Permalinks |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- CPTP/Module/Admin.php +1 -1
- custom-post-type-permalinks.php +2 -2
- language/cptp-ru_RU.mo +0 -0
- language/cptp-ru_RU.po +63 -42
- readme.txt +8 -4
CPTP/Module/Admin.php
CHANGED
@@ -111,7 +111,7 @@ class CPTP_Module_Admin extends CPTP_Module {
|
|
111 |
}
|
112 |
?>
|
113 |
<p>
|
114 |
-
<code><?php echo home_url() . '/' . esc_html( $slug )
|
115 |
<input name="<?php echo esc_attr( $name );?>" id="<?php echo esc_attr( $name );?>" type="text" class="regular-text code " value="<?php echo esc_attr( $value ) ;?>" <?php disabled( $disabled, true, true );?> />
|
116 |
</p>
|
117 |
<p>has_archive: <code><?php echo $pt_object->has_archive ? 'true' : 'false';?></code> / with_front: <code><?php echo $pt_object->rewrite['with_front'] ? 'true' : 'false';?></code></p>
|
111 |
}
|
112 |
?>
|
113 |
<p>
|
114 |
+
<code><?php echo home_url() . ( $slug ? '/' : '' ) . esc_html( $slug ); ?></code>
|
115 |
<input name="<?php echo esc_attr( $name );?>" id="<?php echo esc_attr( $name );?>" type="text" class="regular-text code " value="<?php echo esc_attr( $value ) ;?>" <?php disabled( $disabled, true, true );?> />
|
116 |
</p>
|
117 |
<p>has_archive: <code><?php echo $pt_object->has_archive ? 'true' : 'false';?></code> / with_front: <code><?php echo $pt_object->rewrite['with_front'] ? 'true' : 'false';?></code></p>
|
custom-post-type-permalinks.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.torounit.com
|
|
5 |
Description: Add post archives of custom post type and customizable permalinks.
|
6 |
Author: Toro_Unit
|
7 |
Author URI: http://www.torounit.com/plugins/custom-post-type-permalinks/
|
8 |
-
Version: 1.0.
|
9 |
Text Domain: cptp
|
10 |
License: GPL2 or later
|
11 |
Domain Path: /language/
|
@@ -17,7 +17,7 @@ Domain Path: /language/
|
|
17 |
* Custom Post Type Permalinks
|
18 |
*
|
19 |
* @package Custom_Post_Type_Permalinks
|
20 |
-
* @version 1.0.
|
21 |
*
|
22 |
*/
|
23 |
|
5 |
Description: Add post archives of custom post type and customizable permalinks.
|
6 |
Author: Toro_Unit
|
7 |
Author URI: http://www.torounit.com/plugins/custom-post-type-permalinks/
|
8 |
+
Version: 1.0.5
|
9 |
Text Domain: cptp
|
10 |
License: GPL2 or later
|
11 |
Domain Path: /language/
|
17 |
* Custom Post Type Permalinks
|
18 |
*
|
19 |
* @package Custom_Post_Type_Permalinks
|
20 |
+
* @version 1.0.5
|
21 |
*
|
22 |
*/
|
23 |
|
language/cptp-ru_RU.mo
CHANGED
Binary file
|
language/cptp-ru_RU.po
CHANGED
@@ -1,85 +1,106 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Post Type Permalinks\n"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"Language-Team: Olart Cretive Group <oleg@safonov.net>\n"
|
9 |
"Language: ru_RU\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-
|
14 |
-
"X-Poedit-Basepath:
|
15 |
-
"X-
|
16 |
-
"X-Poedit-
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
-
#:
|
19 |
-
#, php-format
|
20 |
-
msgid "View all posts in %s"
|
21 |
-
msgstr "Посмотреть все записи в %s"
|
22 |
-
|
23 |
-
#: custom-post-type-permalinks/custom-post-type-permalinks.php:552
|
24 |
msgid "Permalink Setting for custom post type"
|
25 |
-
msgstr "Настройки для
|
26 |
|
27 |
-
#:
|
28 |
msgid "Use custom permalink of custom taxonomy archive."
|
29 |
-
msgstr "Структура для архива
|
|
|
|
|
|
|
|
|
30 |
|
31 |
-
#:
|
32 |
msgid "Setting permalinks of custom post type."
|
33 |
-
msgstr ""
|
34 |
-
"Здесь вы можете ввести произвольную структуру для URL пользовательских типов "
|
35 |
-
"записей."
|
36 |
|
37 |
-
#:
|
38 |
msgid ""
|
39 |
"The tags you can use is WordPress Structure Tags and '%\"custom_taxonomy_slug"
|
40 |
"\"%'. (e.g. %actors%)"
|
41 |
msgstr ""
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"%actors%)"
|
45 |
|
46 |
-
#:
|
47 |
msgid "%\"custom_taxonomy_slug\"% is replaced the taxonomy's term.'."
|
48 |
msgstr ""
|
49 |
-
"
|
50 |
|
51 |
-
#:
|
52 |
msgid ""
|
53 |
"Presence of the trailing '/' is unified into a standard permalink structure "
|
54 |
"setting."
|
55 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
-
#:
|
58 |
msgid ""
|
59 |
"If you don't entered permalink structure, permalink is configured /%postname"
|
60 |
"%/'."
|
61 |
msgstr ""
|
62 |
-
"Если вы оставите поле
|
63 |
-
"%postname
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
msgid ""
|
68 |
"If you check,The custom taxonomy's permalinks is <code>%s/post_type/taxonomy/"
|
69 |
"term</code>."
|
70 |
msgstr ""
|
71 |
-
"
|
72 |
"post_type/taxonomy/term</code>."
|
73 |
|
74 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
msgid ""
|
76 |
"<h3>Custom Post Type Permalinks</h3><p>From <a href='options-permalink."
|
77 |
"php'>Permalinks</a>, set a custom permalink for each post type.</p>"
|
78 |
msgstr ""
|
79 |
-
"<h3
|
80 |
-
"
|
81 |
-
"пользовательских типов записей.</p>"
|
82 |
|
83 |
-
|
84 |
-
|
85 |
-
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Post Type Permalinks\n"
|
4 |
+
"POT-Creation-Date: 2015-05-01 00:21+0300\n"
|
5 |
+
"PO-Revision-Date: 2015-05-01 00:58+0300\n"
|
6 |
+
"Last-Translator: Nataliya Zavyalova <admin@time-impressions.ru>\n"
|
7 |
+
"Language-Team: Nataliya Zavyalova <admin@time-impressions.ru>\n"
|
|
|
8 |
"Language: ru_RU\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.7.6\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
19 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: CPTP/Module/Admin.php:31
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Permalink Setting for custom post type"
|
25 |
+
msgstr "Настройки структуры ссылок для записей произвольного типа"
|
26 |
|
27 |
+
#: CPTP/Module/Admin.php:52
|
28 |
msgid "Use custom permalink of custom taxonomy archive."
|
29 |
+
msgstr "Структура постоянных ссылок для архива таксономии."
|
30 |
+
|
31 |
+
#: CPTP/Module/Admin.php:62
|
32 |
+
msgid "Add post_type query for custom taxonomy archive."
|
33 |
+
msgstr "Добавить запрос post_type для архива таксономии."
|
34 |
|
35 |
+
#: CPTP/Module/Admin.php:74
|
36 |
msgid "Setting permalinks of custom post type."
|
37 |
+
msgstr "Настройки постоянных ссылок для записей произвольного типа."
|
|
|
|
|
38 |
|
39 |
+
#: CPTP/Module/Admin.php:75
|
40 |
msgid ""
|
41 |
"The tags you can use is WordPress Structure Tags and '%\"custom_taxonomy_slug"
|
42 |
"\"%'. (e.g. %actors%)"
|
43 |
msgstr ""
|
44 |
+
"Вы можете использовать стандартные теги WordPress или <code>"
|
45 |
+
"%custom_taxonomy_slug%</code> (например <code>%actors%</code>)."
|
|
|
46 |
|
47 |
+
#: CPTP/Module/Admin.php:76
|
48 |
msgid "%\"custom_taxonomy_slug\"% is replaced the taxonomy's term.'."
|
49 |
msgstr ""
|
50 |
+
"(Замените <code>%custom_taxonomy_slug%</code> на ярлык своей таксономии.)"
|
51 |
|
52 |
+
#: CPTP/Module/Admin.php:78
|
53 |
msgid ""
|
54 |
"Presence of the trailing '/' is unified into a standard permalink structure "
|
55 |
"setting."
|
56 |
+
msgstr ""
|
57 |
+
"Наличие завершающих слэшей ( / ) в стандартной структуре ссылок является "
|
58 |
+
"обязательным."
|
59 |
+
|
60 |
+
#: CPTP/Module/Admin.php:79
|
61 |
+
msgid ""
|
62 |
+
"If <code>has_archive</code> is true, add permalinks for custom post type "
|
63 |
+
"archive."
|
64 |
+
msgstr ""
|
65 |
+
"Если <code>has_archive</code> имеет значение <code>true</code>, Вы можете "
|
66 |
+
"сформировать постоянные ссылки для страниц архивов записей произвольного "
|
67 |
+
"типа. "
|
68 |
|
69 |
+
#: CPTP/Module/Admin.php:80
|
70 |
msgid ""
|
71 |
"If you don't entered permalink structure, permalink is configured /%postname"
|
72 |
"%/'."
|
73 |
msgstr ""
|
74 |
+
"Если вы оставите поле пустым будет установлено значение по умолчанию <code>/"
|
75 |
+
"%postname%/</code>."
|
76 |
|
77 |
+
#: CPTP/Module/Admin.php:128
|
78 |
#, php-format
|
79 |
msgid ""
|
80 |
"If you check,The custom taxonomy's permalinks is <code>%s/post_type/taxonomy/"
|
81 |
"term</code>."
|
82 |
msgstr ""
|
83 |
+
"При выборе произвольная структура URL для таксономии будет <code>%s/"
|
84 |
"post_type/taxonomy/term</code>."
|
85 |
|
86 |
+
#: CPTP/Module/Admin.php:135
|
87 |
+
msgid "custom taxonomy archive also works as post type archive."
|
88 |
+
msgstr ""
|
89 |
+
"Архив пользовательской таксономии также работает как архив типа записи. "
|
90 |
+
|
91 |
+
#: CPTP/Module/Admin.php:136
|
92 |
+
msgid "There are cases when template to be loaded is changed."
|
93 |
+
msgstr "Бывают случаи, когда изменяется загрузка шаблона."
|
94 |
+
|
95 |
+
#: CPTP/Module/Admin.php:163
|
96 |
msgid ""
|
97 |
"<h3>Custom Post Type Permalinks</h3><p>From <a href='options-permalink."
|
98 |
"php'>Permalinks</a>, set a custom permalink for each post type.</p>"
|
99 |
msgstr ""
|
100 |
+
"<h3>Custom Post Type Permalinks</h3><p>From <a href='options-permalink."
|
101 |
+
"php'>Permalinks</a>, set a custom permalink for each post type.</p>"
|
|
|
102 |
|
103 |
+
#: CPTP/Util.php:57
|
104 |
+
#, php-format
|
105 |
+
msgid "View all posts in %s"
|
106 |
+
msgstr "Смотреть все записи в %s"
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Custom Post Type Permalinks ===
|
2 |
-
Contributors: Toro_Unit
|
3 |
Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV
|
4 |
Tags: permalink,permalinks,custom post type,custom taxonomy,cms
|
5 |
Requires at least: 4.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or Later
|
9 |
|
10 |
Lets you edit the permalink of custom post type.
|
@@ -24,7 +24,7 @@ Donation: Please send amazon.co.jp Gift to donate[at]torounit.com.
|
|
24 |
= Translators =
|
25 |
* French(fr_FR) - [Geoffrey Crofte](http://geoffrey.crofte.fr/)
|
26 |
* Japanese(ja) - [Toro_Unit](http://www.torounit.com/)
|
27 |
-
* Russian(ru_RU) - [Olart](http://olart.ru)
|
28 |
|
29 |
== Setting on Code ==
|
30 |
|
@@ -61,6 +61,10 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
|
|
61 |
|
62 |
== Changelog ==
|
63 |
|
|
|
|
|
|
|
|
|
64 |
= 1.0.4 =
|
65 |
* option bug fix.
|
66 |
|
1 |
=== Custom Post Type Permalinks ===
|
2 |
+
Contributors: Toro_Unit,inc2734,ixkaito
|
3 |
Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV
|
4 |
Tags: permalink,permalinks,custom post type,custom taxonomy,cms
|
5 |
Requires at least: 4.1
|
6 |
+
Tested up to: 4.3
|
7 |
+
Stable tag: 1.0.5
|
8 |
License: GPLv2 or Later
|
9 |
|
10 |
Lets you edit the permalink of custom post type.
|
24 |
= Translators =
|
25 |
* French(fr_FR) - [Geoffrey Crofte](http://geoffrey.crofte.fr/)
|
26 |
* Japanese(ja) - [Toro_Unit](http://www.torounit.com/)
|
27 |
+
* Russian(ru_RU) - [Olart](http://olart.ru), [Natali_Z](https://profiles.wordpress.org/natali_z)
|
28 |
|
29 |
== Setting on Code ==
|
30 |
|
61 |
|
62 |
== Changelog ==
|
63 |
|
64 |
+
= 1.0.5 =
|
65 |
+
* admin bug fix. thanks [ixkaito](https://profiles.wordpress.org/ixkaito) !
|
66 |
+
* Translation Update Thanks [Natali_Z](https://profiles.wordpress.org/natali_z) !
|
67 |
+
|
68 |
= 1.0.4 =
|
69 |
* option bug fix.
|
70 |
|