Changeset 38910
- Timestamp:
- 09/19/16 14:15:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/restoredefault.h
r38905 r38910 8 8 struct skin* load = getscreen("loading"); 9 9 10 ret = textbox(_("Message"), _("Really restore default settings?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);10 ret = textbox(_("Message"), _("Really restore default ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0); 11 11 12 12 if(ret == 1) … … 21 21 } 22 22 else 23 textbox(_("Message"), _("Can't restore settings"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 7, 0);23 textbox(_("Message"), _("Can't restore default"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 7, 0); 24 24 } 25 25 clearscreen(load); … … 32 32 struct skin* load = getscreen("loading"); 33 33 34 ret = textbox(_("Message"), _("Really restore default settingswithout Channelsettings ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);34 ret = textbox(_("Message"), _("Really restore default without Channelsettings ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0); 35 35 36 36 if(ret == 1) … … 47 47 } 48 48 else 49 textbox(_("Message"), _("Can't restore settings"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 7, 0);49 textbox(_("Message"), _("Can't restore default"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 7, 0); 50 50 } 51 51 clearscreen(load); … … 87 87 struct menulist* mlist = NULL, *mbox = NULL; 88 88 89 addmenulist(&mlist, "Restore default settings", _("Restore default settings"), NULL, 0, 0);89 addmenulist(&mlist, "Restore default", _("Restore default"), NULL, 0, 0); 90 90 addmenulist(&mlist, "Restore default without Channelsettings", _("Restore default without Channelsettings"), NULL, 0, 0); 91 91 addmenulist(&mlist, "Format MNT with Backup/Restore", _("Format MNT with Backup/Restore"), NULL, 0, 0); … … 96 96 if(mbox != NULL) 97 97 { 98 if(ostrcmp(mbox->name, "Restore default settings") == 0)98 if(ostrcmp(mbox->name, "Restore default") == 0) 99 99 { 100 100 screenrestoredefault();
Note: See TracChangeset
for help on using the changeset viewer.