1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
<?php
# Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd.
# This program is distributed under the terms of the
# GNU General Public License, version 2.
#
# $Id$
global $Lexicon_es;
$Lexicon_es = array(
## php/lib/function.mtassettype.php
'image' => 'Imagen',
'Image' => 'Imagen',
'file' => 'fichero',
'File' => 'Fichero',
'audio' => 'Audio',
'Audio' => 'Audio',
'video' => 'Vídeo',
'Video' => 'Vídeo',
## php/lib/function.mtvar.php
'You used a [_1] tag without a valid name attribute.' => 'Usó la etiqueta [_1] sin un nombre de atributo válido.',
'\'[_1]\' is not a valid function for a hash.' => '\'[_1]\' no es una función válida para un hash.',
'\'[_1]\' is not a valid function for an array.' => '\'[_1]\' no es una función válida para un array.',
'[_1] [_2] [_3] is illegal.' => '[_1] [_2] [_3] es ilegal.',
## php/lib/function.mtwidgetmanager.php
'Error: widgetset [_1] is empty.' => 'Error: el conjunto de widgets [_1] está vacío',
'Error compiling widgetset [_1]' => 'Error compilando el conjunto de widgets [_1]',
## php/lib/thumbnail_lib.php
'GD support has not been available. Please install GD support.' => 'No tiene soporte de GD. Por favor, instale GD.', # Translate - New
## php/lib/function.mtcommentauthor.php
'Anonymous' => 'Anónimo',
## php/lib/archive_lib.php
'Page' => 'Página',
'Individual' => 'Inidivual',
'Yearly' => 'Anuales',
'Monthly' => 'Mensuales',
'Daily' => 'Diarias',
'Weekly' => 'Semanales',
'Author' => 'Por Autor',
'(Display Name not set)' => '(Nombre no configurado)',
'Author Yearly' => 'Anuales del autor',
'Author Monthly' => 'Mensuales del autor',
'Author Daily' => 'Diarios del autor',
'Author Weekly' => 'Semanales del autor',
'Category Yearly' => 'Categorías anuales',
'Category Monthly' => 'Categorías mensuales',
'Category Daily' => 'Categorías diarias',
'Category Weekly' => 'Categorías semanales',
## php/lib/block.mtsethashvar.php
## php/lib/block.mtif.php
## php/lib/function.mtremotesigninlink.php
'TypeKey authentication is not enabled in this blog. MTRemoteSignInLink can\'t be used.' => 'La autentificación en TypeKey no está habilitada en este blog. No se puede usar MTRemoteSignInLink.',
## php/lib/block.mtauthorhaspage.php
'No author available' => 'Ningún autor disponible',
## php/lib/block.mtauthorhasentry.php
## php/lib/function.mtproductname.php
'[_1] [_2]' => '[_1] [_2]',
## php/lib/captcha_lib.php
'Captcha' => 'Captcha',
'Type the characters you see in the picture above.' => 'Introduzca los caracteres que ve en la imagen de arriba.',
## php/lib/function.mtcommentauthorlink.php
## php/lib/MTUtil.php
'userpic-[_1]-%wx%h%x' => 'avatar-[_1]-%wx%h%x',
## php/lib/function.mtsetvar.php
'\'[_1]\' is not a hash.' => '\'[_1]\' no es un hash.',
'Invalid index.' => 'Índice no válido.',
'\'[_1]\' is not an array.' => '\'[_1]\' no es un array.',
'\'[_1]\' is not a valid function.' => '\'[_1]\' no es una función válida.',
## php/lib/block.mtassets.php
'sort_by="score" must be used in combination with namespace.' => 'sort_by="score" debe usarse en combinación con el espacio de nombres.',
## php/lib/block.mtsetvarblock.php
## php/lib/block.mtentries.php
## php/lib/function.mtauthordisplayname.php
## php/lib/function.mtcommentreplytolink.php
'Reply' => 'Responder',
## php/lib/function.mtentryclasslabel.php
'page' => 'página',
'entry' => 'entrada',
'Entry' => 'Entrada',
## php/mt.php.pre
'Page not found - [_1]' => 'Página no encontrada - [_1]',
);
function translate_phrase($str, $params = null) {
global $Lexicon, $Lexicon_es;
$l10n_str = isset($Lexicon_es[$str]) ? $Lexicon_es[$str] : (isset($Lexicon[$str]) ? $Lexicon[$str] : $str);
if (extension_loaded('mbstring')) {
$str = mb_convert_encoding($l10n_str,mb_internal_encoding(),"UTF-8");
} else {
$str = $l10n_str;
}
return translate_phrase_param($str, $params);
}
?>
|