[pLog-svn] r7276 - in plugins/branches/lifetype-1.2/stickyposts: . class/action locale
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Feb 19 14:18:39 EST 2024
Author: jondaley
Date: 2024-02-19 14:18:39 -0500 (Mon, 19 Feb 2024)
New Revision: 7276
Removed:
plugins/branches/lifetype-1.2/stickyposts/locale/locale_es_ES.php
Modified:
plugins/branches/lifetype-1.2/stickyposts/class/action/pluginstickypostsupdateconfigaction.class.php
plugins/branches/lifetype-1.2/stickyposts/locale/locale_en_UK.php
plugins/branches/lifetype-1.2/stickyposts/locale/locale_zh_CN.php
plugins/branches/lifetype-1.2/stickyposts/pluginstickyposts.class.php
Log:
mostly locale fixes
Modified: plugins/branches/lifetype-1.2/stickyposts/class/action/pluginstickypostsupdateconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/stickyposts/class/action/pluginstickypostsupdateconfigaction.class.php 2024-02-19 18:35:34 UTC (rev 7275)
+++ plugins/branches/lifetype-1.2/stickyposts/class/action/pluginstickypostsupdateconfigaction.class.php 2024-02-19 19:18:39 UTC (rev 7276)
@@ -40,13 +40,13 @@
$this->_stickyCategoryId = $this->_request->getValue( "stickyCategoryId" );
if( $this->_stickyCategoryId == ""){
- $errorMessages[] = "stickyposts_error_stickyCategoryId";
+ $errorMessages[] = "stickyposts_error_stickycategoryid";
$isError = true;
}
$this->_announceCategoryId = $this->_request->getValue( "announceCategoryId" );
if( $this->_announceCategoryId == ""){
- $errorMessages[] = "stickyposts_error_announceCategoryId";
+ $errorMessages[] = "stickyposts_error_announcecategoryid";
$isError = true;
}
Modified: plugins/branches/lifetype-1.2/stickyposts/locale/locale_en_UK.php
===================================================================
--- plugins/branches/lifetype-1.2/stickyposts/locale/locale_en_UK.php 2024-02-19 18:35:34 UTC (rev 7275)
+++ plugins/branches/lifetype-1.2/stickyposts/locale/locale_en_UK.php 2024-02-19 19:18:39 UTC (rev 7276)
@@ -1,17 +1,25 @@
<?php
$messages["manageRecentPlugins"] = "Recent Activities Management";
-$messages["RecentComments"] = "Recent Comments";
-$messages["recentcomments"] = "Recent Comments";
-$messages["view_comment_by"] = "View comment by %s";
-$messages["recentcomments_maxcomments"] = "Maximum Showed Comments";
-$messages["recentcomments_plugin_enabled"] = "Enable this plugin";
-$messages["recentcomments_plugin"] = "Recent Comments Plugin";
+$messages["stickyposts"] = "Sticky Posts";
+$messages["StickyPosts"] = $messages["stickyposts"];
-$messages["recentcomments_settings_saved_ok"] = "Recent Comments settings saved successfully!";
-$messages["recentcomments_error_maxcomments"] = "Maximum Showed Comments Should > 0!";
+$messages["stickyposts_maxstickys"] = "Maximum number of sticky posts";
+$messages["stickyposts_maxannounces"] = "Maximum number of announcement posts";
+$messages["stickyposts_stickycategory"] = "Choose a category to use for the sticky posts at the top of the blog";
+$messages["stickyposts_announcecategory"] = "Choose a category to use for announcements";
+$messages["stickyposts_plugin_enabled"] = "Enable this plugin";
+$messages["stickyposts_plugin"] = "Sticky Posts";
+$messages["stickyposts_settings_saved_ok"] = "Settings saved successfully.";
+$messages["stickyposts_error_maxstickys"] = "The maximum must be set to a number larger > 0!";
+$messages["stickyposts_error_maxannounces"] = $messages["stickyposts_error_maxstickys"];
+$messages["stickyposts_error_stickycategoryid"] = "You need to specify a valid sticky category";
+$messages["stickyposts_error_announcecategoryid"] = "You need to specify a valid announcement category";
+
$messages["label_configuration"] = "Configuration";
$messages["label_enable"] = "Enable";
-$messages["label_maxcomments"] = "Max Comments";
-?>
\ No newline at end of file
+$messages["label_maxstickys"] = "Max Sticky Posts";
+$messages["label_maxannounces"] = "Max Announcement Posts";
+$messages["label_stickycategory"] = "Sticky Category";
+$messages["label_announcecategory"] = "Announcement Category";
Deleted: plugins/branches/lifetype-1.2/stickyposts/locale/locale_es_ES.php
===================================================================
--- plugins/branches/lifetype-1.2/stickyposts/locale/locale_es_ES.php 2024-02-19 18:35:34 UTC (rev 7275)
+++ plugins/branches/lifetype-1.2/stickyposts/locale/locale_es_ES.php 2024-02-19 19:18:39 UTC (rev 7276)
@@ -1,22 +0,0 @@
-<?php
-
-// Translation by Andres Bianciotto plog at a-b.com.ar
-// Date 09/Apr/2005
-//
-
-$messages["manageRecentPlugins"] = "Actividades recientes";
-$messages["RecentComments"] = "Comentarios Recientes";
-$messages["recentcomments"] = "Comentarios recientes";
-$messages["view_comment_by"] = "Ver comentario %s";
-
-$messages["recentcomments_maxcomments"] = "Máximo de coment. a mostrar";
-$messages["recentcomments_plugin_enabled"] = "Activar este plugin";
-$messages["recentcomments_plugin"] = "Plugin Comentarios recientes";
-
-$messages["recentcomments_settings_saved_ok"] = "Los datos se han guardado con éxito";
-$messages["recentcomments_error_maxcomments"] = "El máximo debe ser mayor a 0!";
-
-$messages["label_configuration"] = "Configuración";
-$messages["label_enable"] = "Activar";
-$messages["label_maxcomments"] = "Comentarios Máx";
-?>
\ No newline at end of file
Modified: plugins/branches/lifetype-1.2/stickyposts/locale/locale_zh_CN.php
===================================================================
--- plugins/branches/lifetype-1.2/stickyposts/locale/locale_zh_CN.php 2024-02-19 18:35:34 UTC (rev 7275)
+++ plugins/branches/lifetype-1.2/stickyposts/locale/locale_zh_CN.php 2024-02-19 19:18:39 UTC (rev 7276)
@@ -3,7 +3,7 @@
$messages["stickyposts"] = "置顶及公告文章设定";
$messages["StickyPosts"] = "置顶及公告文章设定";
-$messages["stickyposts_maxstikcys"] = "置顶文章显示数量";
+$messages["stickyposts_maxstickys"] = "置顶文章显示数量";
$messages["stickyposts_maxannounces"] = "公告文章显示数量";
$messages["stickyposts_stickycategory"] = "选择置顶文章的分类";
$messages["stickyposts_announcecategory"] = "选择公告文章的分类";
@@ -22,4 +22,4 @@
$messages["label_maxannounces"] = "显示公告文章数目";
$messages["label_stickycategory"] = "显示置顶文章的分类";
$messages["label_announcecategory"] = "显示公告文章的分类";
-?>
\ No newline at end of file
+?>
Modified: plugins/branches/lifetype-1.2/stickyposts/pluginstickyposts.class.php
===================================================================
--- plugins/branches/lifetype-1.2/stickyposts/pluginstickyposts.class.php 2024-02-19 18:35:34 UTC (rev 7275)
+++ plugins/branches/lifetype-1.2/stickyposts/pluginstickyposts.class.php 2024-02-19 19:18:39 UTC (rev 7276)
@@ -20,9 +20,9 @@
$this->PluginBase($source);
$this->id = "stickyposts";
- $this->author = "lss(1.0)/EagleKing(porting to 1.1)";
+ $this->author = "lss(1.0)/EagleKing(porting to 1.1)/jondaley(port to 1.2)";
$this->desc = "This plugin offers features to get all articles from specific article cateogries as announcements and sticky articles.";
- $this->version = "20070708";
+ $this->version = "20240219";
$this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES" );
if($source == "admin")
More information about the pLog-svn
mailing list