Skip to content

Commit

Permalink
Traducción a Español
Browse files Browse the repository at this point in the history
Traducción a Español
  • Loading branch information
LopezTutoriales committed Jul 16, 2023
1 parent 6e954f5 commit b1353a2
Show file tree
Hide file tree
Showing 46 changed files with 1,360 additions and 1,356 deletions.
6 changes: 3 additions & 3 deletions bdk/ianos/elfload/elfload.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ el_status el_load(el_ctx *ctx, el_alloc_cb alloc)
if (!dest)
return EL_ENOMEM;

EL_DEBUG("Loading seg fileoff %x, vaddr %x to %p\n",
EL_DEBUG("Cargando seg fileoff %x, vaddr %x a %p\n",
ph.p_offset, ph.p_vaddr, dest);

/* read loaded portion */
Expand Down Expand Up @@ -282,7 +282,7 @@ el_status el_relocate(el_ctx *ctx)

if (ri.entrysize != sizeof(Elf_Rel) && ri.tablesize)
{
EL_DEBUG("Relocation size %u doesn't match expected %u\n",
EL_DEBUG("Tam. de reubicacion %u no coincide %u\n",
ri.entrysize, sizeof(Elf_Rel));
return EL_BADREL;
}
Expand All @@ -302,7 +302,7 @@ el_status el_relocate(el_ctx *ctx)

if (ri.entrysize != sizeof(Elf_RelA) && ri.tablesize)
{
EL_DEBUG("Relocation size %u doesn't match expected %u\n",
EL_DEBUG("Tam. de reubicacion %u no coincide %u\n",
ri.entrysize, sizeof(Elf_RelA));
return EL_BADREL;
}
Expand Down
12 changes: 6 additions & 6 deletions bdk/ianos/elfload/elfreloc_aarch64.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ el_status el_applyrela(el_ctx *ctx, Elf_RelA *rel)
case R_AARCH64_RELATIVE:
if (sym)
{
EL_DEBUG("R_AARCH64_RELATIVE with symbol ref!\n");
EL_DEBUG("R_AARCH64_RELATIVE con simbolo ref!\n");
return EL_BADREL;
}

EL_DEBUG("Applying R_AARCH64_RELATIVE reloc @%p\n", p);
EL_DEBUG("Aplicando R_AARCH64_RELATIVE reloc @%p\n", p);
*p = rel->r_addend + ctx->base_load_vaddr;
break;

default:
EL_DEBUG("Bad relocation %u\n", type);
EL_DEBUG("Mala reubicacion %u\n", type);
return EL_BADREL;
}

Expand All @@ -65,16 +65,16 @@ el_status el_applyrel(el_ctx *ctx, Elf_Rel *rel)
case R_AARCH64_RELATIVE:
if (sym)
{
EL_DEBUG("R_AARCH64_RELATIVE with symbol ref!\n");
EL_DEBUG("R_AARCH64_RELATIVE con simbolo ref!\n");
return EL_BADREL;
}

EL_DEBUG("Applying R_AARCH64_RELATIVE reloc @%p\n", p);
EL_DEBUG("Aplicando R_AARCH64_RELATIVE reloc @%p\n", p);
*p += ctx->base_load_vaddr;
break;

default:
EL_DEBUG("Bad relocation %u\n", type);
EL_DEBUG("Mala reubicacion %u\n", type);
return EL_BADREL;
}

Expand Down
14 changes: 7 additions & 7 deletions bdk/libs/compr/lz4.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,12 @@ LZ4_FORCE_INLINE void LZ4_prepareTable(
|| tableType == byPtr
|| inputSize >= 4 KB)
{
DEBUGLOG(4, "LZ4_prepareTable: Resetting table in %p", cctx);
DEBUGLOG(4, "LZ4_prepareTable: Reseteando tabla en %p", cctx);
MEM_INIT(cctx->hashTable, 0, LZ4_HASHTABLESIZE);
cctx->currentOffset = 0;
cctx->tableType = clearedTable;
} else {
DEBUGLOG(4, "LZ4_prepareTable: Re-use hash table (no reset)");
DEBUGLOG(4, "LZ4_prepareTable: Re-usar hash de tabla (no reset)");
}
}

