home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 106 / af106a.adf / archives / serious.lzx / ViNCEd / Localize! / sys1.asm < prev   
Assembly Source File  |  1997-11-19  |  14KB  |  154 lines

  1. ;*************************************************************************
  2. ;** ViNCEd localisation source code     © 1990-1997 THOR                **
  3. ;**     Version 40.50                                                   **
  4. ;**                                                                     **
  5. ;**     system, part one: The menu                                      **
  6. ;**                                                                     **
  7. ;*************************************************************************
  8.  
  9. ;This file gets assembled by PhxAss and defines the menu layout used by
  10. ;ViNCEd.
  11. ;Don't panic if you don't understand assembler! It is not necessary to
  12. ;read and modify this file.
  13. ;You only have to change all strings in double quotes "..." like this
  14. ;Leave everything outside alone.
  15. ;
  16. ;Like in the locale constructor, all texts typed beyond semicolons
  17. ;are comments, like this one, and they are ignored.
  18. ;
  19. ;
  20. ;I put the english versions of the menuitems beyond the actual instructions,
  21. ;since the origin of this file is the german localization.
  22. ;
  23. ;*************************************************************************
  24. ;** Start of the assembler part                                         **
  25. ;*************************************************************************
  26. ;
  27. ; Some defines for the menu items. Please leave them alone, they are 
  28. ; interpreted by the ViNCEd internal menu creator and indicate the
  29. ; type of the item they construct.
  30. ;
  31. mc_Menu         =       1               ;a menu point
  32. mc_MenuItem     =       2               ;an item of a menu      
  33. mc_SubItem      =       3               ;a subitem of an item
  34. mc_LastMenu     =       $81             ;the last menu at all
  35. mc_LastItem     =       $82             ;the last item of a menu
  36. mc_LastSubItem  =       $83             ;the last subitem of subitems to an item
  37. ;
  38. ;
  39. ; The next instruction tells PhxAss to put the binary in a data hunk.
  40. ; This is needed for the "|" command of CreateCatalog.
  41. ; Please do not change it
  42. ;
  43.         section data,data
  44. ;
  45. ; Calculate the length of the total structure... read by ViNCEd
  46. ; Please do not change       
  47.         dc.l End-MenuCommands
  48. ;
  49. ;
  50. ;**************** PLEASE EDIT THE LINES BELOW *****************************
  51. MenuCommands:
  52. ;Start of the "MenuCommands". Please edit only strings in double quotes ".."
  53. ;They describe the complete menu layout menu by menu and item by item.
  54. ;
  55. ;The english version is beyond the text:
  56. ;Changes are marked with (*)
  57. ;
  58.         dc.b mc_Menu,1,0,"Projekt",0                                    ;Project                This is the title of the project menu
  59.                 dc.b mc_MenuItem,$50,'N',"Neues Fenster",0              ;New Window             This calls the macro to open a new ViNCEd Window (a system macro)
  60.                 dc.b mc_MenuItem,$50,'O',"Öffnen...",0                  ;Open...(*)             Load the window contents from ASCII file
  61.                 dc.b mc_MenuItem,$50,0,"History öffnen...",0            ;Open History...(*)     Load the history from an ASCII file
  62.                 dc.b mc_MenuItem,0,0,0                                  ;------------(*)        The empty string creates a separator bar
  63.                 dc.b mc_MenuItem,$50,'S',"Speichern unter...",0         ;Save As...(*)          Save the window contents
  64.                 dc.b mc_MenuItem,$50,0,"History speichern...",0         ;Save History...(*)     Save the history
  65.                 dc.b mc_MenuItem,0,0,0                                  ;------------           The empty string creates a separator bar
  66.                 dc.b mc_MenuItem,$50,'+',"Maximale Größe",0             ;Expand window          Resize ViNCEd to maximum
  67.                 dc.b mc_MenuItem,$50,'-',"Minimale Größe",0             ;Shrink window          Resize ViNCEd to minimum
  68.                 dc.b mc_MenuItem,$50,'.',"Nächsten Schirm nach vorne",0 ;Next Screen to front   Toggle thru the list of open screens
  69.                 dc.b mc_MenuItem,$50,'I',"Iconifizieren",0              ;Iconify                Iconify the window
  70.                 dc.b mc_MenuItem,$50,'J',"Auf den nächsten Schirm",0    ;Jump to Next Screen    Open window on next pub screen
  71.                 dc.b mc_MenuItem,0,0,0                                  ;-------------          Again a separator bar   
  72.                 dc.b mc_MenuItem,$50,0,"Hilfe...",0                     ;Help...                Call a system macro to show the guide
  73.                 dc.b mc_MenuItem,$50,0,"Einstellungen...",0             ;Settings...            Call a system macro for the settings, usually SetVNC
  74.                 dc.b mc_MenuItem,$10,0,"Über ViNCEd",0                  ;About...               This submenu contains the copyright information
  75.                         dc.b mc_SubItem!$40!(10<<2),$d0,0,0             ;First line of the copyright text. It is hard-coded, so no changes are possible here. Don't edit
  76.                         dc.b mc_SubItem,$c0,0,0                         ;-------------          Separator bar
  77.                         dc.b mc_SubItem!$40!(11<<2),$d0,0,0             ;Second line of the copyright...
  78.                         dc.b mc_SubItem!$40!(12<<2),$d0,0,0             ;Third line, copyright
  79.                         dc.b mc_SubItem,$c0,0,0                         ;-------------          A separator
  80.                         dc.b mc_SubItem,$d0,0,"   Deutsche Übersetzung:",0 ;German Translation  This line and the next one are used to display the author of the translation
  81.                         dc.b mc_SubItem,$d0,0,"      Thomas Richter",0  ;my name. Put your's here to let people know who did the job!
  82.                         dc.b mc_LastSubItem,0,0                         ;Dummy entry needed by the menu builder: Last sub item. Do not change
  83.                 dc.b mc_MenuItem,0,0,0                                  ;-------------
  84.                 dc.b mc_MenuItem,$50,'Q',"Fenster schließen",0          ;Close Window           Call the close macro to shut down
  85.                 dc.b mc_LastItem,0,0                                    ;Dummy entry needed by the builder: Last item of the project menu
  86.         dc.b mc_Menu,1,0,"Edieren",0                                    ;Edit                   The headline of the edit menu: Block operations and other stuff
  87.                 dc.b mc_MenuItem,$50,'X',"Ausschneiden",0               ;Cut                    Cut the marked area, put it to the clipboard
  88.                 dc.b mc_MenuItem,$50,'C',"Kopieren",0                   ;Copy                   Copy the marked area    
  89.                 dc.b mc_MenuItem,$50,'H',"Demarkieren",0                ;Hide                   Unmark everything in the block
  90.                 dc.b mc_MenuItem,$50,'V',"Einfügen",0                   ;Paste                  Paste the clipboard contents to the window
  91.                 dc.b mc_MenuItem,$50,'A',"Alles auswählen",0            ;Select All             Mark everything in the ViNCEd buffer.   
  92.                 dc.b mc_MenuItem,0,0,0                                  ;------------
  93.                 dc.b mc_MenuItem,$50,'L',"Fenster löschen",0            ;Clear Window(*)           Clear the contents of the window (only the lower buffer) (Shortcut removed)
  94.                 dc.b mc_MenuItem,$50,'E',"Bis Fensterende löschen",0    ;Erase to End Of Window Clear the area behind the cursor
  95.                 dc.b mc_MenuItem,$50,'R',"Terminal zurücksetzen",0      ;Reset Terminal         Clear the buffer and reset the terminal: Text color, cursor mode, etc...
  96.                 dc.b mc_MenuItem,0,0,0                                  ;------------
  97.                 dc.b mc_MenuItem,$50,'F',"Suche vorwärts",0             ;Search Forward         Seek in the history: Forwards   
  98.                 dc.b mc_MenuItem,$50,'B',"Suche rückwärts",0            ;Search Backwards       Seek in the history: Backwars
  99.                 dc.b mc_LastItem,0,0                                    ;dummy entry: The last item
  100.         dc.b mc_Menu,1,0,"Makros",0                                     ;Macros                 This is the start of the macro menu.
  101.                 dc.b mc_MenuItem,$50,0,"Makro ausschneiden",0           ;Cut Macro              Cut the marked area and put it in one macro
  102.                         dc.b mc_SubItem!$40!(0<<2),$50,0,0              ;These lines are just dummies. They are replaced
  103.                         dc.b mc_SubItem!$40!(1<<2),$50,0,0              ;by the macro contents, so you don't need to edit them
  104.                         dc.b mc_SubItem!$40!(2<<2),$50,0,0              ;ditto
  105.                         dc.b mc_SubItem!$40!(3<<2),$50,0,0              ;
  106.                         dc.b mc_SubItem!$40!(4<<2),$50,0,0
  107.                         dc.b mc_SubItem!$40!(5<<2),$50,0,0
  108.                         dc.b mc_SubItem!$40!(6<<2),$50,0,0
  109.                         dc.b mc_SubItem!$40!(7<<2),$50,0,0
  110.                         dc.b mc_SubItem!$40!(8<<2),$50,0,0
  111.                         dc.b mc_SubItem!$40!(9<<2),$50,0,0              ;'til here.
  112.                         dc.b mc_LastSubItem,0,0                         ;last dummy item
  113.                 dc.b mc_MenuItem,0,0,0                                  ;------------------
  114.                 dc.b mc_MenuItem!$40!(0<<2),$50,'0',0                   ;again the macro list. Again no need for editings...
  115.                 dc.b mc_MenuItem!$40!(1<<2),$50,'1',0                   ;second macro
  116.                 dc.b mc_MenuItem!$40!(2<<2),$50,'2',0                   ;third
  117.                 dc.b mc_MenuItem!$40!(3<<2),$50,'3',0                   ;etc...
  118.                 dc.b mc_MenuItem!$40!(4<<2),$50,'4',0
  119.                 dc.b mc_MenuItem!$40!(5<<2),$50,'5',0
  120.                 dc.b mc_MenuItem!$40!(6<<2),$50,'6',0
  121.                 dc.b mc_MenuItem!$40!(7<<2),$50,'7',0
  122.                 dc.b mc_MenuItem!$40!(8<<2),$50,'8',0
  123.                 dc.b mc_MenuItem!$40!(9<<2),$50,'9',0                   ;last macro
  124.                 dc.b mc_LastItem,0,0                                    ;last item, dummy entry
  125.         dc.b mc_Menu,1,0,"Einstellungen",0                              ;Settings               This is the headline of the settings menu
  126.                                                                                 ;The next lines describe/change the size of certain buffers.
  127.                                                                                 ;the mysterious "%d" gets replaced by the actual number=size of the buffer
  128.                 dc.b mc_MenuItem!$40!(13<<2),$50,0,"Buffergröße  : %d",0        ;Cut History Size       This one cuts the size of the history buffer from the input
  129.                 dc.b mc_MenuItem!$40!(14<<2),$50,0,"Untere Zeilen: %d",0        ;Cut Display Size       Cut the size of the lower (visible) buffer
  130.                 dc.b mc_MenuItem!$40!(15<<2),$50,0,"Obere Zeilen : %d",0        ;Cut Upper Size         Cut the size of the upper buffer area
  131.                 dc.b mc_MenuItem,0,0,0                                  ;------------------------
  132.                 dc.b mc_MenuItem,$5d,'D',"Dos Cursor Modus?",0          ;Dos Cursor Mode?       Change to primitive (DOS like) cursor movement.
  133.                 dc.b mc_MenuItem,$59,0,"Überschreiben?",0               ;Overwrite Mode?        Instead of insertion    
  134.                 dc.b mc_MenuItem,$5d,'W',"Ringbuffer?",0                ;Warp around Buffer?    The buffer & tab expansion warp around at each end, i.e. continue at the other end
  135.                 dc.b mc_MenuItem,$59,0,"Mit Makro schließen?",0         ;Smart Close(*)         Invoke a macro to close the window (Shortcut removed)
  136.                 dc.b mc_MenuItem,$59,0,"Vorsichtig schließen?",0        ;Safer Close            Inhibit closes by the gadget if more than one process is in the window
  137.                 dc.b mc_MenuItem,$59,0,"Nur Eingaben ausschneiden?",0   ;Cut Inputs Only        Ignore DOS output in the block operations. It gets cut, but is never put to the clipboard
  138.                 dc.b mc_MenuItem,$5d,'P',"Aufbauverzögerung?",0         ;Rebuild Delay          Allow ViNCEd to do the window refresh later to speed up output ?
  139.                 dc.b mc_MenuItem,$59,0,"Automatisch kopieren?",0        ;Auto Copy              Copy the block automatically if it got marked, like under unix.
  140.                 dc.b mc_MenuItem,$59,0,"Cursorsteuerung mit ALT?",0     ;Alternate Movement     Use ALT+Up/Down to move the cursor, UP/Down for the history
  141.                 dc.b mc_MenuItem,$59,0,"Mit TAB expandieren?",0         ;Expand with TAB        Instead of Ctrl+TAB (in shell mode)
  142.                 dc.b mc_MenuItem,$59,0,"Doppel-TAB Requester?",0        ;Double TAB requester   Display a requester on double tab to select the file by hand    
  143.                 dc.b mc_MenuItem,$59,0,"Requester falls mehrdeutig?",0  ;Request if not unique  Show a requester if more than one expansion is possible
  144.                 dc.b mc_MenuItem,$59,0,"Vollständig expandieren?",0     ;Expand Fully           Do not display a partial expansion, show instead the full one/or the requester
  145.                 dc.b mc_MenuItem,$59,'T',"Teilpfad durchsuchen?",0      ;Partial Path           Expand commands not using the full path, search in the current directory and C: only
  146.                 dc.b mc_LastItem,0,0                                    ;Dummy entry
  147.         dc.b mc_LastMenu,0,0                                            ;another dummy: End of Menu (EOM:-)
  148. End:    dc.b 0                                                          ;That's it.
  149. ;
  150. ; When you arrived here, you're done with the menu. Congratulations...
  151. ;
  152.         end
  153. ;Tell the assembler to shut up.
  154.