Translate learn sounds labels before descriptions

This commit is contained in:
Storm Dragon
2026-02-27 23:43:36 -05:00
parent a69d47b879
commit c658bb6cd7

View File

@@ -319,7 +319,7 @@ void learn_sounds_collect_entries(string[] @labels, string[] @soundPaths) {
continue;
}
string label = learn_sounds_label_from_path(soundPath);
string label = i18n_text(learn_sounds_label_from_path(soundPath));
string description = learn_sounds_get_description(soundPath);
if (description.length() > 0) {
label += " - " + description;