Expand All @@ -447,7 +447,7 @@ LZ4_FORCE_INLINE void LZ4_prepareTable(
* currentOffset == 0 is faster still, so we preserve that case.
*/
if (cctx->currentOffset != 0 && tableType == byU32) {
DEBUGLOG(5, "LZ4_prepareTable: adding 64KB to currentOffset");
DEBUGLOG(5, "LZ4_prepareTable: Sumando 64KB al Offset actual");
cctx->currentOffset += 64 KB;
}

Expand Down Expand Up @@ -583,7 +583,7 @@ LZ4_FORCE_INLINE int LZ4_compress_generic(
}
} else if (dictDirective==usingExtDict) {
if (matchIndex < startIndex) {
DEBUGLOG(7, "extDict candidate: matchIndex=%5u < startIndex=%5u", matchIndex, startIndex);
DEBUGLOG(7, "extDict candidato: matchIndex=%5u < startIndex=%5u", matchIndex, startIndex);
match = dictBase + matchIndex;
lowLimit = dictionary;
} else {
Expand Down Expand Up @@ -660,11 +660,11 @@ LZ4_FORCE_INLINE int LZ4_compress_generic(
matchCode += more;
ip += more;
}
DEBUGLOG(6, " with matchLength=%u starting in extDict", matchCode+MINMATCH);
DEBUGLOG(6, " con matchLength=%u empezando en extDict", matchCode+MINMATCH);
} else {
matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, matchlimit);
ip += MINMATCH + matchCode;
DEBUGLOG(6, " with matchLength=%u", matchCode+MINMATCH);
DEBUGLOG(6, " con matchLength=%u", matchCode+MINMATCH);
}

if ( outputLimited && /* Check output buffer overflow */
Expand Down Expand Up @@ -1106,7 +1106,7 @@ int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize)
const BYTE* const dictEnd = p + dictSize;
const BYTE* base;

DEBUGLOG(4, "LZ4_loadDict (%i bytes from %p into %p)", dictSize, dictionary, LZ4_dict);
DEBUGLOG(4, "LZ4_loadDict (%i bytes desde %p a %p)", dictSize, dictionary, LZ4_dict);

LZ4_prepareTable(dict, 0, tableType);

Expand Down
28 changes: 14 additions & 14 deletions bdk/libs/compr/lz4.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,16 +532,16 @@ union LZ4_streamDecode_u {
#endif /* LZ4_DISABLE_DEPRECATE_WARNINGS */

/* Obsolete compression functions */
LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress (const char* source, char* dest, int sourceSize);
LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress_limitedOutput (const char* source, char* dest, int sourceSize, int maxOutputSize);
LZ4_DEPRECATED("use LZ4_compress_fast_extState() instead") LZ4LIB_API int LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize);
LZ4_DEPRECATED("use LZ4_compress_fast_extState() instead") LZ4LIB_API int LZ4_compress_limitedOutput_withState (void* state, const char* source, char* dest, int inputSize, int maxOutputSize);
LZ4_DEPRECATED("use LZ4_compress_fast_continue() instead") LZ4LIB_API int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize);
LZ4_DEPRECATED("use LZ4_compress_fast_continue() instead") LZ4LIB_API int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize, int maxOutputSize);
LZ4_DEPRECATED("usa LZ4_compress_default() en su lugar") LZ4LIB_API int LZ4_compress (const char* source, char* dest, int sourceSize);
LZ4_DEPRECATED("usa LZ4_compress_default() en su lugar") LZ4LIB_API int LZ4_compress_limitedOutput (const char* source, char* dest, int sourceSize, int maxOutputSize);
LZ4_DEPRECATED("usa LZ4_compress_fast_extState() en su lugar") LZ4LIB_API int LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize);
LZ4_DEPRECATED("usa LZ4_compress_fast_extState() en su lugar") LZ4LIB_API int LZ4_compress_limitedOutput_withState (void* state, const char* source, char* dest, int inputSize, int maxOutputSize);
LZ4_DEPRECATED("usa LZ4_compress_fast_continue() en su lugar") LZ4LIB_API int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize);
LZ4_DEPRECATED("usa LZ4_compress_fast_continue() en su lugar") LZ4LIB_API int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize, int maxOutputSize);

