[pLog-svn] r1174 - in plugins/trunk: contentfilter/class/action
contentfilter/locale hostblock/class/action hostblock/locale
nofollow/class/action
mark at devel.plogworld.net
mark at devel.plogworld.net
Wed Feb 23 16:37:56 GMT 2005
Author: mark
Date: 2005-02-23 16:37:56 +0000 (Wed, 23 Feb 2005)
New Revision: 1174
Modified:
plugins/trunk/contentfilter/class/action/adminupdatefilteredcontentsettingsaction.class.php
plugins/trunk/contentfilter/locale/locale_en_UK.php
plugins/trunk/contentfilter/locale/locale_zh_TW.php
plugins/trunk/hostblock/class/action/adminupdateblockedhostsettingsaction.class.php
plugins/trunk/hostblock/locale/locale_en_UK.php
plugins/trunk/hostblock/locale/locale_zh_TW.php
plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php
Log:
Update locale messages of content filter/host block. also fix a typo of no follow.
Modified: plugins/trunk/contentfilter/class/action/adminupdatefilteredcontentsettingsaction.class.php
===================================================================
--- plugins/trunk/contentfilter/class/action/adminupdatefilteredcontentsettingsaction.class.php 2005-02-23 15:27:39 UTC (rev 1173)
+++ plugins/trunk/contentfilter/class/action/adminupdatefilteredcontentsettingsaction.class.php 2005-02-23 16:37:56 UTC (rev 1174)
@@ -47,7 +47,7 @@
$this->saveSession();
$this->_view = new AdminFilteredContentSettingsView( $this->_blogInfo );
- $this->_view->setSuccessMessage( $this->_locale->tr("contentfilter_settings_saved_ok"));
+ $this->_view->setSuccessMessage( $this->_locale->tr("content_block_settings_updated_ok"));
$this->setCommonData();
// clear the cache
Modified: plugins/trunk/contentfilter/locale/locale_en_UK.php
===================================================================
--- plugins/trunk/contentfilter/locale/locale_en_UK.php 2005-02-23 15:27:39 UTC (rev 1173)
+++ plugins/trunk/contentfilter/locale/locale_en_UK.php 2005-02-23 16:37:56 UTC (rev 1174)
@@ -3,6 +3,8 @@
$messages["siteSecurity"] = "Site Security";
$messages["blogSecurity"] = "Blog Security";
+$messages["contentfilter_plugin"] = "Content Filter Plugin";
+$messages["filteredContentSettings"] = "Content Filter";
$messages["filteredContent"] = "Global Filtered Content";
$messages["blogFilteredContent"] = "Filtered Content";
$messages["newFilteredContent"] = "Add Global Filtered Content";
@@ -24,6 +26,7 @@
$messages["error_fetching_filtered_content"] = "There was an error when fetching the blocked content.";
$messages["error_updating_content_block_settings"] = "There was an error when updating the content block plugin settings.";
$messages["error_deleting_content"] = "There was an error when deleteing the blocked content %s.";
+$messages["error_contentfilter_not_enabled"] = "Please kindly enable content filter plugin first.";
$messages["blocked_content_added_ok"] = "Blocked content added successfully.";
$messages["blocked_content_updated_ok"] = "Blocked content updated successfully.";
Modified: plugins/trunk/contentfilter/locale/locale_zh_TW.php
===================================================================
--- plugins/trunk/contentfilter/locale/locale_zh_TW.php 2005-02-23 15:27:39 UTC (rev 1173)
+++ plugins/trunk/contentfilter/locale/locale_zh_TW.php 2005-02-23 16:37:56 UTC (rev 1174)
@@ -3,6 +3,8 @@
$messages["siteSecurity"] = "系統安全";
$messages["blogSecurity"] = "系統安全";
+$messages["contentfilter_plugin"] = "內容過濾外掛程式";
+$messages["filteredContentSettings"] = "內容過濾設定";
$messages["filteredContent"] = "全域內容過濾列表";
$messages["blogFilteredContent"] = "內容過濾列表";
$messages["newFilteredContent"] = "新增全域內容過濾";
@@ -24,6 +26,7 @@
$messages["error_fetching_filtered_content"] = "在讀取內容過濾時發生錯誤。";
$messages["error_updating_content_block_settings"] = "在更新設定時發生錯誤。";
$messages["error_deleting_content"] = "在刪除內容過濾 %s 時發生錯誤。";
+$messages["error_contentfilter_not_enabled"] = "請您先啟動內容過濾外掛程式。";
$messages["blocked_content_added_ok"] = "內容過濾順利新增。";
$messages["blocked_content_updated_ok"] = "內容過濾順利更新。";
Modified: plugins/trunk/hostblock/class/action/adminupdateblockedhostsettingsaction.class.php
===================================================================
--- plugins/trunk/hostblock/class/action/adminupdateblockedhostsettingsaction.class.php 2005-02-23 15:27:39 UTC (rev 1173)
+++ plugins/trunk/hostblock/class/action/adminupdateblockedhostsettingsaction.class.php 2005-02-23 16:37:56 UTC (rev 1174)
@@ -47,7 +47,7 @@
$this->saveSession();
$this->_view = new AdminBlockedHostSettingsView( $this->_blogInfo );
- $this->_view->setSuccessMessage( $this->_locale->tr("hostblock_settings_saved_ok"));
+ $this->_view->setSuccessMessage( $this->_locale->tr("host_block_settings_updated_ok"));
$this->setCommonData();
// clear the cache
Modified: plugins/trunk/hostblock/locale/locale_en_UK.php
===================================================================
--- plugins/trunk/hostblock/locale/locale_en_UK.php 2005-02-23 15:27:39 UTC (rev 1173)
+++ plugins/trunk/hostblock/locale/locale_en_UK.php 2005-02-23 16:37:56 UTC (rev 1174)
@@ -3,6 +3,8 @@
$messages["siteSecurity"] = "Site Security";
$messages["blogSecurity"] = "Blog Security";
+$messages["hostblock_plugin"] = "Host Block Plugin";
+$messages["blockedHostSettings"] = "Host Block";
$messages["blockedHosts"] = "Global Blocked Hosts";
$messages["blogBlockedHosts"] = "Blocked Hosts";
$messages["newBlockedHost"] = "Add Global Blocked Hosts";
@@ -29,6 +31,7 @@
$messages["error_updating_host_block_settings"] = "There was an error when updating the host block plugin settings.";
$messages["error_invalid_ip_address"] = "The IP address is not valid.";
$messages["error_deleting_blocked_host"] = "There was an error when deleteing the blocked host %s.";
+$messages["error_hostblock_not_enabled"] = "Please kindly enable host block plugin first.";
$messages["blocked_host_updated_ok"] = "Blocked host updated successfully.";
$messages["blocked_host_added_ok"] = "Blocked host added successfully.";
Modified: plugins/trunk/hostblock/locale/locale_zh_TW.php
===================================================================
--- plugins/trunk/hostblock/locale/locale_zh_TW.php 2005-02-23 15:27:39 UTC (rev 1173)
+++ plugins/trunk/hostblock/locale/locale_zh_TW.php 2005-02-23 16:37:56 UTC (rev 1174)
@@ -3,6 +3,8 @@
$messages["siteSecurity"] = "系統安全";
$messages["blogSecurity"] = "系統安全";
+$messages["hostblock_plugin"] = "阻擋主機外掛程式";
+$messages["blockedHostSettings"] = "阻擋主機設定";
$messages["blockedHosts"] = "全域阻擋主機列表";
$messages["blogBlockedHosts"] = "阻擋主機列表";
$messages["newBlockedHost"] = "新增全域阻擋主機";
@@ -29,6 +31,7 @@
$messages["error_updating_host_block_settings"] = "在更新設定時發生錯誤。";
$messages["error_invalid_ip_address"] = "您輸入的 IP 位址不正確。";
$messages["error_deleting_blocked_host"] = "在刪除阻擋主機 %s 時發生錯誤。";
+$messages["error_hostblock_not_enabled"] = "請您先啟動阻擋主機外掛程式。";
$messages["blocked_host_updated_ok"] = "阻擋主機順利更新。";
$messages["blocked_host_added_ok"] = "阻擋主機順利新增。";
Modified: plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php
===================================================================
--- plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php 2005-02-23 15:27:39 UTC (rev 1173)
+++ plugins/trunk/nofollow/class/action/pluginnofollowupdateconfigaction.class.php 2005-02-23 16:37:56 UTC (rev 1174)
@@ -26,7 +26,7 @@
function perform()
{
- // // update the plugin configurations to blog setting
+ // update the plugin configurations to blog setting
$blogSettings = $this->_blogInfo->getSettings();
$blogSettings->setValue( "plugin_nofollow_enabled", $this->_pluginEnabled );
$this->_blogInfo->setSettings( $blogSettings );
More information about the pLog-svn
mailing list