Add missing string, fix preview bug in browser

This commit is contained in:
2024-05-12 17:46:55 -04:00
parent 3c55868183
commit 9b098f6935
4 changed files with 18 additions and 18 deletions

View File

@@ -663,7 +663,7 @@ void draw_interface(Entry_List_s * list, Instructions_s instructions, DrawMode d
if(current_mode == MODE_THEMES)
{
char * shuffle_count_string = NULL;
asprintf(&shuffle_count_string, "Shuffle: %i/10", list->shuffle_count);
asprintf(&shuffle_count_string, language.draw.shuffle, list->shuffle_count);
draw_text(7, 3, 0.6, 0.6, 0.6f, list->shuffle_count <= 10 && list->shuffle_count >= 2 ? colors[COLOR_WHITE] : colors[COLOR_RED], shuffle_count_string);
free(shuffle_count_string);
}