Version Description
- Fix not displaying single tag image bug in tag.php template
- Adding language support for Swedish. Thanks to Simon Sandgren
Download this release
Release Info
Developer | elzahlan |
Plugin | Categories Images |
Version | 2.5.3 |
Comparing to | |
See all releases |
Code changes from version 2.5.2 to 2.5.3
- categories-images.php +5 -1
- languages/categories-images-sv_SE.mo +0 -0
- languages/categories-images-sv_SE.po +85 -0
- readme.txt +5 -2
categories-images.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://zahlan.net/blog/2012/06/categories-images/
|
5 |
* Description: Categories Images Plugin allow you to add an image to category or any custom term.
|
6 |
* Author: Muhammad Said El Zahlan
|
7 |
-
* Version: 2.5.
|
8 |
* Author URI: http://zahlan.net/
|
9 |
* Domain Path: /languages
|
10 |
* Text Domain: categories-images
|
@@ -179,6 +179,8 @@ function z_taxonomy_image_url($term_id = NULL, $size = 'full', $return_placehold
|
|
179 |
if (!$term_id) {
|
180 |
if (is_category())
|
181 |
$term_id = get_query_var('cat');
|
|
|
|
|
182 |
elseif (is_tax()) {
|
183 |
$current_term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
184 |
$term_id = $current_term->term_id;
|
@@ -317,6 +319,8 @@ function z_taxonomy_image($term_id = NULL, $size = 'full', $attr = NULL, $echo =
|
|
317 |
if (!$term_id) {
|
318 |
if (is_category())
|
319 |
$term_id = get_query_var('cat');
|
|
|
|
|
320 |
elseif (is_tax()) {
|
321 |
$current_term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
322 |
$term_id = $current_term->term_id;
|
4 |
* Plugin URI: http://zahlan.net/blog/2012/06/categories-images/
|
5 |
* Description: Categories Images Plugin allow you to add an image to category or any custom term.
|
6 |
* Author: Muhammad Said El Zahlan
|
7 |
+
* Version: 2.5.3
|
8 |
* Author URI: http://zahlan.net/
|
9 |
* Domain Path: /languages
|
10 |
* Text Domain: categories-images
|
179 |
if (!$term_id) {
|
180 |
if (is_category())
|
181 |
$term_id = get_query_var('cat');
|
182 |
+
elseif (is_tag())
|
183 |
+
$term_id = get_query_var('tag_id');
|
184 |
elseif (is_tax()) {
|
185 |
$current_term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
186 |
$term_id = $current_term->term_id;
|
319 |
if (!$term_id) {
|
320 |
if (is_category())
|
321 |
$term_id = get_query_var('cat');
|
322 |
+
elseif (is_tag())
|
323 |
+
$term_id = get_query_var('tag_id');
|
324 |
elseif (is_tax()) {
|
325 |
$current_term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
326 |
$term_id = $current_term->term_id;
|
languages/categories-images-sv_SE.mo
ADDED
Binary file
|
languages/categories-images-sv_SE.po
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Categories Images\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: Fri Dec 04 2015 14:03:51 GMT+0100 (CET)\n"
|
6 |
+
"PO-Revision-Date: 2016-03-10 23:56+0200\n"
|
7 |
+
"Last-Translator: Munamamad El Zahlan <zahlan@theplanet.com.eg>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: sv\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;__:1;"
|
17 |
+
"_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;_x:1,2c;"
|
18 |
+
"_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;esc_attr__:1;"
|
19 |
+
"esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;esc_html_x:1,2c;"
|
20 |
+
"comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
21 |
+
"X-Loco-Target-Locale: sv_SE\n"
|
22 |
+
"X-Generator: Poedit 1.7.5\n"
|
23 |
+
"X-Poedit-SearchPath-0: ../../plugins/categories-images\n"
|
24 |
+
|
25 |
+
#. Name of the plugin
|
26 |
+
msgid "Categories Images"
|
27 |
+
msgstr "Kategoribilder"
|
28 |
+
|
29 |
+
#. URI of the plugin
|
30 |
+
msgid "http://zahlan.net/blog/2012/06/categories-images"
|
31 |
+
msgstr "http://zahlan.net/blog/2012/06/categories-images"
|
32 |
+
|
33 |
+
#. Description of the plugin
|
34 |
+
msgid ""
|
35 |
+
"Categories Images Plugin allow you to add an image to category or any custom term."
|
36 |
+
msgstr ""
|
37 |
+
"Kategoribildtillägget låter dig lägga till en bild till kategori eller annan egen "
|
38 |
+
"motsvarighet."
|
39 |
+
|
40 |
+
#. Author of the plugin
|
41 |
+
msgid "Muhammad Said El Zahlan"
|
42 |
+
msgstr "Muhammad Said El Zahlan"
|
43 |
+
|
44 |
+
#. Author URI of the plugin
|
45 |
+
msgid "http://zahlan.net"
|
46 |
+
msgstr "http://zahlan.net"
|
47 |
+
|
48 |
+
#: ../../plugins/categories-images/categories-images.php:61 ../..
|
49 |
+
#: plugins/categories-images/categories-images.php:82 ../../plugins/categories-
|
50 |
+
#: images/categories-images.php:229
|
51 |
+
msgid "Image"
|
52 |
+
msgstr "Bild"
|
53 |
+
|
54 |
+
#: ../../plugins/categories-images/categories-images.php:64 ../..
|
55 |
+
#: plugins/categories-images/categories-images.php:84 ../../plugins/categories-
|
56 |
+
#: images/categories-images.php:211
|
57 |
+
msgid "Upload/Add image"
|
58 |
+
msgstr "Ladda upp/Lägg till bild"
|
59 |
+
|
60 |
+
#: ../../plugins/categories-images/categories-images.php:85 ../..
|
61 |
+
#: plugins/categories-images/categories-images.php:212
|
62 |
+
msgid "Remove image"
|
63 |
+
msgstr "Ta bort bild"
|
64 |
+
|
65 |
+
#: ../../plugins/categories-images/categories-images.php:247
|
66 |
+
msgid "Thumbnail"
|
67 |
+
msgstr "Tumnagel"
|
68 |
+
|
69 |
+
#: ../../plugins/categories-images/categories-images.php:267 ../..
|
70 |
+
#: plugins/categories-images/categories-images.php:274
|
71 |
+
msgid "Categories Images settings"
|
72 |
+
msgstr "Kategoribildinställningar"
|
73 |
+
|
74 |
+
#: ../../plugins/categories-images/categories-images.php:275
|
75 |
+
msgid "Excluded Taxonomies"
|
76 |
+
msgstr "Exkludera taxonomier"
|
77 |
+
|
78 |
+
#: ../../plugins/categories-images/categories-images.php:280
|
79 |
+
msgid ""
|
80 |
+
"Please select the taxonomies you want to exclude it from Categories Images plugin"
|
81 |
+
msgstr "Välj vilka taxonomier du vill exkludera från Kategoribildtillägget"
|
82 |
+
|
83 |
+
#: ../../plugins/categories-images/categories-images.php:300
|
84 |
+
msgid "You do not have sufficient permissions to access this page."
|
85 |
+
msgstr "Du har inte tillräckliga rättigheter för att få tillgång till den här sidan."
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: elzahlan
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G8LC4VSYKYSGA
|
4 |
Tags: Category Image, Category Images, Categories Images, taxonomy image, taxonomy images, taxonomies images, category icon, categories icons, category logo, categories logos, admin, wp-admin, category image plugin, categories images plugin, category featured image, categories featured images, feature image for category
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.5.
|
8 |
|
9 |
The Categories Images Plugin allow you to add image with category or taxonomy.
|
10 |
|
@@ -56,6 +56,9 @@ Please check the documentation page:
|
|
56 |
5. Now you can exclude any taxonomy from the plugin and save changes.
|
57 |
|
58 |
== Changelog ==
|
|
|
|
|
|
|
59 |
|
60 |
= 2.5.2 =
|
61 |
* Fix displaying full size image bug in backend
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G8LC4VSYKYSGA
|
4 |
Tags: Category Image, Category Images, Categories Images, taxonomy image, taxonomy images, taxonomies images, category icon, categories icons, category logo, categories logos, admin, wp-admin, category image plugin, categories images plugin, category featured image, categories featured images, feature image for category
|
5 |
Requires at least: 2.8
|
6 |
+
Tested up to: 4.7
|
7 |
+
Stable tag: 2.5.3
|
8 |
|
9 |
The Categories Images Plugin allow you to add image with category or taxonomy.
|
10 |
|
56 |
5. Now you can exclude any taxonomy from the plugin and save changes.
|
57 |
|
58 |
== Changelog ==
|
59 |
+
= 2.5.3 =
|
60 |
+
* Fix not displaying single tag image bug in tag.php template
|
61 |
+
* Adding language support for Swedish. Thanks to Simon Sandgren
|
62 |
|
63 |
= 2.5.2 =
|
64 |
* Fix displaying full size image bug in backend
|