Plugin Directory

Changeset 408439


Ignore:
Timestamp:
07/11/2011 06:44:41 PM (15 years ago)
Author:
mindvex
Message:

FIX: PHP running on Windows didn't like the mixed-in html code, which caused the plugin activation to fail
FIX: Internal file inclusion did not work on MU-installations
FIX: Previous/Next-Links were always generated with JavaScript-paging enabled (invisible), this could lead to search engine problems due to infinite loop links (thanks to Dani�l Bos)
FIX: Albumview was broken, if only 1 thumbnail per page was set
CHG: default setting changes: quick paging is on by default and number of images per page set to 9 (this only affects for fresh installations)
CHG: switched the JavaScript-paging effects from Prototype/Scriptaculous to jQuery (smoother and better to handle when both libraries are used on the site)
CHG: Removed legacy code (update from versions prior 0.8 won't work anymore, but you had enough time to update ;) )

Location:
picasaview/trunk
Files:
2 added
21 edited

Legend:

Unmodified
Added
Removed
  • picasaview/trunk/languages/picasaView-ar.po

    r277948 r408439  
    33"Project-Id-Version: www.r-sn.com\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-11-17 18:16+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: www.r-sn.com <web.rsn@gmail.com>\n"
     7"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
    88"Language-Team: مدونة رسين <web.rsn@gmail.com>\n"
    99"MIME-Version: 1.0\n"
     
    1818"X-Poedit-SearchPath-0: .\n"
    1919
    20 #: picasaview.php:250
     20#: picasaview.php:249
    2121msgid "Photos"
    2222msgstr "الصور"
    2323
    24 #: picasaview.php:346
     24#: picasaview.php:339
    2525msgid "Location"
    2626msgstr "الموقع"
    2727
    28 #: picasaview.php:347
     28#: picasaview.php:340
    2929msgid "Previous"
    3030msgstr "السابق"
    3131
    32 #: picasaview.php:349
     32#: picasaview.php:342
    3333msgid "Next"
    3434msgstr "التالي"
    3535
    36 #: picasaview.php:355
     36#: picasaview.php:348
    3737msgid "Viewing images"
    3838msgstr "عرض الصور"
    3939
    40 #: picasaview.php:357
     40#: picasaview.php:350
    4141msgid "of"
    4242msgstr "من"
    4343
    44 #: picasaview.php:363
     44#: picasaview.php:356
    4545msgid "Back to post"
    4646msgstr "العودة إلى الموضوع"
    4747
    48 #: picasaview.php:512
     48#: admintemplates/admin-menu-options.phtml:1
    4949msgid "PicasaView Options"
    5050msgstr "خيارات بيكاسا"
    5151
    52 #: picasaview.php:520
     52#: admintemplates/admin-menu-options.phtml:6
    5353msgid "Connection settings"
    5454msgstr "إعدادات الاتصال"
    5555
    56 #: picasaview.php:522
     56#: admintemplates/admin-menu-options.phtml:8
    5757msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    5858msgstr "للأسف : الإضافة تتطلب تثبيت PHP5 على سيرفرك ."
    5959
    60 #: picasaview.php:524
     60#: admintemplates/admin-menu-options.phtml:10
    6161msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    6262msgstr "للأسف : <code>SimpleXML</code> غير مدعوم في سيرفرك .."
    6363
    64 #: picasaview.php:529
     64#: admintemplates/admin-menu-options.phtml:15
    6565msgid "Server-URL"
    6666msgstr "عنوان بيكاسا .. الافتراضي سيكون : http://picasaweb.google.com"
    6767
    68 #: picasaview.php:533
     68#: admintemplates/admin-menu-options.phtml:19
    6969msgid "User Id"
    7070msgstr "عنوانك على بيكاسا"
    7171
    72 #: picasaview.php:538
     72#: admintemplates/admin-menu-options.phtml:24
    7373msgid "Debug output"
    7474msgstr "تصحيح الإخراج"
    7575
    76 #: picasaview.php:540
     76#: admintemplates/admin-menu-options.phtml:26
    7777msgid "Print url and the returned data from picasaweb when a connection failure occured"
    7878msgstr "طباعة الرابط والبيانات التي تم جلبها من بيكاسا عندما يفشل الاتصال .."
    7979
    80 #: picasaview.php:546
     80#: admintemplates/admin-menu-options.phtml:32
    8181msgid "Display settings"
    8282msgstr "ضبط الشاشة"
    8383
    84 #: picasaview.php:550
     84#: admintemplates/admin-menu-options.phtml:36
    8585msgid "Date/Time format"
    8686msgstr "تنسيق التاريخ / الوقت"
    8787
    88 #: picasaview.php:552
     88#: admintemplates/admin-menu-options.phtml:38
    8989msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    9090msgstr "يجب مشاهدة الصيغ التالية في هذه الصفحة لاستخدامها في عرض معلومات التاريخ : <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    9191
    92 #: picasaview.php:556
     92#: admintemplates/admin-menu-options.phtml:42
    9393msgid "Thumbnail size"
    9494msgstr "حجم الصورة المصغرة"
    9595
    96 #: picasaview.php:565
    97 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
     96#: admintemplates/admin-menu-options.phtml:51
     97#, fuzzy
     98msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
    9899msgstr "علامة الصور المصغرة (متوفر فقط للمصغرات التي أصغر من 200px)"
    99100
    100 #: picasaview.php:569
     101#: admintemplates/admin-menu-options.phtml:55
    101102msgid "Full image size"
    102103msgstr "الصورة بالحجم الكامل"
    103104
    104 #: picasaview.php:576
     105#: admintemplates/admin-menu-options.phtml:62
    105106msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    106107msgstr "الصور الأعلى من 1024 ربما لاتعمل جيداً بسبب قيود بيكاسا .."
    107108
    108 #: picasaview.php:580
     109#: admintemplates/admin-menu-options.phtml:66
    109110msgid "Images per page"
    110111msgstr "الصور في كامل الصفحة"
    111112
    112 #: picasaview.php:582
     113#: admintemplates/admin-menu-options.phtml:68
    113114msgid "insert <code>0</code> to disable paging and show all images on the same page"
    114115msgstr "إدخال <code>0</code> لتعطيل الترحيل وعرض كل الصور في نفس الصفحة"
    115116
    116 #: picasaview.php:586
     117#: admintemplates/admin-menu-options.phtml:72
    117118msgid "Quick paging"
    118119msgstr "تسريع الترحيل"
    119120
    120 #: picasaview.php:588
     121#: admintemplates/admin-menu-options.phtml:74
    121122msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    122123msgstr "يجب استخدام الجافا سكريبت لاستخدام نظام الترحيل (أسرع كثيرا وأكثر جمالا عند تقليب صفحات الصور)"
    123124
    124 #: picasaview.php:596
     125#: admintemplates/admin-menu-options.phtml:84
    125126msgid "Save Changes"
    126127msgstr "حفظ التغييرات"
  • picasaview/trunk/languages/picasaView-ca.po

    r241939 r408439  
    33"Project-Id-Version: picasaView\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2010-03-17 23:11+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Núria Ramoneda <nn@gmail.com>\n"
     7"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
    88"Language-Team: Simon Sattes / traducció Núria Ramoneda <simon.sattes@gmail.com>\n"
    99"MIME-Version: 1.0\n"
     
    1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
    1818"X-Poedit-SearchPath-0: .\n"
     19"X-Poedit-SearchPath-1: admintemplates\n"
    1920
    20 #: picasaview.php:250
     21#: picasaview.php:249
    2122msgid "Photos"
    2223msgstr "Fotos"
    2324
    24 #: picasaview.php:346
     25#: picasaview.php:339
    2526msgid "Location"
    2627msgstr "Ubicació"
    2728
    28 #: picasaview.php:347
     29#: picasaview.php:340
    2930msgid "Previous"
    3031msgstr "Anterior"
    3132
    32 #: picasaview.php:349
     33#: picasaview.php:342
    3334msgid "Next"
    3435msgstr "Següent"
    3536
    36 #: picasaview.php:355
     37#: picasaview.php:348
    3738msgid "Viewing images"
    3839msgstr "imatges"
    3940
    40 #: picasaview.php:357
     41#: picasaview.php:350
    4142msgid "of"
    4243msgstr "de"
    4344
    44 #: picasaview.php:363
     45#: picasaview.php:356
    4546msgid "Back to post"
    4647msgstr "Torna a l'article"
    4748
    48 #: picasaview.php:513
     49#: admintemplates/admin-menu-options.phtml:1
    4950msgid "PicasaView Options"
    5051msgstr "Opcions PicasaView"
    5152
    52 #: picasaview.php:521
     53#: admintemplates/admin-menu-options.phtml:6
    5354msgid "Connection settings"
    5455msgstr "Configuració de la connexió"
    5556
    56 #: picasaview.php:523
     57#: admintemplates/admin-menu-options.phtml:8
    5758msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    5859msgstr "Males notícies: necessiteu el PHP5 per fer anar aquest plugin. Ara teniu instal·lat el PHP"
    5960
    60 #: picasaview.php:525
     61#: admintemplates/admin-menu-options.phtml:10
    6162msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    6263msgstr "Males notícies: l'extensió de PHP5 <code>SimpleXML</code> (que generalment està activa per defecte) no està activa en el vostre servidor i és necessària per a fer anar aquest plugin. Demaneu-ho al vostre proveïdor. Disculpeu les molèsties."
    6364
    64 #: picasaview.php:530
     65#: admintemplates/admin-menu-options.phtml:15
    6566msgid "Server-URL"
    6667msgstr "URL del servidor"
    6768
    68 #: picasaview.php:534
     69#: admintemplates/admin-menu-options.phtml:19
    6970msgid "User Id"
    7071msgstr "Id d'usuari"
    7172
    72 #: picasaview.php:539
     73#: admintemplates/admin-menu-options.phtml:24
    7374msgid "Debug output"
    7475msgstr "Sortida de depuració"
    7576
    76 #: picasaview.php:541
     77#: admintemplates/admin-menu-options.phtml:26
    7778msgid "Print url and the returned data from picasaweb when a connection failure occured"
    7879msgstr "Imprimeix la URL i les dades de retorn de picasaweb quan hi ha un problema de connexió"
    7980
    80 #: picasaview.php:547
     81#: admintemplates/admin-menu-options.phtml:32
    8182msgid "Display settings"
    8283msgstr "Mostra la configuració"
    8384
    84 #: picasaview.php:551
     85#: admintemplates/admin-menu-options.phtml:36
    8586msgid "Date/Time format"
    8687msgstr "Format data/hora"
    8788
    88 #: picasaview.php:553
     89#: admintemplates/admin-menu-options.phtml:38
    8990msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    9091msgstr "Format de data que s'usa quan es mostra informació de data. Per a tots els formats possibles doneu un cop d'ull a <a href=\"http://php.net/manual/en/function.strftime.php\">la documentació de PHP sobre formats de data</a>."
    9192
    92 #: picasaview.php:557
     93#: admintemplates/admin-menu-options.phtml:42
    9394msgid "Thumbnail size"
    9495msgstr "Mida de les miniatures"
    9596
    96 #: picasaview.php:566
    97 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
     97#: admintemplates/admin-menu-options.phtml:51
     98#, fuzzy
     99msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
    98100msgstr "Retalla les miniatures (només disponible si aquestes són més petites de 200px)"
    99101
    100 #: picasaview.php:570
     102#: admintemplates/admin-menu-options.phtml:55
    101103msgid "Full image size"
    102104msgstr "Mida de la imatge gran"
    103105
    104 #: picasaview.php:577
     106#: admintemplates/admin-menu-options.phtml:62
    105107msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    106108msgstr "mides de 1024 i superiors no funcionaran correctament degut a restriccions del servei Picasa (queixeu-vos a Google per aquest tema)"
    107109
    108 #: picasaview.php:581
     110#: admintemplates/admin-menu-options.phtml:66
    109111msgid "Images per page"
    110112msgstr "Imatges per pàgina"
    111113
    112 #: picasaview.php:583
     114#: admintemplates/admin-menu-options.phtml:68
    113115msgid "insert <code>0</code> to disable paging and show all images on the same page"
    114116msgstr "Inserta un <code>0</code> per a desactivar la paginació i mostrar totes les imatges en la mateixa pàgina."
    115117
    116 #: picasaview.php:587
     118#: admintemplates/admin-menu-options.phtml:72
    117119msgid "Quick paging"
    118120msgstr "Paginació ràpida"
    119121
    120 #: picasaview.php:589
     122#: admintemplates/admin-menu-options.phtml:74
    121123msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    122124msgstr "usa Javascript per a paginar (anirà més ràpid i serà més bonic quan l'usuari es mogui per les pàgines d'imatges)"
    123125
    124 #: picasaview.php:597
     126#: admintemplates/admin-menu-options.phtml:84
    125127msgid "Save Changes"
    126128msgstr "Desa els canvis"
  • picasaview/trunk/languages/picasaView-de_DE.po

    r182265 r408439  
    33"Project-Id-Version: picasaView\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-11-17 18:16+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
     
    1414"X-Poedit-SourceCharset: utf-8\n"
    1515"X-Poedit-KeywordsList: __;_e\n"
    16 "X-Poedit-Basepath: .\\trunk\n"
     16"X-Poedit-Basepath: ../\n"
    1717"X-Poedit-SearchPath-0: .\n"
     18"X-Poedit-SearchPath-1: admintemplates\n"
    1819
    19 #: picasaview.php:250
     20#: picasaview.php:249
    2021msgid "Photos"
    2122msgstr "Fotos"
    2223
    23 #: picasaview.php:346
     24#: picasaview.php:339
    2425msgid "Location"
    2526msgstr "Aufnahmeort"
    2627
    27 #: picasaview.php:347
     28#: picasaview.php:340
    2829msgid "Previous"
    2930msgstr "zur&uuml;ck"
    3031
    31 #: picasaview.php:349
     32#: picasaview.php:342
    3233msgid "Next"
    3334msgstr "weiter"
    3435
    35 #: picasaview.php:355
     36#: picasaview.php:348
    3637msgid "Viewing images"
    3738msgstr "Zeige Bilder"
    3839
    39 #: picasaview.php:357
     40#: picasaview.php:350
    4041msgid "of"
    4142msgstr "von"
    4243
    43 #: picasaview.php:363
     44#: picasaview.php:356
    4445msgid "Back to post"
    4546msgstr "Zur&uuml;ck zum Beitrag"
    4647
    47 #: picasaview.php:512
     48#: admintemplates/admin-menu-options.phtml:1
    4849msgid "PicasaView Options"
    4950msgstr "PicasaView Einstellungen"
    5051
    51 #: picasaview.php:520
     52#: admintemplates/admin-menu-options.phtml:6
    5253msgid "Connection settings"
    5354msgstr "Verbindung"
    5455
    55 #: picasaview.php:522
     56#: admintemplates/admin-menu-options.phtml:8
    5657msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    5758msgstr "Schlechte Nachrichten: picasaView ben&ouml;tigt mindestens PHP5. Verf&uuml;gbar ist lediglich"
    5859
    59 #: picasaview.php:524
     60#: admintemplates/admin-menu-options.phtml:10
    6061msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    6162msgstr "Schlechte Nachrichten: picasaView ben&ouml;tigt die PHP5-Erweiterung <code>SimpleXML</code>, die standardm&auml;&szlig; bei PHP aktiviert ist, der Provider allerdings absichtlich deaktiviert hat (warum auch immer)."
    6263
    63 #: picasaview.php:529
     64#: admintemplates/admin-menu-options.phtml:15
    6465msgid "Server-URL"
    6566msgstr "Server-URL"
    6667
    67 #: picasaview.php:533
     68#: admintemplates/admin-menu-options.phtml:19
    6869msgid "User Id"
    6970msgstr "User-Id"
    7071
    71 #: picasaview.php:538
     72#: admintemplates/admin-menu-options.phtml:24
    7273msgid "Debug output"
    7374msgstr "Debug-Ausgabe"
    7475
    75 #: picasaview.php:540
     76#: admintemplates/admin-menu-options.phtml:26
    7677msgid "Print url and the returned data from picasaweb when a connection failure occured"
    7778msgstr "Wenn ein Fehler auftritt, wird die angeforderte URL sowie die erhaltenen Daten von picasaWeb angezeigt"
    7879
    79 #: picasaview.php:546
     80#: admintemplates/admin-menu-options.phtml:32
    8081msgid "Display settings"
    8182msgstr "Anzeige"
    8283
    83 #: picasaview.php:550
     84#: admintemplates/admin-menu-options.phtml:36
    8485msgid "Date/Time format"
    8586msgstr "Datumsformat"
    8687
    87 #: picasaview.php:552
     88#: admintemplates/admin-menu-options.phtml:38
    8889msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    8990msgstr "Datumsformat, das bei Zeitangaben verwendet wird.Siehe  <a href=\"http://php.net/manual/en/function.strftime.php\">Dokumentation der PHP-Funktion strftime</a> für alle verfügbaren Platzhalter."
    9091
    91 #: picasaview.php:556
     92#: admintemplates/admin-menu-options.phtml:42
    9293msgid "Thumbnail size"
    9394msgstr "Gr&ouml;&szlig;e der Thumbnails"
    9495
    95 #: picasaview.php:565
    96 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
     96#: admintemplates/admin-menu-options.phtml:51
     97#, fuzzy
     98msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
    9799msgstr "Thumbnails auf gleiche Größe zuschneiden (nur für Thumbnails kleiner als 200px)"
    98100
    99 #: picasaview.php:569
     101#: admintemplates/admin-menu-options.phtml:55
    100102msgid "Full image size"
    101103msgstr "Bildgr&ouml;&szlig;e"
    102104
    103 #: picasaview.php:576
     105#: admintemplates/admin-menu-options.phtml:62
    104106msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    105107msgstr "1024 und höher funktionieren momentan noch *nicht*, da dies von picasaweb nicht unterstützt wird (liegt an Google)."
    106108
    107 #: picasaview.php:580
     109#: admintemplates/admin-menu-options.phtml:66
    108110msgid "Images per page"
    109111msgstr "Bilder pro Seite"
    110112
    111 #: picasaview.php:582
     113#: admintemplates/admin-menu-options.phtml:68
    112114msgid "insert <code>0</code> to disable paging and show all images on the same page"
    113115msgstr "Der Wert <code>0</code> deaktiviert das Bl&auml;ttern und zeigt alle Bilder auf einer Seite an"
    114116
    115 #: picasaview.php:586
     117#: admintemplates/admin-menu-options.phtml:72
    116118msgid "Quick paging"
    117119msgstr "Schnelles Bl&auml;ttern"
    118120
    119 #: picasaview.php:588
     121#: admintemplates/admin-menu-options.phtml:74
    120122msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    121123msgstr "JavaScript zum Bl&auml;ttern verwenden (wesentlich schneller und vor allem sch&ouml;ner)"
    122124
    123 #: picasaview.php:596
     125#: admintemplates/admin-menu-options.phtml:84
    124126msgid "Save Changes"
    125127msgstr "&Auml;nderungen speichern"
  • picasaview/trunk/languages/picasaView-es_ES.po

    r241939 r408439  
    33"Project-Id-Version: picasaView\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-11-17 18:16+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Núria Ramoneda <nn@gmail.com>\n"
     7"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
    88"Language-Team: Simmon Sattes / traducción Núria Ramoneda <simon.sattes@gmail.com>\n"
    99"MIME-Version: 1.0\n"
     
    1717"Plural-Forms: nplurals=2; plural=n != 1;\n"
    1818"X-Poedit-SearchPath-0: .\n"
     19"X-Poedit-SearchPath-1: admintemplates\n"
    1920
    20 #: picasaview.php:250
     21#: picasaview.php:249
    2122msgid "Photos"
    2223msgstr "Fotos"
    2324
    24 #: picasaview.php:346
     25#: picasaview.php:339
    2526msgid "Location"
    2627msgstr "Ubicación"
    2728
    28 #: picasaview.php:347
     29#: picasaview.php:340
    2930msgid "Previous"
    3031msgstr "Anterior"
    3132
    32 #: picasaview.php:349
     33#: picasaview.php:342
    3334msgid "Next"
    3435msgstr "Siguiente"
    3536
    36 #: picasaview.php:355
     37#: picasaview.php:348
    3738msgid "Viewing images"
    3839msgstr "imágenes"
    3940
    40 #: picasaview.php:357
     41#: picasaview.php:350
    4142msgid "of"
    4243msgstr "de"
    4344
    44 #: picasaview.php:363
     45#: picasaview.php:356
    4546msgid "Back to post"
    4647msgstr "Volver al artículo"
    4748
    48 #: picasaview.php:512
     49#: admintemplates/admin-menu-options.phtml:1
    4950msgid "PicasaView Options"
    5051msgstr "Opciones de PicasaView"
    5152
    52 #: picasaview.php:520
     53#: admintemplates/admin-menu-options.phtml:6
    5354msgid "Connection settings"
    5455msgstr "Configuración de la conexión"
    5556
    56 #: picasaview.php:522
     57#: admintemplates/admin-menu-options.phtml:8
    5758msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    5859msgstr "Malas notícias: necesita PHP5 para utilizar este plugin. Ahora tiene instalada la versión de PHP"
    5960
    60 #: picasaview.php:524
     61#: admintemplates/admin-menu-options.phtml:10
    6162msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    6263msgstr "Malas noticias: la extensión de PHP5 <code>SimpleXML</code> (que generalmente está activa por defecto) no está activa en su servidor y es necesaria para utilizar este plugin. Pídalo a su proveedor. Disculpe las molestias."
    6364
    64 #: picasaview.php:529
     65#: admintemplates/admin-menu-options.phtml:15
    6566msgid "Server-URL"
    6667msgstr "URL del servidor"
    6768
    68 #: picasaview.php:533
     69#: admintemplates/admin-menu-options.phtml:19
    6970msgid "User Id"
    7071msgstr "Id de usuario"
    7172
    72 #: picasaview.php:538
     73#: admintemplates/admin-menu-options.phtml:24
    7374msgid "Debug output"
    7475msgstr "Salida de depuración"
    7576
    76 #: picasaview.php:540
     77#: admintemplates/admin-menu-options.phtml:26
    7778msgid "Print url and the returned data from picasaweb when a connection failure occured"
    7879msgstr "Imprime la URL y los datos de retorno de Picasaweb cuando hay un problema de conexión "
    7980
    80 #: picasaview.php:546
     81#: admintemplates/admin-menu-options.phtml:32
    8182msgid "Display settings"
    8283msgstr "Muestra la configuración"
    8384
    84 #: picasaview.php:550
     85#: admintemplates/admin-menu-options.phtml:36
    8586msgid "Date/Time format"
    8687msgstr "Formato fecha/hora"
    8788
    88 #: picasaview.php:552
     89#: admintemplates/admin-menu-options.phtml:38
    8990msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    9091msgstr "Formato de fecha usado para mostrar información de fecha. Para ver todos los formatos posibles er a tots els formats possibles dele una ojeada a <a href=\"http://php.net/manual/en/function.strftime.php\">la documentación de PHP sobre formatos de fecha</a>."
    9192
    92 #: picasaview.php:556
     93#: admintemplates/admin-menu-options.phtml:42
    9394msgid "Thumbnail size"
    9495msgstr "Medida de las miniaturas"
    9596
    96 #: picasaview.php:565
    97 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
     97#: admintemplates/admin-menu-options.phtml:51
     98#, fuzzy
     99msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
    98100msgstr "Recorta las miniaturas (sólo disponible si éstas son más pequeñas de 200px)"
    99101
    100 #: picasaview.php:569
     102#: admintemplates/admin-menu-options.phtml:55
    101103msgid "Full image size"
    102104msgstr "Medida de la imagen grande"
    103105
    104 #: picasaview.php:576
     106#: admintemplates/admin-menu-options.phtml:62
    105107msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    106108msgstr "medidas de 1024 y superiores no funcionarán correctamente debido a restricciones del servicio Picasa (puede quejarse a Google por ello)"
    107109
    108 #: picasaview.php:580
     110#: admintemplates/admin-menu-options.phtml:66
    109111msgid "Images per page"
    110112msgstr "Imágenes por página"
    111113
    112 #: picasaview.php:582
     114#: admintemplates/admin-menu-options.phtml:68
    113115msgid "insert <code>0</code> to disable paging and show all images on the same page"
    114116msgstr "Inserta un <code>0</code> para desactivar la paginación y mostrar todas las imágenes en la misma página."
    115117
    116 #: picasaview.php:586
     118#: admintemplates/admin-menu-options.phtml:72
    117119msgid "Quick paging"
    118120msgstr "Paginación rápida"
    119121
    120 #: picasaview.php:588
     122#: admintemplates/admin-menu-options.phtml:74
    121123msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    122124msgstr "usa Javascript para paginar (irá más rápido y  más rápido cuando el usuario hojee las páginas de imágenes)"
    123125
    124 #: picasaview.php:596
     126#: admintemplates/admin-menu-options.phtml:84
    125127msgid "Save Changes"
    126128msgstr "Guardar cambios"
  • picasaview/trunk/languages/picasaView-fr_FR.po

    r241939 r408439  
    33"Project-Id-Version: picasaView\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-11-17 18:16+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Emeric DOUTRIAUX <edoutriaux@gmail.com>\n"
     7"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
    88"Language-Team: Simon Sattes <simon.sattes@gmail.com>\n"
    99"MIME-Version: 1.0\n"
     
    1414"X-Poedit-SourceCharset: utf-8\n"
    1515"X-Poedit-KeywordsList: __;_e\n"
    16 "X-Poedit-Basepath: .\\trunk\n"
     16"X-Poedit-Basepath: ../\n"
    1717"X-Poedit-SearchPath-0: .\n"
     18"X-Poedit-SearchPath-1: admintemplates\n"
    1819
    19 #: picasaview.php:250
     20#: picasaview.php:249
    2021msgid "Photos"
    2122msgstr "Photos"
    2223
    23 #: picasaview.php:346
     24#: picasaview.php:339
    2425msgid "Location"
    2526msgstr "Localisation"
    2627
    27 #: picasaview.php:347
     28#: picasaview.php:340
    2829msgid "Previous"
    2930msgstr "Pr&eacute;c&eacute;dent"
    3031
    31 #: picasaview.php:349
     32#: picasaview.php:342
    3233msgid "Next"
    3334msgstr "Suivant"
    3435
    35 #: picasaview.php:355
     36#: picasaview.php:348
    3637msgid "Viewing images"
    3738msgstr "Voir les images"
    3839
    39 #: picasaview.php:357
     40#: picasaview.php:350
    4041msgid "of"
    4142msgstr "de"
    4243
    43 #: picasaview.php:363
     44#: picasaview.php:356
    4445msgid "Back to post"
    4546msgstr "Retour &agrave; l'article"
    4647
    47 #: picasaview.php:512
     48#: admintemplates/admin-menu-options.phtml:1
    4849msgid "PicasaView Options"
    4950msgstr "Options PicasaView"
    5051
    51 #: picasaview.php:520
     52#: admintemplates/admin-menu-options.phtml:6
    5253msgid "Connection settings"
    5354msgstr "Param&egrave;tres de connection"
    5455
    55 #: picasaview.php:522
     56#: admintemplates/admin-menu-options.phtml:8
    5657msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    5758msgstr "Erreur: PHP5 est requis pour utiliser PicasaView. Actuellement, la version install&eacute;e est PHP"
    5859
    59 #: picasaview.php:524
     60#: admintemplates/admin-menu-options.phtml:10
    6061msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    6162msgstr "Erreur: l'extension PHP <code>SimpleXML</code> (habituellement disponible par d&eacute;faut) requise sur votre serveur n'est pas disponible. Contactez votre h&eacute;bergeur. D&eacute;sol&eacute;."
    6263
    63 #: picasaview.php:529
     64#: admintemplates/admin-menu-options.phtml:15
    6465msgid "Server-URL"
    6566msgstr "URL du serveur"
    6667
    67 #: picasaview.php:533
     68#: admintemplates/admin-menu-options.phtml:19
    6869msgid "User Id"
    6970msgstr "Login"
    7071
    71 #: picasaview.php:538
     72#: admintemplates/admin-menu-options.phtml:24
    7273msgid "Debug output"
    7374msgstr "Interface de d&eacute;bugage"
    7475
    75 #: picasaview.php:540
     76#: admintemplates/admin-menu-options.phtml:26
    7677msgid "Print url and the returned data from picasaweb when a connection failure occured"
    7778msgstr "Affiche l'url et l'es informations transmises par picasaweb en cas d'&eacute;chec de connection"
    7879
    79 #: picasaview.php:546
     80#: admintemplates/admin-menu-options.phtml:32
    8081msgid "Display settings"
    8182msgstr "Param&egrave;tres d'affichage"
    8283
    83 #: picasaview.php:550
     84#: admintemplates/admin-menu-options.phtml:36
    8485msgid "Date/Time format"
    8586msgstr "Format Date/Heure"
    8687
    87 #: picasaview.php:552
     88#: admintemplates/admin-menu-options.phtml:38
    8889msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    8990msgstr "Le format de Date est utilis&eacute; pour afficher les informations concernant la date. Pour conna&icirc;tre les formats disponibles, consultez <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    9091
    91 #: picasaview.php:556
     92#: admintemplates/admin-menu-options.phtml:42
    9293msgid "Thumbnail size"
    9394msgstr "Taille des miniatures"
    9495
    95 #: picasaview.php:565
    96 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
     96#: admintemplates/admin-menu-options.phtml:51
     97#, fuzzy
     98msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
    9799msgstr "Rogner les miniatures (uniquement pour les miniatures de moins de 200px)"
    98100
    99 #: picasaview.php:569
     101#: admintemplates/admin-menu-options.phtml:55
    100102msgid "Full image size"
    101103msgstr "Image en taille r&eacute;elle"
    102104
    103 #: picasaview.php:576
     105#: admintemplates/admin-menu-options.phtml:62
    104106msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    105107msgstr "1024 et sup&eacute;rieur ne fonctionnera pas &agrave; cause de restrictions sur picasaweb."
    106108
    107 #: picasaview.php:580
     109#: admintemplates/admin-menu-options.phtml:66
    108110msgid "Images per page"
    109111msgstr "Images par page"
    110112
    111 #: picasaview.php:582
     113#: admintemplates/admin-menu-options.phtml:68
    112114msgid "insert <code>0</code> to disable paging and show all images on the same page"
    113115msgstr "Ins&eacute;rez <code>0</code> pour d&eacute;sactiver le mutipage et afficher toutes les images sur la m&ecirc;me page"
    114116
    115 #: picasaview.php:586
     117#: admintemplates/admin-menu-options.phtml:72
    116118msgid "Quick paging"
    117119msgstr "Mise en page rapide"
    118120
    119 #: picasaview.php:588
     121#: admintemplates/admin-menu-options.phtml:74
    120122msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    121123msgstr "utiliser Javascript pour le multipage (beaucoup plus rapide et plus beau lors du parcours des pages)"
    122124
    123 #: picasaview.php:596
     125#: admintemplates/admin-menu-options.phtml:84
    124126msgid "Save Changes"
    125127msgstr "Enregistrer les modifications"
  • picasaview/trunk/languages/picasaView-nl_NL.po

    r241939 r408439  
    33"Project-Id-Version: picasaView\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-11-17 18:16+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Stefan Segers <stefsegers@me.com>\n"
     7"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
    88"Language-Team: Simon Sattes <simon.sattes@gmail.com>\n"
    99"MIME-Version: 1.0\n"
     
    1414"X-Poedit-SourceCharset: utf-8\n"
    1515"X-Poedit-KeywordsList: __;_e\n"
    16 "X-Poedit-Basepath: .\\trunk\n"
     16"X-Poedit-Basepath: ../\n"
    1717"X-Poedit-SearchPath-0: .\n"
     18"X-Poedit-SearchPath-1: admintemplates\n"
    1819
    19 #: picasaview.php:250
     20#: picasaview.php:249
    2021msgid "Photos"
    2122msgstr "Foto's"
    2223
    23 #: picasaview.php:346
     24#: picasaview.php:339
    2425msgid "Location"
    2526msgstr "Locatie"
    2627
    27 #: picasaview.php:347
     28#: picasaview.php:340
    2829msgid "Previous"
    2930msgstr "vorige"
    3031
    31 #: picasaview.php:349
     32#: picasaview.php:342
    3233msgid "Next"
    3334msgstr "volgende"
    3435
    35 #: picasaview.php:355
     36#: picasaview.php:348
    3637msgid "Viewing images"
    3738msgstr "Beelden bekijken"
    3839
    39 #: picasaview.php:357
     40#: picasaview.php:350
    4041msgid "of"
    4142msgstr "van"
    4243
    43 #: picasaview.php:363
     44#: picasaview.php:356
    4445msgid "Back to post"
    4546msgstr "Terug naar het artikel"
    4647
    47 #: picasaview.php:512
     48#: admintemplates/admin-menu-options.phtml:1
    4849msgid "PicasaView Options"
    4950msgstr "PicasaView instellingen"
    5051
    51 #: picasaview.php:520
     52#: admintemplates/admin-menu-options.phtml:6
    5253msgid "Connection settings"
    5354msgstr "Verbindingen"
    5455
    55 #: picasaview.php:522
     56#: admintemplates/admin-menu-options.phtml:8
    5657msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    5758msgstr "Slecht nieuws: U heeft minimaal PHP5 nodig om met deze plugin te kunnen werken, sorry. U heeft PHP wel geïnstalleerd"
    5859
    59 #: picasaview.php:524
     60#: admintemplates/admin-menu-options.phtml:10
    6061msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    6162msgstr "Slecht nieuws: de benodigde PHP extensie <code>SimpleXML</code> (welke normaal standaad aan staat) op uw server is niet beschikbaar. Geef uw provider maar de schuld. Sorry"
    6263
    63 #: picasaview.php:529
     64#: admintemplates/admin-menu-options.phtml:15
    6465msgid "Server-URL"
    6566msgstr "Server-URL"
    6667
    67 #: picasaview.php:533
     68#: admintemplates/admin-menu-options.phtml:19
    6869msgid "User Id"
    6970msgstr "User-Id"
    7071
    71 #: picasaview.php:538
     72#: admintemplates/admin-menu-options.phtml:24
    7273msgid "Debug output"
    7374msgstr "Debug-weergave"
    7475
    75 #: picasaview.php:540
     76#: admintemplates/admin-menu-options.phtml:26
    7677msgid "Print url and the returned data from picasaweb when a connection failure occured"
    7778msgstr "Geef de URL en de foutweergave van de data die picasaweb geeft wanneer er geen verbinding tot stand is gekomen"
    7879
    79 #: picasaview.php:546
     80#: admintemplates/admin-menu-options.phtml:32
    8081msgid "Display settings"
    8182msgstr "Beeldscherm instellingen"
    8283
    83 #: picasaview.php:550
     84#: admintemplates/admin-menu-options.phtml:36
    8485msgid "Date/Time format"
    8586msgstr "Datum en tijd formaat"
    8687
    87 #: picasaview.php:552
     88#: admintemplates/admin-menu-options.phtml:38
    8889msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    8990msgstr "Datum formaat  dat gebruikt wordt wanneer je de datum weergave  aan hebt staan.  Voor de mogelijkheden kijk een hier <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    9091
    91 #: picasaview.php:556
     92#: admintemplates/admin-menu-options.phtml:42
    9293msgid "Thumbnail size"
    9394msgstr "Thumbnail grootte"
    9495
    95 #: picasaview.php:565
    96 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
     96#: admintemplates/admin-menu-options.phtml:51
     97#, fuzzy
     98msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
    9799msgstr "Thumbnails snijden (alleen beschikbaar bij thumbnails kleiner dan 200px)"
    98100
    99 #: picasaview.php:569
     101#: admintemplates/admin-menu-options.phtml:55
    100102msgid "Full image size"
    101103msgstr "Volledige afbeeldingsgrootte"
    102104
    103 #: picasaview.php:576
     105#: admintemplates/admin-menu-options.phtml:62
    104106msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    105107msgstr "1024 en hover zal *niet* werken vanwege de restricties op picasaweb (geef Google maar de schuld hiervoor)."
    106108
    107 #: picasaview.php:580
     109#: admintemplates/admin-menu-options.phtml:66
    108110msgid "Images per page"
    109111msgstr "Beelden per pagina"
    110112
    111 #: picasaview.php:582
     113#: admintemplates/admin-menu-options.phtml:68
    112114msgid "insert <code>0</code> to disable paging and show all images on the same page"
    113115msgstr "Voeg <code>0</code> in om paging uit te schakelen en alle beelden op 1 pagina weer te geven"
    114116
    115 #: picasaview.php:586
     117#: admintemplates/admin-menu-options.phtml:72
    116118msgid "Quick paging"
    117119msgstr "Snel pagineren"
    118120
    119 #: picasaview.php:588
     121#: admintemplates/admin-menu-options.phtml:74
    120122msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    121123msgstr "Gebruik Javascript om te pagineren (een stuk sneller en veel mooier wanneer je door je beelden bladert)"
    122124
    123 #: picasaview.php:596
     125#: admintemplates/admin-menu-options.phtml:84
    124126msgid "Save Changes"
    125127msgstr "Bewaar aanpassingen"
  • picasaview/trunk/languages/picasaView-pl_PL.po

    r182265 r408439  
    33"Project-Id-Version: picasaView\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-11-17 18:16+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Michał Stochliński <S_Mike@interia.pl>\n"
     7"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
    88"Language-Team: Simon Sattes <simon.sattes@gmail.com>\n"
    99"MIME-Version: 1.0\n"
     
    1414"X-Poedit-SourceCharset: utf-8\n"
    1515"X-Poedit-KeywordsList: __;_e\n"
    16 "X-Poedit-Basepath: .\\trunk\n"
     16"X-Poedit-Basepath: ../\n"
    1717"X-Poedit-SearchPath-0: .\n"
     18"X-Poedit-SearchPath-1: admintemplates\n"
    1819
    19 #: picasaview.php:250
     20#: picasaview.php:249
    2021msgid "Photos"
    2122msgstr "Zdjęć"
    2223
    23 #: picasaview.php:346
     24#: picasaview.php:339
    2425msgid "Location"
    2526msgstr "Lokalizacja"
    2627
    27 #: picasaview.php:347
     28#: picasaview.php:340
    2829msgid "Previous"
    2930msgstr "wstecz"
    3031
    31 #: picasaview.php:349
     32#: picasaview.php:342
    3233msgid "Next"
    3334msgstr "dalej"
    3435
    35 #: picasaview.php:355
     36#: picasaview.php:348
    3637msgid "Viewing images"
    3738msgstr "Wyświetlane zdjęcia"
    3839
    39 #: picasaview.php:357
     40#: picasaview.php:350
    4041msgid "of"
    4142msgstr "z"
    4243
    43 #: picasaview.php:363
     44#: picasaview.php:356
    4445msgid "Back to post"
    4546msgstr "Powrót"
    4647
    47 #: picasaview.php:512
     48#: admintemplates/admin-menu-options.phtml:1
    4849msgid "PicasaView Options"
    4950msgstr "Opcje pluginu PicasaView"
    5051
    51 #: picasaview.php:520
     52#: admintemplates/admin-menu-options.phtml:6
    5253msgid "Connection settings"
    5354msgstr "Ustawienia połączenia"
    5455
    55 #: picasaview.php:522
     56#: admintemplates/admin-menu-options.phtml:8
    5657msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    5758msgstr "Złe informacje: Potrzebujesz PHP w wersji 5 aby uruchomić ten plugin."
    5859
    59 #: picasaview.php:524
     60#: admintemplates/admin-menu-options.phtml:10
    6061msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    6162msgstr "Złe informacje: wymagane rozszerzenie PHP <code>SimpleXML</code>, które na ogół jest dostępne, na twoim serwerze nie jest dostępne. Skontaktuj się ze swoim providerem. "
    6263
    63 #: picasaview.php:529
     64#: admintemplates/admin-menu-options.phtml:15
    6465msgid "Server-URL"
    6566msgstr "URL serwera"
    6667
    67 #: picasaview.php:533
     68#: admintemplates/admin-menu-options.phtml:19
    6869msgid "User Id"
    6970msgstr "Id użytkownika"
    7071
    71 #: picasaview.php:538
     72#: admintemplates/admin-menu-options.phtml:24
    7273msgid "Debug output"
    7374msgstr "Tryb debugowania"
    7475
    75 #: picasaview.php:540
     76#: admintemplates/admin-menu-options.phtml:26
    7677msgid "Print url and the returned data from picasaweb when a connection failure occured"
    7778msgstr "Wyświetla adres url i zwrócone dane z picasaweb w przypadu problemów z połączeniem"
    7879
    79 #: picasaview.php:546
     80#: admintemplates/admin-menu-options.phtml:32
    8081msgid "Display settings"
    8182msgstr "Ustawienia wyświetlania"
    8283
    83 #: picasaview.php:550
     84#: admintemplates/admin-menu-options.phtml:36
    8485msgid "Date/Time format"
    8586msgstr "Format daty/czasu"
    8687
    87 #: picasaview.php:552
     88#: admintemplates/admin-menu-options.phtml:38
    8889msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    8990msgstr "Format daty używany przy wyświetlaniu dodatkowych informacji o zdjęciach. Aby zobaczyć dostępne formaty zapoznaj się z dokumentacją <a href=\"http://php.net/manual/en/function.strftime.php\">Dokumentacja funkcji PHP strftime</a>"
    9091
    91 #: picasaview.php:556
     92#: admintemplates/admin-menu-options.phtml:42
    9293msgid "Thumbnail size"
    9394msgstr "Rozmiar miniaturek"
    9495
    95 #: picasaview.php:565
    96 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
     96#: admintemplates/admin-menu-options.phtml:51
     97#, fuzzy
     98msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
    9799msgstr "Przytnij miniaturkę (dostępne tylko dla miniaturek poniżej 200px)"
    98100
    99 #: picasaview.php:569
     101#: admintemplates/admin-menu-options.phtml:55
    100102msgid "Full image size"
    101103msgstr "Rozmiar dużego zdjęcia"
    102104
    103 #: picasaview.php:576
     105#: admintemplates/admin-menu-options.phtml:62
    104106msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    105107msgstr "1024 i powyżej nie będzie działało prawidłowo w tej chwili z powodu ograniczeń na picasaweb (winić należy Google)."
    106108
    107 #: picasaview.php:580
     109#: admintemplates/admin-menu-options.phtml:66
    108110msgid "Images per page"
    109111msgstr "Zdjęć na strone"
    110112
    111 #: picasaview.php:582
     113#: admintemplates/admin-menu-options.phtml:68
    112114msgid "insert <code>0</code> to disable paging and show all images on the same page"
    113115msgstr "Wstawienie <code>0</code> wyłącza stronnicowanie i pokazuję wszystkie zdjęcia na tej samej stronie"
    114116
    115 #: picasaview.php:586
     117#: admintemplates/admin-menu-options.phtml:72
    116118msgid "Quick paging"
    117119msgstr "Szybkie stronnicowanie"
    118120
    119 #: picasaview.php:588
     121#: admintemplates/admin-menu-options.phtml:74
    120122msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    121123msgstr "Użyj JavaScriptu do stronnicowania (umożliwia szybciejsze przeglądanie zdjęć)"
    122124
    123 #: picasaview.php:596
     125#: admintemplates/admin-menu-options.phtml:84
    124126msgid "Save Changes"
    125127msgstr "Zapisz zmiany"
     
    127129#~ msgid "Connect through"
    128130#~ msgstr "Verbindung via"
     131
    129132#~ msgid "supported on this server"
    130133#~ msgstr "vom Server unterst&uuml;tzt"
     134
    131135#~ msgid "not supported on this server"
    132136#~ msgstr "vom Server nicht unterst&uuml;tzt"
     137
    133138#~ msgid ""
    134139#~ "probably not supported on this server, google.com connection check failed"
     
    136141#~ "wird vom Server vermutlich nicht unterst&uuml;tzt. Verbindungstest zu "
    137142#~ "google.com fehlgeschlagen."
     143
    138144#~ msgid ""
    139145#~ "If you don't know what this means, you should favor CURL at first, then "
     
    142148#~ "Im Zweifelsfall CURL bevorzugen, dann file_get_contents() und schließlich "
    143149#~ "fsockopen()"
     150
    144151#~ msgid "Update PicasaView"
    145152#~ msgstr "&Auml;nderungen speichern"
     153
    146154#~ msgid "Load RSS with"
    147155#~ msgstr "RSS laden mit Hilfe von"
     156
    148157#~ msgid "Default is"
    149158#~ msgstr "Voreinstellung ist"
    150 
  • picasaview/trunk/languages/picasaView-pt_BR.po

    r241939 r408439  
    55"Report-Msgid-Bugs-To: \n"
    66"POT-Creation-Date: 2010-05-06 19:13-0300\n"
    7 "PO-Revision-Date: 2010-05-06 19:13-0300\n"
     7"PO-Revision-Date: 2011-07-07 22:10+0100\n"
    88"Last-Translator: Diego Búrigo Zacarão <diegobz@fedoraproject.org>\n"
    99"Language-Team: Brazilian Portuguese <fedora-trans-pt_br@redhat.com>\n"
     
    122122msgstr "Salvar Mudanças"
    123123
    124 
  • picasaview/trunk/languages/picasaView-ru_RU.po

    r182265 r408439  
    33"Project-Id-Version: picasaView\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-11-17 18:18+0100\n"
     5"POT-Creation-Date: 2011-07-07 22:10+0100\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: Simon Sattes <simon.sattes@googlemail.com>\n"
     
    1414"X-Poedit-SourceCharset: utf-8\n"
    1515"X-Poedit-KeywordsList: __;_e\n"
    16 "X-Poedit-Basepath: .\n"
     16"X-Poedit-Basepath: ../\n"
    1717"X-Poedit-SearchPath-0: .\n"
    1818
    19 #: tags/0.5/picasaview.php:111
    20 #: tags/0.5/picasaview.php:208
    21 #: tags/0.6/picasaview.php:307
    22 #: tags/0.7/picasaview.php:384
    23 #: trunk/picasaview.php:250
     19#: picasaview.php:249
    2420msgid "Photos"
    25 msgstr "Фото"
     21msgstr "фотографий"
    2622
    27 #: tags/0.5/picasaview.php:112
    28 #: tags/0.6/picasaview.php:167
    29 #: tags/0.7/picasaview.php:215
    30 #: trunk/picasaview.php:346
     23#: picasaview.php:339
    3124msgid "Location"
    32 msgstr "Месторасположение"
     25msgstr "Местоположение"
    3326
    34 #: tags/0.5/picasaview.php:336
    35 #: tags/0.6/picasaview.php:448
    36 #: tags/0.7/picasaview.php:541
    37 #: trunk/picasaview.php:512
     27#: picasaview.php:340
     28msgid "Previous"
     29msgstr "Назад"
     30
     31#: picasaview.php:342
     32msgid "Next"
     33msgstr "Вперёд"
     34
     35#: picasaview.php:348
     36msgid "Viewing images"
     37msgstr "Просмотр изображений"
     38
     39#: picasaview.php:350
     40msgid "of"
     41msgstr "из"
     42
     43#: picasaview.php:356
     44msgid "Back to post"
     45msgstr "В начало"
     46
     47#: admintemplates/admin-menu-options.phtml:1
    3848msgid "PicasaView Options"
    39 msgstr "Настройки PicasaView "
     49msgstr "Настройка PicasaView"
    4050
    41 #: tags/0.5/picasaview.php:342
    42 #: tags/0.6/picasaview.php:454
    43 #: tags/0.7/picasaview.php:554
    44 #: trunk/picasaview.php:520
     51#: admintemplates/admin-menu-options.phtml:6
    4552msgid "Connection settings"
    46 msgstr "Настройки соединения"
     53msgstr "Параметры соединения"
    4754
    48 #: tags/0.5/picasaview.php:346
    49 #: tags/0.6/picasaview.php:463
    50 #: tags/0.7/picasaview.php:563
    51 #: trunk/picasaview.php:529
     55#: admintemplates/admin-menu-options.phtml:8
     56msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
     57msgstr "Плохие новости: для работы этого плагина требуется PHP5. На сервере установлен PHP"
     58
     59#: admintemplates/admin-menu-options.phtml:10
     60msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
     61msgstr "Плохие новости: на сервере недоступно необходимое расширение PHP <code>SimpleXML</code> (оно обычно включено по умолчанию). Обратитесь к своему поставщику хостинга. "
     62
     63#: admintemplates/admin-menu-options.phtml:15
    5264msgid "Server-URL"
    53 msgstr "Server-URL"
     65msgstr "Адрес сервера"
    5466
    55 #: tags/0.5/picasaview.php:350
    56 #: tags/0.6/picasaview.php:467
    57 #: tags/0.7/picasaview.php:567
    58 #: trunk/picasaview.php:533
     67#: admintemplates/admin-menu-options.phtml:19
    5968msgid "User Id"
    60 msgstr "User-Id"
     69msgstr "Идентификатор пользователя"
    6170
    62 #: tags/0.5/picasaview.php:355
    63 #: tags/0.6/picasaview.php:472
    64 #: tags/0.7/picasaview.php:572
    65 msgid "Connect through"
    66 msgstr "Подключение через"
     71#: admintemplates/admin-menu-options.phtml:24
     72msgid "Debug output"
     73msgstr "Отладка"
    6774
    68 #: tags/0.5/picasaview.php:357
    69 #: tags/0.5/picasaview.php:358
    70 #: tags/0.5/picasaview.php:359
    71 #: tags/0.6/picasaview.php:474
    72 #: tags/0.6/picasaview.php:475
    73 #: tags/0.6/picasaview.php:476
    74 #: tags/0.7/picasaview.php:574
    75 #: tags/0.7/picasaview.php:575
    76 #: tags/0.7/picasaview.php:576
    77 msgid "supported on this server"
    78 msgstr "поддерживается на этом сервере"
     75#: admintemplates/admin-menu-options.phtml:26
     76msgid "Print url and the returned data from picasaweb when a connection failure occured"
     77msgstr "Показать URL и данные, возвращённые из Picasaweb, при ошибке подключения"
    7978
    80 #: tags/0.5/picasaview.php:357
    81 #: tags/0.5/picasaview.php:358
    82 #: tags/0.6/picasaview.php:474
    83 #: tags/0.6/picasaview.php:475
    84 #: tags/0.7/picasaview.php:574
    85 #: tags/0.7/picasaview.php:575
    86 msgid "not supported on this server"
    87 msgstr "не поддерживается на этом сервере"
     79#: admintemplates/admin-menu-options.phtml:32
     80msgid "Display settings"
     81msgstr "Параметры отображения"
    8882
    89 #: tags/0.5/picasaview.php:359
    90 #: tags/0.6/picasaview.php:476
    91 #: tags/0.7/picasaview.php:576
    92 msgid "probably not supported on this server, google.com connection check failed"
    93 msgstr "вероятно, не поддерживается на этом сервере, google.com проверить не удалось"
     83#: admintemplates/admin-menu-options.phtml:36
     84msgid "Date/Time format"
     85msgstr "Формат даты и времени"
    9486
    95 #: tags/0.5/picasaview.php:360
    96 #: tags/0.6/picasaview.php:477
    97 #: tags/0.7/picasaview.php:577
    98 msgid "If you don't know what this means, you should favor CURL at first, then file_get_contents() and then fsockopen()"
    99 msgstr "Если вы не знаете, что это значит, вы должны CURL в пользу первых, то file_get_contents() and then fsockopen()"
     87#: admintemplates/admin-menu-options.phtml:38
     88msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
     89msgstr "Формат отображаемой даты. Список возможных вариантов см. в <a href=\"http://php.net/manual/en/function.strftime.php\">документации php-функции strftime</a>"
    10090
    101 #: tags/0.5/picasaview.php:366
    102 #: tags/0.6/picasaview.php:483
    103 #: tags/0.7/picasaview.php:589
    104 #: trunk/picasaview.php:546
    105 msgid "Display settings"
    106 msgstr "Настройки отображения"
     91#: admintemplates/admin-menu-options.phtml:42
     92msgid "Thumbnail size"
     93msgstr "Размер эскиза"
    10794
    108 #: tags/0.5/picasaview.php:370
    109 #: tags/0.6/picasaview.php:487
    110 #: tags/0.7/picasaview.php:593
    111 #: trunk/picasaview.php:556
    112 msgid "Thumbnail size"
    113 msgstr "Размер превью"
     95#: admintemplates/admin-menu-options.phtml:51
     96#, fuzzy
     97msgid "Crop thumbnails (only available for the sizes 32, 48, 64, 72, 104, 144, 150, 160)"
     98msgstr "Обрезать эскизы (доступно только для эскизов меньше 200px)"
    11499
    115 #: tags/0.5/picasaview.php:379
    116 #: tags/0.6/picasaview.php:496
    117 #: tags/0.7/picasaview.php:604
    118 #: trunk/picasaview.php:569
     100#: admintemplates/admin-menu-options.phtml:55
    119101msgid "Full image size"
    120102msgstr "Полный размер изображения"
    121103
    122 #: tags/0.5/picasaview.php:391
    123 #: tags/0.6/picasaview.php:514
    124 #: tags/0.7/picasaview.php:629
    125 msgid "Update PicasaView"
    126 msgstr "Обновить PicasaView"
     104#: admintemplates/admin-menu-options.phtml:62
     105msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
     106msgstr "Значения 1024 и выше, возможно, не будут работать из-за ограничений в Picasaweb (скажите спасибо компании Google)"
    127107
    128 #: tags/0.6/picasaview.php:168
    129 #: tags/0.7/picasaview.php:216
    130 #: trunk/picasaview.php:347
    131 msgid "Previous"
    132 msgstr "Предыдущее"
    133 
    134 #: tags/0.6/picasaview.php:170
    135 #: tags/0.7/picasaview.php:218
    136 #: trunk/picasaview.php:349
    137 msgid "Next"
    138 msgstr "Следующее"
    139 
    140 #: tags/0.6/picasaview.php:176
    141 #: tags/0.7/picasaview.php:224
    142 #: trunk/picasaview.php:355
    143 msgid "Viewing images"
    144 msgstr "Просмотренные изображения"
    145 
    146 #: tags/0.6/picasaview.php:178
    147 #: tags/0.7/picasaview.php:226
    148 #: trunk/picasaview.php:357
    149 msgid "of"
    150 msgstr "от "
    151 
    152 #: tags/0.6/picasaview.php:182
    153 #: tags/0.7/picasaview.php:230
    154 #: trunk/picasaview.php:363
    155 msgid "Back to post"
    156 msgstr "Назад к посту"
    157 
    158 #: tags/0.6/picasaview.php:456
    159 #: tags/0.7/picasaview.php:556
    160 #: trunk/picasaview.php:522
    161 msgid "Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP "
    162 msgstr "Плохие новости: Вам нужен PHP5 для запуска плагина. "
    163 
    164 #: tags/0.6/picasaview.php:458
    165 #: tags/0.7/picasaview.php:558
    166 #: trunk/picasaview.php:524
    167 msgid "Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry."
    168 msgstr "Плохие новости: требуемое расширение PHP <code>SimpleXML</code> (которое обычно включено по умолчанию) недоступно на вашем сервере. "
    169 
    170 #: tags/0.6/picasaview.php:505
    171 #: tags/0.7/picasaview.php:613
    172 #: trunk/picasaview.php:580
     108#: admintemplates/admin-menu-options.phtml:66
    173109msgid "Images per page"
    174110msgstr "Изображений на страницу"
    175111
    176 #: tags/0.6/picasaview.php:507
    177 #: tags/0.7/picasaview.php:615
    178 #: trunk/picasaview.php:582
     112#: admintemplates/admin-menu-options.phtml:68
    179113msgid "insert <code>0</code> to disable paging and show all images on the same page"
    180 msgstr "вставьте <code>0</code>,чтобы отключить пагинацию и показать все изображения на одной странице"
     114msgstr "Введите <code>0</code>, чтобы отключить разбивку на страницы и показать все изображения на одной странице"
    181115
    182 #: tags/0.7/picasaview.php:581
    183 #: trunk/picasaview.php:538
    184 msgid "Debug output"
    185 msgstr "Внешняя отладка"
     116#: admintemplates/admin-menu-options.phtml:72
     117msgid "Quick paging"
     118msgstr "Быстрая разбивка на страницы"
    186119
    187 #: tags/0.7/picasaview.php:583
    188 #: trunk/picasaview.php:540
    189 msgid "Print url and the returned data from picasaweb when a connection failure occured"
    190 msgstr "Распечатать URL и возвращаемые данные из Picasaweb, если произойдет сбой связи"
     120#: admintemplates/admin-menu-options.phtml:74
     121msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
     122msgstr "Использовать JavaScript для разбивки на страницы (значительно ускоряет листание страниц с эскизами и делает его более красивым)"
    191123
    192 #: tags/0.7/picasaview.php:600
    193 #: trunk/picasaview.php:565
    194 msgid "Crop thumbnails (only available for thumbnails smaller than 200px)"
    195 msgstr "Обрезка миниатюр (доступно только для эскизов меньше 200px)"
    196 
    197 #: tags/0.7/picasaview.php:619
    198 #: trunk/picasaview.php:586
    199 msgid "Quick paging"
    200 msgstr "Быстрая пагинация"
    201 
    202 #: tags/0.7/picasaview.php:621
    203 #: trunk/picasaview.php:588
    204 msgid "use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)"
    205 msgstr "использовать JavaScript для пагинации (это значительно более быстро и красиво, когда вы листаете страницы изображения)"
    206 
    207 #: trunk/picasaview.php:550
    208 msgid "Date/Time format"
    209 msgstr ""
    210 
    211 #: trunk/picasaview.php:552
    212 msgid "Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>."
    213 msgstr ""
    214 
    215 #: trunk/picasaview.php:576
    216 msgid "1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this)."
    217 msgstr "1024 и выше * не * работу прямо сейчас из-за ограничений на Picasaweb (Blame Google для этого)."
    218 
    219 #: trunk/picasaview.php:596
     124#: admintemplates/admin-menu-options.phtml:84
    220125msgid "Save Changes"
    221126msgstr "Сохранить изменения"
    222127
     128#~ msgid "Connect through"
     129#~ msgstr "Подключение через"
     130
     131#~ msgid "supported on this server"
     132#~ msgstr "поддерживается на этом сервере"
     133
     134#~ msgid "not supported on this server"
     135#~ msgstr "не поддерживается на этом сервере"
     136
     137#~ msgid ""
     138#~ "probably not supported on this server, google.com connection check failed"
     139#~ msgstr ""
     140#~ "вероятно, не поддерживается на этом сервере. Ошибка соединения с google."
     141#~ "com"
     142
     143#~ msgid ""
     144#~ "If you don't know what this means, you should favor CURL at first, then "
     145#~ "file_get_contents() and then fsockopen()"
     146#~ msgstr ""
     147#~ "Если вы не знаете, что это jpyfxftn, используйте сначала CURL, затем — "
     148#~ "file_get_contents(), а затем — fsockopen()"
     149
     150#~ msgid "Update PicasaView"
     151#~ msgstr "Обновить PicasaView"
     152
    223153#~ msgid "Load RSS with"
    224154#~ msgstr "RSS laden mit Hilfe von"
     155
    225156#~ msgid "Default is"
    226157#~ msgstr "Voreinstellung ist"
    227 
  • picasaview/trunk/picasaview-admin.js

    r162251 r408439  
    1 var picasaView = Class.create({
     1(function($){
     2    picasaViewAdmin = function() {
     3       
     4        var croppableSizes = [32, 48, 64, 72, 104, 144, 150, 160];
     5        var self = this;
    26   
    3     initialize: function() {
    4         $('picasaView_thumbnailSize').observe('change', this.checkThumbnailCropping)
    5                                      .observe('blur', this.checkThumbnailCropping);
    6     },
     7        this.initialize = function() {
     8            $('#picasaView_thumbnailSize').bind('change blur', self.checkThumbnailCropping);
     9            this.checkThumbnailCropping();
     10        };
     11   
     12        this.checkThumbnailCropping = function() {
     13            if ($.inArray(parseInt($('#picasaView_thumbnailSize').val()), croppableSizes) == -1) {
     14                $('#picasaView_cropThumbnails')[0].checked = false;
     15                $('#picasaView_cropThumbnails')[0].disabled = true;
     16            } else {
     17                $('#picasaView_cropThumbnails')[0].disabled = false;
     18            }
     19        };
     20    };
     21})(jQuery);
    722
    8     checkThumbnailCropping: function(e) {
    9         if($F('picasaView_thumbnailSize') >= 200) {
    10             $('picasaView_cropThumbnails').checked = false;
    11             $('picasaView_cropThumbnails').disabled = true;
    12         } else {
    13             $('picasaView_cropThumbnails').disabled = false;
    14         }
    15     }
    16 
     23jQuery(document).ready(function($){
     24    var p = new picasaViewAdmin();
     25    p.initialize();
    1726});
    18 
    19 document.observe("dom:loaded", function() {
    20     new picasaView();
    21 });
  • picasaview/trunk/picasaview.js

    r241939 r408439  
    1 var picasaView = Class.create({
     1(function($){
     2    picasaView = function() {
     3       
     4        var self = this;
     5       
     6        /* poorly commented, I know :(
     7        */
     8        this.numberOfImages = 0;
     9        this.startIndex = 1;
     10        this.imagesPerPage = 20;
     11        this.imagesPreLoaded = 0;
     12        this.daddy = null;
     13        this.id = null;
     14
     15        this.initialize = function(id, count) {
     16       
     17            if ($('#picasaViewBlock-' + id + '-' + this.startIndex).length == 0) {
     18                return;
     19            }
     20           
     21            this.id = id;   
     22            this.daddy = 'picasaViewBlock-daddy-' + this.id;
     23           
     24            this.options = $.extend({
     25                        nextPage: $('#' + this.daddy + ' .picasaViewNextPage'),
     26                        previousPage: $('#' + this.daddy + ' .picasaViewPreviousPage'),
     27                        showingResults: $('#' + this.daddy + ' .picasaViewShowingResults'),
     28                        totalResults: $('#' + this.daddy + ' .picasaViewTotalResults')
     29                    }, arguments[0] || { });
    230   
    3     /* poorly commented, I know :(
    4     */
    5     numberOfImages: 0,
    6     startIndex: 1,
    7     imagesPerPage: 20,
    8     imagesPreLoaded: 0,
    9     daddy: null,
    10     id: null,
     31            this.imagesPerPage = $('#picasaViewBlock-' + id + '-' + this.startIndex + ' img').length;
     32            this.numberOfImages = this.options.totalResults[0].innerHTML;
     33   
     34            if(this.numberOfImages <= this.imagesPerPage) {
     35                this.options.nextPage.css('visibility', 'hidden');
     36            }
     37           
     38            this.options.previousPage.css('visibility', 'hidden');
     39   
     40            this.options.nextPage.find('a').click(this.nextPage);
     41            this.options.previousPage.find('a').click(this.previousPage);
     42   
     43            this.adjustBlockHeight();
     44        };
     45   
     46        this.nextPage = function(e) {
     47           
     48            self.adjustBlockHeight();
     49   
     50            $('#picasaViewBlock-' + self.id + '-' + self.startIndex).stop().css('opacity', 1).fadeOut(400, function(e) {
     51                self.startIndex += self.imagesPerPage;
     52               
     53                var endIndex = self.startIndex + self.imagesPerPage - 1;
     54                if(endIndex >= self.numberOfImages) {
     55                    endIndex = self.numberOfImages;
     56                    self.options.nextPage.css('visibility', 'hidden');
     57                }
     58       
     59                self.options.showingResults.html(self.startIndex + '-' + endIndex);
     60                self.options.previousPage.css('visibility', 'visible');
     61                   
     62                // show images on next page
     63                $('#picasaViewBlock-' + self.id + '-' + self.startIndex).stop().fadeIn(400, self.adjustBlockHeight);
     64            });
     65   
     66            return false;
     67        };
     68   
     69        this.previousPage = function(e) {
     70           
     71            self.adjustBlockHeight();
     72           
     73            $('#picasaViewBlock-' + self.id + '-' + self.startIndex).stop().css('opacity', 1).fadeOut(400, function(e) {
     74                self.startIndex -= self.imagesPerPage;
     75               
     76                var endIndex = self.startIndex + self.imagesPerPage - 1;
     77                if(self.startIndex <= 1) {
     78                    self.startIndex = 1;
     79                    self.options.previousPage.css('visibility', 'hidden');
     80                }
     81       
     82                self.options.showingResults.html(self.startIndex + '-' + endIndex);
     83                self.options.nextPage.css('visibility', 'visible');
     84       
     85                // show images on previous page
     86                $('#picasaViewBlock-' + self.id + '-' + self.startIndex).stop().fadeIn(400, self.adjustBlockHeight);
     87            });
     88   
     89            return false;
     90        };
     91   
     92        this.adjustBlockHeight = function() {
     93            // adjust size of parent container to avoid flickering during fade/appear effects
     94            var inner = $('#picasaViewBlock-' + this.id + '-' + this.startIndex);
     95           
     96            $('#' + this.daddy).find('.picasaViewBlock-son').css('min-height', inner.height() + 'px');
     97           
     98           
     99        };
     100    };
     101})(jQuery);
    11102
    12     initialize: function(id, count) {
     103
     104jQuery(document).ready(function($){
    13105   
    14         if(!$('picasaViewBlock-' + id + '-' + this.startIndex)) {
    15             return;
    16         }
    17        
    18         this.id = id;   
    19         this.daddy = 'picasaViewBlock-daddy-' + this.id;
    20        
    21         this.options = Object.extend({
    22                     nextPage: $$('#' + this.daddy + ' .picasaViewNextPage'),
    23                     previousPage: $$('#' + this.daddy + ' .picasaViewPreviousPage'),
    24                     showingResults: $$('#' + this.daddy + ' .picasaViewShowingResults'),
    25                     totalResults: $$('#' + this.daddy + ' .picasaViewTotalResults')
    26                 }, arguments[0] || { });
    27 
    28         this.imagesPerPage = $('picasaViewBlock-' + id + '-' + this.startIndex).select('img').size();
    29         this.numberOfImages = this.options.totalResults[0].innerHTML;
    30 
    31         if(this.numberOfImages <= this.imagesPerPage) {
    32             this.options.nextPage.invoke('setStyle', {'visibility': 'hidden'});
    33         }
    34 
    35         this.options.previousPage.invoke('setStyle', {'visibility': 'hidden'});
    36 
    37         this.options.nextPage.each(function(s) {
    38             s.down('a').observe('click', this.nextPage.bind(this));
    39         }.bind(this));
    40 
    41         this.options.previousPage.each(function(s) {
    42             s.down('a').observe('click', this.previousPage.bind(this));
    43         }.bind(this));
    44        
    45         this.adjustBlockHeight();
    46     },
    47 
    48     nextPage: function(e) {
    49         e.stop();
    50        
    51         this.adjustBlockHeight();
    52 
    53         $('picasaViewBlock-' + this.id + '-' + this.startIndex).fade({duration: 0.3, queue: { position: 'end', scope: 'picasaview' }});
    54 
    55         this.startIndex += this.imagesPerPage;
    56 
    57         endIndex = this.startIndex + this.imagesPerPage - 1;
    58         if(endIndex >= this.numberOfImages) {
    59             endIndex = this.numberOfImages;
    60             this.options.nextPage.invoke('setStyle', {'visibility': 'hidden'});
    61         }
    62 
    63         this.options.showingResults.invoke('update', this.startIndex + '-' + endIndex);
    64         this.options.previousPage.invoke('setStyle', {'visibility': 'visible'});
    65 
    66         // show images on next page
    67         $('picasaViewBlock-' + this.id + '-' + this.startIndex).appear({duration: 0.6, afterFinish: this.adjustBlockHeight.bind(this), queue: { position: 'end', scope: 'picasaview' }});
    68         return false;
    69 
    70     },
    71 
    72     previousPage: function(e) {
    73         e.stop();
    74 
    75         this.adjustBlockHeight();
    76        
    77         $('picasaViewBlock-' + this.id + '-' + this.startIndex).fade({duration: 0.3, queue: { position: 'end', scope: 'picasaview' }});
    78 
    79         this.startIndex -= this.imagesPerPage;
    80 
    81         endIndex = this.startIndex + this.imagesPerPage - 1;
    82         if(this.startIndex <= 1) {
    83             this.startIndex = 1;
    84             this.options.previousPage.invoke('setStyle', {'visibility': 'hidden'});
    85         }
    86 
    87         this.options.showingResults.invoke('update', this.startIndex + '-' + endIndex);
    88         this.options.nextPage.invoke('setStyle', {'visibility': 'visible'});
    89 
    90         // show images on previous page
    91         $('picasaViewBlock-' + this.id + '-' + this.startIndex).appear({duration: 0.6, afterFinish: this.adjustBlockHeight.bind(this), queue: { position: 'end', scope: 'picasaview' }});
    92    
    93         return false;
    94     },
    95 
    96     adjustBlockHeight: function() {
    97         // adjust size of parent container to avoid flickering during fade/appear effects
    98         var inner = $('picasaViewBlock-' + this.id + '-' + this.startIndex);
    99        
    100         var son = $(this.daddy).down('.picasaViewBlock-son');
    101        
    102         son.setStyle({minHeight: inner.getHeight() + 'px'});
    103        
    104        
    105     },
    106 
    107     checkThumbnailCropping: function(e) {
    108         if($F('picasaView_thumbnailSize') >= 200) {
    109             $('picasaView_cropThumbnails').checked = false;
    110             $('picasaView_cropThumbnails').disabled = true;
    111         } else {
    112             $('picasaView_cropThumbnails').disabled = false;
    113         }
    114     }
     106    $('.picasaViewBlock-daddy').each(function(i) {
     107        var p = new picasaView();
     108        p.initialize(this.id.replace('picasaViewBlock-daddy-', ''), i);
     109    });
    115110
    116111});
    117 
    118 document.observe("dom:loaded", function() {
    119     var i = 0;
    120     $$('.picasaViewBlock-daddy').each(function(s) {
    121         new picasaView(s.readAttribute('id').replace('picasaViewBlock-daddy-', ''), i++);
    122     });
    123    
    124     if($('picasaView_thumbnailSize')) {
    125         myPicasaView = new picasaView();
    126     }
    127 });
  • picasaview/trunk/picasaview.php

    r277948 r408439  
    44Plugin Name: PicasaView
    55Plugin URI: http://www.sattes-faction.de/picasaview
    6 Description: Allows you to show all albums or a specific one from Google's picasaWeb in your posts.
    7 Version: 1.1.4
     6Description: Allows you to show all albums or a specific one from Google's picasaWeb in your posts. 
     7Version: 1.1.5
    88License: GPL
    99Author: Simon Sattes
     
    4545   
    4646    private $options = array(
    47         'server'            => 'http://picasaweb.google.de',
     47        'server'            => 'http://picasaweb.google.com',
    4848        'userid'            => '',
    4949        'album'             => false,
     
    5151        'imagesize'         => 800,
    5252        'cropthumbnails'    => false,
    53         'imagesperpage'     => 0,
     53        'imagesperpage'     => 9,
    5454        'showdebugoutput'   => false,
    55         'quickpaging'       => false,
    56         'version'           => '1.1.1',
     55        'quickpaging'       => true,
     56        'version'           => '1.1.5',
    5757        'instantview'       => false,
    5858        'datetimeformat'    => '%d.%m.%Y',
     
    6060    );
    6161   
    62     //private $imageSizes = array(200, 288, 320, 400, 512, 576, 640, 720, 800, 1024, 1152, 1280, 1440, 1600);
    63     private $imageSizes = array(200, 288, 320, 400, 512, 576, 640, 720, 800, 1024, 1152, 1280, 1440, 1600);
    64     private $thumbnailSizes = array(32, 48, 64, 72, 144, 160, 200, 288, 320, 400, 512, 576, 640, 720, 800);
     62    private $imageSizes = array(32, 48, 64, 72, 94, 104, 110, 128, 144, 150, 160, 200, 220, 288, 320, 400,
     63                                    512, 576, 640, 720, 800, 912, 1024, 1152, 1280, 1440, 1600);
     64                                   
     65    private $croppedSizes = array(32, 48, 64, 72, 104, 144, 150, 160);
    6566   
    6667    private $optionsPage = '';
     
    6970   
    7071    public function __construct() {
    71 
     72       
    7273        // register hooks
    7374        add_action('admin_menu', array(&$this, 'adminMenu'));
     
    7980        add_shortcode('picasaview', array(&$this, 'parsePlaceholders'));
    8081       
    81         load_plugin_textdomain('picasaView', PLUGINDIR."/".dirname(plugin_basename(__FILE__))."/languages");
     82        // @todo test other languages
     83        load_plugin_textdomain('picasaView', false, "picasaview/languages");
    8284       
    8385        $this->optionsPage = get_option('siteurl') . '/wp-admin/admin.php?page=picasaview.php';
     
    8789    private function loadConfig() {
    8890       
    89         // first time initalization - insert default options. Only happens once
    90         if (!get_option('picasaView_options')) {
    91             foreach (get_option('picasaView_options') as $key => $option) {
    92                 $this->options[$key] = $option;
    93             }
    94             update_option('picasaView_options', $this->options);       
    95         }
    96        
    97         // backward compatibility - load options from picasaView prior version 0.8. This only happens once
    98         $options = get_option('picasaView_options');
    99        
    100         if(!isset($options['version'])) {
    101             foreach ($options as $key => $option) {
    102                 $this->options[strtolower(str_replace('picasa_', '', $key))] = $option;
    103             }
    104             update_option('picasaView_options', $this->options);
    105         }
    106        
    10791        // load options, overriding defaults
    108         $this->options = array_merge($this->options, array_change_key_case(get_option('picasaView_options')));
     92        if (get_option('picasaView_options')) {
     93            $this->options = array_merge($this->options, array_change_key_case(get_option('picasaView_options')));
     94        }
    10995    }
    11096   
     
    142128       
    143129        $this->foundPlaceholders++;
    144    
     130       
    145131        // set basic options which can be overriden by each tag on its own
    146132        $tagOptions = shortcode_atts($this->options, $attributes);
     133       
     134        // shortcode can't automatically transform positive strings into boolean values, so we do it by hand
     135        // yes-values
     136        $yes = array('1', 'yes');
     137        $convert = array('cropthumbnails', 'showdebugoutput', 'quickpaging', 'instantview');
     138       
     139        foreach ($convert as $c) {
     140            $tagOptions[$c] = in_array($tagOptions[$c], $yes);     
     141        }
    147142       
    148143        if(isset($_GET['picasaViewAlbumId'])) { // picasaViewAlbumId
     
    156151            }
    157152        }
    158        
     153
    159154        $html = '';
    160155
     
    176171                // now we set all given parameters and are ready to call picasaweb
    177172                $rssFeed = $tagOptions['server'] . '/data/feed/api/user/' . $tagOptions['userid'] . '/album/'.$tagOptions['album'].'?'.http_build_query($settings);
    178 
     173               
    179174                // get data and parse into a SimpleXML-Object
    180175                list($data, $error) = $this->fetchDataFromPicasaweb($rssFeed, $tagOptions);
    181176                $html = $error ? $error : $this->dispatchAlbum($data, $tagOptions, $this->startIndex);
    182177            } else {
    183                 $html = "picasaView: invalid album call. the option 'instantView' must only be used in combination with 'album'.";
     178                $html = "picasaView: invalid album call. the option 'instantview' must only be used in combination with 'album'.";
    184179            }
    185180        } else {
     
    289284        // links to previous and next page
    290285        $query = parse_url(get_permalink(), PHP_URL_QUERY);
    291 
     286       
    292287        $previousIndex = $startIndex - $tagOptions['imagesperpage'];
    293288        $nextIndex = $startIndex + $tagOptions['imagesperpage'];
     
    301296        // be hidden
    302297        // links might be displayed if imagesPerPage is > 0
    303         if($tagOptions['imagesperpage'] == 0) {
    304             $showPreviousLink = $showNextLink = false;
    305         } else {
    306             if($tagOptions['quickpaging']) {
    307                 $showPreviousLink = $showNextLink = true;
    308             } elseif($tagOptions['imagesperpage'] > 0) {
    309    
    310                 if($previousIndex > 0) {
    311                     $showPreviousLink = true;
    312                 }
    313    
    314                 if($nextIndex < $totalImages) {
    315                     $showNextLink = true;
    316                 }
    317             }
    318         }
    319    
     298        $showPreviousLink = $showNextLink = false;
     299       
     300        if ($tagOptions['imagesperpage'] > 0) {
     301            if ($tagOptions['quickpaging'] || $nextIndex < $totalImages) {
     302                $showNextLink = true;
     303            }
     304            if ($previousIndex > 0) {
     305                $showPreviousLink = true;
     306            }
     307        }
     308       
    320309        // if there is no previous or no next page hide these blocks
    321         if(!$showPreviousLink) {
     310        if (! $showPreviousLink && ! $tagOptions['quickpaging']) {
    322311            $albumInfo = $this->replacePlaceholder($albumInfo, '%IF_PREVIOUS_PAGE%', '%ENDIF_PREVIOUS_PAGE%');
    323312        }
    324313
    325         if(!$showNextLink) {
     314        if (! $showNextLink && ! $tagOptions['quickpaging']) {
    326315            $albumInfo = $this->replacePlaceholder($albumInfo, '%IF_NEXT_PAGE%', '%ENDIF_NEXT_PAGE%');
    327316        }
     
    350339                                            '%LOCATION_LABEL%'          => __('Location', 'picasaView'),
    351340                                            '%PREVIOUS_PAGE_LABEL%'     => __('Previous', 'picasaView'),
    352                                             '%PREVIOUS_PAGE_LINK%'      => $linkBase . $previousIndex,
     341                                            '%PREVIOUS_PAGE_LINK%'      => $showPreviousLink ? $linkBase . $previousIndex : '#',
    353342                                            '%NEXT_PAGE_LABEL%'         => __('Next', 'picasaView'),
    354                                             '%NEXT_PAGE_LINK%'          => $linkBase . $nextIndex,
     343                                            '%NEXT_PAGE_LINK%'          => $showNextLink ? $linkBase . $nextIndex : '#',
    355344                                            '%IF_PREVIOUS_PAGE%'        => '',
    356345                                            '%ENDIF_PREVIOUS_PAGE%'     => '',
     
    377366        // list all images
    378367        foreach($data->entry as $key => $e) {
    379    
     368           
    380369            $gPhoto = $e->children($namespaces['gphoto']);
    381370   
     
    384373                $imageAttributes = $mediaChildren->thumbnail->attributes();
    385374                $thumbnail = $imageAttributes['url'];
     375               
    386376                $imageAttributes = $mediaChildren->content->attributes();
    387377                $imageUrl = $imageAttributes['url'];
     
    392382   
    393383            // only display currently shown images, hide others when the option quickPaging is enabled
    394             //$isVisible = (($idx >= $startIndex) && ($idx <= $endIndex));
    395384            $isVisible = $idx <= $tagOptions['imagesperpage'];
    396385            // echo HTML-code
    397    
     386           
    398387            // put the echoed images into a container for paging
    399             if($tagOptions['imagesperpage'] > 0 && $idx % $tagOptions['imagesperpage'] == 1) {
     388            if ($tagOptions['imagesperpage'] > 0 && ($idx % $tagOptions['imagesperpage'] == 1 || $tagOptions['imagesperpage'] == 1)) {
    400389                $html .= '<div id="picasaViewBlock-'.$this->foundPlaceholders.'-'.$idx.'" '.($isVisible ? '' : 'style="display:none"').'>';
    401390            }
     
    414403            if($tagOptions['imagesperpage'] > 0 &&
    415404                ($idx % $tagOptions['imagesperpage'] == 0 || $idx == count($data->entry))) {
    416                 $html .= '</div>';
     405                    $html .= '</div>';
    417406            }
    418407   
     
    448437    }   
    449438   
    450     private function saveOptions() {
    451         //deal with the data submission
    452         if (isset($_POST['picasaView_check'])) {
    453                
    454             if (!wp_verify_nonce($_POST['picasaView_check'], plugin_basename(__FILE__))) {
    455               return;
    456             }
    457            
    458             $this->options['server'] = strip_tags(rtrim($_POST['picasaView_server'], '/'));
    459             $this->options['userid'] = strip_tags($_POST['picasaView_userId']);
    460             $this->options['thumbnailsize'] = intval($_POST['picasaView_thumbnailSize']);
    461             $this->options['imagesize'] = intval($_POST['picasaView_imageSize']);
    462             $this->options['showdebugoutput'] = isset($_POST['picasaView_showDebugOutput']);
    463             $this->options['cropthumbnails'] = isset($_POST['picasaView_cropThumbnails']);
    464             $this->options['imagesperpage'] = intval($_POST['picasaView_imagesPerPage']);
    465             $this->options['quickpaging'] = isset($_POST['picasaView_quickPaging']);
    466             $this->options['datetimeformat'] = strip_tags($_POST['picasaView_datetimeformat']);
    467        
    468             update_option('picasaView_options', $this->options);
    469             return true;
    470         } else {
    471             return false;
    472         }       
    473     }
    474    
    475 private function fetchDataFromPicasaweb($uri, $tagOptions) {
    476 
    477     $error = '';
    478    
    479     $feed = wp_remote_retrieve_body(wp_remote_get($uri));
    480    
    481     if($feed == '') {
    482         $error = 'The connection could not be established.';
    483     }
    484    
    485     if($error == '' && !(@$xmlStruct = simplexml_load_string($feed))) {
    486         $error = 'Could not load data from picasaweb. Maybe the user or specified album does not exist?';
    487     }
    488 
    489     if($error != '') {
    490         $error .= '<br />This was the generated url which failed at picasaweb: <code>'.$uri.'</code><br />It returned the following data:<br /><code>'.$feed.'</code>';
    491     }
    492    
    493     if(!$tagOptions['showdebugoutput'] && $error != '') {
    494         $error = 'Could not load data from picasaweb.';
    495     }
    496 
    497     // wrong call to RSS
    498     if($error != '') {
    499         return array(false, 'picasaView plugin: ' . $error);
     439    private function fetchDataFromPicasaweb($uri, $tagOptions) {
     440   
     441        $error = '';
     442       
     443        $feed = wp_remote_retrieve_body(wp_remote_get($uri));
     444       
     445        if($feed == '') {
     446            $error = 'The connection could not be established.';
     447        }
     448       
     449        if($error == '' && !(@$xmlStruct = simplexml_load_string($feed))) {
     450            $error = 'Could not load data from picasaweb. Maybe the user or specified album does not exist?';
     451        }
     452   
     453        if($error != '') {
     454            $error .= '<br />This was the generated url which failed at picasaweb: <code>'.$uri.'</code><br />It returned the following data:<br /><code>'.$feed.'</code>';
     455        }
     456       
     457        if(!$tagOptions['showdebugoutput'] && $error != '') {
     458            $error = 'Could not load data from picasaweb.';
     459        }
     460   
     461        // wrong call to RSS
     462        if($error != '') {
     463            return array(false, 'picasaView plugin: ' . $error);
     464        }   
     465   
     466        return array($xmlStruct, false);
    500467    }   
    501 
    502     return array($xmlStruct, false);
    503 }   
    504468   
    505469    public function adminMenu() {
     
    509473    public function adminMenuOptions() {
    510474       
    511         // save posted options
    512         $this->saveOptions();   
    513        
    514475        // check, if fsockopen is able to connect - we will use google for that check
    515476        $fsockopenWorks = @fsockopen('www.google.com', 80, $errnovnc, $errstrvnc, 5);       
    516        
    517         ?><div class="wrap"><h2><?php _e('PicasaView Options','picasaView'); ?></h2>
    518        
    519         <form method="post" action="<?php echo $this->optionsPage ?>&amp;updated=true">
    520             <?php
    521                 // Use nonce for verification
    522                 echo '<input type="hidden" name="picasaView_check" id="picasaView_check" value="' . wp_create_nonce( plugin_basename(__FILE__) ) . '" />';
    523             ?>
    524            
    525             <h3><?php _e('Connection settings', 'picasaView') ?></h3>
    526             <?php if (version_compare(PHP_VERSION, '5.0.0', '<')) {
    527                 echo '<p style="color:red">' . __('Bad news: You need PHP5 to run this plugin, sorry. You have installed PHP ', 'picasaView') . PHP_VERSION . '</p>';
    528             } elseif(!function_exists('simplexml_load_string')) {
    529                 echo '<p style="color:red">' . __('Bad news: the required PHP extension <code>SimpleXML</code> (which is usually enabled by default) on your server is not available. Blame your provider. Sorry.','picasaView') . '</p>';
    530             } ?>
    531             <table class="form-table">
    532                 <tbody>
    533                     <tr valign="top">
    534                         <th scope="row"><?php _e('Server-URL','picasaView'); ?>:</th>
    535                         <td><input name="picasaView_server" type="text" id="picasaView_server" value="<?php echo htmlspecialchars($this->options['server'], ENT_QUOTES); ?>" size="50" /></td>
    536                     </tr>
    537                     <tr valign="top">
    538                         <th scope="row"><?php _e('User Id','picasaView'); ?>:</th>
    539                         <td><input name="picasaView_userId" type="text" id="picasaView_userId" value="<?php echo htmlspecialchars($this->options['userid'], ENT_QUOTES); ?>" size="50" />
    540                         </td>
    541                     </tr>
    542                     <tr valign="top">
    543                         <th scope="row"><?php _e('Debug output','picasaView'); ?>:</th>
    544                         <td>
    545                             <p><label><input name="picasaView_showDebugOutput" type="checkbox" value="1" <?php if($this->options['showdebugoutput']) echo 'checked="checked"' ?>><?php _e("Print url and the returned data from picasaweb when a connection failure occured",'picasaView'); ?></label></p>
    546                         </td>
    547                     </tr>   
    548                 </tbody>
    549             </table>
    550 
    551             <h3><?php _e('Display settings', 'picasaView') ?></h3>
    552             <table class="form-table">
    553                 <tbody>
    554                     <tr valign="top">
    555                         <th scope="row"><?php _e('Date/Time format','picasaView'); ?>:</th>
    556                         <td><input name="picasaView_datetimeformat" type="text" id="picasaView_datetimeformat" value="<?php echo $this->options['datetimeformat'] ?>" size="50" maxlength="50" />
    557                         <p class="setting-description"><?php _e("Date format that is used when displaying date information. For all allowed format please see the <a href=\"http://php.net/manual/en/function.strftime.php\">php strftime-documentation</a>.",'picasaView'); ?></p>
    558                         </td>
    559                     </tr>
    560                     <tr valign="top">
    561                         <th scope="row"><?php _e('Thumbnail size','picasaView'); ?>:</th>
    562                         <td>
    563                     <select name="picasaView_thumbnailSize" id="picasaView_thumbnailSize">
    564                     <?php
    565                     foreach ($this->thumbnailSizes as $size) {
    566                     ?>
    567                         <option <?php if ($this->options['thumbnailsize'] == $size) { echo 'selected'; } ?> value="<?php echo attribute_escape($size); ?>"><?php echo $size; ?>px</option>
    568                     <?php } ?>
    569                     </select>
    570                     <p><label><input name="picasaView_cropThumbnails" id="picasaView_cropThumbnails" type="checkbox" value="1" <?php if($this->options['cropthumbnails']) echo 'checked="checked"' ?>><?php _e("Crop thumbnails (only available for thumbnails smaller than 200px)",'picasaView'); ?></label></p>
    571                     </td>
    572                     </tr>
    573                     <tr valign="top">
    574                         <th scope="row"><?php _e('Full image size','picasaView'); ?>:</th>
    575                         <td>
    576                     <select name="picasaView_imageSize">
    577                     <?php foreach ($this->imageSizes as $size) { ?>
    578                         <option <?php if ($this->options['imagesize'] == $size) { echo 'selected'; } ?> value="<?php echo attribute_escape($size); ?>"><?php echo $size; ?>px</option>
    579                     <?php } ?>
    580                     </select>
    581                     <p class="setting-description"><?php _e("1024 and above will *not* work right now due to restrictions on picasaweb (blame Google for this).",'picasaView'); ?></p>
    582                     </td>
    583                     </tr>
    584                     <tr valign="top">
    585                         <th scope="row"><?php _e('Images per page','picasaView'); ?>:</th>
    586                         <td><input name="picasaView_imagesPerPage" type="text" id="picasaView_imagesPerPage" value="<?php echo $this->options['imagesperpage'] ?>" size="5" maxlength="3" />
    587                         <p class="setting-description"><?php _e("insert <code>0</code> to disable paging and show all images on the same page",'picasaView'); ?></p>
    588                         </td>
    589                     </tr>
    590                     <tr valign="top">
    591                         <th scope="row"><?php _e('Quick paging','picasaView'); ?>:</th>
    592                         <td>
    593                             <p><label><input name="picasaView_quickPaging" type="checkbox" value="1" <?php if($this->options['quickpaging']) echo 'checked="checked"' ?>><?php _e("use JavaScript for paging (a lot faster and more beautiful when flipping through your image pages)",'picasaView'); ?></label></p>
    594                         </td>
    595                     </tr>
    596 
    597                 </tbody>
    598             </table>
    599 
    600         <p class="submit">
    601             <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
    602         </p>
    603    
    604    
    605    
    606         </form>
    607         </div>     
    608        
    609         <?
     477
     478        require dirname(__FILE__) . '/admintemplates/admin-menu-options.phtml';
    610479    }
    611480   
    612481    public function adminHeader() {
    613         wp_enqueue_script('picasaview-admin', (WP_PLUGIN_URL . '/picasaview/picasaview-admin.js'), array('scriptaculous'), '1.0');
     482        wp_enqueue_script('picasaview-admin', plugins_url('picasaview-admin.js', __FILE__), array('scriptaculous'), '1.0');
    614483    }
    615484   
     
    633502    public function loadScripts() {
    634503        if($this->options['quickpaging']) {
    635             wp_enqueue_script('picasaview', (WP_PLUGIN_URL . '/picasaview/picasaview.js'), array('scriptaculous-effects'), '1.0');
     504            wp_enqueue_script('picasaview', plugins_url('picasaview.js', __FILE__), array('jquery'), '1.1.5');
    636505        }
    637506    }   
  • picasaview/trunk/readme.txt

    r277948 r408439  
    44Tags: picasa, picasaweb, picasaview, gallery
    55Requires at least: 2.7
    6 Tested up to: 3.0.1
     6Tested up to: 3.2
    77Stable tag: trunk
    88
     
    3131== Installation ==
    3232
    33 **Please keep in mind that picasaView requires PHP5 to work. To connect to picasaweb either CURL or the php-setting
    34 `allow_url_fopen` set to true or remote connections through sockets are required.**
    35 Don't worry, if you're not familiar with it. The admin backend will tell you which options are available.
     33**Please keep in mind that picasaView requires PHP5 to work. To connect to picasaweb the plugin uses Wordpress' internal connection methods. Please ensure, you're server is allowed to retrieve data from external URLs. **
    3634
    3735So this is how you install the plugin:
     
    39371. Upload the directory 'picasaview' and all of its contents to the '/wp-content/plugins/' directory
    40382. Activate the plugin through the 'Plugins' menu in WordPress.
    41 3. Specify your connection settings through the settings menu in WordPress (a new submenu called 'picasaView' should have appeared).
     393. Set up your initial connection properties through the admin settings menu.
    42404. Place `[picasaView]` in you content to view all your public albums. That's all.
    43415. If you like to view a specific album, use `[picasaView album='ALBUMNAME']`. Instead of the album name you can also use the unique album id. The album name is the one that you see in the addressbar of your browser when entering your album on picasaweb (may be different from what you entered as album name when creating the album. For example, if it's `http://picasaweb.google.de/simon.sattes/PicasaViewDemo`
     
    4745    e.g. `[picasaView album="ALBUMNAME'S" instantView="yes"]`
    4846
    49 It's possible to overwrite all settings on the admin-options page with each picasaView-tag. That gives you the possibility to view all possible albums of different users on your blog. These are the options that can be used
    50 in the tag.
     47**It's possible to overwrite all settings on the admin-options page with each picasaView-tag. That gives you the possibility to view all possible albums of different users on your blog. These are the options that can be used
     48in the tag.**
    5149
    5250NOTE: you can combine all options as you like and use as many of them as necessary. **If an option is missing, the general setting from the admin options page will be used instead.**
    5351
    54 * `album`: the name of the album you'd like to view
    55 * `instantView`: if set to "yes", the album images are shown directly in the post. Can only in combination with `album`
     52* `album`: the name of the album you'd like to view (please use the shortened part of the album name you can see in the URL on picasaWeb, e.g. "Hamburg2009" as in "http://picasaweb.google.com/USERID/Hamburg2009"
     53* `instantview`: if set to "yes", the album images are shown directly in the post. Can only in combination with `album`
    5654* `authkey`: authentication key (as specified by picasaweb) for displaying private albums. Works only in combination with `album`
    57 * `userId`: the user-Id from picasaweb
     55* `userid`: the user-Id from picasaweb (the part as in "http://picasaweb.google.com/USERID/album...")
    5856* `server`: the URL of the picasaView server
    59 * `thumbnailSize`: the size of the thumbnails. May be one of the following values: `32, 48, 64, 72, 144, 160, 200, 288, 320, 400, 512, 576, 640, 720, 800`
    60 * `imageSize`: the size of the full images. May be one of the following values: `200, 288, 320, 400, 512, 576, 640, 720, 800, 1024, 1152, 1280, 1440, 1600` (note: 1024 and above will currently not work due to limitations of the picasaweb-service)
    61 * `imagesPerPage`: how many images should be shown at one page. If the album contains more images than this setting, paging is enabled
    62 * `cropThumbnails`: if set to `yes`, the thumbnails will be cropped, if `no`, they won't (note: only works with a thumbnail size smaller than 200)
    63 * `showDebugOutput`: shows more information on what went wrong (if an error occured).
    64 * `rssLookupType`: overrides the default lookupType. May be set to one of the following values: `curl, socket, file_get_contents`
     57* `thumbnailsize`: the size of the thumbnails. May be one of the following values: `32, 48, 64, 72, 144, 160, 200, 288, 320, 400, 512, 576, 640, 720, 800`
     58* `imagesize`: the size of the full images. May be one of the following values: `200, 288, 320, 400, 512, 576, 640, 720, 800, 1024, 1152, 1280, 1440, 1600` (note: 1024 and above will currently not work due to limitations of the picasaweb-service)
     59* `imagesperpage`: how many images should be shown at one page. If the album contains more images than this setting, paging is enabled
     60* `cropthumbnails`: if set to `yes`, the thumbnails will be cropped, if `no`, they won't (note: only works with a thumbnail size smaller than 200)
     61* `showdebugoutput`: shows more information on what went wrong (if an error occured).
    6562
    6663A combination could be `[picasaView user="USERNAME" imagesPerPage='6' cropThumbnails='yes']`.
     
    7471
    7572The template files mustn't be renamed and have the following functions. With the specific placeholders explained below
    76 you can further customize the output.
     73you can further customize the output. Just be sure to keep the class-attributes (they are needed for the JavaScript frontend functionality)
    7774
    7875* **album.html**: Used to display the album summary. This is the template that's shown when you insert the picasaView-tag into your content.
     
    154151
    155152Changes in this version:
    156 
    157 ADD: Arabic translation (thanks to www.r-sn.com)
    158 ADD: It's now possible to specify an authkey to display non-public albums (this only works when showing an album directly)
     153* FIX: PHP running on Windows didn't like the mixed-in html code, which caused the plugin activation to fail
     154* FIX: Internal file inclusion did not work on MU-installations
     155* FIX: Previous/Next-Links were always generated with JavaScript-paging enabled (invisible), this could lead to search engine problems due to infinite loop links (thanks to Dani�l Bos)
     156* FIX: Albumview was broken, if only 1 thumbnail per page was set
     157* CHG: default setting changes: quick paging is on by default and number of images per page set to 9 (this only affects for fresh installations)
     158* CHG: switched the JavaScript-paging effects from Prototype/Scriptaculous to jQuery (smoother and better to handle when both libraries are used on the site)
     159* CHG: Removed legacy code (update from versions prior 0.8 won't work anymore, but you had enough time to update ;) )
    159160
    160161 == To Do ==
    161162
     163 * pagination on album overview
    162164 * add link to the original album on picasaweb
    163165 * anchor link to the detail view of an album
     
    167169 * commenting of photos
    168170 * support for speaking URLs
    169  * workaround to bypass googles limition to not display images greater than 800 pixels
Note: See TracChangeset for help on using the changeset viewer.