Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2013-02-20 08:41:29

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: abl_droploader: A native drag & drop multiple image uploader

French textpack

#@language fr-fr
abl_droploader_all_files_uploaded => {{filecount}} fichier(s) téléchargé(s).
abl_droploader_close_title => Fermer DropLoader
abl_droploader_error_method => Method {{method}} n'existe pas dans  abl.droploader-app.js.
abl_droploader_err_browser_not_supported => Votre navigateur ne supporte pas le téléchargement de fichiers HTML5!
abl_droploader_err_file_too_large => {{filename}} : cette image est trop grande!
abl_droploader_err_invalid_filetype => Vous ne pouvez pas télécharger  {{filename}}. Seules les images sont autorisées (jpg, jpeg, gif, png)!
abl_droploader_err_too_many_files => Trop de fichiers ! S'il vous plaît sélectionnez-en {{maxfiles}} au maximum !
abl_droploader_info_text => Déposez les fichiers ici\n\nou cliquez pour sélectionner des images
abl_droploader_no_files_uploaded => \nAucun fichier téléchargé.
abl_droploader_open => Téléchargement d'images
abl_droploader_open_title => Ouvrir le téléchargeur d'images multiples par glisser/déposer
abl_droploader_prefs_article_image_fields => Champ(s) Article-image  (Liste séparés par une virgule d'IDs de sélecteurs CSS. Utilisez #custom-n pour les noms de champs personnalisés)
abl_droploader_prefs_custom_stylesheet => Feuille de style personnalisée (path/filename)
abl_droploader_prefs_custom_stylesheetb => Feuille de style personnalisée (path/filename)
abl_droploader_prefs_file_max_upload_count => Nombre maximum d'images à télécharger en une fois
abl_droploader_prefs_image_max_upload_count => Nombre maximum de fichiers à télécharger en une fois
abl_droploader_prefs_reload_image_tab => Onglet Images: Fermer Droploader et recharger la liste d'images après le téléchargement
abl_droploader_prefs_use_default_stylesheet => Utiliser les styles par défaut
abl_droploader_some_files_uploaded => \n{{uploaded_files}} de {{filecount}} fichier(s) téléchargé(s).
abl_droploader_close => ×

Generated with the last 0.18

Last edited by jpdupont (2013-02-20 14:37:15)

Offline

#92 2013-02-20 14:37:31

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

Ooh, cool! You have found a way to translate the textpack. Saves me the explanation, how to do it… :)
Merci, jpdupont! I will add this to the already available textpacks on my website, so others can use it too.

Txp 4.6-dev:
I just installed the 4.6-svn version. As I can see now, there are changes in the markup of the article-page which affects abl_droploader. Seems that this version needs more changes in droploader. I will find a solution, but it may take a few days.

Offline

#93 2013-02-20 14:49:48

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: abl_droploader: A native drag & drop multiple image uploader

Andreas,

  • Install Stef Plugin Composer plugin
  • Open the tab “Textpack strings”
  • Paste your prefix “abl_droploader” and click on “Load” for the active language “Français”.
  • Here I get all your strings in english and I translate to french …
  • Save then test in the admin : all is OK !
  • At the bottom of the Plugin Composer , click on the link “Export the textpack” : done !

Offline

#94 2013-02-20 18:57:32

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

Thanks for the description! It’s new to me, that the plugin composer has support for textpacks. Good to know!

Another possibility, is to download one of the textpacks from my website. Please use the English or German textpack for this purpose, because the other textpacks (nl, cz) are currently not complete. Three strings are missing in these packs.

The translation itself can be done using any text-editor with support for utf-8 encoded text-files.

Installing the translated textpack in Textpattern is simple: Paste the content of the textpack into the textarea at the bottom of the Language-panel (Admin > Preferences > Language) and click upload.

Offline

#95 2013-02-21 14:40:37

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

A new version of abl_droploader is available: 0.19. This version is now fully compatible with Txp 4.6 (SVN).

This release fixes the missing upload-link on the Write-panel in Txp 4.6. The problem has occurred, because the markup on the Write-panel has changed in Txp 4.6. Fortunately, there is a new function ‘wrapRegion’ in txplib_html.php, which simplifies the rendering of the upload-link.

For details, please have a look at the original post.

Offline

#96 2013-02-26 20:05:59

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: abl_droploader: A native drag & drop multiple image uploader

I’m trying to install the plugin, but it seems like the necessary .js and .css files are not placed on the server upon plugin activation. I tried installation using the latest versions of Chrome and Firefox on the latest textpattern. I did try to remove the browser cache.

Thanks!

Last edited by Joey (2013-02-26 20:07:05)


Regards,

Joey

Offline

#97 2013-02-27 11:13:55

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

Hi Joey

This is possibly a problem with insufficient permissions. Are there any entries in the error log of your server?

The installation procedure tries to create three folders with mode 0755, then it writes the js- and css-files (mode 0644) to these folders. The folder structure is documented in the plugin help.

Currently, there is not much error checking in the installation procedure. I always try to improve the installation procedure, and better error handling there is one of those things I have in mind for the next releases.

