ImageMagick Engine - Version 1.1

Version Description

  • Working localization
  • Added Swedish translation
Download this release

Release Info

Developer orangelab
Plugin Icon 128x128 ImageMagick Engine
Version 1.1
Comparing to
See all releases

Code changes from version 1.0 to 1.1

imagemagick-engine.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Improve the quality of re-sized images by replacing standard GD library with ImageMagick
6
  Author: Orangelab
7
  Author URI: http://www.orangelab.se
8
- Version: 1.0
9
 
10
  Copyright 2010 Orangelab
11
 
@@ -28,9 +28,6 @@
28
 
29
  /*
30
  * Current todo list:
31
- * - readme.txt
32
- * - screenshots
33
- *
34
  * - check localization, translate strings
35
  *
36
  * Future todo list:
@@ -85,7 +82,7 @@ add_action('plugins_loaded', 'ime_init');
85
  function ime_init() {
86
  $plugin_url = trailingslashit(WP_PLUGIN_URL . '/' . dirname(plugin_basename(__FILE__)));
87
 
88
- load_plugin_textdomain('ime', false, dirname(plugin_basename(__FILE__)) . '/languages');
89
 
90
  if (ime_active()) {
91
  add_filter('intermediate_image_sizes_advanced', 'ime_filter_image_sizes', 99, 1);
@@ -377,7 +374,7 @@ function ime_im_cli_valid() {
377
  return !empty($cmd) && is_executable($cmd);
378
  }
379
 
380
- // Check if path leads to ImageMagic executable
381
  function ime_im_cli_check_command($path) {
382
  $path = realpath($path);
383
  if (!is_dir($path))
@@ -394,7 +391,7 @@ function ime_im_cli_check_command($path) {
394
  return null;
395
  }
396
 
397
- // Try to find a valid ImageMagic executable
398
  function ime_im_cli_find_command() {
399
  $possible_paths = array("/usr/bin", "/usr/local/bin");
400
 
@@ -407,7 +404,7 @@ function ime_im_cli_find_command() {
407
  return null;
408
  }
409
 
410
- // Get ImageMagic executable
411
  function ime_im_cli_command() {
412
  $path = ime_get_option("cli_path");
413
  if (!empty($path))
@@ -561,14 +558,14 @@ function ime_ajax_process_image() {
561
 
562
  /* Add admin/status page */
563
  function ime_admin_menu() {
564
- add_options_page('ImageMagick Engine', 'ImageMagick Engine', 8, 'ime', 'ime_option_page');
565
  }
566
 
567
  /* Add settings to plugin action links */
