Rebuild localization file/folder structure

* Rename `lang/` to `languages/` directory
   * Move `auto-thickbox.pot` to `languages/` directory
 * Delete `auto-thickbox-info.php` (not necessary in fact)
 * replace `dirname(plugin_basename(__FILE__)` with  `basename(dirname((__FILE__))`
 * ref. [http://codex.wordpress.org/Writing_a_Plugin#Internationalizing_Your_Plugin Internationalizing Your Plugin]
   * [http://codex.wordpress.org/I18n_for_WordPress_Developers I18n for WordPress Developers]
This commit is contained in:
attosoft committed 2012-02-15 16:46:21 +00:00
1 parent 469bf7606f
commit b5051e01cd
19 files changed
+2 -24

No files matched your search

-22
View File
@@ -1,22 +0,0 @@
<?php
__('Overlays linked image, inline, iFrame and AJAX content on the page in simple & fast effects. (improved version of Auto Thickbox plugin)', 'auto-thickbox');
__('Default Display Style', 'auto-thickbox');
__('Single Image (explicitly specify a@rel attribute as needed)', 'auto-thickbox');
__('Gallery Images (automatically set a@rel attribute in \'gallery-id\' format)', 'auto-thickbox');
__('ThickBox on Text Links', 'auto-thickbox');
__('Auto (automatically set a@class=&quot;thickbox&quot;)', 'auto-thickbox');
__('Manual (explicitly specify a@class=&quot;thickbox&quot; as needed)', 'auto-thickbox');
__('ThickBox Resources (JS, CSS)', 'auto-thickbox');
__('Loads optimized (compressed &amp; tweaked) alternative resources (thickbox.js, thickbox.css)', 'auto-thickbox');
__('Support', 'auto-thickbox');
__('Contact Me', 'auto-thickbox');
__('Donate', 'auto-thickbox');
__('http://attosoft.info/en/', 'auto-thickbox');
__('http://attosoft.info/blog/en/', 'auto-thickbox');
__('http://attosoft.info/blog/en/auto-thickbox-plus/', 'auto-thickbox');
__('Window', 'auto-thickbox');
__('Border Radius', 'auto-thickbox');
__('Opacity', 'auto-thickbox');
__('Box Shadow', 'auto-thickbox');
__('Text Shadow', 'auto-thickbox');
?>
+2 -2
View File
@@ -7,7 +7,7 @@ Author: attosoft
Version: 0.6
Author URI: http://attosoft.info/en/
Text Domain: auto-thickbox
Domain Path: /lang
Domain Path: /languages
*/
/* Copyright 2010-2012 attosoft (contact@attosoft.info)
@@ -33,7 +33,7 @@ Domain Path: /lang
define('AUTO_THICKBOX_PLUS_VERSION', '0.6');
load_plugin_textdomain('auto-thickbox', false, dirname(plugin_basename(__FILE__)) . '/lang');
load_plugin_textdomain('auto-thickbox', false, basename(dirname(__FILE__)) . '/languages');
/**
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.