gWorldz / get-simple-cms

Automatically exported from code.google.com/p/get-simple-cms
GNU General Public License v3.0
0 stars 0 forks source link

Thumbnails not displayed in translated Files page #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select any other language than English
2. Go to files page (upload.php)
3. Change filter to "Images"

What is the expected output? What do you see instead?
Image thumbnails should be displayed, but if that other language has translated 
"Images" string, the filter select option value won't be equal to "Images" and 
thumbnails will not be displayed.

What version of the product are you using? On what operating system?
GetSimple 3.0 r325

Original issue reported on code.google.com by jos...@gmail.com on 26 Feb 2011 at 10:20

GoogleCodeExporter commented 9 years ago
Great catch. Thanks!

Original comment by ccagle8 on 27 Feb 2011 at 6:42

GoogleCodeExporter commented 9 years ago
It's this line of code in the javascript file that is doing it: 

http://code.google.com/p/get-simple-cms/source/browse/trunk/admin/template/js/jq
uery.getsimple.js#64

Original comment by ccagle8 on 7 Mar 2011 at 4:37

GoogleCodeExporter commented 9 years ago
I found that function get_FileType() returns translated file type, maybe we 
should return it not translated, and internationalize it only in options list 
name field? That way it won't depend on selected language.

Original comment by jos...@gmail.com on 7 Mar 2011 at 6:47

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r344.

Original comment by ccagle8 on 7 Mar 2011 at 8:34