fixup use of vgettext
xgettext will extract arguments to vgettext, so the line I removed here was in fact unnecessary, and would have resulted in double translation.
This commit is contained in:
parent
05448fe34b
commit
bb08fae9f6
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ static void setup_item(const std::string & item, twindow & window)
|
|||
// Set up the sound checkbox tooltip
|
||||
utils::string_map for_tooltip;
|
||||
for_tooltip["id"] = sound_id;
|
||||
std::string orig = _("This sound is selected by '$id' entry of data/game_config.cfg.");
|
||||
sound->set_tooltip(vgettext(orig.c_str(),for_tooltip));
|
||||
|
||||
sound->set_tooltip(vgettext("This sound is selected by '$id' entry of data/game_config.cfg.",for_tooltip));
|
||||
|
||||
// Set up the notification checkbox
|
||||
setup_pref_toggle_button(item+"_notification", mp_ui_sounds::get_def_pref_notif(item), window);
|
||||
|
|
Loading…
Add table
Reference in a new issue