Plugin Directory

Changeset 1247669


Ignore:
Timestamp:
09/17/2015 01:51:58 PM (10 years ago)
Author:
stefanboonstra
Message:

Changed localization domain to match the plugin's slug in order to support language packs.

Location:
slideshow-jquery-image-gallery/trunk
Files:
44 added
31 edited

Legend:

Unmodified
Added
Removed
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginGeneralSettings.php

    r813937 r1247669  
    8080        add_submenu_page(
    8181            'edit.php?post_type=' . SlideshowPluginPostType::$postType,
    82             __('General Settings', 'slideshow-plugin'),
    83             __('General Settings', 'slideshow-plugin'),
     82            __('General Settings', 'slideshow-jquery-image-gallery'),
     83            __('General Settings', 'slideshow-jquery-image-gallery'),
    8484            'manage_options',
    8585            'general_settings',
     
    148148                'data'         => array('customStylesKey' => self::$customStyles),
    149149                'localization' => array(
    150                     'newCustomizationPrefix' => __('New', 'slideshow-plugin'),
    151                     'confirmDeleteMessage'   => __('Are you sure you want to delete this custom style?', 'slideshow-plugin')
     150                    'newCustomizationPrefix' => __('New', 'slideshow-jquery-image-gallery'),
     151                    'confirmDeleteMessage'   => __('Are you sure you want to delete this custom style?', 'slideshow-jquery-image-gallery')
    152152                )
    153153            )
     
    194194        // Default styles
    195195        $defaultStyles = array(
    196             'style-light.css' => __('Light', 'slideshow-plugin'),
    197             'style-dark.css'  => __('Dark', 'slideshow-plugin')
     196            'style-light.css' => __('Light', 'slideshow-jquery-image-gallery'),
     197            'style-dark.css'  => __('Dark', 'slideshow-jquery-image-gallery')
    198198        );
    199199
     
    351351            {
    352352                // Put custom style key and name into the $newCustomStyle array
    353                 $newCustomStyles[$customStyleKey] = isset($customStyleValue['title']) ? $customStyleValue['title'] : __('Untitled', 'slideshow-plugin');
     353                $newCustomStyles[$customStyleKey] = isset($customStyleValue['title']) ? $customStyleValue['title'] : __('Untitled', 'slideshow-jquery-image-gallery');
    354354
    355355                // Get style
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginInstaller.php

    r879367 r1247669  
    798798            );
    799799
    800             $yes = __('Yes', 'slideshow-plugin');
    801             $no = __('No', 'slideshow-plugin');
     800            $yes = __('Yes', 'slideshow-jquery-image-gallery');
     801            $no = __('No', 'slideshow-jquery-image-gallery');
    802802            $data = array( // $data : array([prefix_settingName] => array([inputType], [value], [default], [description], array([options]), array([dependsOn], [onValue]), 'group' => [groupName]))
    803                 'style_style' => array('select', '', $defaultData['style_style'], __('The style used for this slideshow', 'slideshow-plugin'), array('light' => __('Light', 'slideshow-plugin'), 'dark' => __('Dark', 'slideshow-plugin'), 'custom' => __('Custom', 'slideshow-plugin'))),
    804                 'style_custom' => array('textarea', '', $defaultData['style_custom'], __('Custom style editor', 'slideshow-plugin'), null, array('style_style', 'custom')),
    805                 'setting_animation' => array('select', '', $defaultData['setting_animation'], __('Animation used for transition between slides', 'slideshow-plugin'), array('slide' => __('Slide', 'slideshow-plugin'), 'fade' => __('Fade', 'slideshow-plugin')), 'group' => __('Animation', 'slideshow-plugin')),
    806                 'setting_slideSpeed' => array('text', '', $defaultData['setting_slideSpeed'], __('Number of seconds the slide takes to slide in', 'slideshow-plugin'), 'group' => __('Animation', 'slideshow-plugin')),
    807                 'setting_descriptionSpeed' => array('text', '', $defaultData['setting_descriptionSpeed'], __('Number of seconds the description takes to slide in', 'slideshow-plugin'), 'group' => __('Animation', 'slideshow-plugin')),
    808                 'setting_intervalSpeed' => array('text', '', $defaultData['setting_intervalSpeed'], __('Seconds between changing slides', 'slideshow-plugin'), 'group' => __('Animation', 'slideshow-plugin')),
    809                 'setting_slidesPerView' => array('text', '', $defaultData['setting_slidesPerView'], __('Number of slides to fit into one slide', 'slideshow-plugin'), 'group' => __('Display', 'slideshow-plugin')),
    810                 'setting_width' => array('text', '', $defaultData['setting_width'], __('Width of the slideshow, set to parent's width on 0', 'slideshow-plugin'), 'group' => __('Display', 'slideshow-plugin')),
    811                 'setting_height' => array('text', '', $defaultData['setting_height'], __('Height of the slideshow', 'slideshow-plugin'), 'group' => __('Display', 'slideshow-plugin')),
    812                 'setting_descriptionHeight' => array('text', '', $defaultData['setting_descriptionHeight'], __('Height of the description boxes', 'slideshow-plugin'), 'group' => __('Display', 'slideshow-plugin')),
    813                 'setting_stretchImages' => array('radio', '', $defaultData['setting_stretchImages'], __('Fit image into slide (stretching it)', 'slideshow-plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-plugin')),
    814                 'setting_showDescription' => array('radio', '', $defaultData['setting_showDescription'], __('Show title and description', 'slideshow-plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-plugin')),
    815                 'setting_hideDescription' => array('radio', '', $defaultData['setting_hideDescription'], __('Hide description box, it will pop up when a mouse hovers over the slide', 'slideshow-plugin'), array('true' => $yes, 'false' => $no), array('setting_showDescription', 'true'), 'group' => __('Display', 'slideshow-plugin')),
    816                 'setting_play' => array('radio', '', $defaultData['setting_play'], __('Automatically slide to the next slide', 'slideshow-plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),
    817                 'setting_loop' => array('radio', '', $defaultData['setting_loop'], __('Return to the beginning of the slideshow after last slide', 'slideshow-plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),
    818                 'setting_controllable' => array('radio', '', $defaultData['setting_controllable'], __('Activate buttons (so the user can scroll through the slides)', 'slideshow-plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),
    819                 'setting_controlPanel' => array('radio', '', $defaultData['setting_controlPanel'], __('Show control panel (play and pause button)', 'slideshow-plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),
     803                'style_style' => array('select', '', $defaultData['style_style'], __('The style used for this slideshow', 'slideshow-jquery-image-gallery'), array('light' => __('Light', 'slideshow-jquery-image-gallery'), 'dark' => __('Dark', 'slideshow-jquery-image-gallery'), 'custom' => __('Custom', 'slideshow-jquery-image-gallery'))),
     804                'style_custom' => array('textarea', '', $defaultData['style_custom'], __('Custom style editor', 'slideshow-jquery-image-gallery'), null, array('style_style', 'custom')),
     805                'setting_animation' => array('select', '', $defaultData['setting_animation'], __('Animation used for transition between slides', 'slideshow-jquery-image-gallery'), array('slide' => __('Slide', 'slideshow-jquery-image-gallery'), 'fade' => __('Fade', 'slideshow-jquery-image-gallery')), 'group' => __('Animation', 'slideshow-jquery-image-gallery')),
     806                'setting_slideSpeed' => array('text', '', $defaultData['setting_slideSpeed'], __('Number of seconds the slide takes to slide in', 'slideshow-jquery-image-gallery'), 'group' => __('Animation', 'slideshow-jquery-image-gallery')),
     807                'setting_descriptionSpeed' => array('text', '', $defaultData['setting_descriptionSpeed'], __('Number of seconds the description takes to slide in', 'slideshow-jquery-image-gallery'), 'group' => __('Animation', 'slideshow-jquery-image-gallery')),
     808                'setting_intervalSpeed' => array('text', '', $defaultData['setting_intervalSpeed'], __('Seconds between changing slides', 'slideshow-jquery-image-gallery'), 'group' => __('Animation', 'slideshow-jquery-image-gallery')),
     809                'setting_slidesPerView' => array('text', '', $defaultData['setting_slidesPerView'], __('Number of slides to fit into one slide', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     810                'setting_width' => array('text', '', $defaultData['setting_width'], __('Width of the slideshow, set to parent's width on 0', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     811                'setting_height' => array('text', '', $defaultData['setting_height'], __('Height of the slideshow', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     812                'setting_descriptionHeight' => array('text', '', $defaultData['setting_descriptionHeight'], __('Height of the description boxes', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     813                'setting_stretchImages' => array('radio', '', $defaultData['setting_stretchImages'], __('Fit image into slide (stretching it)', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     814                'setting_showDescription' => array('radio', '', $defaultData['setting_showDescription'], __('Show title and description', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     815                'setting_hideDescription' => array('radio', '', $defaultData['setting_hideDescription'], __('Hide description box, it will pop up when a mouse hovers over the slide', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), array('setting_showDescription', 'true'), 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     816                'setting_play' => array('radio', '', $defaultData['setting_play'], __('Automatically slide to the next slide', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')),
     817                'setting_loop' => array('radio', '', $defaultData['setting_loop'], __('Return to the beginning of the slideshow after last slide', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')),
     818                'setting_controllable' => array('radio', '', $defaultData['setting_controllable'], __('Activate buttons (so the user can scroll through the slides)', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')),
     819                'setting_controlPanel' => array('radio', '', $defaultData['setting_controlPanel'], __('Show control panel (play and pause button)', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')),
    820820            );
    821821
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginPostType.php

    r879367 r1247669  
    4343            array(
    4444                'labels'               => array(
    45                     'name'               => __('Slideshows', 'slideshow-plugin'),
    46                     'singular_name'      => __('Slideshow', 'slideshow-plugin'),
    47                     'add_new_item'       => __('Add New Slideshow', 'slideshow-plugin'),
    48                     'edit_item'          => __('Edit slideshow', 'slideshow-plugin'),
    49                     'new_item'           => __('New slideshow', 'slideshow-plugin'),
    50                     'view_item'          => __('View slideshow', 'slideshow-plugin'),
    51                     'search_items'       => __('Search slideshows', 'slideshow-plugin'),
    52                     'not_found'          => __('No slideshows found', 'slideshow-plugin'),
    53                     'not_found_in_trash' => __('No slideshows found', 'slideshow-plugin')
     45                    'name'               => __('Slideshows', 'slideshow-jquery-image-gallery'),
     46                    'singular_name'      => __('Slideshow', 'slideshow-jquery-image-gallery'),
     47                    'add_new_item'       => __('Add New Slideshow', 'slideshow-jquery-image-gallery'),
     48                    'edit_item'          => __('Edit slideshow', 'slideshow-jquery-image-gallery'),
     49                    'new_item'           => __('New slideshow', 'slideshow-jquery-image-gallery'),
     50                    'view_item'          => __('View slideshow', 'slideshow-jquery-image-gallery'),
     51                    'search_items'       => __('Search slideshows', 'slideshow-jquery-image-gallery'),
     52                    'not_found'          => __('No slideshows found', 'slideshow-jquery-image-gallery'),
     53                    'not_found_in_trash' => __('No slideshows found', 'slideshow-jquery-image-gallery')
    5454                ),
    5555                'public'               => false,
     
    9696        add_meta_box(
    9797            'information',
    98             __('Information', 'slideshow-plugin'),
     98            __('Information', 'slideshow-jquery-image-gallery'),
    9999            array(__CLASS__, 'informationMetaBox'),
    100100            self::$postType,
     
    105105        add_meta_box(
    106106            'slides-list',
    107             __('Slides List', 'slideshow-plugin'),
     107            __('Slides List', 'slideshow-jquery-image-gallery'),
    108108            array(__CLASS__, 'slidesMetaBox'),
    109109            self::$postType,
     
    114114        add_meta_box(
    115115            'style',
    116             __('Slideshow Style', 'slideshow-plugin'),
     116            __('Slideshow Style', 'slideshow-jquery-image-gallery'),
    117117            array(__CLASS__, 'styleMetaBox'),
    118118            self::$postType,
     
    123123        add_meta_box(
    124124            'settings',
    125             __('Slideshow Settings', 'slideshow-plugin'),
     125            __('Slideshow Settings', 'slideshow-jquery-image-gallery'),
    126126            array(__CLASS__, 'settingsMetaBox'),
    127127            self::$postType,
     
    171171        {
    172172            case 6:
    173                 $messages[$currentScreen->base][$messageID] = __('Slideshow created', 'slideshow-plugin');
     173                $messages[$currentScreen->base][$messageID] = __('Slideshow created', 'slideshow-jquery-image-gallery');
    174174                break;
    175175
    176176            default:
    177                 $messages[$currentScreen->base][$messageID] = __('Slideshow updated', 'slideshow-plugin');
     177                $messages[$currentScreen->base][$messageID] = __('Slideshow updated', 'slideshow-jquery-image-gallery');
    178178        }
    179179
     
    222222        // Insert slide buttons
    223223        echo '<p style="text-align: center;">
    224             <i>' . __('Insert', 'slideshow-plugin') . ':</i><br/>' .
     224            <i>' . __('Insert', 'slideshow-jquery-image-gallery') . ':</i><br/>' .
    225225            SlideshowPluginSlideInserter::getImageSlideInsertButton() .
    226226            SlideshowPluginSlideInserter::getTextSlideInsertButton() .
     
    230230        // Toggle slides open/closed
    231231        echo '<p style="text-align: center;">
    232             <a href="#" class="open-slides-button">' . __( 'Open all', 'slideshow-plugin' ) . '</a>
     232            <a href="#" class="open-slides-button">' . __( 'Open all', 'slideshow-jquery-image-gallery' ) . '</a>
    233233            |
    234             <a href="#" class="close-slides-button">' . __( 'Close all', 'slideshow-plugin' ) . '</a>
     234            <a href="#" class="close-slides-button">' . __( 'Close all', 'slideshow-jquery-image-gallery' ) . '</a>
    235235        </p>';
    236236
     
    238238        if (count($views) <= 0)
    239239        {
    240             echo '<p>' . __('Add slides to this slideshow by using one of the buttons above.', 'slideshow-plugin') . '</p>';
     240            echo '<p>' . __('Add slides to this slideshow by using one of the buttons above.', 'slideshow-jquery-image-gallery') . '</p>';
    241241        }
    242242
     
    318318            ));
    319319
    320             $actions['duplicate'] = '<a href="' . wp_nonce_url($url, 'duplicate-slideshow_' . $post->ID, 'nonce') . '">' . __('Duplicate', 'slideshow-plugin') . '</a>';
     320            $actions['duplicate'] = '<a href="' . wp_nonce_url($url, 'duplicate-slideshow_' . $post->ID, 'nonce') . '">' . __('Duplicate', 'slideshow-jquery-image-gallery') . '</a>';
    321321        }
    322322
     
    369369            'post_password'  => $post->post_password,
    370370            'post_status'    => 'draft',
    371             'post_title'     => $post->post_title . (strlen($post->post_title) > 0 ? ' - ' : '') . __('Copy', 'slideshow-plugin'),
     371            'post_title'     => $post->post_title . (strlen($post->post_title) > 0 ? ' - ' : '') . __('Copy', 'slideshow-jquery-image-gallery'),
    372372            'post_type'      => $post->post_type,
    373373            'to_ping'        => $post->to_ping,
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginShortcode.php

    r813937 r1247669  
    146146            array(
    147147                'data' => array('shortcode' => SlideshowPluginShortcode::$shortCode),
    148                 'localization' => array('undefinedSlideshow' => __('No slideshow selected.', 'slideshow-plugin'))
     148                'localization' => array('undefinedSlideshow' => __('No slideshow selected.', 'slideshow-jquery-image-gallery'))
    149149            )
    150150        );
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginSlideInserter.php

    r879367 r1247669  
    192192                echo '<tr valign="top">
    193193                    <td colspan="3" style="text-align: center;">
    194                         <b>' . count($attachments) . ' ' . __('More results loaded', 'slideshow-plugin') . '<b>
     194                        <b>' . count($attachments) . ' ' . __('More results loaded', 'slideshow-jquery-image-gallery') . '<b>
    195195                    </td>
    196196                </tr>';
     
    236236                            type="button"
    237237                            class="insert-attachment button-secondary"
    238                             value="' . __('Insert', 'slideshow-plugin') . '"
     238                            value="' . __('Insert', 'slideshow-jquery-image-gallery') . '"
    239239                        />
    240240                    </td>
     
    247247                    <td colspan="3" style="text-align: center;">
    248248                        <button class="button-secondary load-more-results" data-offset="' . ($offset + $numberPosts) . '">
    249                             ' . __('Load more results', 'slideshow-plugin') . '
     249                            ' . __('Load more results', 'slideshow-jquery-image-gallery') . '
    250250                        </button>
    251251                    </td>
     
    258258                <td colspan="3" style="text-align: center;">
    259259                    <a href="' . admin_url() . 'media-new.php" target="_blank">
    260                         ' . __('No images were found, click here to upload some.', 'slideshow-plugin') . '
     260                        ' . __('No images were found, click here to upload some.', 'slideshow-jquery-image-gallery') . '
    261261                    </a>
    262262                </td>
     
    330330                'data' => array(),
    331331                'localization' => array(
    332                     'confirm'       => __('Are you sure you want to delete this slide?', 'slideshow-plugin'),
    333                     'uploaderTitle' => __('Insert image slide', 'slideshow-plugin')
     332                    'confirm'       => __('Are you sure you want to delete this slide?', 'slideshow-jquery-image-gallery'),
     333                    'uploaderTitle' => __('Insert image slide', 'slideshow-jquery-image-gallery')
    334334                )
    335335            )
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginSlideshowSettingsHandler.php

    r885343 r1247669  
    470470    {
    471471        // Much used data for translation
    472         $yes = __('Yes', 'slideshow-plugin');
    473         $no  = __('No', 'slideshow-plugin');
     472        $yes = __('Yes', 'slideshow-jquery-image-gallery');
     473        $no  = __('No', 'slideshow-jquery-image-gallery');
    474474
    475475        // Default values
     
    516516        {
    517517            $descriptions = array(
    518                 'animation'                   => __('Animation used for transition between slides', 'slideshow-plugin'),
    519                 'slideSpeed'                  => __('Number of seconds the slide takes to slide in', 'slideshow-plugin'),
    520                 'descriptionSpeed'            => __('Number of seconds the description takes to slide in', 'slideshow-plugin'),
    521                 'intervalSpeed'               => __('Seconds between changing slides', 'slideshow-plugin'),
    522                 'slidesPerView'               => __('Number of slides to fit into one slide', 'slideshow-plugin'),
    523                 'maxWidth'                    => __('Maximum width. When maximum width is 0, maximum width is ignored', 'slideshow-plugin'),
    524                 'aspectRatio'                 => sprintf('<a href="' . str_replace('%', '%%', __('http://en.wikipedia.org/wiki/Aspect_ratio_(image)', 'slideshow-plugin')) . '" title="' . __('More info', 'slideshow-plugin') . '" target="_blank">' . __('Proportional relationship%s between slideshow\'s width and height (width:height)', 'slideshow-plugin'), '</a>'),
    525                 'height'                      => __('Slideshow\'s height', 'slideshow-plugin'),
    526                 'imageBehaviour'              => __('Image behaviour', 'slideshow-plugin'),
    527                 'preserveSlideshowDimensions' => __('Shrink slideshow\'s height when width shrinks', 'slideshow-plugin'),
    528                 'enableResponsiveness'        => __('Enable responsiveness (Shrink slideshow\'s width when page\'s width shrinks)', 'slideshow-plugin'),
    529                 'showDescription'             => __('Show title and description', 'slideshow-plugin'),
    530                 'hideDescription'             => __('Hide description box, pop up when mouse hovers over', 'slideshow-plugin'),
    531                 'play'                        => __('Automatically slide to the next slide', 'slideshow-plugin'),
    532                 'loop'                        => __('Return to the beginning of the slideshow after last slide', 'slideshow-plugin'),
    533                 'pauseOnHover'                => __('Pause slideshow when mouse hovers over', 'slideshow-plugin'),
    534                 'controllable'                => __('Activate navigation buttons', 'slideshow-plugin'),
    535                 'hideNavigationButtons'       => __('Hide navigation buttons, show when mouse hovers over', 'slideshow-plugin'),
    536                 'showPagination'              => __('Activate pagination', 'slideshow-plugin'),
    537                 'hidePagination'              => __('Hide pagination, show when mouse hovers over', 'slideshow-plugin'),
    538                 'controlPanel'                => __('Activate control panel (play and pause button)', 'slideshow-plugin'),
    539                 'hideControlPanel'            => __('Hide control panel, show when mouse hovers over', 'slideshow-plugin'),
    540                 'waitUntilLoaded'             => __('Wait until the next slide has loaded before showing it', 'slideshow-plugin'),
    541                 'showLoadingIcon'             => __('Show a loading icon until the first slide appears', 'slideshow-plugin'),
    542                 'random'                      => __('Randomize slides', 'slideshow-plugin'),
    543                 'avoidFilter'                 => sprintf(__('Avoid content filter (disable if \'%s\' is shown)', 'slideshow-plugin'), SlideshowPluginShortcode::$bookmark)
     518                'animation'                   => __('Animation used for transition between slides', 'slideshow-jquery-image-gallery'),
     519                'slideSpeed'                  => __('Number of seconds the slide takes to slide in', 'slideshow-jquery-image-gallery'),
     520                'descriptionSpeed'            => __('Number of seconds the description takes to slide in', 'slideshow-jquery-image-gallery'),
     521                'intervalSpeed'               => __('Seconds between changing slides', 'slideshow-jquery-image-gallery'),
     522                'slidesPerView'               => __('Number of slides to fit into one slide', 'slideshow-jquery-image-gallery'),
     523                'maxWidth'                    => __('Maximum width. When maximum width is 0, maximum width is ignored', 'slideshow-jquery-image-gallery'),
     524                'aspectRatio'                 => sprintf('<a href="' . str_replace('%', '%%', __('http://en.wikipedia.org/wiki/Aspect_ratio_(image)', 'slideshow-jquery-image-gallery')) . '" title="' . __('More info', 'slideshow-jquery-image-gallery') . '" target="_blank">' . __('Proportional relationship%s between slideshow\'s width and height (width:height)', 'slideshow-jquery-image-gallery'), '</a>'),
     525                'height'                      => __('Slideshow\'s height', 'slideshow-jquery-image-gallery'),
     526                'imageBehaviour'              => __('Image behaviour', 'slideshow-jquery-image-gallery'),
     527                'preserveSlideshowDimensions' => __('Shrink slideshow\'s height when width shrinks', 'slideshow-jquery-image-gallery'),
     528                'enableResponsiveness'        => __('Enable responsiveness (Shrink slideshow\'s width when page\'s width shrinks)', 'slideshow-jquery-image-gallery'),
     529                'showDescription'             => __('Show title and description', 'slideshow-jquery-image-gallery'),
     530                'hideDescription'             => __('Hide description box, pop up when mouse hovers over', 'slideshow-jquery-image-gallery'),
     531                'play'                        => __('Automatically slide to the next slide', 'slideshow-jquery-image-gallery'),
     532                'loop'                        => __('Return to the beginning of the slideshow after last slide', 'slideshow-jquery-image-gallery'),
     533                'pauseOnHover'                => __('Pause slideshow when mouse hovers over', 'slideshow-jquery-image-gallery'),
     534                'controllable'                => __('Activate navigation buttons', 'slideshow-jquery-image-gallery'),
     535                'hideNavigationButtons'       => __('Hide navigation buttons, show when mouse hovers over', 'slideshow-jquery-image-gallery'),
     536                'showPagination'              => __('Activate pagination', 'slideshow-jquery-image-gallery'),
     537                'hidePagination'              => __('Hide pagination, show when mouse hovers over', 'slideshow-jquery-image-gallery'),
     538                'controlPanel'                => __('Activate control panel (play and pause button)', 'slideshow-jquery-image-gallery'),
     539                'hideControlPanel'            => __('Hide control panel, show when mouse hovers over', 'slideshow-jquery-image-gallery'),
     540                'waitUntilLoaded'             => __('Wait until the next slide has loaded before showing it', 'slideshow-jquery-image-gallery'),
     541                'showLoadingIcon'             => __('Show a loading icon until the first slide appears', 'slideshow-jquery-image-gallery'),
     542                'random'                      => __('Randomize slides', 'slideshow-jquery-image-gallery'),
     543                'avoidFilter'                 => sprintf(__('Avoid content filter (disable if \'%s\' is shown)', 'slideshow-jquery-image-gallery'), SlideshowPluginShortcode::$bookmark)
    544544            );
    545545
    546546            $data = array(
    547                 'animation'                   => array('type' => 'select', 'default' => $data['animation']                  , 'description' => $descriptions['animation']                  , 'group' => __('Animation', 'slideshow-plugin')    , 'options' => array('slide' => __('Slide Left', 'slideshow-plugin'), 'slideRight' => __('Slide Right', 'slideshow-plugin'), 'slideUp' => __('Slide Up', 'slideshow-plugin'), 'slideDown' => __('Slide Down', 'slideshow-plugin'), 'crossFade' => __('Cross Fade', 'slideshow-plugin'), 'directFade' => __('Direct Fade', 'slideshow-plugin'), 'fade' => __('Fade', 'slideshow-plugin'), 'random' => __('Random Animation', 'slideshow-plugin'))),
    548                 'slideSpeed'                  => array('type' => 'text'  , 'default' => $data['slideSpeed']                 , 'description' => $descriptions['slideSpeed']                 , 'group' => __('Animation', 'slideshow-plugin')),
    549                 'descriptionSpeed'            => array('type' => 'text'  , 'default' => $data['descriptionSpeed']           , 'description' => $descriptions['descriptionSpeed']           , 'group' => __('Animation', 'slideshow-plugin')),
    550                 'intervalSpeed'               => array('type' => 'text'  , 'default' => $data['intervalSpeed']              , 'description' => $descriptions['intervalSpeed']              , 'group' => __('Animation', 'slideshow-plugin')),
    551                 'slidesPerView'               => array('type' => 'text'  , 'default' => $data['slidesPerView']              , 'description' => $descriptions['slidesPerView']              , 'group' => __('Display', 'slideshow-plugin')),
    552                 'maxWidth'                    => array('type' => 'text'  , 'default' => $data['maxWidth']                   , 'description' => $descriptions['maxWidth']                   , 'group' => __('Display', 'slideshow-plugin')),
    553                 'aspectRatio'                 => array('type' => 'text'  , 'default' => $data['aspectRatio']                , 'description' => $descriptions['aspectRatio']                , 'group' => __('Display', 'slideshow-plugin')                                                           , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'true')),
    554                 'height'                      => array('type' => 'text'  , 'default' => $data['height']                     , 'description' => $descriptions['height']                     , 'group' => __('Display', 'slideshow-plugin')                                                           , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'false')),
    555                 'imageBehaviour'              => array('type' => 'select', 'default' => $data['imageBehaviour']             , 'description' => $descriptions['imageBehaviour']             , 'group' => __('Display', 'slideshow-plugin')      , 'options' => array('natural' => __('Natural and centered', 'slideshow-plugin'), 'crop' => __('Crop to fit', 'slideshow-plugin'), 'stretch' => __('Stretch to fit', 'slideshow-plugin'))),
    556                 'preserveSlideshowDimensions' => array('type' => 'radio' , 'default' => $data['preserveSlideshowDimensions'], 'description' => $descriptions['preserveSlideshowDimensions'], 'group' => __('Display', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[enableResponsiveness]', 'true')),
    557                 'enableResponsiveness'        => array('type' => 'radio' , 'default' => $data['enableResponsiveness']       , 'description' => $descriptions['enableResponsiveness']       , 'group' => __('Display', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    558                 'showDescription'             => array('type' => 'radio' , 'default' => $data['showDescription']            , 'description' => $descriptions['showDescription']            , 'group' => __('Display', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    559                 'hideDescription'             => array('type' => 'radio' , 'default' => $data['hideDescription']            , 'description' => $descriptions['hideDescription']            , 'group' => __('Display', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showDescription]', 'true')),
    560                 'play'                        => array('type' => 'radio' , 'default' => $data['play']                       , 'description' => $descriptions['play']                       , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    561                 'loop'                        => array('type' => 'radio' , 'default' => $data['loop']                       , 'description' => $descriptions['loop']                       , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    562                 'pauseOnHover'                => array('type' => 'radio' , 'default' => $data['loop']                       , 'description' => $descriptions['pauseOnHover']               , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    563                 'controllable'                => array('type' => 'radio' , 'default' => $data['controllable']               , 'description' => $descriptions['controllable']               , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    564                 'hideNavigationButtons'       => array('type' => 'radio' , 'default' => $data['hideNavigationButtons']      , 'description' => $descriptions['hideNavigationButtons']      , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controllable]', 'true')),
    565                 'showPagination'              => array('type' => 'radio' , 'default' => $data['showPagination']             , 'description' => $descriptions['showPagination']             , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    566                 'hidePagination'              => array('type' => 'radio' , 'default' => $data['hidePagination']             , 'description' => $descriptions['hidePagination']             , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showPagination]', 'true')),
    567                 'controlPanel'                => array('type' => 'radio' , 'default' => $data['controlPanel']               , 'description' => $descriptions['controlPanel']               , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no)),
    568                 'hideControlPanel'            => array('type' => 'radio' , 'default' => $data['hideControlPanel']           , 'description' => $descriptions['hideControlPanel']           , 'group' => __('Control', 'slideshow-plugin')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controlPanel]', 'true')),
    569                 'waitUntilLoaded'             => array('type' => 'radio' , 'default' => $data['waitUntilLoaded']            , 'description' => $descriptions['waitUntilLoaded']            , 'group' => __('Miscellaneous', 'slideshow-plugin'), 'options' => array('true' => $yes, 'false' => $no)),
    570                 'showLoadingIcon'             => array('type' => 'radio' , 'default' => $data['showLoadingIcon']            , 'description' => $descriptions['showLoadingIcon']            , 'group' => __('Miscellaneous', 'slideshow-plugin'), 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[waitUntilLoaded]', 'true')),
    571                 'random'                      => array('type' => 'radio' , 'default' => $data['random']                     , 'description' => $descriptions['random']                     , 'group' => __('Miscellaneous', 'slideshow-plugin'), 'options' => array('true' => $yes, 'false' => $no)),
    572                 'avoidFilter'                 => array('type' => 'radio' , 'default' => $data['avoidFilter']                , 'description' => $descriptions['avoidFilter']                , 'group' => __('Miscellaneous', 'slideshow-plugin'), 'options' => array('true' => $yes, 'false' => $no))
     547                'animation'                   => array('type' => 'select', 'default' => $data['animation']                  , 'description' => $descriptions['animation']                  , 'group' => __('Animation', 'slideshow-jquery-image-gallery')    , 'options' => array('slide' => __('Slide Left', 'slideshow-jquery-image-gallery'), 'slideRight' => __('Slide Right', 'slideshow-jquery-image-gallery'), 'slideUp' => __('Slide Up', 'slideshow-jquery-image-gallery'), 'slideDown' => __('Slide Down', 'slideshow-jquery-image-gallery'), 'crossFade' => __('Cross Fade', 'slideshow-jquery-image-gallery'), 'directFade' => __('Direct Fade', 'slideshow-jquery-image-gallery'), 'fade' => __('Fade', 'slideshow-jquery-image-gallery'), 'random' => __('Random Animation', 'slideshow-jquery-image-gallery'))),
     548                'slideSpeed'                  => array('type' => 'text'  , 'default' => $data['slideSpeed']                 , 'description' => $descriptions['slideSpeed']                 , 'group' => __('Animation', 'slideshow-jquery-image-gallery')),
     549                'descriptionSpeed'            => array('type' => 'text'  , 'default' => $data['descriptionSpeed']           , 'description' => $descriptions['descriptionSpeed']           , 'group' => __('Animation', 'slideshow-jquery-image-gallery')),
     550                'intervalSpeed'               => array('type' => 'text'  , 'default' => $data['intervalSpeed']              , 'description' => $descriptions['intervalSpeed']              , 'group' => __('Animation', 'slideshow-jquery-image-gallery')),
     551                'slidesPerView'               => array('type' => 'text'  , 'default' => $data['slidesPerView']              , 'description' => $descriptions['slidesPerView']              , 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     552                'maxWidth'                    => array('type' => 'text'  , 'default' => $data['maxWidth']                   , 'description' => $descriptions['maxWidth']                   , 'group' => __('Display', 'slideshow-jquery-image-gallery')),
     553                'aspectRatio'                 => array('type' => 'text'  , 'default' => $data['aspectRatio']                , 'description' => $descriptions['aspectRatio']                , 'group' => __('Display', 'slideshow-jquery-image-gallery')                                                           , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'true')),
     554                'height'                      => array('type' => 'text'  , 'default' => $data['height']                     , 'description' => $descriptions['height']                     , 'group' => __('Display', 'slideshow-jquery-image-gallery')                                                           , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'false')),
     555                'imageBehaviour'              => array('type' => 'select', 'default' => $data['imageBehaviour']             , 'description' => $descriptions['imageBehaviour']             , 'group' => __('Display', 'slideshow-jquery-image-gallery')      , 'options' => array('natural' => __('Natural and centered', 'slideshow-jquery-image-gallery'), 'crop' => __('Crop to fit', 'slideshow-jquery-image-gallery'), 'stretch' => __('Stretch to fit', 'slideshow-jquery-image-gallery'))),
     556                'preserveSlideshowDimensions' => array('type' => 'radio' , 'default' => $data['preserveSlideshowDimensions'], 'description' => $descriptions['preserveSlideshowDimensions'], 'group' => __('Display', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[enableResponsiveness]', 'true')),
     557                'enableResponsiveness'        => array('type' => 'radio' , 'default' => $data['enableResponsiveness']       , 'description' => $descriptions['enableResponsiveness']       , 'group' => __('Display', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     558                'showDescription'             => array('type' => 'radio' , 'default' => $data['showDescription']            , 'description' => $descriptions['showDescription']            , 'group' => __('Display', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     559                'hideDescription'             => array('type' => 'radio' , 'default' => $data['hideDescription']            , 'description' => $descriptions['hideDescription']            , 'group' => __('Display', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showDescription]', 'true')),
     560                'play'                        => array('type' => 'radio' , 'default' => $data['play']                       , 'description' => $descriptions['play']                       , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     561                'loop'                        => array('type' => 'radio' , 'default' => $data['loop']                       , 'description' => $descriptions['loop']                       , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     562                'pauseOnHover'                => array('type' => 'radio' , 'default' => $data['loop']                       , 'description' => $descriptions['pauseOnHover']               , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     563                'controllable'                => array('type' => 'radio' , 'default' => $data['controllable']               , 'description' => $descriptions['controllable']               , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     564                'hideNavigationButtons'       => array('type' => 'radio' , 'default' => $data['hideNavigationButtons']      , 'description' => $descriptions['hideNavigationButtons']      , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controllable]', 'true')),
     565                'showPagination'              => array('type' => 'radio' , 'default' => $data['showPagination']             , 'description' => $descriptions['showPagination']             , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     566                'hidePagination'              => array('type' => 'radio' , 'default' => $data['hidePagination']             , 'description' => $descriptions['hidePagination']             , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showPagination]', 'true')),
     567                'controlPanel'                => array('type' => 'radio' , 'default' => $data['controlPanel']               , 'description' => $descriptions['controlPanel']               , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no)),
     568                'hideControlPanel'            => array('type' => 'radio' , 'default' => $data['hideControlPanel']           , 'description' => $descriptions['hideControlPanel']           , 'group' => __('Control', 'slideshow-jquery-image-gallery')      , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controlPanel]', 'true')),
     569                'waitUntilLoaded'             => array('type' => 'radio' , 'default' => $data['waitUntilLoaded']            , 'description' => $descriptions['waitUntilLoaded']            , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no)),
     570                'showLoadingIcon'             => array('type' => 'radio' , 'default' => $data['showLoadingIcon']            , 'description' => $descriptions['showLoadingIcon']            , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[waitUntilLoaded]', 'true')),
     571                'random'                      => array('type' => 'radio' , 'default' => $data['random']                     , 'description' => $descriptions['random']                     , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no)),
     572                'avoidFilter'                 => array('type' => 'radio' , 'default' => $data['avoidFilter']                , 'description' => $descriptions['avoidFilter']                , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no))
    573573            );
    574574        }
     
    608608        {
    609609            $data = array(
    610                 'style' => array('type' => 'select', 'default' => $data['style'], 'description' => __('The style used for this slideshow', 'slideshow-plugin'), 'options' => SlideshowPluginGeneralSettings::getStylesheets()),
     610                'style' => array('type' => 'select', 'default' => $data['style'], 'description' => __('The style used for this slideshow', 'slideshow-jquery-image-gallery'), 'options' => SlideshowPluginGeneralSettings::getStylesheets()),
    611611            );
    612612        }
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginSlideshowStylesheet.php

    r1226989 r1247669  
    8181    public static function enqueueStylesheet($name = null)
    8282    {
    83         if (self::isCustomStylesheet($name))
    84         {
    85             $version = get_option($name . '_version', SlideshowPluginMain::$version);
    86 
    87             if (!self::$allStylesheetsRegistered)
    88             {
    89                 wp_enqueue_style(
    90                     'slideshow-jquery-image-gallery-ajax-stylesheet_' . $name,
    91                     admin_url('admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=' . $name, 'admin'),
    92                     array(),
    93                     $version
    94                 );
    95             }
    96         }
    97         else
    98         {
    99             $name    = str_replace('.css', '', $name);
    100             $version = SlideshowPluginMain::$version;
    101 
    102             if (!self::$allStylesheetsRegistered)
    103             {
    104                 wp_enqueue_style(
    105                     'slideshow-jquery-image-gallery-stylesheet_' . $name,
    106                     SlideshowPluginMain::getPluginUrl() . '/css/' . $name . '.css',
    107                     array(),
    108                     $version
    109                 );
    110             }
     83        $enqueueDynamicStylesheet = true;
     84        $version                  = SlideshowPluginMain::$version;
     85
     86        if (isset($name))
     87        {
     88            // Try to get the custom style's version
     89            $customStyle        = get_option($name, false);
     90            $customStyleVersion = false;
     91
     92            if ($customStyle)
     93            {
     94                $customStyleVersion = get_option($name . '_version', false);
     95            }
     96
     97            // Style name and version
     98            if ($customStyle && $customStyleVersion)
     99            {
     100                $version = $customStyleVersion;
     101            }
     102            else
     103            {
     104                $enqueueDynamicStylesheet = false;
     105                $name                     = str_replace('.css', '', $name);
     106            }
     107        }
     108        else
     109        {
     110            $enqueueDynamicStylesheet = false;
     111            $name                     = 'style-light';
     112        }
     113
     114        // Enqueue stylesheet
     115        if ($enqueueDynamicStylesheet)
     116        {
     117            wp_enqueue_style(
     118                'slideshow-jquery-image-gallery-ajax-stylesheet_' . $name,
     119                admin_url('admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=' . $name, 'admin'),
     120                array(),
     121                $version
     122            );
     123        }
     124        else
     125        {
     126            wp_enqueue_style(
     127                'slideshow-jquery-image-gallery-stylesheet_' . $name,
     128                SlideshowPluginMain::getPluginUrl() . '/css/' . $name . '.css',
     129                array(),
     130                $version
     131            );
    111132        }
    112133
     
    167188    public static function getStylesheet($styleName)
    168189    {
    169         // Check if $styleName is a custom stylesheet
    170         if (self::isCustomStylesheet($styleName))
     190        // Get custom style keys
     191        $customStyleKeys = array_keys(get_option(SlideshowPluginGeneralSettings::$customStyles, array()));
     192
     193        // Match $styleName against custom style keys
     194        if (in_array($styleName, $customStyleKeys))
    171195        {
    172196            // Get custom stylesheet
     
    197221        return $stylesheet;
    198222    }
    199 
    200     /**
    201      * Checks if the passed $styleName is a custom stylesheet or not.
    202      *
    203      * @since 2.2.23
    204      * @param string $styleName
    205      * @return boolean $isCustomStyle
    206      */
    207     public static function isCustomStylesheet($styleName)
    208     {
    209         // Get array of custom style keys and check if $styleName is in this array
    210         return in_array($styleName, array_keys(get_option(SlideshowPluginGeneralSettings::$customStyles, array())));
    211     }
    212223}
  • slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginWidget.php

    r1226951 r1247669  
    2121        $options = array(
    2222            'classname'   => 'SlideshowWidget',
    23             'description' => __('Enables you to show your slideshows in the widget area of your website.', 'slideshow-plugin')
     23            'description' => __('Enables you to show your slideshows in the widget area of your website.', 'slideshow-jquery-image-gallery')
    2424        );
    2525
     
    2727        parent::__construct(
    2828            'slideshowWidget',
    29             __('Slideshow Widget', 'slideshow-plugin'),
     29            __('Slideshow Widget', 'slideshow-jquery-image-gallery'),
    3030            $options
    3131        );
     
    9494        // Defaults
    9595        $defaults = array(
    96             'title'       => __(self::$widgetName, 'slideshow-plugin'),
     96            'title'       => __(self::$widgetName, 'slideshow-jquery-image-gallery'),
    9797            'slideshowId' => -1
    9898        );
  • slideshow-jquery-image-gallery/trunk/readme.txt

    r1226989 r1247669  
    66Requires at least: 3.5
    77Tested up to: 4.3
    8 Stable tag: 2.2.24
     8Stable tag: 2.2.25
    99License: GPLv2
    1010
     
    1414== Description ==
    1515
    16 Slideshow provides an easy way to integrate multiple slideshows in any WordPress installation.
    17 
    18 Any image can be loaded into a slideshow using the default WordPress media uploader, even images you've already
     16Slideshow provides an easy way to integrate a slideshow for any WordPress installation.
     17
     18Any image can be loaded into the slideshow by picking it from the WordPress media page, even images you've already
    1919uploaded can be inserted into your slideshow right away!
    2020
     
    3333 - Change animations and handling
    3434 - Customize to taste
    35  - Show that visitor who's the boss
     35 - Show that visitor who's boss
    3636
    3737= Languages =
     
    5555 - Russian        (100% - ru_RU - Translated by [Coupofy](http://www.coupofy.com/) and Dmitry Fatakov)
    5656 - Serbo-Croatian (91%  - sr_RS - Translated by [Webhosting Hub](http://www.webhostinghub.com/))
    57  - Spanish        (100% - es_ES - Translated by [Manuel Ballesta Ruiz](http://mbrsolution.com/) and [Violeta Rosales](https://twitter.com/violetisha))
     57 - Spanish        (51%  - es_ES - Translated by [Violeta Rosales](https://twitter.com/violetisha))
    5858 - Swedish        (91%  - sv_SE - Translated by [Åke Isacsson](http://www.nojdkund.se/) and Wilhelm Svenselius)
    5959 - Turkish        (83%  - tr_TR - Translated by [İlker Akdoğan](http://www.kelkirpi.net/))
    6060 - Ukrainian      (100% - uk_UK - Translated by [Coupofy](http://www.coupofy.com/))
    6161
    62 Feel free to send me your own translation of the plugin to my e-mail address: [email protected]. The original
    63 translation file can be downloaded
    64 [by clicking here](http://plugins.svn.wordpress.org/slideshow-jquery-image-gallery/trunk/languages/slideshow-plugin-original.po)
    65 and saving the page to your computer. This file can be easily edited with [PoEdit](http://www.poedit.net/), a free
    66 translation tool. Many thanks in advance!
    67 
    6862= Project board =
    6963
     
    83772. After activating Slideshow, click on 'Slideshows' and create a new slideshow.
    8478
    85 3. Click on 'Image slide' to insert an image slide. The WordPress media uploader will appear, which allows you to choose
    86 or upload the desired image to the slideshow. Insert the image by clicking the 'Select' button. To insert text slides and
    87 YouTube video slides, click the 'Text slide' or the 'Video slide' button respectively. Don't forget to save your progress!
    88 
    89 4. Go to a post or a page and click the 'Insert Slideshow' button above the editor. A screen will appear in which you can
    90 select your newly created slideshow. You can also use the shortcode or code snippet visible in your slideshow's edit page
    91 to deploy your slideshow anywhere on your website. Use the widget to show any of your slideshows in the widget area of your
    92 website.
     793. Click on 'Insert Image Slide' to insert an image slide, a popup will appear where you can search for the desired
     80image. Insert the image by clicking 'Insert'. The same goes for text and video slides, don't forget to save!
     81
     824. Go to a post or a page and click the 'Insert Slideshow' button above the editor. A popup appears where you can select
     83your newly created slideshow to insert. You can also use the shortcode or code snippet visible in your slideshow admin
     84panel to deploy your slideshow anywhere on your website. Use the widget to show any of your slideshows in the sidebar
     85of your website.
    9386
    94875. Feel like a sir.
     
    9992= How do I add image slides? =
    10093
    101 Click the 'Image slide' button in the 'Slides List' of the slideshow. The WordPress media uploader will pop up, in which
    102 you'll be able to search all images that have already been uploaded to your WordPress website. If you'd like to add new
    103 images to the slideshow, you'll be able to upload them right away from the media uploader. (Provided you're running a
    104 WordPress installation of version 3.5 or later)
     94Click the 'Image slide' button in the 'Slides List' of the slideshow. A screen will pop up where you'll be able to
     95search though all images that have already been uploaded to your WordPress website. If you want to add new images to the
     96slideshow, or you do not have any images yet, you'll have to upload them to the WordPress media page first.
    10597
    10698= How do I change a slideshow's settings? =
    10799
    108 Just like WordPress' posts and pages you're already familiar with, slideshows can be edited. Go to the 'Slideshows' tab
    109 in your WordPress admin panel, and you'll see a list of slideshows. If you have not created a slideshow yet, you
    110 can do so by clicking 'Add new' on that same page. If there are slideshows in the list, click the title of the slideshow
    111 of which you'd like to change the settings. On the slideshow's edit page you'll be able to find a box titled 'Slideshow Settings',
    112 in this box you can change the slideshow's settings.
    113 
    114 If you're creating multiple slideshows which should have the same settings, but you'd like the settings to be different
    115 from the default ones, you can change the default settings by going to the 'General Settings' page and clicking on the
     100Just like the posts and pages you're already familiar with, slideshows can be edited. Go to the 'Slideshows' tab in your
     101WordPress admin, and you'll see a list of slideshows. If you have not created a slideshow yet, you can do so by clicking
     102'Add new' on that same page. If there are slideshows in the list, click on the title of the slideshow you want to change
     103the settings of. On the slideshow's edit page you'll be able to find a box titled 'Slideshow Settings', in this box you
     104can change the slideshow's settings.
     105
     106If you're creating multiple slideshows that should have the same settings, but their settings need to be different from
     107the default settings, you can change the default settings by going to the 'General Settings' page and clicking on the
    116108'Default Slideshow Settings' tab. Newly created slideshows will start off with the settings you set there.
    117109
     
    128120
    129121If you've already created a custom stylesheet, you can edit it by clicking 'Edit'. You can also delete it by clicking
    130 'Delete'. Careful, a deleted stylesheet cannot be retrieved and cannot be used by any slideshow
     122'Delete'. Be careful with this though, a deleted stylesheet cannot be retrieved and cannot be used by any slideshow
    131123anymore.
    132124
    133125= Some users can add, edit or delete slideshows, although I do not want them to. Can I prevent this from happening? =
    134126
    135 Yes you can. In your WordPress admin panel, go to the 'Slideshows' menu item and click on 'General Settings', then go to
     127Yes you can. On your WordPress admin page, go to the 'Slideshows' menu item and click on 'General Settings', then go to
    136128the 'User Capabilities' tab (If you're not already there). The privileges that allow user groups to perform certain
    137129actions are listed here. To allow, for instance, a contributor to add a slideshow, click the box in front of 'Contributor'
     
    144136= The slideshow does not show up =
    145137
    146 - The slideshow is often called after the `</head>` tag, which means the scripts and stylesheet need to load in the footer
     138- The slideshow is mostly called after the `</head>` tag, which means the scripts and stylesheet need to load in the footer
    147139of the website. A theme that has no `<?php wp_footer(); ?>` call in it's footer will not be able to load the slideshow's
    148140scripts.
    149141
    150142- Often when the slideshow isn't showing, there's a javascript error somewhere on the page and this error has caused
    151 JavaScript to break. For the slideshow to work again, this error needs to be fixed. Check if any errors were thrown by
    152 opening Google Chrome or Firefox (with Firebug installed) and opening the console.
     143javascript to break. For the slideshow to work again, this error needs to be fixed. Check if any errors were thrown by
     144opening Google Chrome or Firefox (with Firebug installed) and press the 'F12' key. Errors show in the console tab.
    153145
    154146= Why does Internet Explorer show a big blank space above the slideshow? =
     
    184176
    185177== Changelog ==
     178
     179= 2.2.25 =
     180*   Changed localization domain to match the plugin's slug in order to support language packs.
    186181
    187182= 2.2.24 =
     
    208203*   Fixed: Slideshow container calculation now uses the JavaScript round function instead of the floor function.
    209204*   Fixed: Separated assignment of $sessionID and increment of SlideshowPlugin::$sessionCounter.
    210 *   Added Norwegian translation.
    211 *   Updated Persian translation, thanks to W3Design.
    212 *   Updated German translation.
    213 *   Updated Brazilian Portuguese translation.
     205*   Added Norwegian translation by A. Nonymous.
     206*   Updated Persian translation by W3Design.
     207*   Updated German translation by A. Nonymous.
     208*   Updated Brazilian Portuguese by A. Nonymous.
    214209
    215210= 2.2.21 =
     
    229224*   New tags are available for custom stylesheets: %site-url%, %stylesheet-url% and %template-url%
    230225*   Fixed: When the slideshow would not have any height, slides would not hide outside of the slideshow.
    231 *   Added Serbo-Croatian translation, thanks to Webhosting Hub.
    232 *   Updated Persian translation, thanks to W3Design.
    233 *   Updated Chinese translation, thanks to Leo Newbiesup.
    234 *   Updated Swedish translation, thanks to Wilhelm Svenselius.
     226*   Added Serbo-Croatian translation by Webhosting Hub.
     227*   Updated Persian translation by W3Design.
     228*   Updated Chinese translation by Leo Newbiesup.
     229*   Updated Swedish translation by Wilhelm Svenselius.
    235230
    236231= 2.2.19 =
     
    246241*   Disappearing settings now have a more apparent animation.
    247242*   Fixed: First slide of a slideshow wouldn't show when the slideshow's content had no size on page load.
    248 *   Added Brazilian Portuguese translation, thanks to Piero Luiz.
    249 *   Updated French translation, thanks to Romain Sandri.
     243*   Added Brazilian Portuguese translation by Piero Luiz.
     244*   Updated French translation by Romain Sandri.
    250245
    251246= 2.2.17 =
     
    280275*   Slideshow can now wait for a slide to load before showing it.
    281276*   Fixed: The 'Enable responsiveness' setting disappeared when disabling the 'Show title and description' option.
    282 *   Added Turkish translation, thanks to İlker Akdoğan.
    283 *   Added Polish translation, thanks to Wicher Wiater.
    284 *   Added Finnish translation.
    285 *   Updated French translation, thanks to Romain Sandri.
    286 *   Added Portuguese translation, thanks to Filipe Catraia.
    287 *   Added Persian translation, thanks to W3Design.
    288 *   Added Italian translation, thanks to Tecnikgeek.
    289 *   Added Japanese translation, thanks to Michihide Hotta.
     277*   Added Turkish translation by İlker Akdoğan.
     278*   Added Polish translation by Wicher Wiater.
     279*   Added Finnish translation by an anonymous supporter.
     280*   Updated French translation by Romain Sandri.
     281*   Added Portuguese translation by Filipe Catraia.
     282*   Added Persian translation by W3Design.
     283*   Added Italian translation by Tecnikgeek.
     284*   Added Japanese translation by Michihide Hotta.
    290285
    291286= 2.2.11 =
     
    294289*   Fixed: Sites that don't support URL data weren't able to load a slideshow's stylesheet correctly.
    295290*   Fixed: Slideshow randomly disappeared in Internet Explorer 8 when absolute positioning was used.
    296 *   Added Swedish translation, thanks to Åke Isacsson.
    297 *   Added Hebrew translation, thanks to Eli Segev.
     291*   Added Swedish translation by Åke Isacsson.
     292*   Added Hebrew translation by Eli Segev.
    298293
    299294= 2.2.10 =
     
    341336*   Live width calculations have been halved to improve performance.
    342337*   Default settings have been tuned to cater better to most users.
    343 *   Added Czech translation, thanks to Edhel.
     338*   Added Czech translation by Edhel.
    344339
    345340= 2.2.1 =
  • slideshow-jquery-image-gallery/trunk/slideshow.php

    r1226951 r1247669  
    44 Plugin URI: http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/
    55 Description: The slideshow plugin is easily deployable on your website. Add any image that has already been uploaded to add to your slideshow, add text slides, or even add a video. Options and styles are customizable for every single slideshow on your website.
    6  Version: 2.2.24
     6 Version: 2.2.25
    77 Requires at least: 3.5
    88 Author: StefanBoonstra
    99 Author URI: http://stefanboonstra.com/
    1010 License: GPLv2
    11  Text Domain: slideshow-plugin
     11 Text Domain: slideshow-jquery-image-gallery
    1212*/
    1313
     
    2323{
    2424    /** @var string $version */
    25     static $version = '2.2.24';
     25    static $version = '2.2.25';
    2626
    2727    /**
     
    119119    {
    120120        load_plugin_textdomain(
    121             'slideshow-plugin',
     121            'slideshow-jquery-image-gallery',
    122122            false,
    123123            dirname(plugin_basename(__FILE__)) . '/languages/'
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPlugin/slideshow.php

    r1226951 r1247669  
    2121    </div>
    2222
    23     <div class="slideshow_controlPanel slideshow_transparent" style="display: none;"><ul><li class="slideshow_togglePlay" data-play-text="<?php _e('Play', 'slideshow-plugin'); ?>" data-pause-text="<?php _e('Pause', 'slideshow-plugin'); ?>"></li></ul></div>
     23    <div class="slideshow_controlPanel slideshow_transparent" style="display: none;"><ul><li class="slideshow_togglePlay" data-play-text="<?php _e('Play', 'slideshow-jquery-image-gallery'); ?>" data-pause-text="<?php _e('Pause', 'slideshow-jquery-image-gallery'); ?>"></li></ul></div>
    2424
    25     <div class="slideshow_button slideshow_previous slideshow_transparent" role="button" data-previous-text="<?php _e('Previous', 'slideshow-plugin'); ?>" style="display: none;"></div>
    26     <div class="slideshow_button slideshow_next slideshow_transparent" role="button" data-next-text="<?php _e('Next', 'slideshow-plugin'); ?>" style="display: none;"></div>
     25    <div class="slideshow_button slideshow_previous slideshow_transparent" role="button" data-previous-text="<?php _e('Previous', 'slideshow-jquery-image-gallery'); ?>" style="display: none;"></div>
     26    <div class="slideshow_button slideshow_next slideshow_transparent" role="button" data-next-text="<?php _e('Next', 'slideshow-jquery-image-gallery'); ?>" style="display: none;"></div>
    2727
    28     <div class="slideshow_pagination" style="display: none;" data-go-to-text="<?php _e('Go to slide', 'slideshow-plugin'); ?>"><div class="slideshow_pagination_center"></div></div>
     28    <div class="slideshow_pagination" style="display: none;" data-go-to-text="<?php _e('Go to slide', 'slideshow-jquery-image-gallery'); ?>"><div class="slideshow_pagination_center"></div></div>
    2929
    3030    <!-- WordPress Slideshow Version <?php echo SlideshowPluginMain::$version; ?> -->
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/custom-styles-tab.php

    r879367 r1247669  
    44$defaultStyles      = array();
    55$defaultStylesheets = array(
    6     'style-light.css' => __('Light', 'slideshow-plugin'),
    7     'style-dark.css' => __('Dark', 'slideshow-plugin')
     6    'style-light.css' => __('Light', 'slideshow-jquery-image-gallery'),
     7    'style-dark.css' => __('Dark', 'slideshow-jquery-image-gallery')
    88);
    99
     
    4444
    4545        <p>
    46             <b><?php _e('Default stylesheets', 'slideshow-plugin'); ?></b>
     46            <b><?php _e('Default stylesheets', 'slideshow-jquery-image-gallery'); ?></b>
    4747        </p>
    4848
     
    5858                        <span
    5959                            class="style-action style-default <?php htmlspecialchars($defaultStyleKey); ?>"
    60                             title="<?php _e('Create a new custom style from this style', 'slideshow-plugin'); ?>"
     60                            title="<?php _e('Create a new custom style from this style', 'slideshow-jquery-image-gallery'); ?>"
    6161                            >
    62                             <?php _e('Customize', 'slideshow-plugin'); ?> &raquo;
     62                            <?php _e('Customize', 'slideshow-jquery-image-gallery'); ?> &raquo;
    6363                        </span>
    6464
     
    7474
    7575        <p>
    76             <b><?php _e('Custom stylesheets', 'slideshow-plugin'); ?></b>
     76            <b><?php _e('Custom stylesheets', 'slideshow-jquery-image-gallery'); ?></b>
    7777        </p>
    7878
     
    8787                        <span
    8888                            class="style-action <?php echo htmlspecialchars($customStyleKey); ?>"
    89                             title="<?php _e('Edit this style', 'slideshow-plugin'); ?>"
     89                            title="<?php _e('Edit this style', 'slideshow-jquery-image-gallery'); ?>"
    9090                            >
    91                             <?php _e('Edit', 'slideshow-plugin'); ?> &raquo;
     91                            <?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> &raquo;
    9292                        </span>
    9393
     
    9696                        <span
    9797                            class="style-delete <?php echo htmlspecialchars($customStyleKey); ?>"
    98                             title="<?php _e('Delete this style', 'slideshow-plugin'); ?>"
     98                            title="<?php _e('Delete this style', 'slideshow-jquery-image-gallery'); ?>"
    9999                            >
    100                             <?php _e('Delete', 'slideshow-plugin'); ?>
     100                            <?php _e('Delete', 'slideshow-jquery-image-gallery'); ?>
    101101                        </span>
    102102
     
    124124
    125125        <p>
    126             <b><?php _e('Custom style editor', 'slideshow-plugin'); ?></b>
     126            <b><?php _e('Custom style editor', 'slideshow-jquery-image-gallery'); ?></b>
    127127        </p>
    128128
    129129        <p class="style-editor">
    130             <?php _e('Select a stylesheet to start customizing it.', 'slideshow-plugin'); ?>
     130            <?php _e('Select a stylesheet to start customizing it.', 'slideshow-jquery-image-gallery'); ?>
    131131        </p>
    132132
     
    137137
    138138                <p>
    139                     <i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
     139                    <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br />
    140140                    <input
    141141                        type="text"
    142142                        name="<?php echo SlideshowPluginGeneralSettings::$customStyles; ?>[<?php echo htmlspecialchars($customStyleKey); ?>][title]"
    143                         value="<?php echo (isset($customStyleKeys[$customStyleKey]) && !empty($customStyleKeys[$customStyleKey])) ? $customStyleKeys[$customStyleKey] : __('Untitled', 'slideshow-plugin'); ?>"
     143                        value="<?php echo (isset($customStyleKeys[$customStyleKey]) && !empty($customStyleKeys[$customStyleKey])) ? $customStyleKeys[$customStyleKey] : __('Untitled', 'slideshow-jquery-image-gallery'); ?>"
    144144                    />
    145145                </p>
    146146
    147147                <p>
    148                     <i><?php _e('Style', 'slideshow-plugin'); ?></i><br />
     148                    <i><?php _e('Style', 'slideshow-jquery-image-gallery'); ?></i><br />
    149149                    <textarea
    150150                        name="<?php echo SlideshowPluginGeneralSettings::$customStyles; ?>[<?php echo htmlspecialchars($customStyleKey); ?>][style]"
     
    170170                    <span
    171171                        class="style-action"
    172                         title="<?php _e('Edit this style', 'slideshow-plugin'); ?>"
     172                        title="<?php _e('Edit this style', 'slideshow-jquery-image-gallery'); ?>"
    173173                        >
    174                         <?php _e('Edit', 'slideshow-plugin'); ?> &raquo;
     174                        <?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> &raquo;
    175175                    </span>
    176176
     
    179179                    <span
    180180                        class="style-delete"
    181                         title="<?php _e('Delete this style', 'slideshow-plugin'); ?>"
     181                        title="<?php _e('Delete this style', 'slideshow-jquery-image-gallery'); ?>"
    182182                        >
    183                         <?php _e('Delete', 'slideshow-plugin'); ?>
     183                        <?php _e('Delete', 'slideshow-jquery-image-gallery'); ?>
    184184                    </span>
    185185
     
    190190
    191191            <p>
    192                 <i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
     192                <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br />
    193193                <input
    194194                    type="text"
     
    198198
    199199            <p>
    200                 <i><?php _e('Style', 'slideshow-plugin'); ?></i><br />
     200                <i><?php _e('Style', 'slideshow-jquery-image-gallery'); ?></i><br />
    201201                <textarea
    202202                    class="new-custom-style-content"
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/default-slideshow-settings-tab.php

    r879367 r1247669  
    99<div class="default-slideshow-settings-tab" style="display: none; float: none;">
    1010    <p>
    11         <strong><?php _e('Note', 'slideshow-plugin'); ?>:</strong>
     11        <strong><?php _e('Note', 'slideshow-jquery-image-gallery'); ?>:</strong>
    1212    </p>
    1313
     
    1616
    1717        echo sprintf(__(
    18             'The settings set on this page apply only to newly created slideshows and therefore do not alter any existing ones. To adapt a slideshow\'s settings, %sclick here.%s', 'slideshow-plugin'),
     18            'The settings set on this page apply only to newly created slideshows and therefore do not alter any existing ones. To adapt a slideshow\'s settings, %sclick here.%s', 'slideshow-jquery-image-gallery'),
    1919            '<a href="' . get_admin_url(null, 'edit.php?post_type=' . SlideshowPluginPostType::$postType) . '">',
    2020            '</a>'
     
    2727<div class="default-slideshow-settings-tab feature-filter" style="display: none;">
    2828
    29     <h4><?php _e('Default Slideshow Settings', 'slideshow-plugin'); ?></h4>
     29    <h4><?php _e('Default Slideshow Settings', 'slideshow-jquery-image-gallery'); ?></h4>
    3030
    3131    <table>
     
    3939            <td colspan="3" style="border-bottom: 1px solid #dfdfdf; text-align: center;">
    4040                <span style="display: inline-block; position: relative; top: 14px; padding: 0 12px; background: #fff;">
    41                     <?php echo $defaultSettingValue['group']; ?> <?php _e('settings', 'slideshow-plugin'); ?>
     41                    <?php echo $defaultSettingValue['group']; ?> <?php _e('settings', 'slideshow-jquery-image-gallery'); ?>
    4242                </span>
    4343            </td>
     
    7575<div class="default-slideshow-settings-tab feature-filter" style="display: none;">
    7676
    77     <h4><?php _e('Default Slideshow Stylesheet', 'slideshow-plugin'); ?></h4>
     77    <h4><?php _e('Default Slideshow Stylesheet', 'slideshow-jquery-image-gallery'); ?></h4>
    7878
    7979    <table>
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/general-settings-tab.php

    r761395 r1247669  
    99// Capabilities
    1010$capabilities = array(
    11     SlideshowPluginGeneralSettings::$capabilities['addSlideshows']    => __('Add slideshows', 'slideshow-plugin'),
    12     SlideshowPluginGeneralSettings::$capabilities['editSlideshows']   => __('Edit slideshows', 'slideshow-plugin'),
    13     SlideshowPluginGeneralSettings::$capabilities['deleteSlideshows'] => __('Delete slideshows', 'slideshow-plugin')
     11    SlideshowPluginGeneralSettings::$capabilities['addSlideshows']    => __('Add slideshows', 'slideshow-jquery-image-gallery'),
     12    SlideshowPluginGeneralSettings::$capabilities['editSlideshows']   => __('Edit slideshows', 'slideshow-jquery-image-gallery'),
     13    SlideshowPluginGeneralSettings::$capabilities['deleteSlideshows'] => __('Delete slideshows', 'slideshow-jquery-image-gallery')
    1414);
    1515
     
    1818<div class="general-settings-tab feature-filter">
    1919
    20     <h4><?php _e('User Capabilities', 'slideshow-plugin'); ?></h4>
     20    <h4><?php _e('User Capabilities', 'slideshow-jquery-image-gallery'); ?></h4>
    2121
    22     <p><?php _e('Select the user roles that will able to perform certain actions.', 'slideshow-plugin');  ?></p>
     22    <p><?php _e('Select the user roles that will able to perform certain actions.', 'slideshow-jquery-image-gallery');  ?></p>
    2323
    2424    <table>
     
    3636                        $disabled = ($roleSlug == 'administrator') ? 'disabled="disabled"' : '';
    3737                        $checked = ((isset($values['capabilities']) && array_key_exists($capability, $values['capabilities']) && $values['capabilities'][$capability] == true) || $roleSlug == 'administrator') ? 'checked="checked"' : '';
    38                         $name = (isset($values['name'])) ? htmlspecialchars($values['name']) : __('Untitled role', 'slideshow-plugin');
     38                        $name = (isset($values['name'])) ? htmlspecialchars($values['name']) : __('Untitled role', 'slideshow-jquery-image-gallery');
    3939
    4040                        ?>
     
    6363<div class="general-settings-tab feature-filter">
    6464
    65     <h4><?php _e('Settings', 'slideshow-plugin'); ?></h4>
     65    <h4><?php _e('Settings', 'slideshow-jquery-image-gallery'); ?></h4>
    6666
    6767    <table>
    6868        <tr>
    69             <td><?php _e('Stylesheet location', 'slideshow-plugin'); ?></td>
     69            <td><?php _e('Stylesheet location', 'slideshow-jquery-image-gallery'); ?></td>
    7070            <td>
    7171                <select name="<?php echo SlideshowPluginGeneralSettings::$stylesheetLocation; ?>">
    72                     <option value="head" <?php selected('head', $stylesheetLocation); ?>>Head (<?php _e('top', 'slideshow-plugin'); ?>)</option>
    73                     <option value="footer" <?php selected('footer', $stylesheetLocation); ?>>Footer (<?php _e('bottom', 'slideshow-plugin'); ?>)</option>
     72                    <option value="head" <?php selected('head', $stylesheetLocation); ?>>Head (<?php _e('top', 'slideshow-jquery-image-gallery'); ?>)</option>
     73                    <option value="footer" <?php selected('footer', $stylesheetLocation); ?>>Footer (<?php _e('bottom', 'slideshow-jquery-image-gallery'); ?>)</option>
    7474                </select>
    7575            </td>
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/general-settings.php

    r761395 r1247669  
    1212        <div class="icon32" style="background: url('<?php echo SlideshowPluginMain::getPluginUrl() . '/images/SlideshowPluginPostType/adminIcon32.png'; ?>');"></div>
    1313        <h2 class="nav-tab-wrapper">
    14             <a href="#general-settings-tab" class="nav-tab nav-tab-active"><?php _e('General Settings', 'slideshow-plugin'); ?></a>
    15             <a href="#default-slideshow-settings-tab" class="nav-tab"><?php _e('Default Slideshow Settings', 'slideshow-plugin'); ?></a>
    16             <a href="#custom-styles-tab" class="nav-tab"><?php _e('Custom Styles', 'slideshow-plugin'); ?></a>
     14            <a href="#general-settings-tab" class="nav-tab nav-tab-active"><?php _e('General Settings', 'slideshow-jquery-image-gallery'); ?></a>
     15            <a href="#default-slideshow-settings-tab" class="nav-tab"><?php _e('Default Slideshow Settings', 'slideshow-jquery-image-gallery'); ?></a>
     16            <a href="#custom-styles-tab" class="nav-tab"><?php _e('Custom Styles', 'slideshow-jquery-image-gallery'); ?></a>
    1717
    1818            <?php submit_button(null, 'primary', null, false, 'style="float: right;"'); ?>
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/information.php

    r761395 r1247669  
    1 <p><?php _e('To use this slideshow in your website either add this piece of shortcode to your posts or pages', 'slideshow-plugin'); ?>:</p>
     1<p><?php _e('To use this slideshow in your website either add this piece of shortcode to your posts or pages', 'slideshow-jquery-image-gallery'); ?>:</p>
    22<p><i><?php echo $shortCode; ?></i></p>
    33
    44<?php if(current_user_can('edit_themes')): ?>
    5 <p><?php _e('Or add this piece of code to where ever in your website you want to place the slideshow', 'slideshow-plugin'); ?>:</p>
     5<p><?php _e('Or add this piece of code to where ever in your website you want to place the slideshow', 'slideshow-jquery-image-gallery'); ?>:</p>
    66<p><i><?php echo $snippet; ?></i></p>
    77<?php endif; ?>
    88
    9 <p><?php echo sprintf(__('Or go to the %swidgets page%s and show the slideshow as a widget.', 'slideshow-plugin'), '<a href="' . get_admin_url(null, 'widgets.php') . '" target="_blank">', '</a>'); ?></p>
     9<p><?php echo sprintf(__('Or go to the %swidgets page%s and show the slideshow as a widget.', 'slideshow-jquery-image-gallery'), '<a href="' . get_admin_url(null, 'widgets.php') . '" target="_blank">', '</a>'); ?></p>
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/settings.php

    r879367 r1247669  
    1010        <td colspan="3" style="border-bottom: 1px solid #e5e5e5; text-align: center;">
    1111            <span style="display: inline-block; position: relative; top: 14px; padding: 0 12px; background: #fff;">
    12                 <?php echo $value['group']; ?> <?php _e('settings', 'slideshow-plugin'); ?>
     12                <?php echo $value['group']; ?> <?php _e('settings', 'slideshow-jquery-image-gallery'); ?>
    1313            </span>
    1414        </td>
     
    2424        <td><?php echo $value['description']; ?></td>
    2525        <td><?php echo SlideshowPluginSlideshowSettingsHandler::getInputField(SlideshowPluginSlideshowSettingsHandler::$settingsKey, htmlspecialchars($key), $value); ?></td>
    26         <td><?php _e('Default', 'slideshow-plugin'); ?>: &#39;<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>&#39;</td>
     26        <td><?php _e('Default', 'slideshow-jquery-image-gallery'); ?>: &#39;<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>&#39;</td>
    2727    </tr>
    2828
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/slides.php

    r765971 r1247669  
    11<p style="text-align: center;" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
    2     <i><?php _e('Insert', 'slideshow-plugin'); ?>:</i><br/>
     2    <i><?php _e('Insert', 'slideshow-jquery-image-gallery'); ?>:</i><br/>
    33
    44    <?php echo SlideshowPluginSlideInserter::getImageSlideInsertButton(); ?>
     
    88
    99<?php if(count($slides) <= 0): ?>
    10     <p><?php _e('Add slides to this slideshow by using one of the buttons above.', 'slideshow-plugin'); ?></p>
     10    <p><?php _e('Add slides to this slideshow by using one of the buttons above.', 'slideshow-jquery-image-gallery'); ?></p>
    1111<?php endif; ?>
    1212
     
    5252                <h3 class="hndle">
    5353                    <span style="font-size: 0.8em;">
    54                         <?php _e('Text slide', 'slideshow-plugin'); ?>
     54                        <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?>
    5555                    </span>
    5656                </h3>
    5757
    5858                <p style="margin: 5px 15px 5px 5px;">
    59                     <i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
     59                    <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br />
    6060                    <input type="text" name="<?php echo $name; ?>[title]" value="<?php echo $title; ?>" /><br />
    61                     <i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
     61                    <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br />
    6262                    <textarea name="<?php echo $name; ?>[description]" rows="7" cols="" style="width: 100%;"><?php echo $description; ?></textarea><br />
    63                     <i><?php _e('Background color', 'slideshow-plugin'); ?></i><br />
     63                    <i><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></i><br />
    6464                    <input type="text" name="<?php echo $name; ?>[color]" value="<?php echo $color; ?>" class="color {required:false}" />
    6565                </p>
    6666
    6767                <p style="margin: 5px 15px 5px 5px;">
    68                     <i><?php _e('URL', 'slideshow-plugin'); ?></i><br />
     68                    <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br />
    6969                    <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" /><br />
    70                     <i><?php _e('Open URL in', 'slideshow-plugin'); ?></i>
     70                    <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i>
    7171                    <select name="<?php echo $name; ?>[urlTarget]">
    72                         <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-plugin'); ?></option>
    73                         <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-plugin'); ?></option>
     72                        <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     73                        <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    7474                    </select>
    7575                </p>
     
    8888                <h3 class="hndle">
    8989                    <span style="font-size: 0.8em;">
    90                         <?php _e('Video slide', 'slideshow-plugin'); ?>
     90                        <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?>
    9191                    </span>
    9292                </h3>
    9393
    9494                <p style="margin: 5px 15px 5px 5px;">
    95                     <i><?php _e('Youtube Video ID', 'slideshow-plugin'); ?></i><br />
     95                    <i><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></i><br />
    9696                    <input type="text" name="<?php echo $name; ?>[videoId]" value="<?php echo $videoId; ?>" />
    9797                </p>
     
    131131                <h3 class="hndle">
    132132                    <span style="font-size: 0.8em;">
    133                         <?php _e('Image slide', 'slideshow-plugin'); ?>
     133                        <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>
    134134                    </span>
    135135                </h3>
    136136
    137137                <p style="float: left; margin: 5px;">
    138                     <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow-plugin'); ?> &#34;<?php echo $attachment->post_title; ?>&#34;">
     138                    <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> &#34;<?php echo $attachment->post_title; ?>&#34;">
    139139                        <img width="80" height="60" src="<?php echo $imageSrc; ?>" class="attachment-80x60" alt="<?php echo $attachment->post_title; ?>" title="<?php echo $attachment->post_title; ?>" />
    140140                    </a>
     
    142142
    143143                <p style="float: left; margin: 5px 15px 5px 5px;">
    144                     <i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
     144                    <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br />
    145145                    <input type="text" name="<?php echo $name; ?>[title]" value="<?php echo $title; ?>" />
    146146                </p>
     
    148148
    149149                <p style="margin: 5px 15px 5px 5px;">
    150                     <i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
     150                    <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br />
    151151                    <textarea name="<?php echo $name; ?>[description]" rows="3" cols="" style="width: 100%;"><?php echo $description; ?></textarea><br />
    152152                </p>
    153153
    154154                <p style="margin: 5px 15px 5px 5px;">
    155                     <i><?php _e('URL', 'slideshow-plugin'); ?></i><br />
     155                    <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br />
    156156                    <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" /><br />
    157                     <i><?php _e('Open URL in', 'slideshow-plugin'); ?></i>
     157                    <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i>
    158158                    <select name="<?php echo $name; ?>[urlTarget]">
    159                         <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-plugin'); ?></option>
    160                         <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-plugin'); ?></option>
     159                        <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     160                        <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    161161                    </select>
    162162                </p>
     
    169169
    170170                <p style="margin: 5px 15px 5px 5px;">
    171                     <?php _e('An error occurred while loading this slide, and it will not be present in the slideshow', 'slideshow-plugin'); ?>
     171                    <?php _e('An error occurred while loading this slide, and it will not be present in the slideshow', 'slideshow-jquery-image-gallery'); ?>
    172172                </p>
    173173
     
    175175
    176176            <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-slide">
    177                 <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     177                <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    178178                <span style="display: none;" class="<?php echo $id; ?>"></span>
    179179            </p>
     
    189189        <h3 class="hndle">
    190190            <span style="font-size: 0.8em;">
    191                 <?php _e('Text slide', 'slideshow-plugin'); ?>
     191                <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?>
    192192            </span>
    193193        </h3>
    194194
    195195        <p style="margin: 5px 15px 5px 5px;">
    196             <i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
     196            <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br />
    197197            <input type="text" class="title" /><br />
    198             <i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
     198            <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br />
    199199            <textarea class="description" cols="" rows="7" style="width: 100%;"></textarea><br />
    200             <i><?php _e('Background color', 'slideshow-plugin'); ?></i><br />
     200            <i><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></i><br />
    201201            <input type="text" class="color {required:false}" />
    202202        </p>
    203203
    204204        <p style="margin: 5px 15px 5px 5px;">
    205             <i><?php _e('URL', 'slideshow-plugin'); ?></i><br />
     205            <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br />
    206206            <input type="text" class="url" value="" /><br />
    207             <i><?php _e('Open URL in', 'slideshow-plugin'); ?></i>
     207            <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i>
    208208            <select class="urlTarget">
    209                 <option value="_self"><?php _e('Same window', 'slideshow-plugin'); ?></option>
    210                 <option value="_blank"><?php _e('New window', 'slideshow-plugin'); ?></option>
     209                <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     210                <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    211211            </select>
    212212        </p>
     
    216216
    217217        <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-new-slide">
    218             <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     218            <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    219219            <span style="display: none;" class="<?php echo $id; ?>"></span>
    220220        </p>
     
    228228        <h3 class="hndle">
    229229            <span style="font-size: 0.8em;">
    230                 <?php _e('Video slide', 'slideshow-plugin'); ?>
     230                <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?>
    231231            </span>
    232232        </h3>
    233233
    234234        <p style="margin: 5px 15px 5px 5px;">
    235             <i><?php _e('Youtube Video ID', 'slideshow-plugin'); ?></i><br />
     235            <i><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></i><br />
    236236            <input type="text" class="videoId" />
    237237        </p>
     
    241241
    242242        <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-new-slide">
    243             <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     243            <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    244244            <span style="display: none;" class="<?php echo $id; ?>"></span>
    245245        </p>
     
    253253        <h3 class="hndle">
    254254            <span style="font-size: 0.8em;">
    255                 <?php _e('Image slide', 'slideshow-plugin'); ?>
     255                <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>
    256256            </span>
    257257        </h3>
     
    262262
    263263        <p style="float: left; margin: 5px 15px 5px 5px;">
    264             <i><?php _e('Title', 'slideshow-plugin'); ?></i><br />
     264            <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br />
    265265            <input type="text" class="title" />
    266266        </p>
     
    268268
    269269        <p style="margin: 5px 15px 5px 5px;">
    270             <i><?php _e('Description', 'slideshow-plugin'); ?></i><br />
     270            <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br />
    271271            <textarea class="description" rows="3" cols="" style="width: 100%;"></textarea><br />
    272272        </p>
    273273
    274274        <p style="margin: 5px 15px 5px 5px;">
    275             <i><?php _e('URL', 'slideshow-plugin'); ?></i><br />
     275            <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br />
    276276            <input type="text" class="url" value="" /><br />
    277             <i><?php _e('Open URL in', 'slideshow-plugin'); ?></i>
     277            <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i>
    278278            <select class="urlTarget">
    279                 <option value="_self"><?php _e('Same window', 'slideshow-plugin'); ?></option>
    280                 <option value="_blank"><?php _e('New window', 'slideshow-plugin'); ?></option>
     279                <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     280                <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    281281            </select>
    282282        </p>
     
    287287
    288288        <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-new-slide">
    289             <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     289            <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    290290            <span style="display: none;" class="<?php echo $id; ?>"></span>
    291291        </p>
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/style-settings.php

    r761395 r1247669  
    99        <td><?php echo $value['description']; ?></td>
    1010        <td><?php echo SlideshowPluginSlideshowSettingsHandler::getInputField(htmlspecialchars(SlideshowPluginSlideshowSettingsHandler::$styleSettingsKey), $key, $value); ?></td>
    11         <td><?php _e('Default', 'slideshow-plugin'); ?>: &#39;<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>&#39;</td>
     11        <td><?php _e('Default', 'slideshow-jquery-image-gallery'); ?>: &#39;<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>&#39;</td>
    1212    </tr>
    1313
     
    2121        echo sprintf(__(
    2222                'Custom styles can be created and customized %shere%s.',
    23                 'slideshow-plugin'
     23                'slideshow-jquery-image-gallery'
    2424            ),
    2525            '<a href="' . admin_url() . '/edit.php?post_type=slideshow&page=general_settings#custom-styles" target="_blank">',
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/support-plugin.php

    r761395 r1247669  
    11<div class="updated" style="background: #f7f7f7; border-color: #dfdfdf;">
    22    <div style="float: left; width: 50%;">
    3         <h3><?php _e('Help to keep this plugin free!', 'slideshow-plugin'); ?></h3>
     3        <h3><?php _e('Help to keep this plugin free!', 'slideshow-jquery-image-gallery'); ?></h3>
    44
    55        <p>
    6             <?php _e('In order to keep you provided with the newest features, updates and bug fixes, a lot of motivation is required. Therefore I\'m kindly asking you to consider making a small donation to the plugin or rating it as 5-stars on Wordpress.org. Thank you in advance!', 'slideshow-plugin'); ?>
     6            <?php _e('In order to keep you provided with the newest features, updates and bug fixes, a lot of motivation is required. Therefore I\'m kindly asking you to consider making a small donation to the plugin or rating it as 5-stars on Wordpress.org. Thank you in advance!', 'slideshow-jquery-image-gallery'); ?>
    77        </p>
    88    </div>
     
    1313                type="button"
    1414                class="button-secondary"
    15                 value="<?php _e('Rate on Wordpress.org', 'slideshow-plugin'); ?>"
     15                value="<?php _e('Rate on Wordpress.org', 'slideshow-jquery-image-gallery'); ?>"
    1616                onclick="window.open('http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/')"
    1717            />
     
    2222                    type="button"
    2323                    class="button-secondary"
    24                     value="<?php _e('Frequently Asked Questions (FAQ)', 'slideshow-plugin'); ?>"
     24                    value="<?php _e('Frequently Asked Questions (FAQ)', 'slideshow-jquery-image-gallery'); ?>"
    2525                    onclick="window.open('http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/faq/')"
    2626                    />
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginShortcode/shortcode-inserter.php

    r1226989 r1247669  
    11<a
    2     href="#TB_inline?width=450&amp;inlineId=insertSlideshowShortcode"
     2    href="#TB_inline?width=450&inlineId=insertSlideshowShortcode"
    33    class="button thickbox"
    4     title="<?php _e('Insert a Slideshow', 'slideshow-plugin'); ?>"
     4    title="<?php _e('Insert a Slideshow', 'slideshow-jquery-image-gallery'); ?>"
    55    style="padding-left: .4em;"
    66>
    7     <?php global $wp_version; ?>
    8     <?php if (version_compare($wp_version, '3.8', '>')) : ?>
    9     <span class="dashicons dashicons-format-gallery" style="line-height: 26px;"></span>
    10     <?php else: ?>
    117    <img
    128        src="<?php echo SlideshowPluginMain::getPluginUrl() . '/images/SlideshowPluginPostType/adminIcon.png'; ?>"
    13         alt="<?php _e('Insert a Slideshow', 'slideshow-plugin'); ?>"
     9        alt="<?php _e('Insert a Slideshow', 'slideshow-jquery-image-gallery'); ?>"
    1410        style="vertical-align: text-top;"
    1511    />
    16     <?php endif; ?>
    17 
    18     <?php _e('Insert Slideshow', 'slideshow-plugin'); ?>
     12    <?php _e('Insert Slideshow', 'slideshow-jquery-image-gallery'); ?>
    1913</a>
    2014
     
    2216
    2317    <h3 style="padding: 10px 0; color: #5a5a5a;">
    24         <?php _e('Insert a Slideshow', 'slideshow-plugin'); ?>
     18        <?php _e('Insert a Slideshow', 'slideshow-jquery-image-gallery'); ?>
    2519    </h3>
    2620
     
    3125            <tr>
    3226
    33                 <td><?php _e('Select a slideshow', 'slideshow-plugin'); ?></td>
     27                <td><?php _e('Select a slideshow', 'slideshow-jquery-image-gallery'); ?></td>
    3428                <td>
    3529                    <select id="insertSlideshowShortcodeSlideshowSelect">
     
    4034
    4135                        <option value="<?php echo $slideshow->ID; ?>">
    42                             <?php echo (!empty($slideshow->post_title)) ? htmlspecialchars($slideshow->post_title) : __('Untitled slideshow', 'slideshow-plugin'); ?>
     36                            <?php echo (!empty($slideshow->post_title)) ? htmlspecialchars($slideshow->post_title) : __('Untitled slideshow', 'slideshow-jquery-image-gallery'); ?>
    4337                        </option>
    4438
     
    5549                        type="button"
    5650                        class="button-primary insertSlideshowShortcodeSlideshowInsertButton"
    57                         value="<?php _e('Insert Slideshow', 'slideshow-plugin'); ?>"
     51                        value="<?php _e('Insert Slideshow', 'slideshow-jquery-image-gallery'); ?>"
    5852                    />
    5953                    <input
    6054                        type="button"
    6155                        class="button insertSlideshowShortcodeCancelButton"
    62                         value="<?php _e('Cancel', 'slideshow-plugin'); ?>"
     56                        value="<?php _e('Cancel', 'slideshow-jquery-image-gallery'); ?>"
    6357                    />
    6458                </td>
     
    7165        <p>
    7266            <?php echo sprintf(
    73                 __('It seems you haven\'t created any slideshows yet. %sYou can create a slideshow here!%s', 'slideshow-plugin'),
     67                __('It seems you haven\'t created any slideshows yet. %sYou can create a slideshow here!%s', 'slideshow-jquery-image-gallery'),
    7468                '<a href="' . admin_url('post-new.php?post_type=' . SlideshowPluginPostType::$postType) . '" target="_blank">',
    7569                '</a>'
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/insert-image-button.php

    r772460 r1247669  
    11<?php if (function_exists('wp_enqueue_media')): ?>
    2     <input type="button" class="button slideshow-insert-image-slide" value="<?php _e('Image slide', 'slideshow-plugin'); ?>" />
     2    <input type="button" class="button slideshow-insert-image-slide" value="<?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>" />
    33<?php else: ?>
    4     <input type="button" id="slideshow-insert-image-slide" class="button" value="<?php _e('Image slide', 'slideshow-plugin'); ?>" />
     4    <input type="button" id="slideshow-insert-image-slide" class="button" value="<?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>" />
    55<?php endif; ?>
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/insert-text-button.php

    r772460 r1247669  
    11
    2 <input type="button" id="slideshow-insert-text-slide" class="button" value="<?php _e('Text slide', 'slideshow-plugin'); ?>" />
     2<input type="button" id="slideshow-insert-text-slide" class="button" value="<?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?>" />
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/insert-video-button.php

    r772460 r1247669  
    11
    2 <input type="button" id="slideshow-insert-video-slide" class="button" value="<?php _e('Video slide', 'slideshow-plugin'); ?>" />
     2<input type="button" id="slideshow-insert-video-slide" class="button" value="<?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?>" />
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/search-popup.php

    r761395 r1247669  
    44    <div>
    55        <input type="text" id="search" />
    6         <?php submit_button(__('Search', 'slideshow-plugin'), 'primary', 'search-submit', false); ?>
    7         <i><?php _e('Search images by title or ID', 'slideshow-plugin'); ?></i>
     6        <?php submit_button(__('Search', 'slideshow-jquery-image-gallery'), 'primary', 'search-submit', false); ?>
     7        <i><?php _e('Search images by title or ID', 'slideshow-jquery-image-gallery'); ?></i>
    88    </div>
    99    <div style="clear: both;"></div>
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_attachment.php

    r1226951 r1247669  
    101101                    <?php else : ?>
    102102
    103                         <?php _e('Image slide', 'slideshow-plugin'); ?>
     103                        <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>
    104104
    105105                    <?php endif; ?>
     
    112112                <div class="slideshow-group">
    113113
    114                     <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow-plugin'); ?> &#34;<?php echo $attachment->post_title; ?>&#34;">
     114                    <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> &#34;<?php echo $attachment->post_title; ?>&#34;">
    115115                        <img width="80" height="60" src="<?php echo $imageSrc; ?>" class="attachment-80x60" alt="<?php echo $attachment->post_title; ?>" title="<?php echo $attachment->post_title; ?>" />
    116116                    </a>
     
    120120                <div class="slideshow-group">
    121121
    122                     <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-plugin'); ?></div>
     122                    <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div>
    123123                    <div class="slideshow-right">
    124124                        <select name="<?php echo $name; ?>[titleElementTagID]">
     
    135135                <div class="slideshow-group">
    136136
    137                     <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-plugin'); ?></div>
     137                    <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div>
    138138                    <div class="slideshow-right">
    139139                        <select name="<?php echo $name; ?>[descriptionElementTagID]">
     
    150150                <div class="slideshow-group">
    151151
    152                     <div class="slideshow-label"><?php _e('URL', 'slideshow-plugin'); ?></div>
     152                    <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div>
    153153                    <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" style="width: 100%;" />
    154154
    155                     <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-plugin'); ?></div>
     155                    <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div>
    156156                    <select name="<?php echo $name; ?>[urlTarget]" class="slideshow-right">
    157                         <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-plugin'); ?></option>
    158                         <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-plugin'); ?></option>
     157                        <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     158                        <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    159159                    </select>
    160160                    <div class="clear"></div>
    161161
    162                     <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-plugin'); ?></div>
     162                    <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div>
    163163                    <input type="checkbox" name="<?php echo $name; ?>[noFollow]" value="" <?php checked($noFollow); ?> class="slideshow-right" />
    164164                    <div class="clear"></div>
     
    168168                <div class="slideshow-group">
    169169
    170                     <div class="slideshow-label"><?php _e('Alternative text', 'slideshow-plugin'); ?></div>
     170                    <div class="slideshow-label"><?php _e('Alternative text', 'slideshow-jquery-image-gallery'); ?></div>
    171171                    <input type="text" name="<?php echo $name; ?>[alternativeText]" value="<?php echo $alternativeText; ?>" style="width: 100%;" />
    172172
     
    174174
    175175                <div class="slideshow-group slideshow-delete-slide">
    176                     <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     176                    <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    177177                </div>
    178178
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_templates.php

    r879367 r1247669  
    77            <div class="slide-icon text-slide-icon"></div>
    88            <div class="slide-title">
    9                 <?php _e('Text slide', 'slideshow-plugin'); ?>
     9                <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?>
    1010            </div>
    1111            <div class="clear"></div>
     
    1616            <div class="slideshow-group">
    1717
    18                 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-plugin'); ?></div>
     18                <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div>
    1919                <div class="slideshow-right">
    2020                    <select class="titleElementTagID">
     
    3131            <div class="slideshow-group">
    3232
    33                 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-plugin'); ?></div>
     33                <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div>
    3434                <div class="slideshow-right">
    3535                    <select class="descriptionElementTagID">
     
    4646            <div class="slideshow-group">
    4747
    48                 <div class="slideshow-label"><?php _e('Text color', 'slideshow-plugin'); ?></div>
     48                <div class="slideshow-label"><?php _e('Text color', 'slideshow-jquery-image-gallery'); ?></div>
    4949                <input type="text" class="textColor" value="000000" />
    5050
    51                 <div class="slideshow-label"><?php _e('Background color', 'slideshow-plugin'); ?></div>
     51                <div class="slideshow-label"><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></div>
    5252                <input type="text" class="color" value="FFFFFF" />
    53                 <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow-plugin'); ?></div>
    54 
    55             </div>
    56 
    57             <div class="slideshow-group">
    58 
    59                 <div class="slideshow-label"><?php _e('URL', 'slideshow-plugin'); ?></div>
     53                <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow-jquery-image-gallery'); ?></div>
     54
     55            </div>
     56
     57            <div class="slideshow-group">
     58
     59                <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div>
    6060                <input type="text" class="url" value="" style="width: 100%;" />
    6161
    62                 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-plugin'); ?></div>
     62                <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div>
    6363                <select class="urlTarget slideshow-right">
    64                     <option value="_self"><?php _e('Same window', 'slideshow-plugin'); ?></option>
    65                     <option value="_blank"><?php _e('New window', 'slideshow-plugin'); ?></option>
     64                    <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     65                    <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    6666                </select>
    6767                <div class="clear"></div>
    6868
    69                 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-plugin'); ?></div>
     69                <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div>
    7070                <input type="checkbox" class="noFollow slideshow-right" />
    7171                <div class="clear"></div>
     
    7474
    7575            <div class="slideshow-group slideshow-delete-slide">
    76                 <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     76                <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    7777            </div>
    7878
     
    9292            <div class="slide-icon video-slide-icon"></div>
    9393            <div class="slide-title">
    94                 <?php _e('Video slide', 'slideshow-plugin'); ?>
     94                <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?>
    9595            </div>
    9696            <div class="clear"></div>
     
    101101            <div class="slideshow-group">
    102102
    103                 <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow-plugin'); ?></div>
     103                <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></div>
    104104                <input type="text" class="videoId" style="width: 100%;" />
    105105
     
    108108            <div class="slideshow-group">
    109109
    110                 <div class="slideshow-label"><?php _e('Show related videos', 'slideshow-plugin'); ?></div>
    111                 <label><input type="radio" class="showRelatedVideos" value="true"><?php _e('Yes', 'slideshow-plugin'); ?></label>
    112                 <label><input type="radio" class="showRelatedVideos" value="false" checked="checked""><?php _e('No', 'slideshow-plugin'); ?></label>
     110                <div class="slideshow-label"><?php _e('Show related videos', 'slideshow-jquery-image-gallery'); ?></div>
     111                <label><input type="radio" class="showRelatedVideos" value="true"><?php _e('Yes', 'slideshow-jquery-image-gallery'); ?></label>
     112                <label><input type="radio" class="showRelatedVideos" value="false" checked="checked""><?php _e('No', 'slideshow-jquery-image-gallery'); ?></label>
    113113
    114114            </div>
    115115
    116116            <div class="slideshow-group slideshow-delete-slide">
    117                 <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     117                <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    118118            </div>
    119119
     
    133133            <div class="slide-icon image-slide-icon"></div>
    134134            <div class="slide-title">
    135                 <?php _e('Image slide', 'slideshow-plugin'); ?>
     135                <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>
    136136            </div>
    137137            <div class="clear"></div>
     
    148148            <div class="slideshow-group">
    149149
    150                 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-plugin'); ?></div>
     150                <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div>
    151151                <div class="slideshow-right">
    152152                    <select class="titleElementTagID">
     
    163163            <div class="slideshow-group">
    164164
    165                 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-plugin'); ?></div>
     165                <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div>
    166166                <div class="slideshow-right">
    167167                    <select class="descriptionElementTagID">
     
    178178            <div class="slideshow-group">
    179179
    180                 <div class="slideshow-label"><?php _e('URL', 'slideshow-plugin'); ?></div>
     180                <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div>
    181181                <input type="text" class="url" value="" style="width: 100%;" /><br />
    182182
    183                 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-plugin'); ?></div>
     183                <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div>
    184184                <select class="urlTarget slideshow-right">
    185                     <option value="_self"><?php _e('Same window', 'slideshow-plugin'); ?></option>
    186                     <option value="_blank"><?php _e('New window', 'slideshow-plugin'); ?></option>
     185                    <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     186                    <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    187187                </select>
    188188                <div class="clear"></div>
    189189
    190                 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-plugin'); ?></div>
     190                <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div>
    191191                <input type="checkbox" class="noFollow slideshow-right" />
    192192
     
    195195            <div class="slideshow-group">
    196196
    197                 <div class="slideshow-label"><?php _e('Alternative text', 'slideshow-plugin'); ?></div>
     197                <div class="slideshow-label"><?php _e('Alternative text', 'slideshow-jquery-image-gallery'); ?></div>
    198198                <input type="text" class="alternativeText" style="width: 100%;" />
    199199
     
    201201
    202202            <div class="slideshow-group slideshow-delete-slide">
    203                 <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     203                <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    204204            </div>
    205205
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_text.php

    r1226951 r1247669  
    6969            <?php else : ?>
    7070
    71                 <?php _e('Text slide', 'slideshow-plugin'); ?>
     71                <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?>
    7272
    7373            <?php endif; ?>
     
    8080        <div class="slideshow-group">
    8181
    82             <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-plugin'); ?></div>
     82            <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div>
    8383            <div class="slideshow-right">
    8484                <select name="<?php echo $name; ?>[titleElementTagID]">
     
    9595        <div class="slideshow-group">
    9696
    97             <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-plugin'); ?></div>
     97            <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div>
    9898            <div class="slideshow-right">
    9999                <select name="<?php echo $name; ?>[descriptionElementTagID]">
     
    110110        <div class="slideshow-group">
    111111
    112             <div class="slideshow-label"><?php _e('Text color', 'slideshow-plugin'); ?></div>
     112            <div class="slideshow-label"><?php _e('Text color', 'slideshow-jquery-image-gallery'); ?></div>
    113113            <input type="text" name="<?php echo $name; ?>[textColor]" value="<?php echo $textColor; ?>" class="wp-color-picker-field" />
    114114
    115             <div class="slideshow-label"><?php _e('Background color', 'slideshow-plugin'); ?></div>
     115            <div class="slideshow-label"><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></div>
    116116            <input type="text" name="<?php echo $name; ?>[color]" value="<?php echo $color; ?>" class="wp-color-picker-field" />
    117             <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow-plugin'); ?></div>
     117            <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow-jquery-image-gallery'); ?></div>
    118118
    119119        </div>
     
    121121        <div class="slideshow-group">
    122122
    123             <div class="slideshow-label"><?php _e('URL', 'slideshow-plugin'); ?></div>
     123            <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div>
    124124            <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" style="width: 100%;" />
    125125
    126             <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-plugin'); ?></div>
     126            <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div>
    127127            <select name="<?php echo $name; ?>[urlTarget]" class="slideshow-right">
    128                 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-plugin'); ?></option>
    129                 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-plugin'); ?></option>
     128                <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option>
     129                <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option>
    130130            </select>
    131131            <div class="clear"></div>
    132132
    133             <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-plugin'); ?></div>
     133            <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div>
    134134            <input type="checkbox" name="<?php echo $name; ?>[noFollow]" value="" <?php checked($noFollow); ?> class="slideshow-right" />
    135135            <div class="clear"></div>
     
    138138
    139139        <div class="slideshow-group slideshow-delete-slide">
    140             <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     140            <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    141141        </div>
    142142
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_video.php

    r1226951 r1247669  
    2626        <div class="slide-icon video-slide-icon"></div>
    2727        <div class="slide-title">
    28             <?php _e('Video slide', 'slideshow-plugin'); ?>
     28            <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?>
    2929        </div>
    3030        <div class="clear"></div>
     
    3535        <div class="slideshow-group">
    3636
    37             <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow-plugin'); ?></div>
     37            <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></div>
    3838            <input type="text" name="<?php echo $name; ?>[videoId]" value="<?php echo $videoId; ?>" style="width: 100%;" />
    3939
     
    4242        <div class="slideshow-group">
    4343
    44             <div class="slideshow-label"><?php _e('Show related videos', 'slideshow-plugin'); ?></div>
    45             <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="true" <?php checked('true', $showRelatedVideos); ?>><?php _e('Yes', 'slideshow-plugin'); ?></label>
    46             <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="false" <?php checked('false', $showRelatedVideos); ?>><?php _e('No', 'slideshow-plugin'); ?></label>
     44            <div class="slideshow-label"><?php _e('Show related videos', 'slideshow-jquery-image-gallery'); ?></div>
     45            <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="true" <?php checked('true', $showRelatedVideos); ?>><?php _e('Yes', 'slideshow-jquery-image-gallery'); ?></label>
     46            <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="false" <?php checked('false', $showRelatedVideos); ?>><?php _e('No', 'slideshow-jquery-image-gallery'); ?></label>
    4747
    4848        </div>
    4949
    5050        <div class="slideshow-group slideshow-delete-slide">
    51             <span><?php _e('Delete slide', 'slideshow-plugin'); ?></span>
     51            <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span>
    5252        </div>
    5353
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginUpload/upload-button.php

    r761395 r1247669  
    1 <input type="button" id="upload_image_button" class="button" value="<?php _e('Upload/Manage Images', 'slideshow-plugin'); ?>" />
     1<input type="button" id="upload_image_button" class="button" value="<?php _e('Upload/Manage Images', 'slideshow-jquery-image-gallery'); ?>" />
  • slideshow-jquery-image-gallery/trunk/views/SlideshowPluginWidget/form.php

    r761395 r1247669  
    11<p>
    2     <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', 'slideshow-plugin'); ?></label>
     2    <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></label>
    33    <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo htmlspecialchars($instance['title']); ?>" style="width:100%" />
    44</p>
    55
    66<p>
    7     <label for="<?php echo $this->get_field_id('slideshowId'); ?>"><?php _e('Slideshow', 'slideshow-plugin'); ?></label>
     7    <label for="<?php echo $this->get_field_id('slideshowId'); ?>"><?php _e('Slideshow', 'slideshow-jquery-image-gallery'); ?></label>
    88    <select class="widefat" id="<?php echo $this->get_field_id('slideshowId'); ?>" name="<?php echo $this->get_field_name('slideshowId'); ?>" value="<?php echo (is_numeric($instance['slideshowId']))? $instance['slideshowId'] : ''; ?>" style="width:100%">
    9         <option value="-1" <?php selected($instance['slideshowId'], -1); ?>><?php _e('Random Slideshow', 'slideshow-plugin'); ?></option>
     9        <option value="-1" <?php selected($instance['slideshowId'], -1); ?>><?php _e('Random Slideshow', 'slideshow-jquery-image-gallery'); ?></option>
    1010        <?php if(count($slideshows) > 0): ?>
    1111        <?php foreach($slideshows as $slideshow): ?>
    12             <option value="<?php echo $slideshow->ID ?>" <?php selected($instance['slideshowId'], $slideshow->ID); ?>><?php echo !empty($slideshow->post_title) ? $slideshow->post_title : __('Untitled slideshow', 'slideshow-plugin'); ?></option>
     12            <option value="<?php echo $slideshow->ID ?>" <?php selected($instance['slideshowId'], $slideshow->ID); ?>><?php echo !empty($slideshow->post_title) ? $slideshow->post_title : __('Untitled slideshow', 'slideshow-jquery-image-gallery'); ?></option>
    1313        <?php endforeach; ?>
    1414        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.