/* Obsolete decompression functions */
LZ4_DEPRECATED("use LZ4_decompress_fast() instead") LZ4LIB_API int LZ4_uncompress (const char* source, char* dest, int outputSize);
LZ4_DEPRECATED("use LZ4_decompress_safe() instead") LZ4LIB_API int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize);
LZ4_DEPRECATED("usa LZ4_decompress_fast() en su lugar") LZ4LIB_API int LZ4_uncompress (const char* source, char* dest, int outputSize);
LZ4_DEPRECATED("usa LZ4_decompress_safe() en su lugar") LZ4LIB_API int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize);

/* Obsolete streaming functions; degraded functionality; do not use!
*
Expand All @@ -552,14 +552,14 @@ LZ4_DEPRECATED("use LZ4_decompress_safe() instead") LZ4LIB_API int LZ4_uncompres
* achieved will therefore be no better than compressing each chunk
* independently.
*/
LZ4_DEPRECATED("Use LZ4_createStream() instead") LZ4LIB_API void* LZ4_create (char* inputBuffer);
LZ4_DEPRECATED("Use LZ4_createStream() instead") LZ4LIB_API int LZ4_sizeofStreamState(void);
LZ4_DEPRECATED("Use LZ4_resetStream() instead") LZ4LIB_API int LZ4_resetStreamState(void* state, char* inputBuffer);
LZ4_DEPRECATED("Use LZ4_saveDict() instead") LZ4LIB_API char* LZ4_slideInputBuffer (void* state);
LZ4_DEPRECATED("Usa LZ4_createStream() en su lugar") LZ4LIB_API void* LZ4_create (char* inputBuffer);
LZ4_DEPRECATED("Usa LZ4_createStream() en su lugar") LZ4LIB_API int LZ4_sizeofStreamState(void);
LZ4_DEPRECATED("Usa LZ4_resetStream() en su lugar") LZ4LIB_API int LZ4_resetStreamState(void* state, char* inputBuffer);
LZ4_DEPRECATED("Usa LZ4_saveDict() en su lugar") LZ4LIB_API char* LZ4_slideInputBuffer (void* state);

/* Obsolete streaming decoding functions */
LZ4_DEPRECATED("use LZ4_decompress_safe_usingDict() instead") LZ4LIB_API int LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSize);
LZ4_DEPRECATED("use LZ4_decompress_fast_usingDict() instead") LZ4LIB_API int LZ4_decompress_fast_withPrefix64k (const char* src, char* dst, int originalSize);
LZ4_DEPRECATED("usa LZ4_decompress_safe_usingDict() en su lugar") LZ4LIB_API int LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSize);
LZ4_DEPRECATED("usa LZ4_decompress_fast_usingDict() en su lugar") LZ4LIB_API int LZ4_decompress_fast_withPrefix64k (const char* src, char* dst, int originalSize);

#endif /* LZ4_H_2983827168210 */

Expand Down
2 changes: 1 addition & 1 deletion bdk/libs/lvgl/lv_core/lv_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void lv_group_add_obj(lv_group_t * group, lv_obj_t * obj)
if(lv_obj_is_focused(obj)) {
lv_group_refocus(obj->group_p);

LV_LOG_INFO("group: assign object to an other group");
LV_LOG_INFO("grupo: asigna obj. a otro grupo");
}
}

Expand Down
4 changes: 2 additions & 2 deletions bdk/libs/lvgl/lv_core/lv_indev.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ static void indev_proc_task(void * param)
(void)param;


LV_LOG_TRACE("indev task started");
LV_LOG_TRACE("Tarea indev iniciada");

lv_indev_data_t data;
lv_indev_t * i;
Expand Down Expand Up @@ -342,7 +342,7 @@ static void indev_proc_task(void * param)

indev_act = NULL; /*End of indev processing, so no act indev*/

LV_LOG_TRACE("indev task finished");
LV_LOG_TRACE("Tarea indev finalizada");
}


