Advertisement
Guest User

Infraction System 1.1

a guest
Feb 23rd, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.25 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * phpBB Infraction System
  5. *
  6. * @package phpBB3
  7. * @copyright (c) 2012 Nelsaidi
  8. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  9. *
  10. */
  11.  
  12. /**
  13. * @ignore
  14. */
  15. if (!defined('IN_PHPBB'))
  16. {
  17.     exit;
  18. }
  19.  
  20. /**
  21. * DO NOT CHANGE
  22. */
  23. if (empty($lang) || !is_array($lang))
  24. {
  25.     $lang = array();
  26. }
  27.  
  28. $lang = array_merge($lang, array(
  29.     'INFRACTIONS'                   => 'Infracciones',
  30.     'ACP_INFRACTIONS'               => 'Infracciones',
  31.     'MCP_INFRACTIONS'               => 'Infracciones',
  32.     'UCP_YOUR_INFRACTIONS'          => 'Infracciones',
  33.    
  34.     'ISSUE_INFRACTION'              => 'Emitir infracción',
  35.     'VIEW_INFRACTION'               => 'Ver infracciones',
  36.    
  37.     'MCP_ISSUE_INFRACTION'          => 'Emitir infracción',
  38.     'MCP_VIEW_INFRACTIONS'          => 'Ver infracciones',
  39.    
  40.     'ACP_INFRACTION_TEMPLATES'      => 'Plantillas',
  41.     'ACP_INFRACTION_ADD_TEMPLATE'   => 'Añadir plantilla',
  42.     'ACP_INFRACTION_GENERAL'        => 'Configuración general',
  43.     'ACP_INFRACTION_NO_TEMPLATES'   => 'No hay plantillas, utilice el enlace de arriba para añadir uno',
  44.    
  45.     'INFRACTION_PM_SIG'             => 'Firma de MP',
  46.     'INFRACTION_PM_SIG_EXPLAIN'     => 'Firma del MP enviado a los usuarios que recieven las infracciones, utilizar <strong>%s</strong> para mostrar el nombre del usuario que emite',
  47.     'INFRACTION_DELETE_KEEP_TIME'   => 'Tiempo para remover las infracciones (días)',
  48.     'INFRACTION_DELETE_KEEP_TIME_EXPLAIN' => 'Sólo es aplicable cuando anteriormente se establece en No, introduzca 0 para mantener por siempre',
  49.     'INFRACTION_DELETE_TYPE'        => 'Forzar eliminar',
  50.     'INFRACTION_DELETE_TYPE_EXPLAIN'=> 'Si desea mantener las infracciones en la base de datos como historial seleccione "No"',
  51.    
  52.    
  53.     'INFRACTION_LOG_ISSUED'         => 'Emitió una infracción a %s',
  54.     'INFRACTION_LOG_DELETED'        => 'Suprimido una infracción emitida a %s',
  55.     'INFRACTION_LOG_UPDATED'        => 'La configuración de infracción actualizada',
  56.    
  57.     'INFRACTION_DELETE_CONFIRM'     => '¿Está seguro que desea eliminar esta infracción?',
  58.    
  59.     'INFRACTION_TEMPLATE_NAME'      => 'Nombre de la plantilla',
  60.     'INFRACTION_NO_TEMPLATES'       => 'No existen plantillas ',
  61.     'INFRACTION_TEMPLATE'           => 'Plantilla',
  62.     'INFRACTION_CUSTOM'             => 'Custom',
  63.    
  64.     'INFRACTION_REASON'             => 'Razón',
  65.     'INFRACTION_DURATION'           => 'Duración',
  66.     'INFRACTION_DURATION_CUSTOM'    => 'Duración personalizada',
  67.     'INFRACTION_PERMANENT'          => 'Permanente',
  68.     'INFRACTION_POINTS'             => 'Puntos de infracción',
  69.     'INFRACTION_DELETE'             => 'Eliminar',
  70.     'INFRACTION_MOVE_UP'            => 'Arriba',
  71.     'INFRACTION_MOVE_DOWN'          => 'Abajo',
  72.     'INFRACTION_DAY'                => 'Día',
  73.     'INFRACTION_DAYS'               => 'Días',
  74.     'INFRACTION_WEEK'               => 'Semana',
  75.     'INFRACTION_WEEKS'              => 'Semanas',
  76.     'INFRACTION_MONTH'              => 'Mes',
  77.     'INFRACTION_MONTHS'             => 'Meses',
  78.     'INFRACTION_REASON_DESC'        => 'La razón presentada al usuario por esta infracción.',
  79.     'INFRACTION_NOT_EXIST'          => 'La infracción no existe',
  80.     'INFRACTION_POINTS_ISSUED'      => 'Puntos de emisión',
  81.     'INFRACTION_NONE_CURRENT'       => 'No hay infracciones actuales',
  82.     'INFRACTION_DATE'               => 'Fecha',
  83.     'INFRACTION_EXPIRE'             => 'Fecha de vencimiento',
  84.     'INFRACTION_TOTAL_POINTS'       => 'Total de puntos',
  85.     'INFRACTION_NEVER'              => 'Nunca',
  86.     'INFRACTION_T_DELETE'           => 'Eliminar',
  87.     'INFRACTION_NO_REASON_NAME'     => 'Razón o el nombre no puede estar en blanco',
  88.     'INFRACTION_EDIT'               => 'Editar Infracción',
  89.    
  90.     'INFRACTION_TEMPLATE_DELETE'    => 'Eliminar plantilla',
  91.     'INFRACTION_TEMPLATE_DELETE_CONFIRM' => '¿Está seguro que desea eliminar esta plantilla?',
  92.    
  93.     'INFRACTION_ENTER_USERNAME'     => 'Por favor, use este formulario para introducir un nombre de usuario or utilizar el botón de infracción de mensajes',
  94.    
  95.     'INFRACTION_OOPS'               => 'Vaya, algo salió mal, regresa y vuelve a intentarlo.',
  96.     'INFRACTION_USER_NOT_EXIST'     => 'El usuario seleccionado no existe',
  97.     'INFRACTION_ISSUE_YOURSELF'     => 'No se puede emitir una infracción a uno mismo',
  98.     'INFRACTIOS_ISSUE_GUEST'        => 'No se puede emitir una infracción a un usuario invitado',
  99.    
  100.     'INFRACTION_NEGATIVE_POINTS'    => 'Usted no puede emitir puntos negativos, intente eliminar las infracciones para reducir el conteo de puntos',
  101.     'INFRACTION_INVALID_DATE'       => 'Fecha no válida, la fecha debe ser a partir de hoy y existen',
  102.    
  103.     // Note, week, days, hours, etc should be as such and english, they are parsed by PHP.
  104.     'INFRACTION_DUR_CUSTOM_NOTE'    => 'Introduzca la duración personalizada, como 1 semana 2 días 4 horas 2 segundos',
  105.  
  106.     'INFRACTION_YOUR_TOTAL'         => 'Usted tiene <strong>%d</strong> puntos en total',
  107.    
  108.     'INFRACTION_PM_SUBJECT'         => 'Usted ha recibido una infracción',
  109.     // %1$s > Username, %2$s > Reason , %3$s > Infraction Points, %4$s >  Total Infraction Points, %5$s > Signature
  110.     'INFRACTION_PM_BODY'            =>    "Estimado %1\$s, \n"
  111.                                         . "Se ha emitido una infracción con los siguientes datos: \n"
  112.                                         . "  \n"
  113.                                         . "Razón: %2\$s \n"
  114.                                         . "Puntos de infracción: %3\$s\n"
  115.                                         . "  \n"
  116.                                         . "Sus puntos de infracción total ahora es %4\$s  \n"
  117.                                         . "%5\$s",
  118.  
  119. ));
  120.    
  121.  
  122. $lang = array_merge($lang, array(
  123.     'acl_m_infractions'          => array('lang' => 'Puede ver infracciones', 'cat' => 'misc'),
  124.     'acl_m_infractions_issue'    => array('lang' => 'Puede emitir infracciones', 'cat' => 'misc'),
  125.     'acl_m_infractions_delete'    => array('lang' => 'Puede eliminar infracciones', 'cat' => 'misc'),
  126.    
  127. ));
  128.  
  129. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement