Version Description
- Made another change to the discovery of media context which will hopefully fix a bug in certain cases. Thanks to "Joolee" at the WordPress.org forums!
- Added a new, supposedly better Russian translation from "Vlad".
Download this release
Release Info
Developer | MungoBBQ |
Plugin | Enable Media Replace |
Version | 2.8.2 |
Comparing to | |
See all releases |
Code changes from version 2.8.1 to 2.8.2
- enable-media-replace-ru_RU.mo +0 -0
- enable-media-replace-ru_RU.po +95 -94
- enable-media-replace.php +2 -2
- readme.txt +4 -0
enable-media-replace-ru_RU.mo
CHANGED
Binary file
|
enable-media-replace-ru_RU.po
CHANGED
@@ -1,94 +1,95 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: enable-media-replace\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2010-09-13 14:57+0100\n"
|
6 |
-
"PO-Revision-Date: \n"
|
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 |
-
"X-Poedit-KeywordsList: __;_e\n"
|
13 |
-
"X-Poedit-Basepath: .\n"
|
14 |
-
"X-Poedit-Language: Russian\n"
|
15 |
-
"X-Poedit-Country: RUSSIAN FEDERATION\n"
|
16 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"X-Poedit-SearchPath-0: .\n"
|
18 |
-
|
19 |
-
|
20 |
-
#: enable-media-replace.php:
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
#:
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
#~
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: enable-media-replace\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-09-13 14:57+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-01-18 14:58+0400\n"
|
7 |
+
"Last-Translator: Vladislav (me@dsigh.ru)\n"
|
8 |
+
"Language-Team: DigitalSigh\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: Russian\n"
|
15 |
+
"X-Poedit-Country: RUSSIAN FEDERATION\n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
"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"
|
19 |
+
|
20 |
+
#: enable-media-replace.php:40
|
21 |
+
#: enable-media-replace.php:68
|
22 |
+
msgid "Replace media"
|
23 |
+
msgstr "Заменить"
|
24 |
+
|
25 |
+
#: enable-media-replace.php:68
|
26 |
+
msgid "Upload a new file"
|
27 |
+
msgstr "Загрузить новый файл"
|
28 |
+
|
29 |
+
#: enable-media-replace.php:68
|
30 |
+
msgid "To replace the current file, click the link and upload a replacement."
|
31 |
+
msgstr "Для того, чтобы заменить текущий файл, нажмите на ссылку и загрузите замену."
|
32 |
+
|
33 |
+
#: popup.php:14
|
34 |
+
#: upload.php:21
|
35 |
+
msgid "You do not have permission to upload files."
|
36 |
+
msgstr "У вас нет прав для загрузки файлов."
|
37 |
+
|
38 |
+
#: popup.php:30
|
39 |
+
msgid "Replace Media Upload"
|
40 |
+
msgstr "Загрузка файла для замены"
|
41 |
+
|
42 |
+
#: popup.php:41
|
43 |
+
msgid "NOTE: You are about to replace the media file"
|
44 |
+
msgstr "ПРИМЕЧАНИЕ: Вы собираетесь заменить медиафайл"
|
45 |
+
|
46 |
+
#: popup.php:41
|
47 |
+
msgid "There is no undo. Think about it!"
|
48 |
+
msgstr "Данную операцию нельзя отменить. Учтите это!"
|
49 |
+
|
50 |
+
#: popup.php:43
|
51 |
+
msgid "Choose a file to upload from your computer"
|
52 |
+
msgstr "Выберите файл для загрузки с вашего компьютера:"
|
53 |
+
|
54 |
+
#: popup.php:47
|
55 |
+
msgid "Select media replacement type:"
|
56 |
+
msgstr "Выберите тип замены:"
|
57 |
+
|
58 |
+
#: popup.php:49
|
59 |
+
msgid "Just replace the file"
|
60 |
+
msgstr "Только заменить файл"
|
61 |
+
|
62 |
+
#: popup.php:50
|
63 |
+
msgid "Note: This option requires you to upload a file of the same type ("
|
64 |
+
msgstr "Этот вариант требуется, если нужно загрузить файл того же типа ("
|
65 |
+
|
66 |
+
#: popup.php:50
|
67 |
+
msgid ") as the one you are replacing. The name of the attachment will stay the same ("
|
68 |
+
msgstr "), как оригинальный. Имя вложения останется тем же ("
|
69 |
+
|
70 |
+
#: popup.php:50
|
71 |
+
msgid ") no matter what the file you upload is called."
|
72 |
+
msgstr ") не зависимо от того, как называется загружаемый файл."
|
73 |
+
|
74 |
+
#: popup.php:52
|
75 |
+
msgid "Replace the file, use new file name and update all links"
|
76 |
+
msgstr "Заменить файл, использовать новое имя и обновить все ссылки"
|
77 |
+
|
78 |
+
#: popup.php:53
|
79 |
+
msgid "Note: If you check this option, the name and type of the file you are about to upload will replace the old file. All links pointing to the current file ("
|
80 |
+
msgstr "Если выбрать этот вариант, то имя и тип файла, который вы собираетесь загрузить, заменят старые. Все ссылки, указывающие на текущий файл ("
|
81 |
+
|
82 |
+
#: popup.php:53
|
83 |
+
msgid ") will be updated to point to the new file name."
|
84 |
+
msgstr ") будут обновлены новыми."
|
85 |
+
|
86 |
+
#: popup.php:55
|
87 |
+
msgid "Upload"
|
88 |
+
msgstr "Загрузить"
|
89 |
+
|
90 |
+
#: popup.php:55
|
91 |
+
msgid "Cancel"
|
92 |
+
msgstr "Отмена"
|
93 |
+
|
94 |
+
#~ msgid "Replace media upload"
|
95 |
+
#~ msgstr "Загрузка файла для замены"
|
enable-media-replace.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Enable Media Replace
|
4 |
Plugin URI: http://www.mansjonasson.se/enable-media-replace
|
5 |
Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
|
6 |
-
Version: 2.8.
|
7 |
Author: Måns Jonasson
|
8 |
Author URI: http://www.mansjonasson.se
|
9 |
|
@@ -62,7 +62,7 @@ function enable_media_replace( $form_fields, $post ) {
|
|
62 |
}
|
63 |
else {
|
64 |
$current_screen = get_current_screen();
|
65 |
-
if ( $current_screen->base == 'post' && $current_screen->post_type == 'attachment' ) { $on_media_edit_screen = true; }
|
66 |
}
|
67 |
|
68 |
if ($on_media_edit_screen == true) {
|
3 |
Plugin Name: Enable Media Replace
|
4 |
Plugin URI: http://www.mansjonasson.se/enable-media-replace
|
5 |
Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
|
6 |
+
Version: 2.8.2
|
7 |
Author: Måns Jonasson
|
8 |
Author URI: http://www.mansjonasson.se
|
9 |
|
62 |
}
|
63 |
else {
|
64 |
$current_screen = get_current_screen();
|
65 |
+
if ( !is_null($current_screen) && $current_screen->base == 'post' && $current_screen->post_type == 'attachment' ) { $on_media_edit_screen = true; }
|
66 |
}
|
67 |
|
68 |
if ($on_media_edit_screen == true) {
|
readme.txt
CHANGED
@@ -37,6 +37,10 @@ If you want more control over the format used to display the time, you can use t
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
|
|
40 |
= 2.8.1 =
|
41 |
* Fixed a small bug which could create error messages on some systems when deleting old image files.
|
42 |
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 2.8.2 =
|
41 |
+
* Made another change to the discovery of media context which will hopefully fix a bug in certain cases. Thanks to "Joolee" at the WordPress.org forums!
|
42 |
+
* Added a new, supposedly better Russian translation from "Vlad".
|
43 |
+
|
44 |
= 2.8.1 =
|
45 |
* Fixed a small bug which could create error messages on some systems when deleting old image files.
|
46 |
|