568
  function ime_filter_plugin_actions($links, $file) {
569
  if($file == plugin_basename(__FILE__)) {
570
  $settings_link = "<a href=\"options-general.php?page=ime\">"
571
- . __('Settings', 'ime') . '</a>';
572
  array_unshift( $links, $settings_link ); // before other links
573
  }
574
 
@@ -595,7 +592,7 @@ function ime_filter_media_meta($content, $post) {
595
  if (!$converted)
596
  return $content;
597
 
598
- $content .= '</p><p><i>' . __('Resized using ImageMagic Engine', 'ime') . '</i>';
599
 
600
  return $content;
601
  }
@@ -624,19 +621,19 @@ function ime_option_display($display = true, $echo = true) {
624
  function ime_show_regenerate_images($sizes) {
625
  global $wpdb;
626
 
627
- echo '<div class="wrap"><h2>' . __('ImageMagick Engine','ime') . '</h2>';
628
 
629
  // Query for the IDs only to reduce memory usage
630
  $images = $wpdb->get_results( "SELECT ID FROM $wpdb->posts WHERE post_type = 'attachment' AND post_mime_type LIKE 'image/%'" );
631
 
632
  // Make sure there are images to process
633
  if ( empty($images) ) {
634
- echo '<p>' . sprintf( __( "Unable to find any images. Are you sure <a href='%s'>some exist</a>?", 'ime' ), admin_url('upload.php?post_mime_type=image') ) . "</p>\n\n</div>";
635
  return;
636
  }
637
 
638
  // Valid results
639
- echo '<p>' . __( "Please be patient while images are regenerated. This can take a long time if you have many images.", 'ime' ) . '</p>';
640
 
641
  // Generate the list of IDs
642
  $ids = array();
@@ -662,7 +659,7 @@ function ime_show_regenerate_images($sizes) {
662
  <div id="regenbar-percent"></div>
663
  </div>
664
 
665
- <div id="regen-message"><div id="regen-message-inner"><?php _e('Working...', 'ime');?></div></div>
666
 
667
  </div>
668
 
@@ -690,7 +687,7 @@ function ime_show_regenerate_images($sizes) {
690
  if ( rt_images.length ) {
691
  RegenImages( rt_images.shift() );
692
  } else {
693
- $("#regen-message-inner").html("<strong><?php echo js_escape(__( 'All done!', 'ime' ) ); ?></strong><br /><?php echo js_escape( sprintf( __( 'Processed %d images.', 'ime' ), $count ) ); ?>");
694
  }
695
 
696
  });
@@ -715,12 +712,14 @@ function ime_option_page() {
715
  check_admin_referer('ime-options');
716
 
717
  global $_wp_additional_image_sizes;
718
- $sizes = array('thumbnail', 'medium', 'large'); // Standard sizes
 
 
719
  if ( isset( $_wp_additional_image_sizes ) && count( $_wp_additional_image_sizes ) )
720
  $sizes = array_merge( $sizes, array_keys( $_wp_additional_image_sizes ) );
721
 
722
  if (isset($_POST['regenerate-images'])) {
723
- ime_show_regenerate_images($sizes);
724
  return;
725
  }
726
 
@@ -739,7 +738,7 @@ function ime_option_page() {
739
  ime_set_option('quality', '');
740
  }
741
  $new_handle_sizes = array();
742
- foreach ($sizes AS $s) {
743
  $f = 'handle-' . $s;
744
  $new_handle_sizes[$s] = isset($_POST[$f]) && !! $_POST[$f];
745
  }
@@ -748,7 +747,7 @@ function ime_option_page() {
748
  ime_store_options();
749
 
750
  echo '<div id="message" class="updated fade"><p>'
751
- . __('Settings updated', 'ime')
752
  . '</p></div>';
753
  }
754
 
@@ -784,15 +783,15 @@ function ime_option_page() {
784
 
785
  if (!$any_valid)
786
  echo '<div id="warning" class="error"><p>'
787
- . sprintf(__('No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions.', 'ime'), '<a href="http://wp.orangelab.se/imagemagick-engine/documentation#installation">', '</a>')
788
  . '</p></div>';
789
  elseif (!$enabled)
790
  echo '<div id="warning" class="error"><p>'
791
- . __('ImageMagick Engine is not enabled.', 'ime')
792
  . '</p></div>';
793
  ?>
794
  <div class="wrap">
795
- <h2><?php _e('ImageMagick Engine Settings','ime'); ?></h2>
796
  <form action="options-general.php?page=ime" method="post" name="update_options">
797
  <?php wp_nonce_field('ime-options'); ?>
798
  <input type="hidden" name="ajax_url" id="ajax_url" value="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php" />
@@ -801,24 +800,24 @@ function ime_option_page() {
801
  <div class="meta-box-sortables ui-sortable">
802
  <div class="postbox">
803
  <div class="handlediv" title="Click to toggle"><br /></div>
804
- <h3 class="hndle"><span><?php _e('Regenerate Images','ime'); ?></span></h3>
805
  <div class="inside">
806
  <div class="submitbox">
807
  <table border=0>
808
  <tr>
809
- <td scope="row" valign="top" style="padding-right: 20px;"><?php _e('Sizes','ime'); ?>:</td>
810
  <td>
811
  <?php
812
- foreach($sizes AS $s) {
813
- echo '<input type="checkbox" name="regen-size-' . $s . '" value="1" ' . ($handle_sizes[$s] ? ' CHECKED ' : '') . ' /> ' . ucfirst($s) . '<br />';
814
  }
815
  ?>
816
  </td>
817
  </tr>
818
  </table>
819
- <p><?php _e('ImageMagick images too','ime'); ?>:
820
  <input type="checkbox" name="force" value="1" /></p>
821
- <p><input class="button-primary" type="submit" name="regenerate-images" value="<?php _e('Regenerate', 'ime'); ?>" /> <?php _e('(this can take a long time)', 'ime'); ?></p>
822
  </div>
823
  </div>
824
  </div>
@@ -828,13 +827,13 @@ function ime_option_page() {
828
  <div id="post-body-content">
829
  <table class="form-table">
830
  <tr>
831
- <th scope="row" valign="top"><?php _e('Enable enhanced image engine','ime'); ?>:</th>
832
  <td>
833
  <input type="checkbox" id="enabled" name="enabled" value="1" <?php echo $enabled ? " CHECKED " : ""; echo $any_valid ? '' : ' disabled=disabled '; ?> />
834
  </td>
835
  </tr>
836
  <tr>
837
- <th scope="row" valign="top"><?php _e('Image engine','ime'); ?>:</th>
838
  <td>
839
  <select name="mode">
840
  <?php
@@ -851,41 +850,41 @@ function ime_option_page() {
851
  </td>
852
  </tr>
853
  <tr>
854
- <th scope="row" valign="top"><?php _e('Imagick PHP module','ime'); ?>:</th>
855
  <td>
856
  <img src="<?php echo ime_option_status_icon($modes_valid['php']); ?>" />
857
- <?php echo $modes_valid['php'] ? __('Imagick PHP module found', 'ime') : __('Imagick PHP module not found', 'ime'); ?>
858
  </td>
859
  </tr>
860
  <tr>
861
- <th scope="row" valign="top"><?php _e('ImageMagick path','ime'); ?>:</th>
862
  <td>
863
  <img id="cli_path_yes" class="cli_path_icon" src="<?php echo ime_option_status_icon(true); ?>" alt="" <?php ime_option_display($cli_path_ok); ?> />
864
  <img id="cli_path_no" class="cli_path_icon" src="<?php echo ime_option_status_icon(false); ?>" alt="<?php _e('Command not found', 'qp-qie'); ?>" <?php ime_option_display(!$cli_path_ok); ?> />
865
  <img id="cli_path_progress" src="<?php echo ime_option_admin_images_url(); ?>wpspin_light.gif" alt="<?php _e('Testing command...', 'qp-qie'); ?>" <?php ime_option_display(false); ?> />
866
  <input id="cli_path" type="text" name="cli_path" size="<?php echo max(30, strlen($cli_path) + 5); ?>" value="<?php echo $cli_path; ?>" />
867
- <input type="button" name="ime_cli_path_test" id="ime_cli_path_test" value="<?php _e('Test path', 'ime'); ?>" />
868
  </td>
869
  </tr>
870
  <tr>
871
- <th scope="row" valign="top"><?php _e('ImageMagick quality','ime'); ?>:</th>
872
  <td>
873
- <input id="quality" type="text" name="quality" size="3" value="<?php echo $quality; ?>" /> <?php _e('(0-100, leave empty for default value, computed dynamically)', 'ime'); ?>
874
  </td>
875
  </tr>
876
  <tr>
877
- <th scope="row" valign="top"><?php _e('Handle sizes','ime'); ?>:</th>
878
  <td>
879
  <?php
880
- foreach($sizes AS $s) {
881
- echo '<input type="checkbox" name="handle-' . $s . '" value="1" ' . ($handle_sizes[$s] ? ' CHECKED ' : '') . ' /> ' . ucfirst($s) . '<br />';
882
  }
883
  ?>
884
  </td>
885
  </tr>
886
  <tr>
887
  <td>
888
- <input class="button-primary" type="submit" name="update_settings" value="<?php _e('Save Changes', 'ime'); ?>" />
889
  </td>
890
  </tr>
891
  </table>
5
  Description: Improve the quality of re-sized images by replacing standard GD library with ImageMagick
6
  Author: Orangelab
7
  Author URI: http://www.orangelab.se
8
+ Version: 1.1
9
 
10
  Copyright 2010 Orangelab
11
 
28
 
29
  /*
30
  * Current todo list:
 
 
 
31
  * - check localization, translate strings
32
  *
33
  * Future todo list:
82
  function ime_init() {
83
  $plugin_url = trailingslashit(WP_PLUGIN_URL . '/' . dirname(plugin_basename(__FILE__)));
84
 
85
+ $r = load_plugin_textdomain('imagemagick-engine', false, dirname(plugin_basename(__FILE__)) . '/languages');
86
 
87
  if (ime_active()) {
88
  add_filter('intermediate_image_sizes_advanced', 'ime_filter_image_sizes', 99, 1);
374
  return !empty($cmd) && is_executable($cmd);
375
  }
376
 
377
+ // Check if path leads to ImageMagick executable
378
  function ime_im_cli_check_command($path) {
379
  $path = realpath($path);
380
  if (!is_dir($path))
391
  return null;
392
  }
393
 
394
+ // Try to find a valid ImageMagick executable
395
  function ime_im_cli_find_command() {
396
  $possible_paths = array("/usr/bin", "/usr/local/bin");
397
 
404
  return null;
405
  }
406
 
407
+ // Get ImageMagick executable
408
  function ime_im_cli_command() {
409
  $path = ime_get_option("cli_path");
410
  if (!empty($path))
558
 
559
  /* Add admin/status page */
560
  function ime_admin_menu() {
561
+ add_options_page('ImageMagick Engine', 'ImageMagick Engine', 8, 'imagemagick-engine', 'ime_option_page');
562
  }
563
 
564
  /* Add settings to plugin action links */
565
  function ime_filter_plugin_actions($links, $file) {
566
  if($file == plugin_basename(__FILE__)) {
567
  $settings_link = "<a href=\"options-general.php?page=ime\">"
568
+ . __('Settings', 'imagemagick-engine') . '</a>';
569
  array_unshift( $links, $settings_link ); // before other links
570
  }
571
 
592
  if (!$converted)
593
  return $content;
594
 
595
+ $content .= '</p><p><i>' . __('Resized using ImageMagick Engine', 'imagemagick-engine') . '</i>';
596
 
597
  return $content;
598
  }
621
  function ime_show_regenerate_images($sizes) {
622
  global $wpdb;
623
 
624
+ echo '<div class="wrap"><h2>' . __('ImageMagick Engine','imagemagick-engine') . '</h2>';
625
 
626
  // Query for the IDs only to reduce memory usage
627
  $images = $wpdb->get_results( "SELECT ID FROM $wpdb->posts WHERE post_type = 'attachment' AND post_mime_type LIKE 'image/%'" );
628
 
629
  // Make sure there are images to process
630
  if ( empty($images) ) {
631
+ echo '<p>' . sprintf( __( "Unable to find any images. Are you sure <a href='%s'>some exist</a>?", 'imagemagick-engine' ), admin_url('upload.php?post_mime_type=image') ) . "</p>\n\n</div>";
632
  return;
633
  }
634
 
635
  // Valid results
636
+ echo '<p>' . __( "Please be patient while images are regenerated. This can take a long time if you have many images.", 'imagemagick-engine' ) . '</p>';
637
 
638
  // Generate the list of IDs
639
  $ids = array();
659
  <div id="regenbar-percent"></div>
660
  </div>
661
 
662
+ <div id="regen-message"><div id="regen-message-inner"><?php _e('Working...', 'imagemagick-engine');?></div></div>
663
 
664
  </div>
665
 
687
  if ( rt_images.length ) {
688
  RegenImages( rt_images.shift() );
689
  } else {
690
+ $("#regen-message-inner").html("<strong><?php echo js_escape(__( 'All done!', 'imagemagick-engine' ) ); ?></strong><br /><?php echo js_escape( sprintf( __( 'Processed %d images.', 'imagemagick-engine' ), $count ) ); ?>");
691
  }
692
 
693
  });
712
  check_admin_referer('ime-options');
713
 
714
  global $_wp_additional_image_sizes;
715
+ $sizes = array('thumbnail' => __('Thumbnail', 'imagemagick-engine')
716
+ , 'medium' => __('Medium', 'imagemagick-engine')
717
+ , 'large' => __('Large', 'imagemagick-engine')); // Standard sizes
718
  if ( isset( $_wp_additional_image_sizes ) && count( $_wp_additional_image_sizes ) )
719
  $sizes = array_merge( $sizes, array_keys( $_wp_additional_image_sizes ) );
720
 
721
  if (isset($_POST['regenerate-images'])) {
722
+ ime_show_regenerate_images(array_keys($sizes));
723
  return;
724
  }
725
 
738
  ime_set_option('quality', '');
739
  }
740
  $new_handle_sizes = array();
741
+ foreach ($sizes AS $s => $name) {
742
  $f = 'handle-' . $s;
743
  $new_handle_sizes[$s] = isset($_POST[$f]) && !! $_POST[$f];
744
  }
747
  ime_store_options();
748
 
749
  echo '<div id="message" class="updated fade"><p>'
750
+ . __('Settings updated', 'imagemagick-engine')
751
  . '</p></div>';
752
  }
753
 
783
 
784
  if (!$any_valid)
785
  echo '<div id="warning" class="error"><p>'
786
+ . sprintf(__('No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions.', 'imagemagick-engine'), '<a href="http://wp.orangelab.se/imagemagick-engine/documentation#installation">', '</a>')
787
  . '</p></div>';
788
  elseif (!$enabled)
789
  echo '<div id="warning" class="error"><p>'
790
+ . __('ImageMagick Engine is not enabled.', 'imagemagick-engine')
791
  . '</p></div>';
792
  ?>
793
  <div class="wrap">
794
+ <h2><?php _e('ImageMagick Engine Settings','imagemagick-engine'); ?></h2>
795
  <form action="options-general.php?page=ime" method="post" name="update_options">
796
  <?php wp_nonce_field('ime-options'); ?>
797
  <input type="hidden" name="ajax_url" id="ajax_url" value="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php" />
800
  <div class="meta-box-sortables ui-sortable">
801
  <div class="postbox">
802
  <div class="handlediv" title="Click to toggle"><br /></div>
803
+ <h3 class="hndle"><span><?php _e('Regenerate Images','imagemagick-engine'); ?></span></h3>
804
  <div class="inside">
805
  <div class="submitbox">
806
  <table border=0>
807
  <tr>
808
+ <td scope="row" valign="top" style="padding-right: 20px;"><?php _e('Sizes','imagemagick-engine'); ?>:</td>
809
  <td>
810
  <?php
811
+ foreach($sizes AS $s => $name) {
812
+ echo '<input type="checkbox" name="regen-size-' . $s . '" value="1" ' . ($handle_sizes[$s] ? ' CHECKED ' : '') . ' /> ' . $name . '<br />';
813
  }
814
  ?>
815
  </td>
816
  </tr>
817
  </table>
818
+ <p><?php _e('ImageMagick images too','imagemagick-engine'); ?>:
819
  <input type="checkbox" name="force" value="1" /></p>
820
+ <p><input class="button-primary" type="submit" name="regenerate-images" value="<?php _e('Regenerate', 'imagemagick-engine'); ?>" /> <?php _e('(this can take a long time)', 'imagemagick-engine'); ?></p>
821
  </div>
822
  </div>
823
  </div>
827
  <div id="post-body-content">
828
  <table class="form-table">
829
  <tr>
830
+ <th scope="row" valign="top"><?php _e('Enable enhanced image engine','imagemagick-engine'); ?>:</th>
831
  <td>
832
  <input type="checkbox" id="enabled" name="enabled" value="1" <?php echo $enabled ? " CHECKED " : ""; echo $any_valid ? '' : ' disabled=disabled '; ?> />
833
  </td>
834
  </tr>
835
  <tr>
836
+ <th scope="row" valign="top"><?php _e('Image engine','imagemagick-engine'); ?>:</th>
837
  <td>
838
  <select name="mode">
839
  <?php
850
  </td>
851
  </tr>
852
  <tr>
853
+ <th scope="row" valign="top"><?php _e('Imagick PHP module','imagemagick-engine'); ?>:</th>
854
  <td>
855
  <img src="<?php echo ime_option_status_icon($modes_valid['php']); ?>" />
856
+ <?php echo $modes_valid['php'] ? __('Imagick PHP module found', 'imagemagick-engine') : __('Imagick PHP module not found', 'imagemagick-engine'); ?>
857
  </td>
858
  </tr>
859
  <tr>
860
+ <th scope="row" valign="top"><?php _e('ImageMagick path','imagemagick-engine'); ?>:</th>
861
  <td>
862
  <img id="cli_path_yes" class="cli_path_icon" src="<?php echo ime_option_status_icon(true); ?>" alt="" <?php ime_option_display($cli_path_ok); ?> />
863
  <img id="cli_path_no" class="cli_path_icon" src="<?php echo ime_option_status_icon(false); ?>" alt="<?php _e('Command not found', 'qp-qie'); ?>" <?php ime_option_display(!$cli_path_ok); ?> />
864
  <img id="cli_path_progress" src="<?php echo ime_option_admin_images_url(); ?>wpspin_light.gif" alt="<?php _e('Testing command...', 'qp-qie'); ?>" <?php ime_option_display(false); ?> />
865
  <input id="cli_path" type="text" name="cli_path" size="<?php echo max(30, strlen($cli_path) + 5); ?>" value="<?php echo $cli_path; ?>" />
866
+ <input type="button" name="ime_cli_path_test" id="ime_cli_path_test" value="<?php _e('Test path', 'imagemagick-engine'); ?>" />
867
  </td>
868
  </tr>
869
  <tr>
870
+ <th scope="row" valign="top"><?php _e('ImageMagick quality','imagemagick-engine'); ?>:</th>
871
  <td>
872
+ <input id="quality" type="text" name="quality" size="3" value="<?php echo $quality; ?>" /> <?php _e('(0-100, leave empty for default value, computed dynamically)', 'imagemagick-engine'); ?>
873
  </td>
874
  </tr>
875
  <tr>
876
+ <th scope="row" valign="top"><?php _e('Handle sizes','imagemagick-engine'); ?>:</th>
877
  <td>
878
  <?php
879
+ foreach($sizes AS $s => $name) {
880
+ echo '<input type="checkbox" name="handle-' . $s . '" value="1" ' . ($handle_sizes[$s] ? ' CHECKED ' : '') . ' /> ' . $name . '<br />';
881
  }
882
  ?>
883
  </td>
884
  </tr>
885
  <tr>
886
  <td>
887
+ <input class="button-primary" type="submit" name="update_settings" value="<?php _e('Save Changes', 'imagemagick-engine'); ?>" />
888
  </td>
889
  </tr>
890
  </table>
languages/imagemagick-engine-sv_SE.mo ADDED
Binary file
languages/imagemagick-engine-sv_SE.po ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: ImageMagick Engine\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
5
+ "POT-Creation-Date: 2010-09-21 12:11+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+
13
+ #: imagemagick-engine.php:568
14
+ msgid "Settings"
15
+ msgstr "Inställningar"
16
+
17
+ #: imagemagick-engine.php:595
18
+ msgid "Resized using ImageMagick Engine"
19
+ msgstr "Omskalad av ImageMagick Engine"
20
+
21
+ #. #-#-#-#-# plugin.pot (ImageMagick Engine 1.1) #-#-#-#-#
22
+ #. Plugin Name of the plugin/theme
23
+ #: imagemagick-engine.php:624
24
+ msgid "ImageMagick Engine"
25
+ msgstr "ImageMagick Engine"
26
+
27
+ #: imagemagick-engine.php:631
28
+ #, php-format
29
+ msgid "Unable to find any images. Are you sure <a href='%s'>some exist</a>?"
30
+ msgstr "Hittade inga bilder. Är du säker på att <a href='%s'>du har laddat upp några</a>?"
31
+
32
+ #: imagemagick-engine.php:636
33
+ msgid "Please be patient while images are regenerated. This can take a long time if you have many images."
34
+ msgstr "Var god vänta medan bilderna skalas om. Det kan ta lång tid om du har många bilder."
35
+
36
+ #: imagemagick-engine.php:656
37
+ msgid "You must enable Javascript in order to proceed!"
38
+ msgstr "Du måste tillåta Javascript i din webbläsare för att kunna fortsätta!"
39
+
40
+ #: imagemagick-engine.php:662
41
+ msgid "Working..."
42
+ msgstr "Arbetar..."
43
+
44
+ #: imagemagick-engine.php:690
45
+ msgid "All done!"
46
+ msgstr "Färdigt!"
47
+
48
+ #: imagemagick-engine.php:690
49
+ #, php-format
50
+ msgid "Processed %d images."
51
+ msgstr "Skalat om %d bilder."
52
+
53
+ #: imagemagick-engine.php:715
54
+ msgid "Thumbnail"
55
+ msgstr "Miniatyr"
56
+
57
+ #: imagemagick-engine.php:716
58
+ msgid "Medium"
59
+ msgstr "Mellan"
60
+
61
+ #: imagemagick-engine.php:717
62
+ msgid "Large"
63
+ msgstr "Stor"
64
+
65
+ #: imagemagick-engine.php:750
66
+ msgid "Settings updated"
67
+ msgstr "Inställningar uppdaterade"
68
+
69
+ #: imagemagick-engine.php:786
70
+ #, php-format
71
+ msgid "No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions."
72
+ msgstr "Ingen fungerande ImageMagick-installation hittades! Se %sFAQ%s för instruktioner hur du installerar."
73
+
74
+ #: imagemagick-engine.php:790
75
+ msgid "ImageMagick Engine is not enabled."
76
+ msgstr "ImageMagick Engine är inte aktiverad."
77
+
78
+ #: imagemagick-engine.php:794
79
+ msgid "ImageMagick Engine Settings"
80
+ msgstr "ImageMagick Engine Inställningar"
81
+
82
+ #: imagemagick-engine.php:803
83
+ msgid "Regenerate Images"
84
+ msgstr "Skala om bilder"
85
+
86
+ #: imagemagick-engine.php:808
87
+ msgid "Sizes"
88
+ msgstr "Bilder"
89
+
90
+ #: imagemagick-engine.php:818
91
+ msgid "ImageMagick images too"
92
+ msgstr "ImageMagick bilder också"
93
+
94
+ #: imagemagick-engine.php:820
95
+ msgid "Regenerate"
96
+ msgstr "Skala om"
97
+
98
+ #: imagemagick-engine.php:820
99
+ msgid "(this can take a long time)"
100
+ msgstr "(det här kan ta lång tid)"
101
+
102
+ #: imagemagick-engine.php:830
103
+ msgid "Enable enhanced image engine"
104
+ msgstr "Aktivera ImageMagick Engine"
105
+
106
+ #: imagemagick-engine.php:836
107
+ msgid "Image engine"
108
+ msgstr "Bildmotor"
109
+
110
+ #: imagemagick-engine.php:853
111
+ msgid "Imagick PHP module"
112
+ msgstr "Imagick PHP modul"
113
+
114
+ #: imagemagick-engine.php:856
115
+ msgid "Imagick PHP module found"
116
+ msgstr "Imagick PHP modul finns."
117
+
118
+ #: imagemagick-engine.php:856
119
+ msgid "Imagick PHP module not found"
120
+ msgstr "Imagick PHP modul finns ej."
121
+
122
+ #: imagemagick-engine.php:860
123
+ msgid "ImageMagick path"
124
+ msgstr "ImageMagick sökväg"
125
+
126
+ #: imagemagick-engine.php:863
127
+ msgid "Command not found"
128
+ msgstr "Kommando hittades inte"
129
+
130
+ #: imagemagick-engine.php:864
131
+ msgid "Testing command..."
132
+ msgstr "Testar kommando..."
133
+
134
+ #: imagemagick-engine.php:866
135
+ msgid "Test path"
136
+ msgstr "Testa sökväg"
137
+
138
+ #: imagemagick-engine.php:870
139
+ msgid "ImageMagick quality"
140
+ msgstr "ImageMagick kvalité"
141
+
142
+ #: imagemagick-engine.php:872
143
+ msgid "(0-100, leave empty for default value, computed dynamically)"
144
+ msgstr "(0-100, lämna tomt för automatiskt beräknat värde)"
145
+
146
+ #: imagemagick-engine.php:876
147
+ msgid "Handle sizes"
148
+ msgstr "Hantera storlekar"
149
+
150
+ #: imagemagick-engine.php:887
151
+ msgid "Save Changes"
152
+ msgstr "Spara ändringar"
153
+
154
+ #. Plugin URI of the plugin/theme
155
+ msgid "http://wp.orangelab.se/imagemagick-engine/"
156
+ msgstr "http://wp.orangelab.se/imagemagick-engine/"
157
+
158
+ #. Description of the plugin/theme
159
+ msgid "Improve the quality of re-sized images by replacing standard GD library with ImageMagick"
160
+ msgstr "Förbättra kvalitén på dina omskalade bilder genom att ersätta GD med ImageMagick"
161
+
162
+ #. Author of the plugin/theme
163
+ msgid "Orangelab"
164
+ msgstr "Orangelab"
165
+
166
+ #. Author URI of the plugin/theme
167
+ msgid "http://www.orangelab.se"
168
+ msgstr "http://www.orangelab.se"
169
+
languages/imagemagick-engine.pot ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin ImageMagick Engine 1.1 by Orangelab.
2
+ # Copyright (C) 2010 Orangelab
3
+ # This file is distributed under the same license as the ImageMagick Engine package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: ImageMagick Engine 1.1\n"
10
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
11
+ "POT-Creation-Date: 2010-09-21 12:11+0000\n"
12
+ "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=utf-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+
19
+ #: imagemagick-engine.php:568
20
+ msgid "Settings"
21
+ msgstr ""
22
+
23
+ #: imagemagick-engine.php:595
24
+ msgid "Resized using ImageMagick Engine"
25
+ msgstr ""
26
+
27
+ #. #-#-#-#-# plugin.pot (ImageMagick Engine 1.1) #-#-#-#-#
28
+ #. Plugin Name of the plugin/theme
29
+ #: imagemagick-engine.php:624
30
+ msgid "ImageMagick Engine"
31
+ msgstr ""
32
+
33
+ #: imagemagick-engine.php:631
34
+ #, php-format
35
+ msgid "Unable to find any images. Are you sure <a href='%s'>some exist</a>?"
36
+ msgstr ""
37
+
38
+ #: imagemagick-engine.php:636
39
+ msgid ""
40
+ "Please be patient while images are regenerated. This can take a long time if "
41
+ "you have many images."
42
+ msgstr ""
43
+
44
+ #: imagemagick-engine.php:656
45
+ msgid "You must enable Javascript in order to proceed!"
46
+ msgstr ""
47
+
48
+ #: imagemagick-engine.php:662
49
+ msgid "Working..."
50
+ msgstr ""
51
+
52
+ #: imagemagick-engine.php:690
53
+ msgid "All done!"
54
+ msgstr ""
55
+
56
+ #: imagemagick-engine.php:690
57
+ #, php-format
58
+ msgid "Processed %d images."
59
+ msgstr ""
60
+
61
+ #: imagemagick-engine.php:715
62
+ msgid "Thumbnail"
63
+ msgstr ""
64
+
65
+ #: imagemagick-engine.php:716
66
+ msgid "Medium"
67
+ msgstr ""
68
+
69
+ #: imagemagick-engine.php:717
70
+ msgid "Large"
71
+ msgstr ""
72
+
73
+ #: imagemagick-engine.php:750
74
+ msgid "Settings updated"
75
+ msgstr ""
76
+
77
+ #: imagemagick-engine.php:786
78
+ #, php-format
79
+ msgid ""
80
+ "No valid ImageMagick mode found! Please check %sFAQ%s for installation "
81
+ "instructions."
82
+ msgstr ""
83
+
84
+ #: imagemagick-engine.php:790
85
+ msgid "ImageMagick Engine is not enabled."
86
+ msgstr ""
87
+
88
+ #: imagemagick-engine.php:794
89
+ msgid "ImageMagick Engine Settings"
90
+ msgstr ""
91
+
92
+ #: imagemagick-engine.php:803
93
+ msgid "Regenerate Images"
94
+ msgstr ""
95
+
96
+ #: imagemagick-engine.php:808
97
+ msgid "Sizes"
98
+ msgstr ""
99
+
100
+ #: imagemagick-engine.php:818
101
+ msgid "ImageMagick images too"
102
+ msgstr ""
103
+
104
+ #: imagemagick-engine.php:820
105
+ msgid "Regenerate"
106
+ msgstr ""
107
+
108
+ #: imagemagick-engine.php:820
109
+ msgid "(this can take a long time)"
110
+ msgstr ""
111
+
112
+ #: imagemagick-engine.php:830
113
+ msgid "Enable enhanced image engine"
114
+ msgstr ""
115
+
116
+ #: imagemagick-engine.php:836
117
+ msgid "Image engine"
118
+ msgstr ""
119
+
120
+ #: imagemagick-engine.php:853
121
+ msgid "Imagick PHP module"
122
+ msgstr ""
123
+
124
+ #: imagemagick-engine.php:856
125
+ msgid "Imagick PHP module found"
126
+ msgstr ""
127
+
128
+ #: imagemagick-engine.php:856
129
+ msgid "Imagick PHP module not found"
130
+ msgstr ""
131
+
132
+ #: imagemagick-engine.php:860
133
+ msgid "ImageMagick path"
134
+ msgstr ""
135
+
136
+ #: imagemagick-engine.php:863
137
+ msgid "Command not found"
138
+ msgstr ""
139
+
140
+ #: imagemagick-engine.php:864
141
+ msgid "Testing command..."
142
+ msgstr ""
143
+
144
+ #: imagemagick-engine.php:866
145
+ msgid "Test path"
146
+ msgstr ""
147
+
148
+ #: imagemagick-engine.php:870
149
+ msgid "ImageMagick quality"
150
+ msgstr ""
151
+
152
+ #: imagemagick-engine.php:872
153
+ msgid "(0-100, leave empty for default value, computed dynamically)"
154
+ msgstr ""
155
+
156
+ #: imagemagick-engine.php:876
157
+ msgid "Handle sizes"
158
+ msgstr ""
159
+
160
+ #: imagemagick-engine.php:887
161
+ msgid "Save Changes"
162
+ msgstr ""
163
+
164
+ #. Plugin URI of the plugin/theme
165
+ msgid "http://wp.orangelab.se/imagemagick-engine/"
166
+ msgstr ""
167
+
168
+ #. Description of the plugin/theme
169
+ msgid ""
170
+ "Improve the quality of re-sized images by replacing standard GD library with "
171
+ "ImageMagick"
172
+ msgstr ""
173
+
174
+ #. Author of the plugin/theme
175
+ msgid "Orangelab"
176
+ msgstr ""
177
+
178
+ #. Author URI of the plugin/theme
179
+ msgid "http://www.orangelab.se"
180
+ msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: orangelab
3
  Tags: image images picture imagemagick gd
4
  Requires at least: 2.9
5
  Tested up to: 3.0.1
6
- Stable tag: 1.0
7
 
8
  Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
9
 
@@ -59,3 +59,12 @@ You can also find binary releases at http://www.imagemagick.org including Windo
59
 
60
  1. Example image: ImageMagick vs GD
61
  2. Administration interface
 
 
 
 
 
 
 
 
 
3
  Tags: image images picture imagemagick gd
4
  Requires at least: 2.9
5
  Tested up to: 3.0.1
6
+ Stable tag: 1.1
7
 
8
  Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
9
 
59
 
60
  1. Example image: ImageMagick vs GD
61
  2. Administration interface
62
+
63
+ == Changelog ==
64
+
65
+ = 1.1 =
66
+ * Working localization
67
+ * Added Swedish translation
68
+
69
+ = 1.0 =
70
+ * Initial release