Version Description
- bug fix: change the way the link in the featured Image-Box is set
- languages: some adjustments
Download this release
Release Info
Developer | Volkmar Kantor |
Plugin | Crop-Thumbnails |
Version | 0.7.2 |
Comparing to | |
See all releases |
Code changes from version 0.7.1 to 0.7.2
- crop-thumbnails.php +2 -7
- css/cpt-window.css +1 -1
- functions/editor.php +78 -40
- functions/featured-image-meta-box.php +0 -132
- functions/settings.php +2 -2
- js/cpt-main.js +0 -46
- js/vers-0-7-0/cpt-main.js +0 -45
- lang/cpt_lang-de_DE.mo +0 -0
- lang/cpt_lang-de_DE.po +50 -38
- lang/cpt_lang-default.mo +0 -0
- lang/cpt_lang-default.po +47 -37
- lang/cpt_lang-pt_BR.mo +0 -0
- lang/cpt_lang-pt_BR.po +105 -96
- readme.txt +4 -0
crop-thumbnails.php
CHANGED
@@ -4,9 +4,8 @@
|
|
4 |
* Plugin URI: http://wordpress.org/extend/plugins/crop-thumbnails/
|
5 |
* Author: Volkmar Kantor
|
6 |
* Author URI: http://www.totalmedial.de
|
7 |
-
* Version: 0.7.
|
8 |
* Description: Crop your thumbnails, the easy way.
|
9 |
-
* Text Domain: cpt_lang
|
10 |
*
|
11 |
* License: GPL v3
|
12 |
* Copyright 2012 Volkmar Kantor (email : info@totalmedial.de)
|
@@ -27,7 +26,7 @@
|
|
27 |
|
28 |
//cpt - stands for crop-post-thumbnail
|
29 |
define('CPT_LANG','cpt_lang');
|
30 |
-
define('CPT_VERSION','0.7.
|
31 |
|
32 |
function cpt_plugin_init() {
|
33 |
load_plugin_textdomain( CPT_LANG, false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
|
@@ -48,8 +47,4 @@ function cptGetWpVersion() {
|
|
48 |
include_once(dirname(__FILE__).'/functions/settings.php');
|
49 |
include_once(dirname(__FILE__).'/functions/editor.php');
|
50 |
include_once(dirname(__FILE__).'/functions/save.php');
|
51 |
-
if(cptGetWpVersion() >= 3.5) {
|
52 |
-
include_once(dirname(__FILE__).'/functions/featured-image-meta-box.php');
|
53 |
-
}
|
54 |
-
|
55 |
?>
|
4 |
* Plugin URI: http://wordpress.org/extend/plugins/crop-thumbnails/
|
5 |
* Author: Volkmar Kantor
|
6 |
* Author URI: http://www.totalmedial.de
|
7 |
+
* Version: 0.7.2
|
8 |
* Description: Crop your thumbnails, the easy way.
|
|
|
9 |
*
|
10 |
* License: GPL v3
|
11 |
* Copyright 2012 Volkmar Kantor (email : info@totalmedial.de)
|
26 |
|
27 |
//cpt - stands for crop-post-thumbnail
|
28 |
define('CPT_LANG','cpt_lang');
|
29 |
+
define('CPT_VERSION','0.7.2');
|
30 |
|
31 |
function cpt_plugin_init() {
|
32 |
load_plugin_textdomain( CPT_LANG, false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
|
47 |
include_once(dirname(__FILE__).'/functions/settings.php');
|
48 |
include_once(dirname(__FILE__).'/functions/editor.php');
|
49 |
include_once(dirname(__FILE__).'/functions/save.php');
|
|
|
|
|
|
|
|
|
50 |
?>
|
css/cpt-window.css
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
.selectionArea { width:300px; padding:5px; float:left; }
|
24 |
.selectionArea img { max-width:300px; height:auto; }
|
25 |
.selectionArea h3 { margin:0;}
|
26 |
-
#cpt-generate { width: 300px; height:2em; padding:0.5em 0; display:block; }
|
27 |
|
28 |
h4 { margin-bottom:0em;}
|
29 |
.step-info { font-size:0.9em; }
|
23 |
.selectionArea { width:300px; padding:5px; float:left; }
|
24 |
.selectionArea img { max-width:300px; height:auto; }
|
25 |
.selectionArea h3 { margin:0;}
|
26 |
+
#cpt-generate { width: 300px; height:2em; padding:0.5em 0; display:block; line-height: 0;}
|
27 |
|
28 |
h4 { margin-bottom:0em;}
|
29 |
.step-info { font-size:0.9em; }
|
functions/editor.php
CHANGED
@@ -17,38 +17,38 @@ class CropPostThumbnailsEditor {
|
|
17 |
* this function is called for/from the thickbox - returns ordanary html
|
18 |
*/
|
19 |
function ajaxWindow() {
|
20 |
-
$
|
|
|
21 |
if(!$this->isUserPermitted()) {
|
22 |
-
$
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
$this->byPostId();
|
30 |
-
break;
|
31 |
-
case isset($_REQUEST['image_id'])://only one image
|
32 |
-
$this->byImageId();
|
33 |
-
break;
|
34 |
-
case isset($_REQUEST['image_by_post_id'])://only one image
|
35 |
-
$id = get_post_thumbnail_id(intval($_REQUEST['image_by_post_id']));
|
36 |
-
if(!empty($id)) {
|
37 |
-
$_REQUEST['image_id'] = $id;
|
38 |
-
$_REQUEST['parent_post_id'] = intval($_REQUEST['image_by_post_id']);
|
39 |
$this->byImageId();
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
52 |
}
|
53 |
die();//to prevent to send back a "0"
|
54 |
}
|
@@ -76,8 +76,6 @@ class CropPostThumbnailsEditor {
|
|
76 |
} elseif($data==false) {
|
77 |
$cptContent = '<div class="listEmptyMsg">'.__('No images in this post yet. You have to upload some via upload dialog.',CPT_LANG).'</div>';
|
78 |
} else {
|
79 |
-
|
80 |
-
|
81 |
//the dynamic javascript
|
82 |
ob_start(); ?>
|
83 |
<script>
|
@@ -115,7 +113,6 @@ class CropPostThumbnailsEditor {
|
|
115 |
$cptContent = ob_get_clean();
|
116 |
//END the content
|
117 |
}
|
118 |
-
$this->cleanWPHead();
|
119 |
wp_enqueue_script( 'jquery' );
|
120 |
wp_enqueue_style( 'cpt-window',plugins_url('css/cpt-window.css',dirname(__FILE__)),array('wp-admin'),CPT_VERSION);
|
121 |
include_once( dirname(__FILE__).'/../html/template.php' );
|
@@ -253,7 +250,6 @@ jQuery(document).ready(function($) {
|
|
253 |
//END the content
|
254 |
|
255 |
|
256 |
-
$this->cleanWPHead();
|
257 |
wp_enqueue_script( 'jquery' );
|
258 |
wp_enqueue_script( 'jcrop' );
|
259 |
wp_enqueue_script( 'json2' );
|
@@ -371,21 +367,18 @@ jQuery(document).ready(function($) {
|
|
371 |
*/
|
372 |
function adminHeaderJS() {
|
373 |
global $pagenow;
|
374 |
-
|
375 |
if ( $pagenow == 'post.php'
|
376 |
|| $pagenow == 'post-new.php'
|
377 |
|| $pagenow == 'page.php'
|
378 |
|| $pagenow == 'page-new.php'
|
379 |
|| $pagenow == 'upload.php') {
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
} else {
|
384 |
-
wp_enqueue_script('cpt-js', plugins_url( 'js/cpt-main.js', dirname(__FILE__) ), array('jquery','jquery-ui-tabs','thickbox'));
|
385 |
-
}
|
386 |
}
|
387 |
}
|
388 |
|
|
|
389 |
/**
|
390 |
* This is for use inside the plugin only.
|
391 |
* Removes all other styles and scripts, to make sure the crop-thumbnail is not compromited by other plugins
|
@@ -405,6 +398,51 @@ jQuery(document).ready(function($) {
|
|
405 |
$b = ( $a == 0 )? 0 : $b;
|
406 |
return ( $a % $b )? $this->gcd($b, abs($a - $b)) : $b;
|
407 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
}
|
409 |
|
410 |
|
17 |
* this function is called for/from the thickbox - returns ordanary html
|
18 |
*/
|
19 |
function ajaxWindow() {
|
20 |
+
$this->cleanWPHead();
|
21 |
+
$failure_msg = '';
|
22 |
if(!$this->isUserPermitted()) {
|
23 |
+
$failure_msg = __('An error happend!',CPT_LANG);
|
24 |
+
} else {
|
25 |
+
switch(true) {
|
26 |
+
case isset($_REQUEST['post_id'])://full programm
|
27 |
+
$this->byPostId();
|
28 |
+
break;
|
29 |
+
case isset($_REQUEST['image_id'])://only one image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
$this->byImageId();
|
31 |
+
break;
|
32 |
+
case isset($_REQUEST['image_by_post_id'])://only one image
|
33 |
+
$id = get_post_thumbnail_id(intval($_REQUEST['image_by_post_id']));
|
34 |
+
if(!empty($id)) {
|
35 |
+
$_REQUEST['image_id'] = $id;
|
36 |
+
$_REQUEST['parent_post_id'] = intval($_REQUEST['image_by_post_id']);
|
37 |
+
$this->byImageId();
|
38 |
+
} else {
|
39 |
+
$failure_msg = '<div class="listEmptyMsg">'.__('No featured Image set for this post until now.',CPT_LANG).'</div>';
|
40 |
+
}
|
41 |
+
break;
|
42 |
+
default:
|
43 |
+
$failure_msg = __('An error happend!',CPT_LANG);
|
44 |
+
break;
|
45 |
+
}
|
46 |
}
|
47 |
+
|
48 |
+
if(!empty($failure_msg)) {
|
49 |
+
wp_enqueue_style( 'cpt-window',plugins_url('css/cpt-window.css',dirname(__FILE__)),array('wp-admin'),CPT_VERSION);
|
50 |
+
$cptContent = $failure_msg;
|
51 |
+
include_once( dirname(__FILE__).'/../html/template.php' );
|
52 |
}
|
53 |
die();//to prevent to send back a "0"
|
54 |
}
|
76 |
} elseif($data==false) {
|
77 |
$cptContent = '<div class="listEmptyMsg">'.__('No images in this post yet. You have to upload some via upload dialog.',CPT_LANG).'</div>';
|
78 |
} else {
|
|
|
|
|
79 |
//the dynamic javascript
|
80 |
ob_start(); ?>
|
81 |
<script>
|
113 |
$cptContent = ob_get_clean();
|
114 |
//END the content
|
115 |
}
|
|
|
116 |
wp_enqueue_script( 'jquery' );
|
117 |
wp_enqueue_style( 'cpt-window',plugins_url('css/cpt-window.css',dirname(__FILE__)),array('wp-admin'),CPT_VERSION);
|
118 |
include_once( dirname(__FILE__).'/../html/template.php' );
|
250 |
//END the content
|
251 |
|
252 |
|
|
|
253 |
wp_enqueue_script( 'jquery' );
|
254 |
wp_enqueue_script( 'jcrop' );
|
255 |
wp_enqueue_script( 'json2' );
|
367 |
*/
|
368 |
function adminHeaderJS() {
|
369 |
global $pagenow;
|
|
|
370 |
if ( $pagenow == 'post.php'
|
371 |
|| $pagenow == 'post-new.php'
|
372 |
|| $pagenow == 'page.php'
|
373 |
|| $pagenow == 'page-new.php'
|
374 |
|| $pagenow == 'upload.php') {
|
375 |
+
|
376 |
+
wp_enqueue_script('thickbox', false, array('jquery','jquery-ui-tabs'));
|
377 |
+
add_action('admin_footer',array($this,'cptAddLinksToAdmin'));
|
|
|
|
|
|
|
378 |
}
|
379 |
}
|
380 |
|
381 |
+
|
382 |
/**
|
383 |
* This is for use inside the plugin only.
|
384 |
* Removes all other styles and scripts, to make sure the crop-thumbnail is not compromited by other plugins
|
398 |
$b = ( $a == 0 )? 0 : $b;
|
399 |
return ( $a % $b )? $this->gcd($b, abs($a - $b)) : $b;
|
400 |
}
|
401 |
+
|
402 |
+
|
403 |
+
|
404 |
+
/**
|
405 |
+
* adds the links into post-types and the media-library
|
406 |
+
*/
|
407 |
+
function cptAddLinksToAdmin() {
|
408 |
+
?>
|
409 |
+
<script type="text/javascript">
|
410 |
+
jQuery(document).ready(function($) {
|
411 |
+
var boxViewportHeight = $(window).height() - 100;
|
412 |
+
//add link on posts and pages
|
413 |
+
if ($('body.post-php, body.page-php, body.page-new.php, body.post-new-php').length > 0) {
|
414 |
+
var post_id_hidden = $('form#post #post_ID');
|
415 |
+
if (post_id_hidden) {
|
416 |
+
|
417 |
+
post_id_hidden = parseInt(post_id_hidden.val());
|
418 |
+
|
419 |
+
/** add link on top of editor **/
|
420 |
+
$('#wp-content-media-buttons').append('<a style="margin:0 2em;" class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&post_id=' + post_id_hidden + '&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="<?php esc_attr_e('Crop Thumbnails',CPT_LANG) ?>"><?php esc_html_e('Crop Thumbnails',CPT_LANG); ?></a>');
|
421 |
+
|
422 |
+
|
423 |
+
/** add link to featured image box **/
|
424 |
+
var featuredImageLink = $('<a class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&image_by_post_id=' + post_id_hidden + '&viewmode=single&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="<?php esc_attr_e('Crop Featured Image',CPT_LANG) ?>"><?php esc_html_e('Crop Featured Image',CPT_LANG); ?></a>')
|
425 |
+
.css({'margin':'5px', 'padding':'5px','display':'inline-block','line-height':'1'})
|
426 |
+
.addClass('button');
|
427 |
+
$('#postimagediv .inside').after(featuredImageLink);
|
428 |
+
}
|
429 |
+
}
|
430 |
+
|
431 |
+
/** add link on mediathek **/
|
432 |
+
if ($('body.upload-php').length > 0) {
|
433 |
+
$('#the-list tr').each(function() {
|
434 |
+
if ($(this).find('td.media-icon img').attr('src').lastIndexOf("/wp-includes/images/") == -1) {
|
435 |
+
var post_id = parseInt($(this).attr('id').substr(5));
|
436 |
+
var last_span = $(this).find('.column-title .row-actions span:last-child');
|
437 |
+
last_span.append(' | ');
|
438 |
+
last_span.parent().append('<a class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&image_id=' + post_id + '&viewmode=single&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="<?php esc_attr_e('Crop Thumbnail',CPT_LANG) ?>"><?php esc_html_e('Crop Thumbnail',CPT_LANG); ?></a>')
|
439 |
+
}
|
440 |
+
});
|
441 |
+
}
|
442 |
+
});
|
443 |
+
</script>
|
444 |
+
<?php
|
445 |
+
}
|
446 |
}
|
447 |
|
448 |
|
functions/featured-image-meta-box.php
DELETED
@@ -1,132 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
add_action('add_meta_boxes', 'cptChangeFeaturedImageMetaBox');
|
3 |
-
function cptChangeFeaturedImageMetaBox($post_type) {
|
4 |
-
if ( current_theme_supports( 'post-thumbnails', $post_type ) && post_type_supports( $post_type, 'thumbnail' ) ) {
|
5 |
-
remove_meta_box('postimagediv', null, 'side');
|
6 |
-
add_meta_box('postimagediv', __('Featured Image'), 'cptFeaturedImageMetaBox', null, 'side', 'low');
|
7 |
-
}
|
8 |
-
}
|
9 |
-
|
10 |
-
|
11 |
-
function cptFeaturedImageMetaBox($post) {
|
12 |
-
/**
|
13 |
-
* Display post thumbnail meta box.
|
14 |
-
*
|
15 |
-
* @since 2.9.0
|
16 |
-
*/
|
17 |
-
//function post_thumbnail_meta_box( $post ) {
|
18 |
-
global $_wp_additional_image_sizes;
|
19 |
-
|
20 |
-
?><script type="text/javascript">
|
21 |
-
jQuery( function($) {
|
22 |
-
var $element = $('#select-featured-image'),
|
23 |
-
$thumbnailId = $element.find('input[name="thumbnail_id"]'),
|
24 |
-
title = '<?php _e( "Choose a Featured Image" ); ?>',
|
25 |
-
update = '<?php _e( "Update Featured Image" ); ?>',
|
26 |
-
Attachment = wp.media.model.Attachment,
|
27 |
-
frame, setFeaturedImage;
|
28 |
-
|
29 |
-
setFeaturedImage = function( thumbnailId ) {
|
30 |
-
var selection;
|
31 |
-
|
32 |
-
$element.find('img').remove();
|
33 |
-
$element.toggleClass( 'has-featured-image', -1 != thumbnailId );
|
34 |
-
$thumbnailId.val( thumbnailId );
|
35 |
-
|
36 |
-
if ( frame ) {
|
37 |
-
selection = frame.get('library').get('selection');
|
38 |
-
|
39 |
-
if ( -1 === thumbnailId )
|
40 |
-
selection.clear();
|
41 |
-
else
|
42 |
-
selection.add( Attachment.get( thumbnailId ) );
|
43 |
-
}
|
44 |
-
/** plugin: crop-thumbnail code **/
|
45 |
-
cptCheck_SetFeaturedImage();
|
46 |
-
/** END plugin: crop-thumbnail code **/
|
47 |
-
};
|
48 |
-
|
49 |
-
$element.on( 'click', '.choose, img', function( event ) {
|
50 |
-
var options, thumbnailId;
|
51 |
-
|
52 |
-
event.preventDefault();
|
53 |
-
|
54 |
-
if ( frame ) {
|
55 |
-
frame.open();
|
56 |
-
return;
|
57 |
-
}
|
58 |
-
|
59 |
-
options = {
|
60 |
-
title: title,
|
61 |
-
library: {
|
62 |
-
type: 'image'
|
63 |
-
}
|
64 |
-
};
|
65 |
-
|
66 |
-
thumbnailId = $thumbnailId.val();
|
67 |
-
if ( '' !== thumbnailId && -1 !== thumbnailId )
|
68 |
-
options.selection = [ Attachment.get( thumbnailId ) ];
|
69 |
-
|
70 |
-
frame = wp.media( options );
|
71 |
-
|
72 |
-
frame.toolbar.on( 'activate:select', function() {
|
73 |
-
frame.toolbar.view().set({
|
74 |
-
select: {
|
75 |
-
style: 'primary',
|
76 |
-
text: update,
|
77 |
-
|
78 |
-
click: function() {
|
79 |
-
var selection = frame.state().get('selection'),
|
80 |
-
model = selection.first(),
|
81 |
-
sizes = model.get('sizes'),
|
82 |
-
size;
|
83 |
-
|
84 |
-
setFeaturedImage( model.id );
|
85 |
-
|
86 |
-
// @todo: might need a size hierarchy equivalent.
|
87 |
-
if ( sizes )
|
88 |
-
size = sizes['post-thumbnail'] || sizes.medium;
|
89 |
-
|
90 |
-
// @todo: Need a better way of accessing full size
|
91 |
-
// data besides just calling toJSON().
|
92 |
-
size = size || model.toJSON();
|
93 |
-
|
94 |
-
frame.close();
|
95 |
-
|
96 |
-
$( '<img />', {
|
97 |
-
src: size.url,
|
98 |
-
width: size.width
|
99 |
-
}).prependTo( $element );
|
100 |
-
}
|
101 |
-
}
|
102 |
-
});
|
103 |
-
});
|
104 |
-
});
|
105 |
-
|
106 |
-
$element.on( 'click', '.remove', function( event ) {
|
107 |
-
event.preventDefault();
|
108 |
-
setFeaturedImage( -1 );
|
109 |
-
});
|
110 |
-
|
111 |
-
cptCheck_SetFeaturedImage();
|
112 |
-
});
|
113 |
-
</script>
|
114 |
-
|
115 |
-
<?php
|
116 |
-
$thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true );
|
117 |
-
$thumbnail_size = isset( $_wp_additional_image_sizes['post-thumbnail'] ) ? 'post-thumbnail' : 'medium';
|
118 |
-
$thumbnail_html = wp_get_attachment_image( $thumbnail_id, $thumbnail_size );
|
119 |
-
|
120 |
-
$classes = empty( $thumbnail_id ) ? '' : 'has-featured-image';
|
121 |
-
|
122 |
-
?><div id="select-featured-image"
|
123 |
-
class="<?php echo esc_attr( $classes ); ?>"
|
124 |
-
data-post-id="<?php echo esc_attr( $post->ID ); ?>">
|
125 |
-
<?php echo $thumbnail_html; ?>
|
126 |
-
<input type="hidden" name="thumbnail_id" value="<?php echo esc_attr( $thumbnail_id ); ?>" />
|
127 |
-
<a href="#" class="choose button-secondary"><?php _e( 'Choose a Featured Image' ); ?></a>
|
128 |
-
<a href="#" class="remove"><?php _e( 'Remove Featured Image' ); ?></a>
|
129 |
-
</div>
|
130 |
-
<?php
|
131 |
-
}
|
132 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
functions/settings.php
CHANGED
@@ -20,14 +20,14 @@ class CropThumbnailsSettings {
|
|
20 |
}
|
21 |
|
22 |
function addOptionsPage() {
|
23 |
-
add_options_page(__('Crop Post Thumbnail Page',CPT_LANG),
|
24 |
add_action('admin_init', array($this,'settingsInitialisation'));
|
25 |
}
|
26 |
|
27 |
function optionsPage() { ?>
|
28 |
<div class="wrap">
|
29 |
<div id="icon-options-general" class="icon32"><br /></div>
|
30 |
-
<h2
|
31 |
<form action="options.php" method="post">
|
32 |
<?php settings_fields($this->uniqeSettingsId); ?>
|
33 |
<?php do_settings_sections('page1'); ?>
|
20 |
}
|
21 |
|
22 |
function addOptionsPage() {
|
23 |
+
add_options_page(__('Crop Post Thumbnail Page',CPT_LANG), 'Crop-Thumbnails', 'manage_options', 'page-cpt', array($this,'optionsPage'));
|
24 |
add_action('admin_init', array($this,'settingsInitialisation'));
|
25 |
}
|
26 |
|
27 |
function optionsPage() { ?>
|
28 |
<div class="wrap">
|
29 |
<div id="icon-options-general" class="icon32"><br /></div>
|
30 |
+
<h2>Crop-Thumbnails <?php esc_attr_e('Settings',CPT_LANG); ?></h2>
|
31 |
<form action="options.php" method="post">
|
32 |
<?php settings_fields($this->uniqeSettingsId); ?>
|
33 |
<?php do_settings_sections('page1'); ?>
|
js/cpt-main.js
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
var boxViewportHeight = $(window).height() - 100;
|
3 |
-
//add link on posts and pages
|
4 |
-
if ($('body.post-php, body.page-php, body.page-new.php, body.post-new-php').length > 0) {
|
5 |
-
var post_id_hidden = $('form#post #post_ID');
|
6 |
-
if (post_id_hidden) {
|
7 |
-
|
8 |
-
post_id_hidden = parseInt(post_id_hidden.val());
|
9 |
-
|
10 |
-
/** add link on top of editor **/
|
11 |
-
$('#wp-content-media-buttons').append('<a style="margin:0 2em;" class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&post_id=' + post_id_hidden + '&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="Crop-Thumbnails">Crop-Thumbnails</a>');
|
12 |
-
}
|
13 |
-
}
|
14 |
-
|
15 |
-
/** add link on mediathek **/
|
16 |
-
if ($('body.upload-php').length > 0) {
|
17 |
-
|
18 |
-
$('#the-list tr').each(function() {
|
19 |
-
if ($(this).find('td.media-icon img').attr('src').lastIndexOf("/wp-includes/images/") == -1) {
|
20 |
-
var post_id = parseInt($(this).attr('id').substr(5));
|
21 |
-
var last_span = $(this).find('.column-title .row-actions span:last-child');
|
22 |
-
last_span.append(' | ');
|
23 |
-
last_span.parent().append('<a class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&image_id=' + post_id + '&viewmode=single&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="Crop-Thumbnail">Crop-Thumbnail</a>')
|
24 |
-
}
|
25 |
-
});
|
26 |
-
}
|
27 |
-
});
|
28 |
-
|
29 |
-
/**
|
30 |
-
* this function is called from featured-images-meta-box.php which renders the meta-box for featured images
|
31 |
-
*/
|
32 |
-
function cptCheck_SetFeaturedImage() {
|
33 |
-
$ = jQuery;
|
34 |
-
if ($('body.post-php, body.page-php, body.page-new.php, body.post-new-php').length > 0) {
|
35 |
-
var meta_box = $('#select-featured-image');
|
36 |
-
|
37 |
-
//write new
|
38 |
-
$('.cptCropThumbnailFeaturedImageLink').remove();
|
39 |
-
if(meta_box.hasClass('has-featured-image')) {
|
40 |
-
var post_id_hidden = parseInt(meta_box.data('post-id'));
|
41 |
-
var thumb_id_hidden = parseInt(meta_box.find('input[name="thumbnail_id"]').attr('value'));
|
42 |
-
var boxViewportHeight = $(window).height() - 100;
|
43 |
-
meta_box.append('<a class="thickbox button-secondary cptCropThumbnailFeaturedImageLink" href="' + ajaxurl + '?action=croppostthumb_ajax&image_id=' + thumb_id_hidden + '&parent_post_id=' +post_id_hidden+ '&viewmode=single&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="Crop-Thumbnail" style="margin-top:10px">Crop-Thumbnail</a>');
|
44 |
-
}
|
45 |
-
}
|
46 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/vers-0-7-0/cpt-main.js
DELETED
@@ -1,45 +0,0 @@
|
|
1 |
-
/* functionality till version 0.7.0 */
|
2 |
-
jQuery(document).ready(function($) {
|
3 |
-
var boxViewportHeight = $(window).height() - 100;
|
4 |
-
//add link on posts and pages
|
5 |
-
if ($('body.post-php, body.page-php, body.page-new.php, body.post-new-php').length > 0) {
|
6 |
-
var post_id_hidden = $('form#post #post_ID');
|
7 |
-
if (post_id_hidden) {
|
8 |
-
|
9 |
-
post_id_hidden = parseInt(post_id_hidden.val());
|
10 |
-
|
11 |
-
/** add link on top of editor **/
|
12 |
-
$('#wp-content-media-buttons').append('<a style="margin:0 2em;" class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&post_id=' + post_id_hidden + '&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="Crop-Thumbnails">Crop-Thumbnails</a>');
|
13 |
-
|
14 |
-
|
15 |
-
/** add link to meta-box for post-thumbnails on posts and pages **/
|
16 |
-
/* static way: after reload of the page */
|
17 |
-
$('#remove-post-thumbnail').parent().parent().append('<a class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&image_by_post_id=' + post_id_hidden + '&viewmode=single&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="Crop-Thumbnail">Crop-Thumbnail</a>');
|
18 |
-
|
19 |
-
/* dynamic way: after ajax change of the post thumbnail
|
20 |
-
* extend the functionality of the base function "WPSetThumbnailHTML"
|
21 |
-
*/
|
22 |
-
if ( typeof WPSetThumbnailHTML === 'function') {
|
23 |
-
var cptWPSetThumbnailHTMLoriginal = WPSetThumbnailHTML;
|
24 |
-
WPSetThumbnailHTML = function(html) {
|
25 |
-
cptWPSetThumbnailHTMLoriginal(html);
|
26 |
-
$('#remove-post-thumbnail').parent().parent().append('<a class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&image_by_post_id=' + post_id_hidden + '&viewmode=single&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="Crop-Thumbnail">Crop-Thumbnail</a>');
|
27 |
-
}
|
28 |
-
}
|
29 |
-
/** END add link to meta-box for post-thumbnails on posts and pages **/
|
30 |
-
}
|
31 |
-
}
|
32 |
-
|
33 |
-
/** add link on mediathek **/
|
34 |
-
if ($('body.upload-php').length > 0) {
|
35 |
-
|
36 |
-
$('#the-list tr').each(function() {
|
37 |
-
if ($(this).find('td.media-icon img').attr('src').lastIndexOf("/wp-includes/images/") == -1) {
|
38 |
-
var post_id = parseInt($(this).attr('id').substr(5));
|
39 |
-
var last_span = $(this).find('.column-title .row-actions span:last-child');
|
40 |
-
last_span.append(' | ');
|
41 |
-
last_span.parent().append('<a class="thickbox" href="' + ajaxurl + '?action=croppostthumb_ajax&image_id=' + post_id + '&viewmode=single&TB_iframe=1&width=800&height=' + boxViewportHeight + '" title="Crop-Thumbnail">Crop-Thumbnail</a>')
|
42 |
-
}
|
43 |
-
});
|
44 |
-
}
|
45 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lang/cpt_lang-de_DE.mo
CHANGED
Binary file
|
lang/cpt_lang-de_DE.po
CHANGED
@@ -2,120 +2,137 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-
|
6 |
-
"PO-Revision-Date: 2012-
|
7 |
"Last-Translator: Volkmar Kantor <volkmar.kantor@gmx.de>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-KeywordsList: __;_e;esc_attr_e\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SearchPath-0: ..\n"
|
15 |
|
16 |
-
#: ../crop-thumbnails.php:
|
17 |
msgid "Crop your thumbnails, the easy way."
|
18 |
msgstr "Zuschnitt ihrer Artikelbilder - einfach gemacht."
|
19 |
|
20 |
-
#: ../functions/editor.php:
|
|
|
21 |
msgid "An error happend!"
|
22 |
msgstr "Es ist ein Fehler aufgetretten!"
|
23 |
|
24 |
-
#: ../functions/editor.php:
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
msgid "Cropping is disabled for this post-type."
|
27 |
msgstr "Das Zuschneiden ist für diesen Eintragstyp deaktiviert."
|
28 |
|
29 |
-
#: ../functions/editor.php:
|
30 |
msgid "No images in this post yet. You have to upload some via upload dialog."
|
31 |
msgstr "Zu diesem Eintrag wurden bisher keine Bilder hinzugefügt."
|
32 |
|
33 |
-
#: ../functions/editor.php:
|
34 |
msgid "Choose the image you want to crop."
|
35 |
msgstr "Wählen Sie das Bild aus, das Sie zuschneiden wollen."
|
36 |
|
37 |
-
#: ../functions/editor.php:
|
38 |
msgid "Post Thumbnail"
|
39 |
msgstr "Artikel-Vorschaubild"
|
40 |
|
41 |
-
#: ../functions/editor.php:
|
42 |
#, php-format
|
43 |
msgid "Image %d"
|
44 |
msgstr "Bild %d"
|
45 |
|
46 |
-
#: ../functions/editor.php:
|
47 |
msgid "bug - this case shouldnt be happend"
|
48 |
msgstr "BUG - dieser Fall hätte nie eintretten drüfen - Plugin-Autor benachrichtigen."
|
49 |
|
50 |
-
#: ../functions/editor.php:
|
51 |
msgid "Warning: the original image is to small to be cropped in good quality with this thumbnail-size."
|
52 |
msgstr "Warung: das Original-Bild ist zu klein um für diese Thumbnail-Größe es in guter Qualität zuzuschneiden."
|
53 |
|
54 |
-
#: ../functions/editor.php:
|
55 |
msgid "First, select one image. Then, click once again."
|
56 |
msgstr "Erst ein Bild auswählen, danach erneut probieren."
|
57 |
|
58 |
-
#: ../functions/editor.php:
|
59 |
msgid "back to image-list"
|
60 |
msgstr "Zurück zur Bild-Übersicht"
|
61 |
|
62 |
-
#: ../functions/editor.php:
|
63 |
msgid "Please wait until the Images are cropped."
|
64 |
msgstr "Bitte warten Sie bis die Bilder zugeschnitten wurden."
|
65 |
|
66 |
-
#: ../functions/editor.php:
|
67 |
msgid "Raw"
|
68 |
msgstr "Original-Bild"
|
69 |
|
70 |
-
#: ../functions/editor.php:
|
71 |
-
#: ../functions/editor.php:
|
72 |
msgid "pixel"
|
73 |
msgstr "Pixel"
|
74 |
|
75 |
-
#: ../functions/editor.php:
|
76 |
msgid "save crop"
|
77 |
msgstr "Zuschnitt übernehmen"
|
78 |
|
79 |
-
#: ../functions/editor.php:
|
80 |
msgid "Quick-Instructions"
|
81 |
msgstr "Schnell-Anleitung"
|
82 |
|
83 |
-
#: ../functions/editor.php:
|
84 |
msgid "Step 1: Choose an image from the right."
|
85 |
msgstr "Schritt 1: Wählen Sie ein Bild von der rechten Seite."
|
86 |
|
87 |
-
#: ../functions/editor.php:
|
88 |
msgid "Step 2: Use the mouse change the size of the rectangle on the image above."
|
89 |
msgstr "Schritt 2: Benutzen Sie die Maus um die Größe des Rechtecks im oberen Bild zu ändern."
|
90 |
|
91 |
-
#: ../functions/editor.php:
|
92 |
msgid "Step 3: Click on \"save crop\"."
|
93 |
msgstr "Schritt 3: Klicken Sie auf \"Zuschnitt übernehmen\"."
|
94 |
|
95 |
-
#: ../functions/editor.php:
|
96 |
msgid "select images with same ratio at once"
|
97 |
msgstr "bei gleichem Seitenverhältnis gemeinsam auswählen"
|
98 |
|
99 |
-
#: ../functions/editor.php:
|
100 |
msgid "deselect all"
|
101 |
msgstr "nichts auswählen"
|
102 |
|
103 |
-
#: ../functions/editor.php:
|
104 |
msgid "cropped"
|
105 |
msgstr "zugeschnitten"
|
106 |
|
107 |
-
#: ../functions/editor.php:
|
108 |
msgid "Original image to small for good crop-quality!"
|
109 |
msgstr "Original-Bild ist zu klein für guten Bildzuschnitt!"
|
110 |
|
111 |
-
#: ../functions/editor.php:
|
112 |
msgid "Dimensions:"
|
113 |
msgstr "Größe:"
|
114 |
|
115 |
-
#: ../functions/editor.php:
|
116 |
msgid "Ratio:"
|
117 |
msgstr "Seitenverhältnis:"
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
#: ../functions/save.php:95
|
120 |
#, php-format
|
121 |
msgid "Cant generate filesize \"%s\"."
|
@@ -154,6 +171,7 @@ msgid "ERROR: Can`t find original Image-Metadata!"
|
|
154 |
msgstr "Fehler: Konnte Original-Bild-Metadaten nicht finden!"
|
155 |
|
156 |
#: ../functions/settings.php:16
|
|
|
157 |
msgid "Settings"
|
158 |
msgstr "Einstellungen"
|
159 |
|
@@ -161,14 +179,6 @@ msgstr "Einstellungen"
|
|
161 |
msgid "Crop Post Thumbnail Page"
|
162 |
msgstr "Crop-Post-Thumbnail Seite"
|
163 |
|
164 |
-
#: ../functions/settings.php:23
|
165 |
-
msgid "Crop Thumbnails"
|
166 |
-
msgstr "Crop Thumbnails"
|
167 |
-
|
168 |
-
#: ../functions/settings.php:30
|
169 |
-
msgid "Crop Thumbnails - Settings"
|
170 |
-
msgstr "Crop Thumbnails - Einstellungen"
|
171 |
-
|
172 |
#: ../functions/settings.php:35
|
173 |
msgid "Save Changes"
|
174 |
msgstr "Einstellungen speichern"
|
@@ -197,6 +207,8 @@ msgstr "Crop Thumbnails wurde erstellt um das Zuschneiden von Bildern für den B
|
|
197 |
msgid "Crop-Thumbnails will only show croped images - sizes with no crop will always be hidden."
|
198 |
msgstr "Crop Thumbnails wird nur Bilder anzeigen die einen Zuschnitt besitzen. Bildgrößen ohne Zuschnitt werden immer ausgeblendet."
|
199 |
|
|
|
|
|
200 |
#~ msgid ""
|
201 |
#~ "Wrong ratio!<br \\>OK - release images selected so far.<br \\>Cancel - "
|
202 |
#~ "keep selected images so far."
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-12-03 14:55+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-12-03 14:55+0100\n"
|
7 |
"Last-Translator: Volkmar Kantor <volkmar.kantor@gmx.de>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_html_e;esc_html__\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SearchPath-0: ..\n"
|
15 |
|
16 |
+
#: ../crop-thumbnails.php:34
|
17 |
msgid "Crop your thumbnails, the easy way."
|
18 |
msgstr "Zuschnitt ihrer Artikelbilder - einfach gemacht."
|
19 |
|
20 |
+
#: ../functions/editor.php:23
|
21 |
+
#: ../functions/editor.php:43
|
22 |
msgid "An error happend!"
|
23 |
msgstr "Es ist ein Fehler aufgetretten!"
|
24 |
|
25 |
+
#: ../functions/editor.php:39
|
26 |
+
msgid "No featured Image set for this post until now."
|
27 |
+
msgstr "Bisher ist kein Artikelbild gesetzt worden."
|
28 |
+
|
29 |
+
#: ../functions/editor.php:75
|
30 |
+
#: ../functions/editor.php:187
|
31 |
msgid "Cropping is disabled for this post-type."
|
32 |
msgstr "Das Zuschneiden ist für diesen Eintragstyp deaktiviert."
|
33 |
|
34 |
+
#: ../functions/editor.php:77
|
35 |
msgid "No images in this post yet. You have to upload some via upload dialog."
|
36 |
msgstr "Zu diesem Eintrag wurden bisher keine Bilder hinzugefügt."
|
37 |
|
38 |
+
#: ../functions/editor.php:98
|
39 |
msgid "Choose the image you want to crop."
|
40 |
msgstr "Wählen Sie das Bild aus, das Sie zuschneiden wollen."
|
41 |
|
42 |
+
#: ../functions/editor.php:104
|
43 |
msgid "Post Thumbnail"
|
44 |
msgstr "Artikel-Vorschaubild"
|
45 |
|
46 |
+
#: ../functions/editor.php:104
|
47 |
#, php-format
|
48 |
msgid "Image %d"
|
49 |
msgstr "Bild %d"
|
50 |
|
51 |
+
#: ../functions/editor.php:164
|
52 |
msgid "bug - this case shouldnt be happend"
|
53 |
msgstr "BUG - dieser Fall hätte nie eintretten drüfen - Plugin-Autor benachrichtigen."
|
54 |
|
55 |
+
#: ../functions/editor.php:165
|
56 |
msgid "Warning: the original image is to small to be cropped in good quality with this thumbnail-size."
|
57 |
msgstr "Warung: das Original-Bild ist zu klein um für diese Thumbnail-Größe es in guter Qualität zuzuschneiden."
|
58 |
|
59 |
+
#: ../functions/editor.php:166
|
60 |
msgid "First, select one image. Then, click once again."
|
61 |
msgstr "Erst ein Bild auswählen, danach erneut probieren."
|
62 |
|
63 |
+
#: ../functions/editor.php:192
|
64 |
msgid "back to image-list"
|
65 |
msgstr "Zurück zur Bild-Übersicht"
|
66 |
|
67 |
+
#: ../functions/editor.php:193
|
68 |
msgid "Please wait until the Images are cropped."
|
69 |
msgstr "Bitte warten Sie bis die Bilder zugeschnitten wurden."
|
70 |
|
71 |
+
#: ../functions/editor.php:196
|
72 |
msgid "Raw"
|
73 |
msgstr "Original-Bild"
|
74 |
|
75 |
+
#: ../functions/editor.php:196
|
76 |
+
#: ../functions/editor.php:237
|
77 |
msgid "pixel"
|
78 |
msgstr "Pixel"
|
79 |
|
80 |
+
#: ../functions/editor.php:198
|
81 |
msgid "save crop"
|
82 |
msgstr "Zuschnitt übernehmen"
|
83 |
|
84 |
+
#: ../functions/editor.php:199
|
85 |
msgid "Quick-Instructions"
|
86 |
msgstr "Schnell-Anleitung"
|
87 |
|
88 |
+
#: ../functions/editor.php:201
|
89 |
msgid "Step 1: Choose an image from the right."
|
90 |
msgstr "Schritt 1: Wählen Sie ein Bild von der rechten Seite."
|
91 |
|
92 |
+
#: ../functions/editor.php:202
|
93 |
msgid "Step 2: Use the mouse change the size of the rectangle on the image above."
|
94 |
msgstr "Schritt 2: Benutzen Sie die Maus um die Größe des Rechtecks im oberen Bild zu ändern."
|
95 |
|
96 |
+
#: ../functions/editor.php:203
|
97 |
msgid "Step 3: Click on \"save crop\"."
|
98 |
msgstr "Schritt 3: Klicken Sie auf \"Zuschnitt übernehmen\"."
|
99 |
|
100 |
+
#: ../functions/editor.php:208
|
101 |
msgid "select images with same ratio at once"
|
102 |
msgstr "bei gleichem Seitenverhältnis gemeinsam auswählen"
|
103 |
|
104 |
+
#: ../functions/editor.php:209
|
105 |
msgid "deselect all"
|
106 |
msgstr "nichts auswählen"
|
107 |
|
108 |
+
#: ../functions/editor.php:221
|
109 |
msgid "cropped"
|
110 |
msgstr "zugeschnitten"
|
111 |
|
112 |
+
#: ../functions/editor.php:231
|
113 |
msgid "Original image to small for good crop-quality!"
|
114 |
msgstr "Original-Bild ist zu klein für guten Bildzuschnitt!"
|
115 |
|
116 |
+
#: ../functions/editor.php:237
|
117 |
msgid "Dimensions:"
|
118 |
msgstr "Größe:"
|
119 |
|
120 |
+
#: ../functions/editor.php:238
|
121 |
msgid "Ratio:"
|
122 |
msgstr "Seitenverhältnis:"
|
123 |
|
124 |
+
#: ../functions/editor.php:421
|
125 |
+
msgid "Crop Thumbnails"
|
126 |
+
msgstr "Bilder Zuschneiden"
|
127 |
+
|
128 |
+
#: ../functions/editor.php:425
|
129 |
+
msgid "Crop Featured Image"
|
130 |
+
msgstr "Artikelbild zuschneiden"
|
131 |
+
|
132 |
+
#: ../functions/editor.php:439
|
133 |
+
msgid "Crop Thumbnail"
|
134 |
+
msgstr "Bild zuschneiden"
|
135 |
+
|
136 |
#: ../functions/save.php:95
|
137 |
#, php-format
|
138 |
msgid "Cant generate filesize \"%s\"."
|
171 |
msgstr "Fehler: Konnte Original-Bild-Metadaten nicht finden!"
|
172 |
|
173 |
#: ../functions/settings.php:16
|
174 |
+
#: ../functions/settings.php:30
|
175 |
msgid "Settings"
|
176 |
msgstr "Einstellungen"
|
177 |
|
179 |
msgid "Crop Post Thumbnail Page"
|
180 |
msgstr "Crop-Post-Thumbnail Seite"
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
#: ../functions/settings.php:35
|
183 |
msgid "Save Changes"
|
184 |
msgstr "Einstellungen speichern"
|
207 |
msgid "Crop-Thumbnails will only show croped images - sizes with no crop will always be hidden."
|
208 |
msgstr "Crop Thumbnails wird nur Bilder anzeigen die einen Zuschnitt besitzen. Bildgrößen ohne Zuschnitt werden immer ausgeblendet."
|
209 |
|
210 |
+
#~ msgid "Crop Thumbnails - Settings"
|
211 |
+
#~ msgstr "Crop Thumbnails - Einstellungen"
|
212 |
#~ msgid ""
|
213 |
#~ "Wrong ratio!<br \\>OK - release images selected so far.<br \\>Cancel - "
|
214 |
#~ "keep selected images so far."
|
lang/cpt_lang-default.mo
CHANGED
Binary file
|
lang/cpt_lang-default.po
CHANGED
@@ -2,14 +2,14 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-
|
6 |
-
"PO-Revision-Date: 2012-
|
7 |
"Last-Translator: Volkmar Kantor <volkmar.kantor@gmx.de>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-KeywordsList: __;_e;esc_attr_e\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SearchPath-0: ..\n"
|
15 |
|
@@ -17,105 +17,122 @@ msgstr ""
|
|
17 |
msgid "Crop your thumbnails, the easy way."
|
18 |
msgstr ""
|
19 |
|
20 |
-
#: ../functions/editor.php:
|
|
|
21 |
msgid "An error happend!"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: ../functions/editor.php:
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
msgid "Cropping is disabled for this post-type."
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: ../functions/editor.php:
|
30 |
msgid "No images in this post yet. You have to upload some via upload dialog."
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: ../functions/editor.php:
|
34 |
msgid "Choose the image you want to crop."
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: ../functions/editor.php:
|
38 |
msgid "Post Thumbnail"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: ../functions/editor.php:
|
42 |
#, php-format
|
43 |
msgid "Image %d"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../functions/editor.php:
|
47 |
msgid "bug - this case shouldnt be happend"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: ../functions/editor.php:
|
51 |
msgid "Warning: the original image is to small to be cropped in good quality with this thumbnail-size."
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: ../functions/editor.php:
|
55 |
msgid "First, select one image. Then, click once again."
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: ../functions/editor.php:
|
59 |
msgid "back to image-list"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: ../functions/editor.php:
|
63 |
msgid "Please wait until the Images are cropped."
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: ../functions/editor.php:
|
67 |
msgid "Raw"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: ../functions/editor.php:
|
71 |
-
#: ../functions/editor.php:
|
72 |
msgid "pixel"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../functions/editor.php:
|
76 |
msgid "save crop"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../functions/editor.php:
|
80 |
msgid "Quick-Instructions"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../functions/editor.php:
|
84 |
msgid "Step 1: Choose an image from the right."
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../functions/editor.php:
|
88 |
msgid "Step 2: Use the mouse change the size of the rectangle on the image above."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../functions/editor.php:
|
92 |
msgid "Step 3: Click on \"save crop\"."
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../functions/editor.php:
|
96 |
msgid "select images with same ratio at once"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../functions/editor.php:
|
100 |
msgid "deselect all"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../functions/editor.php:
|
104 |
msgid "cropped"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../functions/editor.php:
|
108 |
msgid "Original image to small for good crop-quality!"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../functions/editor.php:
|
112 |
msgid "Dimensions:"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../functions/editor.php:
|
116 |
msgid "Ratio:"
|
117 |
msgstr ""
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
#: ../functions/save.php:95
|
120 |
#, php-format
|
121 |
msgid "Cant generate filesize \"%s\"."
|
@@ -154,6 +171,7 @@ msgid "ERROR: Can`t find original Image-Metadata!"
|
|
154 |
msgstr ""
|
155 |
|
156 |
#: ../functions/settings.php:16
|
|
|
157 |
msgid "Settings"
|
158 |
msgstr ""
|
159 |
|
@@ -161,14 +179,6 @@ msgstr ""
|
|
161 |
msgid "Crop Post Thumbnail Page"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: ../functions/settings.php:23
|
165 |
-
msgid "Crop Thumbnails"
|
166 |
-
msgstr ""
|
167 |
-
|
168 |
-
#: ../functions/settings.php:30
|
169 |
-
msgid "Crop Thumbnails - Settings"
|
170 |
-
msgstr ""
|
171 |
-
|
172 |
#: ../functions/settings.php:35
|
173 |
msgid "Save Changes"
|
174 |
msgstr ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-12-03 14:35+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-12-03 14:54+0100\n"
|
7 |
"Last-Translator: Volkmar Kantor <volkmar.kantor@gmx.de>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_attr__;esc_html_e\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SearchPath-0: ..\n"
|
15 |
|
17 |
msgid "Crop your thumbnails, the easy way."
|
18 |
msgstr ""
|
19 |
|
20 |
+
#: ../functions/editor.php:23
|
21 |
+
#: ../functions/editor.php:43
|
22 |
msgid "An error happend!"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: ../functions/editor.php:39
|
26 |
+
msgid "No featured Image set for this post until now."
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: ../functions/editor.php:75
|
30 |
+
#: ../functions/editor.php:187
|
31 |
msgid "Cropping is disabled for this post-type."
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: ../functions/editor.php:77
|
35 |
msgid "No images in this post yet. You have to upload some via upload dialog."
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../functions/editor.php:98
|
39 |
msgid "Choose the image you want to crop."
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: ../functions/editor.php:104
|
43 |
msgid "Post Thumbnail"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../functions/editor.php:104
|
47 |
#, php-format
|
48 |
msgid "Image %d"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: ../functions/editor.php:164
|
52 |
msgid "bug - this case shouldnt be happend"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: ../functions/editor.php:165
|
56 |
msgid "Warning: the original image is to small to be cropped in good quality with this thumbnail-size."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: ../functions/editor.php:166
|
60 |
msgid "First, select one image. Then, click once again."
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../functions/editor.php:192
|
64 |
msgid "back to image-list"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: ../functions/editor.php:193
|
68 |
msgid "Please wait until the Images are cropped."
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../functions/editor.php:196
|
72 |
msgid "Raw"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../functions/editor.php:196
|
76 |
+
#: ../functions/editor.php:237
|
77 |
msgid "pixel"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: ../functions/editor.php:198
|
81 |
msgid "save crop"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: ../functions/editor.php:199
|
85 |
msgid "Quick-Instructions"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: ../functions/editor.php:201
|
89 |
msgid "Step 1: Choose an image from the right."
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: ../functions/editor.php:202
|
93 |
msgid "Step 2: Use the mouse change the size of the rectangle on the image above."
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: ../functions/editor.php:203
|
97 |
msgid "Step 3: Click on \"save crop\"."
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: ../functions/editor.php:208
|
101 |
msgid "select images with same ratio at once"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: ../functions/editor.php:209
|
105 |
msgid "deselect all"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: ../functions/editor.php:221
|
109 |
msgid "cropped"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: ../functions/editor.php:231
|
113 |
msgid "Original image to small for good crop-quality!"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: ../functions/editor.php:237
|
117 |
msgid "Dimensions:"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: ../functions/editor.php:238
|
121 |
msgid "Ratio:"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: ../functions/editor.php:421
|
125 |
+
msgid "Crop Thumbnails"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: ../functions/editor.php:425
|
129 |
+
msgid "Crop Featured Image"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: ../functions/editor.php:439
|
133 |
+
msgid "Crop Thumbnail"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
#: ../functions/save.php:95
|
137 |
#, php-format
|
138 |
msgid "Cant generate filesize \"%s\"."
|
171 |
msgstr ""
|
172 |
|
173 |
#: ../functions/settings.php:16
|
174 |
+
#: ../functions/settings.php:30
|
175 |
msgid "Settings"
|
176 |
msgstr ""
|
177 |
|
179 |
msgid "Crop Post Thumbnail Page"
|
180 |
msgstr ""
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
#: ../functions/settings.php:35
|
183 |
msgid "Save Changes"
|
184 |
msgstr ""
|
lang/cpt_lang-pt_BR.mo
CHANGED
Binary file
|
lang/cpt_lang-pt_BR.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Crop Thumbnails v0.7.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2012-
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -13,238 +13,247 @@ msgstr ""
|
|
13 |
"X-Poedit-Language: Portuguese\n"
|
14 |
"X-Poedit-Country: BRAZIL\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;
|
17 |
"X-Poedit-Basepath: ../\n"
|
18 |
-
"X-
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
-
"X-Textdomain-Support: yes"
|
21 |
|
|
|
22 |
#: crop-thumbnails.php:35
|
23 |
-
#@ default
|
24 |
msgid "Crop your thumbnails, the easy way."
|
25 |
-
msgstr ""
|
26 |
|
27 |
-
|
28 |
-
|
|
|
29 |
msgid "An error happend!"
|
30 |
msgstr "Ocorreu um erro!"
|
31 |
|
32 |
-
#: functions/editor.php:
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
msgid "Cropping is disabled for this post-type."
|
36 |
msgstr "O corte está desativado para este tipo de post."
|
37 |
|
38 |
-
|
39 |
-
|
40 |
msgid "No images in this post yet. You have to upload some via upload dialog."
|
41 |
msgstr "Não há imagens neste post ainda. Você tem que carregar alguma através da caixa de diálogo de upload."
|
42 |
|
43 |
-
|
44 |
-
|
45 |
msgid "Choose the image you want to crop."
|
46 |
msgstr "Escolha a imagem que você deseja cortar."
|
47 |
|
48 |
-
|
49 |
-
|
50 |
msgid "Post Thumbnail"
|
51 |
msgstr "Publicar Miniatura"
|
52 |
|
53 |
-
|
|
|
54 |
#, php-format
|
55 |
-
#@ cpt_lang
|
56 |
msgid "Image %d"
|
57 |
msgstr "Imagem %d"
|
58 |
|
59 |
-
|
60 |
-
|
61 |
msgid "bug - this case shouldnt be happend"
|
62 |
msgstr "bug - isso não devia ter acontececido"
|
63 |
|
64 |
-
|
65 |
-
|
66 |
msgid "Warning: the original image is to small to be cropped in good quality with this thumbnail-size."
|
67 |
msgstr "Atenção: a imagem original é muito pequena para ser cortada em boa qualidade neste tamanho de miniatura."
|
68 |
|
69 |
-
|
70 |
-
|
71 |
msgid "First, select one image. Then, click once again."
|
72 |
msgstr "Primeiro, selecione uma imagem. Em seguida, clique novamente."
|
73 |
|
74 |
-
|
75 |
-
|
76 |
msgid "back to image-list"
|
77 |
msgstr "volte a lista de imagens"
|
78 |
|
79 |
-
|
80 |
-
|
81 |
msgid "Please wait until the Images are cropped."
|
82 |
msgstr "Por favor, aguarde até que as imagens sejam cortadas."
|
83 |
|
84 |
-
|
85 |
-
|
86 |
msgid "Raw"
|
87 |
msgstr "Bruta"
|
88 |
|
89 |
-
|
90 |
-
#: functions/editor.php:
|
91 |
-
|
92 |
msgid "pixel"
|
93 |
msgstr "pixel"
|
94 |
|
95 |
-
|
96 |
-
|
97 |
msgid "save crop"
|
98 |
-
msgstr "
|
99 |
|
100 |
-
|
101 |
-
|
102 |
msgid "Quick-Instructions"
|
103 |
-
msgstr "Instruções
|
104 |
|
105 |
-
|
106 |
-
|
107 |
msgid "Step 1: Choose an image from the right."
|
108 |
msgstr "Passo 1: Escolha uma imagem à direita."
|
109 |
|
110 |
-
|
111 |
-
|
112 |
msgid "Step 2: Use the mouse change the size of the rectangle on the image above."
|
113 |
msgstr "Passo 2: Use o mouse para alterar o tamanho do retângulo na imagem acima."
|
114 |
|
115 |
-
|
116 |
-
|
117 |
msgid "Step 3: Click on \"save crop\"."
|
118 |
-
msgstr "Passo 3: Clique em \"
|
119 |
|
120 |
-
|
121 |
-
|
122 |
msgid "select images with same ratio at once"
|
123 |
-
msgstr "
|
124 |
|
125 |
-
|
126 |
-
|
127 |
msgid "deselect all"
|
128 |
-
msgstr "
|
129 |
|
130 |
-
|
131 |
-
|
132 |
msgid "cropped"
|
133 |
-
msgstr "
|
134 |
|
135 |
-
|
136 |
-
|
137 |
msgid "Original image to small for good crop-quality!"
|
138 |
msgstr "Imagem original muito pequena para um corte de qualidade!"
|
139 |
|
140 |
-
|
141 |
-
|
142 |
msgid "Dimensions:"
|
143 |
msgstr "Dimensões:"
|
144 |
|
145 |
-
|
146 |
-
|
147 |
msgid "Ratio:"
|
148 |
msgstr "Relação:"
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
#: functions/save.php:95
|
151 |
#, php-format
|
152 |
-
#@ cpt_lang
|
153 |
msgid "Cant generate filesize \"%s\"."
|
154 |
msgstr "Não é possível gerar o tamanho \"%s\"."
|
155 |
|
|
|
156 |
#: functions/save.php:102
|
157 |
-
#@ cpt_lang
|
158 |
msgid "Cant copy temporary file to media-library."
|
159 |
msgstr "Não é possível copiar arquivo temporário para a biblioteca de mídia."
|
160 |
|
|
|
161 |
#: functions/save.php:106
|
162 |
-
#@ cpt_lang
|
163 |
msgid "Cant delete temporary file."
|
164 |
msgstr "Não é possível excluir arquivo temporário."
|
165 |
|
|
|
166 |
#: functions/save.php:172
|
167 |
-
#@ cpt_lang
|
168 |
msgid "ERROR: Security Check failed (maybe a timeout - please try again)."
|
169 |
msgstr "ERRO: Verificação de Segurança falhou (talvez pelo tempo limite ter sido atingido - por favor, tente novamente)."
|
170 |
|
|
|
171 |
#: functions/save.php:176
|
172 |
-
#@ cpt_lang
|
173 |
msgid "ERROR: Submitted data are not complete."
|
174 |
-
msgstr "ERRO:
|
175 |
|
|
|
176 |
#: functions/save.php:184
|
177 |
-
#@ cpt_lang
|
178 |
msgid "A cropping with this dimensions on these Image ist not possible."
|
179 |
-
msgstr "Um corte com estas dimensões sobre esta
|
180 |
|
|
|
181 |
#: functions/save.php:195
|
182 |
-
#@ cpt_lang
|
183 |
msgid "ERROR: Can`t find original Image in Database!"
|
184 |
msgstr "ERRO: Não é possível localizar a imagem original no banco de dados!"
|
185 |
|
|
|
186 |
#: functions/save.php:198
|
187 |
-
#@ cpt_lang
|
188 |
msgid "ERROR: Can`t find original Imagefile!"
|
189 |
msgstr "ERRO: Não é possível encontrar arquivo de imagem original!"
|
190 |
|
|
|
191 |
#: functions/save.php:201
|
192 |
-
#@ cpt_lang
|
193 |
msgid "ERROR: Can`t find original Image-Metadata!"
|
194 |
-
msgstr "ERRO: Não é possível encontrar imagem original
|
195 |
|
|
|
196 |
#: functions/settings.php:16
|
197 |
-
|
198 |
msgid "Settings"
|
199 |
msgstr "Configurações"
|
200 |
|
|
|
201 |
#: functions/settings.php:23
|
202 |
-
#@ cpt_lang
|
203 |
msgid "Crop Post Thumbnail Page"
|
204 |
msgstr "Cortar miniaturas na página do post"
|
205 |
|
206 |
-
|
207 |
-
#@ cpt_lang
|
208 |
-
msgid "Crop Thumbnails"
|
209 |
-
msgstr "Cortar miniaturas"
|
210 |
-
|
211 |
-
#: functions/settings.php:30
|
212 |
-
#@ cpt_lang
|
213 |
-
msgid "Crop Thumbnails - Settings"
|
214 |
-
msgstr "Cortar miniaturas - Configurações"
|
215 |
-
|
216 |
#: functions/settings.php:35
|
217 |
-
#@ cpt_lang
|
218 |
msgid "Save Changes"
|
219 |
-
msgstr "Salvar
|
220 |
|
|
|
221 |
#: functions/settings.php:39
|
222 |
-
#@ cpt_lang
|
223 |
msgid "Support the plugin-author"
|
224 |
msgstr "Apoiar o autor do plugin"
|
225 |
|
|
|
226 |
#: functions/settings.php:40
|
227 |
-
#@ cpt_lang
|
228 |
msgid "You can support the plugin-author <br />(and let him know you love this plugin) <br />by donating via Paypal. Thanks a lot!"
|
229 |
msgstr "Você pode apoiar o autor do plugin <br />(e deixá-lo saber que você ama este plugin)<br /> doando via Paypal. Muito obrigado!"
|
230 |
|
|
|
231 |
#: functions/settings.php:60
|
232 |
-
#@ cpt_lang
|
233 |
msgid "Sizes and Posttypes"
|
234 |
msgstr "Tamanhos e Tipos de Post"
|
235 |
|
|
|
236 |
#: functions/settings.php:61
|
237 |
-
#@ cpt_lang
|
238 |
msgid "Choose the image-sizes you want to hide. Choose a post-type to prevent any use of the plugin for these entries."
|
239 |
msgstr "Escolha os tamanhos de imagem que você deseja esconder. Escolha um tipo de post para evitar qualquer uso do plugin para essas entradas."
|
240 |
|
|
|
241 |
#: functions/settings.php:66
|
242 |
-
#@ cpt_lang
|
243 |
msgid "Crop-Thumbnails is created to make cropping easy for the user. Often times the user only need to crop one, in dependence of the post-type. But the system will create also all other sizes. So, here you can select for what post-type what sizes should be visible in the plugin interface."
|
244 |
msgstr "Crop-Thumbnails é criado para fazer recorte fácil para o usuário. Muitas vezes o utilizador necessita somente de um recorte, pois depende dele em seu post. Mas o sistema irá criar também todos os outros tamanhos. Então, aqui você pode selecionar para que as miniaturas de seu post sejam visíveis na interface do plugin."
|
245 |
|
|
|
246 |
#: functions/settings.php:67
|
247 |
-
#@ cpt_lang
|
248 |
msgid "Crop-Thumbnails will only show croped images - sizes with no crop will always be hidden."
|
249 |
msgstr "Crop-Thumbnails só irá mostrar imagens cortadas - tamanhos sem cortes serão sempre escondidos."
|
250 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Crop Thumbnails v0.7.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-12-03 14:36+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-12-04 14:45+0100\n"
|
7 |
+
"Last-Translator: Volkmar Kantor <volkmar.kantor@gmx.de>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"X-Poedit-Language: Portuguese\n"
|
14 |
"X-Poedit-Country: BRAZIL\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;esc_html_e;esc_html__;esc_attr_e;esc_attr__\n"
|
17 |
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Textdomain-Support: yes\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
|
|
20 |
|
21 |
+
# @ default
|
22 |
#: crop-thumbnails.php:35
|
|
|
23 |
msgid "Crop your thumbnails, the easy way."
|
24 |
+
msgstr "Cortando suas miniaturas de uma maneira mais simples"
|
25 |
|
26 |
+
# @ cpt_lang
|
27 |
+
#: functions/editor.php:23
|
28 |
+
#: functions/editor.php:43
|
29 |
msgid "An error happend!"
|
30 |
msgstr "Ocorreu um erro!"
|
31 |
|
32 |
+
#: functions/editor.php:39
|
33 |
+
msgid "No featured Image set for this post until now."
|
34 |
+
msgstr "Sem Imagem Destacada definida para este post até o momento."
|
35 |
+
|
36 |
+
# @ cpt_lang
|
37 |
+
#: functions/editor.php:75
|
38 |
+
#: functions/editor.php:187
|
39 |
msgid "Cropping is disabled for this post-type."
|
40 |
msgstr "O corte está desativado para este tipo de post."
|
41 |
|
42 |
+
# @ cpt_lang
|
43 |
+
#: functions/editor.php:77
|
44 |
msgid "No images in this post yet. You have to upload some via upload dialog."
|
45 |
msgstr "Não há imagens neste post ainda. Você tem que carregar alguma através da caixa de diálogo de upload."
|
46 |
|
47 |
+
# @ cpt_lang
|
48 |
+
#: functions/editor.php:98
|
49 |
msgid "Choose the image you want to crop."
|
50 |
msgstr "Escolha a imagem que você deseja cortar."
|
51 |
|
52 |
+
# @ cpt_lang
|
53 |
+
#: functions/editor.php:104
|
54 |
msgid "Post Thumbnail"
|
55 |
msgstr "Publicar Miniatura"
|
56 |
|
57 |
+
# @ cpt_lang
|
58 |
+
#: functions/editor.php:104
|
59 |
#, php-format
|
|
|
60 |
msgid "Image %d"
|
61 |
msgstr "Imagem %d"
|
62 |
|
63 |
+
# @ cpt_lang
|
64 |
+
#: functions/editor.php:164
|
65 |
msgid "bug - this case shouldnt be happend"
|
66 |
msgstr "bug - isso não devia ter acontececido"
|
67 |
|
68 |
+
# @ cpt_lang
|
69 |
+
#: functions/editor.php:165
|
70 |
msgid "Warning: the original image is to small to be cropped in good quality with this thumbnail-size."
|
71 |
msgstr "Atenção: a imagem original é muito pequena para ser cortada em boa qualidade neste tamanho de miniatura."
|
72 |
|
73 |
+
# @ cpt_lang
|
74 |
+
#: functions/editor.php:166
|
75 |
msgid "First, select one image. Then, click once again."
|
76 |
msgstr "Primeiro, selecione uma imagem. Em seguida, clique novamente."
|
77 |
|
78 |
+
# @ cpt_lang
|
79 |
+
#: functions/editor.php:192
|
80 |
msgid "back to image-list"
|
81 |
msgstr "volte a lista de imagens"
|
82 |
|
83 |
+
# @ cpt_lang
|
84 |
+
#: functions/editor.php:193
|
85 |
msgid "Please wait until the Images are cropped."
|
86 |
msgstr "Por favor, aguarde até que as imagens sejam cortadas."
|
87 |
|
88 |
+
# @ cpt_lang
|
89 |
+
#: functions/editor.php:196
|
90 |
msgid "Raw"
|
91 |
msgstr "Bruta"
|
92 |
|
93 |
+
# @ cpt_lang
|
94 |
+
#: functions/editor.php:196
|
95 |
+
#: functions/editor.php:237
|
96 |
msgid "pixel"
|
97 |
msgstr "pixel"
|
98 |
|
99 |
+
# @ cpt_lang
|
100 |
+
#: functions/editor.php:198
|
101 |
msgid "save crop"
|
102 |
+
msgstr "Cortar e Salvar"
|
103 |
|
104 |
+
# @ cpt_lang
|
105 |
+
#: functions/editor.php:199
|
106 |
msgid "Quick-Instructions"
|
107 |
+
msgstr "Instruções Rápidas"
|
108 |
|
109 |
+
# @ cpt_lang
|
110 |
+
#: functions/editor.php:201
|
111 |
msgid "Step 1: Choose an image from the right."
|
112 |
msgstr "Passo 1: Escolha uma imagem à direita."
|
113 |
|
114 |
+
# @ cpt_lang
|
115 |
+
#: functions/editor.php:202
|
116 |
msgid "Step 2: Use the mouse change the size of the rectangle on the image above."
|
117 |
msgstr "Passo 2: Use o mouse para alterar o tamanho do retângulo na imagem acima."
|
118 |
|
119 |
+
# @ cpt_lang
|
120 |
+
#: functions/editor.php:203
|
121 |
msgid "Step 3: Click on \"save crop\"."
|
122 |
+
msgstr "Passo 3: Clique em \"Cortar e Salvar\"."
|
123 |
|
124 |
+
# @ cpt_lang
|
125 |
+
#: functions/editor.php:208
|
126 |
msgid "select images with same ratio at once"
|
127 |
+
msgstr "Selecionar imagens com mesma proporção de uma só vez"
|
128 |
|
129 |
+
# @ cpt_lang
|
130 |
+
#: functions/editor.php:209
|
131 |
msgid "deselect all"
|
132 |
+
msgstr "Desmarcar Todos"
|
133 |
|
134 |
+
# @ cpt_lang
|
135 |
+
#: functions/editor.php:221
|
136 |
msgid "cropped"
|
137 |
+
msgstr "Cortadas"
|
138 |
|
139 |
+
# @ cpt_lang
|
140 |
+
#: functions/editor.php:231
|
141 |
msgid "Original image to small for good crop-quality!"
|
142 |
msgstr "Imagem original muito pequena para um corte de qualidade!"
|
143 |
|
144 |
+
# @ cpt_lang
|
145 |
+
#: functions/editor.php:237
|
146 |
msgid "Dimensions:"
|
147 |
msgstr "Dimensões:"
|
148 |
|
149 |
+
# @ cpt_lang
|
150 |
+
#: functions/editor.php:238
|
151 |
msgid "Ratio:"
|
152 |
msgstr "Relação:"
|
153 |
|
154 |
+
# @ cpt_lang
|
155 |
+
#: functions/editor.php:421
|
156 |
+
msgid "Crop Thumbnails"
|
157 |
+
msgstr "Cortar Miniaturas"
|
158 |
+
|
159 |
+
#: functions/editor.php:425
|
160 |
+
msgid "Crop Featured Image"
|
161 |
+
msgstr "Cortar Imagem Destacada"
|
162 |
+
|
163 |
+
# @ cpt_lang
|
164 |
+
#: functions/editor.php:439
|
165 |
+
msgid "Crop Thumbnail"
|
166 |
+
msgstr "Cortar Miniatura"
|
167 |
+
|
168 |
+
# @ cpt_lang
|
169 |
#: functions/save.php:95
|
170 |
#, php-format
|
|
|
171 |
msgid "Cant generate filesize \"%s\"."
|
172 |
msgstr "Não é possível gerar o tamanho \"%s\"."
|
173 |
|
174 |
+
# @ cpt_lang
|
175 |
#: functions/save.php:102
|
|
|
176 |
msgid "Cant copy temporary file to media-library."
|
177 |
msgstr "Não é possível copiar arquivo temporário para a biblioteca de mídia."
|
178 |
|
179 |
+
# @ cpt_lang
|
180 |
#: functions/save.php:106
|
|
|
181 |
msgid "Cant delete temporary file."
|
182 |
msgstr "Não é possível excluir arquivo temporário."
|
183 |
|
184 |
+
# @ cpt_lang
|
185 |
#: functions/save.php:172
|
|
|
186 |
msgid "ERROR: Security Check failed (maybe a timeout - please try again)."
|
187 |
msgstr "ERRO: Verificação de Segurança falhou (talvez pelo tempo limite ter sido atingido - por favor, tente novamente)."
|
188 |
|
189 |
+
# @ cpt_lang
|
190 |
#: functions/save.php:176
|
|
|
191 |
msgid "ERROR: Submitted data are not complete."
|
192 |
+
msgstr "ERRO: Dados enviados não estão completos."
|
193 |
|
194 |
+
# @ cpt_lang
|
195 |
#: functions/save.php:184
|
|
|
196 |
msgid "A cropping with this dimensions on these Image ist not possible."
|
197 |
+
msgstr "Um corte com estas dimensões sobre esta imagem não é possível."
|
198 |
|
199 |
+
# @ cpt_lang
|
200 |
#: functions/save.php:195
|
|
|
201 |
msgid "ERROR: Can`t find original Image in Database!"
|
202 |
msgstr "ERRO: Não é possível localizar a imagem original no banco de dados!"
|
203 |
|
204 |
+
# @ cpt_lang
|
205 |
#: functions/save.php:198
|
|
|
206 |
msgid "ERROR: Can`t find original Imagefile!"
|
207 |
msgstr "ERRO: Não é possível encontrar arquivo de imagem original!"
|
208 |
|
209 |
+
# @ cpt_lang
|
210 |
#: functions/save.php:201
|
|
|
211 |
msgid "ERROR: Can`t find original Image-Metadata!"
|
212 |
+
msgstr "ERRO: Não é possível encontrar os metadados da imagem original!"
|
213 |
|
214 |
+
# @ cpt_lang
|
215 |
#: functions/settings.php:16
|
216 |
+
#: functions/settings.php:30
|
217 |
msgid "Settings"
|
218 |
msgstr "Configurações"
|
219 |
|
220 |
+
# @ cpt_lang
|
221 |
#: functions/settings.php:23
|
|
|
222 |
msgid "Crop Post Thumbnail Page"
|
223 |
msgstr "Cortar miniaturas na página do post"
|
224 |
|
225 |
+
# @ cpt_lang
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
#: functions/settings.php:35
|
|
|
227 |
msgid "Save Changes"
|
228 |
+
msgstr "Salvar Mudanças"
|
229 |
|
230 |
+
# @ cpt_lang
|
231 |
#: functions/settings.php:39
|
|
|
232 |
msgid "Support the plugin-author"
|
233 |
msgstr "Apoiar o autor do plugin"
|
234 |
|
235 |
+
# @ cpt_lang
|
236 |
#: functions/settings.php:40
|
|
|
237 |
msgid "You can support the plugin-author <br />(and let him know you love this plugin) <br />by donating via Paypal. Thanks a lot!"
|
238 |
msgstr "Você pode apoiar o autor do plugin <br />(e deixá-lo saber que você ama este plugin)<br /> doando via Paypal. Muito obrigado!"
|
239 |
|
240 |
+
# @ cpt_lang
|
241 |
#: functions/settings.php:60
|
|
|
242 |
msgid "Sizes and Posttypes"
|
243 |
msgstr "Tamanhos e Tipos de Post"
|
244 |
|
245 |
+
# @ cpt_lang
|
246 |
#: functions/settings.php:61
|
|
|
247 |
msgid "Choose the image-sizes you want to hide. Choose a post-type to prevent any use of the plugin for these entries."
|
248 |
msgstr "Escolha os tamanhos de imagem que você deseja esconder. Escolha um tipo de post para evitar qualquer uso do plugin para essas entradas."
|
249 |
|
250 |
+
# @ cpt_lang
|
251 |
#: functions/settings.php:66
|
|
|
252 |
msgid "Crop-Thumbnails is created to make cropping easy for the user. Often times the user only need to crop one, in dependence of the post-type. But the system will create also all other sizes. So, here you can select for what post-type what sizes should be visible in the plugin interface."
|
253 |
msgstr "Crop-Thumbnails é criado para fazer recorte fácil para o usuário. Muitas vezes o utilizador necessita somente de um recorte, pois depende dele em seu post. Mas o sistema irá criar também todos os outros tamanhos. Então, aqui você pode selecionar para que as miniaturas de seu post sejam visíveis na interface do plugin."
|
254 |
|
255 |
+
# @ cpt_lang
|
256 |
#: functions/settings.php:67
|
|
|
257 |
msgid "Crop-Thumbnails will only show croped images - sizes with no crop will always be hidden."
|
258 |
msgstr "Crop-Thumbnails só irá mostrar imagens cortadas - tamanhos sem cortes serão sempre escondidos."
|
259 |
|
readme.txt
CHANGED
@@ -58,6 +58,10 @@ Currently not.
|
|
58 |
5. Choose what image-sizes should be hidden (for what post-types), for better usability.
|
59 |
|
60 |
== Changelog ==
|
|
|
|
|
|
|
|
|
61 |
= 0.7.1 =
|
62 |
* add language: brazilian portuguese (pt_br)
|
63 |
* bug fix: fixes for the upcoming Wordpress 3.5
|
58 |
5. Choose what image-sizes should be hidden (for what post-types), for better usability.
|
59 |
|
60 |
== Changelog ==
|
61 |
+
= 0.7.2 =
|
62 |
+
* bug fix: change the way the link in the featured Image-Box is set
|
63 |
+
* languages: some adjustments
|
64 |
+
|
65 |
= 0.7.1 =
|
66 |
* add language: brazilian portuguese (pt_br)
|
67 |
* bug fix: fixes for the upcoming Wordpress 3.5
|