gallery-uploader-2.4/0000755000175000017500000000000011544351706014223 5ustar pietropietrogallery-uploader-2.4/po/0000755000175000017500000000000011544351706014641 5ustar pietropietrogallery-uploader-2.4/po/tr.po0000644000175000017500000001623111544351706015631 0ustar pietropietro# Turkish translations for Gallery-uploader package # Copyright © 2010 Pietro Battiston # This file is distributed under the same license as the Gallery Uploader app. # # zeugma, 2010. msgid "" msgstr "" "Project-Id-Version: gallery-uploader 2.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-10 15:30+0100\n" "PO-Revision-Date: 2010-09-28 02:07+0300\n" "Last-Translator: zeugma\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-Language: Turkish\n" "X-Generator: Lokalize 1.0\n" #: gallery-uploader.py:113 #, python-format msgid "Name \"%s\" already taken." msgstr " \"%s\" Adı daha önce alınmış. " #: gallery-uploader.py:121 #, python-format msgid "" "The URL should start with one of the following:\n" "%s." msgstr "" #: gallery-uploader.py:259 #, python-format msgid "Password for user %(user)s on gallery instance at %(url)s" msgstr "" #: gallery-uploader.py:480 gallery-uploader.py:516 msgid "Network error" msgstr "Ağ hatası " #: gallery-uploader.py:480 #, python-format msgid "" "The URL %s is currently not reachable, or does not point to a Gallery " "installation." msgstr "" #: gallery-uploader.py:483 msgid "Error accessing the Gallery instance:" msgstr "" #: gallery-uploader.py:489 msgid "Error in the SSL connection:" msgstr "" #: gallery-uploader.py:511 #, python-format msgid "Uploading picture %(count)d of %(total)d" msgstr "" #: gallery-uploader.py:516 #, python-format msgid "" "The URL %s doesn't exist\n" "or is currently not reachable." msgstr "" #: gallery-uploader.py:519 msgid "Error uploading to Gallery:" msgstr "" #: gallery-uploader.py:531 #, python-format msgid "Usage: %s [IMAGE1, [IMAGE2 ...]]" msgstr "Kullanımı:%s [image1, [image2 ...]] " #: gallery-uploader.py:561 #, python-format msgid "" "Please enter the title of the new album.\n" "It will be created as a subalbum of %s." msgstr "" #: gallery-uploader.py:599 msgid "No files provided" msgstr "Dosya sağlanamadı " #: gallery-uploader.py:599 msgid "There were no files selected for upload." msgstr "" #: gallery-uploader.py:622 msgid "Refreshing" msgstr "Yenileniyor " #: gallery-uploader.py:622 msgid "" "Please wait while information about remote albums hierarchy is downloaded." msgstr "" #: gallery-uploader.py:628 msgid "Album selection" msgstr "Albüm seçimi " #: gallery-uploader.py:628 msgid "Select the album in which to upload the pictures:" msgstr "" #: gallery-uploader.py:671 msgid "Uploading" msgstr "Yükleniyor " #: gallery-uploader.py:671 msgid "Uploading pictures. Please be patient." msgstr "Resimler yükleniyor. Lütfen sabırlı olun. " #: gallery-uploader.py:686 msgid "Gallery selection" msgstr "Galeri seçimi " #: gallery-uploader.py:686 msgid "Select the gallery you want to upload pictures to:" msgstr "" #: gallery-uploader.py:704 #, python-format msgid "" "Are you sure you want to delete configuration for gallery installation \"%s" "\"?" msgstr "" #: gallery-uploader.py:748 msgid "galleryremote not found" msgstr "" #: gallery-uploader.py:749 msgid "" "Sorry, gallery-uploader won't work without the galleryremote library " "( http://code.google.com/p/galleryremote ) installed." msgstr "" #: gallery-uploader.py:760 msgid "Old pygtk version" msgstr "" #: gallery-uploader.py:760 #, python-format msgid "" "Impossible to start the pictures browser with the installed pygtk version " "(%s).\n" "To use gallery-uploader on this version, you need to run it with the " "pictures you want to upload as arguments: for instance, by using it as a " "Nautilus script." msgstr "" #: gallery-uploader.py:771 #, python-format msgid "Error: file \"%s\" doesn't exist." msgstr "" #: gallery-uploader.py:775 #, python-format msgid "Error: \"%s\" is not a regular file." msgstr "" #: gallery-uploader.py:779 #, python-format msgid "Error: can't read file \"%s\"." msgstr "" #: galleryuploader_lib/dialogs.py:19 msgid "Gallery-uploader is exiting because of the following error:" msgstr "" #: stuff/UI_browser.glade:7 msgid "Select pictures to upload" msgstr "Yüklemek için resim seç " #: stuff/UI_browser.glade:27 msgid "Folder:" msgstr "Klasör:" #: stuff/UI_browser.glade:38 msgid "Select a folder" msgstr "Bir klasör seçin " #: stuff/UI_bye.glade:7 stuff/UI_bye.glade:11 msgid "Upload successful" msgstr "Yükleme başarılı " #: stuff/UI_bye.glade:12 msgid "Picures were succesfully added to the album." msgstr "Resimler başarıyla albüme eklendi. " #: stuff/UI_bye.glade:20 msgid "Click here to view it in your browser." msgstr "" #: stuff/UI_choose.glade:71 msgid "Expand all" msgstr "" #: stuff/UI_choose.glade:85 msgid "Collapse all" msgstr "" #: stuff/UI_choose.glade:99 stuff/UI_newalbum.glade:7 msgid "New album" msgstr "" #: stuff/UI_choose.glade:176 msgid "Manage accounts" msgstr "Hesapları yönet " #: stuff/UI_delete.glade:7 msgid "Delete gallery" msgstr "Galeri sil " #: stuff/UI_edit.glade:21 msgid "Pictures details" msgstr "" #: stuff/UI_edit.glade:37 msgid "" "If you want, you can now add a caption and/or a description " "for each picture.\n" "The former appears in in the album view, the latter only in the specific " "picture's page." msgstr "" #: stuff/UI_error.glade:7 msgid "Error" msgstr "Hata " #: stuff/UI_form.glade:7 msgid "Gallery installation" msgstr "Galeri yükleme " #: stuff/UI_form.glade:19 msgid "" "Insert informations for this gallery installation\n" "(all fields are required):" msgstr "" #: stuff/UI_form.glade:75 msgid "Password:" msgstr "Parola: " #: stuff/UI_form.glade:88 msgid "User name:" msgstr "Kullanıcı adı: " #: stuff/UI_form.glade:99 msgid "" "URL\n" "(e.g. http://www.example.com/gallery):" msgstr "" "URL\n" "(örneğin http://www.example.com/gallery): " #: stuff/UI_form.glade:113 msgid "" "Name of bookmark\n" "(choose freely):" msgstr "" "Yer imleri için isim\n" "(serbestçe seçin): " #: stuff/UI_form.glade:192 msgid "Save and apply" msgstr "Uygula ve kaydet " #: stuff/UI_newalbum.glade:42 msgid "Below, you can add a description:" msgstr "" #: stuff/UI_newalbum.glade:77 msgid "" "Both in the title and in the description, you can use markers, such as:\n" "[b]bold[/b],\n" "[i]italic[/i],\n" "[url=http://www.pietrobattiston.it]website[/url],\n" "[color=#E80000]crimson[/color].\n" "\n" "See Gallery documentation for the full list." msgstr "" #: stuff/UI_nognomekeyring.glade:7 msgid "GNOME Keyring not found." msgstr "" #: stuff/UI_nognomekeyring.glade:12 msgid "" "Gallery-uploader is unable to communicate with GNOME Keyring - it may be not " "installed, or not currently active.\n" "\n" "This means that your password will be stored on the hard disk as plain text." msgstr "" #: stuff/UI_nognomekeyring.glade:22 msgid "Don't tell me again" msgstr "" #: stuff/UI_nossl.glade:7 msgid "Cannot establish SSL connection." msgstr "" #: stuff/UI_nossl.glade:12 msgid "" "You are requesting a secure (https) connection.\n" "\n" "However, Gallery-uploader is unable to establish it (probably because " "M2Crypto is not installed).\n" "\n" "As a consequence, the connection will not be secure!" msgstr "" #~ msgid "Invalid credentials" #~ msgstr "Kimlik bilgileri geçersiz " gallery-uploader-2.4/po/fr.po0000644000175000017500000002140411544351706015611 0ustar pietropietro# French translations for Gallery-uploader package # Traduction française pour le programme Gallery-uploader. # Copyright © 2010 me@pietrobattiston.it # This file is distributed under the same license as the Gallery-uploader app. # # Pierre Willaime , 2010. msgid "" msgstr "" "Project-Id-Version: gallery-uploader 2.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-10 15:30+0100\n" "PO-Revision-Date: 2010-05-25 20:39+0100\n" "Last-Translator: Pierre Willaime \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #: gallery-uploader.py:113 #, python-format msgid "Name \"%s\" already taken." msgstr "Nom \"%s\" déjà pris." #: gallery-uploader.py:121 #, python-format msgid "" "The URL should start with one of the following:\n" "%s." msgstr "" "L'URL devrait commencer par l'un des préfixes suivants :\n" "%s." #: gallery-uploader.py:259 #, python-format msgid "Password for user %(user)s on gallery instance at %(url)s" msgstr "" #: gallery-uploader.py:480 gallery-uploader.py:516 msgid "Network error" msgstr "Erreur de connexion" #: gallery-uploader.py:480 #, python-format msgid "" "The URL %s is currently not reachable, or does not point to a Gallery " "installation." msgstr "" #: gallery-uploader.py:483 msgid "Error accessing the Gallery instance:" msgstr "" #: gallery-uploader.py:489 msgid "Error in the SSL connection:" msgstr "" #: gallery-uploader.py:511 #, python-format msgid "Uploading picture %(count)d of %(total)d" msgstr "Envoi de la photo %(count)d sur %(total)d" #: gallery-uploader.py:516 #, python-format msgid "" "The URL %s doesn't exist\n" "or is currently not reachable." msgstr "L'URL %s n'existe pas/nou est actuellement indisponible." #: gallery-uploader.py:519 msgid "Error uploading to Gallery:" msgstr "" #: gallery-uploader.py:531 #, python-format msgid "Usage: %s [IMAGE1, [IMAGE2 ...]]" msgstr "Utilisation : %s [IMAGE1, [IMAGE2 ...]]" #: gallery-uploader.py:561 #, python-format msgid "" "Please enter the title of the new album.\n" "It will be created as a subalbum of %s." msgstr "" #: gallery-uploader.py:599 msgid "No files provided" msgstr "Aucun fichier fourni" #: gallery-uploader.py:599 msgid "There were no files selected for upload." msgstr "Il n'y a pas de fichiers sélectionnés pour l'envoi." #: gallery-uploader.py:622 msgid "Refreshing" msgstr "Actualisation" #: gallery-uploader.py:622 msgid "" "Please wait while information about remote albums hierarchy is downloaded." msgstr "" "Téléchargement d'information sur la hiérarchie des albums distants.\n" "Soyez patient !" #: gallery-uploader.py:628 msgid "Album selection" msgstr "Sélection d'album" #: gallery-uploader.py:628 msgid "Select the album in which to upload the pictures:" msgstr "Sélectionnez l'album où envoyer les photos :" #: gallery-uploader.py:671 msgid "Uploading" msgstr "Envoi" #: gallery-uploader.py:671 msgid "Uploading pictures. Please be patient." msgstr "Envoi des photos. Soyez patient !" #: gallery-uploader.py:686 msgid "Gallery selection" msgstr "Sélection de la galerie photo" #: gallery-uploader.py:686 msgid "Select the gallery you want to upload pictures to:" msgstr "Sélectionnez la galerie photo où vous voulez envoyer les photos :" #: gallery-uploader.py:704 #, python-format msgid "" "Are you sure you want to delete configuration for gallery installation \"%s" "\"?" msgstr "" "Êtes-vous sûr de vouloir supprimer la configuration de la galerie photo \"%s" "\" ?" #: gallery-uploader.py:748 msgid "galleryremote not found" msgstr "" #: gallery-uploader.py:749 msgid "" "Sorry, gallery-uploader won't work without the galleryremote library " "( http://code.google.com/p/galleryremote ) installed." msgstr "" #: gallery-uploader.py:760 msgid "Old pygtk version" msgstr "version de pygtk obsolète" #: gallery-uploader.py:760 #, python-format msgid "" "Impossible to start the pictures browser with the installed pygtk version " "(%s).\n" "To use gallery-uploader on this version, you need to run it with the " "pictures you want to upload as arguments: for instance, by using it as a " "Nautilus script." msgstr "" "Impossible de démarrer le navigateur de photos avec la version installée de " "pygtk (%s).\n" "Pour utiliser Chargeur Gallery avec cette version, vous devez le démarrer " "avec les photos à envoyer en arguments : par exemple, en utilisant un script " "Nautilus." #: gallery-uploader.py:771 #, python-format msgid "Error: file \"%s\" doesn't exist." msgstr "Erreur : le fichier \"%s\" n'existe pas" #: gallery-uploader.py:775 #, python-format msgid "Error: \"%s\" is not a regular file." msgstr "Erreur : \"%s\" n'est pas un fichier correct." #: gallery-uploader.py:779 #, python-format msgid "Error: can't read file \"%s\"." msgstr "Erreur : impossible de lire le fichier \"%s\"." #: galleryuploader_lib/dialogs.py:19 msgid "Gallery-uploader is exiting because of the following error:" msgstr "Chargeur Gallery s'est arrêté à cause de l'erreur suivante :" #: stuff/UI_browser.glade:7 msgid "Select pictures to upload" msgstr "Sélectionnez les photos à envoyer" #: stuff/UI_browser.glade:27 msgid "Folder:" msgstr "Dossier :" #: stuff/UI_browser.glade:38 msgid "Select a folder" msgstr "Sélectionnez un dossier" #: stuff/UI_bye.glade:7 stuff/UI_bye.glade:11 msgid "Upload successful" msgstr "Envoi réussi" #: stuff/UI_bye.glade:12 msgid "Picures were succesfully added to the album." msgstr "Les photos ont été ajoutées à l'album avec succès." #: stuff/UI_bye.glade:20 msgid "Click here to view it in your browser." msgstr "" #: stuff/UI_choose.glade:71 msgid "Expand all" msgstr "Tout développer" #: stuff/UI_choose.glade:85 msgid "Collapse all" msgstr "Tout réduire" #: stuff/UI_choose.glade:99 stuff/UI_newalbum.glade:7 msgid "New album" msgstr "" #: stuff/UI_choose.glade:176 msgid "Manage accounts" msgstr "Gérer les comptes" #: stuff/UI_delete.glade:7 msgid "Delete gallery" msgstr "Supprimer la galerie photo" #: stuff/UI_edit.glade:21 msgid "Pictures details" msgstr "" #: stuff/UI_edit.glade:37 msgid "" "If you want, you can now add a caption and/or a description " "for each picture.\n" "The former appears in in the album view, the latter only in the specific " "picture's page." msgstr "" #: stuff/UI_error.glade:7 msgid "Error" msgstr "Erreur" #: stuff/UI_form.glade:7 msgid "Gallery installation" msgstr "Installation de la galerie photo" #: stuff/UI_form.glade:19 msgid "" "Insert informations for this gallery installation\n" "(all fields are required):" msgstr "" "Entrez les informations pour l'installation de cette galerie photo\n" "(tous les champs sont requis) :" #: stuff/UI_form.glade:75 msgid "Password:" msgstr "Mot de passe :" #: stuff/UI_form.glade:88 msgid "User name:" msgstr "Nom d'utilisateur :" #: stuff/UI_form.glade:99 msgid "" "URL\n" "(e.g. http://www.example.com/gallery):" msgstr "" "URL\n" "(e.g. http://www.example.com/gallery):" #: stuff/UI_form.glade:113 msgid "" "Name of bookmark\n" "(choose freely):" msgstr "" "Nom du signet\n" "(à choisir librement) :" #: stuff/UI_form.glade:192 msgid "Save and apply" msgstr "Sauvegarder et appliquer" #: stuff/UI_newalbum.glade:42 msgid "Below, you can add a description:" msgstr "" #: stuff/UI_newalbum.glade:77 msgid "" "Both in the title and in the description, you can use markers, such as:\n" "[b]bold[/b],\n" "[i]italic[/i],\n" "[url=http://www.pietrobattiston.it]website[/url],\n" "[color=#E80000]crimson[/color].\n" "\n" "See Gallery documentation for the full list." msgstr "" #: stuff/UI_nognomekeyring.glade:7 msgid "GNOME Keyring not found." msgstr "" #: stuff/UI_nognomekeyring.glade:12 msgid "" "Gallery-uploader is unable to communicate with GNOME Keyring - it may be not " "installed, or not currently active.\n" "\n" "This means that your password will be stored on the hard disk as plain text." msgstr "" #: stuff/UI_nognomekeyring.glade:22 msgid "Don't tell me again" msgstr "" #: stuff/UI_nossl.glade:7 msgid "Cannot establish SSL connection." msgstr "" #: stuff/UI_nossl.glade:12 msgid "" "You are requesting a secure (https) connection.\n" "\n" "However, Gallery-uploader is unable to establish it (probably because " "M2Crypto is not installed).\n" "\n" "As a consequence, the connection will not be secure!" msgstr "" #~ msgid "Error while retrieving updated information:" #~ msgstr "Erreur lors de la récupération de l'information mise à jour :" #~ msgid "Invalid credentials" #~ msgstr "Autorisation invalide" #~ msgid "" #~ "Could not connect to %s with given username and password: either they are " #~ "wrong, or the account is temporarily disabled." #~ msgstr "" #~ "Ne peut pas se connecter à %s avec l'identifiant et le mot de passe " #~ "donnés : soit ils sont erronés, soit le compte est temporairement " #~ "désactivé." gallery-uploader-2.4/po/pt_BR.po0000644000175000017500000002121211544351706016205 0ustar pietropietro# Brazilian Portuguese translations for Gallery-uploader package # Copyright © 2010 Pietro Battiston # This file is distributed under the same license as the Gallery Uploader app. # # Vitor Vilas Boas , 2010. msgid "" msgstr "" "Project-Id-Version: gallery-uploader 2.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-10 15:30+0100\n" "PO-Revision-Date: 2010-04-27 10:12-0300\n" "Last-Translator: Vitor Vilas Boas \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Portuguese\n" #: gallery-uploader.py:113 #, python-format msgid "Name \"%s\" already taken." msgstr "Nome \"%s\" já tomado." #: gallery-uploader.py:121 #, python-format msgid "" "The URL should start with one of the following:\n" "%s." msgstr "" "O URL deve começar com um dos seguintes:\n" "%s." #: gallery-uploader.py:259 #, python-format msgid "Password for user %(user)s on gallery instance at %(url)s" msgstr "" #: gallery-uploader.py:480 gallery-uploader.py:516 msgid "Network error" msgstr "Erro na conexão de rede" #: gallery-uploader.py:480 #, python-format msgid "" "The URL %s is currently not reachable, or does not point to a Gallery " "installation." msgstr "" #: gallery-uploader.py:483 msgid "Error accessing the Gallery instance:" msgstr "" #: gallery-uploader.py:489 msgid "Error in the SSL connection:" msgstr "" #: gallery-uploader.py:511 #, python-format msgid "Uploading picture %(count)d of %(total)d" msgstr "Enviando imagem %(count)d de %(total)d" #: gallery-uploader.py:516 #, python-format msgid "" "The URL %s doesn't exist\n" "or is currently not reachable." msgstr "" "A URL %s não existe\n" "ou a credencial não é reconhecida." #: gallery-uploader.py:519 msgid "Error uploading to Gallery:" msgstr "" #: gallery-uploader.py:531 #, python-format msgid "Usage: %s [IMAGE1, [IMAGE2 ...]]" msgstr "Use: %s [IMAGEM1, [IMAGEM2 ...]]" #: gallery-uploader.py:561 #, python-format msgid "" "Please enter the title of the new album.\n" "It will be created as a subalbum of %s." msgstr "" #: gallery-uploader.py:599 msgid "No files provided" msgstr "Nenhum arquivo selecionado" #: gallery-uploader.py:599 msgid "There were no files selected for upload." msgstr "Nenhum arquivo selecionado para upload." #: gallery-uploader.py:622 msgid "Refreshing" msgstr "Atualizando" #: gallery-uploader.py:622 msgid "" "Please wait while information about remote albums hierarchy is downloaded." msgstr "Por favor aguarde enquanto informações sobre a galeria é baixada." #: gallery-uploader.py:628 msgid "Album selection" msgstr "Selecão de álbum" #: gallery-uploader.py:628 msgid "Select the album in which to upload the pictures:" msgstr "Selecione o álbum para qual as imagens serão enviadas:" #: gallery-uploader.py:671 msgid "Uploading" msgstr "Enviando" #: gallery-uploader.py:671 msgid "Uploading pictures. Please be patient." msgstr "Enviando imagens. Por favor, tenha paciência." #: gallery-uploader.py:686 msgid "Gallery selection" msgstr "Selecão da galeria" #: gallery-uploader.py:686 msgid "Select the gallery you want to upload pictures to:" msgstr "Selecione a galeria para qual você deseja enviar as imagens:" #: gallery-uploader.py:704 #, python-format msgid "" "Are you sure you want to delete configuration for gallery installation \"%s" "\"?" msgstr "Você tem certeza que quer apagar a configuração da galeria \"%s\"?" #: gallery-uploader.py:748 msgid "galleryremote not found" msgstr "" #: gallery-uploader.py:749 msgid "" "Sorry, gallery-uploader won't work without the galleryremote library " "( http://code.google.com/p/galleryremote ) installed." msgstr "" #: gallery-uploader.py:760 msgid "Old pygtk version" msgstr "Versão antiga do pygtk" #: gallery-uploader.py:760 #, python-format msgid "" "Impossible to start the pictures browser with the installed pygtk version " "(%s).\n" "To use gallery-uploader on this version, you need to run it with the " "pictures you want to upload as arguments: for instance, by using it as a " "Nautilus script." msgstr "" "Impossível iniciar a navegação pelas figuras com está versão do pygtk " "instalada (%s).\n" "Para usar o gallery-uploader com esta versão, você precisa executá-lo com as " "fotos que deseja enviar, como argumentos: Por exemplo, usá-lo como um script " "do Nautilus." #: gallery-uploader.py:771 #, python-format msgid "Error: file \"%s\" doesn't exist." msgstr "Error: o arquivo \"%s\" não existe." #: gallery-uploader.py:775 #, python-format msgid "Error: \"%s\" is not a regular file." msgstr "Erro: \"%s\" não é um arquivo comum." #: gallery-uploader.py:779 #, python-format msgid "Error: can't read file \"%s\"." msgstr "Error: o arquivo não pode ser lido \"%s\"." #: galleryuploader_lib/dialogs.py:19 msgid "Gallery-uploader is exiting because of the following error:" msgstr "O Gallery-uploader precisa sair por causa do seguinte erro:" #: stuff/UI_browser.glade:7 msgid "Select pictures to upload" msgstr "Selecione as imagens para serem enviadas para a galeria" #: stuff/UI_browser.glade:27 msgid "Folder:" msgstr "Pasta:" #: stuff/UI_browser.glade:38 msgid "Select a folder" msgstr "Selecione uma pasta" #: stuff/UI_bye.glade:7 stuff/UI_bye.glade:11 msgid "Upload successful" msgstr "Enviado com sucesso" #: stuff/UI_bye.glade:12 msgid "Picures were succesfully added to the album." msgstr "As imagens foram incluídas no seu álbum com sucesso." #: stuff/UI_bye.glade:20 msgid "Click here to view it in your browser." msgstr "" #: stuff/UI_choose.glade:71 msgid "Expand all" msgstr "Expandir tudo" #: stuff/UI_choose.glade:85 msgid "Collapse all" msgstr "Esconder tudo" #: stuff/UI_choose.glade:99 stuff/UI_newalbum.glade:7 msgid "New album" msgstr "" #: stuff/UI_choose.glade:176 msgid "Manage accounts" msgstr "Gerenciar contas" #: stuff/UI_delete.glade:7 msgid "Delete gallery" msgstr "Deletar galeria" #: stuff/UI_edit.glade:21 msgid "Pictures details" msgstr "" #: stuff/UI_edit.glade:37 msgid "" "If you want, you can now add a caption and/or a description " "for each picture.\n" "The former appears in in the album view, the latter only in the specific " "picture's page." msgstr "" #: stuff/UI_error.glade:7 msgid "Error" msgstr "Erro" #: stuff/UI_form.glade:7 msgid "Gallery installation" msgstr "Instalação do Gallery" #: stuff/UI_form.glade:19 msgid "" "Insert informations for this gallery installation\n" "(all fields are required):" msgstr "" "Insira as informações para a instalação da galeria\n" "(todos os campos são obrigatórios):" #: stuff/UI_form.glade:75 msgid "Password:" msgstr "Senha:" #: stuff/UI_form.glade:88 msgid "User name:" msgstr "Nome de usuário:" #: stuff/UI_form.glade:99 msgid "" "URL\n" "(e.g. http://www.example.com/gallery):" msgstr "" "URL\n" "(e.g. http://www.example.com/gallery):" #: stuff/UI_form.glade:113 msgid "" "Name of bookmark\n" "(choose freely):" msgstr "" "Nome do bookmark\n" "(escolha livremente):" #: stuff/UI_form.glade:192 msgid "Save and apply" msgstr "Salvar e aplicar" #: stuff/UI_newalbum.glade:42 msgid "Below, you can add a description:" msgstr "" #: stuff/UI_newalbum.glade:77 msgid "" "Both in the title and in the description, you can use markers, such as:\n" "[b]bold[/b],\n" "[i]italic[/i],\n" "[url=http://www.pietrobattiston.it]website[/url],\n" "[color=#E80000]crimson[/color].\n" "\n" "See Gallery documentation for the full list." msgstr "" #: stuff/UI_nognomekeyring.glade:7 msgid "GNOME Keyring not found." msgstr "" #: stuff/UI_nognomekeyring.glade:12 msgid "" "Gallery-uploader is unable to communicate with GNOME Keyring - it may be not " "installed, or not currently active.\n" "\n" "This means that your password will be stored on the hard disk as plain text." msgstr "" #: stuff/UI_nognomekeyring.glade:22 msgid "Don't tell me again" msgstr "" #: stuff/UI_nossl.glade:7 msgid "Cannot establish SSL connection." msgstr "" #: stuff/UI_nossl.glade:12 msgid "" "You are requesting a secure (https) connection.\n" "\n" "However, Gallery-uploader is unable to establish it (probably because " "M2Crypto is not installed).\n" "\n" "As a consequence, the connection will not be secure!" msgstr "" #~ msgid "Error while retrieving updated information:" #~ msgstr "Erro ao recuperar informações atualizadas:" #~ msgid "Invalid credentials" #~ msgstr "Credenciais inválidas" #~ msgid "" #~ "Could not connect to %s with given username and password: either they are " #~ "wrong, or the account is temporarily disabled." #~ msgstr "" #~ "Não foi possível conectar a %s com nome de usuário e senha fornecidos: ou " #~ "eles estão errados, ou a conta está temporariamente desativada." gallery-uploader-2.4/po/messages.pot0000644000175000017500000001502711544351706017201 0ustar pietropietro# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-10 15:30+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: gallery-uploader.py:113 #, python-format msgid "Name \"%s\" already taken." msgstr "" #: gallery-uploader.py:121 #, python-format msgid "" "The URL should start with one of the following:\n" "%s." msgstr "" #: gallery-uploader.py:259 #, python-format msgid "Password for user %(user)s on gallery instance at %(url)s" msgstr "" #: gallery-uploader.py:480 gallery-uploader.py:516 msgid "Network error" msgstr "" #: gallery-uploader.py:480 #, python-format msgid "" "The URL %s is currently not reachable, or does not point to a Gallery " "installation." msgstr "" #: gallery-uploader.py:483 msgid "Error accessing the Gallery instance:" msgstr "" #: gallery-uploader.py:489 msgid "Error in the SSL connection:" msgstr "" #: gallery-uploader.py:511 #, python-format msgid "Uploading picture %(count)d of %(total)d" msgstr "" #: gallery-uploader.py:516 #, python-format msgid "" "The URL %s doesn't exist\n" "or is currently not reachable." msgstr "" #: gallery-uploader.py:519 msgid "Error uploading to Gallery:" msgstr "" #: gallery-uploader.py:531 #, python-format msgid "Usage: %s [IMAGE1, [IMAGE2 ...]]" msgstr "" #: gallery-uploader.py:561 #, python-format msgid "" "Please enter the title of the new album.\n" "It will be created as a subalbum of %s." msgstr "" #: gallery-uploader.py:599 msgid "No files provided" msgstr "" #: gallery-uploader.py:599 msgid "There were no files selected for upload." msgstr "" #: gallery-uploader.py:622 msgid "Refreshing" msgstr "" #: gallery-uploader.py:622 msgid "" "Please wait while information about remote albums hierarchy is downloaded." msgstr "" #: gallery-uploader.py:628 msgid "Album selection" msgstr "" #: gallery-uploader.py:628 msgid "Select the album in which to upload the pictures:" msgstr "" #: gallery-uploader.py:671 msgid "Uploading" msgstr "" #: gallery-uploader.py:671 msgid "Uploading pictures. Please be patient." msgstr "" #: gallery-uploader.py:686 msgid "Gallery selection" msgstr "" #: gallery-uploader.py:686 msgid "Select the gallery you want to upload pictures to:" msgstr "" #: gallery-uploader.py:704 #, python-format msgid "" "Are you sure you want to delete configuration for gallery installation \"%s" "\"?" msgstr "" #: gallery-uploader.py:748 msgid "galleryremote not found" msgstr "" #: gallery-uploader.py:749 msgid "" "Sorry, gallery-uploader won't work without the galleryremote library " "( http://code.google.com/p/galleryremote ) installed." msgstr "" #: gallery-uploader.py:760 msgid "Old pygtk version" msgstr "" #: gallery-uploader.py:760 #, python-format msgid "" "Impossible to start the pictures browser with the installed pygtk version " "(%s).\n" "To use gallery-uploader on this version, you need to run it with the " "pictures you want to upload as arguments: for instance, by using it as a " "Nautilus script." msgstr "" #: gallery-uploader.py:771 #, python-format msgid "Error: file \"%s\" doesn't exist." msgstr "" #: gallery-uploader.py:775 #, python-format msgid "Error: \"%s\" is not a regular file." msgstr "" #: gallery-uploader.py:779 #, python-format msgid "Error: can't read file \"%s\"." msgstr "" #: galleryuploader_lib/dialogs.py:19 msgid "Gallery-uploader is exiting because of the following error:" msgstr "" #: stuff/UI_browser.glade:7 msgid "Select pictures to upload" msgstr "" #: stuff/UI_browser.glade:27 msgid "Folder:" msgstr "" #: stuff/UI_browser.glade:38 msgid "Select a folder" msgstr "" #: stuff/UI_bye.glade:7 stuff/UI_bye.glade:11 msgid "Upload successful" msgstr "" #: stuff/UI_bye.glade:12 msgid "Picures were succesfully added to the album." msgstr "" #: stuff/UI_bye.glade:20 msgid "Click here to view it in your browser." msgstr "" #: stuff/UI_choose.glade:71 msgid "Expand all" msgstr "" #: stuff/UI_choose.glade:85 msgid "Collapse all" msgstr "" #: stuff/UI_choose.glade:99 stuff/UI_newalbum.glade:7 msgid "New album" msgstr "" #: stuff/UI_choose.glade:176 msgid "Manage accounts" msgstr "" #: stuff/UI_delete.glade:7 msgid "Delete gallery" msgstr "" #: stuff/UI_edit.glade:21 msgid "Pictures details" msgstr "" #: stuff/UI_edit.glade:37 msgid "" "If you want, you can now add a caption and/or a description " "for each picture.\n" "The former appears in in the album view, the latter only in the specific " "picture's page." msgstr "" #: stuff/UI_error.glade:7 msgid "Error" msgstr "" #: stuff/UI_form.glade:7 msgid "Gallery installation" msgstr "" #: stuff/UI_form.glade:19 msgid "" "Insert informations for this gallery installation\n" "(all fields are required):" msgstr "" #: stuff/UI_form.glade:75 msgid "Password:" msgstr "" #: stuff/UI_form.glade:88 msgid "User name:" msgstr "" #: stuff/UI_form.glade:99 msgid "" "URL\n" "(e.g. http://www.example.com/gallery):" msgstr "" #: stuff/UI_form.glade:113 msgid "" "Name of bookmark\n" "(choose freely):" msgstr "" #: stuff/UI_form.glade:192 msgid "Save and apply" msgstr "" #: stuff/UI_newalbum.glade:42 msgid "Below, you can add a description:" msgstr "" #: stuff/UI_newalbum.glade:77 msgid "" "Both in the title and in the description, you can use markers, such as:\n" "[b]bold[/b],\n" "[i]italic[/i],\n" "[url=http://www.pietrobattiston.it]website[/url],\n" "[color=#E80000]crimson[/color].\n" "\n" "See Gallery documentation for the full list." msgstr "" #: stuff/UI_nognomekeyring.glade:7 msgid "GNOME Keyring not found." msgstr "" #: stuff/UI_nognomekeyring.glade:12 msgid "" "Gallery-uploader is unable to communicate with GNOME Keyring - it may be not " "installed, or not currently active.\n" "\n" "This means that your password will be stored on the hard disk as plain text." msgstr "" #: stuff/UI_nognomekeyring.glade:22 msgid "Don't tell me again" msgstr "" #: stuff/UI_nossl.glade:7 msgid "Cannot establish SSL connection." msgstr "" #: stuff/UI_nossl.glade:12 msgid "" "You are requesting a secure (https) connection.\n" "\n" "However, Gallery-uploader is unable to establish it (probably because " "M2Crypto is not installed).\n" "\n" "As a consequence, the connection will not be secure!" msgstr "" gallery-uploader-2.4/po/it.po0000644000175000017500000002446011544351706015623 0ustar pietropietro# Italian translations for Gallery-uploader package # Traduzione italiana del programma Gallery-uploader. # Copyright © 2010 Pietro Battiston # This file is distributed under the same license as the Gallery Uploader app. # # Pietro Battiston , 2010. msgid "" msgstr "" "Project-Id-Version: gallery-uploader 2.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-10 15:30+0100\n" "PO-Revision-Date: 2010-10-18 00:32+0100\n" "Last-Translator: Pietro Battiston \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Italian\n" #: gallery-uploader.py:113 #, python-format msgid "Name \"%s\" already taken." msgstr "Il nome \"%s\" è già utilizzato." #: gallery-uploader.py:121 #, python-format msgid "" "The URL should start with one of the following:\n" "%s." msgstr "" "L'indirizzo dovrebbe cominciare in uno dei seguenti modi:\n" "%s." #: gallery-uploader.py:259 #, python-format msgid "Password for user %(user)s on gallery instance at %(url)s" msgstr "Password per l'utente %(user)s sull'installazione di Gallery %(url)s" #: gallery-uploader.py:480 gallery-uploader.py:516 msgid "Network error" msgstr "Errore di rete" #: gallery-uploader.py:480 #, python-format msgid "" "The URL %s is currently not reachable, or does not point to a Gallery " "installation." msgstr "" "L'indirizzo %s è attualmente non raggiungibile, o non corrisponde ad una " "installazione di Gallery." #: gallery-uploader.py:483 msgid "Error accessing the Gallery instance:" msgstr "Errore nell'accesso all'installazione di Gallery:" #: gallery-uploader.py:489 msgid "Error in the SSL connection:" msgstr "Errore della connessione SSL:" #: gallery-uploader.py:511 #, python-format msgid "Uploading picture %(count)d of %(total)d" msgstr "Immagine %(count)d di %(total)d" #: gallery-uploader.py:516 #, python-format msgid "" "The URL %s doesn't exist\n" "or is currently not reachable." msgstr "" "L'indirizzo %s non esiste\n" "o è attualmente irraggiungibile." #: gallery-uploader.py:519 msgid "Error uploading to Gallery:" msgstr "Errore durante il caricamento:" #: gallery-uploader.py:531 #, python-format msgid "Usage: %s [IMAGE1, [IMAGE2 ...]]" msgstr "Utilizzo: %s [IMMAGINE1, [IMMAGINE2 ...]]" #: gallery-uploader.py:561 #, python-format msgid "" "Please enter the title of the new album.\n" "It will be created as a subalbum of %s." msgstr "" "Inserire il titolo del nuovo album.\n" "Sarà creato come sotto-album di %s." #: gallery-uploader.py:599 msgid "No files provided" msgstr "Nessun file selezionato" #: gallery-uploader.py:599 msgid "There were no files selected for upload." msgstr "Non sono stati selezionati file da caricare." #: gallery-uploader.py:622 msgid "Refreshing" msgstr "Aggiornamento" #: gallery-uploader.py:622 msgid "" "Please wait while information about remote albums hierarchy is downloaded." msgstr "Sto recuperando la struttura degli album da remoto, attendere." #: gallery-uploader.py:628 msgid "Album selection" msgstr "Selezione dell'album" #: gallery-uploader.py:628 msgid "Select the album in which to upload the pictures:" msgstr "Scegliere l'album in cui caricare le immagini:" #: gallery-uploader.py:671 msgid "Uploading" msgstr "Caricamento" #: gallery-uploader.py:671 msgid "Uploading pictures. Please be patient." msgstr "Sto caricando le immagini. Attendere, prego." #: gallery-uploader.py:686 msgid "Gallery selection" msgstr "Selezione galleria" #: gallery-uploader.py:686 msgid "Select the gallery you want to upload pictures to:" msgstr "Scegli l'installazione di Gallery su cui vuoi caricare le immagini:" #: gallery-uploader.py:704 #, python-format msgid "" "Are you sure you want to delete configuration for gallery installation \"%s" "\"?" msgstr "Sei sicuro di voler cancellare la configurazione \"%s\"?" #: gallery-uploader.py:748 msgid "galleryremote not found" msgstr "galleryremote non trovata" #: gallery-uploader.py:749 msgid "" "Sorry, gallery-uploader won't work without the galleryremote library " "( http://code.google.com/p/galleryremote ) installed." msgstr "" "Spiacente, gallery-uploader non può funzionare se non è installata la " "libreria galleryremote ( http://code.google.com/p/galleryremote )." #: gallery-uploader.py:760 msgid "Old pygtk version" msgstr "Versione di pygtk obsoleta" #: gallery-uploader.py:760 #, python-format msgid "" "Impossible to start the pictures browser with the installed pygtk version " "(%s).\n" "To use gallery-uploader on this version, you need to run it with the " "pictures you want to upload as arguments: for instance, by using it as a " "Nautilus script." msgstr "" "È impossibile avviare la finestra di selezione delle immagini con la " "versione installata di pygtk, che è (%s).\n" "Per utilizzare gallery-uploader con questa versione, è necessario avviarlo " "con le immagini da caricare come argomenti: ad esempio, utilizzandolo come " "script di Nautilus." #: gallery-uploader.py:771 #, python-format msgid "Error: file \"%s\" doesn't exist." msgstr "Errore: il file \"%s\" non esiste." #: gallery-uploader.py:775 #, python-format msgid "Error: \"%s\" is not a regular file." msgstr "Errore: \"%s\" non è un normale file." #: gallery-uploader.py:779 #, python-format msgid "Error: can't read file \"%s\"." msgstr "Errore: non riesco a leggere \"%s\"." #: galleryuploader_lib/dialogs.py:19 msgid "Gallery-uploader is exiting because of the following error:" msgstr "Gallery-uploader termina a causa del seguente errore:" #: stuff/UI_browser.glade:7 msgid "Select pictures to upload" msgstr "Selezionare le immagini da caricare" #: stuff/UI_browser.glade:27 msgid "Folder:" msgstr "Cartella:" #: stuff/UI_browser.glade:38 msgid "Select a folder" msgstr "Scegliere una cartella" #: stuff/UI_bye.glade:7 stuff/UI_bye.glade:11 msgid "Upload successful" msgstr "Caricamento completato" #: stuff/UI_bye.glade:12 msgid "Picures were succesfully added to the album." msgstr "Le immagini sono state aggiunte all'album." #: stuff/UI_bye.glade:20 msgid "Click here to view it in your browser." msgstr "Cliccare qui per vederlo nel browser." #: stuff/UI_choose.glade:71 msgid "Expand all" msgstr "Mostra tutto" #: stuff/UI_choose.glade:85 msgid "Collapse all" msgstr "Nascondi tutto" #: stuff/UI_choose.glade:99 stuff/UI_newalbum.glade:7 msgid "New album" msgstr "Nuovo album" #: stuff/UI_choose.glade:176 msgid "Manage accounts" msgstr "Gestisci profili" #: stuff/UI_delete.glade:7 msgid "Delete gallery" msgstr "Elminazione galleria" #: stuff/UI_edit.glade:21 msgid "Pictures details" msgstr "Informazioni immagini" #: stuff/UI_edit.glade:37 msgid "" "If you want, you can now add a caption and/or a description " "for each picture.\n" "The former appears in in the album view, the latter only in the specific " "picture's page." msgstr "" "È possibile ora aggiungere una didascalia e/o una descrizione " "per ogni immagine.\n" "La prima compare nella panoramica dell'album, la seconda solo nella pagina " "specifica dell'immagine." #: stuff/UI_error.glade:7 msgid "Error" msgstr "Errore" #: stuff/UI_form.glade:7 msgid "Gallery installation" msgstr "Istanza di Gallery" #: stuff/UI_form.glade:19 msgid "" "Insert informations for this gallery installation\n" "(all fields are required):" msgstr "" "Inserire le informazioni per questa istanza di Gallery\n" "(tutti i campi sono necessari):" #: stuff/UI_form.glade:75 msgid "Password:" msgstr "Password:" #: stuff/UI_form.glade:88 msgid "User name:" msgstr "Nome utente:" #: stuff/UI_form.glade:99 msgid "" "URL\n" "(e.g. http://www.example.com/gallery):" msgstr "" "Indirizzo\n" "(es: http://www.example.com/gallery):" #: stuff/UI_form.glade:113 msgid "" "Name of bookmark\n" "(choose freely):" msgstr "" "Nome del segnalibro\n" "(scelta libera):" #: stuff/UI_form.glade:192 msgid "Save and apply" msgstr "Salva e applica" #: stuff/UI_newalbum.glade:42 msgid "Below, you can add a description:" msgstr "È possibile aggiungere una descrizione qui sotto:" #: stuff/UI_newalbum.glade:77 msgid "" "Both in the title and in the description, you can use markers, such as:\n" "[b]bold[/b],\n" "[i]italic[/i],\n" "[url=http://www.pietrobattiston.it]website[/url],\n" "[color=#E80000]crimson[/color].\n" "\n" "See Gallery documentation for the full list." msgstr "" "È possibile utilizzare, sia nel titolo che nella descrizione, dei marcatori, " "come:\n" "[b]grassetto[/b],\n" "[i]corsivo[/i],\n" "[url=http://www.pietrobattiston.it]collegamento[/url],\n" "[color=#E80000]cremisi[/color].\n" "\n" "Si veda la documentazione di Gallery per la lista completa." #: stuff/UI_nognomekeyring.glade:7 msgid "GNOME Keyring not found." msgstr "GNOME Keyring non trovato." #: stuff/UI_nognomekeyring.glade:12 msgid "" "Gallery-uploader is unable to communicate with GNOME Keyring - it may be not " "installed, or not currently active.\n" "\n" "This means that your password will be stored on the hard disk as plain text." msgstr "" "Gallery-uploader è incapace di comunicare con il portachiavi di GNOME - " "potrebbe non essere installato, o non essere attivo.\n" "\n" "Di conseguenza, la password inserita sarà salvata sul disco rigido in chiaro." #: stuff/UI_nognomekeyring.glade:22 msgid "Don't tell me again" msgstr "Non me lo ripetere" #: stuff/UI_nossl.glade:7 msgid "Cannot establish SSL connection." msgstr "Impossibile stabilire la connessione SSL." #: stuff/UI_nossl.glade:12 msgid "" "You are requesting a secure (https) connection.\n" "\n" "However, Gallery-uploader is unable to establish it (probably because " "M2Crypto is not installed).\n" "\n" "As a consequence, the connection will not be secure!" msgstr "" "È stata richiesta una connessione sicura (https).\n" "\n" "Tuttavia, Gallery-uploader non può stabilirla (probabilmente perché M2Crypto " "non è installato).\n" "\n" "Di conseguenza, la connessione non sarà sicura!" #~ msgid "Error while retrieving updated information:" #~ msgstr "Errore nella ricezione delle informazioni aggiornate:" #~ msgid "Invalid credentials" #~ msgstr "Credenziali non valide" #~ msgid "" #~ "Could not connect to %s with given username and password: either they are " #~ "wrong, or the account is temporarily disabled." #~ msgstr "" #~ "Impossibile connettersi a %s con nome utente e password indicate: o i " #~ "dati sono sbagliati, o l'account è temporaneamente bloccato." gallery-uploader-2.4/po/README.transifex0000644000175000017500000000046011544351706017523 0ustar pietropietroTransifex.net Token Verification ================================= The list of tokens bellow guarantee the respective users to be able to enable submission on components using the following repository url: git://pietrobattiston.it/gallery-uploader Tokens: m8V2HyJ9KNRTt2fYbXsahrFdumAWhaZ9 / Toobaz gallery-uploader-2.4/po/ca.po0000644000175000017500000001537511544351706015577 0ustar pietropietro# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: gallery-uploader\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-10 15:30+0100\n" "PO-Revision-Date: 2010-10-24 14:36+0100\n" "Last-Translator: Pietro Battiston \n" "Language-Team: \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Catalan\n" #: gallery-uploader.py:113 #, python-format msgid "Name \"%s\" already taken." msgstr "El nom \"%s\" ja és en ús." #: gallery-uploader.py:121 #, python-format msgid "" "The URL should start with one of the following:\n" "%s." msgstr "" #: gallery-uploader.py:259 #, python-format msgid "Password for user %(user)s on gallery instance at %(url)s" msgstr "" #: gallery-uploader.py:480 gallery-uploader.py:516 msgid "Network error" msgstr "Error de la xarxa" #: gallery-uploader.py:480 #, python-format msgid "" "The URL %s is currently not reachable, or does not point to a Gallery " "installation." msgstr "" #: gallery-uploader.py:483 msgid "Error accessing the Gallery instance:" msgstr "" #: gallery-uploader.py:489 msgid "Error in the SSL connection:" msgstr "" #: gallery-uploader.py:511 #, python-format msgid "Uploading picture %(count)d of %(total)d" msgstr "" #: gallery-uploader.py:516 #, python-format msgid "" "The URL %s doesn't exist\n" "or is currently not reachable." msgstr "" #: gallery-uploader.py:519 msgid "Error uploading to Gallery:" msgstr "S'ha produït un error en pujar al Gallery:" #: gallery-uploader.py:531 #, python-format msgid "Usage: %s [IMAGE1, [IMAGE2 ...]]" msgstr "" #: gallery-uploader.py:561 #, python-format msgid "" "Please enter the title of the new album.\n" "It will be created as a subalbum of %s." msgstr "" #: gallery-uploader.py:599 msgid "No files provided" msgstr "" #: gallery-uploader.py:599 msgid "There were no files selected for upload." msgstr "" #: gallery-uploader.py:622 msgid "Refreshing" msgstr "S'està actualitzant" #: gallery-uploader.py:622 msgid "" "Please wait while information about remote albums hierarchy is downloaded." msgstr "" #: gallery-uploader.py:628 msgid "Album selection" msgstr "" #: gallery-uploader.py:628 msgid "Select the album in which to upload the pictures:" msgstr "" #: gallery-uploader.py:671 msgid "Uploading" msgstr "S'està pujant" #: gallery-uploader.py:671 msgid "Uploading pictures. Please be patient." msgstr "" #: gallery-uploader.py:686 msgid "Gallery selection" msgstr "" #: gallery-uploader.py:686 msgid "Select the gallery you want to upload pictures to:" msgstr "" #: gallery-uploader.py:704 #, python-format msgid "" "Are you sure you want to delete configuration for gallery installation \"%s" "\"?" msgstr "" #: gallery-uploader.py:748 msgid "galleryremote not found" msgstr "" #: gallery-uploader.py:749 msgid "" "Sorry, gallery-uploader won't work without the galleryremote library " "( http://code.google.com/p/galleryremote ) installed." msgstr "" #: gallery-uploader.py:760 msgid "Old pygtk version" msgstr "" #: gallery-uploader.py:760 #, python-format msgid "" "Impossible to start the pictures browser with the installed pygtk version " "(%s).\n" "To use gallery-uploader on this version, you need to run it with the " "pictures you want to upload as arguments: for instance, by using it as a " "Nautilus script." msgstr "" #: gallery-uploader.py:771 #, python-format msgid "Error: file \"%s\" doesn't exist." msgstr "" #: gallery-uploader.py:775 #, python-format msgid "Error: \"%s\" is not a regular file." msgstr "" #: gallery-uploader.py:779 #, python-format msgid "Error: can't read file \"%s\"." msgstr "" #: galleryuploader_lib/dialogs.py:19 msgid "Gallery-uploader is exiting because of the following error:" msgstr "" #: stuff/UI_browser.glade:7 msgid "Select pictures to upload" msgstr "" #: stuff/UI_browser.glade:27 msgid "Folder:" msgstr "Carpeta:" #: stuff/UI_browser.glade:38 msgid "Select a folder" msgstr "Selecciona una carpeta" #: stuff/UI_bye.glade:7 stuff/UI_bye.glade:11 msgid "Upload successful" msgstr "" #: stuff/UI_bye.glade:12 msgid "Picures were succesfully added to the album." msgstr "" #: stuff/UI_bye.glade:20 msgid "Click here to view it in your browser." msgstr "" #: stuff/UI_choose.glade:71 msgid "Expand all" msgstr "Expandeix-ho tot" #: stuff/UI_choose.glade:85 msgid "Collapse all" msgstr "Redueix-ho tot" #: stuff/UI_choose.glade:99 stuff/UI_newalbum.glade:7 msgid "New album" msgstr "" #: stuff/UI_choose.glade:176 msgid "Manage accounts" msgstr "" #: stuff/UI_delete.glade:7 msgid "Delete gallery" msgstr "" #: stuff/UI_edit.glade:21 msgid "Pictures details" msgstr "" #: stuff/UI_edit.glade:37 msgid "" "If you want, you can now add a caption and/or a description " "for each picture.\n" "The former appears in in the album view, the latter only in the specific " "picture's page." msgstr "" #: stuff/UI_error.glade:7 msgid "Error" msgstr "Error" #: stuff/UI_form.glade:7 msgid "Gallery installation" msgstr "" #: stuff/UI_form.glade:19 msgid "" "Insert informations for this gallery installation\n" "(all fields are required):" msgstr "" #: stuff/UI_form.glade:75 msgid "Password:" msgstr "Contrasenya:" #: stuff/UI_form.glade:88 msgid "User name:" msgstr "Nom d'usuari/a:" #: stuff/UI_form.glade:99 msgid "" "URL\n" "(e.g. http://www.example.com/gallery):" msgstr "" #: stuff/UI_form.glade:113 msgid "" "Name of bookmark\n" "(choose freely):" msgstr "" #: stuff/UI_form.glade:192 msgid "Save and apply" msgstr "" #: stuff/UI_newalbum.glade:42 msgid "Below, you can add a description:" msgstr "" #: stuff/UI_newalbum.glade:77 msgid "" "Both in the title and in the description, you can use markers, such as:\n" "[b]bold[/b],\n" "[i]italic[/i],\n" "[url=http://www.pietrobattiston.it]website[/url],\n" "[color=#E80000]crimson[/color].\n" "\n" "See Gallery documentation for the full list." msgstr "" #: stuff/UI_nognomekeyring.glade:7 msgid "GNOME Keyring not found." msgstr "" #: stuff/UI_nognomekeyring.glade:12 msgid "" "Gallery-uploader is unable to communicate with GNOME Keyring - it may be not " "installed, or not currently active.\n" "\n" "This means that your password will be stored on the hard disk as plain text." msgstr "" #: stuff/UI_nognomekeyring.glade:22 msgid "Don't tell me again" msgstr "" #: stuff/UI_nossl.glade:7 msgid "Cannot establish SSL connection." msgstr "" #: stuff/UI_nossl.glade:12 msgid "" "You are requesting a secure (https) connection.\n" "\n" "However, Gallery-uploader is unable to establish it (probably because " "M2Crypto is not installed).\n" "\n" "As a consequence, the connection will not be secure!" msgstr "" gallery-uploader-2.4/COPYRIGHT0000644000175000017500000000026511544351705015520 0ustar pietropietroGallery logo (stuff/gallery.svg) was created by Mike Harding and is Copyright © 2003 Bharat Mediratta. Other files are Copyright © 2010 Pietro Battiston . gallery-uploader-2.4/AUTHORS0000644000175000017500000000021311544351705015266 0ustar pietropietroPietro Battiston Translators: it Pietro Battiston fr Pierre Willaime pt_BR Vitor Vilas Boas tr Zeugma gallery-uploader-2.4/gallery-uploader0000755000175000017500000007320411544351705017426 0ustar pietropietro#! /usr/bin/python # -*- coding: utf-8 -*- # gallery-uploader # # gallery-uploader is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3. # # gallery-uploader is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # more details. # # You should have received a copy of the GNU General Public License along # with gallery-uploader; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # Copyright © 2009-2010 Pietro Battiston # Name=Upload pictures to Gallery # Name[it]=Carica immagini su Gallery from __future__ import division __version__ = '2.4' import gtk, gobject import argparse parser = argparse.ArgumentParser() parser.add_argument( "-d", "--debug", action="store_true", help="Print debug information." ) parser.add_argument( "files", nargs="*", metavar="FILES" ) options = parser.parse_args() gobject.threads_init() import os, sys from urllib2 import URLError from locale import strcoll from galleryuploader_lib.dialogs import build_builder, error_dialog, chooser, areyousurer, fatal_error from galleryuploader_lib.config import STUFF_DIR, config, profiles, CONFIG_PATH, PROFILES_PATH, NoOptionError from galleryuploader_lib.editor import Editor try: from M2Crypto import m2urllib2, SSL SSLVerificationError = SSL.Checker.SSLVerificationError SSLError = SSL.SSLError M2CRYPTO_AVAILABLE = True except: SSLVerificationError = SSLError = None M2CRYPTO_AVAILABLE = False try: from galleryremote.gallery import Gallery, GalleryException GALLERY_REMOTE = True except ImportError: GALLERY_REMOTE = False try: import gnomekeyring assert( gnomekeyring.is_available() ) GNOME_KEYRING = True except: GNOME_KEYRING = False # 'password' _must_ be before 'keyring_id', otherwise in the process of saving # info, an obsolete keyring_id could be saved. config_fields = ['url', 'user', 'password', 'keyring_id'] GUI_fields = ['name', 'url', 'user', 'password'] if options.debug: import logging logging.basicConfig(level=logging.DEBUG) class Site(object): """ Every instance of this class is a profile - a combination of options to access a given Gallery instance somewhere. In the "build_treestore" method (which is run once the profile has been selected for the upload) it gains a "gallery" method, of class galleryremote.gallery.Gallery, which is then used for all remote operations. """ def __init__(self, name=None): if name: self.name = self.saved_name = name for field in config_fields: try: setattr(self, field, profiles.get(self.name, field)) except NoOptionError: pass else: for field in ['name', 'saved_name'] + config_fields: setattr(self, field, '') self.keyring_access_problem = False def fill_from_form(self): """ Ask the user for details about the profile. """ getter_builder = build_builder('form') getter = getter_builder.get_object('getter') error_label = getter_builder.get_object('error_label') inputs = {} buttons = {} def check_validity(*args): valid = True errors = [] # Not just rolling on "inputs" because order (of errors) counts. for field_name in GUI_fields: cont = inputs[field_name].get_text() if not cont: valid = False if field_name == 'name': if cont in profiles.sections() and not cont == self.name: valid = False errors.append( _('Name \"%s\" already taken.') % cont) elif field_name == 'url': url_start = ['http://', 'https://'] matches = [cont.startswith(prefix) for prefix in url_start] if cont and not any( matches ): valid = False prefixes = ", ".join(['"%s"' % pr for pr in url_start]) errors.append( _('The URL should start with one of the following:\n%s.') % prefixes) for button in buttons: buttons[button].set_sensitive(valid) if errors: error_label.set_text('\n'.join(errors)) else: error_label.set_text('') buttons['save'] = getter_builder.get_object( 'but_save' ) if not self.get_password(): self.password = '' for field_name in GUI_fields: field = getter_builder.get_object('inp_' + field_name) if field: inputs[field_name] = field if self.name: # Gallery is not new: fill it with information. if field_name == 'name': inputs[field_name].set_text(self.name) else: inputs[field_name].set_text( getattr( self, field_name ) ) for field_name in inputs: inputs[field_name].connect('changed', check_validity) response = getter.run() if response in [0, gtk.RESPONSE_DELETE_EVENT]: getter.destroy() return for field_name in inputs: setattr( self, field_name, inputs[field_name].get_text() ) self.save() getter.destroy() return self.name def gnome_keyring_dont_tell_again(self, *args): """ Remember not to warn again about missing GNOME Keyring. """ if not config.has_section( 'gnomekeyring' ): config.add_section( 'gnomekeyring' ) config.set( 'gnomekeyring', 'alert_if_absent', "False" ) c_file = file( CONFIG_PATH, 'w' ) config.write( c_file ) c_file.close() def save(self): """ Save changes to the profile. """ if not profiles.has_section( self.name ): profiles.add_section( self.name ) for field in config_fields: if field == 'password': if self.keyring_access_problem: # So: we expect that a password is stored in the keyring, # but we were not able to look at it. Hence, two # possibilities: # - the user gaves us a password again - we'll remember this # - the password is still '' - we save nothing if not self.password: continue saved_to_keyring = False if GNOME_KEYRING: # If there is gnomekeyring, we will try to use it - possibly # also migrating to it from plain text. if self.save_password_to_gnomekeyring(): saved_to_keyring = True if not saved_to_keyring: if not config.has_option( 'gnomekeyring', 'alert_if_absent' )\ or config.getboolean( 'gnomekeyring', 'alert_if_absent' ) is 'False': builder = build_builder( 'nognomekeyring' ) dialog = builder.get_object( 'dialog' ) dont_tell = builder.get_object( 'dont_tell' ) dialog.run() if dont_tell.get_active(): self.gnome_keyring_dont_tell_again() dialog.hide() profiles.set( self.name, 'password', self.password ) else: if hasattr( self, field ): profiles.set( self.name, field, str( getattr( self, field ) ) ) if self.saved_name and self.saved_name != self.name: # The name was changed; delete old section profiles.remove_section(self.saved_name) p_file = file( PROFILES_PATH, 'w') profiles.write( p_file ) p_file.close() def get_password(self): """ Set self.password to the right value. """ self.keyring_access_problem = False if GNOME_KEYRING and hasattr( self, 'keyring_id' ) and self.keyring_id: keyring = gnomekeyring.get_default_keyring_sync() info = gnomekeyring.get_info_sync( keyring ) if info.get_is_locked(): # gnomekeyring.unlock_sync( keyring, '' ) # https://bugs.launchpad.net/ubuntu/+source/gnome-python-desktop/+bug/432882/comments/3 try: tmp = gnomekeyring.item_create_sync( keyring, gnomekeyring.ITEM_GENERIC_SECRET, "gallery-uploader dummy", {}, "password", True ) except gnomekeyring.CancelledError: self.keyring_access_problem = True return False gnomekeyring.item_delete_sync( keyring, tmp ) try: item = gnomekeyring.item_get_info_sync(keyring, int( self.keyring_id) ) self.password = item.get_secret() except gnomekeyring.BadArgumentsError: # No such key - not fatal (user may have deleted it). # It means any operation will fail with "wrong password", and # the user will go back to the details form. self.password = '' # Nothing to do if we are not using GNOME Keyring - "self.password" # is already set to the right value. return True def save_password_to_gnomekeyring(self): keyring = gnomekeyring.get_default_keyring_sync() description = _("Password for user %(user)s on gallery instance at %(url)s") % self.__dict__ try: new_item_id = gnomekeyring.item_create_sync( keyring, gnomekeyring.ITEM_NETWORK_PASSWORD, description, { # FIXME: version-agnosticity: 'protocol': "gallery2", 'server': self.url, 'user': self.user }, self.password, True ) except gnomekeyring.CancelledError: self.keyring_access_problem = True return False # The first check just copes with old - or manually edited - # configurations missing the "keyring_id" field. if hasattr( self, 'keyring_id' ) and self.keyring_id and self.keyring_id != new_item_id: # This happens when some of the parameters have changed. Ideally, we # would just change the attributes of the old keyring item... but # it's apparently not possible. All we can do is delete the old one. # There is no problem of missing data however (there is a 1-1 # mapping between profiles and keyring items), just a counter - the # one that assigns item_ids to new keyring items in GnomeKeyring - # that at each change of a parameter increases unnecessarily. try: gnomekeyring.item_delete_sync(keyring, int( self.keyring_id ) ) except gnomekeyring.BadArgumentsError: # No such key - no worry (user may have deleted it). pass self.keyring_id = new_item_id return True def build_treestore(self): """ This is the first method that does some remote activity - downloading the list of (writable) albums, and hence first creates the "gallery" member, of class galleryremote.gallery.Gallery. """ # FIXME: version-agnosticity: self.gallery = Gallery(self.url, 2) self.gallery.login( self.user, self.password ) albums = self.gallery.fetch_albums_prune() store = gtk.TreeStore(str, int) tree = self.build_tree( albums ) self.build_treestore_recurse( tree, store ) return store def build_tree(self, albums): """ When albums are fetched, they are simply a dictionary that gives a mapping between album names (ids) and album properties. Among those properties, is "parent", which is here used to construct the complete hierarchy, building a tree through the new properties "gallery-uploader_parent" (a dict) and "gallery-uploader_children" (a list of dicts). """ for album in albums.values(): album['gallery-uploader_children'] = [] for album in albums.values(): try: parent = albums[album['parent']] parent['gallery-uploader_children'].append( album ) album['gallery-uploader_parent'] = parent except KeyError: root = album orderer = (lambda x, y: cmp(x['title'], y['title']) ) for album in albums.values(): album['gallery-uploader_children'].sort( orderer ) return root def build_treestore_recurse(self, branch, store): """ Once "build_tree" has reconstructed parental relations between albums, this is where we populate the TreeStore. It is called recursively on each album ("branch"). """ try: parent = branch['gallery-uploader_parent'] parent_iter = parent['iter'] except KeyError: # root: parent, parent_iter = (None, None) row = ( branch['title'], int( branch['name'] ) ) # Actually, the order the albums come from Gallery is nearer to the # alphabetic order than the opposite: branch['iter'] = store.insert( parent_iter, 10000, row ) for child in branch['gallery-uploader_children']: self.build_treestore_recurse(child, store) def get_album_url(self, album_name): """ Given the name of an album, retrieve its full URL.. """ if self.gallery.version == 2: url = self.gallery.url + '?g2_itemId=%s' % album_name else: url = "Not implemented for Gallery version different than 2!" return url class Progress(object): """ Executor of an action, which shows, while the action goes on, a progress bar, then leaves. The action is defined through overriding "act", which is repeatly called. The progress is described by setting members "fraction" and "text". The former is a float from 0 to 1. When it is None, the progressbar just floats back and forth. The latter is a string to show over the bar, or None to show nothing. Since gtk.Dialogs cannot be ran from inside threads, a mechanism to delay errors reporting is provided: when one is detected inside "run", it is saved in the "error" member. That member must be (None, or) a tuple containing 1) a title. If this is the string 'fatal', then the error closes gallery-uploader. Otherwise, it will be primary text of the error message shown 2) some additional text. It can be a traceback, or a more descriptive explanation of what happened. 3) optionally, a parameter that tells what that additional text is. If that parameter is present _and_ it evaluates to False, then that text will be shown in a Label (good for human messages) instead than in a TextView (much better for tracebacks). """ def __init__(self, what, title, message): dialog_builder = build_builder('subprocess') self.dialog = dialog_builder.get_object('dialog') self.dialog.set_title(title) self.label = dialog_builder.get_object('label') self.label.set_text(message) self.progress = dialog_builder.get_object('progress') self.what = what self.fraction = None self.text = None self.ran = False self.error = None self.timeout_id = gobject.timeout_add(100, self.update) resp = self.dialog.run() if resp == gtk.RESPONSE_DELETE_EVENT: self.dialog.destroy() gobject.source_remove(self.timeout_id) self.error = True def update(self): if not self.ran: self.act() self.ran = True alive = self.alive() if not alive: self.dialog.destroy() if self.error: if self.error[0] == 'fatal': fatal_error( self.error[1:] ) dialog = error_dialog(*self.error) return if self.fraction != None: self.progress.set_fraction(self.fraction) else: self.progress.pulse() if self.text: self.progress.set_text(self.text) return True class ThreadedProgress(Progress): """ An executor working in a new thread. Only "run" needs to be defined additionally. Notice that in "run", "self" is the ThreadedProgress, _not_ (as usual) the Thread object. """ def act(self): import threading self.thread = threading.Thread() # Here we pass "run" that is already bound to "self": this is why the # thread's "self" is the ThreadedProgress. self.thread.run = self.run self.thread.start() def alive(self): try: return self.thread.is_alive() except AttributeError: # Python < 2.6 return self.thread.isAlive() class InfoLoader(ThreadedProgress): """ Load info for a gallery. Argument "what" is a 2-uple (gallery_name, options). """ def run(self): site = self.what try: self.model = site.build_treestore() except URLError, msg: self.error = _('Network error'), _("The URL %s is currently not reachable, or does not point to a Gallery installation.") % site.url, False return except GalleryException, msg: self.error = _('Error accessing the Gallery instance:'), str( msg ), False return # If there is no M2Crypto, then SSLVerificationError and SSLError are # None... and that's fine (the branch becomes useless). except (SSLVerificationError, SSLError) as exc: self.error = _('Error in the SSL connection:'), str( exc ), False return except Exception as exc: import traceback err = traceback.format_exc() self.error = 'fatal', err self.finished = True class Uploader(ThreadedProgress): """ Upload pictures. Argument "what" is a 3-ple (album_id, options, list_of_files). """ def run(self): album_id, site, files = self.what site.delete = False total = len(files) count = 1 for a_file, caption, description in files: self.fraction = (count - 1) / total self.text = _("Uploading picture %(count)d of %(total)d") % locals() try: print "upload!" site.gallery.add_item( str( album_id ), a_file, caption, description ) except URLError: self.error = _('Network error'), _("The URL %s doesn't exist\nor is currently not reachable.") % site.url, False return except GalleryException, msg: self.error = _('Error uploading to Gallery:'), str( msg ), False return except Exception: import traceback err = traceback.format_exc() self.error = 'fatal', err count += 1 self.finished = True def name_from_title(title): """ Album name must only contain alphanumeric chars, underscores and hyphens. So here we "purify" the title. """ name = '' for i in title.replace(' ', '_'): if i.isalnum(): name += i # Pathologic - quite unrealistic if not name: name = '0' return name def new_album( button, tree, site ): sorted_store = tree.get_model() store = sorted_store.get_model() selection = tree.get_selection() ordered_iter = selection.get_selected()[1] parent_iter = sorted_store.convert_iter_to_child_iter( None, ordered_iter ) parent_title, parent_id = store[parent_iter] dialog_builder = build_builder( 'newalbum' ) dialog = dialog_builder.get_object( 'dialog' ) title_entry = dialog_builder.get_object( 'title' ) description_entry = dialog_builder.get_object( 'description' ) header = dialog_builder.get_object( 'header' ) header.set_markup( _("""Please enter the title of the new album. It will be created as a subalbum of %s.""") % parent_title ) ok = dialog_builder.get_object( 'ok' ) def sensitivity(*args): ok.set_sensitive( bool( title_entry.get_text() ) ) title_entry.connect( 'changed', sensitivity ) resp = dialog.run() if resp == gtk.RESPONSE_DELETE_EVENT: dialog.hide() return title = title_entry.get_text() desc_buffer = description_entry.get_buffer() description = desc_buffer.get_text( desc_buffer.get_start_iter(), desc_buffer.get_end_iter() ) name = name_from_title( title ) new_album_id = site.gallery.new_album( str( parent_id ), name, title, description ) row = (title, int( new_album_id )) new_iter = store.insert( parent_iter, 0, row ) new_path = store.get_path( new_iter ) tree.expand_to_path( new_path ) new_ordered_iter = sorted_store.convert_child_iter_to_iter( None, new_iter ) selection.select_iter( new_ordered_iter ) tree.scroll_to_cell( new_path ) dialog.hide() def upload_to_site(site, files): """ Take a configuration of a gallery installation and upload """ if not files: error_dialog(_('No files provided'), _('There were no files selected for upload.')) parser.print_usage() sys.exit(1) if site.url.startswith('https://') and not M2CRYPTO_AVAILABLE: builder = build_builder('nossl') dialog = builder.get_object( 'dialog' ) resp = dialog.run() dialog.hide() if resp: galleries_catalog(files) return # The process of getting the password from GNOME Keyring must happen before # the login but in the main thread: if not site.get_password(): # If there is any message I want to show of the form "hey, user, you # didn't unlock the keyring, you suck", this will be _inside_ # get_password. But then, there is probably no need: the user is already # ashamed of what he did. galleries_catalog( files ) return loader = InfoLoader((site), _('Refreshing'), _('Please wait while information about remote albums hierarchy is downloaded.')) if loader.error: galleries_catalog(files) return dialog, tree, buttons = chooser( _('Album selection'), _('Select the album in which to upload the pictures:')) model = loader.model sorted_model = gtk.TreeModelSort( model ) sorted_model.set_sort_func( 0, (lambda m, x, y : strcoll( m[x][0], m[y][0] )) ) tree.set_model( sorted_model ) sorted_model.set_sort_column_id( 0, gtk.SORT_ASCENDING ) # The two commented lines that follow would sort by age: #sorted_model.set_sort_func( 1, (lambda m, x, y : cmp( m[x][1], m[y][1] )) ) #sorted_model.set_sort_column_id( 1, gtk.SORT_ASCENDING ) col = gtk.TreeViewColumn() cell = gtk.CellRendererText() col.pack_start(cell) col.add_attribute(cell, 'text', 0) tree.append_column(col) tree.expand_row((0), False) buttons['expand'].connect('clicked', (lambda args : tree.expand_all())) buttons['collapse'].connect('clicked', (lambda args : tree.collapse_all())) buttons['new_album'].connect( 'clicked', new_album, tree, site ) for button in ['new', 'delete', 'edit']: buttons[button].hide() response = dialog.run() if response == gtk.RESPONSE_DELETE_EVENT: dialog.destroy() sys.exit(0) elif response == -2: dialog.destroy() galleries_catalog(files) return selection_iter = tree.get_selection().get_selected()[1] selected_id = sorted_model.get_value( selection_iter, 1 ) dialog.hide() editor = Editor() files_info = editor.run( files ) uploader = Uploader((selected_id, site, files_info), _('Uploading'), _('Uploading pictures. Please be patient.')) if uploader.error: galleries_catalog(files) else: dialog_builder = build_builder('bye') dialog = dialog_builder.get_object('dialog') # FIXME: temporary? See http://bugzilla.gnome.org/show_bug.cgi?id=587901 dialog.set_skip_taskbar_hint(False) link = dialog_builder.get_object( 'album_link' ) link.set_uri( site.get_album_url( selected_id ) ) # After visiting the album, the window left would be mostly annoying: link.connect( 'clicked', (lambda *args: dialog.destroy()) ) dialog.run() dialog.destroy() def galleries_catalog(files): dialog, tree, buttons = chooser(_('Gallery selection'), _('Select the gallery you want to upload pictures to:')) model = gtk.ListStore(str) for gallery in profiles.sections(): model.insert(10000, [gallery]) tree.set_model(model) col = gtk.TreeViewColumn() cell = gtk.CellRendererText() col.pack_start(cell) col.add_attribute(cell, 'text', 0) tree.append_column(col) def delete(*args): # Get selection selection_iter = tree.get_selection().get_selected()[1] site_name = model.get_value(selection_iter, 0) dialog_surer = areyousurer(_("Are you sure you want to delete configuration for gallery installation \"%s\"?") % site_name, dialog) he_s_sure = dialog_surer.run() dialog_surer.destroy() if he_s_sure == 0: profiles.remove_section( site_name ) p_file = file( PROFILES_PATH , 'w' ) profiles.write( p_file ) p_file.close() model.remove( selection_iter ) buttons['delete'].connect('clicked', delete) for button in ['expand', 'collapse', 'accounts', 'new_album']: buttons[button].hide() response = dialog.run() if response == gtk.RESPONSE_DELETE_EVENT: dialog.destroy() sys.exit(0) if response in [6, gtk.RESPONSE_OK]: # Get selection selection_iter = tree.get_selection().get_selected()[1] site_name = model.get_value(selection_iter, 0) else: site_name = None dialog.destroy() site = Site(site_name) if response in [5, 6]: if not site.fill_from_form(): galleries_catalog(files) return upload_to_site(site, files) def main(): gtk.window_set_default_icon_from_file( os.path.join( STUFF_DIR, 'gallery.svg') ) if not GALLERY_REMOTE: error_dialog( _("galleryremote not found"), _("Sorry, gallery-uploader won't work without the galleryremote library ( http://code.google.com/p/galleryremote ) installed."), False ) sys.exit( 2 ) if options.files: files = options.files else: if gtk.pygtk_version >= (2, 14, 0): from galleryuploader_lib.browser import Browser else: error_dialog(_('Old pygtk version'), _('Impossible to start the pictures browser with the installed pygtk version (%s).\nTo use gallery-uploader on this version, you need to run it with the pictures you want to upload as arguments: for instance, by using it as a Nautilus script.' % ".".join([str(i) for i in gtk.pygtk_version]))) sys.exit(1) browser = Browser() files = browser.run() browser.destroy() if not files: print "no files" sys.exit(0) for a_file in files: if not os.path.exists(a_file): print _("Error: file \"%s\" doesn't exist." %a_file) parser.print_usage() sys.exit(1) if not os.path.isfile(a_file): print _("Error: \"%s\" is not a regular file." %a_file) parser.print_usage() sys.exit(1) if not os.access(a_file, os.R_OK): print _("Error: can't read file \"%s\"." %a_file) parser.print_usage() sys.exit(1) sec_num = len(profiles.sections()) if not sec_num: site = Site() if not site.fill_from_form(): sys.exit(0) upload_to_site(site, files) elif sec_num == 1: site = Site(profiles.sections()[0]) upload_to_site(site, files) else: galleries_catalog(files) if __name__ == '__main__': try: main() except Exception: import traceback err = traceback.format_exc() fatal_error( [err] ) gallery-uploader-2.4/gallery-uploader.xml0000644000175000017500000000633511544351705020223 0ustar pietropietro ]> &dhtitle; &dhpackage; &dhfirstname; &dhsurname; developed the program and wrote this manpage.
&dhemail;
2010 &dhusername; Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
&dhucpackage; &dhsection; &dhpackage; program to upload pictures and video to Gallery &dhpackage; FILES DESCRIPTION This manual page documents briefly the &dhpackage; command. &dhpackage; is a program that allows to easily upload pictures and video to Gallery installations; Gallery () is an advanced web photo album organizer. If FILES are given, they are the files which must be uploaded. If no argument is given instead, a small browser window will open where the user can select items to upload. HOW TO ENABLE AS NAUTILUS SCRIPT Nautilus, GNOME's default file manager, supports scripts, which can be activated on any selected file(s) from the right-button menu; &dhpackage; plays perfectly the role of a Nautilus script. To enable it, the user can run in a terminal the command: ln -s /usr/share/nautilus-scripts/Gallery\ Uploader.py \ ~/.gnome2/nautilus-scripts/Gallery\ Uploader or use a program such as nautilus-scripts-manager; see: .
gallery-uploader-2.4/README0000644000175000017500000000651411544351705015110 0ustar pietropietro===== What is this app? ===== gallery-uploader is a program that allows you to easily upload pictures to a remote Gallery (http://gallery.menalto.com/) installation. It is particularly suggested for use from Nautilus, the default (GNOME) filemanager. Last version of gallery-uploader can always be found at http://www.pietrobattiston.it/gallery_uploader. It currently supports only Gallery version 2 installations. ===== How do I install it? ===== There are two ways to install gallery-uploader: 1) Single-user, as Nautilus script: just move into the extracted folder and double-click "install.sh". This will uninstall previous versions if detected. 2) System-wide, as standalone program: if you use Debian, or a Debian derivative, such as Ubuntu, just install the Debian package; otherwise, download and extract the tarball, then open a terminal into the extracted folder and run "sudo python setup.py install". Notice this will install it also as a system-wide nautilus script: single users can enable it using for instance nautilus-scripts-manager (see http://www.pietrobattiston.it/nautilus-scripts-manager ) 3) Single-user, as standalone program: just open a terminal into the extracted folde and run "./gallery-uploader". Do not try to install with "python setup.py" to private directories: it won't work. ===== What are its requirements? ===== You need * Python (version 2.6 or higher), * python-xdg, * python-argparse (already present in Python 2.7), * pygtk (2.12 or later should work, though 2.14 is required for usage in standalone mode; the version of the gtk+ libraries must be 2.16 or later), all preinstalled in many Linux installations, and * galleryremote ( http://pietrobattiston.it/galleryremote ), which does the real work of communicating with remote Gallery instances. If python-gnomekeyring is present, passwords will be safely stored with GNOME Keyring. Gallery-uploader was created to be used from Nautilus, GNOME's default filemanager, but it is in no way tied to it: if you prefer, you can use it from shell, by giving the names of the images to load as arguments. If it doesn't get any argument, it will open a small browser which can be used to select the desired pictures. This browser, which makes gallery-uploader a real standalone program, requires the additional dependence python-gnome in order to work. ===== Old configuration files ===== Until version 1.11, Gallery-uploader relied on another library: gup. Its configuration files may be left in a folder called ".gup" inside your home directory. The first time you run a newer version of Gallery-uploader, it will import them automatically. Afterwhile, if you do not use gup directly, you can safely delete that folder. ===== Who should I blame if this sucks? ===== Pietro Battiston - ===== How to translate to my language? ===== You must have an account on http://www.transifex.net . Then, visit http://www.transifex.net/projects/p/galleryuploader/c/default/ Assuming that your language doesn't exist, click "Add a new translation" and upload the .po file for your language (which doesn't have to necessarily contain translated strings already). This step will soon become unnecessary, but for the moment feel free to write me a line, and I'll take care of it. After that, you can click on the "edit" icon near to your language and start filling the fields. gallery-uploader-2.4/install.sh0000755000175000017500000000110311544351706016223 0ustar pietropietro#! /bin/bash # This script must be ran from inside the folder containing it # (with "./install.sh"). # It doesn't need root privileges, since it "installs" the scripts only for the # user running it. # WARNING: it will close all your currently opened folders. mkdir ~/.gnome2/nautilus-scripts/Gallery upload=~/.gnome2/nautilus-scripts/Gallery/Upload\ to\ Gallery if [ -h "$upload" ] then unlink "$upload" fi ln -s `pwd`/gallery-uploader "$upload" killall nautilus; nautilus & # After you ran it, just rightclick on an image and take a look under "Scripts". gallery-uploader-2.4/LICENSE0000644000175000017500000010451411544351705015234 0ustar pietropietro GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . gallery-uploader-2.4/stuff/0000755000175000017500000000000011544351706015352 5ustar pietropietrogallery-uploader-2.4/stuff/UI_choose.glade0000644000175000017500000002511011544351706020224 0ustar pietropietro 5 center normal False True vertical 2 True vertical True False 0 True 200 200 True True automatic automatic True True False 0 True spread gtk-delete True True True True False False 0 Expand all True True True plus False False 1 Collapse all True True True minus False False 2 New album True True True newalbum False False 3 False False 1 1 1 True end gtk-cancel True True True True False False 0 gtk-new True True True True False False 1 gtk-edit True True True True False False 2 Manage accounts True True True index False False 3 gtk-ok True False True True True False False 4 False end 0 button1 new edit accounts ok True gtk-remove True gtk-add True gtk-index True gtk-open gallery-uploader-2.4/stuff/UI_error.glade0000644000175000017500000000664111544351706020105 0ustar pietropietro 5 Error center normal True error True vertical 2 True center True 3 True True automatic automatic 350 True True False word debug_buffer 4 True end gtk-close True True True True True True False False 0 False end 0 button1 gallery-uploader-2.4/stuff/UI_newalbum.glade0000644000175000017500000001307411544351706020564 0ustar pietropietro 5 New album center normal False True vertical 2 True 5 True center True 1 True True 2 True 1 Below, you can add a description: True 3 True True automatic automatic True queue True True word-char 4 True 12 Both in the title and in the description, you can use markers, such as: [b]bold[/b], [i]italic[/i], [url=http://www.pietrobattiston.it]website[/url], [color=#E80000]crimson[/color]. See Gallery documentation for the full list. True 5 True end gtk-cancel True True True True False False 0 gtk-ok True False True True True False False 1 False end 0 button1 ok gallery-uploader-2.4/stuff/UI_form.glade0000644000175000017500000002253211544351706017714 0ustar pietropietro 5 Gallery installation center normal False True vertical 2 True Insert informations for this gallery installation (all fields are required): center 1 True 5 2 True True False 1 2 3 4 True True 1 2 2 3 True True 1 2 1 2 True Password: 3 4 True 0.52999997138977051 4 User name: 2 3 True URL (e.g. <i>http://www.example.com/gallery</i>): True center 1 2 True Name of bookmark (choose freely): center True True 1 2 True center True 2 4 5 2 True end gtk-cancel True True True True False False 0 True False True True True True gtk-save 0 True Save and apply 1 False False 1 False end 0 button3 but_save gallery-uploader-2.4/stuff/UI_browser.glade0000644000175000017500000001271111544351706020432 0ustar pietropietro 5 Select pictures to upload center normal False True vertical 2 True 0 0 True True Folder: right 0 True select-folder Select a folder False False 2 False False 0 True True automatic automatic 600 380 True True multiple list 2 True end gtk-cancel True True True True False False 0 gtk-ok True True True True False False 1 False end 1 button2 ok gallery-uploader-2.4/stuff/UI_nossl.glade0000644000175000017500000000601011544351706020100 0ustar pietropietro 5 Cannot establish SSL connection. center normal True warning You are requesting a secure (https) connection. However, Gallery-uploader is unable to establish it (probably because M2Crypto is not installed). As a consequence, the connection will <b>not</b> be secure! True True vertical 2 True spread gtk-cancel True True True True False False 0 gtk-ok True True True True False False end 1 False end 0 button2 button1 gallery-uploader-2.4/stuff/UI_edit.glade0000644000175000017500000001210311544351706017667 0ustar pietropietro 5 Pictures details center normal False True vertical 2 True vertical True If you want, you can now add a <i>caption</i> and/or a <i>description</i> for each picture. The former appears in in the album view, the latter only in the specific picture's page. True center True False 0 500 200 True True automatic automatic True True list 1 1 True end gtk-cancel True True True True False False 0 gtk-ok True True True True True True False False 1 False end 0 button1 ok gallery-uploader-2.4/stuff/gallery.svg0000644000175000017500000013553711544351706017550 0ustar pietropietro image/svg+xml gallery-uploader-2.4/stuff/UI_delete.glade0000644000175000017500000000516511544351706020216 0ustar pietropietro 5 Delete gallery center normal True warning True vertical 2 True end gtk-cancel True True True True False False 0 gtk-ok True True True True False False 1 False end 0 button2 button1 gallery-uploader-2.4/stuff/UI_nognomekeyring.glade0000644000175000017500000000555111544351706022006 0ustar pietropietro 5 GNOME Keyring not found. center normal True warning Gallery-uploader is unable to communicate with GNOME Keyring - it may be not installed, or not currently active. This means that your password will be stored on the hard disk as plain text. True vertical 2 Don't tell me again True True False True False False 3 True spread gtk-ok True True True True False False end 0 False end 0 button1 gallery-uploader-2.4/stuff/UI_subprocess.glade0000644000175000017500000000557311544351706021147 0ustar pietropietro 5 center normal False True vertical 2 True vertical True center True 0 True False 1 1 True end gtk-cancel True True True True False False 0 False end 0 button1 gallery-uploader-2.4/stuff/UI_bye.glade0000644000175000017500000000522011544351706017523 0ustar pietropietro 5 Upload successful center normal True Upload successful Picures were succesfully added to the album. True vertical 2 Click here to view it in your browser. True True True True none 3 True end gtk-close True True True True False False 0 False end 0 button1 gallery-uploader-2.4/stuff/gallery-uploader.desktop0000644000175000017500000000055711544351706022224 0ustar pietropietro[Desktop Entry] Categories=Network;FileTransfer;GNOME;GTK; Comment=Upload pictures and videos to Gallery Comment[fr]=Charge photos e videos sur Gallery Comment[it]=Carica foto e video su Gallery Exec=gallery-uploader Icon=gallery.svg Name=Gallery Uploader Name[fr]=Chargeur Gallery Name[it]=Carica su Gallery Terminal=false Type=Application X-KDE-SubstituteUID=false gallery-uploader-2.4/gallery-uploader.10000644000175000017500000000576711544351705017573 0ustar pietropietro'\" t .\" Title: GALLERY-UPLOADER .\" Author: Pietro Battiston .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 03/29/2011 .\" Manual: gallery-uploader User Manual .\" Source: gallery-uploader .\" Language: English .\" .TH "GALLERY\-UPLOADER" "1" "03/29/2011" "gallery-uploader" "gallery-uploader User Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gallery-uploader \- program to upload pictures and video to Gallery .SH "SYNOPSIS" .HP \w'\fBgallery\-uploader\fR\ 'u \fBgallery\-uploader\fR [\fIFILES\fR] .SH "DESCRIPTION" .PP This manual page documents briefly the \fBgallery\-uploader\fR command\&. .PP \fBgallery\-uploader\fR is a program that allows to easily upload pictures and video to Gallery installations; Gallery (\m[blue]\fB\%http://gallery.menalto.com\fR\m[]) is an advanced web photo album organizer\&. .PP If FILES are given, they are the files which must be uploaded\&. If no argument is given instead, a small browser window will open where the user can select items to upload\&. .SH "HOW TO ENABLE AS NAUTILUS SCRIPT" .PP Nautilus, GNOME\*(Aqs default file manager, supports scripts, which can be activated on any selected file(s) from the right\-button menu; \fBgallery\-uploader\fR plays perfectly the role of a Nautilus script\&. .PP To enable it, the user can run in a terminal the command: .PP \fBln \-s /usr/share/nautilus\-scripts/Gallery\e Uploader\&.py \e\fR \fB~/\&.gnome2/nautilus\-scripts/Gallery\e Uploader\fR .PP or use a program such as nautilus\-scripts\-manager; see: \m[blue]\fB\%http://www.pietrobattiston.it/nautilus-scripts-manager\fR\m[]\&. .SH "AUTHOR" .PP \fBPietro Battiston\fR <\&me@pietrobattiston\&.it\&> .RS 4 developed the program and wrote this manpage\&. .RE .SH "COPYRIGHT" .br Copyright \(co 2010 Pietro Battiston .br .PP Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\-2\&. .sp gallery-uploader-2.4/locale/0000755000175000017500000000000011544351706015462 5ustar pietropietrogallery-uploader-2.4/locale/pt_BR/0000755000175000017500000000000011544351706016470 5ustar pietropietrogallery-uploader-2.4/locale/pt_BR/LC_MESSAGES/0000755000175000017500000000000011544351706020255 5ustar pietropietrogallery-uploader-2.4/locale/pt_BR/LC_MESSAGES/gallery_uploader.mo0000644000175000017500000001025411544351706024146 0ustar pietropietro)d;L ";X x;L*:!S u ,J )4CS1m273 (>1g (&  & I1 { C   $ ) "D g u |  ;  \ G X &n     6 D dp78=9D-~'1&#.J y'%)&"#!($     Album selectionAre you sure you want to delete configuration for gallery installation "%s"?Collapse allDelete galleryErrorError: "%s" is not a regular file.Error: can't read file "%s".Error: file "%s" doesn't exist.Expand allFolder:Gallery installationGallery selectionGallery-uploader is exiting because of the following error:Impossible to start the pictures browser with the installed pygtk version (%s). To use gallery-uploader on this version, you need to run it with the pictures you want to upload as arguments: for instance, by using it as a Nautilus script.Insert informations for this gallery installation (all fields are required):Manage accountsName "%s" already taken.Name of bookmark (choose freely):Network errorNo files providedOld pygtk versionPassword:Picures were succesfully added to the album.Please wait while information about remote albums hierarchy is downloaded.RefreshingSave and applySelect a folderSelect pictures to uploadSelect the album in which to upload the pictures:Select the gallery you want to upload pictures to:The URL %s doesn't exist or is currently not reachable.The URL should start with one of the following: %s.There were no files selected for upload.URL (e.g. http://www.example.com/gallery):Upload successfulUploadingUploading picture %(count)d of %(total)dUploading pictures. Please be patient.Usage: %s [IMAGE1, [IMAGE2 ...]]User name:Project-Id-Version: gallery-uploader 2.1 Report-Msgid-Bugs-To: POT-Creation-Date: 2010-11-10 15:30+0100 PO-Revision-Date: 2010-04-27 10:12-0300 Last-Translator: Vitor Vilas Boas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Poedit-Language: Portuguese Selecão de álbumVocê tem certeza que quer apagar a configuração da galeria "%s"?Esconder tudoDeletar galeriaErroErro: "%s" não é um arquivo comum.Error: o arquivo não pode ser lido "%s".Error: o arquivo "%s" não existe.Expandir tudoPasta:Instalação do GallerySelecão da galeriaO Gallery-uploader precisa sair por causa do seguinte erro:Impossível iniciar a navegação pelas figuras com está versão do pygtk instalada (%s). Para usar o gallery-uploader com esta versão, você precisa executá-lo com as fotos que deseja enviar, como argumentos: Por exemplo, usá-lo como um script do Nautilus.Insira as informações para a instalação da galeria (todos os campos são obrigatórios):Gerenciar contasNome "%s" já tomado.Nome do bookmark (escolha livremente):Erro na conexão de redeNenhum arquivo selecionadoVersão antiga do pygtkSenha:As imagens foram incluídas no seu álbum com sucesso.Por favor aguarde enquanto informações sobre a galeria é baixada.AtualizandoSalvar e aplicarSelecione uma pastaSelecione as imagens para serem enviadas para a galeriaSelecione o álbum para qual as imagens serão enviadas:Selecione a galeria para qual você deseja enviar as imagens:A URL %s não existe ou a credencial não é reconhecida.O URL deve começar com um dos seguintes: %s.Nenhum arquivo selecionado para upload.URL (e.g. http://www.example.com/gallery):Enviado com sucessoEnviandoEnviando imagem %(count)d de %(total)dEnviando imagens. Por favor, tenha paciência.Use: %s [IMAGEM1, [IMAGEM2 ...]]Nome de usuário:gallery-uploader-2.4/locale/ca/0000755000175000017500000000000011544351706016045 5ustar pietropietrogallery-uploader-2.4/locale/ca/LC_MESSAGES/0000755000175000017500000000000011544351706017632 5ustar pietropietrogallery-uploader-2.4/locale/ca/LC_MESSAGES/gallery_uploader.mo0000644000175000017500000000201411544351706023516 0ustar pietropietro 0 1>D `ks     W,;+Am~    Collapse allErrorError uploading to Gallery:Expand allFolder:Name "%s" already taken.Network errorPassword:RefreshingSelect a folderUploadingUser name:Project-Id-Version: gallery-uploader Report-Msgid-Bugs-To: POT-Creation-Date: 2010-11-10 15:30+0100 PO-Revision-Date: 2010-10-24 14:36+0100 Last-Translator: Pietro Battiston Language-Team: Language: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Poedit-Language: Catalan Redueix-ho totErrorS'ha produït un error en pujar al Gallery:Expandeix-ho totCarpeta:El nom "%s" ja és en ús.Error de la xarxaContrasenya:S'està actualitzantSelecciona una carpetaS'està pujantNom d'usuari/a:gallery-uploader-2.4/locale/tr/0000755000175000017500000000000011544351706016107 5ustar pietropietrogallery-uploader-2.4/locale/tr/LC_MESSAGES/0000755000175000017500000000000011544351706017674 5ustar pietropietrogallery-uploader-2.4/locale/tr/LC_MESSAGES/gallery_uploader.mo0000644000175000017500000000360311544351706023565 0ustar pietropietro%01APV^s!  , '2AQ1k &  c p "+ +@&I p}7 .&Ip     Album selectionDelete galleryErrorFolder:Gallery installationGallery selectionManage accountsName "%s" already taken.Name of bookmark (choose freely):Network errorNo files providedPassword:Picures were succesfully added to the album.RefreshingSave and applySelect a folderSelect pictures to uploadURL (e.g. http://www.example.com/gallery):Upload successfulUploadingUploading pictures. Please be patient.Usage: %s [IMAGE1, [IMAGE2 ...]]User name:Project-Id-Version: gallery-uploader 2.1 Report-Msgid-Bugs-To: POT-Creation-Date: 2010-11-10 15:30+0100 PO-Revision-Date: 2010-09-28 02:07+0300 Last-Translator: zeugma MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); X-Poedit-Language: Turkish X-Generator: Lokalize 1.0 Albüm seçimi Galeri sil Hata Klasör:Galeri yükleme Galeri seçimi Hesapları yönet "%s" Adı daha önce alınmış. Yer imleri için isim (serbestçe seçin): Ağ hatası Dosya sağlanamadı Parola: Resimler başarıyla albüme eklendi. Yenileniyor Uygula ve kaydet Bir klasör seçin Yüklemek için resim seç URL (örneğin http://www.example.com/gallery): Yükleme başarılı Yükleniyor Resimler yükleniyor. Lütfen sabırlı olun. Kullanımı:%s [image1, [image2 ...]] Kullanıcı adı: gallery-uploader-2.4/locale/fr/0000755000175000017500000000000011544351706016071 5ustar pietropietrogallery-uploader-2.4/locale/fr/LC_MESSAGES/0000755000175000017500000000000011544351706017656 5ustar pietropietrogallery-uploader-2.4/locale/fr/LC_MESSAGES/gallery_uploader.mo0000644000175000017500000001035411544351706023550 0ustar pietropietro)d;L ";X x;L*:!S u ,J )4CS1m273 (>1g (&  & (1 Z Pm   + , %G m ~  ?  b h { &     7 VC #.C-8q=51 P^)d!''%)&"#!($     Album selectionAre you sure you want to delete configuration for gallery installation "%s"?Collapse allDelete galleryErrorError: "%s" is not a regular file.Error: can't read file "%s".Error: file "%s" doesn't exist.Expand allFolder:Gallery installationGallery selectionGallery-uploader is exiting because of the following error:Impossible to start the pictures browser with the installed pygtk version (%s). To use gallery-uploader on this version, you need to run it with the pictures you want to upload as arguments: for instance, by using it as a Nautilus script.Insert informations for this gallery installation (all fields are required):Manage accountsName "%s" already taken.Name of bookmark (choose freely):Network errorNo files providedOld pygtk versionPassword:Picures were succesfully added to the album.Please wait while information about remote albums hierarchy is downloaded.RefreshingSave and applySelect a folderSelect pictures to uploadSelect the album in which to upload the pictures:Select the gallery you want to upload pictures to:The URL %s doesn't exist or is currently not reachable.The URL should start with one of the following: %s.There were no files selected for upload.URL (e.g. http://www.example.com/gallery):Upload successfulUploadingUploading picture %(count)d of %(total)dUploading pictures. Please be patient.Usage: %s [IMAGE1, [IMAGE2 ...]]User name:Project-Id-Version: gallery-uploader 2.1 Report-Msgid-Bugs-To: POT-Creation-Date: 2010-11-10 15:30+0100 PO-Revision-Date: 2010-05-25 20:39+0100 Last-Translator: Pierre Willaime MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sélection d'albumÊtes-vous sûr de vouloir supprimer la configuration de la galerie photo "%s" ?Tout réduireSupprimer la galerie photoErreurErreur : "%s" n'est pas un fichier correct.Erreur : impossible de lire le fichier "%s".Erreur : le fichier "%s" n'existe pasTout développerDossier :Installation de la galerie photoSélection de la galerie photoChargeur Gallery s'est arrêté à cause de l'erreur suivante :Impossible de démarrer le navigateur de photos avec la version installée de pygtk (%s). Pour utiliser Chargeur Gallery avec cette version, vous devez le démarrer avec les photos à envoyer en arguments : par exemple, en utilisant un script Nautilus.Entrez les informations pour l'installation de cette galerie photo (tous les champs sont requis) :Gérer les comptesNom "%s" déjà pris.Nom du signet (à choisir librement) :Erreur de connexionAucun fichier fourniversion de pygtk obsolèteMot de passe :Les photos ont été ajoutées à l'album avec succès.Téléchargement d'information sur la hiérarchie des albums distants. Soyez patient !ActualisationSauvegarder et appliquerSélectionnez un dossierSélectionnez les photos à envoyerSélectionnez l'album où envoyer les photos :Sélectionnez la galerie photo où vous voulez envoyer les photos :L'URL %s n'existe pas/nou est actuellement indisponible.L'URL devrait commencer par l'un des préfixes suivants : %s.Il n'y a pas de fichiers sélectionnés pour l'envoi.URL (e.g. http://www.example.com/gallery):Envoi réussiEnvoiEnvoi de la photo %(count)d sur %(total)dEnvoi des photos. Soyez patient !Utilisation : %s [IMAGE1, [IMAGE2 ...]]Nom d'utilisateur :gallery-uploader-2.4/locale/it/0000755000175000017500000000000011544351706016076 5ustar pietropietrogallery-uploader-2.4/locale/it/LC_MESSAGES/0000755000175000017500000000000011544351706017663 5ustar pietropietrogallery-uploader-2.4/locale/it/LC_MESSAGES/gallery_uploader.mo0000644000175000017500000001704411544351706023560 0ustar pietropietro<S()L9! & % 0M"i  ;X L   !1 S a k } 9  , W Ji    1 2* z] 7 S3d(1 (&8 _ [@s62 3)=%g1$:"_   51V6 G$h D **@Ok> #/.SC;Qc=,/6\ ,) -: 8<&#2%  1* 4 (,7;3/-! "06+5 )$:.'9Album selectionAre you sure you want to delete configuration for gallery installation "%s"?Below, you can add a description:Both in the title and in the description, you can use markers, such as: [b]bold[/b], [i]italic[/i], [url=http://www.pietrobattiston.it]website[/url], [color=#E80000]crimson[/color]. See Gallery documentation for the full list.Cannot establish SSL connection.Click here to view it in your browser.Collapse allDelete galleryDon't tell me againErrorError accessing the Gallery instance:Error in the SSL connection:Error uploading to Gallery:Error: "%s" is not a regular file.Error: can't read file "%s".Error: file "%s" doesn't exist.Expand allFolder:GNOME Keyring not found.Gallery installationGallery selectionGallery-uploader is exiting because of the following error:Gallery-uploader is unable to communicate with GNOME Keyring - it may be not installed, or not currently active. This means that your password will be stored on the hard disk as plain text.If you want, you can now add a caption and/or a description for each picture. The former appears in in the album view, the latter only in the specific picture's page.Impossible to start the pictures browser with the installed pygtk version (%s). To use gallery-uploader on this version, you need to run it with the pictures you want to upload as arguments: for instance, by using it as a Nautilus script.Insert informations for this gallery installation (all fields are required):Manage accountsName "%s" already taken.Name of bookmark (choose freely):Network errorNew albumNo files providedOld pygtk versionPassword for user %(user)s on gallery instance at %(url)sPassword:Pictures detailsPicures were succesfully added to the album.Please enter the title of the new album. It will be created as a subalbum of %s.Please wait while information about remote albums hierarchy is downloaded.RefreshingSave and applySelect a folderSelect pictures to uploadSelect the album in which to upload the pictures:Select the gallery you want to upload pictures to:Sorry, gallery-uploader won't work without the galleryremote library ( http://code.google.com/p/galleryremote ) installed.The URL %s doesn't exist or is currently not reachable.The URL %s is currently not reachable, or does not point to a Gallery installation.The URL should start with one of the following: %s.There were no files selected for upload.URL (e.g. http://www.example.com/gallery):Upload successfulUploadingUploading picture %(count)d of %(total)dUploading pictures. Please be patient.Usage: %s [IMAGE1, [IMAGE2 ...]]User name:You are requesting a secure (https) connection. However, Gallery-uploader is unable to establish it (probably because M2Crypto is not installed). As a consequence, the connection will not be secure!galleryremote not foundProject-Id-Version: gallery-uploader 2.1 Report-Msgid-Bugs-To: POT-Creation-Date: 2010-11-10 15:30+0100 PO-Revision-Date: 2010-10-18 00:32+0100 Last-Translator: Pietro Battiston MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Poedit-Language: Italian Selezione dell'albumSei sicuro di voler cancellare la configurazione "%s"?È possibile aggiungere una descrizione qui sotto:È possibile utilizzare, sia nel titolo che nella descrizione, dei marcatori, come: [b]grassetto[/b], [i]corsivo[/i], [url=http://www.pietrobattiston.it]collegamento[/url], [color=#E80000]cremisi[/color]. Si veda la documentazione di Gallery per la lista completa.Impossibile stabilire la connessione SSL.Cliccare qui per vederlo nel browser.Nascondi tuttoElminazione galleriaNon me lo ripetereErroreErrore nell'accesso all'installazione di Gallery:Errore della connessione SSL:Errore durante il caricamento:Errore: "%s" non è un normale file.Errore: non riesco a leggere "%s".Errore: il file "%s" non esiste.Mostra tuttoCartella:GNOME Keyring non trovato.Istanza di GallerySelezione galleriaGallery-uploader termina a causa del seguente errore:Gallery-uploader è incapace di comunicare con il portachiavi di GNOME - potrebbe non essere installato, o non essere attivo. Di conseguenza, la password inserita sarà salvata sul disco rigido in chiaro.È possibile ora aggiungere una didascalia e/o una descrizione per ogni immagine. La prima compare nella panoramica dell'album, la seconda solo nella pagina specifica dell'immagine.È impossibile avviare la finestra di selezione delle immagini con la versione installata di pygtk, che è (%s). Per utilizzare gallery-uploader con questa versione, è necessario avviarlo con le immagini da caricare come argomenti: ad esempio, utilizzandolo come script di Nautilus.Inserire le informazioni per questa istanza di Gallery (tutti i campi sono necessari):Gestisci profiliIl nome "%s" è già utilizzato.Nome del segnalibro (scelta libera):Errore di reteNuovo albumNessun file selezionatoVersione di pygtk obsoletaPassword per l'utente %(user)s sull'installazione di Gallery %(url)sPassword:Informazioni immaginiLe immagini sono state aggiunte all'album.Inserire il titolo del nuovo album. Sarà creato come sotto-album di %s.Sto recuperando la struttura degli album da remoto, attendere.AggiornamentoSalva e applicaScegliere una cartellaSelezionare le immagini da caricareScegliere l'album in cui caricare le immagini:Scegli l'installazione di Gallery su cui vuoi caricare le immagini:Spiacente, gallery-uploader non può funzionare se non è installata la libreria galleryremote ( http://code.google.com/p/galleryremote ).L'indirizzo %s non esiste o è attualmente irraggiungibile.L'indirizzo %s è attualmente non raggiungibile, o non corrisponde ad una installazione di Gallery.L'indirizzo dovrebbe cominciare in uno dei seguenti modi: %s.Non sono stati selezionati file da caricare.Indirizzo (es: http://www.example.com/gallery):Caricamento completatoCaricamentoImmagine %(count)d di %(total)dSto caricando le immagini. Attendere, prego.Utilizzo: %s [IMMAGINE1, [IMMAGINE2 ...]]Nome utente:È stata richiesta una connessione sicura (https). Tuttavia, Gallery-uploader non può stabilirla (probabilmente perché M2Crypto non è installato). Di conseguenza, la connessione non sarà sicura!galleryremote non trovatagallery-uploader-2.4/ChangeLog0000644000175000017500000000451611544351705016002 0ustar pietropietrogallery-uploader 2.4, 2011-03-29 * Fixed race condition in images browser * Remember files list across recoverable errors * Added debugging mode * Minor fixes gallery-uploader 2.3, 2010-11-10 * Now behaves fine if gnomekeyring is absent or keyring is locked * Updated localizations, added (partial) Catalan translation gallery-uploader 2.2, 2010-10-22 * Debian-proof setup.py * Cope with private directory installations * Updated README gallery-uploader 2.1, 2010-10-21 * Switched from gup to galleryremote, and from gup config files to own * Support for https * Ability to create new sub-albums * Ability to add captions and descriptions * Turkish and French translations * Better catching of exceptions * Show a link to the album after upload * GNOME Keyring support * Code reorganization - split main file in submodules, clean setup.py gallery-uploader 1.11, 2010-01-17 * Brazilian Portuguese localization (thanks Vitor). * Fixed install.sh (updated to new executables paths). * Checked pygtk version to not crash abruptly if browser is used on old ones. * Improved error dialogs appearance and behaviour. * Clarified requirements in README. gallery-uploader 1.10, 2009-09-01 * Behave nicely if wrong parameteres are submitted via command line. gallery-uploader 1.9, 2009-08-28 * Ready for python 2.5 * Bugfix in setup.py symlinking gallery-uploader 1.8, 2009-08-26 * Added man * Standardized filenames and installation gallery-uploader 1.7, 2009-08-25 * Now gallery-uploader can be installed system-wide gallery-uploader 1.6, 2009-08-24 * Added pictures browser, used when filenames aren't passed as arguments gallery-uploader 1.5, 2009-07-20 * Now album selection is nice with people who has tons of albums. gallery-uploader 1.4, 2009-07-18 * chooser dialogs now have scrolling * install.sh copes with other installed versions * added website to README, enhanced releas.py gallery-uploader 1.3, 2009-07-13 * Progress bar now shows progress in images * Fixed bug in profiles elimination * Enhancements to release maker gallery-uploader 1.2, 2009-07-07 * Refined progress bars * Fixed dialogs appearance: title, parent window, taskbar handling gallery-uploader 1.1, 2009-06-19 * Fixed a typo which prevented from removing profiles. gallery-uploader 1.0, 2009-06-14 * First release. gallery-uploader-2.4/galleryuploader_lib/0000755000175000017500000000000011544351706020244 5ustar pietropietrogallery-uploader-2.4/galleryuploader_lib/thumbnails.py0000644000175000017500000000370411544351706022770 0ustar pietropietrofrom threading import Thread from gnome import ui from gtk import gdk import os import time, gio class Thumbnailer(Thread): def __init__(self, basedir='.'): Thread.__init__(self) self.daemon = True self.go = True self.todo = [] self.done = [] self.basedir = basedir # iff not self.todo and not self.working, then it is guaranteed that # self.done won't grow (until self.todo isn't filled again) self.working = False self.thumbFactory = ui.ThumbnailFactory(ui.THUMBNAIL_SIZE_NORMAL) def reset(self, todo, basedir='.'): self.res = False self.done = [] self.todo = todo self.basedir = basedir def run(self): while self.go: self.res = False if self.todo: self.working = True thing = self.todo.pop(0) handler = gio.File( os.path.join( self.basedir, thing ) ) info = handler.query_info('*') mime = info.get_content_type() if mime.startswith('image') or mime.startswith('video'): thumbnail = None uri = handler.get_uri() existing = self.thumbFactory.lookup( uri, 0 ) if existing: thumbnail = gdk.pixbuf_new_from_file( existing ) elif not self.thumbFactory.has_valid_failed_thumbnail( uri, 0 )\ and self.thumbFactory.can_thumbnail(uri, mime, 0): thumbnail = self.thumbFactory.generate_thumbnail(uri, mime) else: continue if thumbnail != None: self.thumbFactory.save_thumbnail(thumbnail, uri, 0) if not self.res: self.done.append((thing, uri, thumbnail)) self.working = False else: time.sleep(.2) gallery-uploader-2.4/galleryuploader_lib/browser.py0000644000175000017500000000462111544351706022304 0ustar pietropietroimport os, gobject, gio from itertools import count from galleryuploader_lib.thumbnails import Thumbnailer from galleryuploader_lib.dialogs import build_builder class Browser(object): new_id = count().next def __init__(self): self.dialog_builder = build_builder('browser') self.dialog = self.dialog_builder.get_object('dialog') self.list = self.dialog_builder.get_object('list') self.icons = self.dialog_builder.get_object('icons') self.filechooser = self.dialog_builder.get_object('filechooser') self.icons.set_text_column(1) self.icons.set_pixbuf_column(2) self.current_folder = gio.File('.').get_path() # print "self.current_folder", self.current_folder self.thumbnailer = Thumbnailer() self.thumbnailer.start() self.populate() self.alive = True gobject.timeout_add(100, self.monitor) def run(self): resp = self.dialog.run() self.thumbnailer.go = False if resp: return self.get_filenames() else: return None def destroy(self): self.alive = False self.dialog.destroy() def get_filenames(self): """ Retrieve paths corresponding to selected thumbnails. """ retval = [] def iterator(iconview, path, *args): full_path = os.path.join( os.path.realpath( os.curdir ), self.list.get_value(self.list.get_iter( path ), 1 ) ) retval.append( full_path ) self.icons.selected_foreach( iterator ) return retval def populate(self): self.list.clear() curdir = os.path.realpath( os.curdir ) dir_content = os.listdir( curdir ) dir_content.sort() self.thumbnailer.reset(dir_content, basedir=curdir) def monitor(self): if self.alive == False: return False if not self.filechooser.get_filename(): return True if self.current_folder != self.filechooser.get_filename(): self.current_folder = self.filechooser.get_filename() os.chdir(self.current_folder) self.populate() return True while self.thumbnailer.done: thing, uri, thumbnail = self.thumbnailer.done.pop(0) self.list.append([self.new_id(), thing, thumbnail]) return True gallery-uploader-2.4/galleryuploader_lib/config.py0000644000175000017500000000533611544351706022072 0ustar pietropietroimport sys, os from os import path from xdg.BaseDirectory import xdg_config_home ########################## CONFIGURATION ####################################### script_path = path.realpath( path.join( sys.path[0], sys.argv[0] ) ) not_installed_dir = path.dirname( script_path ) STUFF_DIR = LOCALE_DIR = None if path.exists( path.join( not_installed_dir, 'stuff', 'gallery.svg' ) ): STUFF_DIR = path.join( not_installed_dir, 'stuff' ) if path.exists( path.join( not_installed_dir, 'locale' ) ): LOCALE_DIR = path.join( not_installed_dir, 'locale' ) else: for directory in [sys.prefix, path.join( sys.prefix, 'local' )]: installed_root_dir = path.join( directory, 'share' ) if path.exists( path.join( installed_root_dir, 'gallery-uploader', 'stuff', 'gallery.svg' ) ): LOCALE_DIR = path.join( installed_root_dir, 'locale' ) if not STUFF_DIR: STUFF_DIR = path.join( installed_root_dir, 'gallery-uploader', 'stuff' ) break # Note: no reasonable setup can have "locale" and not "stuff". from ConfigParser import ConfigParser, NoOptionError CONFIG_DIR = path.join( xdg_config_home, 'gallery-uploader' ) CONFIG_PATH = path.join( CONFIG_DIR, 'config.ini' ) PROFILES_PATH = path.join( CONFIG_DIR, 'profiles.ini' ) if not path.exists( CONFIG_DIR ): # There _is not_ a new config os.mkdir( CONFIG_DIR ) print "created", CONFIG_DIR # Is there an old config? old_config_dir = path.expanduser( '~/.gup' ) old_config_path = path.join( old_config_dir, 'config.ini' ) if path.exists( old_config_path ): # Yes... migrate! old_profiles = open( old_config_path ) profiles = old_profiles.read() old_profiles.close() new_profiles = open( PROFILES_PATH, 'w' ) new_profiles.write( profiles ) new_profiles.close() readme = open( path.join( old_config_dir, 'README' ), 'w' ) readme.write( """This directory may have been created by a past version of gallery uploader. If you do not use the "gup" library directly, you can now safely delete it, since all profiles informations were transferred in %s.""" % PROFILES_PATH ) readme.close() profiles = ConfigParser() profiles.read( [PROFILES_PATH] ) config = ConfigParser() config.read( [CONFIG_PATH] ) ########################## END OF CONFIGURATION ################################ ########################## LOCALIZATION ######################################## import locale import gettext APP = 'gallery_uploader' gettext.install(APP, localedir=LOCALE_DIR, unicode=True) # For gtk.Builders: locale.bindtextdomain(APP, LOCALE_DIR) ########################## END OF LOCALIZATION ################################# gallery-uploader-2.4/galleryuploader_lib/__init__.py0000644000175000017500000000000011544351706022343 0ustar pietropietrogallery-uploader-2.4/galleryuploader_lib/editor.py0000644000175000017500000000642111544351706022107 0ustar pietropietroimport os, gobject, sys, pango import gtk from thumbnails import Thumbnailer from dialogs import build_builder class Editor(object): """ This handles the dialog in which image properties (currently, captions and descriptions) can be edited before uploading. """ def __init__(self): self.dialog_builder = build_builder( 'edit' ) self.dialog = self.dialog_builder.get_object( 'dialog' ) self.list = self.dialog_builder.get_object( 'list' ) self.tree = self.dialog_builder.get_object( 'tree' ) col = gtk.TreeViewColumn() rend = gtk.CellRendererPixbuf() rend.set_property( 'stock-size', 3 ) col.pack_start( rend ) col.add_attribute( rend, 'pixbuf', 3 ) self.tree.append_column( col ) text_fields = [('Name', 4, {} ), ('Caption', 1, {'wrap-mode' : pango.WRAP_WORD, 'wrap-width' : 100, 'editable' : True} ), ('Description', 2, {'wrap-mode' : pango.WRAP_WORD, 'wrap-width' : 180, 'editable' : True} )] for index in range(3): field, col_numb, properties = text_fields[index] col = gtk.TreeViewColumn( field ) rend = gtk.CellRendererText() for prop in properties: rend.set_property( prop, properties[prop] ) if 'editable' in properties: rend.connect( 'edited', self.edited, col_numb ) col.pack_start( rend ) col.add_attribute( rend, 'text', col_numb ) self.tree.append_column( col ) self.thumbnailer = Thumbnailer() self.thumbnailer.start() self.alive = True gobject.timeout_add(100, self.monitor) def run(self, files): """ Start the dialog. """ self.thumbnailer.todo = list( files ) resp = self.dialog.run() self.thumbnailer.go = False self.dialog.hide() if resp: # TODO: don't quit, go back to last step! sys.exit( 0 ) else: return [list( row )[:3] for row in self.list] def destroy(self): """ Close the dialog. """ self.alive = False self.dialog.hide() def edited(self, cellrenderer, row, content, column): """ Save modified text field. """ self.list[row][column] = content def monitor(self): """ This is ran as long as the thumbnailer is working. """ # If we see the thumbnailer has finished working... finished = bool( self.thumbnailer.todo ) or self.thumbnailer.working # ... _and then_ we get all the "done" thumbnails... while self.thumbnailer.done: path, uri, thumbnail = self.thumbnailer.done.pop(0) self.list.append([path, '', '', thumbnail, os.path.basename( path )]) # ... then we know we're missing none. return finished gallery-uploader-2.4/galleryuploader_lib/dialogs.py0000644000175000017500000000462511544351706022247 0ustar pietropietroimport gtk from config import * ########################## DIALOGS ############################################# def build_builder(name): try: builder = gtk.Builder() builder.set_translation_domain(APP) builder.add_from_file(STUFF_DIR + '/UI_' + name + '.glade') return builder except Exception, err: fatal_error( err ) def fatal_error(err): """ Used for any error that makes gallery-uploader exit. """ err = (_('Gallery-uploader is exiting because of the following error:'),) + tuple( err ) try: error_dialog( *err ) except RuntimeError: print '\n'.join( err ) sys.exit( 1 ) def chooser(title, text): dialog_builder = build_builder('choose') dialog = dialog_builder.get_object('dialog') dialog.set_title(title) label = dialog_builder.get_object('label') label.set_text(text) tree = dialog_builder.get_object('tree') def check_validity(selection, sensitives): for button in sensitives: button.set_sensitive(bool(selection.get_selected()[1])) sensitives = [dialog_builder.get_object(name) for name in ('ok', 'delete', 'edit', 'new_album')] selection = tree.get_selection() selection.connect('changed', check_validity, sensitives) interesting = ('new', 'delete', 'edit', 'expand', 'collapse', 'accounts', 'new_album') return dialog, tree, dict(zip(interesting, [dialog_builder.get_object(name) for name in interesting])) def areyousurer(text, parent=None): dialog_builder = build_builder('delete') dialog = dialog_builder.get_object('dialog') dialog.set_transient_for(parent) dialog.set_markup(text) return dialog def error_dialog(message, text, debug=True): """ """ dialog_builder = build_builder('error') dialog = dialog_builder.get_object('dialog') dialog.set_markup(message) if debug: debug_buffer = dialog_builder.get_object('debug_buffer') debug_buffer.set_text(text) else: debug_area = dialog_builder.get_object('debug_area') debug_area.hide() text_label = dialog_builder.get_object('text_label') text_label.set_text(text) # FIXME: temporary? See http://bugzilla.gnome.org/show_bug.cgi?id=587901 dialog.set_skip_taskbar_hint(False) dialog.run() dialog.hide() ########################## END OF DIALOGS ###################################### gallery-uploader-2.4/setup.py0000644000175000017500000000615211544351706015741 0ustar pietropietro#!/usr/bin/env python from os import listdir, symlink, path, makedirs, path from distutils.core import setup from distutils.command.install_scripts import install_scripts from distutils.command.install_data import install_data import sys glade_files = ['stuff/' + filename for filename in listdir('stuff') if filename.endswith('.glade')] paths = {} class InstallData(install_data): def run(self): """ Take care of installing a link from /usr/share/nautilus-scripts/name to the installed script. """ install_data.run( self ) link_name = 'Upload to Gallery' root_dir = self.install_dir # No "/local", or nautilus-script(s)-manager wouldn't find it: root_dir = root_dir.replace( '/usr/local', '/usr' ) scripts_dir = path.join(root_dir, 'share/nautilus-scripts') link_path = path.join( scripts_dir, link_name ) exec_path = paths['exec'] if not path.exists( link_path ): if not path.exists(scripts_dir): print "creating %s." % scripts_dir makedirs(scripts_dir) # path.exists won't work if link_path exists but is stale. if not link_name in listdir( scripts_dir ): rel_path = path.relpath( exec_path, path.dirname( link_path ) ) print "linking %s -> %s" % (link_path, rel_path) symlink( rel_path, link_path ) return class InstallScripts(install_scripts): def run(self): """ Just dump somewhere the path of the script. """ install_scripts.run( self ) paths['exec'] = self.get_outputs()[0] setup(name='Gallery Uploader', version='2.4', description='Upload pictures and videos to Gallery installations', license='GPL', author='Pietro Battiston', author_email='me@pietrobattiston.it', url='http://www.pietrobattiston.it/gallery-uploader', scripts=['gallery-uploader'], packages=['galleryuploader_lib'], data_files=[('share/gallery-uploader/stuff', ['stuff/gallery.svg'] + glade_files), ('share/pixmaps', ['stuff/gallery.svg']), ('share/applications', ['stuff/gallery-uploader.desktop'])]+ [('share/locale/'+lang+'/LC_MESSAGES/', ['locale/'+lang+'/LC_MESSAGES/gallery_uploader.mo'] ) for lang in listdir('locale')], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: X11 Applications :: GTK', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Multimedia :: Graphics', 'Topic :: Desktop Environment :: Gnome', 'Topic :: Utilities', ], cmdclass={'install_data': InstallData, 'install_scripts': InstallScripts } )