summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fckeditor.config.js4
-rw-r--r--plugins/drupalbreak/fckplugin.js2
-rw-r--r--plugins/drupalbreak/lang/en.js3
-rw-r--r--plugins/drupalbreak/lang/pl.js2
-rw-r--r--plugins/drupalpagebreak/fckplugin.js2
-rw-r--r--plugins/drupalpagebreak/lang/en.js3
-rw-r--r--plugins/drupalpagebreak/lang/pl.js2
7 files changed, 12 insertions, 6 deletions
diff --git a/fckeditor.config.js b/fckeditor.config.js
index 1b435c8..86bc3c0 100644
--- a/fckeditor.config.js
+++ b/fckeditor.config.js
@@ -15,9 +15,9 @@
//uncomment these three lines to enable teaser break and page break plugins
//remember to add 'DrupalBreak' and 'DrupalPageBreak' buttons to the toolbar
FCKConfig.PluginsPath = '../../plugins/' ;
-FCKConfig.Plugins.Add( 'drupalbreak', 'en' ) ;
+FCKConfig.Plugins.Add( 'drupalbreak', 'en,pl' ) ;
FCKConfig.Plugins.Add( 'imgassist' ) ;
-//FCKConfig.Plugins.Add( 'drupalpagebreak', 'en' ) ;
+//FCKConfig.Plugins.Add( 'drupalpagebreak', 'en,pl' ) ;
/*
This toolbar is dedicated to users with "Full HTML" access
diff --git a/plugins/drupalbreak/fckplugin.js b/plugins/drupalbreak/fckplugin.js
index 362f1af..9f1d23a 100644
--- a/plugins/drupalbreak/fckplugin.js
+++ b/plugins/drupalbreak/fckplugin.js
@@ -139,7 +139,7 @@ FCKDrupalBreak.prototype.GetState = function()
// Register the Drupal tag commands.
FCKCommands.RegisterCommand( 'DrupalBreak', new FCKDrupalBreak( 'Break' ) ) ;
// Create the Drupal tag buttons.
-var oDrupalItem = new FCKToolbarButton( 'DrupalBreak', 'Teaser', FCKLang.DrupalBreakTitle, FCK_TOOLBARITEM_ICONTEXT, true, true ) ;
+var oDrupalItem = new FCKToolbarButton( 'DrupalBreak', FCKLang.DrupalBreakTitle, FCKLang.DrupalBreakTooltip, FCK_TOOLBARITEM_ICONTEXT, true, true ) ;
oDrupalItem.IconPath = FCKConfig.PluginsPath + 'drupalbreak/drupalbreak.gif';
FCKToolbarItems.RegisterItem( 'DrupalBreak', oDrupalItem ) ;
diff --git a/plugins/drupalbreak/lang/en.js b/plugins/drupalbreak/lang/en.js
index a2e6ac3..3a9cc4a 100644
--- a/plugins/drupalbreak/lang/en.js
+++ b/plugins/drupalbreak/lang/en.js
@@ -1 +1,2 @@
-FCKLang.DrupalBreakTitle = 'Insert Teaser Break' ;
+FCKLang.DrupalBreakTooltip = 'Insert Teaser Break' ;
+FCKLang.DrupalBreakTitle = 'Teaser' ;
diff --git a/plugins/drupalbreak/lang/pl.js b/plugins/drupalbreak/lang/pl.js
new file mode 100644
index 0000000..ed67702
--- /dev/null
+++ b/plugins/drupalbreak/lang/pl.js
@@ -0,0 +1,2 @@
+FCKLang.DrupalBreakTooltip = 'Wstaw znacznik oznaczający koniec skrótu' ;
+FCKLang.DrupalBreakTitle = 'Skrót' ;
diff --git a/plugins/drupalpagebreak/fckplugin.js b/plugins/drupalpagebreak/fckplugin.js
index 831df32..465727a 100644
--- a/plugins/drupalpagebreak/fckplugin.js
+++ b/plugins/drupalpagebreak/fckplugin.js
@@ -122,7 +122,7 @@ FCKDrupalPageBreak.prototype.GetState = function()
// Register the Drupal tag commands.
FCKCommands.RegisterCommand( 'DrupalPageBreak', new FCKDrupalPageBreak( 'Break' ) ) ;
// Create the Drupal tag buttons.
-var oDrupalItem = new FCKToolbarButton( 'DrupalPageBreak', 'Page', FCKLang.DrupalPageBreakTitle, FCK_TOOLBARITEM_ICONTEXT, true, true ) ;
+var oDrupalItem = new FCKToolbarButton( 'DrupalPageBreak', FCKLang.DrupalPageBreakTitle, FCKLang.DrupalPageBreakTooltip, FCK_TOOLBARITEM_ICONTEXT, true, true ) ;
oDrupalItem.IconPath = FCKConfig.PluginsPath + 'drupalpagebreak/drupalpagebreak.gif';
FCKToolbarItems.RegisterItem( 'DrupalPageBreak', oDrupalItem ) ;
diff --git a/plugins/drupalpagebreak/lang/en.js b/plugins/drupalpagebreak/lang/en.js
index 4a86ed5..0f47493 100644
--- a/plugins/drupalpagebreak/lang/en.js
+++ b/plugins/drupalpagebreak/lang/en.js
@@ -1 +1,2 @@
-FCKLang.DrupalPageBreakTitle = 'Insert Page Break' ;
+FCKLang.DrupalPageBreakTooltip = 'Insert Page Break' ;
+FCKLang.DrupalPageBreakTitle = 'Page' ;
diff --git a/plugins/drupalpagebreak/lang/pl.js b/plugins/drupalpagebreak/lang/pl.js
new file mode 100644
index 0000000..b006c87
--- /dev/null
+++ b/plugins/drupalpagebreak/lang/pl.js
@@ -0,0 +1,2 @@
+FCKLang.DrupalPageBreakTooltip = 'Wstaw znacznik nowej strony' ;
+FCKLang.DrupalPageBreakTitle = 'Strona' ;