Skip to content

Commit

Permalink
Revision of python keywords translation (es) (#77)
Browse files Browse the repository at this point in the history
🎉 thank you @reegoram for your contribution!
  • Loading branch information
reegoram authored and madiedgar committed Oct 22, 2019
1 parent b448e03 commit 3b4a812
Showing 1 changed file with 104 additions and 104 deletions.
208 changes: 104 additions & 104 deletions locale/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1248,113 +1248,113 @@ __TRAIT__: ""
# | LANGUAGE: PYTHON |
# ----------------------
# << Keywords >>
False: "Falso" #
None: "Ninguno" #
True: "Verdadero" #
and: "Y" #
as: "como" #
assert: "afirmar" #
async: "asíncrono" #
await: "esperar" #
break: "interrumpir"
class: "clase" #
continue: "continuar" #
def: "definir" # ✅ def it's a short for define, in the traslated version isn't shorted
del: "eliminar" # ✅ same as def
elif: "si no si" #
else: "si no"
except: "excepto" #
finally: "finalmente" #
for: "para"
from: "desde" #
global: "global" #
if: "si" # ✅ same in the else keyword, in this context means "si"
import: "importar" #
in: "en" #
is: "es" #
lambda: "función anónima" # there isn't translation for this word to spanish
nonlocal: "no local" #
not: "no" #
or: "o" #
pass: "pasar" #
raise: "generar excepción"
return: "retornar" #
try: "intentar" #
while: "mientras" #
with: "con" #
yield: "entregar" # yield return a generator, insted of use "retornar", "entregar" can be more properly
False: "Falso" #
None: "Ninguno" #
True: "Verdadero" #
and: "Y" #
as: "como" #
assert: "afirmar" #❓ What about "asegurar"?
async: "asíncrono" #
await: "esperar" #
break: "interrumpir" #
class: "clase" #
continue: "continuar" #
def: "define" # ✅ def it's a short for define, in the traslated version isn't shorted ❓What about using "define" as imperative, because you're defining something?
del: "eliminar" # same as def
elif: "si no, si" #❓ I added a comma here, it's something like, if this does not satisfy let's try this other
else: "si no" #
except: "excepto" #
finally: "finalmente" #
for: "para" #
from: "desde" #
global: "global" #
if: "si" # same in the else keyword, in this context means "si"
import: "importar" #
in: "en" #
is: "es" #
lambda: "función anónima" # there isn't translation for this word to spanish, 🤔 What about using the same word?
nonlocal: "no local" #
not: "no" #
or: "o" #
pass: "pasar" #
raise: "genera excepción"
return: "regresa" #✅ Regresa sounds more natural for me than retorna
try: "intenta" #✅ I also think of using this as imperative
while: "mientras" #
with: "con" #
yield: "entregar" # yield return a generator, insted of use "retornar", "entregar" can be more properly

# << Built-In Functions >>

abs: "valor absoluto"
all: "todos iterables"
any: "alguno iterable"
ascii: "ascii" # ✅ does not have direct translation
bin: "binario"
bool: "booleano" #
breakpoint: "punto de ruptura" #
bytearray: "arreglo de byte" #
bytes: "bytes"
callable: "llamable" #
chr: "caracter" #
classmethod: "metodo de la clase" #
compile: "compilar" #
complex: "complejo" #
delattr: "eliminar atributo" # ✅ from delete attribute
dict: "diccionario" #
dir: "atributos"
divmod: "cociente y resto"
enumerate: "enumerar"
eval: "evaluar"
exec: "ejecutar" #
filter: "filtrar" #
float: "flotante" #
format: "formato" #
frozenset: "congelar" #
getattr: "obtener atributo" #
globals: "globales" #
hasattr: "tiene atributo" #
hash: "hash" # ✅ its direct translation wont make sense in this context
help: "ayuda" #
hex: "hexadecimal" #
id: "identificador" #
input: "entrada" #
int: "entero" #
isinstance: "es instancia" #
issubclass: "es subclase" #
iter: "iterador" #
len: "longitud" #
list: "lista" #
locals: "locales" #
map: "mapa" #
max: "máximo"
memoryview: "vista de memoria" #
min: "mínimo"
next: "siguiente" #
object: "objeto" #
oct: "octal" #
open: "abrir"
ord: "representación unicode" # I don't know how I would traslate this
pow: "potencia" #
print: "imprimir" #
property: "propiedad" #
range: "rango" #
repr: "representación"
reversed: "invertido" #
round: "redondear" #
set: "asignar" # ✅ it is not the direct translation but in this context it makes sense
setattr: "asignar atributo" #
slice: "cortar"
sorted: "ordenar"
staticmethod: "metodo estatico" #
str: "cadena de texto" #
sum: "suma" #
super: "superior" #
tuple: "tupla" #
type: "tipo" #
vars: "variables" #
zip: "zip" # ✅ can't be direct translated
__import__: "importar" #
abs: "valor absoluto" #
all: "todos" # I think we can omite "iterable"
any: "alguno" # same here
ascii: "ascii" # does not have direct translation
bin: "binario" #
bool: "booleano" #
breakpoint: "punto de interrupción" # Punto de interrupción sounds more natural for me
bytearray: "arreglo de byte" #
bytes: "bytes" #
callable: "llamable" #
chr: "caracter" #
classmethod: "metodo de la clase" #
compile: "compilar" #
complex: "complejo" #
delattr: "eliminar atributo" # from delete attribute
dict: "diccionario" #
dir: "atributos" #
divmod: "cociente y resto" #
enumerate: "enumerar" #
eval: "evaluar" #
exec: "ejecutar" #
filter: "filtrar" #
float: "flotante" #
format: "formato" #
frozenset: "congelar" #
getattr: "obtener atributo" #
globals: "globales" #
hasattr: "tiene atributo" #
hash: "hash" # its direct translation wont make sense in this context
help: "ayuda" #
hex: "hexadecimal" #
id: "identificador" #
input: "entrada" #
int: "entero" #
isinstance: "es instancia" #
issubclass: "es subclase" #
iter: "iterador" #
len: "longitud" #
list: "lista" #
locals: "locales" #
map: "mapa" #
max: "máximo" #
memoryview: "vista de memoria" #
min: "mínimo" #
next: "siguiente" #
object: "objeto" #
oct: "octal" #
open: "abrir" #
ord: "representación unicode" # I don't know how I would traslate this ❓What about "código unicode"?
pow: "potencia" #
print: "imprimir" #
property: "propiedad" #
range: "rango" #
repr: "representación" #
reversed: "invertido" #
round: "redondear" #
set: "asignar" # it is not the direct translation but in this context it makes sense
setattr: "asignar atributo" #
slice: "cortar" #
sorted: "ordenado"
staticmethod: "metodo estatico" #
str: "cadena de texto" #
sum: "suma" #
super: "superior" #❓ What about using padre?
tuple: "tupla" #
type: "tipo" #
vars: "variables" #
zip: "zip" # can't be direct translated
__import__: "importar" #

# << Error Messages >>

Expand Down

0 comments on commit 3b4a812

Please sign in to comment.