A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

mikmod: Settings names should _NOT_ be i18n'd.

Regression was introduced back in 2019 in 2ebb8da275

Change-Id: I035e295b4e17e1f834059d1c6466562000749e54

+16 -16
+8 -8
apps/plugins/mikmod/mikmod.c
··· 588 588 switch(selection) 589 589 { 590 590 case 0: 591 - rb->set_int(rb->str(LANG_PANNING_SEPARATION), "", 1, 591 + rb->set_int("Panning Separation", "", 1, 592 592 &(settings.pansep), 593 593 NULL, 8, 0, 128, NULL ); 594 594 applysettings(); 595 595 break; 596 596 597 597 case 1: 598 - rb->set_int(rb->str(LANG_REVERBERATION), "", 1, 598 + rb->set_int("Reverberation", "", 1, 599 599 &(settings.reverb), 600 600 NULL, 1, 0, 15, NULL ); 601 601 applysettings(); 602 602 break; 603 603 604 604 case 2: 605 - rb->set_bool(rb->str(LANG_INTERPOLATION), &(settings.interp)); 605 + rb->set_bool("Interpolation", &(settings.interp)); 606 606 applysettings(); 607 607 break; 608 608 609 609 case 3: 610 - rb->set_bool(rb->str(LANG_SWAP_CHANNELS), &(settings.reverse)); 610 + rb->set_bool("Reverse Channels", &(settings.reverse)); 611 611 applysettings(); 612 612 break; 613 613 614 614 case 4: 615 - rb->set_bool(rb->str(LANG_MIKMOD_SURROUND), &(settings.surround)); 615 + rb->set_bool("Surround", &(settings.surround)); 616 616 applysettings(); 617 617 break; 618 618 619 619 case 5: 620 - rb->set_bool(rb->str(LANG_MIKMOD_HQMIXER), &(settings.hqmixer)); 620 + rb->set_bool("HQ Mixer", &(settings.hqmixer)); 621 621 applysettings(); 622 622 break; 623 623 624 624 case 6: 625 - rb->set_option(rb->str(LANG_MIKMOD_SAMPLERATE), &(settings.sample_rate), RB_INT, sr_names, 625 + rb->set_option("Sample Rate", &(settings.sample_rate), RB_INT, sr_names, 626 626 HW_NUM_FREQ, NULL); 627 627 applysettings(); 628 628 break; 629 629 630 630 #ifdef HAVE_ADJUSTABLE_CPU_FREQ 631 631 case 7: 632 - rb->set_bool(rb->str(LANG_CPU_BOOST), &(settings.boost)); 632 + rb->set_bool("CPU Boost", &(settings.boost)); 633 633 applysettings(); 634 634 break; 635 635 #endif
+8 -8
apps/plugins/text_viewer/tv_menu.c
··· 65 65 66 66 static bool tv_vertical_scrollbar_setting(void) 67 67 { 68 - return rb->set_bool("Vertical Scrollbar", &new_prefs.vertical_scrollbar); // XXX i18n 68 + return rb->set_bool("Vertical Scrollbar", &new_prefs.vertical_scrollbar); 69 69 } 70 70 71 71 static bool tv_vertical_scroll_mode_setting(void) ··· 75 75 {"Scroll by Line", -1}, 76 76 }; 77 77 78 - return rb->set_option("Scroll Mode", &new_prefs.vertical_scroll_mode, RB_INT, // XXX i18n 78 + return rb->set_option("Scroll Mode", &new_prefs.vertical_scroll_mode, RB_INT, 79 79 names, 2, NULL); 80 80 } 81 81 82 82 static bool tv_overlap_page_mode_setting(void) 83 83 { 84 - return rb->set_bool("Overlap Pages", &new_prefs.overlap_page_mode); // XXX i18n 84 + return rb->set_bool("Overlap Pages", &new_prefs.overlap_page_mode); 85 85 } 86 86 87 87 static bool tv_autoscroll_speed_setting(void) 88 88 { 89 - return rb->set_int("Auto-scroll Speed", "", UNIT_INT, // XXX i18n 89 + return rb->set_int("Auto-scroll Speed", "", UNIT_INT, 90 90 &new_prefs.autoscroll_speed, NULL, 1, 1, 10, NULL); 91 91 } 92 92 ··· 97 97 {"Top/Bottom Page", -1}, 98 98 }; 99 99 100 - return rb->set_option("Left/Right Key", &new_prefs.narrow_mode, RB_INT, // XXX i18n 100 + return rb->set_option("Left/Right Key", &new_prefs.narrow_mode, RB_INT, 101 101 names, 2, NULL); 102 102 } 103 103 ··· 165 165 }; 166 166 167 167 return rb->set_option("Line Mode", &new_prefs.line_mode, RB_INT, names, 168 - sizeof(names) / sizeof(names[0]), NULL); // XXX i18n 168 + sizeof(names) / sizeof(names[0]), NULL); 169 169 } 170 170 171 171 static bool tv_windows_setting(void) 172 172 { 173 - return rb->set_int("Screens Per Page", "", UNIT_INT, // XXX i18n 173 + return rb->set_int("Screens Per Page", "", UNIT_INT, 174 174 &new_prefs.windows, NULL, 1, 1, 5, NULL); 175 175 } 176 176 ··· 182 182 }; 183 183 184 184 return rb->set_option("Alignment", &new_prefs.alignment, RB_INT, 185 - names , 2, NULL); // XXX i18n 185 + names , 2, NULL); 186 186 } 187 187 188 188 static bool tv_header_setting(void)