Changeset 28663


Ignore:
Timestamp:
Apr 15, 2014, 11:47:11 AM (6 years ago)
Author:
obi
Message:

optimize translate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/tithek.h

    r28661 r28663  
    13041304                struct menulist* mlist = NULL, *mbox = NULL;
    13051305
    1306                 // needed for autopo
    1307                 char* tmptxt = NULL;
    1308                 tmptxt = ostrcat(tmptxt, _("Streaming Playback (default)"), 1, 0);
    1309                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (0.5MB)"), 1, 0);
    1310                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (1MB)"), 1, 0);
    1311                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (2MB)"), 1, 0);
    1312                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (3MB)"), 1, 0);
    1313                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (4MB)"), 1, 0);
    1314                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (5MB)"), 1, 0);
    1315                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (7.5MB)"), 1, 0);
    1316                 tmptxt = ostrcat(tmptxt, _("Streaming Playback Caching (10MB)"), 1, 0);
    1317                 tmptxt = ostrcat(tmptxt, _("File Caching Playback (10MB / 120s)"), 1, 0);
    1318                 tmptxt = ostrcat(tmptxt, _("File Caching Playback (20MB / 240s)"), 1, 0);
    1319                 tmptxt = ostrcat(tmptxt, _("File Caching Playback (30MB / 360s)"), 1, 0);
    1320                 tmptxt = ostrcat(tmptxt, _("Download Full File"), 1, 0);
    1321                 tmptxt = ostrcat(tmptxt, _("Download Full File (background)"), 1, 0);
    1322                 free(tmptxt), tmptxt = NULL;
    1323 
    1324                 addmenulist(&mlist, "Streaming Playback (default)", NULL, NULL, 0, 0);
     1306                addmenulist(&mlist, "Streaming Playback (default)", _("Streaming Playback (default)"), NULL, 0, 0);
    13251307
    13261308                if(!ostrncmp("http://", tmpstr1, 7))
     
    13291311                        {
    13301312#ifdef EPLAYER3
    1331                                 addmenulist(&mlist, "Streaming Playback Caching (0.5MB)", NULL, NULL, 0, 0);
    1332                                 addmenulist(&mlist, "Streaming Playback Caching (1MB)", NULL, NULL, 0, 0);
     1313                                addmenulist(&mlist, "Streaming Playback Caching (0.5MB)", _("Streaming Playback Caching (0.5MB)"), NULL, 0, 0);
     1314                                addmenulist(&mlist, "Streaming Playback Caching (1MB)", _("Streaming Playback Caching (1MB)"), NULL, 0, 0);
    13331315#endif
    13341316                        }       
     
    13361318                        {
    13371319#ifdef EPLAYER3
    1338 //                                      addmenulist(&mlist, "Streaming Playback Caching (1MB)", NULL, NULL, 0, 0);
    1339 //                                      addmenulist(&mlist, "Streaming Playback Caching (2MB)", NULL, NULL, 0, 0);
    1340 //                                      addmenulist(&mlist, "Streaming Playback Caching (3MB)", NULL, NULL, 0, 0);
    1341 //                                      addmenulist(&mlist, "Streaming Playback Caching (4MB)", NULL, NULL, 0, 0);
     1320//                                      addmenulist(&mlist, "Streaming Playback Caching (1MB)", _("Streaming Playback Caching (1MB)"), NULL, 0, 0);
     1321//                                      addmenulist(&mlist, "Streaming Playback Caching (2MB)", _("Streaming Playback Caching (2MB)"), NULL, 0, 0);
     1322//                                      addmenulist(&mlist, "Streaming Playback Caching (3MB)", _("Streaming Playback Caching (3MB)"), NULL, 0, 0);
     1323//                                      addmenulist(&mlist, "Streaming Playback Caching (4MB)", _("Streaming Playback Caching (4MB)"), NULL, 0, 0);
    13421324                                if(checkbox("UFS910") == 1 && !file_exist("/var/swapdir/swapfile"))
    1343                                         addmenulist(&mlist, "Streaming Playback Caching (5MB)", NULL, NULL, 0, 0);
     1325                                        addmenulist(&mlist, "Streaming Playback Caching (5MB)", _("Streaming Playback Caching (5MB)"), NULL, 0, 0);
    13441326                                else
    13451327                                {
    1346 //                                              addmenulist(&mlist, "Streaming Playback Caching (7.5MB)", NULL, NULL, 0, 0);
    1347                                         addmenulist(&mlist, "Streaming Playback Caching (10MB)", NULL, NULL, 0, 0);
     1328//                                              addmenulist(&mlist, "Streaming Playback Caching (7.5MB)", _("Streaming Playback Caching (7.5MB)"), NULL, 0, 0);
     1329                                        addmenulist(&mlist, "Streaming Playback Caching (10MB)", _("Streaming Playback Caching (10MB)"), NULL, 0, 0);
    13481330                                }
    13491331#endif
     
    13511333                                {
    13521334#ifndef EPLAYER3
    1353                                         addmenulist(&mlist, "File Caching Playback (10MB / 120s)", NULL, NULL, 0, 0);
    1354                                         addmenulist(&mlist, "File Caching Playback (20MB / 240s)", NULL, NULL, 0, 0);
    1355                                         addmenulist(&mlist, "File Caching Playback (30MB / 360s)", NULL, NULL, 0, 0);
     1335                                        addmenulist(&mlist, "File Caching Playback (10MB / 120s)", _("File Caching Playback (10MB / 120s)"), NULL, 0, 0);
     1336                                        addmenulist(&mlist, "File Caching Playback (20MB / 240s)", _("File Caching Playback (20MB / 240s)"), NULL, 0, 0);
     1337                                        addmenulist(&mlist, "File Caching Playback (30MB / 360s)", _("File Caching Playback (30MB / 360s)"), NULL, 0, 0);
    13561338#endif
    1357                                         addmenulist(&mlist, "Download Full File", NULL, NULL, 0, 0);
    1358                                         addmenulist(&mlist, "Download Full File (background)", NULL, NULL, 0, 0);
     1339                                        addmenulist(&mlist, "Download Full File", _("Download Full File"), NULL, 0, 0);
     1340                                        addmenulist(&mlist, "Download Full File (background)", _("Download Full File (background)"), NULL, 0, 0);
    13591341                                }
    13601342                        }
Note: See TracChangeset for help on using the changeset viewer.