Changeset 1045

User picture

Author: reyalp

(2011/01/15 23:42) Over 1 year ago

* Updated badpixel messages from ultimA in http://chdk.setepontos.com/index.php?topic=5793.msg59721#msg59721
* Move script not supported message to lang, shorten.

Affected files

Updated trunk/CHDK/LANG/english.lng Download diff

10441045
563
423 "Rear curtain flash sync"
563
423 "Rear curtain flash sync"
564
424 "DNG format"
564
424 "DNG format"
565
425 "RAW buffer cached"
565
425 "RAW buffer cached"
566
426 "Cannot load CHDK/badpixel.bin\nUse Create badpixel.bin in raw menu"
566
426 "Cannot load CHDK/badpixel.bin\nUse 'Create badpixel.bin' first"
567
427 "Show raw saving time"
567
427 "Show raw saving time"
568
428 "Connect 4"
568
428 "Connect 4"
569
429 "Opponent:"
569
429 "Opponent:"
...
...
596
458 "   Pano overlap (%)"
596
458 "   Pano overlap (%)"
597
459 "Create badpixel.bin"
597
459 "Create badpixel.bin"
598
460 "You need to be in REC-mode\nfor this operation."
598
460 "You need to be in REC-mode\nfor this operation."
599
461 "%s disabled in build"

Updated trunk/CHDK/LANG/german.lng Download diff

10441045
540
540
541
424 "DNG-Format"
541
424 "DNG-Format"
542
425 "RAW-Puffer nutzen"
542
425 "RAW-Puffer nutzen"
543
426 "Datei badpixel.bin fehlt!\nBitte starte \nCHDK/SCRIPTS/TEST/badpixel.lua"
543
426 "Datei badpixel.bin fehlt!\nFühre 'badpixel.bin erstellen' aus"
544
427 "Zeige RAW Speicherzeit"
544
427 "Zeige RAW Speicherzeit"
545
545
546
428 "4 Gewinnt"
546
428 "4 Gewinnt"

Updated trunk/CHDK/LANG/hungarian.lng Download diff

10441045
551
423 "2. redöny vakuszinkron"
551
423 "2. redöny vakuszinkron"
552
424 "DNG formátum"
552
424 "DNG formátum"
553
425 "RAW cache memória használata"
553
425 "RAW cache memória használata"
554
426 "CHDK/badpixel.bin fájlt nem lehet betölteni\nFuttasd a következöt:\nCHDK/SCRIPTS/TEST/badpixel.lua"
554
426 "CHDK/badpixel.bin fájlt nem lehet betölteni\nFuttasd a következöt:'badpixel.bin mentése'"
555
427 "RAW mentés idejének megjelenítése"
555
427 "RAW mentés idejének megjelenítése"
556
428 "Connect 4"
556
428 "Connect 4"
557
429 "Ellenfél:"
557
429 "Ellenfél:"

Updated trunk/core/gui_lang.c Download diff

10441045
544
"423 \"Rear curtain flash sync\"\n"
544
"423 \"Rear curtain flash sync\"\n"
545
"424 \"DNG format\"\n"
545
"424 \"DNG format\"\n"
546
"425 \"RAW buffer cached\"\n"
546
"425 \"RAW buffer cached\"\n"
547
"426 \"Cannot load CHDK/badpixel.bin\\nPlease run \\nCHDK/SCRIPTS/TEST/badpixel.lua\"\n"
547
"426 \"Cannot load CHDK/badpixel.bin\\nUse 'Create badpixel.bin' first\"\n"
548
"427 \"Show saving time\"\n"
548
"427 \"Show saving time\"\n"
549
549
550
"428 \"Connect 4\"\n"
550
"428 \"Connect 4\"\n"
...
...
581
"458 \"   Pano overlap (%)\"\n"
581
"458 \"   Pano overlap (%)\"\n"
582
"459 \"Create badpixel.bin\"\n"
582
"459 \"Create badpixel.bin\"\n"
583
"460 \"You need to be in REC-mode\\nfor this operation.\"\n"
583
"460 \"You need to be in REC-mode\\nfor this operation.\"\n"
584
"461 \"%s disabled in build\"\n"
584
;
585
;
585
586
586
//-------------------------------------------------------------------
587
//-------------------------------------------------------------------

Updated trunk/core/gui_lang.h Download diff

10441045
570
#define LANG_MENU_EDGE_PANO_OVERLAP  458
570
#define LANG_MENU_EDGE_PANO_OVERLAP  458
571
#define LANG_MENU_BADPIXEL_CREATE  459
571
#define LANG_MENU_BADPIXEL_CREATE  459
572
#define LANG_MSG_RECMODE_REQUIRED  460
572
#define LANG_MSG_RECMODE_REQUIRED  460
573
#define LANG_CONSOLE_SCRIPT_DISABLED_IN_BUILD  461
573
//-------------------------------------------------------------------
574
//-------------------------------------------------------------------
574
575
575
#define GUI_LANG_ITEMS                  460
576
#define GUI_LANG_ITEMS                  461
576
577
577
//-------------------------------------------------------------------
578
//-------------------------------------------------------------------
578
extern void gui_lang_init();
579
extern void gui_lang_init();

Updated trunk/core/script.c Download diff

10441045
644
        }
644
        }
645
        state_lua_kbd_first_call_to_resume = 1;
645
        state_lua_kbd_first_call_to_resume = 1;
646
#else
646
#else
647
        console_add_line("Cannot run script.");
647
        char msg[64];
648
        console_add_line("There is no Lua");
648
        sprintf(msg,lang_str(LANG_CONSOLE_SCRIPT_DISABLED_IN_BUILD),"Lua");
649
        console_add_line("support in this build.");
649
        console_add_line(msg);
650
        return -1;
650
        return -1;
651
#endif
651
#endif
652
    } else
652
    } else
...
...
658
            ubasic_set_variable(i, conf.ubasic_vars[i]);
658
            ubasic_set_variable(i, conf.ubasic_vars[i]);
659
        }
659
        }
660
#else
660
#else
661
        console_add_line("Cannot run script.");
661
        char msg[64];
662
        console_add_line("There is no UBasic");
662
        sprintf(msg,lang_str(LANG_CONSOLE_SCRIPT_DISABLED_IN_BUILD),"UBASIC");
663
        console_add_line("support in this build.");
663
        console_add_line(msg);
664
        return -1;
664
        return -1;
665
#endif
665
#endif
666
    }
666
    }