Plugin Directory

Changeset 498324


Ignore:
Timestamp:
02/01/2012 04:41:23 AM (14 years ago)
Author:
malcalevak
Message:

Addition of v1.1:

  1. Extensive re-write including several minor fixes to eliminate PHP warnings and errors.
  2. Ability to use <code>rel="nolightbox"</code> to exclude an image.
  3. Ability to customize image link URLs by simply placing '/*DESIRED URL*/' in front of the caption.
  4. Grouping of Flickr, Picasa and other images combined. Autoload groups by selector, lightbox groups by rel.
  5. Removal of WPlize in favor of built in option arrays.
  6. Fix for settings initialization issues.
  7. Option sanitization.
  8. Addition of Traditional Chinese/&#32321;&#39636;&#20013;&#25991; translation.

Trunk updated to reflect 1.1 release as well.

Location:
wp-slimbox2
Files:
113 added
11 edited

Legend:

Unmodified
Added
Removed
  • wp-slimbox2/trunk/index.php

    r425147 r498324  
    55Description: A Wordpress implementation of the Slimbox2 javascript, utilizing jQuery, originally written by Christophe Beyls. Requires WP 2.8+
    66Author: Greg Yingling (malcalevak)
    7 Version: 1.0.4b
     7Version: 1.1
    88Author URI: http://transientmonkey.com/
    99
  • wp-slimbox2/trunk/javascript/slimbox2_autoload.js

    r425147 r498324  
    1 jQuery(document).ready(function($) {
    2     if(slimbox2_options['mobile'] || !/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)){
    3         slimbox_CSS();
    4         closeKeys = slimbox2_options['closeKeys'].split(',');
    5         previousKeys = slimbox2_options['previousKeys'].split(',');
    6         nextKeys = slimbox2_options['nextKeys'].split(',');
    7         for ( var i in closeKeys) closeKeys[i] = parseInt(closeKeys[i]);
    8         for ( var i in previousKeys) previousKeys[i] = parseInt(previousKeys[i]);
    9         for ( var i in nextKeys) nextKeys[i] = parseInt(nextKeys[i]);
    10         load_slimbox();
    11     }
    12 });
    13 function slimbox_CSS() {jQuery(function($) {
    14     $("#lbOverlay").css("background-color",slimbox2_options['overlayColor']);
    15     $("#lbPrevLink").hover(
    16         function () {
    17             $(this).css("background-image","url("+slimbox2_options["prev"]+")");
    18         },
    19         function () {
    20             $(this).css("background-image","");
    21         }
    22     );
    23     $("#lbNextLink").hover(
    24         function () {
    25             $(this).css("background-image","url("+slimbox2_options["next"]+")");
    26         },
    27         function () {
    28             $(this).css("background-image","");
    29         }
    30     );
    31     $("#lbCloseLink").css("background-image","url("+slimbox2_options["close"]+")");
    32 })};
    33 
    34 function load_slimbox() {jQuery(function($) {
    35     var options = {
    36         loop: slimbox2_options['loop'],
    37         overlayOpacity: slimbox2_options['overlayOpacity'],
    38         overlayFadeDuration: parseInt(slimbox2_options['overlayFadeDuration']),
    39         resizeDuration: parseInt(slimbox2_options['resizeDuration']),
    40         resizeEasing: slimbox2_options['resizeEasing'],
    41         initialWidth: parseInt(slimbox2_options['initialWidth']),
    42         initialHeight: parseInt(slimbox2_options['initialHeight']),
    43         imageFadeDuration: parseInt(slimbox2_options['imageFadeDuration']),
    44         captionAnimationDuration: parseInt(slimbox2_options['captionAnimationDuration']),
    45         counterText: slimbox2_options['counterText'],
    46         closeKeys: closeKeys,
    47         previousKeys: previousKeys,
    48         nextKeys: nextKeys
    49     }
    50 
    51         if(slimbox2_options['autoload']) {
    52             var images = $("a[href]").not("[rel^='nolightbox']").filter(function() {return /\.(jpeg|bmp|jpg|png|gif)(\?[\d\w=&]*)?$/i.test(this.href);});
    53             if(slimbox2_options['picasaweb']) images = images.add($("a[href^='http://picasaweb.google.'] > img:first-child[src]").parent());
    54             if(slimbox2_options['flickr']) images = images.add($("a[href^='http://www.flickr.com/photos/'] > img:first-child[src]").parent());
    55         } else
    56         var images = $("a[rel^='lightbox']");       
    57         images.unbind("click").slimbox(options, function(el) {
    58             if (el.href.match(/^http:\/\/picasaweb.google./)!=null) {
    59                 var href = el.firstChild.src.replace(/\/s\d+(?:\-c)?\/([^\/]+)$/, "/s640/$2");
    60             } else if (el.href.match(/^http:\/\/www.flickr.com\/photos\//)!=null) {
    61                 var href = el.firstChild.src.replace(/_[mts]\.(\w+)$/, ".$1");
    62             } else var href = el.href;
    63             return parseForURL(href,eval(slimbox2_options['caption']));
    64         }, function(el) {
    65             if(slimbox2_options['autoload']) return (this == el) || ($(this).closest(slimbox2_options['selector'])[0] && ($(this).closest(slimbox2_options['selector'])[0] == $(el).closest(slimbox2_options['selector'])[0]));
    66             else return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
    67         });
    68 })};
    69 
    70 function parseForURL(uri, caption) {
    71     t = caption.split('/*');
    72     href=uri;
    73     if(t.length > 1) t = t[1].split('*/');
    74     if (t.length > 1) {
    75         uri = t[0];
    76         caption = t[1]
    77         if(uri.toLowerCase().match(/^javascript:/)!=null) uri = uri.substring(11,uri.length);
    78     }
    79     return [href, (slimbox2_options['url'])?'<a href="' + uri + '">'+caption+'</a>':caption];
    80 };
     1jQuery(document).ready(function(b){if(slimbox2_options.mobile||!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)){slimbox_CSS();closeKeys=slimbox2_options.closeKeys.split(",");previousKeys=slimbox2_options.previousKeys.split(",");nextKeys=slimbox2_options.nextKeys.split(",");for(var a in closeKeys){closeKeys[a]=parseInt(closeKeys[a])}for(var a in previousKeys){previousKeys[a]=parseInt(previousKeys[a])}for(var a in nextKeys){nextKeys[a]=parseInt(nextKeys[a])}load_slimbox()}});function slimbox_CSS(){jQuery(function(a){a("#lbOverlay").css("background-color",slimbox2_options.overlayColor);a("#lbPrevLink").hover(function(){a(this).css("background-image","url("+slimbox2_options.prev+")")},function(){a(this).css("background-image","")});a("#lbNextLink").hover(function(){a(this).css("background-image","url("+slimbox2_options.next+")")},function(){a(this).css("background-image","")});a("#lbCloseLink").css("background-image","url("+slimbox2_options.close+")")})}function load_slimbox(){jQuery(function($){var options={loop:slimbox2_options.loop,overlayOpacity:slimbox2_options.overlayOpacity,overlayFadeDuration:parseInt(slimbox2_options.overlayFadeDuration),resizeDuration:parseInt(slimbox2_options.resizeDuration),resizeEasing:slimbox2_options.resizeEasing,initialWidth:parseInt(slimbox2_options.initialWidth),initialHeight:parseInt(slimbox2_options.initialHeight),imageFadeDuration:parseInt(slimbox2_options.imageFadeDuration),captionAnimationDuration:parseInt(slimbox2_options.captionAnimationDuration),counterText:slimbox2_options.counterText,closeKeys:closeKeys,previousKeys:previousKeys,nextKeys:nextKeys};if(slimbox2_options.autoload){var images=$("a[href]").not("[rel^='nolightbox']").filter(function(){return/\.(jpeg|bmp|jpg|png|gif)(\?[\d\w=&]*)?$/i.test(this.href)});if(slimbox2_options.picasaweb){images=images.add($("a[href^='http://picasaweb.google.'] > img:first-child[src]").parent())}if(slimbox2_options.flickr){images=images.add($("a[href^='http://www.flickr.com/photos/'] > img:first-child[src]").parent())}}else{var images=$("a[rel^='lightbox']")}images.unbind("click").slimbox(options,function(el){if(el.href.match(/^http:\/\/picasaweb.google./)!=null){var href=el.firstChild.src.replace(/\/s\d+(?:\-c)?\/([^\/]+)$/,"/s640/$2")}else{if(el.href.match(/^http:\/\/www.flickr.com\/photos\//)!=null){var href=el.firstChild.src.replace(/_[mts]\.(\w+)$/,".$1")}else{var href=el.href}}return parseForURL(href,eval(slimbox2_options.caption))},function(el){if(slimbox2_options.autoload){return(this==el)||($(this).closest(slimbox2_options.selector)[0]&&($(this).closest(slimbox2_options.selector)[0]==$(el).closest(slimbox2_options.selector)[0]))}else{return(this==el)||((this.rel.length>8)&&(this.rel==el.rel))}})})}function parseForURL(b,a){t=a.split("/*");href=b;if(t.length>1){t=t[1].split("*/")}if(t.length>1){b=t[0];a=t[1];if(b.toLowerCase().match(/^javascript:/)!=null){b=b.substring(11,b.length)}}return[href,(slimbox2_options.url)?'<a href="'+b+'">'+a+"</a>":a]};
  • wp-slimbox2/trunk/languages/wp-slimbox2-it_IT.po

    r425150 r498324  
    99"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-slimbox2\n"
    1010"POT-Creation-Date: 2010-01-19 20:46+0000\n"
    11 "PO-Revision-Date: 2011-04-12 17:28+0100\n"
    12 "Last-Translator: Pier Paolo <[email protected]>\n"
     11"PO-Revision-Date: 2011-12-18 21:10-0500\n"
     12"Last-Translator: \n"
    1313"Language-Team: Be Human Design <[email protected]>\n"
    1414"MIME-Version: 1.0\n"
     
    6767msgstr "Autocarica?"
    6868
    69 #: adminpage.php:75
    70 msgid "This option allows the user to automatically activate Slimbox on all links pointing to \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". All image links will automatically be grouped together in a gallery according to the selector chosen below. If this isn't activated you will need to manually add 'rel=\"lightbox\"' for individual images or 'rel=\"lightbox-imagesetname\"' for groups on all links you wish to use the Slimbox effect. Default is DISABLED."
    71 msgstr "Quest'opzione permette all'utente di attivare Slimbox per tutti i link che puntano a \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". Tutti i link saranno automaticamente raggruppati in gallerie a seconda del selettore scelto. Se l'opzione non è attivata bisognerà aggiungere manualmente 'rel=\"lightbox\"' per immagini singole o 'rel=\"lightbox-imagesetname\"' per gruppi su tutti i link dove vorrai usare l'effetto Slimbox. Default è disabilitato."
     69#: adminpage.php:74
     70msgid "This option allows the user to automatically activate Slimbox on all links pointing to \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". All image links will automatically be grouped together in a gallery according to the selector chosen below. If this isn't activated you will need to manually add <b><code>rel=\"lightbox\"</code></b> for individual images or <b><code>rel=\"lightbox-imagesetname\"</code></b> for groups on all links you wish to use the Slimbox effect. <b>Default is Disabled.</b>"
     71msgstr "Quest'opzione permette all'utente di attivare Slimbox per tutti i link che puntano a \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". Tutti i link saranno automaticamente raggruppati in gallerie a seconda del selettore scelto. Se l'opzione non è attivata bisognerà aggiungere manualmente 'rel=\"lightbox\"' per immagini singole o <b><code>rel=\"lightbox-imagesetname\"</code></b> per gruppi su tutti i link dove vorrai usare l'effetto Slimbox. <b>Default è disabilitato.</b>"
    7272
    7373#: adminpage.php:80
     
    7676
    7777#: adminpage.php:85
    78 msgid "This option allows the user to automatically add the Slimbox effect to Picasaweb links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). Default is DISABLED."
    79 msgstr "Quest'opzione permette all'utente di aggiungere automaticamente l'effetto Slimbox ai link di Picasaweb quando viene fornito un url appropriato (questo è separato dall'autoload script che funziona unicamente su immagini con link diretti). Default è disabilitato."
     78msgid "This option allows the user to automatically add the Slimbox effect to Picasaweb links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). <b>Default is Disabled.</b>"
     79msgstr "Quest'opzione permette all'utente di aggiungere automaticamente l'effetto Slimbox ai link di Picasaweb quando viene fornito un url appropriato (questo è separato dall'autoload script che funziona unicamente su immagini con link diretti). <b>Default è disabilitato.</b>"
    8080
    8181#: adminpage.php:90
     
    8484
    8585#: adminpage.php:95
    86 msgid "This option allows the user to automatically add the Slimbox effect to Flickr links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). Default is DISABLED."
    87 msgstr "Quest'opzione permette all'utente di aggiungere l'effetto Slimbox a Flickr quando viene fornito un url appropriato (questo è separato dall'autoload script che funziona unicamente su immagini con link diretti). Default è disabilitato."
     86msgid "This option allows the user to automatically add the Slimbox effect to Flickr links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). <b>Default is Disabled.</b>"
     87msgstr "Quest'opzione permette all'utente di aggiungere l'effetto Slimbox a Flickr quando viene fornito un url appropriato (questo è separato dall'autoload script che funziona unicamente su immagini con link diretti). <b>Default è disabilitato.</b>"
    8888
    8989#: adminpage.php:100
     
    9292
    9393#: adminpage.php:105
    94 msgid "This option allows the user to navigate between the first and last images of a Slimbox gallery group when there is more than one image to display. Default is DISABLED."
    95 msgstr "Quest'opzione permette all'utente di  navigare tra la prima e l'ultima immagine di un gruppo di gallerie Slimbox quando c'è più di un'immagine da visualizzare. Default è disabilitato."
     94msgid "This option allows the user to navigate between the first and last images of a Slimbox gallery group when there is more than one image to display. <b>Default is Disabled.</b>"
     95msgstr "Quest'opzione permette all'utente di  navigare tra la prima e l'ultima immagine di un gruppo di gallerie Slimbox quando c'è più di un'immagine da visualizzare. <b>Default è disabilitato.</b>"
    9696
    9797#: adminpage.php:110
     
    100100
    101101#: adminpage.php:117
    102 msgid "This option allows the user to adjust the opacity of the background overlay. 1 is completely opaque, 0 is completely transparent. Default is 0.8."
    103 msgstr "Quest'opzione permette all'utente di regolare l'opacità di uno sfondo sovrapposto. 1 è totalmente opaco, 0 è completamente trasparente. Default è 0.8."
     102msgid "This option allows the user to adjust the opacity of the background overlay. 1 is completely opaque, 0 is completely transparent. <b>Default is 0.8.</b>"
     103msgstr "Quest'opzione permette all'utente di regolare l'opacità di uno sfondo sovrapposto. 1 è totalmente opaco, 0 è completamente trasparente. <b>Default è 0.8.</b>"
    104104
    105105#: adminpage.php:122
     
    108108
    109109#: adminpage.php:128
    110 msgid "This option allows the user to set the color of the overlay by selecting your hue from the circle and color gradient from the square. Alternatively you may manually enter a valid HTML color code. The color of the entry field will change to reflect your selected color. Default is #000000."
    111 msgstr "Quest'opzione permette all'utente di impostare il colore della sovrapposizione selezionando il colore dal cerchio e il gradiente colore dal quadrato. In alternativa puoi inserire un codice colore HTML. Il colore nel campo cambierà nel colore selezionato. Default è #000000."
     110msgid "This option allows the user to set the color of the overlay by selecting your hue from the circle and color gradient from the square. Alternatively you may manually enter a valid HTML color code. The color of the entry field will change to reflect your selected color. <b>Default is #000000.</b>"
     111msgstr "Quest'opzione permette all'utente di impostare il colore della sovrapposizione selezionando il colore dal cerchio e il gradiente colore dal quadrato. In alternativa puoi inserire un codice colore HTML. Il colore nel campo cambierà nel colore selezionato. <b>Default è #000000.</b>"
    112112
    113113#: adminpage.php:133
     
    116116
    117117#: adminpage.php:140
    118 msgid "This option allows the user to adjust the duration of the overlay fade-in and fade-out animations, in milliseconds. Default is 400."
    119 msgstr "Quest'opzione permette all'utente di impostare la durata della dissolvenza in entrata ed in uscita, in millisecondi. Default è 400."
     118msgid "This option allows the user to adjust the duration of the overlay fade-in and fade-out animations, in milliseconds. <b>Default is 400.</b>"
     119msgstr "Quest'opzione permette all'utente di impostare la durata della dissolvenza in entrata ed in uscita, in millisecondi. <b>Default è 400.</b>"
    120120
    121121#: adminpage.php:145
     
    124124
    125125#: adminpage.php:152
    126 msgid "This option allows the user to adjust the duration of the resize animation for width and height, in milliseconds. Default is 400."
    127 msgstr "Quest'opzione permette all'utente di impostare la durata dell'animazione di ridimensionamento per altezza e larghezza, in millisecondi. Default è 400."
     126msgid "This option allows the user to adjust the duration of the resize animation for width and height, in milliseconds. <b>Default is 400.</b>"
     127msgstr "Quest'opzione permette all'utente di impostare la durata dell'animazione di ridimensionamento per altezza e larghezza, in millisecondi. <b>Default è 400.</b>"
    128128
    129129#: adminpage.php:157
     
    132132
    133133#: adminpage.php:164
    134 msgid "This option allows the user to adjust the easing effect that you want to use for the resize animation (easings other than swing load an additional jQuery Easing Plugin). Many easings require a longer execution time to look good, so you should adjust the resizeDuration option above as well. Default is swing."
    135 msgstr "Quest'opzione permette all'utente di regolare l'effetto facilitato che vuoi usare per il ridimensionamento dell'animazione (effetti facilitati diversi dallo swing caricano un plugin aggiuntivo jQuery Easing Plugin). Alcuni effetti facilitati richiedono un'esecuzione poiù lunga per apparire belli, perciò dovresti anche modificare l'opzione della durata del ridimensionamento. Default è swing."
     134msgid "This option allows the user to adjust the easing effect that you want to use for the resize animation (easings other than swing load an additional jQuery Easing Plugin). Many easings require a longer execution time to look good, so you should adjust the resizeDuration option above as well. <b>Default is swing.</b>"
     135msgstr "Quest'opzione permette all'utente di regolare l'effetto facilitato che vuoi usare per il ridimensionamento dell'animazione (effetti facilitati diversi dallo swing caricano un plugin aggiuntivo jQuery Easing Plugin). Alcuni effetti facilitati richiedono un'esecuzione poiù lunga per apparire belli, perciò dovresti anche modificare l'opzione della durata del ridimensionamento. <b>Default è swing</b>."
    136136
    137137#: adminpage.php:169
     
    140140
    141141#: adminpage.php:174
    142 msgid "This option allows the user to adjust the initial width of the box, in pixels. Default is 250."
    143 msgstr "Quest'opzione permette all'utente di impostare la larghezza iniziale del box in pixel. Default è 250."
     142msgid "This option allows the user to adjust the initial width of the box, in pixels. <b>Default is 250.</b>"
     143msgstr "Quest'opzione permette all'utente di impostare la larghezza iniziale del box in pixel. <b>Default è 250.</b>"
    144144
    145145#: adminpage.php:179
     
    148148
    149149#: adminpage.php:184
    150 msgid "This option allows the user to adjust the initial height of the box, in pixels. Default is 250."
    151 msgstr "Quest'opzione permette all'utente di impostare l'altezza iniziale del box in pixel. Default è 250."
     150msgid "This option allows the user to adjust the initial height of the box, in pixels. <b>Default is 250.</b>"
     151msgstr "Quest'opzione permette all'utente di impostare l'altezza iniziale del box in pixel. <b>Default è 250.</b>"
    152152
    153153#: adminpage.php:188
     
    156156
    157157#: adminpage.php:195
    158 msgid "This option allows the user to adjust the duration of the image fade-in animation, in milliseconds. Disabling this effect will make the image appear instantly. Default is 400."
    159 msgstr "Quest'opzione permette all'utente di impostare la durata della dissolvenza dell'immagine, in millisecondi. Disabilitando quest'effetto l'immagine comparirà istantaneamente. Default è 400."
     158msgid "This option allows the user to adjust the duration of the image fade-in animation, in milliseconds. Disabling this effect will make the image appear instantly. <b>Default is 400.</b>"
     159msgstr "Quest'opzione permette all'utente di impostare la durata della dissolvenza dell'immagine, in millisecondi. Disabilitando quest'effetto l'immagine comparirà istantaneamente. <b>Default è 400.</b>"
    160160
    161161#: adminpage.php:200
     
    164164
    165165#: adminpage.php:207
    166 msgid "This option allows the user to adjust the duration of the caption animation, in milliseconds. Disabling this effect will make the caption appear instantly. Default is 400."
    167 msgstr "Quest'opzione permette all'utente di impostare la durata del titolo dell'animazione, in millisecondi. Disabilitando quest'effetto l'immagine comparirà istantaneamente. Default è 400."
     166msgid "This option allows the user to adjust the duration of the caption animation, in milliseconds. Disabling this effect will make the caption appear instantly. <b>Default is 400.</b>"
     167msgstr "Quest'opzione permette all'utente di impostare la durata del titolo dell'animazione, in millisecondi. Disabilitando quest'effetto l'immagine comparirà istantaneamente. <b>Default è 400.</b>"
    168168
    169169#: adminpage.php:211
     
    172172
    173173#: adminpage.php:227
    174 msgid "This option allows the user to select the order in which to search various locations for the caption text. If you'd like no caption just select \"None\" in the first block. You can also leave out an option by replacing it with \"None\", but be sure to place any option you'd like to search in front of it. If a caption can't be found, and \"None\" wasn\\t selected, it will default to the URL (\"href\"). Default is \"a-title\", followed by \"img-alt\", \"img-title\", and \"href\"."
    175 msgstr "Quest'opzione permette all'utente di selezionare l'ordine in cui ricercare varie posizioni per le didascalia. Se non ti piace avere una didascalia basta selezionare \"None\" nel primo blocco. Puoi anche tralasciare un'opzione sostituendola con \"None\", ma devi assicurarti di posizionare qualsiasi opzione che desideri in ordine prioritario. Se non si riesce a trovare una didascalia, e \"None\" non è selezionato, sarà l'URL per default(\"href\").Default è \"a-title\", seguito da \"img-alt\", \"img-title\", e \"href\"."
     174msgid "This option allows the user to select the order in which to search various locations for the caption text. If you'd like no caption just select \"None\" in the first block. You can also leave out an option by replacing it with \"None\", but be sure to place any option you'd like to search in front of it. If a caption can't be found, and \"None\" wasn't selected, it will default to the URL (\"href\"). <b>Default is \"a-title\", followed by \"img-alt\", \"img-title\", and \"href\".</b>"
     175msgstr "Quest'opzione permette all'utente di selezionare l'ordine in cui ricercare varie posizioni per le didascalia. Se non ti piace avere una didascalia basta selezionare \"None\" nel primo blocco. Puoi anche tralasciare un'opzione sostituendola con \"None\", ma devi assicurarti di posizionare qualsiasi opzione che desideri in ordine prioritario. Se non si riesce a trovare una didascalia, e \"None\" non è selezionato, sarà l'URL per default(\"href\"). <b>Default è \"a-title\", seguito da \"img-alt\", \"img-title\", e \"href\".</b>"
    176176
    177177#: adminpage.php:232
     
    180180
    181181#: adminpage.php:237
    182 msgid "This option will render the caption as a hyperlink.  Default is Enabled."
    183 msgstr "Quest'opzione farà diventare la didascalia un ipertesto. Abilitato di default."
     182msgid "This option will render the caption as a hyperlink.  <b>Default is Enabled.</b>"
     183msgstr "Quest'opzione farà diventare la didascalia un ipertesto. <b>Abilitato di default.</b>"
    184184
    185185#: adminpage.php:241
     
    188188
    189189#: adminpage.php:246
    190 msgid "This option allows the user to change how images are grouped when autoload is enabled. It uses jQuery selectors, as described <a href=\"http://api.jquery.com/category/selectors/\">here</a>. Default is \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\", which works in most themes by searching for a common post, gallery, or page that contains the images."
    191 msgstr "Quest'opzione permette all'utente di cambiare il modo in cui le immagini sono raggruppate quando l'autoload è attivo. L'opzione usa dei selettori  jQuery, come descritti <a href=\"http://api.jquery.com/category/selectors/\">qui</a>. Default è \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\", che funziona sulla maggior parte dei temi cercando in un post, una galleria o una pagina che contiene immagini."
     190msgid "This option allows the user to change how images are grouped when autoload is enabled. It uses jQuery selectors, as described <a href=\"http://api.jquery.com/category/selectors/\">here</a>. <b>Default is \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\".</b>"
     191msgstr "Quest'opzione permette all'utente di cambiare il modo in cui le immagini sono raggruppate quando l'autoload è attivo. L'opzione usa dei selettori  jQuery, come descritti <a href=\"http://api.jquery.com/category/selectors/\">qui</a>. <b>Default è \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\", che funziona sulla maggior parte dei temi cercando in un post, una galleria o una pagina che contiene immagini.</b>"
    192192
    193193#: adminpage.php:251
     
    196196
    197197#: adminpage.php:256
    198 msgid "This option allows the user to customize, translate or disable the counter text which appears in the captions when multiple images are shown. Inside the text, {x} will be replaced by the current image index, and {y} will be replaced by the total number of images in the group. Set it to false (boolean value, without quotes) or \"\" to disable the counter display. Default is \"Image {x} of {y}\"."
    199 msgstr "Quest'opzione permette all'utente di personalizzare o disabilitare il contatore di testo che appare nella didascalia quando si vedono immagini multiple. Nel testo, {x} sarà sostituito dall'indice corrente, e {y} sarà sostituito da tutte le immagini del gruppo. Inserisci false (valore booleano, senza virgolette) o \"\"  per disabilitare la visualizzazione del contatore. Default è \"Immagine {x} of {y}\"."
     198msgid "This option allows the user to customize, translate or disable the counter text which appears in the captions when multiple images are shown. Inside the text, {x} will be replaced by the current image index, and {y} will be replaced by the total number of images in the group. Set it to false (boolean value, without quotes) or \"\" to disable the counter display. <b>Default is \"Image {x} of {y}\".</b>"
     199msgstr "Quest'opzione permette all'utente di personalizzare o disabilitare il contatore di testo che appare nella didascalia quando si vedono immagini multiple. Nel testo, {x} sarà sostituito dall'indice corrente, e {y} sarà sostituito da tutte le immagini del gruppo. Inserisci false (valore booleano, senza virgolette) o \"\"  per disabilitare la visualizzazione del contatore. <b>Default è \"Immagine {x} of {y}\".</b>"
    200200
    201201#: adminpage.php:260
     
    204204
    205205#: adminpage.php:265
    206 msgid "These options allow the user to specify an array of <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">key codes</a> representing the keys to press to close or navigate to the next or previous images.</p><p>Just select the corresponding text box and press the keys you would like to use. Alternately check the box below to manually enter or clear key codes.</p><p>Default close values are [27, 88, 67] which means Esc (27), \"x\" (88) and \"c\" (67).</p><p>Default previous values are [37, 80] which means Left arrow (37) and \"p\" (80).</p><p>Default next values are [39, 78] which means Right arrow (39) and \"n\" (78)."
    207 msgstr "Queste opzioni permettono all'utente di specificare un elenco di <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">tasti di scelta rapida</a> ovvero i tasti da premere per chiudere o navigare all'immagine precedente o successiva.</p><p>Basta selezionare la casella di testo corrispondente e premere i tasti desiderati. In alternativa si può spuntare il box sottostante per inserire o rimuovere manualmente i tasti di scelta rapida.</p><p>I valori predefiniti per chiudere sono [27, 88, 67] cioè Esc (27), \"x\" (88) e \"c\" (67).</p><p>I valori predefiniti per \"precedente\" sono [37, 80] che significa freccia Sinistra (37) e \"p\" (80).</p><p>I valori predefiniti per \"Prossimo\" sono [39, 78] che significa freccia Destra (39) e \"n\" (78)."
     206msgid "These options allow the user to specify an array of <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">key codes</a> representing the keys to press to close or navigate to the next or previous images.</p><p>Just select the corresponding text box and press the keys you would like to use. Alternately check the box below to manually enter or clear key codes.</p><b><p>Default close values are [27, 88, 67] which means Esc (27), \"x\" (88) and \"c\" (67).</p><p>Default previous values are [37, 80] which means Left arrow (37) and \"p\" (80).</p><p>Default next values are [39, 78] which means Right arrow (39) and \"n\" (78)."
     207msgstr "Queste opzioni permettono all'utente di specificare un elenco di <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">tasti di scelta rapida</a> ovvero i tasti da premere per chiudere o navigare all'immagine precedente o successiva.</p><p>Basta selezionare la casella di testo corrispondente e premere i tasti desiderati. In alternativa si può spuntare il box sottostante per inserire o rimuovere manualmente i tasti di scelta rapida.</p><b><p>I valori predefiniti per chiudere sono [27, 88, 67] cioè Esc (27), \"x\" (88) e \"c\" (67).</p><p>I valori predefiniti per \"precedente\" sono [37, 80] che significa freccia Sinistra (37) e \"p\" (80).</p><p>I valori predefiniti per \"Prossimo\" sono [39, 78] che significa freccia Destra (39) e \"n\" (78)."
    208208
    209209#: adminpage.php:266
     
    228228
    229229#: adminpage.php:287
    230 msgid "This option enables Slimbox on mobile phones. By default this feature is disabled."
    231 msgstr "Quest'opzione abilita Slimbox sui telefonini. Disabilitato per default."
     230msgid "This option enables Slimbox on mobile phones. <b>Default is Disabled.</b>"
     231msgstr "Quest'opzione abilita Slimbox sui telefonini. <b>Disabilitato per default.</b>"
    232232
    233233#: adminpage.php:291
     
    236236
    237237#: adminpage.php:296
    238 msgid "This option enables a maintenance mode for testing purposes. When enabled slimbox will be disabled until you enable it by appending ?slimbox=on to a url. It will then remain on until you disable it by appending ?slimbox=off to a url, you clear your cookies, or in certain cases you clear your browser cache. This setting only impacts things at an individual vistor level, not a site wide level. Default is Disabled."
    239 msgstr "Quest'opzione abilita una modalità di mantenimento per il testing. Quando abilitata, Slimbox sarà disabilitato fino a quando verrà nuovamente abilitato aggiungendo ?slimbox=on ad un url. Rimarrà invariato finché non verrà disabilitato ?slimbox=off ad un url, eliminati i cookies, o in certi casi si svuoti la cache. Questi settaggi hanno efetto a livello di interazione individuale, non a livello del sito intero. Disabilitato di default."
     238msgid "This option enables a maintenance mode for testing purposes. When enabled slimbox will be disabled until you enable it by appending <b><code>?slimbox=on</code></b> to a url. It will then remain on until you disable it by appending <b><code>?slimbox=off</code></b> to a url, you clear your cookies, or in certain cases you clear your browser cache. This setting only impacts things at an individual vistor level, not a site wide level. <b>Default is Disabled.</b>"
     239msgstr "Quest'opzione abilita una modalità di mantenimento per il testing. Quando abilitata, Slimbox sarà disabilitato fino a quando verrà nuovamente abilitato aggiungendo ?slimbox=on ad un url. Rimarrà invariato finché non verrà disabilitato ?slimbox=off ad un url, eliminati i cookies, o in certi casi si svuoti la cache. Questi settaggi hanno efetto a livello di interazione individuale, non a livello del sito intero. <b>Disabilitato di default.</b>"
    240240
    241241#: adminpage.php:304
     
    247247msgstr "Note"
    248248
     249#: adminpage.php:324
     250msgid "11145898"
     251msgstr "72RVF48F6AT92"
     252
    249253#: adminpage.php:325
    250 msgid ""
    251 "11145898\">\r\n"
    252 "\t\t\t<input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">\r\n"
    253 "\t\t\t<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">\r\n"
    254 "\t\t</form>\r\n"
    255 "        <p><b style=\"font-size:11px;\">Support this plugin!"
    256 msgstr ""
    257 "11145898\">\r\n"
    258 "\t\t\t<input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - Il modo più facile e sicuro per pagare online!\">\r\n"
    259 "\t\t\t<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">\r\n"
    260 "\t\t</form>\r\n"
    261 "        <p><b style=\"font-size:11px;\">Supporta questo plugin!"
     254msgid "en_US"
     255msgstr "it_IT/IT"
     256
     257#: adminpage.php:325
     258msgid "The safer, easier way to pay online!"
     259msgstr "Il sistema di pagamento online più facile e sicuro!"
    262260
    263261#: index.php:95
  • wp-slimbox2/trunk/languages/wp-slimbox2-pt_BR.po

    r425147 r498324  
    99"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-slimbox2\n"
    1010"POT-Creation-Date: 2010-01-19 20:46+0000\n"
    11 "PO-Revision-Date: 2011-02-24 16:57-0300\n"
    12 "Last-Translator: Marcelo <[email protected]>\n"
     11"PO-Revision-Date: 2011-12-18 21:52-0500\n"
     12"Last-Translator: \n"
    1313"Language-Team: Techload Informatica <[email protected]>\n"
    1414"MIME-Version: 1.0\n"
     
    6969
    7070#: adminpage.php:75
    71 msgid "This option allows the user to automatically activate Slimbox on all links pointing to \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". All image links will automatically be grouped together in a gallery according to the selector chosen below. If this isn't activated you will need to manually add 'rel=\"lightbox\"' for individual images or 'rel=\"lightbox-imagesetname\"' for groups on all links you wish to use the Slimbox effect. Default is DISABLED."
    72 msgstr "Esta opção permite que o usuário ative automaticamente o Slimbox em todos os links que apontam para \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". Todos os links para imagens serão automaticamente agrupados em uma galeria de acordo com o seletor escolhido abaixo. Se esta opção não for ativada, você terá que acrescentar manualmente 'rel=\"lightbox\"' para imagens individuais ou 'rel=\"lightbox-imagesetname\"' para grupos de imagens em todos os links que desejar usar o efeito Slimbox. O default é DESABILITADO."
     71msgid "This option allows the user to automatically activate Slimbox on all links pointing to \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". All image links will automatically be grouped together in a gallery according to the selector chosen below. If this isn't activated you will need to manually add <b><code>rel=\"lightbox\"</code></b> for individual images or <b><code>rel=\"lightbox-imagesetname\"</code></b> for groups on all links you wish to use the Slimbox effect. <b>Default is Disabled.</b>"
     72msgstr "Esta opção permite que o usuário ative automaticamente o Slimbox em todos os links que apontam para \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". Todos os links para imagens serão automaticamente agrupados em uma galeria de acordo com o seletor escolhido abaixo. Se esta opção não for ativada, você terá que acrescentar manualmente 'rel=\"lightbox\"' para imagens individuais ou 'rel=\"lightbox-imagesetname\"' para grupos de imagens em todos os links que desejar usar o efeito Slimbox. <b>O default é Desabilitado.</b>"
    7373
    7474#: adminpage.php:80
     
    7777
    7878#: adminpage.php:85
    79 msgid "This option allows the user to automatically add the Slimbox effect to Picasaweb links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). Default is DISABLED."
    80 msgstr "Esta opção permite que o usuário adicione automaticamente o efeito Slimbox em links do Picasaweb quando uma url apropriada é fornecida (isto é distinto do script de carregamento automático (autoload) que funciona apenas em links diretos de imagens). O default é DESABILITADO."
     79msgid "This option allows the user to automatically add the Slimbox effect to Picasaweb links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). <b>Default is Disabled.</b>"
     80msgstr "Esta opção permite que o usuário adicione automaticamente o efeito Slimbox em links do Picasaweb quando uma url apropriada é fornecida (isto é distinto do script de carregamento automático (autoload) que funciona apenas em links diretos de imagens). <b>O default é Desabilitado</b>."
    8181
    8282#: adminpage.php:90
     
    8585
    8686#: adminpage.php:95
    87 msgid "This option allows the user to automatically add the Slimbox effect to Flickr links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). Default is DISABLED."
    88 msgstr "Esta opção permite que o usuário acrescente automaticamente o efeito do Slimbox para links do Flickr quando uma url apropriada é fornecida (isto é distinto do script de carregamento automático (autoload) que funciona apenas em links diretos de imagens). O default é DESABILITADO."
     87msgid "This option allows the user to automatically add the Slimbox effect to Flickr links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). <b>Default is Disabled.</b>"
     88msgstr "Esta opção permite que o usuário acrescente automaticamente o efeito do Slimbox para links do Flickr quando uma url apropriada é fornecida (isto é distinto do script de carregamento automático (autoload) que funciona apenas em links diretos de imagens). <b>O default é Desabilitado.</b>"
    8989
    9090#: adminpage.php:100
     
    9393
    9494#: adminpage.php:105
    95 msgid "This option allows the user to navigate between the first and last images of a Slimbox gallery group when there is more than one image to display. Default is DISABLED."
    96 msgstr "Esta opção permite que o usuário navegue entre a primeira e a última imagens de um grupo de galeria do Slimbox quando existe mais do que uma imagem para ser exibida. O default é DESABILITADO."
     95msgid "This option allows the user to navigate between the first and last images of a Slimbox gallery group when there is more than one image to display. <b>Default is Disabled.</b>"
     96msgstr "Esta opção permite que o usuário navegue entre a primeira e a última imagens de um grupo de galeria do Slimbox quando existe mais do que uma imagem para ser exibida. <b>O default é Desabilitado.</b>"
    9797
    9898#: adminpage.php:110
     
    101101
    102102#: adminpage.php:117
    103 msgid "This option allows the user to adjust the opacity of the background overlay. 1 is completely opaque, 0 is completely transparent. Default is 0.8."
    104 msgstr "Esta opção permite que o usuário ajuste a opacidade da máscara de fundo. 1 é completamente opaco, 0 é completamente transparente. O default é 0.8."
     103msgid "This option allows the user to adjust the opacity of the background overlay. 1 is completely opaque, 0 is completely transparent. <b>Default is 0.8.</b>"
     104msgstr "Esta opção permite que o usuário ajuste a opacidade da máscara de fundo. 1 é completamente opaco, 0 é completamente transparente. <b>O default é 0.8.</b>"
    105105
    106106#: adminpage.php:122
     
    109109
    110110#: adminpage.php:128
    111 msgid "This option allows the user to set the color of the overlay by selecting your hue from the circle and color gradient from the square. Alternatively you may manually enter a valid HTML color code. The color of the entry field will change to reflect your selected color. Default is #000000."
    112 msgstr "Esta opção permite que o usuário selecione a cor da máscara selecionando o tom a partir do círculo e o grau da cor a partir do quadrado. Você pode também digitar manualmente um código válido de cor em HTML. A cor do campo de entrada mudará refletindo a cor selecionada. O default é #000000."
     111msgid "This option allows the user to set the color of the overlay by selecting your hue from the circle and color gradient from the square. Alternatively you may manually enter a valid HTML color code. The color of the entry field will change to reflect your selected color. <b>Default is #000000.</b>"
     112msgstr "Esta opção permite que o usuário selecione a cor da máscara selecionando o tom a partir do círculo e o grau da cor a partir do quadrado. Você pode também digitar manualmente um código válido de cor em HTML. A cor do campo de entrada mudará refletindo a cor selecionada. <b>O default é #000000.</b>"
    113113
    114114#: adminpage.php:133
     
    117117
    118118#: adminpage.php:140
    119 msgid "This option allows the user to adjust the duration of the overlay fade-in and fade-out animations, in milliseconds. Default is 400."
    120 msgstr "Esta opção permite que o usuário ajuste a duração das animações de aparecimento gradual (fade-in) e desaparecimento gradual (fade-out) da máscara, em milésimos de segundo. O default é 400."
     119msgid "This option allows the user to adjust the duration of the overlay fade-in and fade-out animations, in milliseconds. <b>Default is 400.</b>"
     120msgstr "Esta opção permite que o usuário ajuste a duração das animações de aparecimento gradual (fade-in) e desaparecimento gradual (fade-out) da máscara, em milésimos de segundo. <b>O default é 400.</b>"
    121121
    122122#: adminpage.php:145
     
    125125
    126126#: adminpage.php:152
    127 msgid "This option allows the user to adjust the duration of the resize animation for width and height, in milliseconds. Default is 400."
    128 msgstr "Esta opção permite que o usuário ajuste a duração da animação de redimensionamento para a largura e a altura, em milésimos de segundo. O default é 400."
     127msgid "This option allows the user to adjust the duration of the resize animation for width and height, in milliseconds. <b>Default is 400.</b>"
     128msgstr "Esta opção permite que o usuário ajuste a duração da animação de redimensionamento para a largura e a altura, em milésimos de segundo. <b>O default é 400.</b>"
    129129
    130130#: adminpage.php:157
     
    133133
    134134#: adminpage.php:164
    135 msgid "This option allows the user to adjust the easing effect that you want to use for the resize animation (easings other than swing load an additional jQuery Easing Plugin). Many easings require a longer execution time to look good, so you should adjust the resizeDuration option above as well. Default is swing."
    136 msgstr "Esta opção permite que o usuário ajuste o efeito de abrandamento que deseja usar para a animação de redimensionamento (abrandamentos diferente do swing carregam um plugin adicional jQuery Easing Plugin). Muitos abrandamentos requerem um tempo de execução maior para ter uma boa aparência, portanto você deveria ajustar também a opção de Duração de Redimensionamento acima. O default é swing."
     135msgid "This option allows the user to adjust the easing effect that you want to use for the resize animation (easings other than swing load an additional jQuery Easing Plugin). Many easings require a longer execution time to look good, so you should adjust the resizeDuration option above as well. <b>Default is swing.</b>"
     136msgstr "Esta opção permite que o usuário ajuste o efeito de abrandamento que deseja usar para a animação de redimensionamento (abrandamentos diferente do swing carregam um plugin adicional jQuery Easing Plugin). Muitos abrandamentos requerem um tempo de execução maior para ter uma boa aparência, portanto você deveria ajustar também a opção de Duração de Redimensionamento acima. <b>O default é swing.</b>"
    137137
    138138#: adminpage.php:169
     
    141141
    142142#: adminpage.php:174
    143 msgid "This option allows the user to adjust the initial width of the box, in pixels. Default is 250."
    144 msgstr "Esta opção permite que o usuário ajuste a largura inicial da caixa, em pixels. O default é 250."
     143msgid "This option allows the user to adjust the initial width of the box, in pixels. <b>Default is 250.</b>"
     144msgstr "Esta opção permite que o usuário ajuste a largura inicial da caixa, em pixels. <b>O default é 250.</b>"
    145145
    146146#: adminpage.php:179
     
    149149
    150150#: adminpage.php:184
    151 msgid "This option allows the user to adjust the initial height of the box, in pixels. Default is 250."
    152 msgstr "Esta opção permite que o usuário ajuste a altura inicial da caixa, em pixels. O default é 250."
     151msgid "This option allows the user to adjust the initial height of the box, in pixels. <b>Default is 250.</b>"
     152msgstr "Esta opção permite que o usuário ajuste a altura inicial da caixa, em pixels. <b>O default é 250.</b>"
    153153
    154154#: adminpage.php:188
     
    157157
    158158#: adminpage.php:195
    159 msgid "This option allows the user to adjust the duration of the image fade-in animation, in milliseconds. Disabling this effect will make the image appear instantly. Default is 400."
    160 msgstr "Esta opção permite que o usuário ajuste a duração da animação de Dissipação (Fade) da imagem, em milésimos de segundo. Ao desabilitar este efeito, a imagem será exibida instantaneamente. O default é 400."
     159msgid "This option allows the user to adjust the duration of the image fade-in animation, in milliseconds. Disabling this effect will make the image appear instantly. <b>Default is 400.</b>"
     160msgstr "Esta opção permite que o usuário ajuste a duração da animação de Dissipação (Fade) da imagem, em milésimos de segundo. Ao desabilitar este efeito, a imagem será exibida instantaneamente. <b>O default é 400.</b>"
    161161
    162162#: adminpage.php:200
     
    165165
    166166#: adminpage.php:207
    167 msgid "This option allows the user to adjust the duration of the caption animation, in milliseconds. Disabling this effect will make the caption appear instantly. Default is 400."
    168 msgstr "Esta opção permite que o usuário ajuste a duração da animação da legenda, em milésimos de segundo. Ao desabilitar este efeito, a legenda será exibida instantaneamente. O default é 400."
     167msgid "This option allows the user to adjust the duration of the caption animation, in milliseconds. Disabling this effect will make the caption appear instantly. <b>Default is 400.</b>"
     168msgstr "Esta opção permite que o usuário ajuste a duração da animação da legenda, em milésimos de segundo. Ao desabilitar este efeito, a legenda será exibida instantaneamente. <b>O default é 400.</b>"
    169169
    170170#: adminpage.php:211
     
    173173
    174174#: adminpage.php:227
    175 msgid "This option allows the user to select the order in which to search various locations for the caption text. If you'd like no caption just select \"None\" in the first block. You can also leave out an option by replacing it with \"None\", but be sure to place any option you'd like to search in front of it. If a caption can't be found, and \"None\" wasn\\t selected, it will default to the URL (\"href\"). Default is \"a-title\", followed by \"img-alt\", \"img-title\", and \"href\"."
    176 msgstr "Esta oção permite que o usuário selecione a ordem para se buscar vários locais pelo texto da legenda. Se não desejar que a legenda apareça, selecione \"None\" no primeiro bloco. Você pode também excluir uma opção substituindo-a com \"None\", mas certifique-se de colocar na frente qualquer opção que deseja buscar. Se uma legenda não puder ser encontrada, e \"None\" não foi selecionado, por default será exibido o (\"href\") da URL. O default é \"a-title\", seguido por \"img-alt\", \"img-title\", e \"href\"."
     175msgid "This option allows the user to select the order in which to search various locations for the caption text. If you'd like no caption just select \"None\" in the first block. You can also leave out an option by replacing it with \"None\", but be sure to place any option you'd like to search in front of it. If a caption can't be found, and \"None\" wasn't selected, it will default to the URL (\"href\"). <b>Default is \"a-title\", followed by \"img-alt\", \"img-title\", and \"href\".</b>"
     176msgstr "Esta oção permite que o usuário selecione a ordem para se buscar vários locais pelo texto da legenda. Se não desejar que a legenda apareça, selecione \"None\" no primeiro bloco. Você pode também excluir uma opção substituindo-a com \"None\", mas certifique-se de colocar na frente qualquer opção que deseja buscar. Se uma legenda não puder ser encontrada, e \"None\" não foi selecionado, por default será exibido o (\"href\") da URL. <b>O default é \"a-title\", seguido por \"img-alt\", \"img-title\", e \"href\".</b>"
    177177
    178178#: adminpage.php:232
     
    181181
    182182#: adminpage.php:237
    183 msgid "This option will render the caption as a hyperlink.  Default is Enabled."
    184 msgstr "Esta opção mostrará a legenda como um hiperlink. O defauld é Habilitado."
     183msgid "This option will render the caption as a hyperlink.  <b>Default is Enabled.</b>"
     184msgstr "Esta opção mostrará a legenda como um hiperlink. O defauld é Habilitado.</b>"
    185185
    186186#: adminpage.php:241
     
    189189
    190190#: adminpage.php:246
    191 msgid "This option allows the user to change how images are grouped when autoload is enabled. It uses jQuery selectors, as described <a href=\"http://api.jquery.com/category/selectors/\">here</a>. Default is \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\", which works in most themes by searching for a common post, gallery, or page that contains the images."
    192 msgstr "Es opção permite que o usuário mude como as imagens são agrupadas quando o carregamento automático (autoload) está habilitado. Isto é feito através de seletores jQuery, como descrito <a href=\"http://api.jquery.com/category/selectors/\">aqui</a>. O default é \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\", que funciona na maioria dos temas buscando por um post, galeria, ou páginas comuns que contenham as imagens."
     191msgid "This option allows the user to change how images are grouped when autoload is enabled. It uses jQuery selectors, as described <a href=\"http://api.jquery.com/category/selectors/\">here</a>. <b>Default is \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\".</b>"
     192msgstr "Es opção permite que o usuário mude como as imagens são agrupadas quando o carregamento automático (autoload) está habilitado. Isto é feito através de seletores jQuery, como descrito <a href=\"http://api.jquery.com/category/selectors/\">aqui</a>. <b>O default é \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\", que funciona na maioria dos temas buscando por um post, galeria, ou páginas comuns que contenham as imagens.</b>"
    193193
    194194#: adminpage.php:251
     
    197197
    198198#: adminpage.php:256
    199 msgid "This option allows the user to customize, translate or disable the counter text which appears in the captions when multiple images are shown. Inside the text, {x} will be replaced by the current image index, and {y} will be replaced by the total number of images in the group. Set it to false (boolean value, without quotes) or \"\" to disable the counter display. Default is \"Image {x} of {y}\"."
    200 msgstr "Esta opção permite que o usuário personalize, traduza ou desabilite o texto do contador que aparece nas legendas quando múltiplas imagens são exibidas. Dentro do texto, {x} será substituído por índice atual de imagens, e {y} será substituído pelo número total de imagens no grupo. Ajuste-a para false (valor booliano, sem aspas) ou \"\" para desabilitar a exibição do contador. O default é \"Imagens {x} de {y}\"."
     199msgid "This option allows the user to customize, translate or disable the counter text which appears in the captions when multiple images are shown. Inside the text, {x} will be replaced by the current image index, and {y} will be replaced by the total number of images in the group. Set it to false (boolean value, without quotes) or \"\" to disable the counter display. <b>Default is \"Image {x} of {y}\".</b>"
     200msgstr "Esta opção permite que o usuário personalize, traduza ou desabilite o texto do contador que aparece nas legendas quando múltiplas imagens são exibidas. Dentro do texto, {x} será substituído por índice atual de imagens, e {y} será substituído pelo número total de imagens no grupo. Ajuste-a para false (valor booliano, sem aspas) ou \"\" para desabilitar a exibição do contador. <b>O default é \"Imagens {x} de {y}\".</b>"
    201201
    202202#: adminpage.php:260
     
    205205
    206206#: adminpage.php:265
    207 msgid "These options allow the user to specify an array of <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">key codes</a> representing the keys to press to close or navigate to the next or previous images.</p><p>Just select the corresponding text box and press the keys you would like to use. Alternately check the box below to manually enter or clear key codes.</p><p>Default close values are [27, 88, 67] which means Esc (27), \"x\" (88) and \"c\" (67).</p><p>Default previous values are [37, 80] which means Left arrow (37) and \"p\" (80).</p><p>Default next values are [39, 78] which means Right arrow (39) and \"n\" (78)."
    208 msgstr "Estas opções permitem que o usuário especifique uma sequência de <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">códigos de teclas</a> que representam as teclas que devem ser pressionadas para fechar ou navegar para a imagem próxima ou anterior.</p><p>Selecione a caixa de texto correspondente e pressione as teclas que deseja usar. Você pode também checar a caixa abaixo para manualmente entrar ou limpar os códigos das teclas.</p><p>Os valores default de fechamento são [27, 88, 67] que significam Esc (27), \"x\" (88) e \"c\" (67).</p><p>Os valores default previous de image, anterior são [37, 80] que significam Seta para a esquerda (37) e \"p\" (80).</p><p>Os valores default de próxima imagem são [39, 78] que significam Seta para a direita (39) e \"n\" (78)."
     207msgid "These options allow the user to specify an array of <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">key codes</a> representing the keys to press to close or navigate to the next or previous images.</p><p>Just select the corresponding text box and press the keys you would like to use. Alternately check the box below to manually enter or clear key codes.</p><b><p>Default close values are [27, 88, 67] which means Esc (27), \"x\" (88) and \"c\" (67).</p><p>Default previous values are [37, 80] which means Left arrow (37) and \"p\" (80).</p><p>Default next values are [39, 78] which means Right arrow (39) and \"n\" (78)."
     208msgstr "Estas opções permitem que o usuário especifique uma sequência de <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">códigos de teclas</a> que representam as teclas que devem ser pressionadas para fechar ou navegar para a imagem próxima ou anterior.</p><p>Selecione a caixa de texto correspondente e pressione as teclas que deseja usar. Você pode também checar a caixa abaixo para manualmente entrar ou limpar os códigos das teclas.</p><b><p>Os valores default de fechamento são [27, 88, 67] que significam Esc (27), \"x\" (88) e \"c\" (67).</p><p>Os valores default previous de image, anterior são [37, 80] que significam Seta para a esquerda (37) e \"p\" (80).</p><p>Os valores default de próxima imagem são [39, 78] que significam Seta para a direita (39) e \"n\" (78)."
    209209
    210210#: adminpage.php:266
     
    229229
    230230#: adminpage.php:287
    231 msgid "This option enables Slimbox on mobile phones. By default this feature is disabled."
    232 msgstr "Esta opção habilita o Slimbox em telefones celulares. O default desta opção é 'desabilitado'."
     231msgid "This option enables Slimbox on mobile phones. <b>Default is Disabled.</b>"
     232msgstr "Esta opção habilita o Slimbox em telefones celulares. <b>O default é Desabilitado.</b>"
    233233
    234234#: adminpage.php:291
     
    237237
    238238#: adminpage.php:296
    239 msgid "This option enables a maintenance mode for testing purposes. When enabled slimbox will be disabled until you enable it by appending ?slimbox=on to a url. It will then remain on until you disable it by appending ?slimbox=off to a url, you clear your cookies, or in certain cases you clear your browser cache. This setting only impacts things at an individual vistor level, not a site wide level. Default is Disabled."
    240 msgstr "Esta opção habilita um modo de manutenção para propósitos de testes. Ao ser habilitado, o slimbox será desabilitado até que você o habilite anexando ?slimbox=on em uma url. Este ficará ligado até que você o desabilite anexando ?slimbox=off em uma url, delete os cookies, ou em certos casos limpe o cache do navegador. Esta configuração tem impacto somente a nível de visitante individual, e não a nível do site inteiro. O default é Desabilitado."
     239msgid "This option enables a maintenance mode for testing purposes. When enabled slimbox will be disabled until you enable it by appending <b><code>?slimbox=on</code></b> to a url. It will then remain on until you disable it by appending <b><code>?slimbox=off</code></b> to a url, you clear your cookies, or in certain cases you clear your browser cache. This setting only impacts things at an individual vistor level, not a site wide level. <b>Default is Disabled.</b>"
     240msgstr "Esta opção habilita um modo de manutenção para propósitos de testes. Ao ser habilitado, o slimbox será desabilitado até que você o habilite anexando ?slimbox=on em uma url. Este ficará ligado até que você o desabilite anexando ?slimbox=off em uma url, delete os cookies, ou em certos casos limpe o cache do navegador. Esta configuração tem impacto somente a nível de visitante individual, e não a nível do site inteiro. <b>O default é Desabilitado.</b>"
    241241
    242242#: adminpage.php:304
     
    248248msgstr "Notas"
    249249
     250#: adminpage.php:324
     251msgid "11145898"
     252msgstr "ME9UVWB926XCN"
     253
    250254#: adminpage.php:325
    251 msgid ""
    252 "11145898\">\r\n"
    253 "\t\t\t<input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">\r\n"
    254 "\t\t\t<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">\r\n"
    255 "\t\t</form>\r\n"
    256 "        <p><b style=\"font-size:11px;\">Support this plugin!"
    257 msgstr ""
    258 "11145898\">\r\n"
    259 "\t\t\t<input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" name=\"Enviar\" alt=\"PayPal - A maneira mais fácil e segurade fazer pagamentos online!\">\r\n"
    260 "\t\t\t<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">\r\n"
    261 "\t\t</form>\r\n"
    262 "        <p><b style=\"font-size:11px;\">Contribua para este plugin!"
     255msgid "en_US"
     256msgstr "pt_BR/BR"
     257
     258#: adminpage.php:325
     259msgid "The safer, easier way to pay online!"
     260msgstr "A maneira mais fácil e segura de efetuar pagamentos online!"
    263261
    264262#: index.php:95
  • wp-slimbox2/trunk/languages/wp-slimbox2-ru_RU.po

    r495363 r498324  
    99"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-slimbox2\n"
    1010"POT-Creation-Date: 2010-01-19 20:46+0000\n"
    11 "PO-Revision-Date: 2012-01-08 23:51+0400\n"
    12 "Last-Translator: nafanyabr <[email protected]>\n"
     11"PO-Revision-Date: 2012-01-25 16:09-0500\n"
     12"Last-Translator: \n"
    1313"Language-Team: nafanyabr <[email protected]>\n"
    1414"MIME-Version: 1.0\n"
     
    284284#: adminpage.php:324
    285285msgid "11145898"
    286 msgstr "11145898"
     286msgstr "AQKVNFSS7D5QJ"
    287287
    288288#: adminpage.php:325
    289289msgid "en_US"
    290 msgstr "ru_RU"
     290msgstr ""
    291291
    292292#: adminpage.php:325
  • wp-slimbox2/trunk/languages/wp-slimbox2.pot

    r195544 r498324  
    1 # Translation of the WordPress plugin   by .
    2 # Copyright (C) 2010
    3 # This file is distributed under the same license as the  package.
    4 # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
    5 #
    6 #, fuzzy
    71msgid ""
    82msgstr ""
    9 "Project-Id-Version:  \n"
    10 "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-slimbox2\n"
    11 "POT-Creation-Date: 2010-01-19 20:46+0000\n"
    12 "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
    13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    14 "Language-Team: LANGUAGE <[email protected]>\n"
     3"Project-Id-Version: wp-slimbox2\n"
     4"Report-Msgid-Bugs-To: \n"
     5"POT-Creation-Date: 2012-01-25 21:33-0500\n"
     6"PO-Revision-Date: 2012-01-25 22:13-0500\n"
     7"Last-Translator: \n"
     8"Language-Team: \n"
    159"MIME-Version: 1.0\n"
    16 "Content-Type: text/plain; charset=utf-8\n"
     10"Content-Type: text/plain; charset=UTF-8\n"
    1711"Content-Transfer-Encoding: 8bit\n"
    18 
    19 #: adminmenu.php:69
    20 msgid "Image {x} of {y}"
    21 msgstr ""
    22 
    23 #: adminmenu.php:70
    24 msgid "27,88,67"
    25 msgstr ""
    26 
    27 #: adminmenu.php:71
    28 msgid "37,80"
    29 msgstr ""
    30 
    31 #: adminmenu.php:72
    32 msgid "39,78"
    33 msgstr ""
    34 
    35 #: adminpage.php:10
     12"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e\n"
     13"X-Poedit-Basepath: .\n"
     14"X-Poedit-SearchPath-0: ..\n"
     15
     16#: ../adminpage.php:10
    3617msgid "WP Slimbox2 Plugin"
    3718msgstr ""
    3819
    39 #: adminpage.php:40
    40 msgid "Settings Saved"
    41 msgstr ""
    42 
    43 #: adminpage.php:47
    44 msgid "Disabled"
    45 msgstr ""
    46 
    47 #: adminpage.php:52
     20#: ../adminpage.php:21
    4821msgid "Settings"
    4922msgstr ""
    5023
    51 #: adminpage.php:56
     24#: ../adminpage.php:25
    5225msgid "Setting"
    5326msgstr ""
    5427
    55 #: adminpage.php:57
     28#: ../adminpage.php:26
    5629msgid "Description"
    5730msgstr ""
    5831
    59 #: adminpage.php:63
    60 msgid ""
    61 "Use the various options above to control some of the advanced settings of "
    62 "the plugin"
    63 msgstr ""
    64 
    65 #: adminpage.php:70
     32#: ../adminpage.php:32
     33msgid "Use the various options above to control some of the advanced settings of the plugin"
     34msgstr ""
     35
     36#: ../adminpage.php:39
    6637msgid "Autoload?"
    6738msgstr ""
    6839
    69 #: adminpage.php:75
    70 msgid ""
    71 "This option allows the user to automatically activate Slimbox on all links "
    72 "pointing to \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". All image "
    73 "links will automatically be grouped together in a gallery according to the "
    74 "selector chosen below. If this isn't activated you will need to manually add "
    75 "'rel=\"lightbox\"' for individual images or 'rel=\"lightbox-imagesetname\"' "
    76 "for groups on all links you wish to use the Slimbox effect. Default is "
    77 "DISABLED."
    78 msgstr ""
    79 
    80 #: adminpage.php:80
     40#: ../adminpage.php:44
     41msgid "This option allows the user to automatically activate Slimbox on all links pointing to \".jpg\", \".jpeg\", \".png\", \".bmp\" or \".gif\". All image links will automatically be grouped together in a gallery according to the selector chosen below. If this isn't activated you will need to manually add <b><code>rel=\"lightbox\"</code></b> for individual images or <b><code>rel=\"lightbox-imagesetname\"</code></b> for groups on all links you wish to use the Slimbox effect. <b>Default is Disabled.</b>"
     42msgstr ""
     43
     44#: ../adminpage.php:49
    8145msgid "Enable Picasaweb Integration?"
    8246msgstr ""
    8347
    84 #: adminpage.php:85
    85 msgid ""
    86 "This option allows the user to automatically add the Slimbox effect to "
    87 "Picasaweb links when provided an appropriate url (this is separate from the "
    88 "autoload script which only functions on direct image links). Default is "
    89 "DISABLED."
    90 msgstr ""
    91 
    92 #: adminpage.php:90
     48#: ../adminpage.php:54
     49msgid "This option allows the user to automatically add the Slimbox effect to Picasaweb links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). <b>Default is Disabled.</b>"
     50msgstr ""
     51
     52#: ../adminpage.php:59
    9353msgid "Enable Flickr Integration?"
    9454msgstr ""
    9555
    96 #: adminpage.php:95
    97 msgid ""
    98 "This option allows the user to automatically add the Slimbox effect to "
    99 "Flickr links when provided an appropriate url (this is separate from the "
    100 "autoload script which only functions on direct image links). Default is "
    101 "DISABLED."
    102 msgstr ""
    103 
    104 #: adminpage.php:100
     56#: ../adminpage.php:64
     57msgid "This option allows the user to automatically add the Slimbox effect to Flickr links when provided an appropriate url (this is separate from the autoload script which only functions on direct image links). <b>Default is Disabled.</b>"
     58msgstr ""
     59
     60#: ../adminpage.php:69
    10561msgid "Loop?"
    10662msgstr ""
    10763
    108 #: adminpage.php:105
    109 msgid ""
    110 "This option allows the user to navigate between the first and last images of "
    111 "a Slimbox gallery group when there is more than one image to display. "
    112 "Default is DISABLED."
    113 msgstr ""
    114 
    115 #: adminpage.php:110
     64#: ../adminpage.php:74
     65msgid "This option allows the user to navigate between the first and last images of a Slimbox gallery group when there is more than one image to display. <b>Default is Disabled.</b>"
     66msgstr ""
     67
     68#: ../adminpage.php:79
    11669msgid "Overlay Opacity"
    11770msgstr ""
    11871
    119 #: adminpage.php:117
    120 msgid ""
    121 "This option allows the user to adjust the opacity of the background overlay. "
    122 "1 is completely opaque, 0 is completely transparent. Default is 0.8."
    123 msgstr ""
    124 
    125 #: adminpage.php:122
     72#: ../adminpage.php:86
     73msgid "This option allows the user to adjust the opacity of the background overlay. 1 is completely opaque, 0 is completely transparent. <b>Default is 0.8.</b>"
     74msgstr ""
     75
     76#: ../adminpage.php:91
    12677msgid "Overlay Color"
    12778msgstr ""
    12879
    129 #: adminpage.php:128
    130 msgid ""
    131 "This option allows the user to set the color of the overlay by selecting "
    132 "your hue from the circle and color gradient from the square. Alternatively "
    133 "you may manually enter a valid HTML color code. The color of the entry field "
    134 "will change to reflect your selected color. Default is #000000."
    135 msgstr ""
    136 
    137 #: adminpage.php:133
     80#: ../adminpage.php:97
     81msgid "This option allows the user to set the color of the overlay by selecting your hue from the circle and color gradient from the square. Alternatively you may manually enter a valid HTML color code. The color of the entry field will change to reflect your selected color. <b>Default is #000000.</b>"
     82msgstr ""
     83
     84#: ../adminpage.php:102
    13885msgid "Overlay Fade Duration"
    13986msgstr ""
    14087
    141 #: adminpage.php:140
    142 msgid ""
    143 "This option allows the user to adjust the duration of the overlay fade-in "
    144 "and fade-out animations, in milliseconds. Default is 400."
    145 msgstr ""
    146 
    147 #: adminpage.php:145
     88#: ../adminpage.php:109
     89msgid "This option allows the user to adjust the duration of the overlay fade-in and fade-out animations, in milliseconds. <b>Default is 400.</b>"
     90msgstr ""
     91
     92#: ../adminpage.php:114
    14893msgid "Resize Duration"
    14994msgstr ""
    15095
    151 #: adminpage.php:152
    152 msgid ""
    153 "This option allows the user to adjust the duration of the resize animation "
    154 "for width and height, in milliseconds. Default is 400."
    155 msgstr ""
    156 
    157 #: adminpage.php:157
     96#: ../adminpage.php:121
     97msgid "This option allows the user to adjust the duration of the resize animation for width and height, in milliseconds. <b>Default is 400.</b>"
     98msgstr ""
     99
     100#: ../adminpage.php:126
    158101msgid "Resize Easing"
    159102msgstr ""
    160103
    161 #: adminpage.php:164
    162 msgid ""
    163 "This option allows the user to adjust the easing effect that you want to use "
    164 "for the resize animation (easings other than swing load an additional jQuery "
    165 "Easing Plugin). Many easings require a longer execution time to look good, "
    166 "so you should adjust the resizeDuration option above as well. Default is "
    167 "swing."
    168 msgstr ""
    169 
    170 #: adminpage.php:169
     104#: ../adminpage.php:133
     105msgid "This option allows the user to adjust the easing effect that you want to use for the resize animation (easings other than swing load an additional jQuery Easing Plugin). Many easings require a longer execution time to look good, so you should adjust the resizeDuration option above as well. <b>Default is swing.</b>"
     106msgstr ""
     107
     108#: ../adminpage.php:138
    171109msgid "Initial Width"
    172110msgstr ""
    173111
    174 #: adminpage.php:174
    175 msgid ""
    176 "This option allows the user to adjust the initial width of the box, in "
    177 "pixels. Default is 250."
    178 msgstr ""
    179 
    180 #: adminpage.php:179
     112#: ../adminpage.php:143
     113msgid "This option allows the user to adjust the initial width of the box, in pixels. <b>Default is 250.</b>"
     114msgstr ""
     115
     116#: ../adminpage.php:148
    181117msgid "Initial Height"
    182118msgstr ""
    183119
    184 #: adminpage.php:184
    185 msgid ""
    186 "This option allows the user to adjust the initial height of the box, in "
    187 "pixels. Default is 250."
    188 msgstr ""
    189 
    190 #: adminpage.php:188
     120#: ../adminpage.php:153
     121msgid "This option allows the user to adjust the initial height of the box, in pixels. <b>Default is 250.</b>"
     122msgstr ""
     123
     124#: ../adminpage.php:157
    191125msgid "Image Fade Duration"
    192126msgstr ""
    193127
    194 #: adminpage.php:195
    195 msgid ""
    196 "This option allows the user to adjust the duration of the image fade-in "
    197 "animation, in milliseconds. Disabling this effect will make the image appear "
    198 "instantly. Default is 400."
    199 msgstr ""
    200 
    201 #: adminpage.php:200
     128#: ../adminpage.php:164
     129msgid "This option allows the user to adjust the duration of the image fade-in animation, in milliseconds. Disabling this effect will make the image appear instantly. <b>Default is 400.</b>"
     130msgstr ""
     131
     132#: ../adminpage.php:169
    202133msgid "Caption Animation Duration"
    203134msgstr ""
    204135
    205 #: adminpage.php:207
    206 msgid ""
    207 "This option allows the user to adjust the duration of the caption animation, "
    208 "in milliseconds. Disabling this effect will make the caption appear "
    209 "instantly. Default is 400."
    210 msgstr ""
    211 
    212 #: adminpage.php:211
     136#: ../adminpage.php:176
     137msgid "This option allows the user to adjust the duration of the caption animation, in milliseconds. Disabling this effect will make the caption appear instantly. <b>Default is 400.</b>"
     138msgstr ""
     139
     140#: ../adminpage.php:180
    213141msgid "Image Caption Source Order"
    214142msgstr ""
    215143
    216 #: adminpage.php:227
    217 msgid ""
    218 "This option allows the user to select the order in which to search various "
    219 "locations for the caption text. If you'd like no caption just select \"None"
    220 "\" in the first block. You can also leave out an option by replacing it with "
    221 "\"None\", but be sure to place any option you'd like to search in front of "
    222 "it. If a caption can't be found, and \"None\" wasn\\t selected, it will "
    223 "default to the URL (\"href\"). Default is \"a-title\", followed by \"img-alt"
    224 "\", \"img-title\", and \"href\"."
    225 msgstr ""
    226 
    227 #: adminpage.php:232
     144#: ../adminpage.php:196
     145msgid "This option allows the user to select the order in which to search various locations for the caption text. If you'd like no caption just select \"None\" in the first block. You can also leave out an option by replacing it with \"None\", but be sure to place any option you'd like to search in front of it. If a caption can't be found, and \"None\" wasn't selected, it will default to the URL (\"href\"). <b>Default is \"a-title\", followed by \"img-alt\", \"img-title\", and \"href\".</b>"
     146msgstr ""
     147
     148#: ../adminpage.php:201
    228149msgid "Caption is URL"
    229150msgstr ""
    230151
    231 #: adminpage.php:237
    232 msgid ""
    233 "This option will render the caption as a hyperlink.  Default is Enabled."
    234 msgstr ""
    235 
    236 #: adminpage.php:241
     152#: ../adminpage.php:206
     153msgid "This option will render the caption as a hyperlink.  <b>Default is Enabled.</b>"
     154msgstr ""
     155
     156#: ../adminpage.php:210
    237157msgid "Autoload Selector"
    238158msgstr ""
    239159
    240 #: adminpage.php:246
    241 msgid ""
    242 "This option allows the user to change how images are grouped when autoload "
    243 "is enabled. It uses jQuery selectors, as described <a href=\"http://api."
    244 "jquery.com/category/selectors/\">here</a>. Default is \"div.entry-content, "
    245 "div.gallery, div.entry, div.post, div#page, body\", which works in most "
    246 "themes by searching for a common post, gallery, or page that contains the "
    247 "images."
    248 msgstr ""
    249 
    250 #: adminpage.php:251
     160#: ../adminpage.php:215
     161msgid "This option allows the user to change how images are grouped when autoload is enabled. It uses jQuery selectors, as described <a href=\"http://api.jquery.com/category/selectors/\">here</a>. <b>Default is \"div.entry-content, div.gallery, div.entry, div.post, div#page, body\".</b>"
     162msgstr ""
     163
     164#: ../adminpage.php:220
    251165msgid "Counter Text"
    252166msgstr ""
    253167
    254 #: adminpage.php:256
    255 msgid ""
    256 "This option allows the user to customize, translate or disable the counter "
    257 "text which appears in the captions when multiple images are shown. Inside "
    258 "the text, {x} will be replaced by the current image index, and {y} will be "
    259 "replaced by the total number of images in the group. Set it to false "
    260 "(boolean value, without quotes) or \"\" to disable the counter display. "
    261 "Default is \"Image {x} of {y}\"."
    262 msgstr ""
    263 
    264 #: adminpage.php:260
     168#: ../adminpage.php:225
     169msgid "This option allows the user to customize, translate or disable the counter text which appears in the captions when multiple images are shown. Inside the text, {x} will be replaced by the current image index, and {y} will be replaced by the total number of images in the group. Set it to false (boolean value, without quotes) or \"\" to disable the counter display. <b>Default is \"Image {x} of {y}\".</b>"
     170msgstr ""
     171
     172#: ../adminpage.php:229
    265173msgid "Close Keys"
    266174msgstr ""
    267175
    268 #: adminpage.php:265
    269 msgid ""
    270 "These options allow the user to specify an array of <a href=\"http://www."
    271 "webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">key codes</"
    272 "a> representing the keys to press to close or navigate to the next or "
    273 "previous images.</p><p>Just select the corresponding text box and press the "
    274 "keys you would like to use. Alternately check the box below to manually "
    275 "enter or clear key codes.</p><p>Default close values are [27, 88, 67] which "
    276 "means Esc (27), \"x\" (88) and \"c\" (67).</p><p>Default previous values are "
    277 "[37, 80] which means Left arrow (37) and \"p\" (80).</p><p>Default next "
    278 "values are [39, 78] which means Right arrow (39) and \"n\" (78)."
    279 msgstr ""
    280 
    281 #: adminpage.php:266
     176#: ../adminpage.php:234
     177msgid "These options allow the user to specify an array of <a href=\"http://www.webonweboff.com/tips/js/event_key_codes.aspx\" TARGET=\"_blank\">key codes</a> representing the keys to press to close or navigate to the next or previous images.</p><p>Just select the corresponding text box and press the keys you would like to use. Alternately check the box below to manually enter or clear key codes.</p><b><p>Default close values are [27, 88, 67] which means Esc (27), \"x\" (88) and \"c\" (67).</p><p>Default previous values are [37, 80] which means Left arrow (37) and \"p\" (80).</p><p>Default next values are [39, 78] which means Right arrow (39) and \"n\" (78)."
     178msgstr ""
     179
     180#: ../adminpage.php:235
    282181msgid "Enable Manual Key Code Entry?"
    283182msgstr ""
    284183
    285 #: adminpage.php:266
     184#: ../adminpage.php:235
    286185msgid "That key has already been defined."
    287186msgstr ""
    288187
    289 #: adminpage.php:270
     188#: ../adminpage.php:239
    290189msgid "Previous Keys"
    291190msgstr ""
    292191
    293 #: adminpage.php:276
     192#: ../adminpage.php:245
    294193msgid "Next Keys"
    295194msgstr ""
    296195
    297 #: adminpage.php:282
     196#: ../adminpage.php:251
    298197msgid "Enable on mobiles?"
    299198msgstr ""
    300199
    301 #: adminpage.php:287
    302 msgid ""
    303 "This option enables Slimbox on mobile phones. By default this feature is "
    304 "disabled."
    305 msgstr ""
    306 
    307 #: adminpage.php:291
     200#: ../adminpage.php:256
     201msgid "This option enables Slimbox on mobile phones. <b>Default is Disabled.</b>"
     202msgstr ""
     203
     204#: ../adminpage.php:260
    308205msgid "Maintenance mode"
    309206msgstr ""
    310207
    311 #: adminpage.php:296
    312 msgid ""
    313 "This option enables a maintenance mode for testing purposes. When enabled "
    314 "slimbox will be disabled until you enable it by appending ?slimbox=on to a "
    315 "url. It will then remain on until you disable it by appending ?slimbox=off "
    316 "to a url, you clear your cookies, or in certain cases you clear your browser "
    317 "cache. This setting only impacts things at an individual vistor level, not a "
    318 "site wide level. Default is Disabled."
    319 msgstr ""
    320 
    321 #: adminpage.php:304
     208#: ../adminpage.php:265
     209msgid "This option enables a maintenance mode for testing purposes. When enabled slimbox will be disabled until you enable it by appending <b><code>?slimbox=on</code></b> to a url. It will then remain on until you disable it by appending <b><code>?slimbox=off</code></b> to a url, you clear your cookies, or in certain cases you clear your browser cache. This setting only impacts things at an individual vistor level, not a site wide level. <b>Default is Disabled.</b>"
     210msgstr ""
     211
     212#: ../adminpage.php:272
    322213msgid "Update Options"
    323214msgstr ""
    324215
    325 #: adminpage.php:308
     216#: ../adminpage.php:277
    326217msgid "Notes"
    327218msgstr ""
    328219
    329 #: adminpage.php:325
    330 msgid ""
    331 "11145898\">\r\n"
    332 "\t\t\t<input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/"
    333 "btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, "
    334 "easier way to pay online!\">\r\n"
    335 "\t\t\t<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_US/i/scr/"
    336 "pixel.gif\" width=\"1\" height=\"1\">\r\n"
    337 "\t\t</form>\r\n"
    338 "        <p><b style=\"font-size:11px;\">Support this plugin!"
    339 msgstr ""
    340 
    341 #: index.php:95 index.php:132
    342 msgid "default/prevlabel.gif"
    343 msgstr ""
    344 
    345 #: index.php:96 index.php:132
    346 msgid "default/nextlabel.gif"
    347 msgstr ""
    348 
    349 #: index.php:97 index.php:132
    350 msgid "default/closelabel.gif"
    351 msgstr ""
    352 
    353 #: index.php:98 index.php:132
    354 msgid "LTR"
    355 msgstr ""
     220#: ../adminpage.php:288
     221msgid "Check out the <a href=\"http://transientmonkey.com/wp-slimbox2-user-guide\">WP-Slimbox2 User Guide</a>!"
     222msgstr ""
     223
     224#: ../adminpage.php:289
     225msgid "Support is graciously being hosted at <a href=\"http://pixopoint.com/forum/index.php?board=6.0\">PixoPoint.com</a> I'll make an effort to stay apprised of any questions that may arise."
     226msgstr ""
     227
     228#: ../adminpage.php:290
     229msgid "The plugin webpage can be found at <a href=\"http://transientmonkey.com/wp-slimbox2\">TransientMonkey.com</a>, feel free to leave comments, but don't post support questions, that's what the forum is for! Stay tuned in to all new Transient Monkey projects!"
     230msgstr ""
     231
     232#: ../adminpage.php:291
     233msgid "If you'd like to add or update a translation to WP-Slimbox2, please visit <a href=\"http://pixopoint.com/forum/index.php?topic=1383.0\">this forum</a>. The more people who can easily use this plugin the better!"
     234msgstr ""
     235
     236#: ../adminpage.php:294
     237msgid "11145898"
     238msgstr ""
     239
     240#: ../adminpage.php:295
     241msgid "en_US"
     242msgstr ""
     243
     244#: ../adminpage.php:295
     245msgid "The safer, easier way to pay online!"
     246msgstr ""
     247
     248#: ../adminpage.php:298
     249msgid "Support this plugin!"
     250msgstr ""
     251
  • wp-slimbox2/trunk/readme.txt

    r495363 r498324  
    44Tags: slimbox, slimbox2, lightbox, jQuery, picture, photo, image, overlay, display, lightbox2
    55Requires at least: 2.8
    6 Stable Tag: 1.0.3.4
     6Stable Tag: 1.1
    77
    88A WordPress implementation of the Slimbox2 javascript.
     
    1616Support forums are generously hosted by Ryan Hellyer of PixoPoint, <a href="http://pixopoint.com/forum/index.php?board=6.0">here</a>.
    1717
    18 Version 1.0.4 is a complete rewrite with additional features and should be out soon!
    19 
    20 Recent Changes in v1.0.3.4:
    21 1. Addition of Russian/&#1088;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081; &#1103;&#1079;&#1099;&#1082; translation.
    22 
     18Recent Changes in v1.1:<br />
     191.  Extensive re-write including several minor fixes to eliminate PHP warnings and errors.<br /><br />
     202.  Ability to use <code>rel="nolightbox"</code> to exclude an image.<br /><br />
     213.  Ability to customize image link URLs by simply placing '/*DESIRED URL*/' in front of the caption.<br /><br />
     224.  Grouping of Flickr, Picasa and other images combined. Autoload groups by selector, lightbox groups by rel.<br /><br />
     235.  Removal of WPlize in favor of built in option arrays.<br /><br />
     246.  Fix for settings initialization issues.<br /><br />
     257.  Option sanitization.<br /><br />
     268.  Addition of Traditional Chinese/&#32321;&#39636;&#20013;&#25991; translation.
    2327
    2428== Installation ==
     
    7882
    7983== Changelog ==
     84= 1.1 - Jan-31-2012 =
     85* Extensive re-write including several minor fixes to eliminate PHP warnings and errors.
     86* Ability to use <code>rel="nolightbox"</code> to exclude an image.
     87* Ability to customize image link URLs by simply placing '/*DESIRED URL*/' in front of the caption.
     88* Grouping of Flickr, Picasa and other images combined. Autoload groups by selector, lightbox groups by rel.
     89* Removal of WPlize in favor of built in option arrays.
     90* Fix for settings initialization issues.
     91* Option sanitization.
     92* Addition of Traditional Chinese/&#32321;&#39636;&#20013;&#25991; translation.
    8093= 1.0.3.4 - Jan-25-2012 =
    8194* Addition of Russian/&#1088;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081; &#1103;&#1079;&#1099;&#1082; translation.
     
    170183* ackie00h for the Japanese/&#26085;&#26412;&#35486; translation.
    171184* nafanyabr for the Russian/&#1088;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081; &#1103;&#1079;&#1099;&#1082; translation.
     185* <a href="http://shachi.tw">shachi</a> for the Traditional Chinese/&#32321;&#39636;&#20013;&#25991; translation.
    172186* Zareiff, for various Next/Previous/Close translation images when not provided by translators.
    173187* Anyone else I forgot to mention who's made a suggestion or provided me with ideas.
  • wp-slimbox2/trunk/src/slimbox2_autoload.js

    r425147 r498324  
    1111    }
    1212});
    13     function slimbox_CSS() {
    14     jQuery(function($) {
    15         $("#lbOverlay").css("background-color",slimbox2_options['overlayColor']);
    16         $("#lbPrevLink").hover(
    17             function () {
    18                 $(this).css("background-image","url("+slimbox2_options["prev"]+")");
    19             },
    20             function () {
    21                 $(this).css("background-image","");
    22             }
    23         );
    24         $("#lbNextLink").hover(
    25             function () {
    26                 $(this).css("background-image","url("+slimbox2_options["next"]+")");
    27             },
    28             function () {
    29                 $(this).css("background-image","");
    30             }
    31         );
    32         $("#lbCloseLink").css("background-image","url("+slimbox2_options["close"]+")");
    33     })};
     13function slimbox_CSS() {jQuery(function($) {
     14    $("#lbOverlay").css("background-color",slimbox2_options['overlayColor']);
     15    $("#lbPrevLink").hover(
     16        function () {
     17            $(this).css("background-image","url("+slimbox2_options["prev"]+")");
     18        },
     19        function () {
     20            $(this).css("background-image","");
     21        }
     22    );
     23    $("#lbNextLink").hover(
     24        function () {
     25            $(this).css("background-image","url("+slimbox2_options["next"]+")");
     26        },
     27        function () {
     28            $(this).css("background-image","");
     29        }
     30    );
     31    $("#lbCloseLink").css("background-image","url("+slimbox2_options["close"]+")");
     32})};
    3433
    35     function load_slimbox() {
    36     jQuery(function($) {
    37         var options = {
    38             loop: slimbox2_options['loop'],
    39             overlayOpacity: slimbox2_options['overlayOpacity'],
    40             overlayFadeDuration: parseInt(slimbox2_options['overlayFadeDuration']),
    41             resizeDuration: parseInt(slimbox2_options['resizeDuration']),
    42             resizeEasing: slimbox2_options['resizeEasing'],
    43             initialWidth: parseInt(slimbox2_options['initialWidth']),
    44             initialHeight: parseInt(slimbox2_options['initialHeight']),
    45             imageFadeDuration: parseInt(slimbox2_options['imageFadeDuration']),
    46             captionAnimationDuration: parseInt(slimbox2_options['captionAnimationDuration']),
    47             counterText: slimbox2_options['counterText'],
    48             closeKeys: closeKeys,
    49             previousKeys: previousKeys,
    50             nextKeys: nextKeys
    51         }
    52         var uri = encodeURI(el.href);
    53         var caption = eval(slimbox2_options['caption']);
    54         t = caption.split('/*');
    55         if(t.length > 1) t = t.split('*/');
    56         if (t.length > 1) {
    57             URI = test2[0];
    58             caption = test2[1]
    59         }
     34function load_slimbox() {jQuery(function($) {
     35    var options = {
     36        loop: slimbox2_options['loop'],
     37        overlayOpacity: slimbox2_options['overlayOpacity'],
     38        overlayFadeDuration: parseInt(slimbox2_options['overlayFadeDuration']),
     39        resizeDuration: parseInt(slimbox2_options['resizeDuration']),
     40        resizeEasing: slimbox2_options['resizeEasing'],
     41        initialWidth: parseInt(slimbox2_options['initialWidth']),
     42        initialHeight: parseInt(slimbox2_options['initialHeight']),
     43        imageFadeDuration: parseInt(slimbox2_options['imageFadeDuration']),
     44        captionAnimationDuration: parseInt(slimbox2_options['captionAnimationDuration']),
     45        counterText: slimbox2_options['counterText'],
     46        closeKeys: closeKeys,
     47        previousKeys: previousKeys,
     48        nextKeys: nextKeys
     49    }
     50
    6051        if(slimbox2_options['autoload']) {
    61             $("a[href]").not("[rel^='nolightbox']").filter(function() {
    62                     return /\.(jpeg|bmp|jpg|png|gif)(\?[\d\w=&]*)?$/i.test(this.href);
    63                 }).unbind("click").slimbox(options, function(el) {
    64                         return [encodeURI(el.href), (slimbox2_options['url'])?'<a href="' + uri + '">'+caption+'</a>':eval(slimbox2_options['caption'])];
    65                     }, function(el) {
    66                         return (this == el) || ($(this).closest(slimbox2_options['selector'])[0] && ($(this).closest(slimbox2_options['selector'])[0] == $(el).closest(slimbox2_options['selector'])[0]));
    67                 });
    68         } else {
    69             $("a[rel^='lightbox']").not("[rel^='nolightbox']").unbind("click").slimbox(options, function(el) {
    70                         return [encodeURI(el.href), (slimbox2_options['url'])?'<a href="' + uri + '">'+caption+'</a>':eval(slimbox2_options['caption'])];
    71                     }, function(el) {
    72                 return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
    73             });
    74         }
    75         if(slimbox2_options['picasaweb']) {
    76             $("a[href^='http://picasaweb.google.'] > img:first-child[src]").parent().unbind("click").slimbox(options, function(el) {
    77                 return [el.firstChild.src.replace(/\/s\d+(?:\-c)?\/([^\/]+)$/, "/s640/$2"),
    78                     (el.title || el.firstChild.alt) + '<br /><a href="' + encodeURI(el.href) + '">Picasa Web Albums page</a>'];
    79             });
    80         }
    81         if(slimbox2_options['flickr']) {
    82             $("a[href^='http://www.flickr.com/photos/'] > img:first-child[src]").parent().unbind("click").slimbox(options, function(el) {
    83                 return [el.firstChild.src.replace(/_[mts]\.(\w+)$/, ".$1"),
    84                     (el.title || el.firstChild.alt) + '<br /><a href="' + encodeURI(el.href) + '">Flickr page</a>'];
    85             });
    86         }
    87     })};
     52            var images = $("a[href]").not("[rel^='nolightbox']").filter(function() {return /\.(jpeg|bmp|jpg|png|gif)(\?[\d\w=&]*)?$/i.test(this.href);});
     53            if(slimbox2_options['picasaweb']) images = images.add($("a[href^='http://picasaweb.google.'] > img:first-child[src]").parent());
     54            if(slimbox2_options['flickr']) images = images.add($("a[href^='http://www.flickr.com/photos/'] > img:first-child[src]").parent());
     55        } else
     56        var images = $("a[rel^='lightbox']");       
     57        images.unbind("click").slimbox(options, function(el) {
     58            if (el.href.match(/^http:\/\/picasaweb.google./)!=null) {
     59                var href = el.firstChild.src.replace(/\/s\d+(?:\-c)?\/([^\/]+)$/, "/s640/$2");
     60            } else if (el.href.match(/^http:\/\/www.flickr.com\/photos\//)!=null) {
     61                var href = el.firstChild.src.replace(/_[mts]\.(\w+)$/, ".$1");
     62            } else var href = el.href;
     63            return parseForURL(href,eval(slimbox2_options['caption']));
     64        }, function(el) {
     65            if(slimbox2_options['autoload']) return (this == el) || ($(this).closest(slimbox2_options['selector'])[0] && ($(this).closest(slimbox2_options['selector'])[0] == $(el).closest(slimbox2_options['selector'])[0]));
     66            else return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
     67        });
     68})};
     69
     70function parseForURL(uri, caption) {
     71    t = caption.split('/*');
     72    href=uri;
     73    if(t.length > 1) t = t[1].split('*/');
     74    if (t.length > 1) {
     75        uri = t[0];
     76        caption = t[1]
     77        if(uri.toLowerCase().match(/^javascript:/)!=null) uri = uri.substring(11,uri.length);
     78    }
     79    return [href, (slimbox2_options['url'])?'<a href="' + uri + '">'+caption+'</a>':caption];
     80};
Note: See TracChangeset for help on using the changeset viewer.