Version Description
- fixed cooperation with front-end upload plugins (like BuddyPress Media)
- added possibility to define which post type attachments should be watermarked on upload
Download this release
Release Info
Developer | szaleq |
Plugin | Easy Watermark |
Version | 0.5.1 |
Comparing to | |
See all releases |
Code changes from version 0.5 to 0.5.1
- classes/class-ew-plugin-core.php +1 -1
- classes/class-ew-plugin.php +74 -27
- classes/class-ew-settings.php +2 -1
- index.php +16 -19
- js/easy-watermark.js +56 -0
- languages/easy-watermark-es_ES.mo +0 -0
- languages/easy-watermark-es_ES.po +64 -34
- languages/easy-watermark-fr_FR.mo +0 -0
- languages/easy-watermark-fr_FR.po +62 -34
- languages/easy-watermark-pl_PL.mo +0 -0
- languages/easy-watermark-pl_PL.po +65 -35
- languages/easy-watermark-ru_RU.mo +0 -0
- languages/easy-watermark-ru_RU.po +595 -0
- languages/easy-watermark.pot +63 -35
- readme.txt +6 -1
- views/settings-form-general.php +34 -14
- views/settings-form-text.php +1 -1
classes/class-ew-plugin-core.php
CHANGED
@@ -23,7 +23,7 @@ class EW_Plugin_Core extends EW_Pluggable
|
|
23 |
/**
|
24 |
* @var string plugin version
|
25 |
*/
|
26 |
-
protected static $version = '0.5';
|
27 |
|
28 |
/**
|
29 |
* @var string plugin class name
|
23 |
/**
|
24 |
* @var string plugin version
|
25 |
*/
|
26 |
+
protected static $version = '0.5.1';
|
27 |
|
28 |
/**
|
29 |
* @var string plugin class name
|
classes/class-ew-plugin.php
CHANGED
@@ -29,6 +29,11 @@ class EW_Plugin extends EW_Plugin_Core
|
|
29 |
*/
|
30 |
private $allowedMime = array('image/png', 'image/jpeg', 'image/gif');
|
31 |
|
|
|
|
|
|
|
|
|
|
|
32 |
/**
|
33 |
* Loads textdomain for translations,
|
34 |
* adds wordpress actions
|
@@ -38,17 +43,24 @@ class EW_Plugin extends EW_Plugin_Core
|
|
38 |
public function __construct(){
|
39 |
|
40 |
$this->add_action('init', 'plugin_init')
|
41 |
-
|
42 |
-
->
|
43 |
-
|
44 |
-
->
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
->add_action('
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
$this->test_GD();
|
54 |
}
|
@@ -84,7 +96,7 @@ class EW_Plugin extends EW_Plugin_Core
|
|
84 |
public function plugin_init(){
|
85 |
new EW_Settings($this);
|
86 |
|
87 |
-
if(isset($_GET['page'])){
|
88 |
if($_GET['page'] == 'easy-watermark-settings' && isset($_GET['tp']) && $_GET['tp'] == 1){
|
89 |
$this->print_text_preview();
|
90 |
}
|
@@ -153,7 +165,7 @@ class EW_Plugin extends EW_Plugin_Core
|
|
153 |
$post = get_post((int) $_GET['attachment_id']);
|
154 |
$roles = $this->getAllowedRoles();
|
155 |
|
156 |
-
if(!$this->
|
157 |
// User doesn't have a premission to add watermark, he was not able to click the link!
|
158 |
wp_die( __( 'Cheatin’ uh?' ) );
|
159 |
|
@@ -227,7 +239,9 @@ class EW_Plugin extends EW_Plugin_Core
|
|
227 |
* @return void
|
228 |
*/
|
229 |
public function add_media_page(){
|
230 |
-
|
|
|
|
|
231 |
add_media_page( 'Easy Watermark', 'Easy Watermark', 'upload_files', 'easy-watermark', array($this, 'easy_watermark'));
|
232 |
}
|
233 |
|
@@ -237,8 +251,8 @@ class EW_Plugin extends EW_Plugin_Core
|
|
237 |
* @return void
|
238 |
*/
|
239 |
function add_bulk_action_script() {
|
240 |
-
$roles = $this->settings['general']['
|
241 |
-
if($this->isGDEnabled() && $this->
|
242 |
$text = __('Add Watermark', 'easy-watermark');
|
243 |
echo <<<EOD
|
244 |
<script type="text/javascript">
|
@@ -257,8 +271,8 @@ EOD;
|
|
257 |
* @return array
|
258 |
*/
|
259 |
public function add_media_row_action($actions, $post, $detached){
|
260 |
-
$roles = $this->settings['general']['
|
261 |
-
if($this->isGDEnabled() && $this->
|
262 |
&& in_array($post->post_mime_type, $this->allowedMime)
|
263 |
&& get_attached_file($post->ID) != $this->settings['image']['watermark_path']
|
264 |
&& (current_user_can('edit_others_posts') || $post->post_author == wp_get_current_user()->ID)){
|
@@ -335,6 +349,12 @@ EOD;
|
|
335 |
* it's realy watermarked in wp_generate_attachment_metadata filter.
|
336 |
* See wp_generate_attachment_metadata() method below.
|
337 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
* @return array
|
339 |
*/
|
340 |
public function add_watermark_after_upload($id){
|
@@ -346,20 +366,16 @@ EOD;
|
|
346 |
}
|
347 |
|
348 |
/**
|
349 |
-
* Filter used to add watermark
|
350 |
-
* add_attachment action is called before image resizing,
|
351 |
-
* so image was watermarked first, then resized.
|
352 |
-
* To avoid that, in add_attachment action we only mark,
|
353 |
-
* that image was uploaded and then it's watermarked in this filter
|
354 |
-
* which is called after resizing.
|
355 |
*
|
356 |
* @param array
|
357 |
* @param integer
|
358 |
* @return array
|
359 |
*/
|
360 |
public function wp_generate_attachment_metadata($metadata, $id){
|
361 |
-
if($this->
|
362 |
-
&& ($this->settings['general']['auto_add_perm'] == '1' || $this->
|
|
|
363 |
|
364 |
$this->watermark_single($id, true, $metadata);
|
365 |
|
@@ -839,7 +855,7 @@ echo '<style type="text/css" media="screen">
|
|
839 |
$this->settings = $settings;
|
840 |
}
|
841 |
|
842 |
-
public function
|
843 |
if(is_numeric($user_id)){
|
844 |
$user = get_userdata($user_id);
|
845 |
}
|
@@ -866,6 +882,26 @@ echo '<style type="text/css" media="screen">
|
|
866 |
return $result;
|
867 |
}
|
868 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
869 |
private function getAllowedRoles(){
|
870 |
$roles = $this->settings['general']['allowed_roles'];
|
871 |
|
@@ -927,4 +963,15 @@ echo '<style type="text/css" media="screen">
|
|
927 |
|
928 |
return $roles;
|
929 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
930 |
}
|
29 |
*/
|
30 |
private $allowedMime = array('image/png', 'image/jpeg', 'image/gif');
|
31 |
|
32 |
+
/**
|
33 |
+
* @var array
|
34 |
+
*/
|
35 |
+
private $defaultPostTypes = array('post', 'page', 'unattached');
|
36 |
+
|
37 |
/**
|
38 |
* Loads textdomain for translations,
|
39 |
* adds wordpress actions
|
43 |
public function __construct(){
|
44 |
|
45 |
$this->add_action('init', 'plugin_init')
|
46 |
+
// This hook was used before version 0.5.1 but it is not called by some plugins (e.g. buddypress-media)
|
47 |
+
// ->add_action('add_attachment', 'add_watermark_after_upload')
|
48 |
+
// now the proper filter is attached direclty as it is called only when new image is uploaded (see add_watermark_after_upload)
|
49 |
+
->add_filter('wp_generate_attachment_metadata', null, 10, 2);
|
50 |
+
|
51 |
+
// load admin interface
|
52 |
+
if(is_admin()){
|
53 |
+
$this->add_action('admin_menu', 'add_media_page')
|
54 |
+
->add_filter('media_row_actions', 'add_media_row_action', 10, 3)
|
55 |
+
->add_filter('attachment_fields_to_edit', 'add_attachment_field', 10, 2)
|
56 |
+
->add_action('admin_notices')
|
57 |
+
->add_action('admin_head-upload.php', 'add_bulk_action_script')
|
58 |
+
->add_action('admin_action_ew_add_watermark', 'bulk_action_handler')
|
59 |
+
->add_action('admin_print_scripts', 'easy_watermark_style')
|
60 |
+
->add_action('manage_media_columns', 'add_media_column')
|
61 |
+
->add_action('manage_media_custom_column', null, 10, 2)
|
62 |
+
->add_action('add_meta_boxes');
|
63 |
+
}
|
64 |
|
65 |
$this->test_GD();
|
66 |
}
|
96 |
public function plugin_init(){
|
97 |
new EW_Settings($this);
|
98 |
|
99 |
+
if(is_admin() && isset($_GET['page'])){
|
100 |
if($_GET['page'] == 'easy-watermark-settings' && isset($_GET['tp']) && $_GET['tp'] == 1){
|
101 |
$this->print_text_preview();
|
102 |
}
|
165 |
$post = get_post((int) $_GET['attachment_id']);
|
166 |
$roles = $this->getAllowedRoles();
|
167 |
|
168 |
+
if(!$this->checkRolePermission() || !(current_user_can('edit_others_posts') || $post->post_author == wp_get_current_user()->ID))
|
169 |
// User doesn't have a premission to add watermark, he was not able to click the link!
|
170 |
wp_die( __( 'Cheatin’ uh?' ) );
|
171 |
|
239 |
* @return void
|
240 |
*/
|
241 |
public function add_media_page(){
|
242 |
+
$roles = $this->settings['general']['allowed_roles'];
|
243 |
+
|
244 |
+
if($this->isGDEnabled() && $this->checkRolePermission())
|
245 |
add_media_page( 'Easy Watermark', 'Easy Watermark', 'upload_files', 'easy-watermark', array($this, 'easy_watermark'));
|
246 |
}
|
247 |
|
251 |
* @return void
|
252 |
*/
|
253 |
function add_bulk_action_script() {
|
254 |
+
$roles = $this->settings['general']['allowed_roles'];
|
255 |
+
if($this->isGDEnabled() && $this->checkRolePermission()){
|
256 |
$text = __('Add Watermark', 'easy-watermark');
|
257 |
echo <<<EOD
|
258 |
<script type="text/javascript">
|
271 |
* @return array
|
272 |
*/
|
273 |
public function add_media_row_action($actions, $post, $detached){
|
274 |
+
$roles = $this->settings['general']['allowed_roles'];
|
275 |
+
if($this->isGDEnabled() && $this->checkRolePermission()
|
276 |
&& in_array($post->post_mime_type, $this->allowedMime)
|
277 |
&& get_attached_file($post->ID) != $this->settings['image']['watermark_path']
|
278 |
&& (current_user_can('edit_others_posts') || $post->post_author == wp_get_current_user()->ID)){
|
349 |
* it's realy watermarked in wp_generate_attachment_metadata filter.
|
350 |
* See wp_generate_attachment_metadata() method below.
|
351 |
*
|
352 |
+
* This function is deprecated since 0.5.1, it is not needed since the
|
353 |
+
* 'wp_generate_attachment_metadata' filter is called only for newly uploaded files.
|
354 |
+
* Some plugins (e.g. buddypress-media) calls this filter, but not the 'add_attachment' action
|
355 |
+
* so existance of this function caused problems.
|
356 |
+
*
|
357 |
+
* @deprecated
|
358 |
* @return array
|
359 |
*/
|
360 |
public function add_watermark_after_upload($id){
|
366 |
}
|
367 |
|
368 |
/**
|
369 |
+
* Filter used to add watermark (it is called after image resizing)
|
|
|
|
|
|
|
|
|
|
|
370 |
*
|
371 |
* @param array
|
372 |
* @param integer
|
373 |
* @return array
|
374 |
*/
|
375 |
public function wp_generate_attachment_metadata($metadata, $id){
|
376 |
+
if($this->settings['general']['auto_add']
|
377 |
+
&& ($this->settings['general']['auto_add_perm'] == '1' || $this->checkRolePermission())
|
378 |
+
&& $this->checkPostType()){
|
379 |
|
380 |
$this->watermark_single($id, true, $metadata);
|
381 |
|
855 |
$this->settings = $settings;
|
856 |
}
|
857 |
|
858 |
+
public function checkRolePermission($user_id = null){
|
859 |
if(is_numeric($user_id)){
|
860 |
$user = get_userdata($user_id);
|
861 |
}
|
882 |
return $result;
|
883 |
}
|
884 |
|
885 |
+
private function checkPostType(){
|
886 |
+
if(isset($_REQUEST['post_id']) && $_REQUEST['post_id'] != 0){
|
887 |
+
$post_id = (int) $_REQUEST['post_id'];
|
888 |
+
$post_type = get_post_type($post_id);
|
889 |
+
}
|
890 |
+
else {
|
891 |
+
// unattached image
|
892 |
+
$post_type = 'unattached';
|
893 |
+
}
|
894 |
+
|
895 |
+
$allowed_post_types = $this->settings['general']['allowed_post_types'];
|
896 |
+
|
897 |
+
if($post_type != null){
|
898 |
+
if(in_array($post_type, $allowed_post_types))
|
899 |
+
return true;
|
900 |
+
}
|
901 |
+
|
902 |
+
return false;
|
903 |
+
}
|
904 |
+
|
905 |
private function getAllowedRoles(){
|
906 |
$roles = $this->settings['general']['allowed_roles'];
|
907 |
|
963 |
|
964 |
return $roles;
|
965 |
}
|
966 |
+
|
967 |
+
public function getPostTypes($result = null){
|
968 |
+
$args = array(
|
969 |
+
'public' => true,
|
970 |
+
'_builtin' => false
|
971 |
+
);
|
972 |
+
|
973 |
+
$post_types = get_post_types($args, $result);
|
974 |
+
|
975 |
+
return $post_types;
|
976 |
+
}
|
977 |
}
|
classes/class-ew-settings.php
CHANGED
@@ -23,6 +23,7 @@ class EW_Settings
|
|
23 |
'general' => array(
|
24 |
'auto_add' => '1',
|
25 |
'auto_add_perm' => '1',
|
|
|
26 |
'allowed_roles' => array('author' => 1, 'editor' => 2),
|
27 |
'date_format' => null,
|
28 |
'time_format' => null,
|
@@ -91,7 +92,7 @@ class EW_Settings
|
|
91 |
|
92 |
foreach($this->tabs as $name => $caption){
|
93 |
$section = get_option($plugin->getSlug() . '-settings-' . $name);
|
94 |
-
$this->settings[$name] = array_merge(self::$defaults[$name],
|
95 |
}
|
96 |
|
97 |
$this->plugin = $plugin;
|
23 |
'general' => array(
|
24 |
'auto_add' => '1',
|
25 |
'auto_add_perm' => '1',
|
26 |
+
'allowed_post_types' => array('post', 'page', 'unattached'),
|
27 |
'allowed_roles' => array('author' => 1, 'editor' => 2),
|
28 |
'date_format' => null,
|
29 |
'time_format' => null,
|
92 |
|
93 |
foreach($this->tabs as $name => $caption){
|
94 |
$section = get_option($plugin->getSlug() . '-settings-' . $name);
|
95 |
+
$this->settings[$name] = array_merge(self::$defaults[$name], $section);
|
96 |
}
|
97 |
|
98 |
$this->plugin = $plugin;
|
index.php
CHANGED
@@ -2,31 +2,28 @@
|
|
2 |
/*
|
3 |
Plugin Name: Easy Watermark
|
4 |
Description: This plugin can automatically add image and text watermark to pictures as they are uploaded to wordpress media library. You can also watermark existing images manually (all at once or an every single image). Watermark image can be a png, gif (alpha channel supported in both cases) or jpg. It's also possibile to set watermark opacity (doesn't apply to png with alpha channel). For text watermark you can select font, set color, size, angel and opacity.
|
5 |
-
Version: 0.5
|
6 |
Author: Wojtek Szałkiewicz
|
7 |
Author URI: http://szalkiewicz.pl/
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
*/
|
11 |
|
12 |
-
//
|
13 |
-
|
14 |
-
// Define flag, that we have plugin loaded
|
15 |
-
define('EASY_WATERMARK', true);
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
}
|
2 |
/*
|
3 |
Plugin Name: Easy Watermark
|
4 |
Description: This plugin can automatically add image and text watermark to pictures as they are uploaded to wordpress media library. You can also watermark existing images manually (all at once or an every single image). Watermark image can be a png, gif (alpha channel supported in both cases) or jpg. It's also possibile to set watermark opacity (doesn't apply to png with alpha channel). For text watermark you can select font, set color, size, angel and opacity.
|
5 |
+
Version: 0.5.1
|
6 |
Author: Wojtek Szałkiewicz
|
7 |
Author URI: http://szalkiewicz.pl/
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
*/
|
11 |
|
12 |
+
// Define flag, that we have plugin loaded
|
13 |
+
define('EASY_WATERMARK', true);
|
|
|
|
|
14 |
|
15 |
+
define('EWDS', DIRECTORY_SEPARATOR);
|
16 |
+
define('EWBASE', dirname(__FILE__));
|
17 |
+
define('EWLIB', EWBASE . EWDS . 'lib');
|
18 |
+
define('EWCLASSES', EWBASE . EWDS . 'classes');
|
19 |
+
define('EWVIEWS', EWBASE . EWDS . 'views');
|
20 |
|
21 |
+
// Require all needed files
|
22 |
+
require_once EWCLASSES . EWDS . 'class-ew-pluggable.php';
|
23 |
+
require_once EWCLASSES . EWDS . 'class-ew-plugin-core.php';
|
24 |
+
require_once EWCLASSES . EWDS . 'class-ew-plugin.php';
|
25 |
+
require_once EWCLASSES . EWDS . 'class-ew-settings.php';
|
26 |
+
require_once EWLIB . EWDS . 'EasyWatermark.php';
|
27 |
|
28 |
+
// Initiate plugin
|
29 |
+
EW_Plugin::init();
|
|
js/easy-watermark.js
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
if($('#easy-watermark-autoadd').attr('checked'))
|
3 |
$('.auto-add-options').show();
|
4 |
|
|
|
|
|
5 |
$('#easy-watermark-autoadd').change(function(){
|
6 |
var checked = $(this).attr('checked');
|
7 |
if(checked)
|
@@ -10,6 +12,41 @@
|
|
10 |
$('.auto-add-options').hide();
|
11 |
});
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
$('.remove-image').click(function(e){
|
14 |
e.preventDefault();
|
15 |
|
@@ -116,4 +153,23 @@
|
|
116 |
}
|
117 |
});
|
118 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
}(jQuery))
|
2 |
if($('#easy-watermark-autoadd').attr('checked'))
|
3 |
$('.auto-add-options').show();
|
4 |
|
5 |
+
checkedAllPostTypes();
|
6 |
+
|
7 |
$('#easy-watermark-autoadd').change(function(){
|
8 |
var checked = $(this).attr('checked');
|
9 |
if(checked)
|
12 |
$('.auto-add-options').hide();
|
13 |
});
|
14 |
|
15 |
+
$('#ew-select-all-post-types').change(function(){
|
16 |
+
var elm = $(this);
|
17 |
+
var types = $('.ew-post-type');
|
18 |
+
|
19 |
+
if(elm.prop('checked')){
|
20 |
+
types.each(function(){
|
21 |
+
var type = $(this);
|
22 |
+
type.data('checked-before', type.prop('checked'));
|
23 |
+
});
|
24 |
+
types.prop('checked', true).prop('readonly', true);
|
25 |
+
}
|
26 |
+
else {
|
27 |
+
types.each(function(){
|
28 |
+
var type = $(this);
|
29 |
+
type.prop('checked', type.data('checked-before'));
|
30 |
+
});
|
31 |
+
types.prop('readonly', false);
|
32 |
+
}
|
33 |
+
});
|
34 |
+
|
35 |
+
$('.ew-post-type').change(function(){
|
36 |
+
var elm = $(this), all;
|
37 |
+
|
38 |
+
if(elm.prop('readonly')){
|
39 |
+
elm.prop('checked', true);
|
40 |
+
}
|
41 |
+
else {
|
42 |
+
all = checkedAllPostTypes();
|
43 |
+
|
44 |
+
if(all){
|
45 |
+
elm.data('checked-before', false);
|
46 |
+
}
|
47 |
+
}
|
48 |
+
});
|
49 |
+
|
50 |
$('.remove-image').click(function(e){
|
51 |
e.preventDefault();
|
52 |
|
153 |
}
|
154 |
});
|
155 |
}
|
156 |
+
|
157 |
+
function checkedAllPostTypes(){
|
158 |
+
var allTypes = $('.ew-post-type'),
|
159 |
+
all = true;
|
160 |
+
|
161 |
+
for(var i = 0; i < allTypes.length; i++){
|
162 |
+
var type = $(allTypes[i]);
|
163 |
+
if(type.prop('checked') == false){
|
164 |
+
all = false;
|
165 |
+
}
|
166 |
+
}
|
167 |
+
|
168 |
+
if(all){
|
169 |
+
$('#ew-select-all-post-types').prop('checked', true);
|
170 |
+
allTypes.prop('readonly', true);
|
171 |
+
}
|
172 |
+
|
173 |
+
return all;
|
174 |
+
}
|
175 |
}(jQuery))
|
languages/easy-watermark-es_ES.mo
CHANGED
Binary file
|
languages/easy-watermark-es_ES.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Easy Watermark 0.5\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2013-
|
6 |
-
"PO-Revision-Date: 2013-
|
7 |
"Last-Translator: Manuel <mmartinortiz@gmail.com>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -15,47 +15,47 @@ msgstr ""
|
|
15 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
16 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
17 |
|
18 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
19 |
msgid "Cheatin’ uh?"
|
20 |
msgstr "Haciendo trampas?"
|
21 |
|
22 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
23 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
24 |
msgid "Watermark successfully added."
|
25 |
msgstr "Marca de agua añadida correctamente"
|
26 |
|
27 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
28 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
29 |
msgid "watermarked"
|
30 |
msgstr "Marca de agua añadida"
|
31 |
|
32 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
33 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
34 |
msgid "not watermarked"
|
35 |
msgstr "Marca de agua NO añadida"
|
36 |
|
37 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
38 |
#, php-format
|
39 |
msgid "An Image has been marked as %s."
|
40 |
msgstr "Una imagen ha sido marcada como %s"
|
41 |
|
42 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
43 |
msgid "Invalid mime type."
|
44 |
msgstr "Tipo MIME inválido"
|
45 |
|
46 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
47 |
msgid "No watermark image selected and no watermark text set."
|
48 |
msgstr "Marca de agua no seleccionada y texto de agua no establecido"
|
49 |
|
50 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
51 |
msgid "Go to settings page"
|
52 |
msgstr "Ir a la página de configuración"
|
53 |
|
54 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
55 |
msgid "An error has occurred."
|
56 |
msgstr "Ha ocurrido un error"
|
57 |
|
58 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
59 |
msgid ""
|
60 |
"Easy Watermark is active, but requires GD library to work. Please enable "
|
61 |
"this extension."
|
@@ -63,72 +63,72 @@ msgstr ""
|
|
63 |
"Easy Watermark está activo, pero requiere la biblioteca GD para funcionar. "
|
64 |
"Por favor, activa esta extensión"
|
65 |
|
66 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
67 |
msgid "Read more"
|
68 |
msgstr "Leer más"
|
69 |
|
70 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
71 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
72 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
73 |
msgid "Add Watermark"
|
74 |
msgstr "Añadir marca de agua"
|
75 |
|
76 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
77 |
msgid "Add watermark"
|
78 |
msgstr "Añadir marca de agua"
|
79 |
|
80 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
81 |
#, php-format
|
82 |
msgid "No permission to edit file %s. Skipping..."
|
83 |
msgstr "No tienes permiso para editar el fichero %s. Omitiendo..."
|
84 |
|
85 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
86 |
#, php-format
|
87 |
msgid "Not supported mime type of %s. Skipping..."
|
88 |
msgstr "Tipo MIME %s no soportado, omitiendo..."
|
89 |
|
90 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
91 |
#, php-format
|
92 |
msgid "Watermark successfully added to %s"
|
93 |
msgstr "Marca de agua añadida correctamente a %s"
|
94 |
|
95 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
96 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
97 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
98 |
msgid "Easy Watermark"
|
99 |
msgstr "Easy Watermark"
|
100 |
|
101 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
102 |
msgid "Status"
|
103 |
msgstr "Estado"
|
104 |
|
105 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
106 |
msgid "mark as not watermarked"
|
107 |
msgstr "No marcardo para procesar"
|
108 |
|
109 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
110 |
msgid "mark as watermarked"
|
111 |
msgstr "Marcado como procesado"
|
112 |
|
113 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
114 |
msgid "General"
|
115 |
msgstr "General"
|
116 |
|
117 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
118 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
119 |
msgid "Image"
|
120 |
msgstr "Imagen"
|
121 |
|
122 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
123 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
124 |
msgid "Text"
|
125 |
msgstr "Texto"
|
126 |
|
127 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
128 |
msgid "Settings"
|
129 |
msgstr "Configuración"
|
130 |
|
131 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
132 |
msgid "Donate"
|
133 |
msgstr "Donar"
|
134 |
|
@@ -322,11 +322,11 @@ msgstr "Formato de hora"
|
|
322 |
msgid "Leave blank to use default time format"
|
323 |
msgstr "Vacío para usar las opciones de hora por defecto"
|
324 |
|
325 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
326 |
msgid "User Roles"
|
327 |
msgstr "Roles del usuario"
|
328 |
|
329 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
330 |
msgid ""
|
331 |
"Select, which user roles can have a permission to apply watermarks (only "
|
332 |
"roles with permission to upload files are listed here)"
|
@@ -355,6 +355,36 @@ msgstr ""
|
|
355 |
"ficheros subidos por cualquier usuario. Si no se marca, la función 'Marca de "
|
356 |
"agua automática' dependerá de las opciones basadas en roles"
|
357 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
359 |
msgid "Watermark Image"
|
360 |
msgstr "Imagen de marca de agua"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Easy Watermark 0.5\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-09-02 18:09+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-09-03 08:55+0100\n"
|
7 |
"Last-Translator: Manuel <mmartinortiz@gmail.com>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"MIME-Version: 1.0\n"
|
15 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
16 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
17 |
|
18 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:170
|
19 |
msgid "Cheatin’ uh?"
|
20 |
msgstr "Haciendo trampas?"
|
21 |
|
22 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:207
|
23 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
24 |
msgid "Watermark successfully added."
|
25 |
msgstr "Marca de agua añadida correctamente"
|
26 |
|
27 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
28 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
29 |
msgid "watermarked"
|
30 |
msgstr "Marca de agua añadida"
|
31 |
|
32 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
33 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
34 |
msgid "not watermarked"
|
35 |
msgstr "Marca de agua NO añadida"
|
36 |
|
37 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:211
|
38 |
#, php-format
|
39 |
msgid "An Image has been marked as %s."
|
40 |
msgstr "Una imagen ha sido marcada como %s"
|
41 |
|
42 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:217
|
43 |
msgid "Invalid mime type."
|
44 |
msgstr "Tipo MIME inválido"
|
45 |
|
46 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:220
|
47 |
msgid "No watermark image selected and no watermark text set."
|
48 |
msgstr "Marca de agua no seleccionada y texto de agua no establecido"
|
49 |
|
50 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:222
|
51 |
msgid "Go to settings page"
|
52 |
msgstr "Ir a la página de configuración"
|
53 |
|
54 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:226
|
55 |
msgid "An error has occurred."
|
56 |
msgstr "Ha ocurrido un error"
|
57 |
|
58 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
59 |
msgid ""
|
60 |
"Easy Watermark is active, but requires GD library to work. Please enable "
|
61 |
"this extension."
|
63 |
"Easy Watermark está activo, pero requiere la biblioteca GD para funcionar. "
|
64 |
"Por favor, activa esta extensión"
|
65 |
|
66 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
67 |
msgid "Read more"
|
68 |
msgstr "Leer más"
|
69 |
|
70 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:256
|
71 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:283
|
72 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:675
|
73 |
msgid "Add Watermark"
|
74 |
msgstr "Añadir marca de agua"
|
75 |
|
76 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:299
|
77 |
msgid "Add watermark"
|
78 |
msgstr "Añadir marca de agua"
|
79 |
|
80 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:448
|
81 |
#, php-format
|
82 |
msgid "No permission to edit file %s. Skipping..."
|
83 |
msgstr "No tienes permiso para editar el fichero %s. Omitiendo..."
|
84 |
|
85 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:453
|
86 |
#, php-format
|
87 |
msgid "Not supported mime type of %s. Skipping..."
|
88 |
msgstr "Tipo MIME %s no soportado, omitiendo..."
|
89 |
|
90 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:459
|
91 |
#, php-format
|
92 |
msgid "Watermark successfully added to %s"
|
93 |
msgstr "Marca de agua añadida correctamente a %s"
|
94 |
|
95 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:644
|
96 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:115
|
97 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
98 |
msgid "Easy Watermark"
|
99 |
msgstr "Easy Watermark"
|
100 |
|
101 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:659
|
102 |
msgid "Status"
|
103 |
msgstr "Estado"
|
104 |
|
105 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
106 |
msgid "mark as not watermarked"
|
107 |
msgstr "No marcardo para procesar"
|
108 |
|
109 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
110 |
msgid "mark as watermarked"
|
111 |
msgstr "Marcado como procesado"
|
112 |
|
113 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:88
|
114 |
msgid "General"
|
115 |
msgstr "General"
|
116 |
|
117 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
|
118 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
119 |
msgid "Image"
|
120 |
msgstr "Imagen"
|
121 |
|
122 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
|
123 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
124 |
msgid "Text"
|
125 |
msgstr "Texto"
|
126 |
|
127 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:317
|
128 |
msgid "Settings"
|
129 |
msgstr "Configuración"
|
130 |
|
131 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:330
|
132 |
msgid "Donate"
|
133 |
msgstr "Donar"
|
134 |
|
322 |
msgid "Leave blank to use default time format"
|
323 |
msgstr "Vacío para usar las opciones de hora por defecto"
|
324 |
|
325 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
|
326 |
msgid "User Roles"
|
327 |
msgstr "Roles del usuario"
|
328 |
|
329 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:47
|
330 |
msgid ""
|
331 |
"Select, which user roles can have a permission to apply watermarks (only "
|
332 |
"roles with permission to upload files are listed here)"
|
355 |
"ficheros subidos por cualquier usuario. Si no se marca, la función 'Marca de "
|
356 |
"agua automática' dependerá de las opciones basadas en roles"
|
357 |
|
358 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
|
359 |
+
msgid "Post Types"
|
360 |
+
msgstr "Tipo de entradas"
|
361 |
+
|
362 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:69
|
363 |
+
msgid "Select what post type attachments should be automatically watermarked"
|
364 |
+
msgstr ""
|
365 |
+
"Selecciona que tipo de entradas deben tener marca de agua en las imágenes "
|
366 |
+
"adjuntas"
|
367 |
+
|
368 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
|
369 |
+
msgid "Select All"
|
370 |
+
msgstr "Seleccionar todo"
|
371 |
+
|
372 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
373 |
+
msgid "Unattached Images"
|
374 |
+
msgstr "Imagenes sin adjuntar"
|
375 |
+
|
376 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
377 |
+
msgid "uploaded through the media library page"
|
378 |
+
msgstr "Subidas mediante la página de la biblioteca multimedia"
|
379 |
+
|
380 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:76
|
381 |
+
msgid "Posts"
|
382 |
+
msgstr "Entradas"
|
383 |
+
|
384 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:77
|
385 |
+
msgid "Pages"
|
386 |
+
msgstr "Páginas"
|
387 |
+
|
388 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
389 |
msgid "Watermark Image"
|
390 |
msgstr "Imagen de marca de agua"
|
languages/easy-watermark-fr_FR.mo
CHANGED
Binary file
|
languages/easy-watermark-fr_FR.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Easy Watermark 0.5\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2013-
|
6 |
-
"PO-Revision-Date: 2013-
|
7 |
"Last-Translator: Regis B <rbrisard@gmail.com>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"Language: French\n"
|
@@ -16,116 +16,116 @@ msgstr ""
|
|
16 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
17 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
18 |
|
19 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
20 |
msgid "Cheatin’ uh?"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
24 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
25 |
msgid "Watermark successfully added."
|
26 |
msgstr "Watermark ajouté avec succès."
|
27 |
|
28 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
29 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
30 |
msgid "watermarked"
|
31 |
msgstr "tatouée (Watermark)"
|
32 |
|
33 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
34 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
35 |
msgid "not watermarked"
|
36 |
msgstr "non tatouée (Watermark)"
|
37 |
|
38 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
39 |
#, php-format
|
40 |
msgid "An Image has been marked as %s."
|
41 |
msgstr "Une image a été marquée comme %s."
|
42 |
|
43 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
44 |
msgid "Invalid mime type."
|
45 |
msgstr "Type MIME du fichier invalide."
|
46 |
|
47 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
48 |
msgid "No watermark image selected and no watermark text set."
|
49 |
msgstr "Aucune image ou texte Watermark n'est défini."
|
50 |
|
51 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
52 |
msgid "Go to settings page"
|
53 |
msgstr "Allez à la page des réglages"
|
54 |
|
55 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
56 |
msgid "An error has occurred."
|
57 |
msgstr "Une erreur est survenue"
|
58 |
|
59 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
60 |
msgid "Easy Watermark is active, but requires GD library to work. Please enable this extension."
|
61 |
msgstr "Easy Watermark est activé, mais nécessite la présence de la librairie GD. Veuillez activer cette extension."
|
62 |
|
63 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
64 |
msgid "Read more"
|
65 |
msgstr "Lire la suite"
|
66 |
|
67 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
68 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
69 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
70 |
msgid "Add Watermark"
|
71 |
msgstr "Ajouter Watermark"
|
72 |
|
73 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
74 |
msgid "Add watermark"
|
75 |
msgstr "Ajouter Watermark"
|
76 |
|
77 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
78 |
#, php-format
|
79 |
msgid "No permission to edit file %s. Skipping..."
|
80 |
msgstr "Pas la permission de modifier le fichier %s. Ignoré..."
|
81 |
|
82 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
83 |
#, php-format
|
84 |
msgid "Not supported mime type of %s. Skipping..."
|
85 |
msgstr "Type MIME du fichier %s non supporté. Ignoré..."
|
86 |
|
87 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
88 |
#, php-format
|
89 |
msgid "Watermark successfully added to %s"
|
90 |
msgstr "Watermark ajouté avec succès à %s"
|
91 |
|
92 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
93 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
94 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
95 |
msgid "Easy Watermark"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
99 |
msgid "Status"
|
100 |
msgstr "Etat"
|
101 |
|
102 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
103 |
msgid "mark as not watermarked"
|
104 |
msgstr "marquer comme sans Watermark"
|
105 |
|
106 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
107 |
msgid "mark as watermarked"
|
108 |
msgstr "Marquer comme tatoué (Watermark)"
|
109 |
|
110 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
111 |
msgid "General"
|
112 |
msgstr "Général"
|
113 |
|
114 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
115 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
116 |
msgid "Image"
|
117 |
msgstr "Image"
|
118 |
|
119 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
120 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
121 |
msgid "Text"
|
122 |
msgstr "Texte"
|
123 |
|
124 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
125 |
msgid "Settings"
|
126 |
msgstr "Réglages"
|
127 |
|
128 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
129 |
msgid "Donate"
|
130 |
msgstr "Faites un don"
|
131 |
|
@@ -297,11 +297,11 @@ msgstr "Format d'heure"
|
|
297 |
msgid "Leave blank to use default time format"
|
298 |
msgstr "Laisser vide pour utiliser le format d'heure par défaut (voir dans les réglages généraux)"
|
299 |
|
300 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
301 |
msgid "User Roles"
|
302 |
msgstr "Rôtes utilisateurs"
|
303 |
|
304 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
305 |
msgid "Select, which user roles can have a permission to apply watermarks (only roles with permission to upload files are listed here)"
|
306 |
msgstr "Sélectionnez les rôles d'utilisateurs autorisés à appliquer des Watermark (seuls les rôles autorisés à uploader des fichiers sont listés)"
|
307 |
|
@@ -321,6 +321,34 @@ msgstr "Watermark automatique"
|
|
321 |
msgid "Check this to allow watermarking on upload to every user. If unchecked, 'Auto Watermark' function will be dependent on above role-based settings."
|
322 |
msgstr "Cocher cette case pour autoriser les Watermark pour tous les utilisateurs. Si elle n'est pas cochée, le Watermark automatique dépendra des réglages ci-dessus."
|
323 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
325 |
msgid "Watermark Image"
|
326 |
msgstr "Image du Watermark "
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Easy Watermark 0.5\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-09-02 18:10+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-09-03 10:49+0100\n"
|
7 |
"Last-Translator: Regis B <rbrisard@gmail.com>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"Language: French\n"
|
16 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
17 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
18 |
|
19 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:170
|
20 |
msgid "Cheatin’ uh?"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:207
|
24 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
25 |
msgid "Watermark successfully added."
|
26 |
msgstr "Watermark ajouté avec succès."
|
27 |
|
28 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
29 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
30 |
msgid "watermarked"
|
31 |
msgstr "tatouée (Watermark)"
|
32 |
|
33 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
34 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
35 |
msgid "not watermarked"
|
36 |
msgstr "non tatouée (Watermark)"
|
37 |
|
38 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:211
|
39 |
#, php-format
|
40 |
msgid "An Image has been marked as %s."
|
41 |
msgstr "Une image a été marquée comme %s."
|
42 |
|
43 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:217
|
44 |
msgid "Invalid mime type."
|
45 |
msgstr "Type MIME du fichier invalide."
|
46 |
|
47 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:220
|
48 |
msgid "No watermark image selected and no watermark text set."
|
49 |
msgstr "Aucune image ou texte Watermark n'est défini."
|
50 |
|
51 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:222
|
52 |
msgid "Go to settings page"
|
53 |
msgstr "Allez à la page des réglages"
|
54 |
|
55 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:226
|
56 |
msgid "An error has occurred."
|
57 |
msgstr "Une erreur est survenue"
|
58 |
|
59 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
60 |
msgid "Easy Watermark is active, but requires GD library to work. Please enable this extension."
|
61 |
msgstr "Easy Watermark est activé, mais nécessite la présence de la librairie GD. Veuillez activer cette extension."
|
62 |
|
63 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
64 |
msgid "Read more"
|
65 |
msgstr "Lire la suite"
|
66 |
|
67 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:256
|
68 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:283
|
69 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:675
|
70 |
msgid "Add Watermark"
|
71 |
msgstr "Ajouter Watermark"
|
72 |
|
73 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:299
|
74 |
msgid "Add watermark"
|
75 |
msgstr "Ajouter Watermark"
|
76 |
|
77 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:448
|
78 |
#, php-format
|
79 |
msgid "No permission to edit file %s. Skipping..."
|
80 |
msgstr "Pas la permission de modifier le fichier %s. Ignoré..."
|
81 |
|
82 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:453
|
83 |
#, php-format
|
84 |
msgid "Not supported mime type of %s. Skipping..."
|
85 |
msgstr "Type MIME du fichier %s non supporté. Ignoré..."
|
86 |
|
87 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:459
|
88 |
#, php-format
|
89 |
msgid "Watermark successfully added to %s"
|
90 |
msgstr "Watermark ajouté avec succès à %s"
|
91 |
|
92 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:644
|
93 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:115
|
94 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
95 |
msgid "Easy Watermark"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:659
|
99 |
msgid "Status"
|
100 |
msgstr "Etat"
|
101 |
|
102 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
103 |
msgid "mark as not watermarked"
|
104 |
msgstr "marquer comme sans Watermark"
|
105 |
|
106 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
107 |
msgid "mark as watermarked"
|
108 |
msgstr "Marquer comme tatoué (Watermark)"
|
109 |
|
110 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:88
|
111 |
msgid "General"
|
112 |
msgstr "Général"
|
113 |
|
114 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
|
115 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
116 |
msgid "Image"
|
117 |
msgstr "Image"
|
118 |
|
119 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
|
120 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
121 |
msgid "Text"
|
122 |
msgstr "Texte"
|
123 |
|
124 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:317
|
125 |
msgid "Settings"
|
126 |
msgstr "Réglages"
|
127 |
|
128 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:330
|
129 |
msgid "Donate"
|
130 |
msgstr "Faites un don"
|
131 |
|
297 |
msgid "Leave blank to use default time format"
|
298 |
msgstr "Laisser vide pour utiliser le format d'heure par défaut (voir dans les réglages généraux)"
|
299 |
|
300 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
|
301 |
msgid "User Roles"
|
302 |
msgstr "Rôtes utilisateurs"
|
303 |
|
304 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:47
|
305 |
msgid "Select, which user roles can have a permission to apply watermarks (only roles with permission to upload files are listed here)"
|
306 |
msgstr "Sélectionnez les rôles d'utilisateurs autorisés à appliquer des Watermark (seuls les rôles autorisés à uploader des fichiers sont listés)"
|
307 |
|
321 |
msgid "Check this to allow watermarking on upload to every user. If unchecked, 'Auto Watermark' function will be dependent on above role-based settings."
|
322 |
msgstr "Cocher cette case pour autoriser les Watermark pour tous les utilisateurs. Si elle n'est pas cochée, le Watermark automatique dépendra des réglages ci-dessus."
|
323 |
|
324 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
|
325 |
+
msgid "Post Types"
|
326 |
+
msgstr "Type de contenu"
|
327 |
+
|
328 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:69
|
329 |
+
msgid "Select what post type attachments should be automatically watermarked"
|
330 |
+
msgstr "Sélectionnez les types de contenus pour lesquels un Watermark doit être ajouté aux images attachées."
|
331 |
+
|
332 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
|
333 |
+
msgid "Select All"
|
334 |
+
msgstr "Tous"
|
335 |
+
|
336 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
337 |
+
msgid "Unattached Images"
|
338 |
+
msgstr "Images non attachées"
|
339 |
+
|
340 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
341 |
+
msgid "uploaded through the media library page"
|
342 |
+
msgstr "chargées depuis la page bibliothèque des médias"
|
343 |
+
|
344 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:76
|
345 |
+
msgid "Posts"
|
346 |
+
msgstr "Articles"
|
347 |
+
|
348 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:77
|
349 |
+
msgid "Pages"
|
350 |
+
msgstr "Pages"
|
351 |
+
|
352 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
353 |
msgid "Watermark Image"
|
354 |
msgstr "Image du Watermark "
|
languages/easy-watermark-pl_PL.mo
CHANGED
Binary file
|
languages/easy-watermark-pl_PL.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Easy Watermark 0.5\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2013-
|
6 |
-
"PO-Revision-Date: 2013-
|
7 |
"Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"Language: Polish\n"
|
@@ -16,47 +16,47 @@ msgstr ""
|
|
16 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
17 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
18 |
|
19 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
20 |
msgid "Cheatin’ uh?"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
24 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
25 |
msgid "Watermark successfully added."
|
26 |
msgstr "Znak wodny został dodany."
|
27 |
|
28 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
29 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
30 |
msgid "watermarked"
|
31 |
msgstr "ze znakiem wodnym"
|
32 |
|
33 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
34 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
35 |
msgid "not watermarked"
|
36 |
msgstr "bez znaku wodnego"
|
37 |
|
38 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
39 |
#, php-format
|
40 |
msgid "An Image has been marked as %s."
|
41 |
msgstr "Obrazek został oznakowany jako %s."
|
42 |
|
43 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
44 |
msgid "Invalid mime type."
|
45 |
msgstr "Błędny typ mime."
|
46 |
|
47 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
48 |
msgid "No watermark image selected and no watermark text set."
|
49 |
msgstr "Nie ustawiono obrazu ani tekstu znaku wodnego."
|
50 |
|
51 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
52 |
msgid "Go to settings page"
|
53 |
msgstr "Przejdź do ustawień"
|
54 |
|
55 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
56 |
msgid "An error has occurred."
|
57 |
msgstr "Wystąpił błąd."
|
58 |
|
59 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
60 |
msgid ""
|
61 |
"Easy Watermark is active, but requires GD library to work. Please enable "
|
62 |
"this extension."
|
@@ -64,72 +64,72 @@ msgstr ""
|
|
64 |
"Easy Watermark jest aktywny, ale wymaga biblioteki GD do działania. Proszę, "
|
65 |
"włącz to rozszerzenie."
|
66 |
|
67 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
68 |
msgid "Read more"
|
69 |
msgstr "Czytaj więcej"
|
70 |
|
71 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
72 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
73 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
74 |
msgid "Add Watermark"
|
75 |
msgstr "Dodaj znak wodny"
|
76 |
|
77 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
78 |
msgid "Add watermark"
|
79 |
msgstr "Dodaj znak wodny"
|
80 |
|
81 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
82 |
#, php-format
|
83 |
msgid "No permission to edit file %s. Skipping..."
|
84 |
msgstr "Brak uprawnień do edycji pliku %s. Omijanie..."
|
85 |
|
86 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
87 |
#, php-format
|
88 |
msgid "Not supported mime type of %s. Skipping..."
|
89 |
msgstr "Nieobsługiwany typ pliku %s. Omijanie..."
|
90 |
|
91 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
92 |
#, php-format
|
93 |
msgid "Watermark successfully added to %s"
|
94 |
msgstr "Znak wodny dodany do %s"
|
95 |
|
96 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
97 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
98 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
99 |
msgid "Easy Watermark"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
103 |
msgid "Status"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
107 |
msgid "mark as not watermarked"
|
108 |
msgstr "oznacz jako bez znaku wodnego"
|
109 |
|
110 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
111 |
msgid "mark as watermarked"
|
112 |
msgstr "oznacz jako posiadający znak wodny"
|
113 |
|
114 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
115 |
msgid "General"
|
116 |
msgstr "Ogólne"
|
117 |
|
118 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
119 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
120 |
msgid "Image"
|
121 |
msgstr "Obraz"
|
122 |
|
123 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
124 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
125 |
msgid "Text"
|
126 |
msgstr "Tekst"
|
127 |
|
128 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
129 |
msgid "Settings"
|
130 |
msgstr "Ustawienia"
|
131 |
|
132 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
133 |
msgid "Donate"
|
134 |
msgstr "Przekaż dotację"
|
135 |
|
@@ -324,11 +324,11 @@ msgstr "Format czasu"
|
|
324 |
msgid "Leave blank to use default time format"
|
325 |
msgstr "Pozostaw puste by użyć domyślnych ustawień"
|
326 |
|
327 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
328 |
msgid "User Roles"
|
329 |
msgstr "Role użytkowników"
|
330 |
|
331 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
332 |
msgid ""
|
333 |
"Select, which user roles can have a permission to apply watermarks (only "
|
334 |
"roles with permission to upload files are listed here)"
|
@@ -357,6 +357,36 @@ msgstr ""
|
|
357 |
"wszystkim użytkownikom. Gdy to pole jest odznaczone, funkcja automatycznego "
|
358 |
"dodawania będzie zależna od powyższych ustawień dotyczących ról."
|
359 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
361 |
msgid "Watermark Image"
|
362 |
msgstr "Znak wodny"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Easy Watermark 0.5.1\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-09-10 16:15+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-09-10 16:15+0100\n"
|
7 |
"Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"Language: Polish\n"
|
16 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
17 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
18 |
|
19 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:170
|
20 |
msgid "Cheatin’ uh?"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:207
|
24 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
25 |
msgid "Watermark successfully added."
|
26 |
msgstr "Znak wodny został dodany."
|
27 |
|
28 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
29 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
30 |
msgid "watermarked"
|
31 |
msgstr "ze znakiem wodnym"
|
32 |
|
33 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
34 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
35 |
msgid "not watermarked"
|
36 |
msgstr "bez znaku wodnego"
|
37 |
|
38 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:211
|
39 |
#, php-format
|
40 |
msgid "An Image has been marked as %s."
|
41 |
msgstr "Obrazek został oznakowany jako %s."
|
42 |
|
43 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:217
|
44 |
msgid "Invalid mime type."
|
45 |
msgstr "Błędny typ mime."
|
46 |
|
47 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:220
|
48 |
msgid "No watermark image selected and no watermark text set."
|
49 |
msgstr "Nie ustawiono obrazu ani tekstu znaku wodnego."
|
50 |
|
51 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:222
|
52 |
msgid "Go to settings page"
|
53 |
msgstr "Przejdź do ustawień"
|
54 |
|
55 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:226
|
56 |
msgid "An error has occurred."
|
57 |
msgstr "Wystąpił błąd."
|
58 |
|
59 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
60 |
msgid ""
|
61 |
"Easy Watermark is active, but requires GD library to work. Please enable "
|
62 |
"this extension."
|
64 |
"Easy Watermark jest aktywny, ale wymaga biblioteki GD do działania. Proszę, "
|
65 |
"włącz to rozszerzenie."
|
66 |
|
67 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
68 |
msgid "Read more"
|
69 |
msgstr "Czytaj więcej"
|
70 |
|
71 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:256
|
72 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:283
|
73 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:675
|
74 |
msgid "Add Watermark"
|
75 |
msgstr "Dodaj znak wodny"
|
76 |
|
77 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:299
|
78 |
msgid "Add watermark"
|
79 |
msgstr "Dodaj znak wodny"
|
80 |
|
81 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:448
|
82 |
#, php-format
|
83 |
msgid "No permission to edit file %s. Skipping..."
|
84 |
msgstr "Brak uprawnień do edycji pliku %s. Omijanie..."
|
85 |
|
86 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:453
|
87 |
#, php-format
|
88 |
msgid "Not supported mime type of %s. Skipping..."
|
89 |
msgstr "Nieobsługiwany typ pliku %s. Omijanie..."
|
90 |
|
91 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:459
|
92 |
#, php-format
|
93 |
msgid "Watermark successfully added to %s"
|
94 |
msgstr "Znak wodny dodany do %s"
|
95 |
|
96 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:644
|
97 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:115
|
98 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
99 |
msgid "Easy Watermark"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:659
|
103 |
msgid "Status"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
107 |
msgid "mark as not watermarked"
|
108 |
msgstr "oznacz jako bez znaku wodnego"
|
109 |
|
110 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
111 |
msgid "mark as watermarked"
|
112 |
msgstr "oznacz jako posiadający znak wodny"
|
113 |
|
114 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:88
|
115 |
msgid "General"
|
116 |
msgstr "Ogólne"
|
117 |
|
118 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
|
119 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
120 |
msgid "Image"
|
121 |
msgstr "Obraz"
|
122 |
|
123 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
|
124 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
125 |
msgid "Text"
|
126 |
msgstr "Tekst"
|
127 |
|
128 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:317
|
129 |
msgid "Settings"
|
130 |
msgstr "Ustawienia"
|
131 |
|
132 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:330
|
133 |
msgid "Donate"
|
134 |
msgstr "Przekaż dotację"
|
135 |
|
324 |
msgid "Leave blank to use default time format"
|
325 |
msgstr "Pozostaw puste by użyć domyślnych ustawień"
|
326 |
|
327 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
|
328 |
msgid "User Roles"
|
329 |
msgstr "Role użytkowników"
|
330 |
|
331 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:47
|
332 |
msgid ""
|
333 |
"Select, which user roles can have a permission to apply watermarks (only "
|
334 |
"roles with permission to upload files are listed here)"
|
357 |
"wszystkim użytkownikom. Gdy to pole jest odznaczone, funkcja automatycznego "
|
358 |
"dodawania będzie zależna od powyższych ustawień dotyczących ról."
|
359 |
|
360 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
|
361 |
+
msgid "Post Types"
|
362 |
+
msgstr "Typy postów"
|
363 |
+
|
364 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:69
|
365 |
+
msgid "Select what post type attachments should be automatically watermarked"
|
366 |
+
msgstr ""
|
367 |
+
"Wybierz typy postów, do których załączane obrazki powinny być automatycznie "
|
368 |
+
"znakowane"
|
369 |
+
|
370 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
|
371 |
+
msgid "Select All"
|
372 |
+
msgstr "Zaznacz wszystkie"
|
373 |
+
|
374 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
375 |
+
msgid "Unattached Images"
|
376 |
+
msgstr "Niezałączone obrazki"
|
377 |
+
|
378 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
379 |
+
msgid "uploaded through the media library page"
|
380 |
+
msgstr "wgrane na stronie bibioteki mediów"
|
381 |
+
|
382 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:76
|
383 |
+
msgid "Posts"
|
384 |
+
msgstr ""
|
385 |
+
|
386 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:77
|
387 |
+
msgid "Pages"
|
388 |
+
msgstr ""
|
389 |
+
|
390 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
391 |
msgid "Watermark Image"
|
392 |
msgstr "Znak wodny"
|
languages/easy-watermark-ru_RU.mo
ADDED
Binary file
|
languages/easy-watermark-ru_RU.po
ADDED
@@ -0,0 +1,595 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Easy Watermark 0.5.1\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-12-16 20:40+0200\n"
|
6 |
+
"PO-Revision-Date: 2013-12-16 20:43+0200\n"
|
7 |
+
"Last-Translator: A1ex <alexua981@gmail.com>\n"
|
8 |
+
"Language-Team: A1ex <alexua981@gmail.com>\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-Generator: Poedit 1.5.5\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
18 |
+
"X-Poedit-SearchPath-0: ../classes\n"
|
19 |
+
"X-Poedit-SearchPath-1: ../views\n"
|
20 |
+
|
21 |
+
#: ../classes/class-ew-plugin.php:170
|
22 |
+
msgid "Cheatin’ uh?"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: ../classes/class-ew-plugin.php:207 ../views/easy-watermark-page.php:10
|
26 |
+
msgid "Watermark successfully added."
|
27 |
+
msgstr "Водяной знак добавлен."
|
28 |
+
|
29 |
+
#: ../classes/class-ew-plugin.php:210 ../classes/class-ew-plugin.php:658
|
30 |
+
msgid "watermarked"
|
31 |
+
msgstr "с водяным знаком"
|
32 |
+
|
33 |
+
#: ../classes/class-ew-plugin.php:210 ../classes/class-ew-plugin.php:658
|
34 |
+
msgid "not watermarked"
|
35 |
+
msgstr "без водяного знака"
|
36 |
+
|
37 |
+
#: ../classes/class-ew-plugin.php:211
|
38 |
+
#, php-format
|
39 |
+
msgid "An Image has been marked as %s."
|
40 |
+
msgstr "Изображение помечено как %s."
|
41 |
+
|
42 |
+
#: ../classes/class-ew-plugin.php:217
|
43 |
+
msgid "Invalid mime type."
|
44 |
+
msgstr "Неверный тип mime."
|
45 |
+
|
46 |
+
#: ../classes/class-ew-plugin.php:220
|
47 |
+
msgid "No watermark image selected and no watermark text set."
|
48 |
+
msgstr "Не выбрано изображение и текст водяного знака."
|
49 |
+
|
50 |
+
#: ../classes/class-ew-plugin.php:222
|
51 |
+
msgid "Go to settings page"
|
52 |
+
msgstr "Перейти к настройкам"
|
53 |
+
|
54 |
+
#: ../classes/class-ew-plugin.php:226
|
55 |
+
msgid "An error has occurred."
|
56 |
+
msgstr "Ошибка."
|
57 |
+
|
58 |
+
#: ../classes/class-ew-plugin.php:232
|
59 |
+
msgid ""
|
60 |
+
"Easy Watermark is active, but requires GD library to work. Please enable "
|
61 |
+
"this extension."
|
62 |
+
msgstr ""
|
63 |
+
"Easy Watermark активирован, но для работы плагина требуется GD библиотека. "
|
64 |
+
"Включте данное расширение."
|
65 |
+
|
66 |
+
#: ../classes/class-ew-plugin.php:232
|
67 |
+
msgid "Read more"
|
68 |
+
msgstr "Читать далее"
|
69 |
+
|
70 |
+
#: ../classes/class-ew-plugin.php:256 ../classes/class-ew-plugin.php:283
|
71 |
+
#: ../classes/class-ew-plugin.php:675
|
72 |
+
msgid "Add Watermark"
|
73 |
+
msgstr "Добавить водяной знак"
|
74 |
+
|
75 |
+
#: ../classes/class-ew-plugin.php:299
|
76 |
+
msgid "Add watermark"
|
77 |
+
msgstr "Добавить водяной знак"
|
78 |
+
|
79 |
+
#: ../classes/class-ew-plugin.php:448
|
80 |
+
#, php-format
|
81 |
+
msgid "No permission to edit file %s. Skipping..."
|
82 |
+
msgstr "Недостаточно прав для редактирования файла %s. Пропуск..."
|
83 |
+
|
84 |
+
#: ../classes/class-ew-plugin.php:453
|
85 |
+
#, php-format
|
86 |
+
msgid "Not supported mime type of %s. Skipping..."
|
87 |
+
msgstr "Неподдержиыаемый тип mimt %s. Пропуск..."
|
88 |
+
|
89 |
+
#: ../classes/class-ew-plugin.php:459
|
90 |
+
#, php-format
|
91 |
+
msgid "Watermark successfully added to %s"
|
92 |
+
msgstr "Водяной знак успешно добавлен к %s"
|
93 |
+
|
94 |
+
#: ../classes/class-ew-plugin.php:644 ../classes/class-ew-settings.php:115
|
95 |
+
#: ../views/easy-watermark-page.php:4
|
96 |
+
msgid "Easy Watermark"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: ../classes/class-ew-plugin.php:659
|
100 |
+
msgid "Status"
|
101 |
+
msgstr "Статус"
|
102 |
+
|
103 |
+
#: ../classes/class-ew-plugin.php:666
|
104 |
+
msgid "mark as not watermarked"
|
105 |
+
msgstr "отметить как без водяного знака"
|
106 |
+
|
107 |
+
#: ../classes/class-ew-plugin.php:666
|
108 |
+
msgid "mark as watermarked"
|
109 |
+
msgstr "отметить как с водяным знаком"
|
110 |
+
|
111 |
+
#: ../classes/class-ew-settings.php:88
|
112 |
+
msgid "General"
|
113 |
+
msgstr "Общие"
|
114 |
+
|
115 |
+
#: ../classes/class-ew-settings.php:89 ../views/settings-form-general.php:29
|
116 |
+
msgid "Image"
|
117 |
+
msgstr "Изображение"
|
118 |
+
|
119 |
+
#: ../classes/class-ew-settings.php:90 ../views/settings-form-general.php:30
|
120 |
+
msgid "Text"
|
121 |
+
msgstr "Текст"
|
122 |
+
|
123 |
+
#: ../classes/class-ew-settings.php:317
|
124 |
+
msgid "Settings"
|
125 |
+
msgstr "Настройки"
|
126 |
+
|
127 |
+
#: ../classes/class-ew-settings.php:330
|
128 |
+
msgid "Donate"
|
129 |
+
msgstr "Пожертвовать"
|
130 |
+
|
131 |
+
#: ../views/about.php:2
|
132 |
+
msgid "About"
|
133 |
+
msgstr "О плагине"
|
134 |
+
|
135 |
+
#: ../views/about.php:4
|
136 |
+
msgid "Plugin Version"
|
137 |
+
msgstr "Версия плагина"
|
138 |
+
|
139 |
+
#: ../views/about.php:5
|
140 |
+
msgid "Plugin Author"
|
141 |
+
msgstr "Автор плагина"
|
142 |
+
|
143 |
+
#: ../views/about.php:6
|
144 |
+
msgid "GD library is enabled."
|
145 |
+
msgstr "GD библиотека активирована."
|
146 |
+
|
147 |
+
#: ../views/about.php:6
|
148 |
+
msgid "GD library is not available! Easy Watermark can't work without it."
|
149 |
+
msgstr "GD библиотека не доступна! Easy Watermark не может работать без нее."
|
150 |
+
|
151 |
+
#: ../views/about.php:8
|
152 |
+
msgid "Plugin page in WP repository"
|
153 |
+
msgstr "Страница плгина в репозитории WP"
|
154 |
+
|
155 |
+
#: ../views/about.php:10
|
156 |
+
msgid "FAQ"
|
157 |
+
msgstr "ЧАВо"
|
158 |
+
|
159 |
+
#: ../views/about.php:12
|
160 |
+
msgid "Support"
|
161 |
+
msgstr "Поддержка"
|
162 |
+
|
163 |
+
#: ../views/about.php:13
|
164 |
+
msgid "Want to buy me a coffee?"
|
165 |
+
msgstr "Хотите угостить меня кофе?"
|
166 |
+
|
167 |
+
#: ../views/easy-watermark-page.php:10
|
168 |
+
msgid "Go to Media Library"
|
169 |
+
msgstr "Перейти к медиатеке"
|
170 |
+
|
171 |
+
#: ../views/easy-watermark-page.php:17
|
172 |
+
msgid ""
|
173 |
+
"You are about to watermark all images in the library. This action can not be "
|
174 |
+
"undone. Are you sure you want to do this?"
|
175 |
+
msgstr ""
|
176 |
+
"Вы собираетесь установить водяной знак на все изображения в медиатеке. Это "
|
177 |
+
"действие не может быть отменено. Вы уверены, что хотите продолжить?"
|
178 |
+
|
179 |
+
#: ../views/easy-watermark-page.php:19
|
180 |
+
msgid ""
|
181 |
+
"You are about to watermark all images you have uploaded ever. This action "
|
182 |
+
"can not be undone. Are you sure you want to do this?"
|
183 |
+
msgstr ""
|
184 |
+
"Вы собираетесь установить водяной знак на все когда либо загруженные "
|
185 |
+
"изображения. Это действие не может быть отменено. Вы уверены, что хотите "
|
186 |
+
"продолжить?"
|
187 |
+
|
188 |
+
#: ../views/easy-watermark-page.php:22
|
189 |
+
msgid "Proceed"
|
190 |
+
msgstr "Выполнить"
|
191 |
+
|
192 |
+
#: ../views/easy-watermark-page.php:22
|
193 |
+
msgid "Cancel"
|
194 |
+
msgstr "Отмена"
|
195 |
+
|
196 |
+
#: ../views/easy-watermark-page.php:29
|
197 |
+
msgid "Add watermark to all images"
|
198 |
+
msgstr "Добавить водяной знак ко всем изображениям"
|
199 |
+
|
200 |
+
#: ../views/easy-watermark-page.php:31
|
201 |
+
msgid "Add watermark to all images uploaded by you"
|
202 |
+
msgstr "Добавить водяной знак ко всем изображениям загруженным вами."
|
203 |
+
|
204 |
+
#: ../views/easy-watermark-page.php:33
|
205 |
+
msgid ""
|
206 |
+
"Be carefull with that option. If some images alredy has watermark, it will "
|
207 |
+
"be added though."
|
208 |
+
msgstr ""
|
209 |
+
"Будьте внимательны с этой опцией. Если некоторые изображения уже имеют "
|
210 |
+
"водяной знак, он будет добавлен повторно."
|
211 |
+
|
212 |
+
#: ../views/placeholders.php:2
|
213 |
+
msgid "Placeholders"
|
214 |
+
msgstr "Зарезервированные места"
|
215 |
+
|
216 |
+
#: ../views/placeholders.php:4
|
217 |
+
msgid ""
|
218 |
+
"You can use this placeholders in your text watermark, it will be replaced "
|
219 |
+
"with proper value just befor applying watermark."
|
220 |
+
msgstr ""
|
221 |
+
"Вы можете использовать эти зарезервированные места в текстовом водяном "
|
222 |
+
"знаке, они будут заменены указанным значением до применения водяного знака."
|
223 |
+
|
224 |
+
#: ../views/placeholders.php:6
|
225 |
+
msgid "current user login"
|
226 |
+
msgstr "Логин пользователя"
|
227 |
+
|
228 |
+
#: ../views/placeholders.php:7
|
229 |
+
msgid "current user display name"
|
230 |
+
msgstr "Отображаемое имя пользователя"
|
231 |
+
|
232 |
+
#: ../views/placeholders.php:8
|
233 |
+
msgid "current user email address"
|
234 |
+
msgstr "email пользователя"
|
235 |
+
|
236 |
+
#: ../views/placeholders.php:9
|
237 |
+
msgid "site admin email"
|
238 |
+
msgstr "email администратора"
|
239 |
+
|
240 |
+
#: ../views/placeholders.php:10
|
241 |
+
msgid "blog title"
|
242 |
+
msgstr "Название сайта"
|
243 |
+
|
244 |
+
#: ../views/placeholders.php:11
|
245 |
+
msgid "blog url"
|
246 |
+
msgstr "url сайта"
|
247 |
+
|
248 |
+
#: ../views/placeholders.php:12
|
249 |
+
msgid "current date (see general settings for date format)"
|
250 |
+
msgstr "текущая дата (формат даты из основных настроек)"
|
251 |
+
|
252 |
+
#: ../views/placeholders.php:13
|
253 |
+
msgid "current time"
|
254 |
+
msgstr "текущее время"
|
255 |
+
|
256 |
+
#: ../views/settings-form-general.php:3
|
257 |
+
msgid "Auto Watermark"
|
258 |
+
msgstr "Автоматическое добавление"
|
259 |
+
|
260 |
+
#: ../views/settings-form-general.php:4
|
261 |
+
msgid "Add watermark when uploading images"
|
262 |
+
msgstr "Добавлять водяной знак при загрузке изображений"
|
263 |
+
|
264 |
+
#: ../views/settings-form-general.php:6
|
265 |
+
msgid "Image Types"
|
266 |
+
msgstr "Типы изображений"
|
267 |
+
|
268 |
+
#: ../views/settings-form-general.php:10
|
269 |
+
msgid "Select image types which should be watermarked"
|
270 |
+
msgstr "Укажите типы изображений, ктороые должны быть помечены водяным знаком"
|
271 |
+
|
272 |
+
#: ../views/settings-form-general.php:12
|
273 |
+
msgid "Image Sizes"
|
274 |
+
msgstr "Размеры изображений"
|
275 |
+
|
276 |
+
#: ../views/settings-form-general.php:23
|
277 |
+
msgid "Select image sizes which should be watermarked"
|
278 |
+
msgstr ""
|
279 |
+
"Укажите размеры изображений, ктороые должны быть помечены водяным знаком"
|
280 |
+
|
281 |
+
#: ../views/settings-form-general.php:26
|
282 |
+
msgid "Watermark Type"
|
283 |
+
msgstr "Тип водяного знака"
|
284 |
+
|
285 |
+
#: ../views/settings-form-general.php:31
|
286 |
+
msgid "Image + Text"
|
287 |
+
msgstr "Изображение и Текст"
|
288 |
+
|
289 |
+
#: ../views/settings-form-general.php:33
|
290 |
+
msgid "Choose, whether to apply image, text, or both."
|
291 |
+
msgstr "Укажите, что применять изображение, текст или оба."
|
292 |
+
|
293 |
+
#: ../views/settings-form-general.php:36
|
294 |
+
msgid "Jpeg Quality"
|
295 |
+
msgstr "Качество jpeg"
|
296 |
+
|
297 |
+
#: ../views/settings-form-general.php:37
|
298 |
+
msgid ""
|
299 |
+
"Set jpeg quality from 0 (worst quality, smaller file) to 100 (best quality, "
|
300 |
+
"biggest file)"
|
301 |
+
msgstr ""
|
302 |
+
"Установите качество jpeg от 0 (низкое качество, меньше размер файла) до 100 "
|
303 |
+
"(высокое качество, большой размер файла)"
|
304 |
+
|
305 |
+
#: ../views/settings-form-general.php:39
|
306 |
+
msgid "Date Format"
|
307 |
+
msgstr "Формат даты"
|
308 |
+
|
309 |
+
#: ../views/settings-form-general.php:40
|
310 |
+
msgid "Leave blank to use default date format (see general settings)"
|
311 |
+
msgstr "Оставьте пустым, чтобы использовать формат даты поумолчанию"
|
312 |
+
|
313 |
+
#: ../views/settings-form-general.php:42
|
314 |
+
msgid "Time Format"
|
315 |
+
msgstr "Формат времени"
|
316 |
+
|
317 |
+
#: ../views/settings-form-general.php:43
|
318 |
+
msgid "Leave blank to use default time format"
|
319 |
+
msgstr "Оставьте пустым, чтобы использовать формат времени поумолчанию"
|
320 |
+
|
321 |
+
#: ../views/settings-form-general.php:46
|
322 |
+
msgid "User Roles"
|
323 |
+
msgstr "Роли пользователей"
|
324 |
+
|
325 |
+
#: ../views/settings-form-general.php:47
|
326 |
+
msgid ""
|
327 |
+
"Select, which user roles can have a permission to apply watermarks (only "
|
328 |
+
"roles with permission to upload files are listed here)"
|
329 |
+
msgstr ""
|
330 |
+
"Выбирете роли пользователей, которые имеют право добавлять водяной знак "
|
331 |
+
"(только роли с правом на загрузку файлов перечислены)"
|
332 |
+
|
333 |
+
#: ../views/settings-form-general.php:59
|
334 |
+
msgid "allow"
|
335 |
+
msgstr "разрешить"
|
336 |
+
|
337 |
+
#: ../views/settings-form-general.php:60
|
338 |
+
msgid "deny"
|
339 |
+
msgstr "запретить"
|
340 |
+
|
341 |
+
#: ../views/settings-form-general.php:64
|
342 |
+
msgid "Allow to Auto Watermark"
|
343 |
+
msgstr "Разрешить автоматическое добавление водяного знака"
|
344 |
+
|
345 |
+
#: ../views/settings-form-general.php:65
|
346 |
+
msgid ""
|
347 |
+
"Check this to allow watermarking on upload to every user. If unchecked, "
|
348 |
+
"'Auto Watermark' function will be dependent on above role-based settings."
|
349 |
+
msgstr ""
|
350 |
+
"Отметьте, чтобы водяной знак добавлялся при загрузке изображений любым "
|
351 |
+
"пользователем. Если не отмечено, то функция автоматического добавления "
|
352 |
+
"водяного знака зависит от общих настроек ролей пользователей."
|
353 |
+
|
354 |
+
#: ../views/settings-form-general.php:68
|
355 |
+
msgid "Post Types"
|
356 |
+
msgstr "Типы записей"
|
357 |
+
|
358 |
+
#: ../views/settings-form-general.php:69
|
359 |
+
msgid "Select what post type attachments should be automatically watermarked"
|
360 |
+
msgstr ""
|
361 |
+
"Укажите какие типы вложений записи должны быть помечены водяным знаком "
|
362 |
+
"автоматически."
|
363 |
+
|
364 |
+
#: ../views/settings-form-general.php:72
|
365 |
+
msgid "Select All"
|
366 |
+
msgstr "Выбрать все"
|
367 |
+
|
368 |
+
#: ../views/settings-form-general.php:75
|
369 |
+
msgid "Unattached Images"
|
370 |
+
msgstr "Неприкрепленные изображения"
|
371 |
+
|
372 |
+
#: ../views/settings-form-general.php:75
|
373 |
+
msgid "uploaded through the media library page"
|
374 |
+
msgstr "загруженные через страницу медиатеки"
|
375 |
+
|
376 |
+
#: ../views/settings-form-general.php:76
|
377 |
+
msgid "Posts"
|
378 |
+
msgstr "Записи"
|
379 |
+
|
380 |
+
#: ../views/settings-form-general.php:77
|
381 |
+
msgid "Pages"
|
382 |
+
msgstr "Страницы"
|
383 |
+
|
384 |
+
#: ../views/settings-form-image.php:3
|
385 |
+
msgid "Watermark Image"
|
386 |
+
msgstr "Изображение водяного знака"
|
387 |
+
|
388 |
+
#: ../views/settings-form-image.php:8
|
389 |
+
msgid "Choose Watermark Image"
|
390 |
+
msgstr "Выбирите изображение водяного знака"
|
391 |
+
|
392 |
+
#: ../views/settings-form-image.php:8
|
393 |
+
msgid "Set as Watermark Image"
|
394 |
+
msgstr "Установить как изображение водяного знака"
|
395 |
+
|
396 |
+
#: ../views/settings-form-image.php:8
|
397 |
+
msgid "Select/Upload Image"
|
398 |
+
msgstr "Выбрать/загрузить изображение"
|
399 |
+
|
400 |
+
#: ../views/settings-form-image.php:8
|
401 |
+
msgid ""
|
402 |
+
"Note: If you want to upload a new image, make sure that \"Auto watermark\" "
|
403 |
+
"option is unticked or text watermark is not set. Otherwise uploaded image "
|
404 |
+
"will be watermarked."
|
405 |
+
msgstr ""
|
406 |
+
"Пирмечание: если вы хотите загрузить новое изображение для водяного знака, "
|
407 |
+
"убедитесь, что функция автоматического добавления водяного знака отключена и "
|
408 |
+
"текстовый водяной знак не установлен. Иначе загруженное изображение будет "
|
409 |
+
"помечено водяным знаком."
|
410 |
+
|
411 |
+
#: ../views/settings-form-image.php:17
|
412 |
+
msgid "Click on image to change it."
|
413 |
+
msgstr "Кликните на изображение чтобы отредактировать его."
|
414 |
+
|
415 |
+
#: ../views/settings-form-image.php:17
|
416 |
+
msgid "Remove image"
|
417 |
+
msgstr "Удалить изображение"
|
418 |
+
|
419 |
+
#: ../views/settings-form-image.php:18
|
420 |
+
msgid ""
|
421 |
+
"Note: If you want to upload a new image, make sure that \"Auto watermark\" "
|
422 |
+
"option is unticked, or remove current image and unset text watermark first. "
|
423 |
+
"Otherwise uploaded image will be watermarked."
|
424 |
+
msgstr ""
|
425 |
+
"Пирмечание: если вы хотите загрузить новое изображение для водяного знака, "
|
426 |
+
"убедитесь, что функция автоматического добавления водяного знака отключена "
|
427 |
+
"или удалите текущее изображение и отключите текстовый водяной знак. Иначе "
|
428 |
+
"загруженное изображение будет помечено водяным знаком."
|
429 |
+
|
430 |
+
#: ../views/settings-form-image.php:21
|
431 |
+
msgid "Image Alignment"
|
432 |
+
msgstr "Выравнивание изображения"
|
433 |
+
|
434 |
+
#: ../views/settings-form-image.php:34
|
435 |
+
msgid "Scaling Mode"
|
436 |
+
msgstr "Изменение размера"
|
437 |
+
|
438 |
+
#: ../views/settings-form-image.php:36
|
439 |
+
msgid "None"
|
440 |
+
msgstr "Нет"
|
441 |
+
|
442 |
+
#: ../views/settings-form-image.php:37
|
443 |
+
msgid "Fill"
|
444 |
+
msgstr "Заполнить"
|
445 |
+
|
446 |
+
#: ../views/settings-form-image.php:38
|
447 |
+
msgid "Fit"
|
448 |
+
msgstr "Подогнать"
|
449 |
+
|
450 |
+
#: ../views/settings-form-image.php:39
|
451 |
+
msgid "Fit to Width"
|
452 |
+
msgstr "Подогнать по ширине"
|
453 |
+
|
454 |
+
#: ../views/settings-form-image.php:40
|
455 |
+
msgid "Fit to Height"
|
456 |
+
msgstr "Подогнать по высоте"
|
457 |
+
|
458 |
+
#: ../views/settings-form-image.php:41
|
459 |
+
msgid "Select how to scale watermark image."
|
460 |
+
msgstr "Выбирите способ изменения размера изображения водяного знака"
|
461 |
+
|
462 |
+
#: ../views/settings-form-image.php:42
|
463 |
+
msgid "Scale to Smaller"
|
464 |
+
msgstr "Только уменьшить"
|
465 |
+
|
466 |
+
#: ../views/settings-form-image.php:43
|
467 |
+
msgid ""
|
468 |
+
"If this is checked, watermark will be scaled only for images smaller than "
|
469 |
+
"watermark image."
|
470 |
+
msgstr ""
|
471 |
+
"Если выбрана эта опция, изображение водяного знака будет уменьшено только "
|
472 |
+
"если изображение менье чем водяной знак."
|
473 |
+
|
474 |
+
#: ../views/settings-form-image.php:46
|
475 |
+
msgid "Scale"
|
476 |
+
msgstr "Масштаб"
|
477 |
+
|
478 |
+
#: ../views/settings-form-image.php:49
|
479 |
+
msgid "Image Offset"
|
480 |
+
msgstr "Смещение изображения"
|
481 |
+
|
482 |
+
#: ../views/settings-form-image.php:50 ../views/settings-form-text.php:29
|
483 |
+
msgid "x"
|
484 |
+
msgstr ""
|
485 |
+
|
486 |
+
#: ../views/settings-form-image.php:52 ../views/settings-form-text.php:31
|
487 |
+
msgid "y"
|
488 |
+
msgstr ""
|
489 |
+
|
490 |
+
#: ../views/settings-form-image.php:53 ../views/settings-form-text.php:32
|
491 |
+
msgid ""
|
492 |
+
"Offset can be defined in pixels (just numeric value) or as percentage (e.g. "
|
493 |
+
"'33%')"
|
494 |
+
msgstr ""
|
495 |
+
"Смещение изображения может быть указано в пикселах (числовое значение), либо "
|
496 |
+
"в процентах (например '33%')"
|
497 |
+
|
498 |
+
#: ../views/settings-form-image.php:55 ../views/settings-form-text.php:62
|
499 |
+
msgid "Opacity"
|
500 |
+
msgstr "Непрозрачность"
|
501 |
+
|
502 |
+
#: ../views/settings-form-image.php:55
|
503 |
+
msgid "Opacity does not affect the png images with alpha chanel."
|
504 |
+
msgstr "Опция неприменима к изображениям типа png с альфа-каналом"
|
505 |
+
|
506 |
+
#: ../views/settings-form-text.php:2
|
507 |
+
msgid "Watermark Text"
|
508 |
+
msgstr "Текст водного знака"
|
509 |
+
|
510 |
+
#: ../views/settings-form-text.php:3
|
511 |
+
msgid "You can use placeholders listed on the right side of this page"
|
512 |
+
msgstr "Можно использозовать зарезервированные места с правой стороны страницы"
|
513 |
+
|
514 |
+
#: ../views/settings-form-text.php:7
|
515 |
+
msgid "Preview"
|
516 |
+
msgstr "Предпросмотр"
|
517 |
+
|
518 |
+
#: ../views/settings-form-text.php:15
|
519 |
+
msgid "Text Alignment"
|
520 |
+
msgstr "Выравнивание текста"
|
521 |
+
|
522 |
+
#: ../views/settings-form-text.php:28
|
523 |
+
msgid "Text Offset"
|
524 |
+
msgstr "Смещение текста"
|
525 |
+
|
526 |
+
#: ../views/settings-form-text.php:34
|
527 |
+
msgid "Font"
|
528 |
+
msgstr "Шрифт"
|
529 |
+
|
530 |
+
#: ../views/settings-form-text.php:45
|
531 |
+
msgid "Text Color"
|
532 |
+
msgstr "Цвет текста"
|
533 |
+
|
534 |
+
#: ../views/settings-form-text.php:54
|
535 |
+
msgid "Text Size"
|
536 |
+
msgstr "Размер текста"
|
537 |
+
|
538 |
+
#: ../views/settings-form-text.php:58
|
539 |
+
msgid "Text Angle"
|
540 |
+
msgstr "Наклон текста"
|
541 |
+
|
542 |
+
#: ../views/settings-page.php:6
|
543 |
+
msgid "Easy Watermark Settings"
|
544 |
+
msgstr "Настройки Easy Watermark"
|
545 |
+
|
546 |
+
#: ../views/settings-page.php:22
|
547 |
+
msgid "Save Changes"
|
548 |
+
msgstr "Сохранить изменения"
|
549 |
+
|
550 |
+
#~ msgid "Loading preview..."
|
551 |
+
#~ msgstr "Ładowanie podglądu..."
|
552 |
+
|
553 |
+
#~ msgid "Go to Easy Watermark Tool"
|
554 |
+
#~ msgstr "Przejdź do Easy Watermark"
|
555 |
+
|
556 |
+
#~ msgid "Go back"
|
557 |
+
#~ msgstr "Wróć"
|
558 |
+
|
559 |
+
#~ msgid "or"
|
560 |
+
#~ msgstr "lub"
|
561 |
+
|
562 |
+
#~ msgid "Text position"
|
563 |
+
#~ msgstr "Pozycja tekstu"
|
564 |
+
|
565 |
+
#~ msgid "vertical"
|
566 |
+
#~ msgstr "pionowa"
|
567 |
+
|
568 |
+
#~ msgid "top"
|
569 |
+
#~ msgstr "góra"
|
570 |
+
|
571 |
+
#~ msgid "middle"
|
572 |
+
#~ msgstr "środek"
|
573 |
+
|
574 |
+
#~ msgid "bottom"
|
575 |
+
#~ msgstr "dół"
|
576 |
+
|
577 |
+
#~ msgid "horizontal"
|
578 |
+
#~ msgstr "pozioma"
|
579 |
+
|
580 |
+
#~ msgid "left"
|
581 |
+
#~ msgstr "do lewej"
|
582 |
+
|
583 |
+
#~ msgid "center"
|
584 |
+
#~ msgstr "wyśrodkowany"
|
585 |
+
|
586 |
+
#~ msgid "right"
|
587 |
+
#~ msgstr "do prawej"
|
588 |
+
|
589 |
+
#~ msgid ""
|
590 |
+
#~ "Note: if \"Auto watermark\" option is ticked, untick it before uploading "
|
591 |
+
#~ "new watermark image or remove current image first."
|
592 |
+
#~ msgstr ""
|
593 |
+
#~ "Uwaga: Jeśli opcja \"Automatyczne dodawanie\" jest zaznaczona, odznacz ją "
|
594 |
+
#~ "przed wgrywaniem nowego znaku wodnego lub usuń najpierw bieżący znak "
|
595 |
+
#~ "wodny."
|
languages/easy-watermark.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Easy Watermark 0.5\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2013-
|
6 |
-
"PO-Revision-Date: 2013-
|
7 |
"Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -15,118 +15,118 @@ msgstr ""
|
|
15 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
16 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
17 |
|
18 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
19 |
msgid "Cheatin’ uh?"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
23 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
24 |
msgid "Watermark successfully added."
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
28 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
29 |
msgid "watermarked"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
33 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
34 |
msgid "not watermarked"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
38 |
#, php-format
|
39 |
msgid "An Image has been marked as %s."
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
43 |
msgid "Invalid mime type."
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
47 |
msgid "No watermark image selected and no watermark text set."
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
51 |
msgid "Go to settings page"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
55 |
msgid "An error has occurred."
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
59 |
msgid ""
|
60 |
"Easy Watermark is active, but requires GD library to work. Please enable "
|
61 |
"this extension."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
65 |
msgid "Read more"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
69 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
70 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
71 |
msgid "Add Watermark"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
75 |
msgid "Add watermark"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
79 |
#, php-format
|
80 |
msgid "No permission to edit file %s. Skipping..."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
84 |
#, php-format
|
85 |
msgid "Not supported mime type of %s. Skipping..."
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
89 |
#, php-format
|
90 |
msgid "Watermark successfully added to %s"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
94 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
95 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
96 |
msgid "Easy Watermark"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
100 |
msgid "Status"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
104 |
msgid "mark as not watermarked"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:
|
108 |
msgid "mark as watermarked"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
112 |
msgid "General"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
116 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
117 |
msgid "Image"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
121 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
122 |
msgid "Text"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
126 |
msgid "Settings"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:
|
130 |
msgid "Donate"
|
131 |
msgstr ""
|
132 |
|
@@ -308,11 +308,11 @@ msgstr ""
|
|
308 |
msgid "Leave blank to use default time format"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
312 |
msgid "User Roles"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:
|
316 |
msgid ""
|
317 |
"Select, which user roles can have a permission to apply watermarks (only "
|
318 |
"roles with permission to upload files are listed here)"
|
@@ -336,6 +336,34 @@ msgid ""
|
|
336 |
"'Auto Watermark' function will be dependent on above role-based settings."
|
337 |
msgstr ""
|
338 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
340 |
msgid "Watermark Image"
|
341 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Easy Watermark 0.5.1\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-09-10 16:14+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-09-10 16:15+0100\n"
|
7 |
"Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
8 |
"Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
|
9 |
"MIME-Version: 1.0\n"
|
15 |
"X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
|
16 |
"X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
|
17 |
|
18 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:170
|
19 |
msgid "Cheatin’ uh?"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:207
|
23 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
|
24 |
msgid "Watermark successfully added."
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
28 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
29 |
msgid "watermarked"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
|
33 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
|
34 |
msgid "not watermarked"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:211
|
38 |
#, php-format
|
39 |
msgid "An Image has been marked as %s."
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:217
|
43 |
msgid "Invalid mime type."
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:220
|
47 |
msgid "No watermark image selected and no watermark text set."
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:222
|
51 |
msgid "Go to settings page"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:226
|
55 |
msgid "An error has occurred."
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
59 |
msgid ""
|
60 |
"Easy Watermark is active, but requires GD library to work. Please enable "
|
61 |
"this extension."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
|
65 |
msgid "Read more"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:256
|
69 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:283
|
70 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:675
|
71 |
msgid "Add Watermark"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:299
|
75 |
msgid "Add watermark"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:448
|
79 |
#, php-format
|
80 |
msgid "No permission to edit file %s. Skipping..."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:453
|
84 |
#, php-format
|
85 |
msgid "Not supported mime type of %s. Skipping..."
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:459
|
89 |
#, php-format
|
90 |
msgid "Watermark successfully added to %s"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:644
|
94 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:115
|
95 |
#: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
|
96 |
msgid "Easy Watermark"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:659
|
100 |
msgid "Status"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
104 |
msgid "mark as not watermarked"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
|
108 |
msgid "mark as watermarked"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:88
|
112 |
msgid "General"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
|
116 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
|
117 |
msgid "Image"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
|
121 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
|
122 |
msgid "Text"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:317
|
126 |
msgid "Settings"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:330
|
130 |
msgid "Donate"
|
131 |
msgstr ""
|
132 |
|
308 |
msgid "Leave blank to use default time format"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
|
312 |
msgid "User Roles"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:47
|
316 |
msgid ""
|
317 |
"Select, which user roles can have a permission to apply watermarks (only "
|
318 |
"roles with permission to upload files are listed here)"
|
336 |
"'Auto Watermark' function will be dependent on above role-based settings."
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
|
340 |
+
msgid "Post Types"
|
341 |
+
msgstr ""
|
342 |
+
|
343 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:69
|
344 |
+
msgid "Select what post type attachments should be automatically watermarked"
|
345 |
+
msgstr ""
|
346 |
+
|
347 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
|
348 |
+
msgid "Select All"
|
349 |
+
msgstr ""
|
350 |
+
|
351 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
352 |
+
msgid "Unattached Images"
|
353 |
+
msgstr ""
|
354 |
+
|
355 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
|
356 |
+
msgid "uploaded through the media library page"
|
357 |
+
msgstr ""
|
358 |
+
|
359 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:76
|
360 |
+
msgid "Posts"
|
361 |
+
msgstr ""
|
362 |
+
|
363 |
+
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:77
|
364 |
+
msgid "Pages"
|
365 |
+
msgstr ""
|
366 |
+
|
367 |
#: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
|
368 |
msgid "Watermark Image"
|
369 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=wojte
|
|
4 |
Tags: watermark, image, picture, photo, media, gallery, signature, transparent, upload, admin
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.6
|
7 |
-
Stable tag: 0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -27,6 +27,7 @@ Easy Watermark can automatically add image and text watermark to pictures as the
|
|
27 |
* Polish
|
28 |
* French (by Regis Brisard)
|
29 |
* Spanish ([http://abitworld.com/](http://abitworld.com/ "Translator's home page"))
|
|
|
30 |
|
31 |
If you have made a translation and want to contribute with it to Easy Watermark, please e-mail me.
|
32 |
|
@@ -82,6 +83,10 @@ All available placeholders are listed in a box titled 'Placeholders' on the text
|
|
82 |
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
|
|
85 |
= 0.5 =
|
86 |
* fixed issue with watermarking not selected image types on upload
|
87 |
* png transparency in watermarked images is now preserved
|
4 |
Tags: watermark, image, picture, photo, media, gallery, signature, transparent, upload, admin
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.6
|
7 |
+
Stable tag: 0.5.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
27 |
* Polish
|
28 |
* French (by Regis Brisard)
|
29 |
* Spanish ([http://abitworld.com/](http://abitworld.com/ "Translator's home page"))
|
30 |
+
* Russian
|
31 |
|
32 |
If you have made a translation and want to contribute with it to Easy Watermark, please e-mail me.
|
33 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 0.5.1 =
|
87 |
+
* fixed cooperation with front-end upload plugins (like BuddyPress Media)
|
88 |
+
* added possibility to define which post type attachments should be watermarked on upload
|
89 |
+
|
90 |
= 0.5 =
|
91 |
* fixed issue with watermarking not selected image types on upload
|
92 |
* png transparency in watermarked images is now preserved
|
views/settings-form-general.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
</tr>
|
6 |
<tr valign="top" class="auto-add-options" style="display:none;"><th scope="row"><?php _e('Image Types', 'easy-watermark'); ?></th>
|
7 |
<td>
|
8 |
-
<label for="image-type-jpg"><input id="image-type-jpg" type="checkbox" name="easy-watermark-settings-general[image_types][]" value="image/jpeg" <?php checked('1', in_array('image/jpeg', $image_types)); ?> /> jpg/jpeg</label><br
|
9 |
<label for="image-type-png"><input id="image-type-png" type="checkbox" name="easy-watermark-settings-general[image_types][]" value="image/png" <?php checked('1', in_array('image/png', $image_types)); ?> /> png</label><br/>
|
10 |
<label for="image-type-gif"><input id="image-type-gif" type="checkbox" name="easy-watermark-settings-general[image_types][]" value="image/gif" <?php checked('1', in_array('image/gif', $image_types)); ?> /> gif</label><p class="description"><?php _e('Select image types which should be watermarked', 'easy-watermark'); ?></p></td>
|
11 |
</tr>
|
@@ -23,9 +23,9 @@ foreach($_wp_additional_image_sizes as $sizeName => $size) : ?>
|
|
23 |
<p class="description"><?php _e('Select image sizes which should be watermarked', 'easy-watermark'); ?></p></td>
|
24 |
</tr>
|
25 |
<tr><th scope="row">
|
26 |
-
|
27 |
</th><td>
|
28 |
-
<select name="easy-watermark-settings-general[watermark_type]">
|
29 |
<option value="1" <?php selected('1', $watermark_type) ?>><?php _e('Image', 'easy-watermark'); ?></option>
|
30 |
<option value="2" <?php selected('2', $watermark_type) ?>><?php _e('Text', 'easy-watermark'); ?></option>
|
31 |
<option value="3" <?php selected('3', $watermark_type) ?>><?php _e('Image + Text', 'easy-watermark'); ?></option>
|
@@ -33,8 +33,8 @@ foreach($_wp_additional_image_sizes as $sizeName => $size) : ?>
|
|
33 |
<p class="description"><?php _e('Choose, whether to apply image, text, or both.', 'easy-watermark'); ?></p>
|
34 |
</td>
|
35 |
</tr>
|
36 |
-
<tr><th scope="row"><?php _e('Jpeg Quality', 'easy-watermark'); ?></th><td>
|
37 |
-
<input type="text" size="3" name="easy-watermark-settings-general[jpg_quality]" id="ew-
|
38 |
</td>
|
39 |
<tr valign="top"><th scope="row"><label for="easy-watermark-date-format"><?php _e('Date Format', 'easy-watermark'); ?></label></th>
|
40 |
<td><input size="5" id="easy-watermark-date-format" name="easy-watermark-settings-general[date_format]" type="text" value="<?php echo $date_format; ?>" /><p class="description"><?php _e('Leave blank to use default date format (see general settings)', 'easy-watermark'); ?></p></td>
|
@@ -43,17 +43,17 @@ foreach($_wp_additional_image_sizes as $sizeName => $size) : ?>
|
|
43 |
<td><input size="5" id="easy-watermark-time-format" name="easy-watermark-settings-general[time_format]" type="text" value="<?php echo $time_format; ?>" /><p class="description"><?php _e('Leave blank to use default time format', 'easy-watermark'); ?></p></td>
|
44 |
</tr>
|
45 |
</table>
|
46 |
-
<
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
$roles = $this->plugin->getRoles();
|
51 |
|
52 |
-
|
53 |
-
|
54 |
|
55 |
-
|
56 |
-
|
|
|
57 |
<tr valign="top"><th scope="row"><label for="easy-watermark-role-<?php echo $role ?>"><?php echo $name ?></label></th>
|
58 |
<td><select id="easy-watermark-role-<?php echo $role ?>" name="easy-watermark-settings-general[allowed_roles][<?php echo $role; ?>]">
|
59 |
<option <?php selected(1, $allowed); ?> value="1"><?php _e("allow", 'easy-watermark'); ?></option>
|
@@ -65,3 +65,23 @@ foreach($_wp_additional_image_sizes as $sizeName => $size) : ?>
|
|
65 |
<td><label for="easy-watermark-autoadd-perm"><input id="easy-watermark-autoadd-perm" name="easy-watermark-settings-general[auto_add_perm]" type="checkbox" value="1" <?php checked('1', $auto_add_perm); ?> /> <?php _e("Check this to allow watermarking on upload to every user. If unchecked, 'Auto Watermark' function will be dependent on above role-based settings.", 'easy-watermark'); ?></label></td>
|
66 |
</tr>
|
67 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
</tr>
|
6 |
<tr valign="top" class="auto-add-options" style="display:none;"><th scope="row"><?php _e('Image Types', 'easy-watermark'); ?></th>
|
7 |
<td>
|
8 |
+
<label for="image-type-jpg"><input id="image-type-jpg" type="checkbox" name="easy-watermark-settings-general[image_types][]" value="image/jpeg" <?php checked('1', in_array('image/jpeg', $image_types)); ?> /> jpg/jpeg</label><br/>
|
9 |
<label for="image-type-png"><input id="image-type-png" type="checkbox" name="easy-watermark-settings-general[image_types][]" value="image/png" <?php checked('1', in_array('image/png', $image_types)); ?> /> png</label><br/>
|
10 |
<label for="image-type-gif"><input id="image-type-gif" type="checkbox" name="easy-watermark-settings-general[image_types][]" value="image/gif" <?php checked('1', in_array('image/gif', $image_types)); ?> /> gif</label><p class="description"><?php _e('Select image types which should be watermarked', 'easy-watermark'); ?></p></td>
|
11 |
</tr>
|
23 |
<p class="description"><?php _e('Select image sizes which should be watermarked', 'easy-watermark'); ?></p></td>
|
24 |
</tr>
|
25 |
<tr><th scope="row">
|
26 |
+
<label for="ew-watermark-type"><?php _e('Watermark Type', 'easy-watermark'); ?></label>
|
27 |
</th><td>
|
28 |
+
<select id="ew-watermark-type" name="easy-watermark-settings-general[watermark_type]">
|
29 |
<option value="1" <?php selected('1', $watermark_type) ?>><?php _e('Image', 'easy-watermark'); ?></option>
|
30 |
<option value="2" <?php selected('2', $watermark_type) ?>><?php _e('Text', 'easy-watermark'); ?></option>
|
31 |
<option value="3" <?php selected('3', $watermark_type) ?>><?php _e('Image + Text', 'easy-watermark'); ?></option>
|
33 |
<p class="description"><?php _e('Choose, whether to apply image, text, or both.', 'easy-watermark'); ?></p>
|
34 |
</td>
|
35 |
</tr>
|
36 |
+
<tr><th scope="row"><label for="ew-jpeg-quality"><?php _e('Jpeg Quality', 'easy-watermark'); ?></label></th><td>
|
37 |
+
<input type="text" size="3" name="easy-watermark-settings-general[jpg_quality]" id="ew-jpeg-quality" value="<?php echo $jpg_quality; ?>" /><p class="description"><?php _e('Set jpeg quality from 0 (worst quality, smaller file) to 100 (best quality, biggest file)', 'easy-watermark'); ?></p>
|
38 |
</td>
|
39 |
<tr valign="top"><th scope="row"><label for="easy-watermark-date-format"><?php _e('Date Format', 'easy-watermark'); ?></label></th>
|
40 |
<td><input size="5" id="easy-watermark-date-format" name="easy-watermark-settings-general[date_format]" type="text" value="<?php echo $date_format; ?>" /><p class="description"><?php _e('Leave blank to use default date format (see general settings)', 'easy-watermark'); ?></p></td>
|
43 |
<td><input size="5" id="easy-watermark-time-format" name="easy-watermark-settings-general[time_format]" type="text" value="<?php echo $time_format; ?>" /><p class="description"><?php _e('Leave blank to use default time format', 'easy-watermark'); ?></p></td>
|
44 |
</tr>
|
45 |
</table>
|
46 |
+
<h3><?php _e('User Roles', 'easy-watermark'); ?></h3>
|
47 |
+
<p class="description"><?php _e('Select, which user roles can have a permission to apply watermarks (only roles with permission to upload files are listed here)', 'easy-watermark'); ?></p>
|
48 |
+
<?php
|
49 |
+
$roles = $this->plugin->getRoles();
|
|
|
50 |
|
51 |
+
foreach($roles as $role => $name):
|
52 |
+
$name = translate_user_role($name);
|
53 |
|
54 |
+
$allowed = isset($allowed_roles[$role]) ? (int) $allowed_roles[$role] : 0;
|
55 |
+
?>
|
56 |
+
<table class="form-table">
|
57 |
<tr valign="top"><th scope="row"><label for="easy-watermark-role-<?php echo $role ?>"><?php echo $name ?></label></th>
|
58 |
<td><select id="easy-watermark-role-<?php echo $role ?>" name="easy-watermark-settings-general[allowed_roles][<?php echo $role; ?>]">
|
59 |
<option <?php selected(1, $allowed); ?> value="1"><?php _e("allow", 'easy-watermark'); ?></option>
|
65 |
<td><label for="easy-watermark-autoadd-perm"><input id="easy-watermark-autoadd-perm" name="easy-watermark-settings-general[auto_add_perm]" type="checkbox" value="1" <?php checked('1', $auto_add_perm); ?> /> <?php _e("Check this to allow watermarking on upload to every user. If unchecked, 'Auto Watermark' function will be dependent on above role-based settings.", 'easy-watermark'); ?></label></td>
|
66 |
</tr>
|
67 |
</table>
|
68 |
+
<h3><?php _e('Post Types', 'easy-watermark'); ?></h3>
|
69 |
+
<p class="description"><?php _e('Select what post type attachments should be automatically watermarked', 'easy-watermark'); ?></p>
|
70 |
+
<table class="form-table">
|
71 |
+
<tr valign="top">
|
72 |
+
<td colspan="2"><label for="ew-select-all-post-types"><input type="checkbox" id="ew-select-all-post-types" value="all" /> <?php _e('Select All', 'easy-watermark'); ?></label></td>
|
73 |
+
</tr>
|
74 |
+
<tr valign="top"><td colspan="2">
|
75 |
+
<label for="post-type-unattached"><input class="ew-post-type" id="post-type-unattached" type="checkbox" name="easy-watermark-settings-general[allowed_post_types][]" value="unattached" <?php checked('1', in_array('unattached', $allowed_post_types)); ?> /> <?php _e('Unattached Images'); ?> <span class="description">(<?php _e('uploaded through the media library page'); ?>)</span></label><br/>
|
76 |
+
<label for="post-type-post"><input class="ew-post-type" id="post-type-post" type="checkbox" name="easy-watermark-settings-general[allowed_post_types][]" value="post" <?php checked('1', in_array('post', $allowed_post_types)); ?> /> <?php _e('Posts'); ?></label><br/>
|
77 |
+
<label for="post-type-page"><input class="ew-post-type" id="post-type-page" type="checkbox" name="easy-watermark-settings-general[allowed_post_types][]" value="page" <?php checked('1', in_array('page', $allowed_post_types)); ?> /> <?php _e('Pages'); ?></label><br/>
|
78 |
+
<?php
|
79 |
+
$post_types = $this->plugin->getPostTypes('object');
|
80 |
+
|
81 |
+
foreach($post_types as $post_type => $params) : if(post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail')) :
|
82 |
+
?>
|
83 |
+
<label for="post-type-<?php echo $post_type; ?>"><input class="ew-post-type" id="post-type-<?php echo $post_type; ?>" type="checkbox" name="easy-watermark-settings-general[allowed_post_types][]" value="<?php echo $post_type; ?>" <?php checked('1', in_array($post_type, $allowed_post_types)); ?> /> <?php echo $params->labels->name; ?></label><br/>
|
84 |
+
<?php endif; endforeach; ?>
|
85 |
+
</td>
|
86 |
+
</tr>
|
87 |
+
</table>
|
views/settings-form-text.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<div id="titlediv">
|
2 |
<input type="text" value="<?php echo $text; ?>" id="title" placeholder="<?php _e('Watermark Text', 'easy-watermark'); ?>" name="easy-watermark-settings-text[text]" />
|
3 |
-
<p class="description"><?php _e('You can use placeholders listed on the right side of this page'
|
4 |
</div>
|
5 |
<?php $class = empty($text) ? ' class="hidden"' : ''; ?>
|
6 |
<?php if(EW_Plugin::isGDEnabled()) : ?>
|
1 |
<div id="titlediv">
|
2 |
<input type="text" value="<?php echo $text; ?>" id="title" placeholder="<?php _e('Watermark Text', 'easy-watermark'); ?>" name="easy-watermark-settings-text[text]" />
|
3 |
+
<p class="description"><?php _e('You can use placeholders listed on the right side of this page'); ?></p>
|
4 |
</div>
|
5 |
<?php $class = empty($text) ? ' class="hidden"' : ''; ?>
|
6 |
<?php if(EW_Plugin::isGDEnabled()) : ?>
|