[pLog-svn] r1021 - in plugins/trunk/contentfilter: . class/action
locale templates
mark at devel.plogworld.net
mark at devel.plogworld.net
Wed Feb 9 11:47:16 GMT 2005
Author: mark
Date: 2005-02-09 11:47:15 +0000 (Wed, 09 Feb 2005)
New Revision: 1021
Removed:
plugins/trunk/contentfilter/locale/locale_ca_ES.php
plugins/trunk/contentfilter/locale/locale_es_ES.php
Modified:
plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php
plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php
plugins/trunk/contentfilter/locale/locale_en_UK.php
plugins/trunk/contentfilter/locale/locale_zh_TW.php
plugins/trunk/contentfilter/plugincontentfilter.class.php
plugins/trunk/contentfilter/templates/addblogfilteredcontent.template
plugins/trunk/contentfilter/templates/addfilteredcontent.template
plugins/trunk/contentfilter/templates/editblogfilteredcontent.template
plugins/trunk/contentfilter/templates/editfilteredcontent.template
Log:
Update locale messages of content filter. The content filter plugin is complete.
Modified: plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php
===================================================================
--- plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php 2005-02-09 11:47:15 UTC (rev 1021)
@@ -34,7 +34,7 @@
$blogs = new Blogs();
if( !$blogs->updateBlog( $this->_blogInfo->getId(), $this->_blogInfo )) {
$this->_view = new AdminBlogFilteredContentView( $this->_blogInfo );
- $this->_view->setErrorMessage( $this->_locale->tr("error_updating_settings"));
+ $this->_view->setErrorMessage( $this->_locale->tr("error_updating_blocked_content"));
$this->setCommonData();
return false;
@@ -46,7 +46,7 @@
$this->saveSession();
$this->_view = new AdminBlogFilteredContentView( $this->_blogInfo );
- $this->_view->setSuccessMessage( $this->_locale->tr("contentfilter_settings_saved_ok"));
+ $this->_view->setSuccessMessage( $this->_locale->tr("blocked_content_updated_ok"));
$this->setCommonData();
return true;
Modified: plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php
===================================================================
--- plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php 2005-02-09 11:47:15 UTC (rev 1021)
@@ -34,7 +34,7 @@
$blogs = new Blogs();
if( !$blogs->updateBlog( $this->_blogInfo->getId(), $this->_blogInfo )) {
$this->_view = new AdminFilteredContentView( $this->_blogInfo );
- $this->_view->setErrorMessage( $this->_locale->tr("error_updating_settings"));
+ $this->_view->setErrorMessage( $this->_locale->tr("error_updating_content_block_settings"));
$this->setCommonData();
return false;
@@ -46,7 +46,7 @@
$this->saveSession();
$this->_view = new AdminFilteredContentView( $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();
return true;
Deleted: plugins/trunk/contentfilter/locale/locale_ca_ES.php
===================================================================
--- plugins/trunk/contentfilter/locale/locale_ca_ES.php 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/locale/locale_ca_ES.php 2005-02-09 11:47:15 UTC (rev 1021)
@@ -1,40 +0,0 @@
-<?php
-$messages["filteredContent"] = "Contingut Filtrat";
-$messages["global_filtered_content"] = "Contingut Filtrat Globalment";
-$messages["newFilteredContent"] = "Filtrar Contingut";
-$messages["global_filtered_content_intro"] = "Les expresions regulars/contingut que apareixen aquí han estat bloquejades en totes les bitàcoles d'aquest servidor.";
-$messages["filtered_content_intro"] = "Les expresions regulars/contingut que apareixen aquí han estat bloquejades tan sols en aquesta bitàcola.";
-$messages["content"] = "Contingut";
-$messages["add_filtered_content"] = "Afegir Contingut Filtrat";
-$messages["add_filtered_content_intro"] = "Qualsevol cosa afegida aquí no serà permesa com a contingut vàlid d'un comentari, i qualsevol intent provocara que el comentari sigui bloquejat i no s'afegirà a la base de dades. Es poden utilitzar simples mots o inclús expressions regulars. Les expressions regulars són molt més potents però també són més complexes, ja que potencialment podriem arribar a bloquejar tot el que s'intenti escriure.";
-$messages["global_add_filtered_content_intro"] = "Qualsevol cosa afegida aquí no serà permesa com a contingut vàlid d'un comentari en qualsevol de les bitàcoles del servidor, i qualsevol intent provocara que el comentari sigui bloquejat i no s'afegirà a la base de dades. Es poden utilitzar simples mots o inclús expressions regulars. Les expressions regulars són molt més potents però també són més complexes, ja que potencialment podriem arribar a bloquejar tot el que s'intenti escriure.";
-$messages["content_to_block"] = "Text a filtrar";
-$messages["block_this"] = "Bloquejar";
-$messages["error_provide_content_to_block"] = "Ha d'escriure algun contingut que bloquejar.";
-$messages["blocked_content_added_ok"] = "El nou Contingut filtrat s'ha afegit correctament.";
-$messages["blocked_content_updated_ok"] = "El Contingut filtrat ha estat actualitzat correctament.";
-$messages["error_updating_blocked_content"] = "There was an error updating the blocked content.";
-$messages["error_you_have_been_blocked"] = "La seva petició ha estat denegada.";
-$messages["help_blogFilteredContent"] = "<p>This is a list of all the rules for content filtering that have been added
-to this particular blog. Clicking any of them will take you to a page where you will be able to edit any of them.
-Use the <b>'Delete'</b> checkbox to mark any of them for deletion, and press the <b>'Delete Selected'</b> button
-once you are sure you want to delete those.</p>";
-$messages["help_newBlogFilteredContent"] = "<p>You can add here a new rule for blocking undesired content from being
-included in comments. You can use here single words or sentence or if you wish, you can use the power
-of regular expressions if you know how to use them. You can also add a description to the rule so that you remember
-in the future what it is about, but it is not a mandatory field.</p>";
-$messages["editBlogFilteredContent"] = "This page will allow you to edit a content filtering rule. The options
-are exactly the same as in <a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">here</a>.";
-
-$messages["help_filteredContent"] = "<p>This is a list of all the rules for content filtering that have been added
-to this site. These rules are site-wide and take precedence before any blog-specific rule that may have been
-set by blog owners. The options and its meaning is the same as
-<a href=\"admin.php?op=Help&helpId=blogFilteredContent\">here</a>.";
-
-$messages["help_newFilteredContent"] = "<p>You can add here a new rule for blocking undesired content from being
-included in comments. This rule will be used system-wide and will take preference before blog-specific
-rules. See <a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">this</a> for more information
-on the options.";
-$messages["blogFilteredContent"] = $messages["filteredContent"];
-$messages["newBlogFilteredContent"] = $messages["newFilteredContent"];
-?>
\ No newline at end of file
Modified: plugins/trunk/contentfilter/locale/locale_en_UK.php
===================================================================
--- plugins/trunk/contentfilter/locale/locale_en_UK.php 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/locale/locale_en_UK.php 2005-02-09 11:47:15 UTC (rev 1021)
@@ -1,48 +1,36 @@
<?php
-$messages["filteredContent"] = "Filtered Content";
-$messages["global_filtered_content"] = "Global Filtered Content";
-$messages["newFilteredContent"] = "Filter Content";
-$messages["filtered_content_intro"] = "The following content/regular expressions have been blocked in this blog.";
-$messages["global_filtered_content_intro"] = "The following content/regular expressions have been globally blocked.";
+$messages["contentfilter_plugin_enabled"] = "Enable this plugin";
+
+$messages["filteredContent"] = "Global Filtered Content";
+$messages["blogFilteredContent"] = "Filtered Content";
+$messages["newFilteredContent"] = "Add Global Filtered Content";
+$messages["newBlogFilteredContent"] = "Add Filtered Content";
+
$messages["content"] = "Content";
+$messages["content_to_block_help"] = "Anything added here will not be allowed as valid text in a comment in any of the blogs available in this site. Any attempt by a casual user to post a comment with blocked content will block the comment. Regular expressions or a simple string can be used. Regular expressions are much more powerful but they're also much more complex and you should be careful with them, because you could potentially block all content with the wrong regular expression.";
$messages["reason"] = "Reason";
+$messages["reason_help"] = "You can also add a description to the rule so that you remember in the future what it is about.";
$messages["add_filtered_content"] = "Add Filtered Content";
-$messages["add_filtered_content_intro"] = "Anything added here will not be allowed as valid text in a comment, and any attempt by a casual user to post a comment with blocked content will block the comment. Regular expressions or a simple string can be used. Regular expressions are much more powerful but they're also much more complex and you should be careful with them, because you could potentially block all content with the wrong regular expression.";
-$messages["global_add_filtered_content_intro"] = "Anything added here will not be allowed as valid text in a comment in any of the blogs available in this site. Any attempt by a casual user to post a comment with blocked content will block the comment. Regular expressions or a simple string can be used. Regular expressions are much more powerful but they're also much more complex and you should be careful with them, because you could potentially block all content with the wrong regular expression.";
-$messages["content_to_block"] = "Content that you would like to block";
-$messages["block_this"] = "Block This";
-$messages["error_provide_content_to_block"] = "You must provide some content to block.";
-$messages["blocked_content_added_ok"] = "Blocked content added successfully.";
-$messages["blocked_content_updated_ok"] = "Blocked content updated successfully";
$messages["edit_filtered_content"] = "Edit Filtered Content";
-$messages["error_updating_blocked_content"] = "There was an error updating the blocked content.";
-$messages["error_you_have_been_blocked"] = "You are not allowed to proceed with this request.";
-$messages["help_blogFilteredContent"] = "<p>This is a list of all the rules for content filtering that have been added
-to this particular blog. Clicking any of them will take you to a page where you will be able to edit any of them.
-Use the <b>'Delete'</b> checkbox to mark any of them for deletion, and press the <b>'Delete Selected'</b> button
-once you are sure you want to delete those.</p>";
+$messages["global"] = "Global";
-$messages["help_newBlogFilteredContent"] = "<p>You can add here a new rule for blocking undesired content from being
-included in comments. You can use here single words or sentence or if you wish, you can use the power
-of regular expressions if you know how to use them. You can also add a description to the rule so that you remember
-in the future what it is about, but it is not a mandatory field.</p>";
+$messages["error_provide_content_to_block"] = "You must provide some content to block.";
+$messages["error_updating_blocked_content"] = "There was an error when updating the blocked content.";
+$messages["error_adding_blocked_content"] = "There was an error when adding the blocked content.";
+$messages["error_no_block_content_selected"] = "There was no blocked content selected.";
+$messages["error_incorrect_content_id"] = "The blocked content ID is incorrect.";
+$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["editBlogFilteredContent"] = "This page will allow you to edit a content filtering rule. The options
-are exactly the same as in <a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">here</a>.";
+$messages["blocked_content_added_ok"] = "Blocked content added successfully.";
+$messages["blocked_content_updated_ok"] = "Blocked content updated successfully.";
+$messages["content_block_settings_updated_ok"] = "Content block pluing settings updated successfully.";
+$messages["contents_deleted_ok"] = "%s blocked contents deleted successfully.";
+$messages["content_deleted_ok"] = "Blocked contents %s deleted successfully.";
-$messages["help_filteredContent"] = "<p>This is a list of all the rules for content filtering that have been added
-to this site. These rules are site-wide and take precedence before any blog-specific rule that may have been
-set by blog owners. The options and its meaning is the same as
-<a href=\"admin.php?op=Help&helpId=blogFilteredContent\">here</a>.";
+$messages["error_you_have_been_blocked"] = "You are not allowed to proceed with this request.";
-$messages["help_newFilteredContent"] = "<p>You can add here a new rule for blocking undesired content from being
-included in comments. This rule will be used system-wide and will take preference before blog-specific
-rules. See <a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">this</a> for more information
-on the options.";
-
-$messages["editFilteredContent"] = "This page will allow you to edit a content filtering rule. The options
-are exactly the same as in <a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">here</a>.";
-
-$messages["blogFilteredContent"] = $messages["filteredContent"];
-$messages["newBlogFilteredContent"] = $messages["newFilteredContent"];
+$messages["label_configuration"] = "Configuration";
+$messages["label_enable"] = "Enable";
?>
\ No newline at end of file
Deleted: plugins/trunk/contentfilter/locale/locale_es_ES.php
===================================================================
--- plugins/trunk/contentfilter/locale/locale_es_ES.php 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/locale/locale_es_ES.php 2005-02-09 11:47:15 UTC (rev 1021)
@@ -1,48 +0,0 @@
-<?php
-
-$messages["filteredContent"] = "Contenido Filtrado";
-$messages["global_filtered_content"] = "Contenido Filtrado Globalmente";
-$messages["newFilteredContent"] = "Filtrar Contenido";
-$messages["global_filtered_content_intro"] = "Las expresiones regulares/contenido que aparecen aquÌ han sido bloqueadas en todas las bit·coras de este servidor.";
-$messages["filtered_content_intro"] = "Las expresiones regulares/contenido que aparecen aquÌ han sido bloqueadas tan solo en esta bit·cora.";
-$messages["content"] = "Contenido";
-$messages["add_filtered_content"] = "AÒadir Contenido Filtrado";
-$messages["add_filtered_content_intro"] = "Cualquier cosa aÒadida aquÌ no ser· permitida como contenido v·lido de un comentario, y cualquier intento provocar· que el comentario sea bloqueado y no se aÒadir· a la base de datos. Se pueden usar simples palabras e incluso expresiones regulares. Las expresiones regulares son mucho m·s potentes pero tambiÈn son mucho m·s complejas, ya que potencialmente podrÌamos llegar bloquear todo lo que se intente escribir.";
-$messages["global_add_filtered_content_intro"] = "Cualquier cosa aÒadida aquÌ no ser· permitida como contenido v·lido de un comentario en cualquiera de las bit·coras disponibles en este servidor, y cualquier intento provocar· que el comentario sea bloqueado y no se aÒadir· a la base de datos. Se pueden usar simples palabras e incluso expresiones regulares. Las expresiones regulares son mucho m·s potentes pero tambiÈn son mucho m·s complejas, ya que potencialmente podrÌamos llegar bloquear todo lo que se intente escribir.";
-$messages["content_to_block"] = "Texto a filtrar";
-$messages["block_this"] = "Bloquear";
-$messages["error_provide_content_to_block"] = "Debe escribir algun contenido que bloquear.";
-$messages["blocked_content_added_ok"] = "El nuevo Contenido filtrado aÒadido correctamente.";
-$messages["blocked_content_updated_ok"] = "El contenido filtrado ha sido actualizado correctamente.";
-$messages["edit_filtered_content"] = "Editar Contenido Filtrado";
-$messages["error_updating_blocked_content"] = "Se produjo un error al actualizar el contenido a filtrar.";
-$messages["error_you_have_been_blocked"] = "Su peticiÛn ha sido denegada.";
-
-$messages["editBlogFilteredContent"] = "This page will allow you to edit a content filtering rule. The options
-are exactly the same as in <a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">here</a>.";
-
-$messages["help_filteredContent"] = "<p>This is a list of all the rules for content filtering that have been added
-to this site. These rules are site-wide and take precedence before any blog-specific rule that may have been
-set by blog owners. The options and its meaning is the same as
-<a href=\"admin.php?op=Help&helpId=blogFilteredContent\">here</a>.";
-
-$messages["help_newFilteredContent"] = "<p>You can add here a new rule for blocking undesired content from being
-included in comments. This rule will be used system-wide and will take preference before blog-specific
-rules. See <a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">this</a> for more information
-on the options.";
-
-
-$messages["help_blogFilteredContent"] = "<p>This is a list of all the rules for content filtering that have been added
-to this particular blog. Clicking any of them will take you to a page where you will be able to edit any of them.
-Use the <b>'Delete'</b> checkbox to mark any of them for deletion, and press the <b>'Delete Selected'</b> button
-once you are sure you want to delete those.</p>";
-
-$messages["help_newBlogFilteredContent"] = "<p>You can add here a new rule for blocking undesired content from being
-included in comments. You can use here single words or sentence or if you wish, you can use the power
-of regular expressions if you know how to use them. You can also add a description to the rule so that you remember
-in the future what it is about, but it is not a mandatory field.</p>";
-
-$messages["blogFilteredContent"] = $messages["filteredContent"];
-$messages["newBlogFilteredContent"] = $messages["newFilteredContent"];
-
-?>
\ No newline at end of file
Modified: plugins/trunk/contentfilter/locale/locale_zh_TW.php
===================================================================
--- plugins/trunk/contentfilter/locale/locale_zh_TW.php 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/locale/locale_zh_TW.php 2005-02-09 11:47:15 UTC (rev 1021)
@@ -1,31 +1,36 @@
<?php
+$messages["contentfilter_plugin_enabled"] = "åå夿ç¨å¼";
-$messages["filteredContent"] = "å
§å®¹é濾å表";
-$messages["global_filtered_content"] = "å
¨åå
§å®¹é濾å表";
-$messages["newFilteredContent"] = "å
§å®¹é濾";
-$messages["filtered_content_intro"] = "以ä¸çå
§å®¹é濾æåï¼æ£è¦è¡¨ç¤ºå¼å·²ç¶æåå å
¥æ¬ç¶²èªç«å°çè¨å®ä¸ã";
-$messages["global_filtered_content_intro"] = "以ä¸çå
§å®¹é濾æåï¼æ£è¦è¡¨ç¤ºå¼å·²ç¶æåå å
¥äºå
¨åè¨å®ä¸ã";
+$messages["filteredContent"] = "å
¨åå
§å®¹é濾å表";
+$messages["blogFilteredContent"] = "å
§å®¹é濾å表";
+$messages["newFilteredContent"] = "æ°å¢å
¨åå
§å®¹é濾";
+$messages["newBlogFilteredContent"] = "æ°å¢å
§å®¹é濾";
+
$messages["content"] = "å
§å®¹";
+$messages["content_to_block_help"] = "æ¨å¨ééææ°å¢çå
§å®¹ï¼ä¾¿æè¢«è¦ä½æ¯ä¸åæ³çééµåãèå¦æä½¿ç¨è
çè¿´é¿çè¨ä¸åºç¾éäºééµåï¼ä¾¿ç¡æ³çè¨ãæ¨è¦ç¨æ£è¦è¡¨ç¤ºå¼ææ¯ä¸è¬çæåå串é½å¯ä»¥ï¼å¦æä½¿ç¨æ£è¦è¡¨ç¤ºå¼ï¼åè½ææ´å 強大ï¼ä¸éæ£è¦è¡¨ç¤ºå¼å¾å¾å¾è¤éï¼æä»¥æ¨å¨ä½¿ç¨çæåè¦ç¹å¥æ ¼å¤å°å¿ï¼å çºæ¨æå¯ä»¥å çºå¼ååºé¯ï¼æææççè¨é½é濾æäºã";
+$messages["reason"] = "åå ";
+$messages["reason_help"] = "æ¨ä¹å¯ä»¥å°éäºå
§å®¹é濾è¦åå ä¸è¨»è§£ï¼å¥½è®æ¨æ¥å¾ç¥éç¶åçºä»éº¼è¨å®éäºè¦åã";
$messages["add_filtered_content"] = "æ°å¢å
§å®¹é濾";
-$messages["add_filtered_content_intro"] = "æ¨å¨ééææ°å¢çå
§å®¹ï¼ä¾¿æè¢«è¦ä½æ¯ä¸åæ³çééµåãèå¦æä½¿ç¨è
çè¿´é¿çè¨ä¸åºç¾éäºééµåï¼ä¾¿ç¡æ³çè¨ãæ¨è¦ç¨æ£è¦è¡¨ç¤ºå¼ææ¯ä¸è¬çæåå串é½å¯ä»¥ï¼å¦æä½¿ç¨æ£è¦è¡¨ç¤ºå¼ï¼åè½ææ´å 強大ï¼ä¸éæ£è¦è¡¨ç¤ºå¼å¾å¾å¾è¤éï¼æä»¥æ¨å¨ä½¿ç¨çæåè¦ç¹å¥æ ¼å¤å°å¿ï¼å çºæ¨æå¯ä»¥å çºå¼ååºé¯ï¼æææççè¨é½é濾æäºã";
-$messages["global_add_filtered_content_intro"] = "æ¨å¨ééææ°å¢çå
§å®¹ï¼ä¾¿æè¢«è¦ä½æ¯ä¸åæ³çééµåãèå¦æä½¿ç¨è
çè¿´é¿çè¨ä¸åºç¾éäºééµåï¼ä¾¿ç¡æ³çè¨ãæ¨è¦ç¨æ£è¦è¡¨ç¤ºå¼ææ¯ä¸è¬çæåå串é½å¯ä»¥ï¼å¦æä½¿ç¨æ£è¦è¡¨ç¤ºå¼ï¼åè½ææ´å 強大ï¼ä¸éæ£è¦è¡¨ç¤ºå¼å¾å¾å¾è¤éï¼æä»¥æ¨å¨ä½¿ç¨çæåè¦ç¹å¥æ ¼å¤å°å¿ï¼å çºæ¨æå¯ä»¥å çºå¼ååºé¯ï¼æææççè¨é½é濾æäºã";
-$messages["content_to_block"] = "æ¨ææ³è¦é濾çå
§å®¹";
-$messages["block_this"] = "è¨å®é»æ";
+$messages["edit_filtered_content"] = "編輯å
§å®¹é濾";
+$messages["global"] = "å
¨å";
+
$messages["error_provide_content_to_block"] = "æ¨å¿
é è¦è¼¸å
¥æ¨è¦é濾çå
§å®¹ã";
-$messages["blocked_content_added_ok"] = "éæ¿¾å
§å®¹é 婿°å¢ã";
-$messages["blocked_content_updated_ok"] = "éæ¿¾å
§å®¹é 婿´æ°ã";
-$messages["edit_filtered_content"] = "ç·¨è¼¯éæ¿¾å
§å®¹";
-$messages["error_updating_blocked_content"] = "卿´æ°é濾å
§å®¹æç¼çé¯èª¤ã";
-$messages["help_blogFilteredContent"] = "<p>æ¨å¯ä»¥å¨é裡çå°æ¨ç®åæå¨ç¶²èªç«å°æè¨å®çå
§å®¹é濾è¦åå表ãå¦ææ¨æ³è¦ä¿®æ¹ç¶ä¸çè¨å®ï¼è«å¨å¾é¸ä¹å¾ï¼æä¸ã<b>åªé¤é¸æçé
ç®</b>ãæéã</p>";
+$messages["error_updating_blocked_content"] = "卿´æ°å
§å®¹é濾æç¼çé¯èª¤ã";
+$messages["error_adding_blocked_content"] = "卿°å¢å
§å®¹é濾æç¼çé¯èª¤ã";
+$messages["error_no_block_content_selected"] = "ä½ æ²æé¸æä»»ä½çå
§å®¹é濾ã";
+$messages["error_incorrect_content_id"] = "æ¨æé¸æçå
§å®¹é濾代èé¯èª¤ã";
+$messages["error_fetching_filtered_content"] = "å¨ååºå
§å®¹é濾æç¼çé¯èª¤ã";
+$messages["error_updating_content_block_settings"] = "卿´æ°è¨å®æç¼çé¯èª¤ã";
+$messages["error_deleting_content"] = "å¨åªé¤å
§å®¹é濾 %s æç¼çé¯èª¤ã";
-$messages["help_newBlogFilteredContent"] = "<p>æ¨å¯ä»¥å¨æ¤è¨å®å
§å®¹é濾è¦åï¼é»æä½¿ç¨è
ç¼è¡¨æ¨æä¸é¡ææ¨è¦çè¿´é¿çè¨ãæ¨å¯ä»¥è¨ç½®å®ä¸çéæ¿¾ééµè©å½ï¼ä¹å¯ä»¥ä½¿ç¨åè½å¼·å¤§çæ£è¦è¡¨ç¤ºå¼ï¼å¦ææ¨çè§£æ£è¦è¡¨ç¤ºå¼çä½¿ç¨æ¹æ³ç話ï¼ãæ¨ä¹å¯ä»¥å°éäºå
§å®¹é濾è¦åå ä¸è¨»è§£ï¼å¥½è®æ¨æ¥å¾ç¥éç¶åçºä»éº¼è¨å®éäºè¦åï¼ä¸éï¼èªªææ¬ä½å¯ä»¥çç½ä¸å¡«ã</p>";
+$messages["blocked_content_added_ok"] = "å
§å®¹é濾é 婿°å¢ã";
+$messages["blocked_content_updated_ok"] = "å
§å®¹é濾é 婿´æ°ã";
+$messages["content_block_settings_updated_ok"] = "è¨å®é 婿´æ°ã";
+$messages["contents_deleted_ok"] = "é å©åªé¤ %s åå
§å®¹é濾ã";
+$messages["content_deleted_ok"] = "é å©åªé¤å
§å®¹é濾 %sã";
-$messages["help_filteredContent"] = "<p>é裡æ¨å¯ä»¥çå°ç³»çµ±ä¸ææçå
§å®¹é濾è¦åçå表ï¼ç¶ä¸å
æ¬ç±ç³»çµ±ç®¡çå¡è¨ç½®çå
¨ç«è¦åï¼ä»¥åç±ç¶²èªç«å°ç®¡ç塿è¨ç½®çéåç«å°ç¹å®çè¦åãå
§å®¹é濾é
ç®çé¸é
èå
¶æç¾©ï¼è«åè¦<a href=\"admin.php?op=Help&helpId=blogFilteredContent\">é裡</a>ã";
+$messages["error_you_have_been_blocked"] = "ä½ ææä¾çè¿´é¿å«æä¸è¢«å
許çå
§å®¹ã";
-$messages["help_newFilteredContent"] = "<p>æ¨å¯ä»¥å¨é裡æ°å¢è¿´é¿çè¨å
§å®¹é濾è¦åãé裡æè¨ç½®çè¦åå°æå¥ç¨å°ç³»çµ±ä¸çå
¨é¨ç«å°ä¸ï¼ç¸éç詳ç¡èªªæï¼è«åè¦<a href=\"admin.php?op=Help&helpId=newBlogFilteredContent\">é裡</a>ã";
-
-$messages["blogFilteredContent"] = $messages["filteredContent"];
-$messages["newBlogFilteredContent"] = $messages["newFilteredContent"];
-
-
+$messages["label_configuration"] = "è¨å®";
+$messages["label_enable"] = "åå";
?>
\ No newline at end of file
Modified: plugins/trunk/contentfilter/plugincontentfilter.class.php
===================================================================
--- plugins/trunk/contentfilter/plugincontentfilter.class.php 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/plugincontentfilter.class.php 2005-02-09 11:47:15 UTC (rev 1021)
@@ -26,7 +26,7 @@
$this->id = "contentfilter";
$this->description = "A simple content filter.";
$this->author = "The pLog Team";
- $this->locales = Array( "en_UK", "es_ES", "ca_ES", "zh_TW" );
+ $this->locales = Array( "en_UK", "zh_TW" );
$this->init();
}
Modified: plugins/trunk/contentfilter/templates/addblogfilteredcontent.template
===================================================================
--- plugins/trunk/contentfilter/templates/addblogfilteredcontent.template 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/templates/addblogfilteredcontent.template 2005-02-09 11:47:15 UTC (rev 1021)
@@ -2,11 +2,11 @@
{include file="$admintemplatepath/navigation.template" showOpt=newBlogFilteredContent title=$locale->tr("newBlogFilteredContent")}
<form name="newBlogFilteredContent" action="admin.php" method="post">
<fieldset class="inputField">
- <legend>{$locale->tr("addFilteredContent")}</legend>
+ <legend>{$locale->tr("add_filtered_content")}</legend>
{include file="$admintemplatepath/successmessage.template"}
{include file="$admintemplatepath/errormessage.template"}
<div class="field">
- <label for="filteredContent">{$locale->tr("content_to_block")}</label>
+ <label for="filteredContent">{$locale->tr("content")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("content_to_block_help")}</div>
<input type="text" name="filteredContent" id="filteredContent" value=""/>
Modified: plugins/trunk/contentfilter/templates/addfilteredcontent.template
===================================================================
--- plugins/trunk/contentfilter/templates/addfilteredcontent.template 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/templates/addfilteredcontent.template 2005-02-09 11:47:15 UTC (rev 1021)
@@ -2,11 +2,11 @@
{include file="$admintemplatepath/navigation.template" showOpt=newFilteredContent title=$locale->tr("newFilteredContent")}
<form name="newFilteredContent" action="admin.php" method="post">
<fieldset class="inputField">
- <legend>{$locale->tr("addFilteredContent")}</legend>
+ <legend>{$locale->tr("add_filtered_content")}</legend>
{include file="$admintemplatepath/successmessage.template"}
{include file="$admintemplatepath/errormessage.template"}
<div class="field">
- <label for="filteredContent">{$locale->tr("content_to_block")}</label>
+ <label for="filteredContent">{$locale->tr("content")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("content_to_block_help")}</div>
<input type="text" name="filteredContent" id="filteredContent" value=""/>
Modified: plugins/trunk/contentfilter/templates/editblogfilteredcontent.template
===================================================================
--- plugins/trunk/contentfilter/templates/editblogfilteredcontent.template 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/templates/editblogfilteredcontent.template 2005-02-09 11:47:15 UTC (rev 1021)
@@ -2,11 +2,11 @@
{include file="$admintemplatepath/navigation.template" showOpt=blogFilteredContent title=$locale->tr("blogFilteredContent")}
<form name="editBlogFilteredContent" action="admin.php" method="post">
<fieldset class="inputField">
- <legend>{$locale->tr("editFilteredContent")}</legend>
+ <legend>{$locale->tr("edit_filtered_content")}</legend>
{include file="$admintemplatepath/successmessage.template"}
{include file="$admintemplatepath/errormessage.template"}
<div class="field">
- <label for="filteredContent">{$locale->tr("content_to_block")}</label>
+ <label for="filteredContent">{$locale->tr("content")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("content_to_block_help")}</div>
<input type="text" name="filteredContent" id="filteredContent" value="{$filteredcontent->getRegExp()}"/>
Modified: plugins/trunk/contentfilter/templates/editfilteredcontent.template
===================================================================
--- plugins/trunk/contentfilter/templates/editfilteredcontent.template 2005-02-09 08:18:55 UTC (rev 1020)
+++ plugins/trunk/contentfilter/templates/editfilteredcontent.template 2005-02-09 11:47:15 UTC (rev 1021)
@@ -2,11 +2,11 @@
{include file="$admintemplatepath/navigation.template" showOpt=filteredContent title=$locale->tr("filteredContent")}
<form name="editFilteredContent" action="admin.php" method="post">
<fieldset class="inputField">
- <legend>{$locale->tr("editFilteredContent")}</legend>
+ <legend>{$locale->tr("edit_filtered_content")}</legend>
{include file="$admintemplatepath/successmessage.template"}
{include file="$admintemplatepath/errormessage.template"}
<div class="field">
- <label for="filteredContent">{$locale->tr("content_to_block")}</label>
+ <label for="filteredContent">{$locale->tr("content")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("content_to_block_help")}</div>
<input type="text" name="filteredContent" id="filteredContent" value="{$filteredcontent->getRegExp()}"/>
More information about the pLog-svn
mailing list