Version Description
- Translation update
Download this release
Release Info
Developer | jchristopher |
Plugin | Attachments |
Version | 1.5.7 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.7
- attachments.php +24 -1
- languages/attachments-pl_PL.mo +0 -0
- languages/attachments-pl_PL.po +20 -16
- readme.txt +4 -3
attachments.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Attachments
|
4 |
Plugin URI: http://mondaybynoon.com/wordpress-attachments/
|
5 |
Description: Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post Types
|
6 |
-
Version: 1.5.
|
7 |
Author: Jonathan Christopher
|
8 |
Author URI: http://mondaybynoon.com/
|
9 |
*/
|
@@ -66,6 +66,7 @@ if( IS_ADMIN )
|
|
66 |
add_action( 'save_post', 'attachments_save' );
|
67 |
add_action( 'admin_menu', 'attachments_menu' );
|
68 |
add_action( 'admin_footer', 'attachments_footer_js' );
|
|
|
69 |
|
70 |
load_plugin_textdomain( 'attachments', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
71 |
}
|
@@ -76,6 +77,28 @@ if( IS_ADMIN )
|
|
76 |
// = FUNCTIONS =
|
77 |
// =============
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
/**
|
80 |
* Compares two array values with the same key "order"
|
81 |
*
|
3 |
Plugin Name: Attachments
|
4 |
Plugin URI: http://mondaybynoon.com/wordpress-attachments/
|
5 |
Description: Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post Types
|
6 |
+
Version: 1.5.7
|
7 |
Author: Jonathan Christopher
|
8 |
Author URI: http://mondaybynoon.com/
|
9 |
*/
|
66 |
add_action( 'save_post', 'attachments_save' );
|
67 |
add_action( 'admin_menu', 'attachments_menu' );
|
68 |
add_action( 'admin_footer', 'attachments_footer_js' );
|
69 |
+
add_action( 'in_plugin_update_message-attachments/attachments.php', 'attachments_update_message' );
|
70 |
|
71 |
load_plugin_textdomain( 'attachments', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
72 |
}
|
77 |
// = FUNCTIONS =
|
78 |
// =============
|
79 |
|
80 |
+
/**
|
81 |
+
* Includes our plugin update message
|
82 |
+
*
|
83 |
+
* @return void
|
84 |
+
* @author Jonathan Christopher
|
85 |
+
*/
|
86 |
+
function attachments_update_message()
|
87 |
+
{ ?>
|
88 |
+
<div style="color: #f00;padding-top:4px;">Attachments Pro is now available!</div>
|
89 |
+
<div style="font-weight:normal;padding-top:8px;">
|
90 |
+
<p><a href="http://mondaybynoon.com/store/attachments-pro/">Attachments Pro</a> is Attachments' big brother. With it come a number of often-requested features such as:</p>
|
91 |
+
<ul style="list-style:disc;margin-left:20px;margin-bottom:13px;">
|
92 |
+
<li>Multiple Attachments instances on edit screens</li>
|
93 |
+
<li>Customizable field labels and meta box title</li>
|
94 |
+
<li>Unlimited number of fields per Attachment</li>
|
95 |
+
<li>Ability to define rules limiting the availability of Attachments on edit screens</li>
|
96 |
+
</ul>
|
97 |
+
<p>Attachments has always been and <em>will always be free</em>. <a href="http://mondaybynoon.com/store/attachments-pro/">Attachments Pro</a> is <strong>available now</strong>. To find out more about the new features already added, and to stay up-to-date on what's to come, <a href="http://mondaybynoon.com/store/attachments-pro/">have a look at the details</a>. From there, you can make formal support and feature requests.</p>
|
98 |
+
</div>
|
99 |
+
<?php }
|
100 |
+
|
101 |
+
|
102 |
/**
|
103 |
* Compares two array values with the same key "order"
|
104 |
*
|
languages/attachments-pl_PL.mo
CHANGED
Binary file
|
languages/attachments-pl_PL.po
CHANGED
@@ -1,59 +1,63 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Attachments pl_PL 1.5.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2011-
|
6 |
-
"PO-Revision-Date: 2011-
|
7 |
"Last-Translator: Wiktor Maj <w.maj@majpage.com>\n"
|
8 |
"Language-Team: Wiktor Maj <w.maj@majpage.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-KeywordsList: _e;__\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-Language: Polski\n"
|
15 |
"X-Poedit-Country: POLAND\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"
|
|
|
18 |
|
19 |
-
#: attachments.options.php:29
|
20 |
msgid "Post Type Settings"
|
21 |
msgstr "Ustawienia Custom Post Types"
|
22 |
|
23 |
-
#: attachments.options.php:30
|
24 |
msgid "Include Attachments in the following Post Types:"
|
25 |
msgstr "Dodaj załączniki do następujących Custom Post Types:"
|
26 |
|
27 |
-
#: attachments.options.php:42
|
28 |
msgid "Attachments can be integrated with your Custom Post Types. Unfortunately, there are none to work with at this time."
|
29 |
msgstr "Załączniki mogą być zintegrowane z Custom Post Types. Niestety w tej chwili nie ma żadnych zarejestrowanych Custom Post Types."
|
30 |
|
31 |
-
#: attachments.options.php:48
|
32 |
msgid "Miscellaneous"
|
33 |
msgstr "Różne"
|
34 |
|
35 |
-
#: attachments.options.php:58
|
36 |
msgid "Save"
|
37 |
msgstr "Zapisz"
|
38 |
|
39 |
-
#: attachments.php:
|
40 |
-
|
|
|
|
|
|
|
41 |
msgid "Attach"
|
42 |
msgstr "Załącz"
|
43 |
|
44 |
-
#: attachments.php:
|
45 |
msgid "Delete"
|
46 |
msgstr "Usuń"
|
47 |
|
48 |
-
#: attachments.php:
|
49 |
msgid "Title"
|
50 |
msgstr "Tytuł"
|
51 |
|
52 |
-
#: attachments.php:
|
53 |
msgid "Caption"
|
54 |
msgstr "Opis"
|
55 |
|
56 |
-
#: attachments.php:
|
57 |
msgid "Attachments"
|
58 |
msgstr "Załączniki"
|
59 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Attachments pl_PL 1.5.6\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-08-14 23:32+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-08-14 23:36+0100\n"
|
7 |
"Last-Translator: Wiktor Maj <w.maj@majpage.com>\n"
|
8 |
"Language-Team: Wiktor Maj <w.maj@majpage.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _e;__;_n:1,2\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-Language: Polski\n"
|
15 |
"X-Poedit-Country: POLAND\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
|
20 |
+
#: ../attachments.options.php:29
|
21 |
msgid "Post Type Settings"
|
22 |
msgstr "Ustawienia Custom Post Types"
|
23 |
|
24 |
+
#: ../attachments.options.php:30
|
25 |
msgid "Include Attachments in the following Post Types:"
|
26 |
msgstr "Dodaj załączniki do następujących Custom Post Types:"
|
27 |
|
28 |
+
#: ../attachments.options.php:42
|
29 |
msgid "Attachments can be integrated with your Custom Post Types. Unfortunately, there are none to work with at this time."
|
30 |
msgstr "Załączniki mogą być zintegrowane z Custom Post Types. Niestety w tej chwili nie ma żadnych zarejestrowanych Custom Post Types."
|
31 |
|
32 |
+
#: ../attachments.options.php:48
|
33 |
msgid "Miscellaneous"
|
34 |
msgstr "Różne"
|
35 |
|
36 |
+
#: ../attachments.options.php:58
|
37 |
msgid "Save"
|
38 |
msgstr "Zapisz"
|
39 |
|
40 |
+
#: ../attachments.php:49
|
41 |
+
msgid "Attachments requires PHP 5.2 or higher, as will WordPress 3.2 and higher. It has been automatically deactivated."
|
42 |
+
msgstr "Załączniki wymagają PHP w wersji 5.2 lub wyższej, a także WordPressa w wersji 3.2 lub wyższej. Plugin został automatycznie wyłączony."
|
43 |
+
|
44 |
+
#: ../attachments.php:156
|
45 |
msgid "Attach"
|
46 |
msgstr "Załącz"
|
47 |
|
48 |
+
#: ../attachments.php:180
|
49 |
msgid "Delete"
|
50 |
msgstr "Usuń"
|
51 |
|
52 |
+
#: ../attachments.php:184
|
53 |
msgid "Title"
|
54 |
msgstr "Tytuł"
|
55 |
|
56 |
+
#: ../attachments.php:188
|
57 |
msgid "Caption"
|
58 |
msgstr "Opis"
|
59 |
|
60 |
+
#: ../attachments.php:236
|
61 |
msgid "Attachments"
|
62 |
msgstr "Załączniki"
|
63 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://mondaybynoon.com/donate/
|
|
4 |
Tags: post, page, posts, pages, images, PDF, doc, Word, image, jpg, jpeg, picture, pictures, photos, attachment
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.2.1
|
7 |
-
Stable tag: 1.5.
|
8 |
|
9 |
Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
|
10 |
|
@@ -25,8 +25,6 @@ Attachments Pro brings a number of frequently requested features:
|
|
25 |
|
26 |
Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types. This plugin *does not* directly interact with your theme, you will need to edit your template files.
|
27 |
|
28 |
-
There is an [outdated] **screencast available** on the [plugin home page](http://mondaybynoon.com/wordpress-attachments/) that will be updated soon.
|
29 |
-
|
30 |
== Installation ==
|
31 |
|
32 |
1. Download the plugin and extract the files
|
@@ -61,6 +59,9 @@ Attachments uses WordPress' built in Media library for uploads and storage.
|
|
61 |
|
62 |
== Changelog ==
|
63 |
|
|
|
|
|
|
|
64 |
= 1.5.6 =
|
65 |
* Better restriction of JavaScript assets as a preventative measure for potential plugin conflicts
|
66 |
|
4 |
Tags: post, page, posts, pages, images, PDF, doc, Word, image, jpg, jpeg, picture, pictures, photos, attachment
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.2.1
|
7 |
+
Stable tag: 1.5.7
|
8 |
|
9 |
Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
|
10 |
|
25 |
|
26 |
Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types. This plugin *does not* directly interact with your theme, you will need to edit your template files.
|
27 |
|
|
|
|
|
28 |
== Installation ==
|
29 |
|
30 |
1. Download the plugin and extract the files
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
+
= 1.5.7 =
|
63 |
+
* Translation update
|
64 |
+
|
65 |
= 1.5.6 =
|
66 |
* Better restriction of JavaScript assets as a preventative measure for potential plugin conflicts
|
67 |
|