zyucar / imgmap

Automatically exported from code.google.com/p/imgmap
GNU General Public License v2.0
0 stars 0 forks source link

TinyMCE language files not loaded #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the image map popup
2.
3.

What is the expected output? What do you see instead?

Language file is not loaded(See output in the Firebug console).
When TinyMCE gives up the add and remove buttons is displayed.

What version of the product are you using? On what browser/operating system?

imgmap2.0 beta6r80
TinyMCE 3.0.4.1
Firefox 2.0.0.12
Mac OS X 10.5.2

Please provide any additional information below.

I guess the file structure is still for 2.x (ref. TinyMCE docs
http://wiki.moxiecode.com/index.php/TinyMCE:Create_plugin/3.x).

Loading script:
http://localhost/~tan/tinymce/jscripts/tiny_mce/plugins/imgmap/jscripts/lang_en.
js
Delaying onload (language en not loaded, try: 1)
Delaying onload (language en not loaded, try: 2)
Delaying onload (language en not loaded, try: 3)
Delaying onload (language en not loaded, try: 4)
Delaying onload (language en not loaded, try: 5)
Unable to load language strings

Question:
Do you have any roadmap /release date?

Original issue reported on code.google.com by thomasan...@gmail.com on 13 Mar 2008 at 6:57

GoogleCodeExporter commented 9 years ago
Can you check if lang_en.js is in the jscripts directory and has read 
permissions?

Original comment by adam.mas...@gmail.com on 13 Mar 2008 at 10:34

GoogleCodeExporter commented 9 years ago
Yes, I copied the en.js to the jscripts and renamed it lang_en.js
It has read permissions.

Original comment by thomasan...@gmail.com on 14 Mar 2008 at 4:27

GoogleCodeExporter commented 9 years ago
Wait, you shouldnt copy anything. Your jscript directory should contain the 
following
files (attached screenshot).

Original comment by adam.mas...@gmail.com on 14 Mar 2008 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, I took the lazy way and just copied the plug-in in the example8files.

I want to create a norwegian lang file. If you are intrested in getting this 
just
tell me where to submit the files.

Thomas

PS. Is the plug-in a GPL license? I see there is a GPL license in the plugin 
folder.

Original comment by thomasan...@gmail.com on 14 Mar 2008 at 12:51

GoogleCodeExporter commented 9 years ago
Thomas,

Yes, the lazy way is no good, the examples are organized to work with the file
structure of the main zip file. Deployable plugins are always packed 
separately, and
you have to install those.

Super, the translations you can submit to adam.maschek at gmail, in utf8 
format, thanks!

The plugin is dual licensed, read more here:
http://www.maschek.hu/imagemap/license

Regarding your earlier question about the old file structure, yes we can change 
the
names in the future, however i think it doesnt affect the way the plugin works.

Original comment by adam.mas...@gmail.com on 14 Mar 2008 at 1:04