Jump to content

Bug Report


MacRoy

Recommended Posts

Bug Report. 

 

Can not translate these two lines, in (send a message) are completely lacking in translations. 

: No file selected 

: Select File 

 

I'm talking about the Swedish translation.

 

See the attached file. 

 

regards

 

MacRoy

post-413956-0-71068800-1392558345_thumb.jpg

Link to comment
Share on other sites

You will find these expressions in default-bootstrap/js/autoload/15-jquery.uniform-modified.js

 

around line 946

$.uniform = {
        // Default options that can be overridden globally or when uniformed
        // globally:  $.uniform.defaults.fileButtonHtml = "Pick A File";
        // on uniform:  $('input').uniform({fileButtonHtml: "Pick a File"});
        defaults: {
            activeClass: "active",
            autoHide: true,
            buttonClass: "button",
            checkboxClass: "checker",
            checkedClass: "checked",
            disabledClass: "disabled",
            eventNamespace: ".uniform",
            fileButtonClass: "action",
            fileButtonHtml: "Choose File",
            fileClass: "uploader",
            fileDefaultHtml: "No file selected",
            filenameClass: "filename",

There doesn't seem to be an option to translate it. You could change the wording in the file itself. Maybe not the best solution but it should work if you have a Swedish only shop.

Link to comment
Share on other sites

Thanks for your reply. 

 

I could translate these lines when I used PrestaShop 1.6.0.2 thus Alpha version, so it seems like they forgot to add these! 

 

I use not only Swedish but a number of other languages​​, so there will not be any good solution to do so. 

 

But thanks for your help!

 

Regards

 

MacRoy
Link to comment
Share on other sites

×
×
  • Create New...