Changeset 1395 for trunk


Ignore:
Timestamp:
11/05/11 05:51:08 (19 months ago)
Author:
philmoz
Message:

Enhancement for the language string handling from tsvstar & philmoz.

  • Language strings compiled into CHDK core are now generated during build from the .lng file in CHDK/LANG. Defaults to english.lng; but can be overridden in buildconf.inc or localbuildconf.inc to build a custom version of CHDK with a different native language compiled in. Saves space by not loading both english and the selected language at startup.
  • Cleanup of the english.lng file.
Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHDK/LANG/english.lng

    r1388 r1395  
    77  1 "Main Menu" 
    88 
    9 //  2 "RAW Parameters ->" 
    10 //  3 "OSD Parameters ->" 
    11 //  4 "Histogram Parameters ->" 
    12 //  5 "Zebra Parameters ->" 
    13 //  6 "Scripting Parameters ->" 
    14 //  7 "Visual Settings ->" 
    15 //  8 "Miscellaneous Stuff ->" 
    16 //  9 "Debug Parameters ->" 
    179  2 "RAW Parameters" 
    1810  3 "OSD Parameters" 
     
    2618 11 "Save Options Now..." 
    2719 
    28 // 12 "<- Back" 
    2920 12 "Back" 
    3021 
     
    4839 26 "Show Clock" 
    4940 27 "OSD Layout Editor" 
    50 // 28 "Battery ->" 
    5141 28 "Battery" 
    5242 
     
    10696 68 "File Browser" 
    10797 69 "Calendar" 
    108 // 70 "Text File Reader ->" 
    109 // 71 "Games ->" 
    11098 70 "Text File Reader" 
    11199 71 "Games" 
     
    121109 79 "Debug" 
    122110 
    123 // 80 "Show PropCases" 
    124111 80 "Debug data display" 
    125  81 "PropCase Page" 
     112 81 "PropCase/ParamsData Page" 
    126113 82 "Show Misc. Values" 
    127114 83 "Memory Browser" 
    128 // 84 "Dump RAM on ALT +/- Press" 
    129115 84 "ALT +/- debug action" 
    130116 85 "Make Card Bootable..." 
    131117 
    132118 
    133 86 "Battery showing settings" 
     119 86 "Battery showing settings" 
    134120 
    135121 87 "Battery MAX Voltage (mV)" 
     
    288274201 "Load Grid from File..." 
    289275202 "Grid Lines" 
    290 //203 "Grid ->" 
    291276203 "Grid" 
    292277204 "Select Grid File" 
     
    300285 
    301286210 "DOF Calculator" 
    302 //211 "DOF Calculator ->" 
    303287211 "DOF Calculator" 
    304288212 "Canon Subj. Dist. as Near Limit"  
     
    312296 
    313297219 "Miscellaneous Values" 
    314 //220 "Miscellaneous Values ->" 
    315298220 "Miscellaneous Values" 
    316299221 "Show in Review Mode"        
     
    328311 
    329312233 "Video Parameters" 
    330 //234 "Video Parameters ->" 
    331313234 "Video Parameters" 
    332314235 "Video Mode" 
     
    336318 
    337319238 "Extra Photo Operations" 
    338 //239 "Extra Photo Operations ->" 
    339320239 "Extra Photo Operations" 
    340321240 "Override Shutter Speed Value" 
     
    347328 
    348329247 "Bracketing in Continuous Mode" 
    349 //248 "Bracketing in Continuous Mode ->" 
    350330248 "Bracketing in Continuous Mode" 
    351331249 "TV Bracketing Value" 
     
    361341 
    362342258 "Exposure Control (No Flash)" 
    363 //259 "Exposure Control (No Flash) ->" 
    364343259 "Exposure Control (No Flash)" 
    365344260 "Recalc Exposure" 
     
    380359 
    381360272 "Show OSD in Review Mode" 
    382 //273 "Show Parameter Data" 
    383361273 "Task List start" 
    384362 
     
    418396299 "User Menu Enable" 
    419397300 "User Menu" 
    420 301 " " 
    421398 
    422399302 " Adapter Lens Scale, 100=1x" 
     
    429406309 "  Warning threshold" 
    430407310 "Enable Optical Zoom" 
    431 //311 "Clock ->" 
    432408311 "Clock" 
    433409312 "Clock Settings" 
     
    438414 
    439415317 "Raw showing settings" 
    440 //318 "Raw ->" 
    441416318 "Raw" 
    442417 
    443418319 "Filespace showing settings" 
    444 //320 "Filespace ->" 
    445419320 "Filespace" 
    446420 
    447421321 "Custom Auto ISO" 
    448 //322 "Custom Auto ISO ->" 
    449422322 "Custom Auto ISO" 
    450423323 "Enable Custom Auto ISO" 
     
    497470 
    498471365 "Custom curves" 
    499 //"366 "Custom curves ->" 
    500472366 "Custom curves" 
    501473367 "Load curve profile..." 
     
    592564452 "restart camera..." 
    593565453 "Force manual flash" 
     566454 "Quality override" 
     567455 "Restart Lua on error" 
    594568456 "Filter edges" 
    595569457 "Always show" 
  • trunk/buildconf.inc

    r1272 r1395  
    4747# for people who won't use lang files at all / not done yet 
    4848#!OPT_LANGUAGEINTERFACE=1 
     49 
     50# Override the value below to compile a different default language into 
     51# the core CHDK code. This will save memory by not loading both english and the 
     52# desired language. 
     53# Set the value to the language file name without extension - e.g. OPT_DEFAULT_LANG=russian 
     54#OPT_DEFAULT_LANG= 
  • trunk/core/Makefile

    r1350 r1395  
    113113        rm -f $(OBJS:.o=.d) 
    114114 
     115gui_lang.o: gui_lang.c gui_lang.h gui_lang_str.h 
     116 
     117ifdef OPT_DEFAULT_LANG 
     118gui_lang_str.h: $(topdir)tools/makelang.exe $(topdir)CHDK/LANG/english.lng $(topdir)CHDK/LANG/$(OPT_DEFAULT_LANG).lng 
     119        @echo $< \-\> $@ 
     120        $(topdir)tools/makelang.exe $(topdir)CHDK/LANG/english.lng $(topdir)CHDK/LANG/$(OPT_DEFAULT_LANG).lng > gui_lang_str.h 
     121else 
     122gui_lang_str.h: $(topdir)tools/makelang.exe $(topdir)CHDK/LANG/english.lng 
     123        @echo $< \-\> $@ 
     124        $(topdir)tools/makelang.exe $(topdir)CHDK/LANG/english.lng > gui_lang_str.h 
     125endif 
     126 
    115127include $(topdir)bottom.inc 
  • trunk/core/gui_lang.c

    r1393 r1395  
    44 
    55//------------------------------------------------------------------- 
    6 // New format from 'tsvstar' (http://chdk.setepontos.com/index.php?topic=650.msg75171#msg75171) 
    7 // Notes: 
    8 //              - There must be an entry for every string number from 1 to the current max. Do not delete any rows. 
    9 //              - When adding a new string make sure to terminate the string with '\0'. 
    10 //              - The .lng file format has not changed, if copying an entry from here remove the comments around 
    11 //                the string number and the '\0' terminator. If copy a new entry in here comment out the number and add the terminator. 
    12 static char* gui_lang_default = \ 
    13 /*  1*/ "Main Menu\0" 
    14 /*  2*/ "RAW parameters \0" 
    15 /*  3*/ "OSD parameters \0" 
    16 /*  4*/ "Histogram parameters \0" 
    17 /*  5*/ "Zebra parameters \0" 
    18 /*  6*/ "Scripting parameters \0" 
    19 /*  7*/ "Visual settings \0" 
    20 /*  8*/ "Miscellaneous stuff \0" 
    21 /*  9*/ "Debug parameters \0" 
    22 /* 10*/ "Reset options to default...\0" 
    23 /* 11*/ "Save options now...\0" 
    24 /* 12*/ "Back\0" 
    25 /* 13*/ "RAW\0" 
    26 /* 14*/ "Save RAW\0" 
    27 /* 15*/ "\0" 
    28 /* 16*/ "Only first RAW in series\0" 
    29 /* 17*/ "RAW file in dir with JPEG\0" 
    30 /* 18*/ "RAW file prefix\0" 
    31 /* 19*/ "RAW file extension\0" 
    32 /* 20*/ "OSD\0" 
    33 /* 21*/ "Show OSD\0" 
    34 /* 22*/ "Show State Displays\0" 
    35 /* 23*/ "Show misc values\0" 
    36 /* 24*/ " Show Zoom value as\0" 
    37 /* 25*/ "Show DOF calculator\0" 
    38 /* 26*/ "Show clock\0" 
    39 /* 27*/ "OSD layout editor\0" 
    40 /* 28*/ "Battery\0" 
    41 /* 29*/ "Histogram\0" 
    42 /* 30*/ "Show live histogram\0" 
    43 /* 31*/ "Histogram layout\0" 
    44 /* 32*/ "Histogram mode\0" 
    45 /* 33*/ "Show histogram over/under EXP\0" 
    46 /* 34*/ "Ignore boundary peaks\0" 
    47 /* 35*/ "Auto magnify\0" 
    48 /* 36*/ "Zebra\0" 
    49 /* 37*/ "Draw Zebra\0" 
    50 /* 38*/ "Zebra mode\0" 
    51 /* 39*/ "UnderExposure threshold\0" 
    52 /* 40*/ "OverExposure threshold\0" 
    53 /* 41*/ "Restore original screen\0" 
    54 /* 42*/ "Restore OSD\0" 
    55 /* 43*/ "Draw over zebra\0" 
    56 /* 44*/ "Script\0" 
    57 /* 45*/ "Load script from file...\0" 
    58 /* 46*/ "Script shoot delay (.1s)\0" 
    59 /* 47*/ "Current script\0" 
    60 /* 48*/ "Script parameters\0" 
    61 /* 49*/ "Visual settings\0" 
    62 /* 50*/ "Language...\0" 
    63 /* 51*/ "OSD codepage\0" 
    64 /* 52*/ "Menu RBF font...\0" 
    65 /* 53*/ "Colors\0" 
    66 /* 54*/ "OSD text\0" 
    67 /* 55*/ "OSD background\0" 
    68 /* 56*/ "Histogram\0" 
    69 /* 57*/ "Histogram background\0" 
    70 /* 58*/ "Histogram border\0" 
    71 /* 59*/ "Histogram EXP markers\0" 
    72 /* 60*/ "Zebra Underexposure\0" 
    73 /* 61*/ "Zebra Overexposure\0" 
    74 /* 62*/ "Battery icon\0" 
    75 /* 63*/ "Menu text\0" 
    76 /* 64*/ "Menu background\0" 
    77 /* 65*/ "Text reader text\0" 
    78 /* 66*/ "Text reader background\0" 
    79 /* 67*/ "Miscellaneous\0" 
    80 /* 68*/ "File browser\0" 
    81 /* 69*/ "Calendar\0" 
    82 /* 70*/ "Text file reader\0" 
    83 /* 71*/ "Games\0" 
    84 /* 72*/ "Flashlight\0" 
    85 /* 73*/ "Show splash screen on load\0" 
    86 /* 74*/ "Use zoom buttons for MF\0" 
    87 /* 75*/ "<ALT> mode button\0" 
    88 /* 76*/ "Draw palette\0" 
    89 /* 77*/ "Show build info\0" 
    90 /* 78*/ "Show memory info\0" 
    91 /* 79*/ "Debug\0" 
    92 /* 80*/ "Debug data display\0" 
    93 /* 81*/ "PropCase/ParamsData page\0" 
    94 /* 82*/ "Show misc. values\0" 
    95 /* 83*/ "Memory browser\0" 
    96 /* 84*/ "ALT +/- debug action\0" 
    97 /* 85*/ "Make card bootable...\0" 
    98 /* 86*/ "Battery showing settings\0" 
    99 /* 87*/ "Battery MAX Voltage (mV)\0" 
    100 /* 88*/ "Battery MIN Voltage (mV)\0" 
    101 /* 89*/ "Step Size (ON=25,OFF=1 mV)\0" 
    102 /* 90*/ "Show Battery percent\0" 
    103 /* 91*/ "Show Battery volts\0" 
    104 /* 92*/ "Show Battery icon\0" 
    105 /* 93*/ "Text file reader\0" 
    106 /* 94*/ "Open new file...\0" 
    107 /* 95*/ "Open last opened file\0" 
    108 /* 96*/ "Select RBF font\0" 
    109 /* 97*/ "Codepage\0" 
    110 /* 98*/ "Wrap by words\0" 
    111 /* 99*/ "Enable autoscroll\0" 
    112 /*100*/ "Autoscroll delay (sec)\0" 
    113 /*101*/ "Games\0" 
    114 /*102*/ "Reversi\0" 
    115 /*103*/ "Sokoban\0" 
    116 /*104*/ "*** Reset options ***\0" 
    117 /*105*/ "Are you SURE to reset\noptions to default?\0" 
    118 /*106*/ "*** Build Info ***\0" 
    119 /*107*/ "CHDK Ver: %s %s\nDate:    %s\nTime:    %s\nCamera:  %s\nFW Vers: %s\nCompiler: %s\0" 
    120 /*108*/ "*** Memory Info ***\0" 
    121 /*109*/ "Free Memory: %d bytes\nCHDK size:   %d bytes\nloaded at: 0x%X\0" 
    122 /*110*/ "*** Information ***\0" 
    123 /*111*/ "Please switch your camera\nto PLAY mode\nand try again. :)\0" 
    124 /*112*/ "File Browser\0" 
    125 /*113*/ "Select script file\0" 
    126 /*114*/ "Select text file\0" 
    127 /*115*/ "Select RBF-font file\0" 
    128 /*116*/ "Select language file\0" 
    129 /*117*/ "January\0" 
    130 /*118*/ "February\0" 
    131 /*119*/ "March\0" 
    132 /*120*/ "April\0" 
    133 /*121*/ "May\0" 
    134 /*122*/ "June\0" 
    135 /*123*/ "July\0" 
    136 /*124*/ "August\0" 
    137 /*125*/ "September\0" 
    138 /*126*/ "October\0" 
    139 /*127*/ "November\0" 
    140 /*128*/ "December\0" 
    141 /*129*/ "Mon\0" 
    142 /*130*/ "Tue\0" 
    143 /*131*/ "Wed\0" 
    144 /*132*/ "Thu\0" 
    145 /*133*/ "Fri\0" 
    146 /*134*/ "Sat\0" 
    147 /*135*/ "Sun\0" 
    148 /*136*/ "Today:\0" 
    149 /*137*/ "Ok\0" 
    150 /*138*/ "Yes\0" 
    151 /*139*/ "No\0" 
    152 /*140*/ "Cancel\0" 
    153 /*141*/ "Histogram\0" 
    154 /*142*/ "DOF calc\0" 
    155 /*143*/ "State Displays\0" 
    156 /*144*/ "Misc values\0" 
    157 /*145*/ "Batt icon\0" 
    158 /*146*/ "Batt text\0" 
    159 /*147*/ "Clock\0" 
    160 /*148*/ "Press SET to draw particular color\0" 
    161 /*149*/ "       Press MENU to exit         \0" 
    162 /*150*/ "Color\0" 
    163 /*151*/ "Use %s to select color\0" 
    164 /*152*/ "*** Game Results ***\0" 
    165 /*153*/ "You won the game! :)\0" 
    166 /*154*/ "You lost the game! :(\0" 
    167 /*155*/ "Draw! :/\0" 
    168 /*156*/ "*** Wrong move ***\0" 
    169 /*157*/ "You can't place here!\0" 
    170 /*158*/ "This cell is not empty!\0" 
    171 /*159*/ "Move: You     \0" 
    172 /*160*/ "Move: Computer\0" 
    173 /*161*/ "  GAME  OVER  \0" 
    174 /*162*/ " White  Black \0" 
    175 /*163*/ "*** About ***\0" 
    176 /*164*/ "  Level\0" 
    177 /*165*/ "  Moves\0" 
    178 /*166*/ "*** Finished ***\0" 
    179 /*167*/ "YES!\n  You did it!  \0" 
    180 /*168*/ "*** STARTED ***\0" 
    181 /*169*/ "*** INTERRUPTED ***\0" 
    182 /*170*/ "*** FINISHED ***\0" 
    183 /*171*/ "*** Erase directory ***\0" 
    184 /*172*/ "Are you SURE to delete\nALL files from\nselected directory?\0" 
    185 /*173*/ "*** Delete file ***\0" 
    186 /*174*/ "Are you SURE to delete\nselected file?\0" 
    187 /*175*/ "Benchmark\0" 
    188 /*176*/ "Calculating...\0" 
    189 /*177*/ "Camera benchmark   Press [set] to start\0" 
    190 /*178*/ "Screen\0" 
    191 /*179*/ "Write       :\0" 
    192 /*180*/ "Read        :\0" 
    193 /*181*/ "Memory\0" 
    194 /*182*/ "Flash-card\0" 
    195 /*183*/ "Write (RAW) :\0" 
    196 /*184*/ "Write (Mem) :\0" 
    197 /*185*/ "Write (64k) :\0" 
    198 /*186*/ "Read  (64k) :\0" 
    199 /*187*/ "Disable LCD off\0" 
    200 /*188*/ "Cut\0" 
    201 /*189*/ "Copy\0" 
    202 /*190*/ "Paste\0" 
    203 /*191*/ "Delete\0" 
    204 /*192*/ "Select inverse\0" 
    205 /*193*/ "*** Cut files ***\0" 
    206 /*194*/ "Are you SURE to cut\n%d selected files\nfrom %s/?\0" 
    207 /*195*/ "*** Copy files ***\0" 
    208 /*196*/ "Are you SURE to copy\n%d selected files\nfrom %s/?\0" 
    209 /*197*/ "*** Delete files ***\0" 
    210 /*198*/ "Are you SURE to delete\n%d selected files?\0" 
    211 /*199*/ "Please wait...\0" 
    212 /*200*/ "Show grid lines\0" 
    213 /*201*/ "Load grid from file...\0" 
    214 /*202*/ "Grid lines\0" 
    215 /*203*/ "Grid\0" 
    216 /*204*/ "Select grid file\0" 
    217 /*205*/ "Current grid\0" 
    218 /*206*/ "Dark Frame Subtraction\0" 
    219 /*207*/ "Override grid colors\0" 
    220 /*208*/ "Line color\0" 
    221 /*209*/ "Fill color\0" 
    222 /*210*/ "DOF Calculator\0" 
    223 /*211*/ "DOF Calculator\0" 
    224 /*212*/ "Canon Subj. Dist. as Near Limit\0" 
    225 /*213*/ "Use EXIF Subj. Dist. (PC65)\0" 
    226 /*214*/ "Show Subj. Dist. in Misc.\0" 
    227 /*215*/ "Show Near Limit in Misc.\0" 
    228 /*216*/ "Show Far Limit in Misc.\0" 
    229 /*217*/ "Show Hyperfocal Dist. in Misc.\0" 
    230 /*218*/ "Show Depth of Field in Misc.\0" 
    231 /*219*/ "Miscellaneous Values\0" 
    232 /*220*/ "Miscellaneous Values\0" 
    233 /*221*/ "Show in Review mode\0" 
    234 /*222*/ "Show Zoom\0" 
    235 /*223*/ "Show 'real' Aperture\0" 
    236 /*224*/ "Show 'real' ISO\0" 
    237 /*225*/ "Show 'market' ISO\0" 
    238 /*226*/ " Show ISO only in Autoiso mode\0" 
    239 /*227*/ "Show Set Exposure Ev (Tv+Av)\0" 
    240 /*228*/ "Show Measured Ev (Bv+Sv)\0" 
    241 /*229*/ "Show Set Bv (Brightness Value)\0" 
    242 /*230*/ "Show Measured Bv\0" 
    243 /*231*/ "Show Overexp. Value (No Flash!)\0" 
    244 /*232*/ "Show Scene luminance (cd/m2)\0" 
    245 /*233*/ "Video Parameters\0" 
    246 /*234*/ "Video Parameters\0" 
    247 /*235*/ "Video Mode\0" 
    248 /*236*/ "Video Bitrate\0" 
    249 /*237*/ "Video Quality\0" 
    250 /*238*/ "Extra Photo Operations\0" 
    251 /*239*/ "Extra Photo Operations\0" 
    252 /*240*/ "Override shutter speed\0" 
    253 /*241*/ "   Value factor\0" 
    254 /*242*/ "Override aperture\0" 
    255 /*243*/ "Override ISO value\0" 
    256 /*244*/ "   Value factor\0" 
    257 /*245*/ "Override Subj. Dist. Value (MF)\0" 
    258 /*246*/ "   Value factor (mm)\0" 
    259 /*247*/ "Bracketing in continuous mode\0" 
    260 /*248*/ "Bracketing in continuous mode\0" 
    261 /*249*/ "TV bracketing value\0" 
    262 /*250*/ "AV bracketing value\0" 
    263 /*251*/ "ISO bracketing value\0" 
    264 /*252*/ "    Value factor\0" 
    265 /*253*/ "Subj. Dist. Bracket Value (MF)\0" 
    266 /*254*/ "    Value factor (mm)\0" 
    267 /*255*/ "Bracketing type\0" 
    268 /*256*/ "Script Autostart\0" 
    269 /*257*/ "Enable Remote\0" 
    270 /*258*/ "Exposure control (no flash)\0" 
    271 /*259*/ "Exposure control (no flash)\0" 
    272 /*260*/ "Recalc Exposure\0" 
    273 /*261*/ "TV Exposure recalc order\0" 
    274 /*262*/ "AV Exposure recalc order\0" 
    275 /*263*/ "ISO Exposure recalc order\0" 
    276 /*264*/ "Clear override values@start\0" 
    277 /*265*/ "Show Canon overexp. value\0" 
    278 /*266*/ "RAW develop\0" 
    279 /*267*/ "Please switch camera\nto record mode and take\none shot.\0" 
    280 /*268*/ "Select RAW file\0" 
    281 /*269*/ "RAW sum\0" 
    282 /*270*/ "RAW average\0" 
    283 /*271*/ "Not enough memory card space:\n%dM required, %dM available.\0" 
    284 /*272*/ "Show OSD in Review Mode\0" 
    285 /*273*/ "Task list start\0" 
    286 /*274*/ "Subject distance from lens\0" 
    287 /*275*/ "Clear Bracket Values on Start\0" 
    288 /*276*/ "Create card with two partitions\0" 
    289 /*277*/ "Swap partitions\0" 
    290 /*278*/ "This DESTROYS ALL INFORMATION\non card. Continue?\0" 
    291 /*279*/ "This card has only one partition.\0" 
    292 /*280*/ "Error\0" 
    293 /*281*/ "Warning\0" 
    294 /*282*/ "Information\0" 
    295 /*283*/ "RGB zebra (overexp. only)\0" 
    296 /*284*/ "ND filter state\0" 
    297 /*285*/ "Show Histo Ev Grid\0" 
    298 /*286*/ "OSD Warning\0" 
    299 /*287*/ "OSD Warning Background\0" 
    300 /*288*/ "Remaining Space Icon Color\0" 
    301 /*289*/ "Show Filespace Icon\0" 
    302 /*290*/ "Remaining Space\0" 
    303 /*291*/ "Show Filespace in Percent\0" 
    304 /*292*/ "Show Filespace in MB\0" 
    305 /*293*/ "Filespace Text\0" 
    306 /*294*/ "  Show RAW shoot remain\0" 
    307 /*295*/ "Remaining RAW\0" 
    308 /*296*/ "Show RAW state \0" 
    309 /*297*/ "Show values in video\0" 
    310 /*298*/ "Shutterspeed enum type\0" 
    311 /*299*/ "User Menu Enable\0" 
    312 /*300*/ "User Menu\0" 
    313 /*301*/ " \0" 
    314 /*302*/ " Adapter Lens Scale, 100=1x\0" 
    315 /*303*/ "Show Space Bar\0" 
    316 /*304*/ "  Size on Screen\0" 
    317 /*305*/ "  Width/Height\0" 
    318 /*306*/ "  % threshold\0" 
    319 /*307*/ "  MB threshold\0" 
    320 /*308*/ "Warning Unit\0" 
    321 /*309*/ "  Warning threshold\0" 
    322 /*310*/ "Enable optical zoom\0" 
    323 /*311*/ "Clock\0" 
    324 /*312*/ "Clock Settings\0" 
    325 /*313*/ "Clock format\0" 
    326 /*314*/ "Remaining Space Background Color\0" 
    327 /*315*/ "12h Clock Indicator\0" 
    328 /*316*/ "@Shutter half-press show\0" 
    329 /*317*/ "Raw showing settings\0" 
    330 /*318*/ "Raw\0" 
    331 /*319*/ "Filespace showing settings\0" 
    332 /*320*/ "Filespace\0" 
    333 /*321*/ "Custom Auto ISO\0" 
    334 /*322*/ "Custom Auto ISO\0" 
    335 /*323*/ "Enable Custom Auto ISO\0" 
    336 /*324*/ "Minimal Shutter speed\0" 
    337 /*325*/ "User Factor (1/FL/factor)\0" 
    338 /*326*/ "IS Factor (Tv*factor)\0" 
    339 /*327*/ "Max ISO HI (x10)\0" 
    340 /*328*/ "Max ISO AUTO (x10)\0" 
    341 /*329*/ "Min ISO (x10)\0" 
    342 /*330*/ "Menu Title Text Color\0" 
    343 /*331*/ "Menu Title Background Color\0" 
    344 /*332*/ "Cursor Text Color\0" 
    345 /*333*/ "Cursor Background Color\0" 
    346 /*334*/ "Center Menu\0" 
    347 /*335*/ "Mute during zooming\0" 
    348 /*336*/ "Bad pixel removal\0" 
    349 /*337*/ "Off\0" 
    350 /*338*/ "Averag.\0" 
    351 /*339*/ "RAWconv\0" 
    352 /*340*/ "Override\0" 
    353 /*341*/ "Override Background\0" 
    354 /*342*/ "Disable Overrides\0" 
    355 /*343*/ "  Include AutoIso & Bracketing?\0" 
    356 /*344*/ "  Hide OSD?\0" 
    357 /*345*/ "Disable @ Video Rec?\0" 
    358 /*346*/ "Show remaining videotime?\0" 
    359 /*347*/ "  Refreshrate (~sec)\0" 
    360 /*348*/ "Remaining video time\0" 
    361 /*349*/ "Clear videoparams on Start?\0" 
    362 /*350*/ "Enable Fast Ev switch?\0" 
    363 /*351*/ "   Step size (1 EV)?\0" 
    364 /*352*/ "EV correction\0" 
    365 /*353*/ "Are you SURE to delete ALL\nRAW files without corresponding JPG\nin DCIM folder?\0" 
    366 /*354*/ "Are you SURE to delete ALL\nRAW files without corresponding JPG\nin selected folder?\0" 
    367 /*355*/ "Are you SURE to delete RAW files\nwithout corresponding JPG?\n(Excluding marked)\0" 
    368 /*356*/ "Purge RAW feature\ndoes not apply to this item\0" 
    369 /*357*/ "*** Purge RAW files ***\0" 
    370 /*358*/ "Purge RAW\0" 
    371 /*359*/ "User Menu as Root\0" 
    372 /*360*/ "Symbol font\0" 
    373 /*361*/ "Select Symbol file\0" 
    374 /*362*/ "Enable Symbols\0" 
    375 /*363*/ "Symbol Text Color\0" 
    376 /*364*/ "Symbol Background Color\0" 
    377 /*365*/ "Custom curves\0" 
    378 /*366*/ "Custom curves\0" 
    379 /*367*/ "Load curve profile...\0" 
    380 /*368*/ "Enable curve\0" 
    381 /*369*/ "Select curve file\0" 
    382 /*370*/ "Edge overlay\0" 
    383 /*371*/ "Edge overlay\0" 
    384 /*372*/ "Enable edge overlay\0" 
    385 /*373*/ "Edge overlay threshold\0" 
    386 /*374*/ "Edge overlay color\0" 
    387 /*375*/ "Remote parameters\0" 
    388 /*376*/ "Remote parameters\0" 
    389 /*377*/ "Enable Synchable Remote\0" 
    390 /*378*/ "Enable Synch\0" 
    391 /*379*/ "Enable Synch Delay\0" 
    392 /*380*/ "Synch Delay 0.1ms\0" 
    393 /*381*/ "Synch Delay 0.1s\0" 
    394 /*382*/ "AF key\0" 
    395 /*383*/ "Load default param values\0" 
    396 /*384*/ "Parameters set\0" 
    397 /*385*/ "Disable Raw @ Sports\0" 
    398 /*386*/ "Disable RAW @ Burst\0" 
    399 /*387*/ "Disable RAW @ EV Bracketing\0" 
    400 /*388*/ "Disable RAW @ Timer\0" 
    401 /*389*/ "Exceptions\0" 
    402 /*390*/ "RAW Exceptions Menu\0" 
    403 /*391*/ "Warn when exception?\0" 
    404 /*392*/ "Auto select 1st entry @ menu\0" 
    405 /*393*/ "Time-out (0.1s)\0" 
    406 /*394*/ "synchable remote\0" 
    407 /*395*/ "Fast Video Control?\0" 
    408 /*396*/ "Temperature\0" 
    409 /*397*/ "Show Temperature?\0" 
    410 /*398*/ "Video Quality Control?\0" 
    411 /*399*/ "Enable Remote Zoom\0" 
    412 /*400*/ "Zoom Time-out 0.1s\0" 
    413 /*401*/ "Startup sound\0" 
    414 /*402*/ "Raw subtract prefix\0" 
    415 /*403*/ "Raw subtract extension\0" 
    416 /*404*/ "Subtract input dark value\0" 
    417 /*405*/ "Subtract output dark value\0" 
    418 /*406*/ "from\0" 
    419 /*407*/ "...%d more files\0" 
    420 /*408*/ "Subtract\0" 
    421 /*409*/ "Sub from marked\0" 
    422 /*410*/ "Save params\0" 
    423 /*411*/ "Video Ev display\0" 
    424 /*412*/ "   Zoom Value\0" 
    425 /*413*/ "Zoom Override\0" 
    426 /*414*/ "   Clear on start\0" 
    427 /*415*/ "Add raw-suffix\0" 
    428 /*416*/ "  in Fahrenheit\0" 
    429 /*417*/ "Load Edge Overlay\0" 
    430 /*418*/ "Save Edge Overlay\0" 
    431 /*419*/ "Enable in Play\0" 
    432 /*420*/ "\0" 
    433 /*421*/ "Load+Set Zoom\0" 
    434 /*422*/ "Panorama Mode\0" 
    435 /*423*/ "Rear curtain flash sync\0" 
    436 /*424*/ "DNG format\0" 
    437 /*425*/ "RAW buffer cached\0" 
    438 /*426*/ "Cannot load CHDK/badpixel.bin\nUse 'Create badpixel.bin' first\0" 
    439 /*427*/ "Show saving time\0" 
    440 /*428*/ "Connect 4\0" 
    441 /*429*/ "Opponent:\0" 
    442 /*430*/ "Human\0" 
    443 /*431*/ "Player 1 won the game\0" 
    444 /*432*/ "Player 2 won the game\0" 
    445 /*433*/ "I beat you\0" 
    446 /*434*/ "The game ended a draw\0" 
    447 /*435*/ "Disable Raw @ Edgeoverlay\0" 
    448 /*436*/ "Disable RAW @ Auto\0" 
    449 /*437*/ "   only in video\0" 
    450 /*438*/ "   Power of flash\0" 
    451 /*439*/ "'DNG' file extension\0" 
    452 /*440*/ "DNG visible via USB\0" 
    453 /*441*/ "Mastermind\0" 
    454 /*442*/ "available colors\0" 
    455 /*443*/ "on the right place\0" 
    456 /*444*/ "color in answer\0" 
    457 /*445*/ "CORRECT :-)\0" 
    458 /*446*/ "GAME OVER\0" 
    459 /*447*/ "[<-][->] select column\0" 
    460 /*448*/ "[UP][DOWN] select color\0" 
    461 /*449*/ "[SET] next row\0" 
    462 /*450*/ "NO DOUBLE COLOR\0" 
    463 /*451*/ "Reset files\0" 
    464 /*452*/ "Restart Camera...\0" 
    465 /*453*/ "Force manual flash\0" 
    466 /*454*/ "Quality override\0" 
    467 /*455*/ "Restart Lua on error\0" 
    468 /*456*/ "Filter edges\0" 
    469 /*457*/ "Always show\0" 
    470 /*458*/ "   Pano overlap (%)\0" 
    471 /*459*/ "Create badpixel.bin\0" 
    472 /*460*/ "You need to be in REC-mode\nfor this operation.\0" 
    473 /*461*/ "%s disabled in build\0" 
    474 /*462*/ "Touchscreen overrides\0" 
    475 /*463*/ "Video AE Controls\0" 
    476 /*464*/ "<Alt> Shortcut Buttons\0" 
    477 /*465*/ "USB Remote\0" 
    478 /*466*/ "Show USB Remote Status\0" 
    479 ; 
     6// String list now is generated automatically from .lng files 
     7// Please add new lines directly to english.lng and please try to keep ids serial 
     8#include "gui_lang_str.h" 
    4809 
    48110//------------------------------------------------------------------- 
  • trunk/tools/Makefile

    r1291 r1395  
    55include $(topdir)makefile.inc 
    66 
    7 OBJS=pakwif.o finsig_$(PLATFORMOS).o gensig_$(PLATFORMOS).o dumpchk.o dancingbits.o rawconvert.o dumputil.o find_levent.o find_eventproc.o yuvconvert.o font_8x16_pack.o 
     7OBJS=pakwif.o finsig_$(PLATFORMOS).o gensig_$(PLATFORMOS).o dumpchk.o dancingbits.o rawconvert.o dumputil.o find_levent.o find_eventproc.o yuvconvert.o font_8x16_pack.o makelang.o 
    88 
    99ifdef OPT_FI2 
     
    1111endif 
    1212 
    13 all: pakwif$(EXE) finsig_$(PLATFORMOS)$(EXE) dancingbits$(EXE) font_8x16_pack$(EXE) 
     13all: pakwif$(EXE) finsig_$(PLATFORMOS)$(EXE) dancingbits$(EXE) font_8x16_pack$(EXE) makelang$(EXE) 
    1414 
    1515# not needed by batch builds, not built by default 
     
    6262 
    6363font_8x16_pack$(EXE): font_8x16_pack.o 
     64        @echo $^ \-\> $@ 
     65        $(HOSTCC) $(HOSTCFLAGS) -o $@ $^ 
     66 
     67makelang$(EXE): makelang.o 
    6468        @echo $^ \-\> $@ 
    6569        $(HOSTCC) $(HOSTCFLAGS) -o $@ $^ 
Note: See TracChangeset for help on using the changeset viewer.