Changeset 25932


Ignore:
Timestamp:
02/06/14 21:22:54 (8 years ago)
Author:
obi
Message:

next step translate

Location:
titan
Files:
9 edited

Legend:

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

    r21867 r25932  
    189189        node = browserfav;
    190190
    191         tmpmbox = addmenulist(&mlist, "Home", NULL, NULL, 0, 0);
     191        tmpmbox = addmenulist(&mlist, _("Home"), NULL, NULL, 0, 0);
    192192        if(tmpmbox != NULL)
    193193                tmpmbox->param = ostrcat(getconfig("browserhome", NULL), NULL, 0, 0);
     
    204204start:
    205205        drawscreen(skin, 0, 0);
    206         mbox = menulistbox(mlist, "menulist", "Browser Favoriten", NULL, NULL, 0, 0);
     206        mbox = menulistbox(mlist, "menulist", _("Browser Favoriten"), NULL, NULL, 0, 0);
    207207        if(mbox != NULL)
    208208        {
  • titan/plugins/filemanager/filemanager.h

    r24454 r25932  
    8282{
    8383        struct menulist* mlist = NULL, *mbox = NULL;
    84         char* skintitle = "Menu";
    85 
    86         addmenulist(&mlist, "Rename", NULL, NULL, 0, 0);
    87         addmenulist(&mlist, "Create Folder", NULL, NULL, 0, 0);
     84        char* skintitle = _("Menu");
     85
     86        addmenulist(&mlist, _("Rename"), NULL, NULL, 0, 0);
     87        addmenulist(&mlist, _("Create Folder"), NULL, NULL, 0, 0);
    8888
    8989        mbox = menulistbox(mlist, NULL, skintitle, NULL, NULL, 1, 0);
    9090        if(mbox != NULL)
    9191        {
    92                 if(ostrcmp(mbox->name, "Rename") == 0)
     92                if(ostrcmp(mbox->name, _("Rename")) == 0)
    9393                {
    9494                        if(filemanagerrename(aktfilelist, filelist1, filelistpath1, filelist2, filelistpath1) != 0)
    9595                                textbox(_("Message"), _("Can't rename file !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);           
    9696                }
    97                 else if(ostrcmp(mbox->name, "Create Folder") == 0)
     97                else if(ostrcmp(mbox->name, _("Create Folder")) == 0)
    9898                {
    9999                        if(filemanagercreatefolder(aktfilelist, filelist1, filelistpath1, filelist2, filelistpath1) != 0)
  • titan/plugins/hbbtv/hbbtv.h

    r24564 r25932  
    740740        {
    741741                debug(788, "hbbtvurl=%s", status.aktservice->channel->hbbtvurl);
    742                 tmpmbox = addmenulist(&mlist, "Channel HBBTV", NULL, NULL, 0, 0);
     742                tmpmbox = addmenulist(&mlist, _("Channel HBBTV"), NULL, NULL, 0, 0);
    743743                if(tmpmbox != NULL)
    744744                        tmpmbox->param = ostrcat(status.aktservice->channel->hbbtvurl, NULL, 0, 0);
  • titan/plugins/mc/mc_global.h

    r21229 r25932  
    598598                debug(50, "rcgreenss: playlist menu");
    599599
    600                 addmenulist(&mlist, "Load Playlist", NULL, NULL, 0, 0);
    601                 addmenulist(&mlist, "Edit Playlist", NULL, NULL, 0, 0);
     600                addmenulist(&mlist, _("Load Playlist"), NULL, NULL, 0, 0);
     601                addmenulist(&mlist, _("Edit Playlist"), NULL, NULL, 0, 0);
    602602               
    603603                mbox = menulistbox(mlist, "playlistmenu", NULL, "%pluginpath%/mc/skin", NULL, 1, 0);
     
    607607                if(mbox != NULL)
    608608                {
    609                         if(ostrcmp(mbox->name, "Load Playlist") == 0){
     609                        if(ostrcmp(mbox->name, _("Load Playlist")) == 0)
     610                        {
    610611//                              *count = 0;
    611612//                              *rcwait = 1000;
  • titan/plugins/readerconfig/readerconfig.h

    r25921 r25932  
    317317        if(file_exist("/var/keys/oscam.server"))
    318318        {
    319                 tmpmlist = addmenulist(&mlist, "Use config from Flash (temporary)", NULL, NULL, 0, 0);
     319                tmpmlist = addmenulist(&mlist, _("Use config from Flash (temporary)"), NULL, NULL, 0, 0);
    320320                changemenulistparam(tmpmlist, "/var", NULL, NULL, NULL);
    321321                free(tmpstr); tmpstr = NULL;
     
    326326        if(file_exist("/var/swap/keys/oscam.server"))
    327327        {
    328                 tmpmlist = addmenulist(&mlist, "Use config from Stick or HDD", NULL, NULL, 0, 0);
     328                tmpmlist = addmenulist(&mlist, _("Use config from Stick or HDD"), NULL, NULL, 0, 0);
    329329                changemenulistparam(tmpmlist, "/var/swap", NULL, NULL, NULL);
    330330                free(tmpstr); tmpstr = NULL;
  • titan/plugins/tithek/tithek.h

    r25921 r25932  
    12131213                               
    12141214                        char* keyconf = NULL;
    1215                         char* skintitle = "Choice Playback";
     1215                        char* skintitle = _("Choice Playback");
    12161216                        struct menulist* mlist = NULL, *mbox = NULL;
    12171217                       
  • titan/titan/extensions.h

    r25921 r25932  
    123123                if(tpkchecksize(NULL, "/mnt/swapextensions", isize) == 0)
    124124                {
    125                         tmpmlist = addmenulist(&mlist, "Install to MNT", NULL, NULL, 0, 0);
     125                        tmpmlist = addmenulist(&mlist, _("Install to MNT"), NULL, NULL, 0, 0);
    126126                        changemenulistparam(tmpmlist, "/mnt/swapextensions", NULL, NULL, NULL);
    127127                        free(tmpstr); tmpstr = NULL;
     
    135135                if(tpkchecksize(NULL, "/var", isize) == 0)
    136136                {
    137                         tmpmlist = addmenulist(&mlist, "Install to FLASH", NULL, NULL, 0, 0);
     137                        tmpmlist = addmenulist(&mlist, _("Install to FLASH"), NULL, NULL, 0, 0);
    138138                        changemenulistparam(tmpmlist, "/var", NULL, NULL, NULL);
    139139                        free(tmpstr); tmpstr = NULL;
     
    149149                        if(tpkchecksize(NULL, "/var/swap", isize) == 0)
    150150                        {
    151                                 tmpmlist = addmenulist(&mlist, "Install to SWAP", NULL, NULL, 0, 0);
     151                                tmpmlist = addmenulist(&mlist, _("Install to SWAP"), NULL, NULL, 0, 0);
    152152                                changemenulistparam(tmpmlist, "/var/swap", NULL, NULL, NULL);
    153153                                free(tmpstr); tmpstr = NULL;
  • titan/titan/keyactions.h

    r25922 r25932  
    2222
    2323                if(status.mediadbfiles > 0)
    24                         addmenulist(&mlist, "MediaDB Scan Info", NULL, NULL, 0, 0);
     24                        addmenulist(&mlist, _("MediaDB Scan Info"), NULL, NULL, 0, 0);
    2525                       
    2626                if(key == 1)
  • titan/titan/play.h

    r25925 r25932  
    610610        struct skin* child = plugin->child;
    611611        struct menulist* mlist = NULL, *mbox = NULL;
    612         char* skintitle = "Menu";
     612        char* skintitle = _("Menu");
    613613
    614614        if(flag < 99)
Note: See TracChangeset for help on using the changeset viewer.