Changeset 26722


Ignore:
Timestamp:
03/02/14 11:12:58 (9 years ago)
Author:
obi
Message:

remove keyactions png translate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/keyactions.h

    r25932 r26722  
    1616        struct skin* child = plugin->child;
    1717        struct menulist* mlist = NULL, *mbox = NULL;
    18                                                
     18
     19// needed for translation
     20        char* tmptxt = NULL;
     21        tmptxt = ostrcat(tmptxt, _("Extensions List"), 1, 0);
     22        tmptxt = ostrcat(tmptxt, _("Auto Resolution"), 1, 0);
     23        tmptxt = ostrcat(tmptxt, _("TV / Radio Switch"), 1, 0);
     24        tmptxt = ostrcat(tmptxt, _("Softcam Panel"), 1, 0);
     25        tmptxt = ostrcat(tmptxt, _("Multi EPG"), 1, 0);
     26        tmptxt = ostrcat(tmptxt, _("Graphic Multi EPG"), 1, 0);
     27        tmptxt = ostrcat(tmptxt, _("Sleep Timer"), 1, 0);
     28        tmptxt = ostrcat(tmptxt, _("Child Protection"), 1, 0);
     29        tmptxt = ostrcat(tmptxt, _("Subchannel"), 1, 0);
     30        tmptxt = ostrcat(tmptxt, _("Downloads"), 1, 0);
     31        free(tmptxt), tmptxt = NULL;
     32               
    1933        if(flag == 1)
    2034        {
     
    4862                }
    4963       
    50                 //addmenulist(&mlist, _("Extensions List"), NULL, NULL, 0, 0);
    51                 addmenulist(&mlist, _("Auto Resolution"), NULL, "resolution.png", 0, 0);
     64                //addmenulist(&mlist, "Extensions List", NULL, NULL, 0, 0);
     65                addmenulist(&mlist, "Auto Resolution", NULL, "resolution.png", 0, 0);
    5266                if(checkemu() == 1)
    53                         addmenulist(&mlist, _("Softcam Panel"), NULL, NULL, 0, 0);
    54                 //addmenulist(&mlist, _("TV / Radio Switch"), NULL, NULL, 0, 0);
    55                 addmenulist(&mlist, _("Multi EPG"), NULL, NULL, 0, 0);
    56                 addmenulist(&mlist, _("Graphic Multi EPG"), NULL, NULL, 0, 0);
    57                 addmenulist(&mlist, _("Sleep Timer"), NULL, NULL, 0, 0);
    58                 addmenulist(&mlist, _("Child Protection"), NULL, NULL, 0, 0);
    59                 addmenulist(&mlist, _("Subchannel"), NULL, NULL, 0, 0);
    60                 addmenulist(&mlist, _("Downloads"), NULL, NULL, 0, 0);
     67                        addmenulist(&mlist, "Softcam Panel", NULL, NULL, 0, 0);
     68                //addmenulist(&mlist, "TV / Radio Switch", NULL, NULL, 0, 0);
     69                addmenulist(&mlist, "Multi EPG", NULL, NULL, 0, 0);
     70                addmenulist(&mlist, "Graphic Multi EPG", NULL, NULL, 0, 0);
     71                addmenulist(&mlist, "Sleep Timer", NULL, NULL, 0, 0);
     72                addmenulist(&mlist, "Child Protection", NULL, NULL, 0, 0);
     73                addmenulist(&mlist, "Subchannel", NULL, NULL, 0, 0);
     74                addmenulist(&mlist, "Downloads", NULL, NULL, 0, 0);
    6175       
    6276                mbox = menulistbox(mlist, NULL, skintitle, NULL, NULL, 1, 0);
     
    8296                                               
    8397        debug(60, "key=%s", keyconf);
    84         if(ostrcmp(keyconf, _("Softcam Panel")) == 0)
     98        if(ostrcmp(keyconf, "Softcam Panel") == 0)
    8599        {
    86100                screensoftcam();
     
    89103                return;
    90104        }
    91         else if(ostrcmp(keyconf, _("Subchannel")) == 0)
     105        else if(ostrcmp(keyconf, "Subchannel") == 0)
    92106        {
    93107                screenlinkedchannel();
     
    96110                return;
    97111        }
    98         else if(ostrcmp(keyconf, _("Auto Resolution")) == 0)
     112        else if(ostrcmp(keyconf, "Auto Resolution") == 0)
    99113        {
    100114                keyactions_setres();
     
    103117                return;
    104118        }
    105         else if(ostrcmp(keyconf, _("Extensions List")) == 0)
     119        else if(ostrcmp(keyconf, "Extensions List") == 0)
    106120        {
    107121                screenkeyactions(1, 1);
     
    110124                return;
    111125        }
    112         else if(ostrcmp(keyconf, _("Multi EPG")) == 0)
     126        else if(ostrcmp(keyconf, "Multi EPG") == 0)
    113127        {
    114128                screenmultiepg(NULL, NULL, 0);
     
    117131                return;
    118132        }
    119         else if(ostrcmp(keyconf, _("Graphic Multi EPG")) == 0)
     133        else if(ostrcmp(keyconf, "Graphic Multi EPG") == 0)
    120134        {
    121135                screengmultiepg(NULL, NULL, 0);
     
    124138                return;
    125139        }
    126         else if(ostrcmp(keyconf, _("Sleep Timer")) == 0)
     140        else if(ostrcmp(keyconf, "Sleep Timer") == 0)
    127141        {
    128142                screenpowerofftimer();
     
    131145                return;
    132146        }
    133         else if(ostrcmp(keyconf, _("Child Protection")) == 0)
     147        else if(ostrcmp(keyconf, "Child Protection") == 0)
    134148        {
    135149                screenpin();
     
    138152                return;
    139153        }
    140         else if(ostrcmp(keyconf, _("Downloads")) == 0)
     154        else if(ostrcmp(keyconf, "Downloads") == 0)
    141155        {
    142156                screenbgdownload(0);
     
    145159                return;
    146160        }
    147         else if(ostrcmp(keyconf, _("MediaDB Scan Info")) == 0)
     161        else if(ostrcmp(keyconf, "MediaDB Scan Info") == 0)
    148162        {
    149163                get_mediadb_scan_info();
Note: See TracChangeset for help on using the changeset viewer.