Changeset 26711
- Timestamp:
- 03/02/14 02:15:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/hwtest.h
r25930 r26711 368 368 tmpstr1 = ostrcat(tmpstr1, _("Smartcard "), 1, 0); 369 369 tmpstr1 = ostrcat(tmpstr1, oitoa(smartcardcount), 1, 1); 370 tmpstr1 = ostrcat(tmpstr1, _(": Present\n"), 1, 0); 370 tmpstr1 = ostrcat(tmpstr1, ": ", 1, 0); 371 tmpstr1 = ostrcat(tmpstr1, _("Present"), 1, 0); 372 tmpstr1 = ostrcat(tmpstr1, "\n", 1, 0); 371 373 } 372 374 else 373 375 { 374 tmpstr1 = ostrcat(tmpstr1, _("Smartcard "), 1, 0);375 tmpstr1 = ostrcat(tmpstr1, oitoa(smartcardcount), 1, 1);376 tmpstr1 = ostrcat(tmpstr1, _(": Not Present\n"), 1, 0);376 tmpstr1 = ostrcat(tmpstr1, ": ", 1, 0); 377 tmpstr1 = ostrcat(tmpstr1, _("Not Present"), 1, 0); 378 tmpstr1 = ostrcat(tmpstr1, "\n", 1, 0); 377 379 } 378 380 } … … 573 575 ret2 = fesettone(status.aktservice->fedev, SEC_TONE_OFF, 15); 574 576 if(ret1 == 0 && ret2 == 0) 575 tmpstr = ostrcat(tmpstr, _("LNB off / 22K off: OK\n"), 1, 0); 576 else 577 tmpstr = ostrcat(tmpstr, _("LNB off / 22K off: NOT OK\n"), 1, 0); 577 { 578 tmpstr = ostrcat(tmpstr, _("LNB off / 22K off: OK"), 1, 0); 579 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 580 } 581 else 582 { 583 tmpstr = ostrcat(tmpstr, _("LNB off / 22K off: NOT OK"), 1, 0); 584 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 585 } 578 586 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0); 587 579 588 free(tmpstr); tmpstr = NULL; 580 589 … … 582 591 ret2 = fesettone(status.aktservice->fedev, SEC_TONE_OFF, 15); 583 592 if(ret1 == 0 && ret2 == 0) 584 tmpstr = ostrcat(tmpstr, _("LNB 18V / 22K off: OK\n"), 1, 0); 585 else 586 tmpstr = ostrcat(tmpstr, _("LNB 18V / 22K off: NOT OK\n"), 1, 0); 593 { 594 tmpstr = ostrcat(tmpstr, _("LNB 18V / 22K off: OK"), 1, 0); 595 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 596 } 597 else 598 { 599 tmpstr = ostrcat(tmpstr, _("LNB 18V / 22K off: NOT OK"), 1, 0); 600 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 601 } 587 602 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0); 588 603 free(tmpstr); tmpstr = NULL; … … 591 606 ret2 = fesettone(status.aktservice->fedev, SEC_TONE_OFF, 15); 592 607 if(ret1 == 0 && ret2 == 0) 593 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K off: OK\n"), 1, 0); 594 else 595 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K off: NOT OK\n"), 1, 0); 608 { 609 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K off: OK"), 1, 0); 610 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 611 } 612 else 613 { 614 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K off: NOT OK"), 1, 0); 615 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 616 } 596 617 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0); 597 618 free(tmpstr); tmpstr = NULL; … … 600 621 ret2 = fesettone(status.aktservice->fedev, SEC_TONE_ON, 15); 601 622 if(ret1 == 0 && ret2 == 0) 602 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K on: OK\n"), 1, 0); 603 else 604 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K on: NOT OK\n"), 1, 0); 623 { 624 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K on: OK"), 1, 0); 625 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 626 } 627 else 628 { 629 tmpstr = ostrcat(tmpstr, _("LNB 13V / 22K on: NOT OK"), 1, 0); 630 tmpstr = ostrcat(tmpstr, "\n", 1, 0); 631 } 605 632 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0); 606 633 free(tmpstr); tmpstr = NULL;
Note: See TracChangeset
for help on using the changeset viewer.