diff --git a/lv_objx/lv_label.c b/lv_objx/lv_label.c index f892963c6..d4118f76d 100644 --- a/lv_objx/lv_label.c +++ b/lv_objx/lv_label.c @@ -241,7 +241,7 @@ void lv_label_set_static_text(lv_obj_t * label, const char * text) * Only the pointer is saved so the variable must be global, static, or dynamically allocated. * NULL to disable multiple language for the label. */ -void lv_label_set_text_multi(lv_obj_t * label, const char ** texts) +void lv_label_set_text_multi_lang(lv_obj_t * label, const char ** texts) { #if USE_LV_MULTI_LANG lv_label_ext_t * ext = lv_obj_get_ext_attr(label); @@ -371,7 +371,7 @@ char * lv_label_get_text(const lv_obj_t * label) * @param label pointer to a label object * @return pointer to the array storing the texts. NULL if not specified. */ -const char ** lv_label_get_text_multi(lv_obj_t * label) +const char ** lv_label_get_text_multi_lang(lv_obj_t * label) { #if USE_LV_MULTI_LANG lv_label_ext_t * ext = lv_obj_get_ext_attr(label); diff --git a/lv_objx/lv_label.h b/lv_objx/lv_label.h index 1ae52fbb7..6796103dc 100644 --- a/lv_objx/lv_label.h +++ b/lv_objx/lv_label.h @@ -132,7 +132,7 @@ void lv_label_set_static_text(lv_obj_t * label, const char * text); * Only the pointer is saved so the variable must be global, static, or dynamically allocated. * NULL to disable multiple language for the label. */ -void lv_label_set_text_multi(lv_obj_t * label, const char ** texts); +void lv_label_set_text_multi_lang(lv_obj_t * label, const char ** texts); /** * Set the behavior of the label with longer text then the object size @@ -195,7 +195,7 @@ char * lv_label_get_text(const lv_obj_t * label); * @param label pointer to a label object * @return pointer to the array storing the texts. NULL if not specified. */ -const char ** lv_label_get_text_multi(lv_obj_t * label); +const char ** lv_label_get_text_multi_lang(lv_obj_t * label); /** * Get the long mode of a label