Skip to content
This repository
Browse code

FIX 7832 Lang files for ss macron plugin - correct path to "langs", n…

…ot "lang"

MINOR Use consistent ed.getLang method
  • Loading branch information...
commit 85ab39b2804870ea56a6037d9c4b65d099f6bd5f 1 parent f3fcae3
Jean-Fabien authored August 31, 2012
2  thirdparty/tinymce_ssmacron/editor_plugin_src.js
@@ -40,7 +40,7 @@
40 40
 	
41 41
 			// Register buttons
42 42
 			ed.addButton('ssmacron', {
43  
-				title : t.editor.translate('insertmacron'),
  43
+				title : ed.getLang('tinymce_ssmacron.insertmacron'),
44 44
 				cmd : 'mceInsertMacron',
45 45
 				image : url + '/img/macron.png'
46 46
 			});
1  thirdparty/tinymce_ssmacron/lang/en.js
... ...
@@ -1 +0,0 @@
1  
-tinyMCE.addI18n('en.ssmacron',{'insertmacron': 'Insert a Macron'});
1  thirdparty/tinymce_ssmacron/lang/mi_NZ.js
... ...
@@ -1 +0,0 @@
1  
-tinyMCE.addI18n('mi_NZ.ssmacron',{'insertmacron': 'T\u0101urua he tohut\u014D'});
3  thirdparty/tinymce_ssmacron/langs/en.js
... ...
@@ -0,0 +1,3 @@
  1
+tinyMCE.addI18n('en.tinymce_ssmacron', {
  2
+	insertmacron: 'Insert a macron'
  3
+});
3  thirdparty/tinymce_ssmacron/langs/mi_NZ.js
... ...
@@ -0,0 +1,3 @@
  1
+tinyMCE.addI18n('mi_NZ.tinymce_ssmacron', {
  2
+	insertmacron: 'T\u0101urua he tohut\u014D'
  3
+});

0 notes on commit 85ab39b

Please sign in to comment.
Something went wrong with that request. Please try again.