JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.4
[ckeditor.git] / _source / core / plugins.js
index 3dfbd12..9a55980 100644 (file)
@@ -76,6 +76,20 @@ CKEDITOR.plugins.load = CKEDITOR.tools.override( CKEDITOR.plugins.load, function
                };\r
        });\r
 \r
+/**\r
+ * Loads a specific language file, or auto detect it. A callback is\r
+ * then called when the file gets loaded.\r
+ * @param {String} pluginName The name of the plugin to which the provided translation\r
+ *             should be attached.\r
+ * @param {String} languageCode The code of the language translation provided.\r
+ * @param {Object} languageEntries An object that contains pairs of label and\r
+ *             the respective translation.\r
+ * @example\r
+ * CKEDITOR.plugins.setLang( 'myPlugin', 'en', {\r
+ *     title : 'My plugin',\r
+ *     selectOption : 'Please select an option'\r
+ * } );\r
+ */\r
 CKEDITOR.plugins.setLang = function( pluginName, languageCode, languageEntries )\r
 {\r
        var plugin = this.get( pluginName ),\r