- Timestamp:
- 11/23/10 18:22:45 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
txp/plugins/TOOLS/trunk/ort_plugintemplate/ort_CAMBIAR_EL_NOMBRE_plugin.php
r822 r823 50 50 51 51 52 // Plugin 'flags' signal the presence of optional capabilities to the core plugin loader.53 // Us e an appropriately OR-ed combination of theseflags.54 // The four high-order bits 0xf000 are available for this plugin's private use.55 if (!defined('PLUGIN_HAS_PREFS')) define('PLUGIN_HAS_PREFS', 0x0001); // This plugin wants to receive "plugin_prefs.{$plugin['name']}" events56 if (!defined('PLUGIN_LIFECYCLE_NOTIFY')) define('PLUGIN_LIFECYCLE_NOTIFY', 0x0002); // This plugin wants to receive "plugin_lifecycle.{$plugin['name']}" events52 // Los 'flags' del plugin indican al cargador de plugins del core la presencia de capacidades opcionales. 53 // Usá una combinación OR de estos flags. 54 // Los cuatro bits más altos (0xf000) son para us privado de este plugin. 55 if (!defined('PLUGIN_HAS_PREFS')) define('PLUGIN_HAS_PREFS', 0x0001); // Este plugin quiere recibir eventos "plugin_prefs.{$plugin['nombre']}" 56 if (!defined('PLUGIN_LIFECYCLE_NOTIFY')) define('PLUGIN_LIFECYCLE_NOTIFY', 0x0002); // Este plugin quiere recibir eventos "plugin_lifecycle.{$plugin['name']}" 57 57 58 58 # $plugin['flags'] = PLUGIN_HAS_PREFS | PLUGIN_LIFECYCLE_NOTIFY; 59 59 60 // Plugin 'textpack' is optional. It provides i18n strings to be used in conjunction withgTxt().61 // S yntax:62 // ## arbitrary comment63 // #@event 64 // #@language ISO-LANGUAGE-CODE65 // abc_string_name => Localized String60 // El 'textpack' del plugin es opcional. Esto provee textos i18n para ser utilizados en conjunto con gTxt(). 61 // Sintáxis: 62 // ## comentario arbitrario 63 // #@evento 64 // #@language CODIGO-ISO-DE-IDIOMA 65 // ort_cadena_de_texto => Texto localizado en el idioma 66 66 67 /** Uncomment me, if you need atextpack67 /** Descomentar esto si se necesita un textpack 68 68 $plugin['textpack'] = <<< EOT 69 69 #@admin 70 70 #@language en-gb 71 abc_sample_string=> Sample String72 abc_one_more=> One more71 ort_cadena => Sample String 72 ort_otra => One more 73 73 #@language es-es 74 abc_sample_string=> Texto de ejemplo75 abc_one_more=> Uno más74 ort_cadena => Texto de ejemplo 75 ort_otra => Uno más 76 76 EOT; 77 77 **/ 78 // End oftextpack78 // Fin del textpack 79 79 80 80 if (!defined('txpinterface'))