Hope this helps.

Offline

#98 2013-02-27 14:49:20

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: abl_droploader: A native drag & drop multiple image uploader

Thanks for your reply. I do not see any errors related to the plugin installation in the virtual server’s log. Is there a way to manually download the necessary files somewhere and upload them in the folder structure as shown in docs? That will probably solve this problem then, as I do see the Upload button appearing in the write-tab.


Regards,

Joey

Offline

#99 2013-02-27 16:36:40

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

Very strange… It’s hard to say what the real problem is without any hint.

Is the server running in safe-mode or is there something like suPHP in use? I have not made any installation-tests under these conditions, so I don’t know if this is working properly.

I have put a zip-archive on my server, so you can download it from there. I have sent you a mail containing the link. Hope it works.

Offline

#100 2013-02-27 17:17:53

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: abl_droploader: A native drag & drop multiple image uploader

is the last version compatible with textpattern 4.6 but not 4.5.4?
I can’t find any upload image link in the write tab…?
thanks


what was that again…?

Offline

#101 2013-02-27 18:26:46

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

It should work with 4.5.4. I made tests with Textpattern versions 4.4.1, 4.5.4 and 4.6-dev without any problems.

Did you clear the browser cache?

Offline

#102 2013-02-28 11:46:15

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: abl_droploader: A native drag & drop multiple image uploader

Thanks Andy for the resources, it is now working correctly! Great plugin!

I’m not sure if and how I can help you solving this problem. I tried installation on two different (virtual) servers (not mine). Maybe it has something to do with the fact that your trying to create folders and files in the site root instead of the textpattern folder?


Regards,

Joey

Offline

#103 2013-02-28 14:06:32

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

Hi Joey

I am not sure if it’s a good idea to store css/js-files of plugins in the textpattern folder or below it. This is the system directory, and I think it should be used only for the Textpattern installation. Applying Textpattern upgrades may also become more difficult.

I made it this way, because I don’t know where to put these files otherwise. As far as I know, there is no ‘official’ recommendation, where external resources of plugins like css- and javascript-files should be installed. If someone has an idea, please let me know.

At least, I will include a better error-checking for the installation procedure in next releases. This will not prevent the installation from failing, but may give some hints what’s going wrong.

Offline

#104 2013-03-08 09:51:19

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,677
GitHub Twitter

Re: abl_droploader: A native drag & drop multiple image uploader

Hi Andy ;)

Here is a (better) Textpack for French translation:

#@language fr-fr
abl_droploader_all_files_uploaded => {{filecount}} fichier(s) téléchargé(s).
abl_droploader_close_title => Fermer DropLoader
abl_droploader_error_method => La méthode {{method}} n'existe pas dans abl.droploader-app.js.
abl_droploader_err_browser_not_supported => Votre navigateur ne supporte pas le téléchargement de fichiers HTML5 !
abl_droploader_err_file_too_large => {{filename}} : cette image est trop grande !
abl_droploader_err_invalid_filetype => Vous ne pouvez pas télécharger {{filename}}. Seuls les fichiers images sont autorisés (jpg, jpeg, gif, png) !
abl_droploader_err_too_many_files => Trop de fichiers ! Veuillez sélectionner {{maxfiles}} au maximum !
abl_droploader_info_text => Déposez les fichiers ici <br />ou cliquez pour sélectionner des images <br />depuis votre ordinateur
abl_droploader_no_files_uploaded => Aucun fichier téléchargé.
abl_droploader_open => Téléchargement d'images
abl_droploader_open_title => Ouvrir l'outil de téléchargement d'images multiples par glisser/déposer
abl_droploader_prefs_article_image_fields => Champ(s) Article-image  (Liste d'ID de sélecteurs CSS séparés par une virgule. Utilisez #custom-n pour les noms de champs personnalisés)
abl_droploader_prefs_custom_stylesheet => Feuille de styles personnalisée (chemin/fichier)
abl_droploader_prefs_custom_stylesheetb => Feuille de styles personnalisée (chemin/fichier)
abl_droploader_prefs_file_max_upload_count => Nombre maximum d'images à télécharger en une seule fois
abl_droploader_prefs_image_max_upload_count => Nombre maximum de fichiers à télécharger en une seule fois
abl_droploader_prefs_reload_image_tab => Onglet Images : fermer Droploader et recharger la liste d'images après le téléchargement
abl_droploader_prefs_use_default_stylesheet => Utiliser les styles par défaut
abl_droploader_some_files_uploaded => {{uploaded_files}} sur {{filecount}} fichier(s) téléchargé(s).
abl_droploader_close => &#x00d7;

Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#105 2013-03-12 19:02:44

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: abl_droploader: A native drag & drop multiple image uploader

Thank you, Patrick!

I have the download on my website updated.

Note:
There is a wrong (misspelled) entry in the textpack posted above: abl_droploader_prefs_custom_stylesheetb
I made this mistake in an earlier release. This entry is not used an can safely be deleted.

However, the next release of the plugin will automatically remove this wrong entry on installation.

Offline

Board footer

Powered by FluxBB