Expand Down
4 changes: 2 additions & 2 deletions bdk/libs/lvgl/lv_core/lv_lang.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ void lv_lang_set_text_func(const void * (*fp)(uint16_t))
const void * lv_lang_get_text(uint16_t txt_id)
{
if(get_txt == NULL) {
LV_LOG_WARN("lv_lang_get_text: text_func is not specified");
LV_LOG_WARN("lv_lang_get_text: text_func no especificada");
return NULL; /*No text_get function specified */
}
if(txt_id == LV_LANG_TXT_ID_NONE) {
LV_LOG_WARN("lv_lang_get_text: attempts to get invalid text ID");
LV_LOG_WARN("lv_lang_get_text: intento de objener ID de texto inval.");
return NULL; /*Invalid txt_id*/
}

Expand Down
20 changes: 10 additions & 10 deletions bdk/libs/lvgl/lv_core/lv_obj.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void lv_init(void)
LV_GC_ROOT(_lv_disp_list) = NULL;
LV_GC_ROOT(_lv_indev_list) = NULL;

LV_LOG_TRACE("lv_init started");
LV_LOG_TRACE("lv_init iniciado");

/*Initialize the lv_misc modules*/
lv_mem_init();
Expand Down Expand Up @@ -118,7 +118,7 @@ void lv_init(void)
#endif

_lv_initialized = true;
LV_LOG_INFO("lv_init ready");
LV_LOG_INFO("lv_init listo");
}

/*--------------------
Expand All @@ -138,7 +138,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, const lv_obj_t * copy)
lv_obj_t * new_obj = NULL;
/*Create a screen if the parent is NULL*/
if(parent == NULL) {
LV_LOG_TRACE("Screen create started");
LV_LOG_TRACE("Crear ventana iniciado");

new_obj = lv_ll_ins_head(&LV_GC_ROOT(_lv_scr_ll));
lv_mem_assert(new_obj);
Expand Down Expand Up @@ -199,11 +199,11 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, const lv_obj_t * copy)

new_obj->ext_attr = NULL;

LV_LOG_INFO("Screen create ready");
LV_LOG_INFO("Crear ventana listo");
}
/*parent != NULL create normal obj. on a parent*/
else {
LV_LOG_TRACE("Object create started");
LV_LOG_TRACE("Crear objeto iniciado");

new_obj = lv_ll_ins_head(&(parent)->child_ll);
lv_mem_assert(new_obj);
Expand Down Expand Up @@ -316,7 +316,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, const lv_obj_t * copy)
lv_obj_set_pos(new_obj, 0, 0);
}

LV_LOG_INFO("Object create ready");
LV_LOG_INFO("Crear objeto listo");
}


Expand Down Expand Up @@ -486,12 +486,12 @@ void lv_scr_load(lv_obj_t * scr)
void lv_obj_set_parent(lv_obj_t * obj, lv_obj_t * parent)
{
if(obj->par == NULL) {
LV_LOG_WARN("Can't set the parent of a screen");
LV_LOG_WARN("Imposible establecer pantalla padre");
return;
}

if(parent == NULL) {
LV_LOG_WARN("Can't set parent == NULL to an object");
LV_LOG_WARN("Imposible establecer padre == NULL a un objeto");
return;
}

Expand Down Expand Up @@ -958,7 +958,7 @@ void lv_obj_realign(lv_obj_t * obj)
else lv_obj_align(obj, obj->realign.base, obj->realign.align, obj->realign.xofs, obj->realign.yofs);
#else
(void) obj;
LV_LOG_WARN("lv_obj_realaign: no effect because LV_OBJ_REALIGN = 0");
LV_LOG_WARN("lv_obj_realaign: no afecta porque LV_OBJ_REALIGN = 0");
#endif
}

Expand All @@ -974,7 +974,7 @@ void lv_obj_set_auto_realign(lv_obj_t * obj, bool en)
#else
(void) obj;
(void) en;
LV_LOG_WARN("lv_obj_set_auto_realign: no effect because LV_OBJ_REALIGN = 0");
LV_LOG_WARN("lv_obj_set_auto_realign: no afecta porque LV_OBJ_REALIGN = 0");
#endif
}

Expand Down
14 changes: 7 additions & 7 deletions bdk/libs/lvgl/lv_core/lv_refr.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ static void lv_refr_task(void * param)
{
(void)param;

LV_LOG_TRACE("display refresh task started");
LV_LOG_TRACE("refresco de pantalla iniciado");

uint32_t start = lv_tick_get();

if(lv_disp_get_active() == NULL) {
LV_LOG_TRACE("No display is registered");
LV_LOG_TRACE("No hay pantalla registrada");
return;
}

Expand Down Expand Up @@ -246,7 +246,7 @@ static void lv_refr_task(void * param)
}
}

