Changeset 26711


Ignore:
Timestamp:
03/02/14 02:15:20 (9 years ago)
Author:
obi
Message:

fix hwtest translation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/hwtest.h

    r25930 r26711  
    368368                                                        tmpstr1 = ostrcat(tmpstr1, _("Smartcard "), 1, 0);
    369369                                                        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);
    371373                                                }
    372374                                                else
    373375                                                {
    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);
    377379                                                }
    378380                                        }
     
    573575                                ret2 = fesettone(status.aktservice->fedev, SEC_TONE_OFF, 15);
    574576                                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                                }
    578586                                textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
     587
    579588                                free(tmpstr); tmpstr = NULL;
    580589                               
     
    582591                                ret2 = fesettone(status.aktservice->fedev, SEC_TONE_OFF, 15);
    583592                                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                                }
    587602                                textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
    588603                                free(tmpstr); tmpstr = NULL;
     
    591606                                ret2 = fesettone(status.aktservice->fedev, SEC_TONE_OFF, 15);
    592607                                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                                }
    596617                                textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
    597618                                free(tmpstr); tmpstr = NULL;
     
    600621                                ret2 = fesettone(status.aktservice->fedev, SEC_TONE_ON, 15);
    601622                                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                                }
    605632                                textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
    606633                                free(tmpstr); tmpstr = NULL;
Note: See TracChangeset for help on using the changeset viewer.