Updated resources before the release
* readme.txt (Changelog) * All translations * Added untranslated texts * Updated Persian and Japanese translations * Some improvements for Persian to translate 'WordPress', 'JavaScript', etc.
This commit is contained in:
1 parent
5a7e024609
commit
ed4fed7b48
17 files changed
+143
-13
No files matched your search
@@ -88,7 +88,7 @@ class auto_thickbox_options {
|
||||
<label><input type="radio" name="auto-thickbox-plus[auto_thickbox]" value="filter"<?php $this->util->checked($this->options['auto_thickbox'], 'filter'); ?> />
|
||||
<?php $this->util->_e('WordPress Filters'); ?> (<?php echo $this->texts['content_etc']; ?>)</label><br />
|
||||
<label><input type="radio" name="auto-thickbox-plus[auto_thickbox]" value="js"<?php $this->util->checked($this->options['auto_thickbox'], 'js'); ?> />
|
||||
JavaScript (<?php $this->util->_e('Whole Page'); ?>)</label><br />
|
||||
<?php $this->util->_e('JavaScript'); ?> (<?php $this->util->_e('Whole Page'); ?>)</label><br />
|
||||
<label><input type="radio" name="auto-thickbox-plus[auto_thickbox]" value="disabled"<?php $this->util->checked($this->options['auto_thickbox'], 'disabled'); ?> />
|
||||
<?php $this->util->_e('Disabled'); ?></label>
|
||||
</td>
|
||||
@@ -511,7 +511,7 @@ class auto_thickbox_options {
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<th scope="row">WordPress <?php $this->util->_e('Gallery'); ?></th>
|
||||
<th scope="row"><?php echo $this->texts['wp_gallery']; ?></th>
|
||||
<td>
|
||||
<input type="text" name="auto-thickbox-plus[border_width_gallery]" value="<?php echo $this->options['border_width_gallery']; ?>" class="small-text"<?php $this->util->disabled($border_gallery_none); ?> /> px
|
||||
<select name="auto-thickbox-plus[border_style_gallery]"<?php $this->util->disabled($border_gallery_none); ?> style="margin:1px 3px">
|
||||
|
||||
@@ -77,6 +77,7 @@ function checked( $checked, $current = true, $echo = true ) {
|
||||
return checked( $checked, $current, $echo );
|
||||
}
|
||||
|
||||
// @note '$plugin' is defined since WordPress 2.8
|
||||
function plugins_url( $path, $plugin = '' ) {
|
||||
if (!$plugin) $plugin = __FILE__;
|
||||
return version_compare('2.8', get_bloginfo('version')) > 0 ? plugins_url( ATBP_SLUG . '/' . $path ) : plugins_url( $path, $plugin );
|
||||
|
||||
+8
-3
@@ -3,7 +3,7 @@
|
||||
Plugin Name: Auto ThickBox Plus
|
||||
Plugin URI: http://attosoft.info/en/blog/auto-thickbox-plus/
|
||||
Description: Overlays linked image, inline, iFrame and AJAX content on the page in simple & fast effects. (improved version of Auto Thickbox plugin)
|
||||
Version: 1.6
|
||||
Version: 1.7
|
||||
Author: attosoft
|
||||
Author URI: http://attosoft.info/en/
|
||||
License: GPL 2.0
|
||||
@@ -34,7 +34,7 @@ Domain Path: /languages
|
||||
|
||||
define('ATBP_NAME', 'Auto ThickBox Plus');
|
||||
define('ATBP_SLUG', 'auto-thickbox-plus');
|
||||
define('ATBP_VER', '1.6');
|
||||
define('ATBP_VER', '1.7');
|
||||
|
||||
/**
|
||||
* auto_thickbox
|
||||
@@ -768,7 +768,12 @@ SCRIPT;
|
||||
$this->texts['last'] = $this->texts['last2'] . ' »';
|
||||
|
||||
$this->texts['none'] = ucfirst($this->util->_s('None', 'none'));
|
||||
$this->texts['content_etc'] = __('Content') . ', ' . __('Excerpt') . ', ' . $this->util->_s('Comments', 'Comment') . ', ' . __('Widgets');
|
||||
$this->texts['wp_gallery'] = $this->util->__('WordPress Gallery');
|
||||
if ($this->texts['wp_gallery'] == 'WordPress Gallery')
|
||||
$this->texts['wp_gallery'] = 'WordPress ' . __('Gallery');
|
||||
$this->texts['content_etc'] = $this->util->__('Content, Excerpt, Comments, Widgets');
|
||||
if ($this->texts['content_etc'] == 'Content, Excerpt, Comments, Widgets')
|
||||
$this->texts['content_etc'] = __('Content') . ', ' . __('Excerpt') . ', ' . $this->util->_s('Comments', 'Comment') . ', ' . __('Widgets');
|
||||
}
|
||||
|
||||
} # auto_thickbox
|
||||
|
||||
@@ -313,3 +313,11 @@ msgstr ""
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
@@ -299,3 +299,11 @@ msgstr "Contáctame si tienes cualquier comentario"
|
||||
msgid "Settings reset."
|
||||
msgstr "Re-establecer ajustes"
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -8,7 +8,7 @@ msgstr ""
|
||||
"Project-Id-Version: Auto ThickBox Plus 1.6\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tags/auto-thickbox-plus\n"
|
||||
"POT-Creation-Date: 2012-05-28 18:45+0900\n"
|
||||
"PO-Revision-Date: 2012-07-25 10:57+0330\n"
|
||||
"PO-Revision-Date: 2012-08-01 10:47+0900\n"
|
||||
"Last-Translator: Ali Asghar Mohammadi - www.NewModel.ir <Ali@NewModel.ir>\n"
|
||||
"Language-Team: AUTHOR <EMAIL@ADDRESS or URL>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -295,15 +295,52 @@ msgstr "کمک مالی به حمایت از توسعه پلاگین"
|
||||
msgid "Contact me if you have any feedback"
|
||||
msgstr "تماس با من برای ارسال هرگونه پیشنهاد یا انتقاد"
|
||||
|
||||
#: auto-thickbox-options.php:285
|
||||
#: auto-thickbox-options.php:906
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "JavaScript"
|
||||
msgstr "جاوا اسکریپت"
|
||||
|
||||
#: auto-thickbox-options.php:93
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:296
|
||||
#: auto-thickbox-options.php:330
|
||||
#: auto-thickbox-options.php:348
|
||||
#: auto-thickbox-options.php:369
|
||||
#: auto-thickbox-options.php:399
|
||||
#: auto-thickbox-options.php:583
|
||||
#: auto-thickbox-options.php:615
|
||||
#: auto-thickbox-options.php:640
|
||||
#: auto-thickbox-options.php:643
|
||||
#: auto-thickbox-options.php:790
|
||||
msgid "Title"
|
||||
msgstr "عنوان"
|
||||
|
||||
#: auto-thickbox-options.php:318
|
||||
#: auto-thickbox-options.php:329
|
||||
msgid "Font Family"
|
||||
msgstr "فونت"
|
||||
|
||||
#: auto-thickbox-options.php:336
|
||||
#: auto-thickbox-options.php:347
|
||||
msgid "Font Size"
|
||||
msgstr "اندازه قلم"
|
||||
|
||||
#: auto-thickbox.php:765
|
||||
msgid "WordPress Gallery"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox.php:768
|
||||
msgid "Content, Excerpt, Comments, Widgets"
|
||||
msgstr ""
|
||||
|
||||
@@ -319,3 +319,11 @@ msgstr "Me contacter si vous avez des retours"
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
@@ -321,3 +321,11 @@ msgstr ""
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
@@ -314,3 +314,11 @@ msgstr ""
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -8,7 +8,7 @@ msgstr ""
|
||||
"Project-Id-Version: Auto ThickBox Plus 1.6\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tags/auto-thickbox-plus\n"
|
||||
"POT-Creation-Date: 2012-06-06 13:24+0900\n"
|
||||
"PO-Revision-Date: 2012-06-06 13:31+0900\n"
|
||||
"PO-Revision-Date: 2012-08-01 10:47+0900\n"
|
||||
"Last-Translator: attosoft <contact@attosoft.info>\n"
|
||||
"Language-Team: attosoft <http://attosoft.info/en/>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -328,3 +328,11 @@ msgstr "お問い合わせ (ご意見・ご感想など)"
|
||||
msgid "Settings reset."
|
||||
msgstr "設定をリセットしました。"
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr "WordPress フィルター"
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr "ページ全体"
|
||||
|
||||
@@ -304,3 +304,11 @@ msgstr ""
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
@@ -309,3 +309,11 @@ msgstr ""
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
@@ -314,3 +314,11 @@ msgstr ""
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
@@ -299,3 +299,11 @@ msgstr ""
|
||||
msgid "Settings reset."
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:89
|
||||
msgid "WordPress Filters"
|
||||
msgstr ""
|
||||
|
||||
#: auto-thickbox-options.php:91
|
||||
msgid "Whole Page"
|
||||
msgstr ""
|
||||
|
||||
+10
-3
@@ -38,7 +38,7 @@ By clicking on links, this plugin overlays linked content on the page in simple
|
||||
* Compatible with default theme in WordPress 3.2/3.3 called **Twenty Eleven**
|
||||
* Compatible with cache plugins such as [W3 Total Cache](http://wordpress.org/extend/plugins/w3-total-cache/) and [Head Cleaner](http://wordpress.org/extend/plugins/head-cleaner/)
|
||||
* Improved ThickBox is also available in another ThickBox plugins such as [NextGEN Gallery](http://wordpress.org/extend/plugins/nextgen-gallery/)
|
||||
* Uses WordPress translations
|
||||
* Uses WordPress' default translations
|
||||
* Now ThickBox window is localized to **more than 70 languages** (Arabic, Chinese, Dutch, French, German, Hindi, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish and more)
|
||||
* And fixed a lot of bugs in Auto Thickbox plugin and built-in ThickBox (See [Changelog](changelog/))
|
||||
|
||||
@@ -272,13 +272,20 @@ You can localize the plugin with [Poedit](http://www.poedit.net/). All you do is
|
||||
== Changelog ==
|
||||
|
||||
= Latest Version =
|
||||
|
||||
= 1.7 =
|
||||
* NEW: "General - Auto ThickBox - WordPress Filters/JavaScript/Disabled" option. Auto ThickBox had worked only in content, excerpt, comments and widget tests due to WordPress filters (hooks). Now using JavaScript, the feature can work in whole page such as front page, header/footer, contents output by themes or other plugins. And you can also disable it if unnecessary.
|
||||
* NEW: "Mouse Wheel (Scroll) - Image - Scale (beta)" option. This is experimental feature so it's a little bit buggy in Drag & Drop action and it works only at modern browsers that support CSS3 transform such as IE9.
|
||||
* NEW: Enabled "Screen Options" menu to show/hide meta boxes in Options page
|
||||
* CHANGED: Places not only thidkbox.js but also custom `<script>`/`<style>` tags depending on "General - ThickBox Resources - Header/Footer" option. And outputs `<!-- Auto ThickBox Plus -->` comment before the custom tags for readability.
|
||||
* CHANGED: Changed "Gallery - Caption" item to "Image - Caption" item in "Text - Caption" option. Supports also image caption that is not in WordPress Gallery.
|
||||
* FIXED: Conflict with [iFeature](http://wordpress.org/extend/themes/ifeature) theme
|
||||
* FIXED: Conflict with [NextGEN Gallery 1.9.5](http://www.nextgen-gallery.com/nextgen-gallery-1-9-5/) that declares `#TB_window { z-index: 9999 !important; }` style. By this code background has been in front of ThickBox window because background z-index is 10100 in Auto ThickBox Plus. Then all you can do is click background to click ThickBox window, and prev/next buttons and links don't work.
|
||||
* FIXED: Conflict with themes that has `body { position: relative; }` style such as [iFeature](http://wordpress.org/extend/themes/ifeature)
|
||||
* FIXED: Conflict with [NextGEN Gallery 1.9.5](http://www.nextgen-gallery.com/nextgen-gallery-1-9-5/) that declares `#TB_window { z-index: 9999 !important; }` style. By this code background has been in front of ThickBox window because background z-index is 10100 in Auto ThickBox Plus. Then all you can do is click background to close ThickBox window, and prev/next buttons and links don't work.
|
||||
* FIXED: PDF cannot be opened in IE and Firefox because "onload" event won't be triggered (ThickBox bug)
|
||||
* FIXED: Removes whitespaces from both ends of gallery caption (regression in v1.5)
|
||||
* FIXED: Improved Right-to-Left (RTL) support in Options page when using Persian and so on
|
||||
* FIXED: Workaround for the issue that Media Uploader does not work in WordPress 3.3.3 or later
|
||||
* FIXED: 'First'/'Last' are not translated in ThickBox window because WordPress translations are split into locale.pot and locale-admin.pot since WordPress 3.4. So 'First'/'Last' had translated only in Options page.
|
||||
* UPDATED: Added **Persian/Farsi (fa_IR) translation (props Mohammadi)** and **Spanish (props Juan Antonio Peón)** translation, and updated French translation (props JB Prévots)
|
||||
|
||||
= 1.6 =
|
||||
|
||||
Reference in new issue
Block a user