[Bug 4503] New: Javascript files in js directory are not translated
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4503 Summary: Javascript files in js directory are not translated Product: Koha Version: HEAD Platform: PC OS/Version: Windows 2000 Status: NEW Severity: enhancement Priority: P5 Component: I18N/L10N AssignedTo: frederic@tamil.fr ReportedBy: katrin.fischer@bsz-bw.de CC: chris@bigballofwax.co.nz Estimated Hours: 0.0 Change sponsored?: --- The files under .../koha-tmpl/intranet-tmpl/prog/[de-DE]/js and /koha-tmpl/opac-tmpl/prog/de-DE/j get not translated during translation process. An example for intranet with error messages is member.js I tried to make the error message for mandatory fields when adding a new borrower translatable. When it didn't work I looked at the other files and messages and noticed that they were not translated although formatted correctly for translation. Perhaps error messages should be handled in the template, as basket.js in opac does. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4503 --- Comment #1 from frederic@tamil.fr 2010-05-14 08:47:02 ---
Perhaps error messages should be handled in the template, as basket.js in opac does.
Indeed. As far as I know, there is a plan to put .js files outside template directories in order to spare disk space. But this is not the only reason. If Koha separates code from templates for Perl script, it should also do it for JavaScript. Now JS mixes program en UI. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com