LV_LOG_TRACE("display refresh task finished");
LV_LOG_TRACE("refresco de pantalla finalizado");
}


Expand Down Expand Up @@ -373,7 +373,7 @@ static void lv_refr_area_with_vdb(const lv_area_t * area_p)
} while(y_tmp != 0);

if(y_tmp == 0) {
LV_LOG_WARN("Can't set VDB height using the round function. (Wrong round_cb or to small VDB)");
LV_LOG_WARN("Imposible poner altura de VDB usando la funcion round. (round_cb equivocado o VDB chico)");
return;
} else {
max_row = tmp.y2 + 1;
Expand All @@ -386,7 +386,7 @@ static void lv_refr_area_with_vdb(const lv_area_t * area_p)
for(row = area_p->y1; row + max_row - 1 <= y2; row += max_row) {
lv_vdb_t * vdb_p = lv_vdb_get();
if(!vdb_p) {
LV_LOG_WARN("Invalid VDB pointer");
LV_LOG_WARN("Puntero VDB no valido");
return;
}

Expand All @@ -404,7 +404,7 @@ static void lv_refr_area_with_vdb(const lv_area_t * area_p)
if(y2 != row_last) {
lv_vdb_t * vdb_p = lv_vdb_get();
if(!vdb_p) {
LV_LOG_WARN("Invalid VDB pointer");
LV_LOG_WARN("Puntero VDB no valido");
return;
}

Expand Down Expand Up @@ -435,7 +435,7 @@ static void lv_refr_area_part_vdb(const lv_area_t * area_p)
{
lv_vdb_t * vdb_p = lv_vdb_get();
if(!vdb_p) {
LV_LOG_WARN("Invalid VDB pointer");
LV_LOG_WARN("Puntero VDB no valido");
return;
}
lv_obj_t * top_p;
Expand Down
2 changes: 1 addition & 1 deletion bdk/libs/lvgl/lv_core/lv_vdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void lv_vdb_flush(void)
{
lv_vdb_t * vdb_act = lv_vdb_get();
if(!vdb_act) {
LV_LOG_WARN("Invalid VDB pointer");
LV_LOG_WARN("Puntero VDB no valido");
return;
}

Expand Down
6 changes: 3 additions & 3 deletions bdk/libs/lvgl/lv_draw/lv_draw_img.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void lv_draw_img(const lv_area_t * coords, const lv_area_t * mask,
const void * src, const lv_style_t * style, lv_opa_t opa_scale)
{
if(src == NULL) {
LV_LOG_WARN("Image draw: src is NULL");
LV_LOG_WARN("Image draw: src es NULO");
lv_draw_rect(coords, mask, &lv_style_plain, LV_OPA_COVER);
lv_draw_label(coords, mask, &lv_style_plain, LV_OPA_COVER, "No\ndata", LV_TXT_FLAG_NONE, NULL);
return;
Expand All @@ -79,7 +79,7 @@ void lv_draw_img(const lv_area_t * coords, const lv_area_t * mask,
res = lv_img_draw_core(coords, mask, src, style, opa_scale);

if(res == LV_RES_INV) {
LV_LOG_WARN("Image draw error");
LV_LOG_WARN("Image draw: error");
lv_draw_rect(coords, mask, &lv_style_plain, LV_OPA_COVER);
lv_draw_label(coords, mask, &lv_style_plain, LV_OPA_COVER, "No\ndata", LV_TXT_FLAG_NONE, NULL);
return;
Expand Down Expand Up @@ -253,7 +253,7 @@ lv_img_src_t lv_img_src_get_type(const void * src)
}

if (LV_IMG_SRC_UNKNOWN == img_src_type) {
LV_LOG_WARN("lv_img_src_get_type: unknown image type");
LV_LOG_WARN("lv_img_src_get_type: tipo de imagen desconocido");
}

return img_src_type;
Expand Down
Loading

0 comments on commit b1353a2

Please sign in to comment.