Version Description
- improve i18n
- change language text domain from 'cpt_lang' to 'crop-thumbnails'
- rename language files to match text domain exactly
- change 'CROP_THUMBS_VERSION' to 'CROP_THUMBNAILS_VERSION'
- correct translations of the plugins name
Download this release
Release Info
Developer | Volkmar Kantor |
Plugin | Crop-Thumbnails |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- crop-thumbnails.php +7 -8
- functions/backendpreparer.php +9 -9
- functions/editor.php +17 -17
- functions/save.php +11 -11
- functions/settings.php +14 -14
- languages/crop-thumbnails-hu_HU.mo +0 -0
- languages/crop-thumbnails-hu_HU.po +285 -0
- languages/crop-thumbnails-it_IT.mo +0 -0
- languages/crop-thumbnails-it_IT.po +302 -0
- languages/crop-thumbnails-nl_NL.mo +0 -0
- languages/crop-thumbnails-nl_NL.po +303 -0
- languages/crop-thumbnails-pt_BR.mo +0 -0
- languages/crop-thumbnails-pt_BR.po +332 -0
- languages/crop-thumbnails-uk.mo +0 -0
- languages/crop-thumbnails-uk.po +275 -0
- readme.txt +43 -25
crop-thumbnails.php
CHANGED
@@ -4,11 +4,10 @@
|
|
4 |
* Plugin URI: https://wordpress.org/extend/plugins/crop-thumbnails/
|
5 |
* Author: Volkmar Kantor
|
6 |
* Author URI: https://www.totalmedial.de
|
7 |
-
*
|
8 |
-
* Version: 1.0.1
|
9 |
* Description: The easy way to adjust your cropped image sizes.
|
10 |
*
|
11 |
-
*
|
12 |
* License: GPL v3
|
13 |
* Copyright 2012 Volkmar Kantor (email : info@totalmedial.de)
|
14 |
|
@@ -27,14 +26,14 @@
|
|
27 |
*/
|
28 |
|
29 |
|
30 |
-
define('
|
31 |
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
load_plugin_textdomain( 'cpt_lang', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
|
36 |
}
|
37 |
-
add_action('
|
|
|
38 |
|
39 |
/**
|
40 |
* returns the WpVersion in as a float
|
4 |
* Plugin URI: https://wordpress.org/extend/plugins/crop-thumbnails/
|
5 |
* Author: Volkmar Kantor
|
6 |
* Author URI: https://www.totalmedial.de
|
7 |
+
* Version: 1.0.2
|
|
|
8 |
* Description: The easy way to adjust your cropped image sizes.
|
9 |
*
|
10 |
+
*
|
11 |
* License: GPL v3
|
12 |
* Copyright 2012 Volkmar Kantor (email : info@totalmedial.de)
|
13 |
|
26 |
*/
|
27 |
|
28 |
|
29 |
+
define('CROP_THUMBNAILS_VERSION','1.0.2');
|
30 |
|
31 |
|
32 |
+
function cptLoadLanguage() {
|
33 |
+
load_plugin_textdomain( 'crop-thumbnails', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
|
|
34 |
}
|
35 |
+
add_action( 'init', 'cptLoadLanguage' );
|
36 |
+
|
37 |
|
38 |
/**
|
39 |
* returns the WpVersion in as a float
|
functions/backendpreparer.php
CHANGED
@@ -28,7 +28,7 @@ class CropPostThumbnailsBackendPreparer {
|
|
28 |
|| $pagenow == 'upload.php') {
|
29 |
|
30 |
wp_enqueue_style('jcrop');
|
31 |
-
wp_enqueue_style('crop-thumbnails-options-style',plugins_url('css/cpt-backend.css',dirname(__FILE__)),array('jcrop'),
|
32 |
|
33 |
}
|
34 |
}
|
@@ -45,8 +45,8 @@ class CropPostThumbnailsBackendPreparer {
|
|
45 |
|| $pagenow == 'upload.php') {
|
46 |
|
47 |
wp_enqueue_script( 'jcrop' );
|
48 |
-
wp_enqueue_script( 'vue', plugins_url('js/app/vendor/vue.min.js',dirname(__FILE__)), array(),
|
49 |
-
wp_enqueue_script( 'cpt_crop_editor', plugins_url('js/app/app.js',dirname(__FILE__)), array('jquery','vue','imagesloaded','json2','jcrop'),
|
50 |
add_action('admin_footer',array($this,'addLinksToAdmin'));
|
51 |
}
|
52 |
}
|
@@ -63,8 +63,8 @@ class CropPostThumbnailsBackendPreparer {
|
|
63 |
|
64 |
if(in_array($post->post_mime_type,$this->allowedMime)) {
|
65 |
$html = '';
|
66 |
-
$html.= '<a class="button cropThumbnailsLink" href="#" data-cropthumbnail=\'{"image_id":'.$post->ID.',"viewmode":"single"}\' title="'.esc_attr__('Crop Featured Image','
|
67 |
-
$html.= '<span class="wp-media-buttons-icon"></span> '.esc_html__('Crop Featured Image','
|
68 |
$html.= '</a>';
|
69 |
|
70 |
$form_fields['cropthumbnails'] = array(
|
@@ -106,8 +106,8 @@ jQuery(document).ready(function($) {
|
|
106 |
|
107 |
var featuredImageLinkButton = '';
|
108 |
featuredImageLinkButton+= '<p class="cropFeaturedImageWrap hidden">';
|
109 |
-
featuredImageLinkButton+= '<a class="button cropThumbnailsLink" href="#" data-cropthumbnail=\'{"image_id":'+ parseInt(wp.media.featuredImage.get()) +',"viewmode":"single","posttype":"<?php echo get_post_type(); ?>"}\' title="<?php esc_attr_e('Crop Featured Image','
|
110 |
-
featuredImageLinkButton+= '<span class="wp-media-buttons-icon"></span> <?php esc_html_e('Crop Featured Image','
|
111 |
featuredImageLinkButton+= '</a>';
|
112 |
baseElem.find('.inside').after( $(featuredImageLinkButton) );
|
113 |
|
@@ -163,8 +163,8 @@ jQuery(document).ready(function($) {
|
|
163 |
last_span.append(' | ');
|
164 |
|
165 |
var buttonContent = '';
|
166 |
-
buttonContent+= '<a class="cropThumbnailsLink" href="#" data-cropthumbnail=\'{"image_id":'+ post_id +',"viewmode":"single"}\' title="<?php esc_attr_e('Crop Featured Image','
|
167 |
-
buttonContent+= '<span class="wp-media-buttons-icon"></span> <?php esc_html_e('Crop Featured Image','
|
168 |
buttonContent+= '</a>';
|
169 |
|
170 |
|
28 |
|| $pagenow == 'upload.php') {
|
29 |
|
30 |
wp_enqueue_style('jcrop');
|
31 |
+
wp_enqueue_style('crop-thumbnails-options-style', plugins_url('css/cpt-backend.css', dirname(__FILE__)), array('jcrop'), CROP_THUMBNAILS_VERSION);
|
32 |
|
33 |
}
|
34 |
}
|
45 |
|| $pagenow == 'upload.php') {
|
46 |
|
47 |
wp_enqueue_script( 'jcrop' );
|
48 |
+
wp_enqueue_script( 'vue', plugins_url('js/app/vendor/vue.min.js', dirname(__FILE__)), array(), CROP_THUMBNAILS_VERSION);
|
49 |
+
wp_enqueue_script( 'cpt_crop_editor', plugins_url('js/app/app.js', dirname(__FILE__)), array('jquery','vue','imagesloaded','json2','jcrop'), CROP_THUMBNAILS_VERSION);
|
50 |
add_action('admin_footer',array($this,'addLinksToAdmin'));
|
51 |
}
|
52 |
}
|
63 |
|
64 |
if(in_array($post->post_mime_type,$this->allowedMime)) {
|
65 |
$html = '';
|
66 |
+
$html.= '<a class="button cropThumbnailsLink" href="#" data-cropthumbnail=\'{"image_id":'.$post->ID.',"viewmode":"single"}\' title="'.esc_attr__('Crop Featured Image','crop-thumbnails').'">';
|
67 |
+
$html.= '<span class="wp-media-buttons-icon"></span> '.esc_html__('Crop Featured Image','crop-thumbnails');
|
68 |
$html.= '</a>';
|
69 |
|
70 |
$form_fields['cropthumbnails'] = array(
|
106 |
|
107 |
var featuredImageLinkButton = '';
|
108 |
featuredImageLinkButton+= '<p class="cropFeaturedImageWrap hidden">';
|
109 |
+
featuredImageLinkButton+= '<a class="button cropThumbnailsLink" href="#" data-cropthumbnail=\'{"image_id":'+ parseInt(wp.media.featuredImage.get()) +',"viewmode":"single","posttype":"<?php echo get_post_type(); ?>"}\' title="<?php esc_attr_e('Crop Featured Image','crop-thumbnails') ?>">';
|
110 |
+
featuredImageLinkButton+= '<span class="wp-media-buttons-icon"></span> <?php esc_html_e('Crop Featured Image','crop-thumbnails'); ?>';
|
111 |
featuredImageLinkButton+= '</a>';
|
112 |
baseElem.find('.inside').after( $(featuredImageLinkButton) );
|
113 |
|
163 |
last_span.append(' | ');
|
164 |
|
165 |
var buttonContent = '';
|
166 |
+
buttonContent+= '<a class="cropThumbnailsLink" href="#" data-cropthumbnail=\'{"image_id":'+ post_id +',"viewmode":"single"}\' title="<?php esc_attr_e('Crop Featured Image','crop-thumbnails') ?>">';
|
167 |
+
buttonContent+= '<span class="wp-media-buttons-icon"></span> <?php esc_html_e('Crop Featured Image','crop-thumbnails'); ?>';
|
168 |
buttonContent+= '</a>';
|
169 |
|
170 |
|
functions/editor.php
CHANGED
@@ -54,23 +54,23 @@ class CropPostThumbnailsEditor {
|
|
54 |
'postTypeFilter' => null,
|
55 |
'imageSizes' => array_values($cptSettings->getImageSizes()),
|
56 |
'lang' => array(
|
57 |
-
'warningOriginalToSmall' => esc_html__('Warning: the original image is too small to be cropped in good quality with this thumbnail size.','
|
58 |
-
'cropDisabled' => esc_html__('Cropping is disabled for this post-type.','
|
59 |
-
'waiting' => esc_html__('Please wait until the images are cropped.','
|
60 |
-
'rawImage' => esc_html__('Raw','
|
61 |
-
'pixel' => esc_html__('pixel','
|
62 |
-
'instructions_header' => esc_html__('Quick Instructions','
|
63 |
-
'instructions_step_1' => esc_html__('Step 1: Choose an image-size from the list.','
|
64 |
-
'instructions_step_2' => esc_html__('Step 2: Change the selection of the image above.','
|
65 |
-
'instructions_step_3' => str_replace('"','"', esc_html__('Step 3: Click on "Save Crop".','
|
66 |
-
'label_crop' => esc_html__('Save Crop','
|
67 |
-
'label_same_ratio' => esc_html__('Crop all images with same ratio at once','
|
68 |
-
'label_deselect_all' => esc_html__('deselect all','
|
69 |
-
'dimensions' => esc_html__('Dimensions:','
|
70 |
-
'ratio' => esc_html__('Ratio:','
|
71 |
-
'cropped' => esc_html__('cropped','
|
72 |
-
'lowResWarning' => esc_html__('Original image size too small for good crop quality!','
|
73 |
-
'message_image_orientation' => esc_html__('This image has an image orientation value in its exif-metadata. Be aware that this may result in rotatated or mirrored images on safari ipad / iphone.','
|
74 |
),
|
75 |
'nonce' => wp_create_nonce($cptSettings->getNonceBase())
|
76 |
);
|
54 |
'postTypeFilter' => null,
|
55 |
'imageSizes' => array_values($cptSettings->getImageSizes()),
|
56 |
'lang' => array(
|
57 |
+
'warningOriginalToSmall' => esc_html__('Warning: the original image is too small to be cropped in good quality with this thumbnail size.','crop-thumbnails'),
|
58 |
+
'cropDisabled' => esc_html__('Cropping is disabled for this post-type.','crop-thumbnails'),
|
59 |
+
'waiting' => esc_html__('Please wait until the images are cropped.','crop-thumbnails'),
|
60 |
+
'rawImage' => esc_html__('Raw','crop-thumbnails'),
|
61 |
+
'pixel' => esc_html__('pixel','crop-thumbnails'),
|
62 |
+
'instructions_header' => esc_html__('Quick Instructions','crop-thumbnails'),
|
63 |
+
'instructions_step_1' => esc_html__('Step 1: Choose an image-size from the list.','crop-thumbnails'),
|
64 |
+
'instructions_step_2' => esc_html__('Step 2: Change the selection of the image above.','crop-thumbnails'),
|
65 |
+
'instructions_step_3' => str_replace('"','"', esc_html__('Step 3: Click on "Save Crop".','crop-thumbnails')),
|
66 |
+
'label_crop' => esc_html__('Save Crop','crop-thumbnails'),
|
67 |
+
'label_same_ratio' => esc_html__('Crop all images with same ratio at once','crop-thumbnails'),
|
68 |
+
'label_deselect_all' => esc_html__('deselect all','crop-thumbnails'),
|
69 |
+
'dimensions' => esc_html__('Dimensions:','crop-thumbnails'),
|
70 |
+
'ratio' => esc_html__('Ratio:','crop-thumbnails'),
|
71 |
+
'cropped' => esc_html__('cropped','crop-thumbnails'),
|
72 |
+
'lowResWarning' => esc_html__('Original image size too small for good crop quality!','crop-thumbnails'),
|
73 |
+
'message_image_orientation' => esc_html__('This image has an image orientation value in its exif-metadata. Be aware that this may result in rotatated or mirrored images on safari ipad / iphone.','crop-thumbnails')
|
74 |
),
|
75 |
'nonce' => wp_create_nonce($cptSettings->getNonceBase())
|
76 |
);
|
functions/save.php
CHANGED
@@ -27,13 +27,13 @@ class CptSaveThumbnail {
|
|
27 |
|
28 |
$sourceImgPath = get_attached_file( $input->sourceImageId );
|
29 |
if(empty($sourceImgPath)) {
|
30 |
-
throw new Exception(esc_html__("ERROR: Can't find original image file!",'
|
31 |
}
|
32 |
|
33 |
|
34 |
$imageMetadata = wp_get_attachment_metadata($input->sourceImageId, true);//get the attachement metadata of the post
|
35 |
if(empty($imageMetadata)) {
|
36 |
-
throw new Exception(esc_html__("ERROR: Can't find original image metadata!",'
|
37 |
}
|
38 |
|
39 |
//from DB
|
@@ -86,7 +86,7 @@ class CptSaveThumbnail {
|
|
86 |
|
87 |
$_error = false;
|
88 |
if(empty($result)) {
|
89 |
-
$_processing_error[$activeImageSize->name][] = sprintf(esc_html__("Can't generate filesize '%s'.",'
|
90 |
$_error = true;
|
91 |
} else {
|
92 |
if(!empty($oldFile_toDelete)) {
|
@@ -94,11 +94,11 @@ class CptSaveThumbnail {
|
|
94 |
@unlink($currentFilePathInfo['dirname'].DIRECTORY_SEPARATOR.$oldFile_toDelete);
|
95 |
}
|
96 |
if(!@copy($result,$currentFilePath)) {
|
97 |
-
$_processing_error[$activeImageSize->name][] = sprintf(esc_html__("Can't copy temporary file to media library.",'
|
98 |
$_error = true;
|
99 |
}
|
100 |
if(!@unlink($result)) {
|
101 |
-
$_processing_error[$activeImageSize->name][] = sprintf(esc_html__("Can't delete temporary file.",'
|
102 |
$_error = true;
|
103 |
}
|
104 |
}
|
@@ -258,23 +258,23 @@ class CptSaveThumbnail {
|
|
258 |
global $cptSettings;
|
259 |
|
260 |
if(!check_ajax_referer($cptSettings->getNonceBase(),'_ajax_nonce',false)) {
|
261 |
-
throw new Exception(esc_html__("ERROR: Security Check failed (maybe a timeout - please try again).",'
|
262 |
}
|
263 |
|
264 |
|
265 |
if(empty($_REQUEST['crop_thumbnails'])) {
|
266 |
-
throw new Exception(esc_html__('ERROR: Submitted data is incomplete.','
|
267 |
}
|
268 |
$input = json_decode(stripcslashes($_REQUEST['crop_thumbnails']));
|
269 |
|
270 |
|
271 |
if(empty($input->selection) || empty($input->sourceImageId) || !isset($input->activeImageSizes)) {
|
272 |
-
throw new Exception(esc_html__('ERROR: Submitted data is incomplete.','
|
273 |
}
|
274 |
|
275 |
|
276 |
if(!isset($input->selection->x) || !isset($input->selection->y) || !isset($input->selection->x2) || !isset($input->selection->y2)) {
|
277 |
-
throw new Exception(esc_html__('ERROR: Submitted data is incomplete.','
|
278 |
}
|
279 |
|
280 |
|
@@ -284,14 +284,14 @@ class CptSaveThumbnail {
|
|
284 |
$input->selection->y2 = intval($input->selection->y2);
|
285 |
|
286 |
if($input->selection->x < 0 || $input->selection->y < 0) {
|
287 |
-
throw new Exception(esc_html__('Cropping to these dimensions on this image is not possible.','
|
288 |
}
|
289 |
|
290 |
|
291 |
$input->sourceImageId = intval($input->sourceImageId);
|
292 |
$_tmp = get_post($input->sourceImageId);//need to be its own var - cause of old php versions
|
293 |
if(empty($_tmp)) {
|
294 |
-
throw new Exception(esc_html__("ERROR: Can't find original image in database!",'
|
295 |
}
|
296 |
|
297 |
return $input;
|
27 |
|
28 |
$sourceImgPath = get_attached_file( $input->sourceImageId );
|
29 |
if(empty($sourceImgPath)) {
|
30 |
+
throw new Exception(esc_html__("ERROR: Can't find original image file!",'crop-thumbnails'), 1);
|
31 |
}
|
32 |
|
33 |
|
34 |
$imageMetadata = wp_get_attachment_metadata($input->sourceImageId, true);//get the attachement metadata of the post
|
35 |
if(empty($imageMetadata)) {
|
36 |
+
throw new Exception(esc_html__("ERROR: Can't find original image metadata!",'crop-thumbnails'), 1);
|
37 |
}
|
38 |
|
39 |
//from DB
|
86 |
|
87 |
$_error = false;
|
88 |
if(empty($result)) {
|
89 |
+
$_processing_error[$activeImageSize->name][] = sprintf(esc_html__("Can't generate filesize '%s'.",'crop-thumbnails'),$activeImageSize->name);
|
90 |
$_error = true;
|
91 |
} else {
|
92 |
if(!empty($oldFile_toDelete)) {
|
94 |
@unlink($currentFilePathInfo['dirname'].DIRECTORY_SEPARATOR.$oldFile_toDelete);
|
95 |
}
|
96 |
if(!@copy($result,$currentFilePath)) {
|
97 |
+
$_processing_error[$activeImageSize->name][] = sprintf(esc_html__("Can't copy temporary file to media library.",'crop-thumbnails'));
|
98 |
$_error = true;
|
99 |
}
|
100 |
if(!@unlink($result)) {
|
101 |
+
$_processing_error[$activeImageSize->name][] = sprintf(esc_html__("Can't delete temporary file.",'crop-thumbnails'));
|
102 |
$_error = true;
|
103 |
}
|
104 |
}
|
258 |
global $cptSettings;
|
259 |
|
260 |
if(!check_ajax_referer($cptSettings->getNonceBase(),'_ajax_nonce',false)) {
|
261 |
+
throw new Exception(esc_html__("ERROR: Security Check failed (maybe a timeout - please try again).",'crop-thumbnails'), 1);
|
262 |
}
|
263 |
|
264 |
|
265 |
if(empty($_REQUEST['crop_thumbnails'])) {
|
266 |
+
throw new Exception(esc_html__('ERROR: Submitted data is incomplete.','crop-thumbnails'), 1);
|
267 |
}
|
268 |
$input = json_decode(stripcslashes($_REQUEST['crop_thumbnails']));
|
269 |
|
270 |
|
271 |
if(empty($input->selection) || empty($input->sourceImageId) || !isset($input->activeImageSizes)) {
|
272 |
+
throw new Exception(esc_html__('ERROR: Submitted data is incomplete.','crop-thumbnails'), 1);
|
273 |
}
|
274 |
|
275 |
|
276 |
if(!isset($input->selection->x) || !isset($input->selection->y) || !isset($input->selection->x2) || !isset($input->selection->y2)) {
|
277 |
+
throw new Exception(esc_html__('ERROR: Submitted data is incomplete.','crop-thumbnails'), 1);
|
278 |
}
|
279 |
|
280 |
|
284 |
$input->selection->y2 = intval($input->selection->y2);
|
285 |
|
286 |
if($input->selection->x < 0 || $input->selection->y < 0) {
|
287 |
+
throw new Exception(esc_html__('Cropping to these dimensions on this image is not possible.','crop-thumbnails'), 1);
|
288 |
}
|
289 |
|
290 |
|
291 |
$input->sourceImageId = intval($input->sourceImageId);
|
292 |
$_tmp = get_post($input->sourceImageId);//need to be its own var - cause of old php versions
|
293 |
if(empty($_tmp)) {
|
294 |
+
throw new Exception(esc_html__("ERROR: Can't find original image in database!",'crop-thumbnails'), 1);
|
295 |
}
|
296 |
|
297 |
return $input;
|
functions/settings.php
CHANGED
@@ -24,33 +24,33 @@ class CropThumbnailsSettings {
|
|
24 |
|
25 |
public function addSettingsLinkToPluginPage($links, $file) {
|
26 |
if ($file === 'crop-thumbnails/crop-thumbnails.php'){
|
27 |
-
$settings_link = '<a href="options-general.php?page=page-cpt" title="">'.esc_html__('Settings','
|
28 |
array_unshift( $links, $settings_link );
|
29 |
}
|
30 |
return $links;
|
31 |
}
|
32 |
|
33 |
public function addOptionsPage() {
|
34 |
-
add_options_page(esc_html__('Crop Post Thumbnail Page','
|
35 |
add_action('admin_init', array($this,'settingsInitialisation'));
|
36 |
}
|
37 |
|
38 |
public function optionsPage() { ?>
|
39 |
<div class="wrap cropThumbnailSettings">
|
40 |
<div id="icon-options-general" class="icon32"><br /></div>
|
41 |
-
<h2>Crop-Thumbnails <?php esc_attr_e('Settings','
|
42 |
<form action="options.php" method="post">
|
43 |
<?php settings_fields( self::$uniqeSettingsId ); ?>
|
44 |
<?php do_settings_sections('page1'); ?>
|
45 |
|
46 |
<div class="<?php echo self::$cssPrefix ?>submit">
|
47 |
-
<input name="Submit" type="submit" value="<?php esc_attr_e('Save Changes','
|
48 |
</div>
|
49 |
</form>
|
50 |
|
51 |
<div class="<?php echo self::$cssPrefix; ?>paypal">
|
52 |
-
<h3><?php esc_html_e('Support the plugin author','
|
53 |
-
<p><?php esc_html_e('You can support the plugin author (and let him know you love this plugin) by donating via Paypal. Thanks a lot!','
|
54 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
55 |
<input type="hidden" name="cmd" value="_donations">
|
56 |
<input type="hidden" name="business" value="volkmar.kantor@gmx.de">
|
@@ -72,24 +72,24 @@ class CropThumbnailsSettings {
|
|
72 |
register_setting( self::$uniqeSettingsId, self::$optionsKey, array($this,'validateSettings') );
|
73 |
|
74 |
$_sectionID = 'choose_sizes_section';
|
75 |
-
add_settings_section($_sectionID, esc_html__('Sizes and Post Types','
|
76 |
-
add_settings_field('sizes', esc_html__('Choose the image size options you want to hide for each post type.','
|
77 |
|
78 |
$_sectionID = 'quick_test';
|
79 |
-
add_settings_section($_sectionID, esc_html__('Plugin Test','
|
80 |
|
81 |
$_sectionID = 'developer';
|
82 |
-
add_settings_section($_sectionID, esc_html__('Developer Settings','
|
83 |
$_tmpID = 'debug_js';
|
84 |
-
add_settings_field($_tmpID, esc_html__('Enable JS-Debug.','
|
85 |
$_tmpID = 'debug_data';
|
86 |
-
add_settings_field($_tmpID, esc_html__('Enable Data-Debug.','
|
87 |
}
|
88 |
|
89 |
public function sectionDescriptionChooseSizes() {?>
|
90 |
<p>
|
91 |
-
<?php esc_html_e('Crop-Thumbnails is designed to make cropping images easy. For some post types, not all crop sizes are needed, but the plugin will automatically create all the crop sizes. Here you can select which crop sizes are available in the cropping interface for each post type..','
|
92 |
-
<br /><strong><?php esc_html_e('Crop-Thumbnails will only show cropped images. Sizes with no crop will always be hidden.','
|
93 |
</p>
|
94 |
<?php
|
95 |
}
|
24 |
|
25 |
public function addSettingsLinkToPluginPage($links, $file) {
|
26 |
if ($file === 'crop-thumbnails/crop-thumbnails.php'){
|
27 |
+
$settings_link = '<a href="options-general.php?page=page-cpt" title="">'.esc_html__('Settings','crop-thumbnails').'</a>';
|
28 |
array_unshift( $links, $settings_link );
|
29 |
}
|
30 |
return $links;
|
31 |
}
|
32 |
|
33 |
public function addOptionsPage() {
|
34 |
+
add_options_page(esc_html__('Crop Post Thumbnail Page','crop-thumbnails'), 'Crop-Thumbnails', 'manage_options', 'page-cpt', array($this,'optionsPage'));
|
35 |
add_action('admin_init', array($this,'settingsInitialisation'));
|
36 |
}
|
37 |
|
38 |
public function optionsPage() { ?>
|
39 |
<div class="wrap cropThumbnailSettings">
|
40 |
<div id="icon-options-general" class="icon32"><br /></div>
|
41 |
+
<h2>Crop-Thumbnails <?php esc_attr_e('Settings','crop-thumbnails'); ?></h2>
|
42 |
<form action="options.php" method="post">
|
43 |
<?php settings_fields( self::$uniqeSettingsId ); ?>
|
44 |
<?php do_settings_sections('page1'); ?>
|
45 |
|
46 |
<div class="<?php echo self::$cssPrefix ?>submit">
|
47 |
+
<input name="Submit" type="submit" value="<?php esc_attr_e('Save Changes','crop-thumbnails'); ?>" class="button-primary" />
|
48 |
</div>
|
49 |
</form>
|
50 |
|
51 |
<div class="<?php echo self::$cssPrefix; ?>paypal">
|
52 |
+
<h3><?php esc_html_e('Support the plugin author','crop-thumbnails') ?></h3>
|
53 |
+
<p><?php esc_html_e('You can support the plugin author (and let him know you love this plugin) by donating via Paypal. Thanks a lot!','crop-thumbnails'); ?></p>
|
54 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
55 |
<input type="hidden" name="cmd" value="_donations">
|
56 |
<input type="hidden" name="business" value="volkmar.kantor@gmx.de">
|
72 |
register_setting( self::$uniqeSettingsId, self::$optionsKey, array($this,'validateSettings') );
|
73 |
|
74 |
$_sectionID = 'choose_sizes_section';
|
75 |
+
add_settings_section($_sectionID, esc_html__('Sizes and Post Types','crop-thumbnails'), array($this,'sectionDescriptionChooseSizes'), 'page1');
|
76 |
+
add_settings_field('sizes', esc_html__('Choose the image size options you want to hide for each post type.','crop-thumbnails'), array($this,'callback_choose_size'), 'page1', $_sectionID);
|
77 |
|
78 |
$_sectionID = 'quick_test';
|
79 |
+
add_settings_section($_sectionID, esc_html__('Plugin Test','crop-thumbnails'), array($this,'sectionDescriptionTest'), 'page1');
|
80 |
|
81 |
$_sectionID = 'developer';
|
82 |
+
add_settings_section($_sectionID, esc_html__('Developer Settings','crop-thumbnails'), array($this,'emptySectionDescription'), 'page1');
|
83 |
$_tmpID = 'debug_js';
|
84 |
+
add_settings_field($_tmpID, esc_html__('Enable JS-Debug.','crop-thumbnails'), array($this,'callback_'.$_tmpID), 'page1', $_sectionID, array( 'label_for' => self::$cssPrefix.$_tmpID ));
|
85 |
$_tmpID = 'debug_data';
|
86 |
+
add_settings_field($_tmpID, esc_html__('Enable Data-Debug.','crop-thumbnails'), array($this,'callback_'.$_tmpID), 'page1', $_sectionID, array( 'label_for' => self::$cssPrefix.$_tmpID ));
|
87 |
}
|
88 |
|
89 |
public function sectionDescriptionChooseSizes() {?>
|
90 |
<p>
|
91 |
+
<?php esc_html_e('Crop-Thumbnails is designed to make cropping images easy. For some post types, not all crop sizes are needed, but the plugin will automatically create all the crop sizes. Here you can select which crop sizes are available in the cropping interface for each post type..','crop-thumbnails') ?>
|
92 |
+
<br /><strong><?php esc_html_e('Crop-Thumbnails will only show cropped images. Sizes with no crop will always be hidden.','crop-thumbnails'); ?></strong>
|
93 |
</p>
|
94 |
<?php
|
95 |
}
|
languages/crop-thumbnails-hu_HU.mo
ADDED
Binary file
|
languages/crop-thumbnails-hu_HU.po
ADDED
@@ -0,0 +1,285 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-11-18 22:26+0100\n"
|
6 |
+
"PO-Revision-Date: 2017-12-12 11:02+0100\n"
|
7 |
+
"Last-Translator: Volkmar Kantor <volkmar.kantor@gmx.de>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: hu_HU\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_attr__;esc_html_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Generator: Poedit 1.7.6\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\n"
|
17 |
+
|
18 |
+
#: ../crop-thumbnails.php:35
|
19 |
+
msgid "Crop your thumbnails, the easy way."
|
20 |
+
msgstr "Tökéletes kisképek, egyszerűen!"
|
21 |
+
|
22 |
+
#: ../functions/backendpreparer.php:84 ../functions/backendpreparer.php:87
|
23 |
+
msgid "Crop Thumbnails"
|
24 |
+
msgstr "Crop Thumbnails"
|
25 |
+
|
26 |
+
#: ../functions/backendpreparer.php:98 ../functions/backendpreparer.php:101
|
27 |
+
msgid "Crop Featured Image"
|
28 |
+
msgstr "Kiemeltkép vágása"
|
29 |
+
|
30 |
+
#: ../functions/backendpreparer.php:127 ../functions/backendpreparer.php:130
|
31 |
+
#: ../functions/backendpreparer.php:252
|
32 |
+
msgid "Crop Thumbnail"
|
33 |
+
msgstr "Kiskép vágása"
|
34 |
+
|
35 |
+
#: ../functions/editor.php:25
|
36 |
+
msgid "You are not allowed to do this."
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: ../functions/editor.php:41
|
40 |
+
msgid "No featured image set for this post until now."
|
41 |
+
msgstr "Ehhez a bejegyzéshez még nincs kiemelt kép beállítva"
|
42 |
+
|
43 |
+
#: ../functions/editor.php:45
|
44 |
+
msgid "An error occurred!"
|
45 |
+
msgstr "Ajaj! Hiba történt."
|
46 |
+
|
47 |
+
#: ../functions/editor.php:78 ../functions/editor.php:204
|
48 |
+
msgid "Cropping is disabled for this post-type."
|
49 |
+
msgstr "Ajaj! Képvágáshoz nincs jogosultságod ebben a bejegyzéstípusban."
|
50 |
+
|
51 |
+
#: ../functions/editor.php:80
|
52 |
+
msgid ""
|
53 |
+
"No images attached to this post yet. Please upload some via the upload "
|
54 |
+
"dialog."
|
55 |
+
msgstr ""
|
56 |
+
"Ehhez a bejegyzéshez nincs még feltöltött kép. Fel kellene tölteni párat."
|
57 |
+
|
58 |
+
#: ../functions/editor.php:101
|
59 |
+
msgid "Choose the image you want to crop."
|
60 |
+
msgstr "Válasz egy képet a vágáshoz."
|
61 |
+
|
62 |
+
#: ../functions/editor.php:107
|
63 |
+
msgid "Post Thumbnail"
|
64 |
+
msgstr "Kiemelt kép"
|
65 |
+
|
66 |
+
#: ../functions/editor.php:107
|
67 |
+
#, php-format
|
68 |
+
msgid "Image %d"
|
69 |
+
msgstr "(?)Kép %d"
|
70 |
+
|
71 |
+
#: ../functions/editor.php:180
|
72 |
+
msgid "Bug--this should not have occurred."
|
73 |
+
msgstr "Program hiba! Ennek elvileg nem kellett volna megtörténnie."
|
74 |
+
|
75 |
+
#: ../functions/editor.php:181
|
76 |
+
msgid ""
|
77 |
+
"Warning: the original image is too small to be cropped in good quality with "
|
78 |
+
"this thumbnail size."
|
79 |
+
msgstr ""
|
80 |
+
"Hiba! Az eredeti kép túl kicsi a minőségvesztés nélküli átméretezéshez."
|
81 |
+
|
82 |
+
#: ../functions/editor.php:182
|
83 |
+
msgid "First, select an image. Then, click once again."
|
84 |
+
msgstr "Válaszd ki a vágandó képet és kattints rá kétszer."
|
85 |
+
|
86 |
+
#: ../functions/editor.php:209
|
87 |
+
msgid "back to image list"
|
88 |
+
msgstr "Vissza a képlistához"
|
89 |
+
|
90 |
+
#: ../functions/editor.php:210
|
91 |
+
msgid "Please wait until the images are cropped."
|
92 |
+
msgstr "Átméretezés... pár pillanat és kész."
|
93 |
+
|
94 |
+
#: ../functions/editor.php:213
|
95 |
+
msgid "Raw"
|
96 |
+
msgstr "(nemtudni)Nyers/Eredeti"
|
97 |
+
|
98 |
+
#: ../functions/editor.php:213 ../functions/editor.php:279
|
99 |
+
msgid "pixel"
|
100 |
+
msgstr "pixel"
|
101 |
+
|
102 |
+
#: ../functions/editor.php:215
|
103 |
+
msgid "Save Crop"
|
104 |
+
msgstr "Vágás kész!"
|
105 |
+
|
106 |
+
#: ../functions/editor.php:216
|
107 |
+
msgid "Quick Instructions"
|
108 |
+
msgstr "Gyorstalpaló"
|
109 |
+
|
110 |
+
#: ../functions/editor.php:218
|
111 |
+
msgid "Step 1: Choose an image from the right."
|
112 |
+
msgstr "1. Lépés: Válaszd ki a képet a jobboldalon."
|
113 |
+
|
114 |
+
#: ../functions/editor.php:219
|
115 |
+
msgid ""
|
116 |
+
"Step 2: Use your mouse to change the size of the rectangle on the image "
|
117 |
+
"above."
|
118 |
+
msgstr ""
|
119 |
+
"2. Lépés: Az egérrel állítsd be a kijelölés méretét és pozícióját a fennti "
|
120 |
+
"képen."
|
121 |
+
|
122 |
+
#: ../functions/editor.php:220
|
123 |
+
msgid "Step 3: Click on \"Save Crop\"."
|
124 |
+
msgstr "3. Lépés: Kattints a \"Vágás kész!\" gombra."
|
125 |
+
|
126 |
+
#: ../functions/editor.php:225
|
127 |
+
msgid "Crop all images with same ratio at once"
|
128 |
+
msgstr "Azonos méretarányú képek kiválasztása"
|
129 |
+
|
130 |
+
#: ../functions/editor.php:226
|
131 |
+
msgid "deselect all"
|
132 |
+
msgstr "Kijelölés törlése"
|
133 |
+
|
134 |
+
#: ../functions/editor.php:262
|
135 |
+
msgid "cropped"
|
136 |
+
msgstr "vágott"
|
137 |
+
|
138 |
+
#: ../functions/editor.php:271
|
139 |
+
msgid "maximum"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: ../functions/editor.php:286
|
143 |
+
msgid "Original image size too small for good crop quality!"
|
144 |
+
msgstr "Az eredeti kép túl kicsi a jó minőségű átméretezéshez!"
|
145 |
+
|
146 |
+
#: ../functions/editor.php:292
|
147 |
+
msgid "Dimensions:"
|
148 |
+
msgstr "Méretek:"
|
149 |
+
|
150 |
+
#: ../functions/editor.php:293
|
151 |
+
msgid "Ratio:"
|
152 |
+
msgstr "Méretarány:"
|
153 |
+
|
154 |
+
#: ../functions/save.php:106
|
155 |
+
#, php-format
|
156 |
+
msgid "Can't generate filesize '%s'."
|
157 |
+
msgstr "Nemtudom legenerálni a fájlméretet: '%s'."
|
158 |
+
|
159 |
+
#: ../functions/save.php:113
|
160 |
+
msgid "Can't copy temporary file to media library."
|
161 |
+
msgstr "Nem tudom átmásolni az ideiglenes fájlt a médiatárba."
|
162 |
+
|
163 |
+
#: ../functions/save.php:117
|
164 |
+
msgid "Can't delete temporary file."
|
165 |
+
msgstr "Nem tudom törölni az ideiglenes fájlt."
|
166 |
+
|
167 |
+
#: ../functions/save.php:205
|
168 |
+
msgid "ERROR: Security Check failed (maybe a timeout - please try again)."
|
169 |
+
msgstr ""
|
170 |
+
"Hiba! A biztonsági ellenőrzés meghiúsult (talán időtúllépés miatt - próbáld "
|
171 |
+
"újra)"
|
172 |
+
|
173 |
+
#: ../functions/save.php:209
|
174 |
+
msgid "ERROR: Submitted data is incomplete."
|
175 |
+
msgstr "Hiba! Az elküldött adatok hiányosak."
|
176 |
+
|
177 |
+
#: ../functions/save.php:217
|
178 |
+
msgid "Cropping to these dimensions on this image is not possible."
|
179 |
+
msgstr "Ajaj! Ezt a képet nem lehet a megadott méretre vágni."
|
180 |
+
|
181 |
+
#: ../functions/save.php:228
|
182 |
+
msgid "ERROR: Can't find original image in database!"
|
183 |
+
msgstr "Hiba! Nem találom az eredeti képet az adatbázisban!"
|
184 |
+
|
185 |
+
#: ../functions/save.php:231
|
186 |
+
msgid "ERROR: Can't find original image file!"
|
187 |
+
msgstr "Hiba! Nem találom az eredeti képet a tárhelyen!"
|
188 |
+
|
189 |
+
#: ../functions/save.php:234
|
190 |
+
msgid "ERROR: Can't find original image metadata!"
|
191 |
+
msgstr "Hiba! Nem találom az eredeti képinformációkat."
|
192 |
+
|
193 |
+
#: ../functions/settings.php:24 ../functions/settings.php:38
|
194 |
+
msgid "Settings"
|
195 |
+
msgstr "Beállítások"
|
196 |
+
|
197 |
+
#: ../functions/settings.php:31
|
198 |
+
msgid "Crop Post Thumbnail Page"
|
199 |
+
msgstr "Kisképvágó oldal"
|
200 |
+
|
201 |
+
#: ../functions/settings.php:44
|
202 |
+
msgid "Save Changes"
|
203 |
+
msgstr "Módosítások mentése"
|
204 |
+
|
205 |
+
#: ../functions/settings.php:49
|
206 |
+
msgid "Support the plugin author"
|
207 |
+
msgstr "Támogasd a bővitmény készítőjét"
|
208 |
+
|
209 |
+
#: ../functions/settings.php:50
|
210 |
+
msgid ""
|
211 |
+
"You can support the plugin author <br />(and let him know you love this "
|
212 |
+
"plugin) <br />by donating via Paypal. Thanks a lot!"
|
213 |
+
msgstr ""
|
214 |
+
"Támogathatod a bővitmény készítőjét <br /> (Így tudatva vele, hogy tetszik "
|
215 |
+
"ez a bővítmény) <br /> azzal, ha adományozol Paypalon. Köszönjük!"
|
216 |
+
|
217 |
+
#: ../functions/settings.php:72
|
218 |
+
msgid "Sizes and Post Types"
|
219 |
+
msgstr "Méretek és bejegyzés típusok"
|
220 |
+
|
221 |
+
#: ../functions/settings.php:73
|
222 |
+
msgid "Choose the image size options you want to hide for each post type."
|
223 |
+
msgstr ""
|
224 |
+
"Válaszd ki a képméreteket amiket nem szerkeszthetnek, vagy letilthatod az "
|
225 |
+
"egész bejegyzés típusra is a képvágást."
|
226 |
+
|
227 |
+
#: ../functions/settings.php:81
|
228 |
+
msgid "Developer Settings"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: ../functions/settings.php:83
|
232 |
+
msgid "Enable JS-Debug."
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: ../functions/settings.php:85
|
236 |
+
msgid "Enable Data-Debug."
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: ../functions/settings.php:90
|
240 |
+
msgid ""
|
241 |
+
"Crop-Thumbnails is designed to make cropping images easy. For some post "
|
242 |
+
"types, not all crop sizes are needed, but the plugin will automatically "
|
243 |
+
"create all the crop sizes. Here you can select which crop sizes are "
|
244 |
+
"available in the cropping interface for each post type.."
|
245 |
+
msgstr ""
|
246 |
+
"A Crop-Thumbnails Plugin azzal a céllal készült, hogy kicsit kibővítse a "
|
247 |
+
"WordPress amúgy remek képkezelőjét. Bár a rendszer a feltöltött képeket "
|
248 |
+
"átméretezi és méretre vágja amiket a magfunkciók és a sablonkészítők "
|
249 |
+
"biztosítottak ám időnként előfordul, hogy nem sikerült túl szerencsésre az "
|
250 |
+
"automatikus vágás. Ezzel a bővítménnyel beállíthatjuk, hogy a felhasználók "
|
251 |
+
"mely méreteken és/ vagy bejegyzési típusoknál használhatják."
|
252 |
+
|
253 |
+
#: ../functions/settings.php:91
|
254 |
+
msgid ""
|
255 |
+
"Crop-Thumbnails will only show cropped images. Sizes with no crop will "
|
256 |
+
"always be hidden."
|
257 |
+
msgstr ""
|
258 |
+
"A Képvágó mindíg a vágott méreteket mutatja. Az eredeti \"nyers\" nyers "
|
259 |
+
"képeket nem."
|
260 |
+
|
261 |
+
#: ../functions/settings.php:149
|
262 |
+
msgid ""
|
263 |
+
"ATTENTION: be aware that you can break things, when you activate this. When "
|
264 |
+
"activated your are able to cut those images to a spezific dimension that are "
|
265 |
+
"not cropped. The name of the image will not change. You should be extra "
|
266 |
+
"carefull when:"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: ../functions/settings.php:151
|
270 |
+
msgid ""
|
271 |
+
"you had inserted the image before on any page or post. (There may be height "
|
272 |
+
"and width stored directly in the page-content.)"
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: ../functions/settings.php:152
|
276 |
+
msgid ""
|
277 |
+
"you use a plugin that expect the original image size. (The original image-"
|
278 |
+
"size is also \"stored\" in the filename.)"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: ../functions/settings.php:154
|
282 |
+
msgid ""
|
283 |
+
"The \"full\" image-size will never be cropped, otherwise you are not able to "
|
284 |
+
"restore any image-size."
|
285 |
+
msgstr ""
|
languages/crop-thumbnails-it_IT.mo
ADDED
Binary file
|
languages/crop-thumbnails-it_IT.po
ADDED
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-11-18 21:58+0100\n"
|
6 |
+
"PO-Revision-Date: 2017-12-12 11:02+0100\n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_attr__;esc_html_e\n"
|
12 |
+
"X-Poedit-Basepath: .\n"
|
13 |
+
"X-Generator: Poedit 1.7.6\n"
|
14 |
+
"Last-Translator: \n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"Language: it\n"
|
17 |
+
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
|
19 |
+
#: ../crop-thumbnails.php:35
|
20 |
+
msgid "Crop your thumbnails, the easy way."
|
21 |
+
msgstr "Ritagliare le miniature, il modo più semplice."
|
22 |
+
|
23 |
+
#: ../functions/backendpreparer.php:84 ../functions/backendpreparer.php:87
|
24 |
+
msgid "Crop Thumbnails"
|
25 |
+
msgstr "Crop Thumbnails"
|
26 |
+
|
27 |
+
#: ../functions/backendpreparer.php:98 ../functions/backendpreparer.php:101
|
28 |
+
msgid "Crop Featured Image"
|
29 |
+
msgstr "Ritaglia immagine di presentazione"
|
30 |
+
|
31 |
+
#: ../functions/backendpreparer.php:127 ../functions/backendpreparer.php:130
|
32 |
+
#: ../functions/backendpreparer.php:252
|
33 |
+
msgid "Crop Thumbnail"
|
34 |
+
msgstr "Ritaglio Thumbnail"
|
35 |
+
|
36 |
+
#: ../functions/editor.php:25
|
37 |
+
msgid "You are not allowed to do this."
|
38 |
+
msgstr "Non è consentito di fare questo."
|
39 |
+
|
40 |
+
#: ../functions/editor.php:41
|
41 |
+
msgid "No featured image set for this post until now."
|
42 |
+
msgstr "Non ci sono immagini di presentazione per questo post."
|
43 |
+
|
44 |
+
#: ../functions/editor.php:45
|
45 |
+
msgid "An error occurred!"
|
46 |
+
msgstr "Si è verificato un errore!"
|
47 |
+
|
48 |
+
#: ../functions/editor.php:78 ../functions/editor.php:204
|
49 |
+
msgid "Cropping is disabled for this post-type."
|
50 |
+
msgstr "Il ritaglio è disattivato per questo tipo di post."
|
51 |
+
|
52 |
+
#: ../functions/editor.php:80
|
53 |
+
msgid ""
|
54 |
+
"No images attached to this post yet. Please upload some via the upload "
|
55 |
+
"dialog."
|
56 |
+
msgstr ""
|
57 |
+
"Non ci sono ancora immagini allegate a questo post. Si prega di caricare un "
|
58 |
+
"po’ tramite la finestra di caricamento."
|
59 |
+
|
60 |
+
#: ../functions/editor.php:101
|
61 |
+
msgid "Choose the image you want to crop."
|
62 |
+
msgstr "Scegli il tipo di immagine che vuoi ritagliare."
|
63 |
+
|
64 |
+
#: ../functions/editor.php:107
|
65 |
+
msgid "Post Thumbnail"
|
66 |
+
msgstr "Post miniatura"
|
67 |
+
|
68 |
+
#: ../functions/editor.php:107
|
69 |
+
#, php-format
|
70 |
+
msgid "Image %d"
|
71 |
+
msgstr "Immagine %d"
|
72 |
+
|
73 |
+
#: ../functions/editor.php:180
|
74 |
+
msgid "Bug--this should not have occurred."
|
75 |
+
msgstr "Bug - questo non sarebbe dovuto succedere!"
|
76 |
+
|
77 |
+
#: ../functions/editor.php:181
|
78 |
+
msgid ""
|
79 |
+
"Warning: the original image is too small to be cropped in good quality with "
|
80 |
+
"this thumbnail size."
|
81 |
+
msgstr ""
|
82 |
+
"Attenzione: l'immagine originale è troppo piccola per essere ritagliata in "
|
83 |
+
"buona qualità con queste dimensioni delle miniature."
|
84 |
+
|
85 |
+
#: ../functions/editor.php:182
|
86 |
+
msgid "First, select an image. Then, click once again."
|
87 |
+
msgstr ""
|
88 |
+
"In primo luogo, selezionare un'immagine. Quindi, fare clic ancora una volta."
|
89 |
+
|
90 |
+
#: ../functions/editor.php:209
|
91 |
+
msgid "back to image list"
|
92 |
+
msgstr "Torna alla lista delle immagini"
|
93 |
+
|
94 |
+
#: ../functions/editor.php:210
|
95 |
+
msgid "Please wait until the images are cropped."
|
96 |
+
msgstr "Per favore, attendi che l’immagine sia ritagliata."
|
97 |
+
|
98 |
+
#: ../functions/editor.php:213
|
99 |
+
msgid "Raw"
|
100 |
+
msgstr "Dimensione originale"
|
101 |
+
|
102 |
+
#: ../functions/editor.php:213 ../functions/editor.php:279
|
103 |
+
msgid "pixel"
|
104 |
+
msgstr "pixel"
|
105 |
+
|
106 |
+
#: ../functions/editor.php:215
|
107 |
+
msgid "Save Crop"
|
108 |
+
msgstr "Salva ritaglio"
|
109 |
+
|
110 |
+
#: ../functions/editor.php:216
|
111 |
+
msgid "Quick Instructions"
|
112 |
+
msgstr "Istruzioni veloci"
|
113 |
+
|
114 |
+
#: ../functions/editor.php:218
|
115 |
+
msgid "Step 1: Choose an image from the right."
|
116 |
+
msgstr "Gradino 1: Scegli un’immagine a destra."
|
117 |
+
|
118 |
+
#: ../functions/editor.php:219
|
119 |
+
msgid ""
|
120 |
+
"Step 2: Use your mouse to change the size of the rectangle on the image "
|
121 |
+
"above."
|
122 |
+
msgstr ""
|
123 |
+
"Gradino 2: Usa il mouse per cambiare la dimensione e posizione dell’immagine "
|
124 |
+
"sopra."
|
125 |
+
|
126 |
+
#: ../functions/editor.php:220
|
127 |
+
msgid "Step 3: Click on \"Save Crop\"."
|
128 |
+
msgstr "Gradino 3: Clicca su “Salva ritaglio”."
|
129 |
+
|
130 |
+
#: ../functions/editor.php:225
|
131 |
+
msgid "Crop all images with same ratio at once"
|
132 |
+
msgstr "Ritaglia tutte le immagini con lo stesso rapporto in una sola volta."
|
133 |
+
|
134 |
+
#: ../functions/editor.php:226
|
135 |
+
msgid "deselect all"
|
136 |
+
msgstr "Deseleziona tutto"
|
137 |
+
|
138 |
+
#: ../functions/editor.php:262
|
139 |
+
msgid "cropped"
|
140 |
+
msgstr "Ritagliata"
|
141 |
+
|
142 |
+
#: ../functions/editor.php:271
|
143 |
+
msgid "maximum"
|
144 |
+
msgstr "Massimo"
|
145 |
+
|
146 |
+
#: ../functions/editor.php:286
|
147 |
+
msgid "Original image size too small for good crop quality!"
|
148 |
+
msgstr ""
|
149 |
+
"L’immagine originale è troppo piccola per un ritaglio di buona qualità! "
|
150 |
+
|
151 |
+
#: ../functions/editor.php:292
|
152 |
+
msgid "Dimensions:"
|
153 |
+
msgstr "Dimensioni:"
|
154 |
+
|
155 |
+
#: ../functions/editor.php:293
|
156 |
+
msgid "Ratio:"
|
157 |
+
msgstr "Rapporto:"
|
158 |
+
|
159 |
+
#: ../functions/save.php:106
|
160 |
+
#, php-format
|
161 |
+
msgid "Can't generate filesize '%s'."
|
162 |
+
msgstr "Impossibile generare file di dimensioni ‘%s’"
|
163 |
+
|
164 |
+
#: ../functions/save.php:113
|
165 |
+
msgid "Can't copy temporary file to media library."
|
166 |
+
msgstr ""
|
167 |
+
"Non è possibile copiare il file temporaneo per la libreria multimediale."
|
168 |
+
|
169 |
+
#: ../functions/save.php:117
|
170 |
+
msgid "Can't delete temporary file."
|
171 |
+
msgstr "Non si può cancellare file temporaneo."
|
172 |
+
|
173 |
+
#: ../functions/save.php:205
|
174 |
+
msgid "ERROR: Security Check failed (maybe a timeout - please try again)."
|
175 |
+
msgstr ""
|
176 |
+
"ERRORE: Il controllo di sicurezza non è riuscito (forse un timeout - "
|
177 |
+
"riprova)."
|
178 |
+
|
179 |
+
#: ../functions/save.php:209
|
180 |
+
msgid "ERROR: Submitted data is incomplete."
|
181 |
+
msgstr "ERRORE: I dati Inseriti sono incompleti."
|
182 |
+
|
183 |
+
#: ../functions/save.php:217
|
184 |
+
msgid "Cropping to these dimensions on this image is not possible."
|
185 |
+
msgstr "Il ritaglio di queste dimensioni su questa immagine non è possibile."
|
186 |
+
|
187 |
+
#: ../functions/save.php:228
|
188 |
+
msgid "ERROR: Can't find original image in database!"
|
189 |
+
msgstr "ERRORE: Non si trova l’immagine originale nel database!"
|
190 |
+
|
191 |
+
#: ../functions/save.php:231
|
192 |
+
msgid "ERROR: Can't find original image file!"
|
193 |
+
msgstr "ERRORE: Non si trova il file dell’immagine originale!"
|
194 |
+
|
195 |
+
#: ../functions/save.php:234
|
196 |
+
msgid "ERROR: Can't find original image metadata!"
|
197 |
+
msgstr "ERRORE: Non si trova il mattata dell’immagine originale!"
|
198 |
+
|
199 |
+
#: ../functions/settings.php:24 ../functions/settings.php:38
|
200 |
+
msgid "Settings"
|
201 |
+
msgstr "Settaggi"
|
202 |
+
|
203 |
+
#: ../functions/settings.php:31
|
204 |
+
msgid "Crop Post Thumbnail Page"
|
205 |
+
msgstr "Ritaglio della miniatura nella pagina del post"
|
206 |
+
|
207 |
+
#: ../functions/settings.php:44
|
208 |
+
msgid "Save Changes"
|
209 |
+
msgstr "Salva i cambiamenti"
|
210 |
+
|
211 |
+
#: ../functions/settings.php:49
|
212 |
+
msgid "Support the plugin author"
|
213 |
+
msgstr "Sostieni l’autore del plugin"
|
214 |
+
|
215 |
+
#: ../functions/settings.php:50
|
216 |
+
msgid ""
|
217 |
+
"You can support the plugin author <br />(and let him know you love this "
|
218 |
+
"plugin) <br />by donating via Paypal. Thanks a lot!"
|
219 |
+
msgstr ""
|
220 |
+
"È possibile sostenere l’autore del plugin <br /> (e fargli sapere che ti "
|
221 |
+
"piace questo plugin) <br /> con una donazione tramite Paypal. Molte grazie!"
|
222 |
+
|
223 |
+
#: ../functions/settings.php:72
|
224 |
+
msgid "Sizes and Post Types"
|
225 |
+
msgstr "Dimensioni e tipi di post"
|
226 |
+
|
227 |
+
#: ../functions/settings.php:73
|
228 |
+
msgid "Choose the image size options you want to hide for each post type."
|
229 |
+
msgstr ""
|
230 |
+
"Scegliere le opzioni di dimensione immagine che si desidera nascondere per "
|
231 |
+
"ogni tipo di post."
|
232 |
+
|
233 |
+
#: ../functions/settings.php:81
|
234 |
+
msgid "Developer Settings"
|
235 |
+
msgstr "Impostazioni sviluppatore"
|
236 |
+
|
237 |
+
#: ../functions/settings.php:83
|
238 |
+
msgid "Enable JS-Debug."
|
239 |
+
msgstr "Abilita JS-debug."
|
240 |
+
|
241 |
+
#: ../functions/settings.php:85
|
242 |
+
msgid "Enable Data-Debug."
|
243 |
+
msgstr "Abilita Data-debug."
|
244 |
+
|
245 |
+
#: ../functions/settings.php:90
|
246 |
+
msgid ""
|
247 |
+
"Crop-Thumbnails is designed to make cropping images easy. For some post "
|
248 |
+
"types, not all crop sizes are needed, but the plugin will automatically "
|
249 |
+
"create all the crop sizes. Here you can select which crop sizes are "
|
250 |
+
"available in the cropping interface for each post type.."
|
251 |
+
msgstr ""
|
252 |
+
"Crop-Miniature è stato progettato ritagliare le immagini in modo facile. Per "
|
253 |
+
"alcuni tipi di immagini i ritagli non sono necessari, ma il plugin creerà "
|
254 |
+
"automaticamente tutti i formati di ritaglio. Qui è possibile selezionare le "
|
255 |
+
"dimensioni delle immagini disponibili nell'interfaccia di ritaglio .."
|
256 |
+
|
257 |
+
#: ../functions/settings.php:91
|
258 |
+
msgid ""
|
259 |
+
"Crop-Thumbnails will only show cropped images. Sizes with no crop will "
|
260 |
+
"always be hidden."
|
261 |
+
msgstr ""
|
262 |
+
"Crop-Thumbnails mostrerà solo le immagini ritagliate. Le misure senza "
|
263 |
+
"ritaglio saranno sempre nascoste."
|
264 |
+
|
265 |
+
#: ../functions/settings.php:149
|
266 |
+
msgid ""
|
267 |
+
"ATTENTION: be aware that you can break things, when you activate this. When "
|
268 |
+
"activated your are able to cut those images to a spezific dimension that are "
|
269 |
+
"not cropped. The name of the image will not change. You should be extra "
|
270 |
+
"carefull when:"
|
271 |
+
msgstr ""
|
272 |
+
"ATTENZIONE: devi essere consapevole che si può rompere qualcosa, quando si "
|
273 |
+
"attiva questo. Una volta attivato tu sei capace di ritagliare quelle "
|
274 |
+
"immagini ad una dimensione specifica . Il nome dell'immagine non cambierà. "
|
275 |
+
"Si dovrebbe avere particolare attenzione quando:"
|
276 |
+
|
277 |
+
#: ../functions/settings.php:151
|
278 |
+
msgid ""
|
279 |
+
"you had inserted the image before on any page or post. (There may be height "
|
280 |
+
"and width stored directly in the page-content.)"
|
281 |
+
msgstr ""
|
282 |
+
"Avevi inserito l'immagine prima su qualsiasi pagina o post. (Ci possono "
|
283 |
+
"essere altezza e la larghezza memorizzati direttamente nel contenuto della "
|
284 |
+
"pagina, es. css.)"
|
285 |
+
|
286 |
+
#: ../functions/settings.php:152
|
287 |
+
msgid ""
|
288 |
+
"you use a plugin that expect the original image size. (The original image-"
|
289 |
+
"size is also \"stored\" in the filename.)"
|
290 |
+
msgstr ""
|
291 |
+
"Stai utilizzando un plugin che rispetta le dimensioni dell’immagine "
|
292 |
+
"originale. (Le dimensioni originali sono anche \"memorizzate” nel nome del "
|
293 |
+
"file.)"
|
294 |
+
|
295 |
+
#: ../functions/settings.php:154
|
296 |
+
msgid ""
|
297 |
+
"The \"full\" image-size will never be cropped, otherwise you are not able to "
|
298 |
+
"restore any image-size."
|
299 |
+
msgstr ""
|
300 |
+
"La dimensioni “piena” dell'immagine naturale non sarà mai ritagliata, "
|
301 |
+
"altrimenti non si è in grado di ripristinare qualsiasi immagine a grandezza "
|
302 |
+
"naturale."
|
languages/crop-thumbnails-nl_NL.mo
ADDED
Binary file
|
languages/crop-thumbnails-nl_NL.po
ADDED
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-11-18 22:26+0100\n"
|
6 |
+
"PO-Revision-Date: 2017-12-12 11:03+0100\n"
|
7 |
+
"Last-Translator: Max Gruson <mgruson@live.nl>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: nl_NL\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_attr__;esc_html_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Generator: Poedit 1.7.6\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\n"
|
17 |
+
|
18 |
+
#: ../crop-thumbnails.php:35
|
19 |
+
msgid "Crop your thumbnails, the easy way."
|
20 |
+
msgstr "Snijd de thumbnails bij op een makkelijke manier."
|
21 |
+
|
22 |
+
#: ../functions/backendpreparer.php:84 ../functions/backendpreparer.php:87
|
23 |
+
msgid "Crop Thumbnails"
|
24 |
+
msgstr "Crop Thumbnails"
|
25 |
+
|
26 |
+
#: ../functions/backendpreparer.php:98 ../functions/backendpreparer.php:101
|
27 |
+
msgid "Crop Featured Image"
|
28 |
+
msgstr "Snijd uitgelichte afbeelding bij"
|
29 |
+
|
30 |
+
#: ../functions/backendpreparer.php:127 ../functions/backendpreparer.php:130
|
31 |
+
#: ../functions/backendpreparer.php:252
|
32 |
+
msgid "Crop Thumbnail"
|
33 |
+
msgstr "Snijd thumbnail bij"
|
34 |
+
|
35 |
+
#: ../functions/editor.php:25
|
36 |
+
msgid "You are not allowed to do this."
|
37 |
+
msgstr "Je hebt geen toestemming dit te doen."
|
38 |
+
|
39 |
+
#: ../functions/editor.php:41
|
40 |
+
msgid "No featured image set for this post until now."
|
41 |
+
msgstr "Er is nog geen Uitgelichte afbeelding ingesteld tot nu toe."
|
42 |
+
|
43 |
+
#: ../functions/editor.php:45
|
44 |
+
msgid "An error occurred!"
|
45 |
+
msgstr "Er heeft een error plaatsgevonden!"
|
46 |
+
|
47 |
+
#: ../functions/editor.php:78 ../functions/editor.php:204
|
48 |
+
msgid "Cropping is disabled for this post-type."
|
49 |
+
msgstr "Bijsnijden is uitgeschakeld voor dit berichttype."
|
50 |
+
|
51 |
+
#: ../functions/editor.php:80
|
52 |
+
msgid ""
|
53 |
+
"No images attached to this post yet. Please upload some via the upload "
|
54 |
+
"dialog."
|
55 |
+
msgstr ""
|
56 |
+
"Er zijn nog geen afbeeldingen in dit bericht. Je kunt afbeeldingen uploaden "
|
57 |
+
"via het upload scherm."
|
58 |
+
|
59 |
+
#: ../functions/editor.php:101
|
60 |
+
msgid "Choose the image you want to crop."
|
61 |
+
msgstr "Kies de afbeelding die je bij wilt snijden."
|
62 |
+
|
63 |
+
#: ../functions/editor.php:107
|
64 |
+
msgid "Post Thumbnail"
|
65 |
+
msgstr "Bericht afbeelding."
|
66 |
+
|
67 |
+
#: ../functions/editor.php:107
|
68 |
+
#, php-format
|
69 |
+
msgid "Image %d"
|
70 |
+
msgstr "Afbeelding %d"
|
71 |
+
|
72 |
+
#: ../functions/editor.php:180
|
73 |
+
msgid "Bug--this should not have occurred."
|
74 |
+
msgstr "Bug - Dit zou niet plaatsgevonden moeten hebben."
|
75 |
+
|
76 |
+
#: ../functions/editor.php:181
|
77 |
+
msgid ""
|
78 |
+
"Warning: the original image is too small to be cropped in good quality with "
|
79 |
+
"this thumbnail size."
|
80 |
+
msgstr ""
|
81 |
+
"Waarschuwing: de originele afbeelding is te klein om met behoud van "
|
82 |
+
"kwaliteit bijgesneden te kunnen worden tot deze grootte."
|
83 |
+
|
84 |
+
#: ../functions/editor.php:182
|
85 |
+
msgid "First, select an image. Then, click once again."
|
86 |
+
msgstr "Selecteer eerst een afbeelding. Klik vervolgens opnieuw."
|
87 |
+
|
88 |
+
#: ../functions/editor.php:209
|
89 |
+
msgid "back to image list"
|
90 |
+
msgstr "Keer terug naar de lijst met afbeeldingen"
|
91 |
+
|
92 |
+
#: ../functions/editor.php:210
|
93 |
+
msgid "Please wait until the images are cropped."
|
94 |
+
msgstr "Wacht a.u.b. tot de afbeeldingen zijn bijgesneden."
|
95 |
+
|
96 |
+
#: ../functions/editor.php:213
|
97 |
+
msgid "Raw"
|
98 |
+
msgstr "Volledig"
|
99 |
+
|
100 |
+
#: ../functions/editor.php:213 ../functions/editor.php:279
|
101 |
+
msgid "pixel"
|
102 |
+
msgstr "pixels"
|
103 |
+
|
104 |
+
#: ../functions/editor.php:215
|
105 |
+
msgid "Save Crop"
|
106 |
+
msgstr "Bijgesneden afbeelding opslaan"
|
107 |
+
|
108 |
+
#: ../functions/editor.php:216
|
109 |
+
msgid "Quick Instructions"
|
110 |
+
msgstr "Korte instructie"
|
111 |
+
|
112 |
+
#: ../functions/editor.php:218
|
113 |
+
msgid "Step 1: Choose an image from the right."
|
114 |
+
msgstr "Stap 1: Kies een afbeelding aan de rechterkant van dit scherm."
|
115 |
+
|
116 |
+
#: ../functions/editor.php:219
|
117 |
+
msgid ""
|
118 |
+
"Step 2: Use your mouse to change the size of the rectangle on the image "
|
119 |
+
"above."
|
120 |
+
msgstr ""
|
121 |
+
"Stap 2: Gebruik de muis om de grootte van de rechthoek in de afbeelding "
|
122 |
+
"hierboven aan te passen."
|
123 |
+
|
124 |
+
#: ../functions/editor.php:220
|
125 |
+
msgid "Step 3: Click on \"Save Crop\"."
|
126 |
+
msgstr "Stap 3: Klik op \"bijgesneden afbeelding opslaan\"."
|
127 |
+
|
128 |
+
#: ../functions/editor.php:225
|
129 |
+
msgid "Crop all images with same ratio at once"
|
130 |
+
msgstr "Selecteer afbeeldingen met eenzelfde aspect-ratio tegelijkertijd"
|
131 |
+
|
132 |
+
#: ../functions/editor.php:226
|
133 |
+
msgid "deselect all"
|
134 |
+
msgstr "Deselecteer alles"
|
135 |
+
|
136 |
+
#: ../functions/editor.php:262
|
137 |
+
msgid "cropped"
|
138 |
+
msgstr "Bijgesneden"
|
139 |
+
|
140 |
+
#: ../functions/editor.php:271
|
141 |
+
msgid "maximum"
|
142 |
+
msgstr "Maximum"
|
143 |
+
|
144 |
+
#: ../functions/editor.php:286
|
145 |
+
msgid "Original image size too small for good crop quality!"
|
146 |
+
msgstr ""
|
147 |
+
"De originele afbeelding is te klein om met goede kwaliteit bij te snijden!"
|
148 |
+
|
149 |
+
#: ../functions/editor.php:292
|
150 |
+
msgid "Dimensions:"
|
151 |
+
msgstr "Grootte:"
|
152 |
+
|
153 |
+
#: ../functions/editor.php:293
|
154 |
+
msgid "Ratio:"
|
155 |
+
msgstr "Aspect-ratio:"
|
156 |
+
|
157 |
+
#: ../functions/save.php:106
|
158 |
+
#, php-format
|
159 |
+
msgid "Can't generate filesize '%s'."
|
160 |
+
msgstr "Kan de bestandsgrootte '%s' niet aanmaken."
|
161 |
+
|
162 |
+
#: ../functions/save.php:113
|
163 |
+
msgid "Can't copy temporary file to media library."
|
164 |
+
msgstr ""
|
165 |
+
"Het tijdelijke bestand kan niet gekopieerd worden naar de mediabibliotheek."
|
166 |
+
|
167 |
+
#: ../functions/save.php:117
|
168 |
+
msgid "Can't delete temporary file."
|
169 |
+
msgstr "Het tijdelijke bestand kan niet verwijderd worden."
|
170 |
+
|
171 |
+
#: ../functions/save.php:205
|
172 |
+
msgid "ERROR: Security Check failed (maybe a timeout - please try again)."
|
173 |
+
msgstr ""
|
174 |
+
"ERROR: Beveiligingscheck is mislukt (dit is mogelijk een timeout - probeer "
|
175 |
+
"het opnieuw)."
|
176 |
+
|
177 |
+
#: ../functions/save.php:209
|
178 |
+
msgid "ERROR: Submitted data is incomplete."
|
179 |
+
msgstr "ERROR: Toegevoegde data is niet volledig!"
|
180 |
+
|
181 |
+
#: ../functions/save.php:217
|
182 |
+
msgid "Cropping to these dimensions on this image is not possible."
|
183 |
+
msgstr ""
|
184 |
+
"Het bijsnijden met deze afmetingen is niet mogelijk bij deze afbeelding."
|
185 |
+
|
186 |
+
#: ../functions/save.php:228
|
187 |
+
msgid "ERROR: Can't find original image in database!"
|
188 |
+
msgstr ""
|
189 |
+
"ERROR: De originele afbeelding kan niet in de database gevonden worden!"
|
190 |
+
|
191 |
+
#: ../functions/save.php:231
|
192 |
+
msgid "ERROR: Can't find original image file!"
|
193 |
+
msgstr "ERROR: De originele afbeelding kan niet gevonden worden!"
|
194 |
+
|
195 |
+
#: ../functions/save.php:234
|
196 |
+
msgid "ERROR: Can't find original image metadata!"
|
197 |
+
msgstr ""
|
198 |
+
"ERROR: De originele metadata van de de afbeelding kunnen niet gevonden "
|
199 |
+
"worden!"
|
200 |
+
|
201 |
+
#: ../functions/settings.php:24 ../functions/settings.php:38
|
202 |
+
msgid "Settings"
|
203 |
+
msgstr "Instellingen"
|
204 |
+
|
205 |
+
#: ../functions/settings.php:31
|
206 |
+
msgid "Crop Post Thumbnail Page"
|
207 |
+
msgstr "Bericht thumbnail bijsnijd pagina"
|
208 |
+
|
209 |
+
#: ../functions/settings.php:44
|
210 |
+
msgid "Save Changes"
|
211 |
+
msgstr "Sla veranderingen op"
|
212 |
+
|
213 |
+
#: ../functions/settings.php:49
|
214 |
+
msgid "Support the plugin author"
|
215 |
+
msgstr "Ondersteun de pluginontwikkelaar"
|
216 |
+
|
217 |
+
#: ../functions/settings.php:50
|
218 |
+
msgid ""
|
219 |
+
"You can support the plugin author <br />(and let him know you love this "
|
220 |
+
"plugin) <br />by donating via Paypal. Thanks a lot!"
|
221 |
+
msgstr ""
|
222 |
+
"Je kunt de pluginontwikkelaar ondersteunen <br /> (en hem laten weten dat je "
|
223 |
+
"deze plugin gaaf vindt) <br /> door te doneren via Paypal. Alvast bedankt!"
|
224 |
+
|
225 |
+
#: ../functions/settings.php:72
|
226 |
+
msgid "Sizes and Post Types"
|
227 |
+
msgstr "Afbeeldingsgroottes en berichttypes"
|
228 |
+
|
229 |
+
#: ../functions/settings.php:73
|
230 |
+
msgid "Choose the image size options you want to hide for each post type."
|
231 |
+
msgstr ""
|
232 |
+
"Kies de afbeeldingsgroottes die je wilt verbergen. Kies een berichttype om "
|
233 |
+
"elk gebruik van de plugin daarbij te voorkomen."
|
234 |
+
|
235 |
+
#: ../functions/settings.php:81
|
236 |
+
msgid "Developer Settings"
|
237 |
+
msgstr "Opties voor ontwikkelaars"
|
238 |
+
|
239 |
+
#: ../functions/settings.php:83
|
240 |
+
msgid "Enable JS-Debug."
|
241 |
+
msgstr "Zet JS-Debug aan."
|
242 |
+
|
243 |
+
#: ../functions/settings.php:85
|
244 |
+
msgid "Enable Data-Debug."
|
245 |
+
msgstr "Zet Data-Debug aan."
|
246 |
+
|
247 |
+
#: ../functions/settings.php:90
|
248 |
+
msgid ""
|
249 |
+
"Crop-Thumbnails is designed to make cropping images easy. For some post "
|
250 |
+
"types, not all crop sizes are needed, but the plugin will automatically "
|
251 |
+
"create all the crop sizes. Here you can select which crop sizes are "
|
252 |
+
"available in the cropping interface for each post type.."
|
253 |
+
msgstr ""
|
254 |
+
"Crop-Thumbnails is gemaakt om het bijsnijden van afbeeldingen makkelijker te "
|
255 |
+
"maken voor de gebruiker. Het komt vaak voor dat de gebruiker slechts naar "
|
256 |
+
"één enkele grootte moet bijsnijden, afhankelijk van het berichttype. Ondanks "
|
257 |
+
"dat maakt WordPress ook andere groottes aan. Daarom kun je hier selecteren "
|
258 |
+
"welke afbeeldingsgrootte bij welk berichttype zichtbaar moet zijn in het "
|
259 |
+
"menu van de plugin."
|
260 |
+
|
261 |
+
#: ../functions/settings.php:91
|
262 |
+
msgid ""
|
263 |
+
"Crop-Thumbnails will only show cropped images. Sizes with no crop will "
|
264 |
+
"always be hidden."
|
265 |
+
msgstr ""
|
266 |
+
"Crop-Thumbnails laat alleen bijgesneden afbeeldingen zien. Afbeeldingen die "
|
267 |
+
"niet bijgesneden zijn zullen altijd verborgen blijven."
|
268 |
+
|
269 |
+
#: ../functions/settings.php:149
|
270 |
+
msgid ""
|
271 |
+
"ATTENTION: be aware that you can break things, when you activate this. When "
|
272 |
+
"activated your are able to cut those images to a spezific dimension that are "
|
273 |
+
"not cropped. The name of the image will not change. You should be extra "
|
274 |
+
"carefull when:"
|
275 |
+
msgstr ""
|
276 |
+
"LET OP: Het is mogelijk dat er dingen misgaan als je deze optie activeert. "
|
277 |
+
"Op het moment dat je dit activeert kun je afbeeldingen bijsnijden tot een "
|
278 |
+
"specifieke grootte die niet oorspronkelijk bijgesneden zijn. De naam van de "
|
279 |
+
"afbeelding zal niet veranderen. Je moet extra voorzichtig zijn als:"
|
280 |
+
|
281 |
+
#: ../functions/settings.php:151
|
282 |
+
msgid ""
|
283 |
+
"you had inserted the image before on any page or post. (There may be height "
|
284 |
+
"and width stored directly in the page-content.)"
|
285 |
+
msgstr ""
|
286 |
+
"Je hebt de afbeelding al eerder toegevoegd in een pagina of bericht. (Er kan "
|
287 |
+
"een hoogte en breedte direct aangegeven zijn in de inhoud.)"
|
288 |
+
|
289 |
+
#: ../functions/settings.php:152
|
290 |
+
msgid ""
|
291 |
+
"you use a plugin that expect the original image size. (The original image-"
|
292 |
+
"size is also \"stored\" in the filename.)"
|
293 |
+
msgstr ""
|
294 |
+
"Je gebruikt een plugin die de originele afbeeldingsgroottes verwacht. (De "
|
295 |
+
"oorspronkelijke afbeeldingsgrootte is ook \"opgeslagen\" in de bestandsnaam.)"
|
296 |
+
|
297 |
+
#: ../functions/settings.php:154
|
298 |
+
msgid ""
|
299 |
+
"The \"full\" image-size will never be cropped, otherwise you are not able to "
|
300 |
+
"restore any image-size."
|
301 |
+
msgstr ""
|
302 |
+
"De \"ful'\" afbeeldingsgrootte zal nooit bijgesneden worden, anders kunnen "
|
303 |
+
"afbeeldingsgroottes niet hersteld worden."
|
languages/crop-thumbnails-pt_BR.mo
ADDED
Binary file
|
languages/crop-thumbnails-pt_BR.po
ADDED
@@ -0,0 +1,332 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Crop Thumbnails v0.7.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-11-18 22:26+0100\n"
|
6 |
+
"PO-Revision-Date: 2017-12-12 11:04+0100\n"
|
7 |
+
"Last-Translator: Volkmar Kantor <volkmar.kantor@gmx.de>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: pt_BR\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;esc_html_e;esc_html__;esc_attr_e;esc_attr__\n"
|
16 |
+
"X-Poedit-Basepath: ../\n"
|
17 |
+
"X-Textdomain-Support: yes\n"
|
18 |
+
"X-Generator: Poedit 1.7.6\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/backendpreparer.php:84 functions/backendpreparer.php:87
|
28 |
+
msgid "Crop Thumbnails"
|
29 |
+
msgstr "Crop Thumbnails"
|
30 |
+
|
31 |
+
#: functions/backendpreparer.php:98 functions/backendpreparer.php:101
|
32 |
+
msgid "Crop Featured Image"
|
33 |
+
msgstr "Cortar Imagem Destacada"
|
34 |
+
|
35 |
+
# @ cpt_lang
|
36 |
+
#: functions/backendpreparer.php:127 functions/backendpreparer.php:130
|
37 |
+
#: functions/backendpreparer.php:252 functions/backendpreparer.php:253
|
38 |
+
msgid "Crop Thumbnail"
|
39 |
+
msgstr "Cortar Miniatura"
|
40 |
+
|
41 |
+
#: functions/editor.php:25
|
42 |
+
msgid "You are not allowed to do this."
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: functions/editor.php:41
|
46 |
+
msgid "No featured image set for this post until now."
|
47 |
+
msgstr "Sem Imagem Destacada definida para este post até o momento."
|
48 |
+
|
49 |
+
# @ cpt_lang
|
50 |
+
#: functions/editor.php:45
|
51 |
+
msgid "An error occurred!"
|
52 |
+
msgstr "Ocorreu um erro!"
|
53 |
+
|
54 |
+
# @ cpt_lang
|
55 |
+
#: functions/editor.php:78 functions/editor.php:204
|
56 |
+
msgid "Cropping is disabled for this post-type."
|
57 |
+
msgstr "O corte está desativado para este tipo de post."
|
58 |
+
|
59 |
+
# @ cpt_lang
|
60 |
+
#: functions/editor.php:80
|
61 |
+
msgid ""
|
62 |
+
"No images attached to this post yet. Please upload some via the upload "
|
63 |
+
"dialog."
|
64 |
+
msgstr ""
|
65 |
+
"Não há imagens neste post ainda. Você tem que carregar alguma através da "
|
66 |
+
"caixa de diálogo de upload."
|
67 |
+
|
68 |
+
# @ cpt_lang
|
69 |
+
#: functions/editor.php:101
|
70 |
+
msgid "Choose the image you want to crop."
|
71 |
+
msgstr "Escolha a imagem que você deseja cortar."
|
72 |
+
|
73 |
+
# @ cpt_lang
|
74 |
+
#: functions/editor.php:107
|
75 |
+
msgid "Post Thumbnail"
|
76 |
+
msgstr "Publicar Miniatura"
|
77 |
+
|
78 |
+
# @ cpt_lang
|
79 |
+
#: functions/editor.php:107
|
80 |
+
#, php-format
|
81 |
+
msgid "Image %d"
|
82 |
+
msgstr "Imagem %d"
|
83 |
+
|
84 |
+
# @ cpt_lang
|
85 |
+
#: functions/editor.php:180
|
86 |
+
msgid "Bug--this should not have occurred."
|
87 |
+
msgstr "bug - isso não devia ter acontececido"
|
88 |
+
|
89 |
+
# @ cpt_lang
|
90 |
+
#: functions/editor.php:181
|
91 |
+
msgid ""
|
92 |
+
"Warning: the original image is too small to be cropped in good quality with "
|
93 |
+
"this thumbnail size."
|
94 |
+
msgstr ""
|
95 |
+
"Atenção: a imagem original é muito pequena para ser cortada em boa qualidade "
|
96 |
+
"neste tamanho de miniatura."
|
97 |
+
|
98 |
+
# @ cpt_lang
|
99 |
+
#: functions/editor.php:182
|
100 |
+
msgid "First, select an image. Then, click once again."
|
101 |
+
msgstr "Primeiro, selecione uma imagem. Em seguida, clique novamente."
|
102 |
+
|
103 |
+
# @ cpt_lang
|
104 |
+
#: functions/editor.php:209
|
105 |
+
msgid "back to image list"
|
106 |
+
msgstr "volte a lista de imagens"
|
107 |
+
|
108 |
+
# @ cpt_lang
|
109 |
+
#: functions/editor.php:210
|
110 |
+
msgid "Please wait until the images are cropped."
|
111 |
+
msgstr "Por favor, aguarde até que as imagens sejam cortadas."
|
112 |
+
|
113 |
+
# @ cpt_lang
|
114 |
+
#: functions/editor.php:213
|
115 |
+
msgid "Raw"
|
116 |
+
msgstr "Bruta"
|
117 |
+
|
118 |
+
# @ cpt_lang
|
119 |
+
#: functions/editor.php:213 functions/editor.php:279
|
120 |
+
msgid "pixel"
|
121 |
+
msgstr "pixel"
|
122 |
+
|
123 |
+
# @ cpt_lang
|
124 |
+
#: functions/editor.php:215
|
125 |
+
msgid "Save Crop"
|
126 |
+
msgstr "Cortar e Salvar"
|
127 |
+
|
128 |
+
# @ cpt_lang
|
129 |
+
#: functions/editor.php:216
|
130 |
+
msgid "Quick Instructions"
|
131 |
+
msgstr "Instruções Rápidas"
|
132 |
+
|
133 |
+
# @ cpt_lang
|
134 |
+
#: functions/editor.php:218
|
135 |
+
msgid "Step 1: Choose an image from the right."
|
136 |
+
msgstr "Passo 1: Escolha uma imagem à direita."
|
137 |
+
|
138 |
+
# @ cpt_lang
|
139 |
+
#: functions/editor.php:219
|
140 |
+
msgid ""
|
141 |
+
"Step 2: Use your mouse to change the size of the rectangle on the image "
|
142 |
+
"above."
|
143 |
+
msgstr ""
|
144 |
+
"Passo 2: Use o mouse para alterar o tamanho do retângulo na imagem acima."
|
145 |
+
|
146 |
+
# @ cpt_lang
|
147 |
+
#: functions/editor.php:220
|
148 |
+
msgid "Step 3: Click on \"Save Crop\"."
|
149 |
+
msgstr "Passo 3: Clique em \"Cortar e Salvar\"."
|
150 |
+
|
151 |
+
# @ cpt_lang
|
152 |
+
#: functions/editor.php:225
|
153 |
+
msgid "Crop all images with same ratio at once"
|
154 |
+
msgstr "Selecionar imagens com mesma proporção de uma só vez"
|
155 |
+
|
156 |
+
# @ cpt_lang
|
157 |
+
#: functions/editor.php:226
|
158 |
+
msgid "deselect all"
|
159 |
+
msgstr "Desmarcar Todos"
|
160 |
+
|
161 |
+
# @ cpt_lang
|
162 |
+
#: functions/editor.php:262
|
163 |
+
msgid "cropped"
|
164 |
+
msgstr "Cortadas"
|
165 |
+
|
166 |
+
#: functions/editor.php:271
|
167 |
+
msgid "maximum"
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
# @ cpt_lang
|
171 |
+
#: functions/editor.php:286
|
172 |
+
msgid "Original image size too small for good crop quality!"
|
173 |
+
msgstr "Imagem original muito pequena para um corte de qualidade!"
|
174 |
+
|
175 |
+
# @ cpt_lang
|
176 |
+
#: functions/editor.php:292
|
177 |
+
msgid "Dimensions:"
|
178 |
+
msgstr "Dimensões:"
|
179 |
+
|
180 |
+
# @ cpt_lang
|
181 |
+
#: functions/editor.php:293
|
182 |
+
msgid "Ratio:"
|
183 |
+
msgstr "Relação:"
|
184 |
+
|
185 |
+
#: functions/save.php:106
|
186 |
+
#, php-format
|
187 |
+
msgid "Can't generate filesize '%s'."
|
188 |
+
msgstr "Não é possível gerar o tamanho '%s'."
|
189 |
+
|
190 |
+
# @ cpt_lang
|
191 |
+
#: functions/save.php:113
|
192 |
+
msgid "Can't copy temporary file to media library."
|
193 |
+
msgstr "Não é possível copiar arquivo temporário para a biblioteca de mídia."
|
194 |
+
|
195 |
+
# @ cpt_lang
|
196 |
+
#: functions/save.php:117
|
197 |
+
msgid "Can't delete temporary file."
|
198 |
+
msgstr "Não é possível excluir arquivo temporário."
|
199 |
+
|
200 |
+
# @ cpt_lang
|
201 |
+
#: functions/save.php:205
|
202 |
+
msgid "ERROR: Security Check failed (maybe a timeout - please try again)."
|
203 |
+
msgstr ""
|
204 |
+
"ERRO: Verificação de Segurança falhou (talvez pelo tempo limite ter sido "
|
205 |
+
"atingido - por favor, tente novamente)."
|
206 |
+
|
207 |
+
# @ cpt_lang
|
208 |
+
#: functions/save.php:209
|
209 |
+
msgid "ERROR: Submitted data is incomplete."
|
210 |
+
msgstr "ERRO: Dados enviados não estão completos."
|
211 |
+
|
212 |
+
# @ cpt_lang
|
213 |
+
#: functions/save.php:217
|
214 |
+
msgid "Cropping to these dimensions on this image is not possible."
|
215 |
+
msgstr "Um corte com estas dimensões sobre esta imagem não é possível."
|
216 |
+
|
217 |
+
# @ cpt_lang
|
218 |
+
#: functions/save.php:228
|
219 |
+
msgid "ERROR: Can't find original image in database!"
|
220 |
+
msgstr "ERRO: Não é possível localizar a imagem original no banco de dados!"
|
221 |
+
|
222 |
+
# @ cpt_lang
|
223 |
+
#: functions/save.php:231
|
224 |
+
msgid "ERROR: Can't find original image file!"
|
225 |
+
msgstr "ERRO: Não é possível encontrar arquivo de imagem original!"
|
226 |
+
|
227 |
+
# @ cpt_lang
|
228 |
+
#: functions/save.php:234
|
229 |
+
msgid "ERROR: Can't find original image metadata!"
|
230 |
+
msgstr "ERRO: Não é possível encontrar os metadados da imagem original!"
|
231 |
+
|
232 |
+
# @ cpt_lang
|
233 |
+
#: functions/settings.php:24 functions/settings.php:38
|
234 |
+
msgid "Settings"
|
235 |
+
msgstr "Configurações"
|
236 |
+
|
237 |
+
# @ cpt_lang
|
238 |
+
#: functions/settings.php:31
|
239 |
+
msgid "Crop Post Thumbnail Page"
|
240 |
+
msgstr "Cortar miniaturas na página do post"
|
241 |
+
|
242 |
+
# @ cpt_lang
|
243 |
+
#: functions/settings.php:44
|
244 |
+
msgid "Save Changes"
|
245 |
+
msgstr "Salvar Mudanças"
|
246 |
+
|
247 |
+
# @ cpt_lang
|
248 |
+
#: functions/settings.php:49
|
249 |
+
msgid "Support the plugin author"
|
250 |
+
msgstr "Apoiar o autor do plugin"
|
251 |
+
|
252 |
+
# @ cpt_lang
|
253 |
+
#: functions/settings.php:50
|
254 |
+
msgid ""
|
255 |
+
"You can support the plugin author <br />(and let him know you love this "
|
256 |
+
"plugin) <br />by donating via Paypal. Thanks a lot!"
|
257 |
+
msgstr ""
|
258 |
+
"Você pode apoiar o autor do plugin <br />(e deixá-lo saber que você ama este "
|
259 |
+
"plugin)<br /> doando via Paypal. Muito obrigado!"
|
260 |
+
|
261 |
+
# @ cpt_lang
|
262 |
+
#: functions/settings.php:72
|
263 |
+
msgid "Sizes and Post Types"
|
264 |
+
msgstr "Tamanhos e Tipos de Post"
|
265 |
+
|
266 |
+
# @ cpt_lang
|
267 |
+
#: functions/settings.php:73
|
268 |
+
msgid "Choose the image size options you want to hide for each post type."
|
269 |
+
msgstr ""
|
270 |
+
"Escolha os tamanhos de imagem que você deseja esconder. Escolha um tipo de "
|
271 |
+
"post para evitar qualquer uso do plugin para essas entradas."
|
272 |
+
|
273 |
+
#: functions/settings.php:81
|
274 |
+
msgid "Developer Settings"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: functions/settings.php:83
|
278 |
+
msgid "Enable JS-Debug."
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: functions/settings.php:85
|
282 |
+
msgid "Enable Data-Debug."
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
# @ cpt_lang
|
286 |
+
#: functions/settings.php:90
|
287 |
+
msgid ""
|
288 |
+
"Crop-Thumbnails is designed to make cropping images easy. For some post "
|
289 |
+
"types, not all crop sizes are needed, but the plugin will automatically "
|
290 |
+
"create all the crop sizes. Here you can select which crop sizes are "
|
291 |
+
"available in the cropping interface for each post type.."
|
292 |
+
msgstr ""
|
293 |
+
"Crop-Thumbnails é criado para fazer recorte fácil para o usuário. Muitas "
|
294 |
+
"vezes o utilizador necessita somente de um recorte, pois depende dele em seu "
|
295 |
+
"post. Mas o sistema irá criar também todos os outros tamanhos. Então, aqui "
|
296 |
+
"você pode selecionar para que as miniaturas de seu post sejam visíveis na "
|
297 |
+
"interface do plugin."
|
298 |
+
|
299 |
+
# @ cpt_lang
|
300 |
+
#: functions/settings.php:91
|
301 |
+
msgid ""
|
302 |
+
"Crop-Thumbnails will only show cropped images. Sizes with no crop will "
|
303 |
+
"always be hidden."
|
304 |
+
msgstr ""
|
305 |
+
"Crop-Thumbnails só irá mostrar imagens cortadas - tamanhos sem cortes serão "
|
306 |
+
"sempre escondidos."
|
307 |
+
|
308 |
+
#: functions/settings.php:149
|
309 |
+
msgid ""
|
310 |
+
"ATTENTION: be aware that you can break things, when you activate this. When "
|
311 |
+
"activated your are able to cut those images to a spezific dimension that are "
|
312 |
+
"not cropped. The name of the image will not change. You should be extra "
|
313 |
+
"carefull when:"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#: functions/settings.php:151
|
317 |
+
msgid ""
|
318 |
+
"you had inserted the image before on any page or post. (There may be height "
|
319 |
+
"and width stored directly in the page-content.)"
|
320 |
+
msgstr ""
|
321 |
+
|
322 |
+
#: functions/settings.php:152
|
323 |
+
msgid ""
|
324 |
+
"you use a plugin that expect the original image size. (The original image-"
|
325 |
+
"size is also \"stored\" in the filename.)"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: functions/settings.php:154
|
329 |
+
msgid ""
|
330 |
+
"The \"full\" image-size will never be cropped, otherwise you are not able to "
|
331 |
+
"restore any image-size."
|
332 |
+
msgstr ""
|
languages/crop-thumbnails-uk.mo
ADDED
Binary file
|
languages/crop-thumbnails-uk.po
ADDED
@@ -0,0 +1,275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Crop-Post-Thumbnails\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-11-18 22:26+0100\n"
|
6 |
+
"PO-Revision-Date: 2017-12-12 11:05+0100\n"
|
7 |
+
"Last-Translator: Jurko Chervony <info@skinik.name>\n"
|
8 |
+
"Language-Team: Skinik <info@skinik.name>\n"
|
9 |
+
"Language: uk\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_attr__;esc_html_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Generator: Poedit 1.7.6\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
|
19 |
+
#: ../crop-thumbnails.php:35
|
20 |
+
msgid "Crop your thumbnails, the easy way."
|
21 |
+
msgstr "Обрізайте мініатюри простим методом."
|
22 |
+
|
23 |
+
#: ../functions/backendpreparer.php:84 ../functions/backendpreparer.php:87
|
24 |
+
msgid "Crop Thumbnails"
|
25 |
+
msgstr "Crop Thumbnails"
|
26 |
+
|
27 |
+
#: ../functions/backendpreparer.php:98 ../functions/backendpreparer.php:101
|
28 |
+
msgid "Crop Featured Image"
|
29 |
+
msgstr "Обрізати головне зображення"
|
30 |
+
|
31 |
+
#: ../functions/backendpreparer.php:127 ../functions/backendpreparer.php:130
|
32 |
+
#: ../functions/backendpreparer.php:252
|
33 |
+
msgid "Crop Thumbnail"
|
34 |
+
msgstr "Обрізати мініатюру"
|
35 |
+
|
36 |
+
#: ../functions/editor.php:25
|
37 |
+
msgid "You are not allowed to do this."
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: ../functions/editor.php:41
|
41 |
+
msgid "No featured image set for this post until now."
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: ../functions/editor.php:45
|
45 |
+
msgid "An error occurred!"
|
46 |
+
msgstr "Виникла помилка!"
|
47 |
+
|
48 |
+
#: ../functions/editor.php:78 ../functions/editor.php:204
|
49 |
+
msgid "Cropping is disabled for this post-type."
|
50 |
+
msgstr "Обрізання картинок вимкнене для цього типу матеріалу."
|
51 |
+
|
52 |
+
#: ../functions/editor.php:80
|
53 |
+
msgid ""
|
54 |
+
"No images attached to this post yet. Please upload some via the upload "
|
55 |
+
"dialog."
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: ../functions/editor.php:101
|
59 |
+
msgid "Choose the image you want to crop."
|
60 |
+
msgstr "Оберіть зображення, яке потрібно обрізати."
|
61 |
+
|
62 |
+
#: ../functions/editor.php:107
|
63 |
+
msgid "Post Thumbnail"
|
64 |
+
msgstr "Головне зображення"
|
65 |
+
|
66 |
+
#: ../functions/editor.php:107
|
67 |
+
#, php-format
|
68 |
+
msgid "Image %d"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: ../functions/editor.php:180
|
72 |
+
msgid "Bug--this should not have occurred."
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: ../functions/editor.php:181
|
76 |
+
msgid ""
|
77 |
+
"Warning: the original image is too small to be cropped in good quality with "
|
78 |
+
"this thumbnail size."
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: ../functions/editor.php:182
|
82 |
+
msgid "First, select an image. Then, click once again."
|
83 |
+
msgstr "Спочатку виберіть справа зображення. Потім натисніть кнопку ще раз."
|
84 |
+
|
85 |
+
#: ../functions/editor.php:209
|
86 |
+
msgid "back to image list"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: ../functions/editor.php:210
|
90 |
+
msgid "Please wait until the images are cropped."
|
91 |
+
msgstr "Будь ласка, зачекайте. Триває обробка зображення."
|
92 |
+
|
93 |
+
#: ../functions/editor.php:213
|
94 |
+
msgid "Raw"
|
95 |
+
msgstr "Оригінал"
|
96 |
+
|
97 |
+
#: ../functions/editor.php:213 ../functions/editor.php:279
|
98 |
+
msgid "pixel"
|
99 |
+
msgstr "пікселів"
|
100 |
+
|
101 |
+
#: ../functions/editor.php:215
|
102 |
+
msgid "Save Crop"
|
103 |
+
msgstr "Обрізати"
|
104 |
+
|
105 |
+
#: ../functions/editor.php:216
|
106 |
+
msgid "Quick Instructions"
|
107 |
+
msgstr "Коротка інструкція"
|
108 |
+
|
109 |
+
#: ../functions/editor.php:218
|
110 |
+
msgid "Step 1: Choose an image from the right."
|
111 |
+
msgstr "1) Оберіть розмір зображення справа."
|
112 |
+
|
113 |
+
#: ../functions/editor.php:219
|
114 |
+
msgid ""
|
115 |
+
"Step 2: Use your mouse to change the size of the rectangle on the image "
|
116 |
+
"above."
|
117 |
+
msgstr "2) Переміщуйте виділену область, яку слід залишити на картинці."
|
118 |
+
|
119 |
+
#: ../functions/editor.php:220
|
120 |
+
msgid "Step 3: Click on \"Save Crop\"."
|
121 |
+
msgstr "3) Натисніть кнопку «Обрізати»."
|
122 |
+
|
123 |
+
#: ../functions/editor.php:225
|
124 |
+
msgid "Crop all images with same ratio at once"
|
125 |
+
msgstr "Одразу виділити область з потрібними пропорціями"
|
126 |
+
|
127 |
+
#: ../functions/editor.php:226
|
128 |
+
msgid "deselect all"
|
129 |
+
msgstr "скасувати виділення"
|
130 |
+
|
131 |
+
#: ../functions/editor.php:262
|
132 |
+
msgid "cropped"
|
133 |
+
msgstr "обрізано"
|
134 |
+
|
135 |
+
#: ../functions/editor.php:271
|
136 |
+
msgid "maximum"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: ../functions/editor.php:286
|
140 |
+
msgid "Original image size too small for good crop quality!"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: ../functions/editor.php:292
|
144 |
+
msgid "Dimensions:"
|
145 |
+
msgstr "Розмір:"
|
146 |
+
|
147 |
+
#: ../functions/editor.php:293
|
148 |
+
msgid "Ratio:"
|
149 |
+
msgstr "Пропорції:"
|
150 |
+
|
151 |
+
#: ../functions/save.php:106
|
152 |
+
#, php-format
|
153 |
+
msgid "Can't generate filesize '%s'."
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: ../functions/save.php:113
|
157 |
+
msgid "Can't copy temporary file to media library."
|
158 |
+
msgstr "Неможливо скопіювати тимчасовий файл до медіа-бібліотеки."
|
159 |
+
|
160 |
+
#: ../functions/save.php:117
|
161 |
+
msgid "Can't delete temporary file."
|
162 |
+
msgstr "Неможливо видалити тимчасовий файл."
|
163 |
+
|
164 |
+
#: ../functions/save.php:205
|
165 |
+
msgid "ERROR: Security Check failed (maybe a timeout - please try again)."
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: ../functions/save.php:209
|
169 |
+
msgid "ERROR: Submitted data is incomplete."
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: ../functions/save.php:217
|
173 |
+
msgid "Cropping to these dimensions on this image is not possible."
|
174 |
+
msgstr "Неможливо обрізати це зображення з такими розмірами."
|
175 |
+
|
176 |
+
#: ../functions/save.php:228
|
177 |
+
msgid "ERROR: Can't find original image in database!"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: ../functions/save.php:231
|
181 |
+
msgid "ERROR: Can't find original image file!"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: ../functions/save.php:234
|
185 |
+
msgid "ERROR: Can't find original image metadata!"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: ../functions/settings.php:24 ../functions/settings.php:38
|
189 |
+
msgid "Settings"
|
190 |
+
msgstr "Налаштування"
|
191 |
+
|
192 |
+
#: ../functions/settings.php:31
|
193 |
+
msgid "Crop Post Thumbnail Page"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: ../functions/settings.php:44
|
197 |
+
msgid "Save Changes"
|
198 |
+
msgstr "Зберегти зміни"
|
199 |
+
|
200 |
+
#: ../functions/settings.php:49
|
201 |
+
msgid "Support the plugin author"
|
202 |
+
msgstr "Підтримайте розробника плаґіну"
|
203 |
+
|
204 |
+
#: ../functions/settings.php:50
|
205 |
+
msgid ""
|
206 |
+
"You can support the plugin author <br />(and let him know you love this "
|
207 |
+
"plugin) <br />by donating via Paypal. Thanks a lot!"
|
208 |
+
msgstr ""
|
209 |
+
"Ви можете підтримати розвиток плаґіну<br /> переказавши кошти автору через "
|
210 |
+
"Paypal."
|
211 |
+
|
212 |
+
#: ../functions/settings.php:72
|
213 |
+
msgid "Sizes and Post Types"
|
214 |
+
msgstr "Розміри і типи матеріалів"
|
215 |
+
|
216 |
+
#: ../functions/settings.php:73
|
217 |
+
msgid "Choose the image size options you want to hide for each post type."
|
218 |
+
msgstr ""
|
219 |
+
"Виберіть розміри картинок, які Ви хочете приховати. Також можете вказати "
|
220 |
+
"типи матеріалів, де слід заборонити обрізання картинок."
|
221 |
+
|
222 |
+
#: ../functions/settings.php:81
|
223 |
+
msgid "Developer Settings"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: ../functions/settings.php:83
|
227 |
+
msgid "Enable JS-Debug."
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: ../functions/settings.php:85
|
231 |
+
msgid "Enable Data-Debug."
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: ../functions/settings.php:90
|
235 |
+
msgid ""
|
236 |
+
"Crop-Thumbnails is designed to make cropping images easy. For some post "
|
237 |
+
"types, not all crop sizes are needed, but the plugin will automatically "
|
238 |
+
"create all the crop sizes. Here you can select which crop sizes are "
|
239 |
+
"available in the cropping interface for each post type.."
|
240 |
+
msgstr ""
|
241 |
+
"Цей плаґін створенно, щоб Ви могли легко і зручно обрізати зображення. Можна "
|
242 |
+
"вказати для яких типів матеріалів дозволити обрізання картинок, а також які "
|
243 |
+
"розміри зображень можна обрізати."
|
244 |
+
|
245 |
+
#: ../functions/settings.php:91
|
246 |
+
msgid ""
|
247 |
+
"Crop-Thumbnails will only show cropped images. Sizes with no crop will "
|
248 |
+
"always be hidden."
|
249 |
+
msgstr "Ті розміри зображень, які Ви не дозволили обрізати — буде приховано."
|
250 |
+
|
251 |
+
#: ../functions/settings.php:149
|
252 |
+
msgid ""
|
253 |
+
"ATTENTION: be aware that you can break things, when you activate this. When "
|
254 |
+
"activated your are able to cut those images to a spezific dimension that are "
|
255 |
+
"not cropped. The name of the image will not change. You should be extra "
|
256 |
+
"carefull when:"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: ../functions/settings.php:151
|
260 |
+
msgid ""
|
261 |
+
"you had inserted the image before on any page or post. (There may be height "
|
262 |
+
"and width stored directly in the page-content.)"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: ../functions/settings.php:152
|
266 |
+
msgid ""
|
267 |
+
"you use a plugin that expect the original image size. (The original image-"
|
268 |
+
"size is also \"stored\" in the filename.)"
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: ../functions/settings.php:154
|
272 |
+
msgid ""
|
273 |
+
"The \"full\" image-size will never be cropped, otherwise you are not able to "
|
274 |
+
"restore any image-size."
|
275 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,9 @@ Contributors: volkmar-kantor
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=volkmar%2ekantor%40gmx%2ede&lc=DE&item_name=Volkmar%20Kantor%20%2d%20totalmedial%2ede&item_number=crop%2dthumbnails&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
4 |
Tags: post-thumbnails, images, media library
|
5 |
Requires at least: 4.6
|
6 |
-
|
7 |
-
|
|
|
8 |
License: GPL v3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -15,12 +16,13 @@ License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
|
15 |
The plugin provides the functionality to adjust the crop region of cropped images. It add buttons to the edit-pages and media-dialog to access a crop-editor.
|
16 |
In the crop-editor you can choose one or more (if they have the same ratio) imagesizes and cut-off the part of the image you want.
|
17 |
|
18 |
-
= How to define cropped image sizes?
|
19 |
|
20 |
The plugin do not add additional image sizes, it only provides functionality to edit the crop area.
|
21 |
|
22 |
-
You can use "add_image_size" inside your functions.php to add additional cropped image sizes (
|
23 |
-
`
|
|
|
24 |
function my_adjust_image_sizes() {
|
25 |
//add an cropped image-size with 800 x 250 Pixels
|
26 |
add_image_size( 'my-custom-image-size', 800, 250, true );
|
@@ -36,12 +38,15 @@ function my_adjust_image_sizes() {
|
|
36 |
|
37 |
//a dynamic cropped image with the same ratio as the original image and 500 pixel width
|
38 |
add_image_size( 'my-dynamic-zero-height-1', 500, 0, true );
|
39 |
-
}
|
|
|
40 |
|
41 |
After you add the image-size any futher image uploads will produce a cropped image "my-custom-image-size" which you can use in post-loop:
|
42 |
-
`
|
|
|
43 |
the_post_thumbnail( 'my-custom-image-size' );
|
44 |
-
}
|
|
|
45 |
|
46 |
== Installation ==
|
47 |
|
@@ -55,15 +60,15 @@ You can use the built in installer and upgrader, or you can install the plugin m
|
|
55 |
== Frequently Asked Questions ==
|
56 |
|
57 |
= What internal rules the plugin use for cropping? =
|
58 |
-
* The plugin will only crop image-sizes where crop is set to "true" (hard crop mode - see: http://codex.wordpress.org/Function_Reference/add_image_size).
|
59 |
-
* If you had set one image dimension in add_image_size() to "0", the plugin will crop it in the ratio of the original image.
|
60 |
-
* If you had set one image dimension in add_image_size() to "9999", the plugin will change the 9999 to the actual size of the current original image.
|
61 |
* You are able to crop all images with the same ratio at once (default) or and any imagesize (and ratio) seperate.
|
62 |
|
63 |
= I've cropped the image, but the new version do not appear in the frontend. =
|
64 |
If you had viewed your image on the site before, your browser has cached the image. You can hard refresh the page by hitting:
|
65 |
-
* "CTRL + F5" (on Windows)
|
66 |
-
* "Apple + R" or "command + R" (on Mac/Apple)
|
67 |
|
68 |
= Is it possible to crop an non-cropped image-size? =
|
69 |
No. The purpose of this plugin is to provide control for the wordpress automatic crop. If you want to crop let's say the full-size image you should
|
@@ -71,24 +76,31 @@ No. The purpose of this plugin is to provide control for the wordpress automatic
|
|
71 |
* a) upload it in a better format in the first place
|
72 |
* OR b) use the Standard Wordpress-Image editor to crop the image.
|
73 |
|
|
|
|
|
|
|
74 |
= I have two image-sizes that have nearly the same ratio. I want to make use of the feature "Crop all images with same ratio at once", but cause the ratios are slightly different they wont be selected together. =
|
75 |
You can add the following filter in the functions.php of your theme to adjust the ratio of one or more specified image-sizes.
|
76 |
CAUTION: use only when the ratios are really close.
|
77 |
-
`
|
|
|
78 |
function my_crop_thumbnails_editor_printratio( $printRatio, $imageSizeName) {
|
79 |
if($imageSizeName === 'strange-image-ratio') {
|
80 |
$printRatio = '4:3';//do override ratio
|
81 |
}
|
82 |
return $printRatio;
|
83 |
-
}
|
|
|
84 |
|
85 |
= I display the cropped image in the backend in an custom meta-box. It does not update after the modal-dialog closed. Is there a way to fix this =
|
86 |
Yeah, there is a way. After the crop-thumbnails-modal closed it triggeres a javascript event on the body element. You could use jQuery to cache-break your cropped thumbnail (in backend-view).
|
87 |
The event called "cropThumbnailModalClosed". The plugin also provides a global function that could be called (only in post-edit-view and mediathek) to do the cache-break.
|
88 |
Example-Code:
|
89 |
-
|
|
|
90 |
CROP_THUMBNAILS_DO_CACHE_BREAK( $('.your-image-selector') );
|
91 |
-
})
|
|
|
92 |
|
93 |
= What languages are supported? =
|
94 |
* English
|
@@ -98,21 +110,27 @@ Example-Code:
|
|
98 |
* Italian (it) - thanks to akteon18
|
99 |
|
100 |
= I want to contribute code. =
|
101 |
-
Fantastic, i published the code on github
|
102 |
|
103 |
If you fork and planning to publish the forked plugin, please contact me.
|
104 |
|
105 |
== Screenshots ==
|
106 |
|
107 |
-
1. You have access to the crop-editor on
|
108 |
-
2.
|
109 |
-
3.
|
110 |
-
4.
|
111 |
-
5.
|
112 |
-
6. Quicktest on settings-page, to check if your system is correct setup.
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
= 1.0.1 =
|
117 |
* fix code that mess with old php versions
|
118 |
|
@@ -127,7 +145,7 @@ If you fork and planning to publish the forked plugin, please contact me.
|
|
127 |
* reviewed dynamic sizes: filenames will no longer be changed
|
128 |
* fix image-metadata polution
|
129 |
* refactoring and cleanup a lot of the code
|
130 |
-
* change from a language constant to 'cpt_lang'
|
131 |
* secure translations
|
132 |
|
133 |
= 0.10.15 =
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=volkmar%2ekantor%40gmx%2ede&lc=DE&item_name=Volkmar%20Kantor%20%2d%20totalmedial%2ede&item_number=crop%2dthumbnails&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
4 |
Tags: post-thumbnails, images, media library
|
5 |
Requires at least: 4.6
|
6 |
+
Requires PHP: 5.3.0
|
7 |
+
Tested up to: 4.9
|
8 |
+
Stable tag: 1.0.2
|
9 |
License: GPL v3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
16 |
The plugin provides the functionality to adjust the crop region of cropped images. It add buttons to the edit-pages and media-dialog to access a crop-editor.
|
17 |
In the crop-editor you can choose one or more (if they have the same ratio) imagesizes and cut-off the part of the image you want.
|
18 |
|
19 |
+
= How to define cropped image sizes? =
|
20 |
|
21 |
The plugin do not add additional image sizes, it only provides functionality to edit the crop area.
|
22 |
|
23 |
+
You can use "`add_image_size`" inside your functions.php to add additional cropped image sizes. [See "add_image_size" documentation](https://developer.wordpress.org/reference/functions/add_image_size/).
|
24 |
+
`
|
25 |
+
add_action( 'after_setup_theme', 'my_adjust_image_sizes' );
|
26 |
function my_adjust_image_sizes() {
|
27 |
//add an cropped image-size with 800 x 250 Pixels
|
28 |
add_image_size( 'my-custom-image-size', 800, 250, true );
|
38 |
|
39 |
//a dynamic cropped image with the same ratio as the original image and 500 pixel width
|
40 |
add_image_size( 'my-dynamic-zero-height-1', 500, 0, true );
|
41 |
+
}
|
42 |
+
`
|
43 |
|
44 |
After you add the image-size any futher image uploads will produce a cropped image "my-custom-image-size" which you can use in post-loop:
|
45 |
+
`
|
46 |
+
if ( has_post_thumbnail() ) {
|
47 |
the_post_thumbnail( 'my-custom-image-size' );
|
48 |
+
}
|
49 |
+
`
|
50 |
|
51 |
== Installation ==
|
52 |
|
60 |
== Frequently Asked Questions ==
|
61 |
|
62 |
= What internal rules the plugin use for cropping? =
|
63 |
+
* The plugin will only crop image-sizes where crop is set to "`true`" (hard crop mode - see: http://codex.wordpress.org/Function_Reference/add_image_size).
|
64 |
+
* If you had set one image dimension in add_image_size() to "`0`", the plugin will crop it in the ratio of the original image.
|
65 |
+
* If you had set one image dimension in add_image_size() to "`9999`", the plugin will change the 9999 to the actual size of the current original image.
|
66 |
* You are able to crop all images with the same ratio at once (default) or and any imagesize (and ratio) seperate.
|
67 |
|
68 |
= I've cropped the image, but the new version do not appear in the frontend. =
|
69 |
If you had viewed your image on the site before, your browser has cached the image. You can hard refresh the page by hitting:
|
70 |
+
* "`CTRL + F5`" (on Windows)
|
71 |
+
* "`Apple + R`" or "`command + R`" (on Mac/Apple)
|
72 |
|
73 |
= Is it possible to crop an non-cropped image-size? =
|
74 |
No. The purpose of this plugin is to provide control for the wordpress automatic crop. If you want to crop let's say the full-size image you should
|
76 |
* a) upload it in a better format in the first place
|
77 |
* OR b) use the Standard Wordpress-Image editor to crop the image.
|
78 |
|
79 |
+
= Where can I get developer information? =
|
80 |
+
A documentation with a list of all actions and filters can be found on the [Github page of the project](https://github.com/vollyimnetz/crop-thumbnails).
|
81 |
+
|
82 |
= I have two image-sizes that have nearly the same ratio. I want to make use of the feature "Crop all images with same ratio at once", but cause the ratios are slightly different they wont be selected together. =
|
83 |
You can add the following filter in the functions.php of your theme to adjust the ratio of one or more specified image-sizes.
|
84 |
CAUTION: use only when the ratios are really close.
|
85 |
+
`
|
86 |
+
add_filter( 'crop_thumbnails_editor_printratio', 'my_crop_thumbnails_editor_printratio', 10, 2);
|
87 |
function my_crop_thumbnails_editor_printratio( $printRatio, $imageSizeName) {
|
88 |
if($imageSizeName === 'strange-image-ratio') {
|
89 |
$printRatio = '4:3';//do override ratio
|
90 |
}
|
91 |
return $printRatio;
|
92 |
+
}
|
93 |
+
`
|
94 |
|
95 |
= I display the cropped image in the backend in an custom meta-box. It does not update after the modal-dialog closed. Is there a way to fix this =
|
96 |
Yeah, there is a way. After the crop-thumbnails-modal closed it triggeres a javascript event on the body element. You could use jQuery to cache-break your cropped thumbnail (in backend-view).
|
97 |
The event called "cropThumbnailModalClosed". The plugin also provides a global function that could be called (only in post-edit-view and mediathek) to do the cache-break.
|
98 |
Example-Code:
|
99 |
+
`
|
100 |
+
$('body').on('cropThumbnailModalClosed',function() {
|
101 |
CROP_THUMBNAILS_DO_CACHE_BREAK( $('.your-image-selector') );
|
102 |
+
});
|
103 |
+
`
|
104 |
|
105 |
= What languages are supported? =
|
106 |
* English
|
110 |
* Italian (it) - thanks to akteon18
|
111 |
|
112 |
= I want to contribute code. =
|
113 |
+
Fantastic, i published the code on [github](https://github.com/vollyimnetz/crop-thumbnails). But be warned, i am carefully evaluate new features.
|
114 |
|
115 |
If you fork and planning to publish the forked plugin, please contact me.
|
116 |
|
117 |
== Screenshots ==
|
118 |
|
119 |
+
1. You have access to the crop-editor on the media-panel by clicking "Crop Featured Image".
|
120 |
+
2. Choose one or more images (with the same ratio).
|
121 |
+
3. The crop-editor is also integrated in the list-view of the media library.
|
122 |
+
4. Choose what image-sizes should be hidden (for what post-types), for better usability.
|
123 |
+
5. Quicktest on settings-page, to check if your system is correct setup.
|
|
|
124 |
|
125 |
== Changelog ==
|
126 |
|
127 |
+
= 1.0.2 =
|
128 |
+
* improve i18n
|
129 |
+
* change language text domain from 'cpt_lang' to 'crop-thumbnails'
|
130 |
+
* rename language files to match text domain exactly
|
131 |
+
* change 'CROP_THUMBS_VERSION' to 'CROP_THUMBNAILS_VERSION'
|
132 |
+
* correct translations of the plugins name
|
133 |
+
|
134 |
= 1.0.1 =
|
135 |
* fix code that mess with old php versions
|
136 |
|
145 |
* reviewed dynamic sizes: filenames will no longer be changed
|
146 |
* fix image-metadata polution
|
147 |
* refactoring and cleanup a lot of the code
|
148 |
+
* change from a language constant to 'cpt_lang'
|
149 |
* secure translations
|
150 |
|
151 |
= 0.10.15 =
|