home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: WPS_PM / WPS_PM.zip / xfld085s.zip / 001 / xfldr001.rc < prev    next >
Text File  |  1999-03-02  |  12KB  |  270 lines

  1. /*
  2.  * xfldr001.rc:
  3.  *      this is the main resource file for the English NLS DLL.
  4.  *
  5.  *      Translate all the strings in this file. If you encounter
  6.  *      any "~" characters: these are for underlining characters
  7.  *      in menus so that the menu item can be accessed using the
  8.  *      keyboard.
  9.  *
  10.  *      The dialog templates (xfldr001.dlg) are #include'd. You
  11.  *      may either translate that text file "manually" or open
  12.  *      the resulting .RES file with the Toolkit dialog editor.
  13.  *      This will then recreate the .RES and .DLG files, but leave
  14.  *      the .RC file untouched.
  15.  *
  16.  *      The dialog editor has a "Translate mode" in its "Options"
  17.  *      menu which disables a lot of menu items to allow you to
  18.  *      only change strings. This is very helpful to avoid
  19.  *      accidentally ruining the dialogs.
  20.  *
  21.  *      Copyright (C) 1997-99 Ulrich Möller.
  22.  *      This file is part of the XFolder source package.
  23.  *      XFolder is free software; you can redistribute it and/or modify
  24.  *      it under the terms of the GNU General Public License as published
  25.  *      by the Free Software Foundation, in version 2 as it comes in the
  26.  *      "COPYING" file of the XFolder main distribution.
  27.  *      This program is distributed in the hope that it will be useful,
  28.  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
  29.  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  30.  *      GNU General Public License for more details.
  31.  */
  32.  
  33. #define INCL_PM
  34. #include <os2.h>
  35.  
  36. /* this is new with V0.85; this define is actually the only reason
  37.    why wpobject.h was needed. Since that file is only in the Toolkit,
  38.    I'll just add the define here so everyone can compile. */
  39. #define WPMENUID_USER          0x6500
  40. /* #include <wpobject.h> */
  41. #include "..\main\dlgids.h"
  42.  
  43. /* icons, bitmaps */
  44. POINTER ID_ICONDLG LOADONCALL MOVEABLE DISCARDABLE xfldrdlg.ico
  45. POINTER ID_SDICON LOADONCALL MOVEABLE DISCARDABLE xfldshut.ico
  46.  
  47. BITMAP ID_XFLDRBITMAP LOADONCALL MOVEABLE DISCARDABLE xfolder.bmp
  48.  
  49. /* Context menus for the "WPS Classes" notebook page */
  50. MENU ID_XSM_WPSCLASSES_SEL LOADONCALL MOVEABLE DISCARDABLE
  51. BEGIN
  52.     MENUITEM "~Deregister...", ID_XSMI_WPS_DEREGISTER
  53.     MENUITEM "~Replace with subclass...", ID_XSMI_WPS_REPLACE
  54.     MENUITEM "~Undo replacement...", ID_XSMI_WPS_UNREPLACE
  55.     MENUITEM "~Show information", ID_XSMI_WPS_INFO
  56. END
  57.  
  58. MENU ID_XSM_WPSCLASSES_NOSEL LOADONCALL MOVEABLE DISCARDABLE
  59. BEGIN
  60.     MENUITEM "~Register new class...", ID_XSMI_WPS_REGISTER
  61.     MENUITEM "~Show information", ID_XSMI_WPS_INFO
  62. END
  63.  
  64. /* here come lots of little strings which XFolder uses in all kinds
  65.    of places. XFolder loads all these strings at once when the
  66.    WPS is being started (see cmnQueryNLSStrings in common.c). */
  67. STRINGTABLE
  68. BEGIN
  69.     /* miscellaneous menu items */
  70.     ID_XSSI_NOTDEFINED              "[not defined]"
  71.     ID_XSSI_PRODUCTINFO             "~XFolder product information"
  72.     ID_XSSI_REFRESHNOW              "~Refresh now"
  73.     ID_XSSI_SNAPTOGRID              "~Snap to grid"
  74.  
  75.     /* language of this DLL as displayed on the "XFolder Internals"
  76.        notebook page */
  77.     ID_XSSI_DLLLANGUAGE             "US English"
  78.  
  79.     /* XFOLDER_VERSION is in dlgids.h; this is checked by the
  80.        XFolder NLS DLL loader so that no DLLs are loaded which
  81.        are older than the main DLL. No change needed. */
  82.     ID_XSSI_XFOLDERVERSION          XFOLDER_VERSION
  83.  
  84.     ID_XSSI_FLDRCONTENT             "F~older contents"
  85.     ID_XSSI_COPYFILENAME            "~Copy filename"
  86.     ID_XSSI_BORED                   "[Configuration folder is empty]"
  87.     ID_XSSI_FLDREMPTY               "[empty]"
  88.     ID_XSSI_SELECTSOME              "Select by ~name..."
  89.     ID_XSSI_PROCESSCONTENT          "Start folder ~content..."
  90.  
  91.     /* title of "Quick open" status window at bootup */
  92.     ID_XFSI_QUICKSTATUS             "Quick Open"
  93.  
  94.     /* status bar strings */
  95.     ID_XSSI_POPULATING              "Collecting objects..."
  96.  
  97.     /* default status bar mnemonics */
  98.     ID_XSSI_SBTEXTNONESEL           "$C objects$x(50%)$SK KB total, $fK KB free"
  99.     ID_XSSI_SBTEXTMULTISEL          "$c of $C objects selected$x(50%)$sK KB selected"
  100.     ID_XSSI_SBTEXTWPDATAFILE        """$r"" ($w)$x(55%)$sK KB $x(70%)$D $T"
  101.     ID_XSSI_SBTEXTWPDISK            "$t ($fM MB free)"
  102.     ID_XSSI_SBTEXTWPPROGRAM         "$t $x(30%)""$p $P"""
  103.     ID_XSSI_SBTEXTWPOBJECT          "$t (Class: $W)"
  104.  
  105.     /* hotkey descriptions */
  106.     ID_XSSI_KEY_CTRL                "Ctrl+"
  107.     ID_XSSI_KEY_Alt                 "Alt+"
  108.     ID_XSSI_KEY_SHIFT               "Shift+"
  109.  
  110.     ID_XSSI_KEY_BACKSPACE           "Backspace"
  111.     ID_XSSI_KEY_TAB                 "Tab"
  112.     ID_XSSI_KEY_BACKTABTAB          "Backtab"
  113.     ID_XSSI_KEY_ENTER               "Enter"
  114.     ID_XSSI_KEY_ESC                 "Esc"
  115.     ID_XSSI_KEY_SPACE               "Space"
  116.     ID_XSSI_KEY_PAGEUP              "Page up"
  117.     ID_XSSI_KEY_PAGEDOWN            "Page down"
  118.     ID_XSSI_KEY_END                 "End"
  119.     ID_XSSI_KEY_HOME                "Home"
  120.     ID_XSSI_KEY_LEFT                "Left"
  121.     ID_XSSI_KEY_UP                  "Up"
  122.     ID_XSSI_KEY_RIGHT               "Right"
  123.     ID_XSSI_KEY_DOWN                "Down"
  124.     ID_XSSI_KEY_PRINTSCRN           "Printscrn"
  125.     ID_XSSI_KEY_INSERT              "Insert"
  126.     ID_XSSI_KEY_DELETE              "Delete"
  127.     ID_XSSI_KEY_SCRLLOCK            "ScrlLock"
  128.     ID_XSSI_KEY_NUMLOCK             "NumLock"
  129.  
  130.     ID_XSSI_KEY_WINLEFT             "Win95 left"
  131.     ID_XSSI_KEY_WINRIGHT            "Win95 right"
  132.     ID_XSSI_KEY_WINMENU             "Win95 menu"
  133.  
  134.     /* and the corresponding list box items on the
  135.        "Hotkeys" notebook page */
  136.     ID_XSSI_LB_REFRESHNOW           "Refresh now"
  137.     ID_XSSI_LB_SNAPTOGRID           "Snap to grid"
  138.     ID_XSSI_LB_SELECTALL            "Select all"
  139.     ID_XSSI_LB_OPENPARENTFOLDER     "Open parent folder"
  140.     ID_XSSI_LB_OPENSETTINGSNOTEBOOK "Open settings notebook"
  141.     ID_XSSI_LB_OPENNEWDETAILSVIEW   "Open new Details view"
  142.     ID_XSSI_LB_OPENNEWICONVIEW      "Open new Icon view"
  143.     ID_XSSI_LB_DESELECTALL          "De-select all"
  144.     ID_XSSI_LB_OPENNEWTREEVIEW      "Open new Tree view"
  145.     ID_XSSI_LB_FIND                 "Find..."
  146.     ID_XSSI_LB_PICKUP               "Pickup"
  147.     ID_XSSI_LB_PICKUPCANCELDRAG     "Pickup (Cancel drag)"
  148.     ID_XSSI_LB_SORTBYNAME           "Sort by name"
  149.     ID_XSSI_LB_SORTBYSIZE           "Sort by size"
  150.     ID_XSSI_LB_SORTBYTYPE           "Sort by type"
  151.     ID_XSSI_LB_SORTBYREALNAME       "Sort by real name"
  152.     ID_XSSI_LB_SORTBYWRITEDATE      "Sort by write date"
  153.     ID_XSSI_LB_SORTBYACCESSDATE     "Sort by access date"
  154.     ID_XSSI_LB_SORTBYCREATIONDATE   "Sort by creation date"
  155.     ID_XSSI_LB_SWITCHTOICONVIEW     "Switch to Icon view (Warp 4 only)"
  156.     ID_XSSI_LB_SWITCHTODETAILSVIEW  "Switch to Details view (Warp 4 only)"
  157.     ID_XSSI_LB_SWITCHTOTREEVIEW     "Switch to Tree view (Warp 4 only)"
  158.     ID_XSSI_LB_ARRANGEDEFAULT       "Arrange (default)"
  159.     ID_XSSI_LB_ARRANGEFROMTOP       "Arrange from top (Warp 4 only)"
  160.     ID_XSSI_LB_ARRANGEFROMLEFT      "Arrange from left (Warp 4 only)"
  161.     ID_XSSI_LB_ARRANGEFROMRIGHT     "Arrange from right (Warp 4 only)"
  162.     ID_XSSI_LB_ARRANGEFROMBOTTOM    "Arrange from bottom (Warp 4 only)"
  163.     ID_XSSI_LB_ARRANGEPERIMETER     "Arrange Perimeter (Warp 4 only)"
  164.     ID_XSSI_LB_ARRANGEHORIZONTALLY  "Arrange horizontally (Warp 4 only)"
  165.     ID_XSSI_LB_ARRANGEVERTICALLY    "Arrange vertically (Warp 4 only)"
  166.     ID_XSSI_LB_INSERT               "Paste... (Warp 4 only)"
  167.     ID_XSSI_LB_SORTBYEXTENSION      "Sort by extension"
  168.     ID_XSSI_LB_SORTFOLDERSFIRST     "Sort, folders first"
  169.     ID_XSSI_LB_SORTBYCLASS          "Sort by object class"
  170.     ID_XSSI_LB_OPENPARENTFOLDERANDCLOSE     "Open parent folder and close current folder"
  171.     ID_XSSI_LB_SELECTSOME           "Select by name..."
  172.     ID_XSSI_LB_CLOSEWINDOW          "Close window"
  173.     ID_XSSI_LB_CONTEXTMENU          "Show context menu"
  174.     ID_XSSI_LB_TASKLIST             "Show task list"
  175.     ID_XSSI_LB_COPYFILENAME_SHORT   "Copy filename (without path)"
  176.     ID_XSSI_LB_COPYFILENAME_FULL    "Copy filename (including path)"
  177.  
  178.     /* XShutdown: context menu items and messages for the
  179.        status window. Do not change the %d and %s keys, or
  180.        XShutdown might crash. These are needed for inserting
  181.        variable data (sprintf). */
  182.     ID_SDSI_SHUTDOWN                "~Shutdown"
  183.     ID_SDSI_RESTARTWPS              "~Restart WPS..."
  184.     ID_SDSI_RESTARTINGWPS           "Restarting WPS..."
  185.     ID_SDSI_SAVINGDESKTOP           "Saving %d WPS objects..."
  186.     ID_SDSI_SAVINGPROFILES          "Saving INI files..."
  187.     ID_SDSI_STARTING                "Starting ""%s""..."
  188.     ID_SDSI_FLUSHING                "Releasing filesystems..."
  189.     ID_SDSI_CAD                     "Shutdown complete."
  190.     ID_SDSI_REBOOTING               "Computer is being restarted..."
  191.     ID_SDSI_CLOSING                 "Closing"
  192.     ID_SDSI_DEFAULT                 "Default"
  193.  
  194.     /* titles for XFolder notebook pages */
  195.     ID_XSSI_1GENERIC                "~XFolder"
  196.     ID_XSSI_25ADDITEMS              "Context ~menus"
  197.     ID_XSSI_26CONFIGITEMS           "Config folder items"
  198.     ID_XSSI_2REMOVEITEMS            "Standard menu items"
  199.     ID_XSSI_27STATUSBAR             "Status bars"
  200.     ID_XSSI_3SNAPTOGRID             "Grid"
  201.     ID_XSSI_4ACCELERATORS           "Folder hotkeys"
  202.     ID_XSSI_5INTERNALS              "XFolder Internals"
  203.     ID_XSSI_FILEOPS                 "File ~operations"
  204.  
  205.     /* object internals page */
  206.     ID_XSSI_INTERNALS               "~Internals"
  207.  
  208.     /* sort strings */
  209.     ID_XSSI_SORT                    "~Sort"
  210.  
  211.     ID_XSSI_SV_NAME                 "Name"
  212.     ID_XSSI_SV_TYPE                 "Type"
  213.     ID_XSSI_SV_CLASS                "Object class"
  214.     ID_XSSI_SV_REALNAME             "Real name"
  215.     ID_XSSI_SV_SIZE                 "Size"
  216.     ID_XSSI_SV_WRITEDATE            "Last write date"
  217.     ID_XSSI_SV_ACCESSDATE           "Last access date"
  218.     ID_XSSI_SV_CREATIONDATE         "Creation date"
  219.     ID_XSSI_SV_EXT                  "File name extension"
  220.     ID_XSSI_SV_FOLDERSFIRST         "Folders first"
  221.  
  222.     ID_XSSI_SV_ALWAYSSORT           "Always maintain sort order"
  223.  
  224.     /* XFolder standard dialog box (cmnMessageBox in common.c) */
  225.     ID_XSSI_DLG_YES                     "~Yes"
  226.     ID_XSSI_DLG_NO                      "~No"
  227.     ID_XSSI_DLG_OK                      "~OK"
  228.     ID_XSSI_DLG_CANCEL                  "~Cancel"
  229.     ID_XSSI_DLG_ABORT                   "~Abort"
  230.     ID_XSSI_DLG_RETRY                   "~Retry"
  231.     ID_XSSI_DLG_IGNORE                  "~Ignore"
  232.  
  233.     /* "WPS Classes" notebook page */
  234.     ID_XSSI_SB_CLASSMNEMONICS           "Status bar info of this class:"
  235.     ID_XSSI_SB_CLASSNOTSUPPORTED        "This class does not introduce new status bar info."
  236.     ID_XSSI_WPSCLASSES                  "WPS Classes"
  237.     ID_XSSI_WPSCLASSLOADED              "Class loaded."
  238.     ID_XSSI_WPSCLASSLOADINGFAILED       "Class loading failed."
  239.     ID_XSSI_WPSCLASSREPLACEDBY          "Class replaced with %s."
  240.     ID_XSSI_WPSCLASSORPHANS             "Orphaned classes"
  241.     ID_XSSI_WPSCLASSORPHANSINFO         "The classes in this tree could not be loaded. You should remove them from the WPS class list."
  242.  
  243.     /* OS/2 Kernel notebook pages */
  244.     ID_XSSI_SCHEDULER                   "~Scheduler"
  245.     ID_XSSI_MEMORY                      "~Memory"
  246.     ID_XSSI_ERRORS                      "E~rrors"
  247.     ID_XSSI_WPS                         "~WPS"
  248.  
  249.     /* extended settings submenus */
  250.     ID_XFSI_SETTINGS                    "~Properties"
  251.     ID_XFSI_SETTINGSNOTEBOOK            "~Notebook"
  252.     ID_XFSI_ATTRIBUTES                  "File attributes"
  253.     ID_XFSI_ATTR_ARCHIVED               "Archived"
  254.     ID_XFSI_ATTR_SYSTEM                 "System"
  255.     ID_XFSI_ATTR_HIDDEN                 "Hidden"
  256.     ID_XFSI_ATTR_READONLY               "Read-only"
  257.  
  258.     ID_XFSI_FLDRSETTINGS                "~View"
  259.     ID_XFSI_SMALLICONS                  "~Small icons"
  260.     ID_XFSI_FLOWED                      "~Flowed"
  261.     ID_XFSI_NONFLOWED                   "~Non-flowed"
  262.     ID_XFSI_NOGRID                      "~As placed"
  263.  
  264.     ID_XFSI_SHOWSTATUSBAR               "~Status bar"
  265. END
  266.  
  267. rcinclude "xfldr001.dlg"
  268.  
  269.  
  270.