[pLog-svn] r4063 - in plugins/branches/lifetype-1.1/gravatar: . locale

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Sep 28 20:42:19 GMT 2006


Author: oscar
Date: 2006-09-28 20:42:19 +0000 (Thu, 28 Sep 2006)
New Revision: 4063

Added:
   plugins/branches/lifetype-1.1/gravatar/locale/locale_ca_ES.php
   plugins/branches/lifetype-1.1/gravatar/locale/locale_es_ES.php
Modified:
   plugins/branches/lifetype-1.1/gravatar/locale/locale_en_UK.php
   plugins/branches/lifetype-1.1/gravatar/plugingravatar.class.php
   plugins/branches/lifetype-1.1/gravatar/readme.txt
Log:
updated locales and XHTML fixes from Elena


Added: plugins/branches/lifetype-1.1/gravatar/locale/locale_ca_ES.php
===================================================================
--- plugins/branches/lifetype-1.1/gravatar/locale/locale_ca_ES.php	2006-09-28 13:27:37 UTC (rev 4062)
+++ plugins/branches/lifetype-1.1/gravatar/locale/locale_ca_ES.php	2006-09-28 20:42:19 UTC (rev 4063)
@@ -0,0 +1,21 @@
+<?php
+$messages["manageAppearancePlugins"] = "Aspecte";
+$messages["Gravatar"] = "Gravatars";
+
+$messages["gravatar_rating"] = "Qualificació de l'Avatar Permesa";
+$messages["gravatar_default"] = "Selecciona un Avatar per defecte (aquest Avatar es mostrarà si l'usuari que fa un comentari no té un gravatar registrat a http://www.gravatar.com)";
+$messages["gravatar_avatar_name"] = "Nom";
+$messages["gravatar_avatar_image"] = "Imatge";
+$messages["gravatar_size"] = "Mida del gravatar";
+$messages["gravatar_plugin_enabled"] = "Activa aquest complement";
+$messages["gravatar_plugin"] = "Complement Gravatars";
+
+$messages["gravatar_settings_saved_ok"] = "Configuracio de Gravatars actualitzada correctament!";
+
+$messages["label_configuration"] = "Configuració";
+$messages["label_enable"] = "Activa";
+$messages["label_rating"] = "Qualificació";
+$messages["label_size"] = "Mida";
+$messages["label_default"] = "Predeterminada";
+$messages["gravatar_support"] = "Amb suport per a <a href=\"http://www.gravatar.com\">Gravatars</a>";
+?>
\ No newline at end of file

Modified: plugins/branches/lifetype-1.1/gravatar/locale/locale_en_UK.php
===================================================================
--- plugins/branches/lifetype-1.1/gravatar/locale/locale_en_UK.php	2006-09-28 13:27:37 UTC (rev 4062)
+++ plugins/branches/lifetype-1.1/gravatar/locale/locale_en_UK.php	2006-09-28 20:42:19 UTC (rev 4063)
@@ -17,4 +17,5 @@
 $messages["label_rating"] = "Rating";
 $messages["label_size"] = "Size";
 $messages["label_default"] = "Default";
+$messages["gravatar_support"] = "<a href=\"http://www.gravatar.com\">Gravatars</a> enabled";
 ?>
\ No newline at end of file

Added: plugins/branches/lifetype-1.1/gravatar/locale/locale_es_ES.php
===================================================================
--- plugins/branches/lifetype-1.1/gravatar/locale/locale_es_ES.php	2006-09-28 13:27:37 UTC (rev 4062)
+++ plugins/branches/lifetype-1.1/gravatar/locale/locale_es_ES.php	2006-09-28 20:42:19 UTC (rev 4063)
@@ -0,0 +1,21 @@
+<?php
+$messages["manageAppearancePlugins"] = "Aspecto";
+$messages["Gravatar"] = "Gravatares";
+
+$messages["gravatar_rating"] = "Calificación del Avatar permitida";
+$messages["gravatar_default"] = "Selecciona un Avatar por defecto (este Avatar se mostrará si el usuario que hace un comentario no tiene un gravatar registrado en http://www.gravatar.com)";
+$messages["gravatar_avatar_name"] = "Nombre";
+$messages["gravatar_avatar_image"] = "Imagen";
+$messages["gravatar_size"] = "Medida del gravatar";
+$messages["gravatar_plugin_enabled"] = "Activa este complemento";
+$messages["gravatar_plugin"] = "Complemento Gravatares";
+
+$messages["gravatar_settings_saved_ok"] = "Configuración de Gravatares actualizada correctamente!";
+
+$messages["label_configuration"] = "Configuración";
+$messages["label_enable"] = "Activa";
+$messages["label_rating"] = "Calificación";
+$messages["label_size"] = "Medida";
+$messages["label_default"] = "Predeterminada";
+$messages["gravatar_support"] = "Con soporte para <a href=\"http://www.gravatar.com\">Gravatares</a>";
+?>
\ No newline at end of file

Modified: plugins/branches/lifetype-1.1/gravatar/plugingravatar.class.php
===================================================================
--- plugins/branches/lifetype-1.1/gravatar/plugingravatar.class.php	2006-09-28 13:27:37 UTC (rev 4062)
+++ plugins/branches/lifetype-1.1/gravatar/plugingravatar.class.php	2006-09-28 20:42:19 UTC (rev 4063)
@@ -87,7 +87,7 @@
                 
             if($comment->getUserEmail() != "")
             {
-	            $gravatar_url = "http://www.gravatar.com/avatar.php?rating=".$rating."&gravatar_id=".md5($comment->getUserEmail())."&default=".urlencode($default)."&size=".$size;
+	            $gravatar_url = "http://www.gravatar.com/avatar.php?rating=".$rating."&amp;gravatar_id=".md5($comment->getUserEmail())."&amp;default=".urlencode($default)."&amp;size=".$size;
             } else {
 	            $gravatar_url = $default;
             }

Modified: plugins/branches/lifetype-1.1/gravatar/readme.txt
===================================================================
--- plugins/branches/lifetype-1.1/gravatar/readme.txt	2006-09-28 13:27:37 UTC (rev 4062)
+++ plugins/branches/lifetype-1.1/gravatar/readme.txt	2006-09-28 20:42:19 UTC (rev 4063)
@@ -20,4 +20,9 @@
 <img src="{$gravatar->gravatar($comment)}" width="{$gravatar->getSize()}" height="{$gravatar->getSize()}" align="left" />
 {/if}
 
-You can add your own default avatar image to /plugin/gravatar/avatars. This plugin only support GIF and JPG format currently.
\ No newline at end of file
+You can add your own default avatar image to /plugin/gravatar/avatars. This plugin only support GIF and JPG format currently.
+
+You can also add a note by the email field to inform users that gravatars are enabled:
+{if $gravatar && $gravatar->isEnabled()}
+{$locale->pr("gravatar_support")}
+{/if}
\ No newline at end of file



More information about the pLog-svn mailing list