Changeset 25930
- Timestamp:
- 02/06/14 21:07:45 (8 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/hwtest.h
r25711 r25930 151 151 if(dvbnode->feinfo->type == FE_QPSK) 152 152 { 153 char* tmpstr = ostrcat( "[S]Lock & Search", " (", 0, 0);153 char* tmpstr = ostrcat(_("[S]Lock & Search"), " (", 0, 0); 154 154 tmpstr = ostrcat(tmpstr, dvbnode->feinfo->name, 1, 0); 155 155 tmpstr = ostrcat(tmpstr, ")", 1, 0); … … 158 158 if(dvbnode->feinfo->type == FE_OFDM) 159 159 { 160 char* tmpstr = ostrcat( "[T]Lock & Search", " (", 0, 0);160 char* tmpstr = ostrcat(_("[T]Lock & Search"), " (", 0, 0); 161 161 tmpstr = ostrcat(tmpstr, dvbnode->feinfo->name, 1, 0); 162 162 tmpstr = ostrcat(tmpstr, ")", 1, 0); … … 165 165 if(dvbnode->feinfo->type == FE_QAM) 166 166 { 167 char* tmpstr = ostrcat( "[C]Lock & Search", " (", 0, 0);167 char* tmpstr = ostrcat(_("[C]Lock & Search"), " (", 0, 0); 168 168 tmpstr = ostrcat(tmpstr, dvbnode->feinfo->name, 1, 0); 169 169 tmpstr = ostrcat(tmpstr, ")", 1, 0); … … 174 174 dvbnode = dvbnode->next; 175 175 } 176 addmenulist(&mlist, "Front Display", NULL, NULL, 0, 0);177 addmenulist(&mlist, "Front Key", NULL, NULL, 0, 0);178 //addmenulist(&mlist, "Color Bar", NULL, NULL, 0, 0);179 //addmenulist(&mlist, "SCART 4:3 / 16:9", NULL, NULL, 0, 0);180 addmenulist(&mlist, "Smartcard", NULL, NULL, 0, 0);181 addmenulist(&mlist, "Network", NULL, NULL, 0, 0);182 addmenulist(&mlist, "USB Port", NULL, NULL, 0, 0);183 addmenulist(&mlist, "CAM", NULL, NULL, 0, 0);184 addmenulist(&mlist, "RS232", NULL, NULL, 0, 0);185 addmenulist(&mlist, "LNB", NULL, NULL, 0, 0);186 addmenulist(&mlist, "Flash/Nand Check", NULL, NULL, 0, 0);176 addmenulist(&mlist, _("Front Display"), NULL, NULL, 0, 0); 177 addmenulist(&mlist, _("Front Key"), NULL, NULL, 0, 0); 178 //addmenulist(&mlist, _("Color Bar"), NULL, NULL, 0, 0); 179 //addmenulist(&mlist, _("SCART 4:3 / 16:9"), NULL, NULL, 0, 0); 180 addmenulist(&mlist, _("Smartcard"), NULL, NULL, 0, 0); 181 addmenulist(&mlist, _("Network"), NULL, NULL, 0, 0); 182 addmenulist(&mlist, _("USB Port"), NULL, NULL, 0, 0); 183 addmenulist(&mlist, _("CAM"), NULL, NULL, 0, 0); 184 addmenulist(&mlist, _("RS232"), NULL, NULL, 0, 0); 185 addmenulist(&mlist, _("LNB"), NULL, NULL, 0, 0); 186 addmenulist(&mlist, _("Flash/Nand Check"), NULL, NULL, 0, 0); 187 187 188 188 while(1) 189 189 { 190 mbox = menulistbox(mlist, NULL, "Hardware Test", NULL, NULL, 1, 0);190 mbox = menulistbox(mlist, NULL, _("Hardware Test"), NULL, NULL, 1, 0); 191 191 192 192 if(mbox != NULL) 193 193 { 194 194 setmenulistdefault(mlist, mbox->name); 195 if(ostrstr(mbox->name, "[S]Lock & Search") != NULL)195 if(ostrstr(mbox->name, _("[S]Lock & Search")) != NULL) 196 196 { 197 197 clearscreen(load); … … 208 208 } 209 209 210 if(ostrstr(mbox->name, "[T]Lock & Search") != NULL)210 if(ostrstr(mbox->name, _("[T]Lock & Search")) != NULL) 211 211 { 212 212 //struct transponder* createtransponder(uint64_t id, FE_OFDM, int orbitalpos, TEST_S2_FREQ, int inversion, TEST_S2_SYMBOL, int polarization, int fec, int modulation, int rolloff, int pilot, int system); 213 213 } 214 214 215 if(ostrstr(mbox->name, "[C]Lock & Search") != NULL)215 if(ostrstr(mbox->name, _("[C]Lock & Search")) != NULL) 216 216 { 217 217 //struct transponder* createtransponder(uint64_t id, FE_QAM, int orbitalpos, TEST_S2_FREQ, int inversion, TEST_S2_SYMBOL, int polarization, int fec, int modulation, int rolloff, int pilot, int system); 218 218 } 219 219 220 if(ostrcmp(mbox->name, "Front Display") == 0)220 if(ostrcmp(mbox->name, _("Front Display")) == 0) 221 221 { 222 222 int i = 0; … … 237 237 } 238 238 239 if(ostrcmp(mbox->name, "Front Key") == 0)239 if(ostrcmp(mbox->name, _("Front Key")) == 0) 240 240 { 241 241 char* tmpload = ostrcat(load->text, NULL, 0, 0); … … 265 265 } 266 266 267 if(ostrcmp(mbox->name, "Color Bar") == 0)267 if(ostrcmp(mbox->name, _("Color Bar")) == 0) 268 268 { 269 269 char* tmpstr = NULL; … … 303 303 } 304 304 305 if(ostrcmp(mbox->name, "SCART 4:3 / 16:9") == 0)305 if(ostrcmp(mbox->name, _("SCART 4:3 / 16:9")) == 0) 306 306 { 307 307 char* tmpload = ostrcat(load->text, NULL, 0, 0); … … 327 327 } 328 328 329 if(ostrcmp(mbox->name, "Smartcard") == 0)329 if(ostrcmp(mbox->name, _("Smartcard")) == 0) 330 330 { 331 331 uint32_t status = 0; … … 392 392 } 393 393 394 if(ostrcmp(mbox->name, "Network") == 0)394 if(ostrcmp(mbox->name, _("Network")) == 0) 395 395 { 396 396 struct inetwork* inode = inetwork; … … 412 412 } 413 413 414 if(ostrcmp(mbox->name, "USB Port") == 0)414 if(ostrcmp(mbox->name, _("USB Port")) == 0) 415 415 { 416 416 int usbcount = 0, found = 0, i = 0; … … 456 456 } 457 457 458 if(ostrcmp(mbox->name, "CAM") == 0)458 if(ostrcmp(mbox->name, _("CAM")) == 0) 459 459 { 460 460 int cicount = 0; … … 493 493 } 494 494 495 if(ostrcmp(mbox->name, "RS232") == 0)495 if(ostrcmp(mbox->name, _("RS232")) == 0) 496 496 { 497 497 int exist = 1, count = 0, okA = 0, okB = 0, okC = 0, okD = 0; … … 565 565 } 566 566 567 if(ostrcmp(mbox->name, "LNB") == 0)567 if(ostrcmp(mbox->name, _("LNB")) == 0) 568 568 { 569 569 char* tmpstr = NULL; … … 610 610 clearscreen(load); 611 611 } 612 if(ostrcmp(mbox->name, "Flash/Nand Check") == 0)612 if(ostrcmp(mbox->name, _("Flash/Nand Check")) == 0) 613 613 { 614 614 int ret1 = 0, ret2 = 0, i = 0; -
titan/titan/titan.c
r25910 r25930 865 865 { 866 866 struct menulist* mlist = NULL, *mbox = NULL; 867 addmenulist(&mlist, "RemoteControl Old Version", "0", NULL, 0, 0);868 addmenulist(&mlist, "RemoteControl Long Version", "1", NULL, 0, 0);867 addmenulist(&mlist, _("RemoteControl Old Version"), "0", NULL, 0, 0); 868 addmenulist(&mlist, _("RemoteControl Long Version"), "1", NULL, 0, 0); 869 869 870 mbox = menulistbox(mlist, "remotecontrol", "Select Your Remote Control", NULL, NULL, 3, 0);870 mbox = menulistbox(mlist, "remotecontrol", _("Select Your Remote Control"), NULL, NULL, 3, 0); 871 871 if(mbox != NULL) 872 872 {
Note: See TracChangeset
for help on using the changeset viewer.