home *** CD-ROM | disk | FTP | other *** search
- enum localemsg
- {
- MSG_FailMUI=0,
- MSG_FailStack,
- MSG_FailApplication,
- MSG_FailMemory,
- MSG_FailNoTimer,
- MSG_FailNoDevice,
- MSG_FailNoIO,
- MSG_FailNoMP,
- MSG_FailNoFont,
-
- MSG_SCDPDescription,
- MSG_Track,
- MSG_TitleTime,
- MSG_CDTime,
- MSG_NoDisc,
- MSG_ListButton,
- MSG_ProgramButton,
- MSG_CDInformation,
- MSG_Artist,
- MSG_CDTitle,
- MSG_TitleList,
- MSG_Use,
- MSG_Save,
- MSG_Cancel,
- MSG_ProgramWindowTitle,
- MSG_New,
- MSG_Delete,
- MSG_Top,
- MSG_Up,
- MSG_Down,
- MSG_Bottom,
- MSG_ProgramList,
- MSG_UnknownArtist,
- MSG_UnknownTitle,
- MSG_DataTrack,
- MSG_TrackNo,
- /* Version 1.2 has a menu */
- MSG_MenuProject,
- MSG_MenuAbout,
- MSG_MenuAboutKey,
- MSG_MenuAboutMUI,
- MSG_MenuQuit,
- MSG_MenuQuitKey,
- MSG_MenuSettings,
- MSG_MenuMUI,
- /* For About requester */
- MSG_AboutText,
- MSG_AboutGadget,
- /* Version 1.2 added help bubbles */
- MSG_HelpInfo,
- MSG_HelpPlay,
- MSG_HelpPause,
- MSG_HelpStop,
- MSG_HelpPrevious,
- MSG_HelpNext,
- MSG_HelpRewind,
- MSG_HelpFastForward,
- MSG_HelpEject,
- MSG_HelpVolume,
- MSG_HelpProgramL,
- MSG_HelpShuffle,
- MSG_HelpRepeat,
- MSG_HelpTrackSelect,
- MSG_HelpList,
- MSG_HelpProgramR,
-
- MSG_HelpArtist,
- MSG_HelpCDTitle,
- MSG_HelpTitles,
- MSG_HelpTitle,
- MSG_HelpUse,
- MSG_HelpSave,
- MSG_HelpCancel,
-
- MSG_HelpPTitles,
- MSG_HelpNew,
- MSG_HelpDelete,
- MSG_HelpTop,
- MSG_HelpUp,
- MSG_HelpDown,
- MSG_HelpBottom,
- MSG_HelpProgramList,
- /* For V1.3 */
- MSG_AutoPlay,
- MSG_AutoProgram,
- MSG_AutoShuffle,
- MSG_AutoRepeat,
- /* V1.3 Help Bubbles */
- MSG_HelpAutoPlay,
- MSG_HelpAutoProgram,
- MSG_HelpAutoShuffle,
- MSG_HelpAutoRepeat,
- /* V1.5: ARexx menu */
- MSG_ARexx,
- MSG_Execute,
- MSG_SelectARexx,
- };
-
- unsigned char *defstr[]=
- {
- "Failed to open muimaster.library.",
- "Not enough stack.",
- "Couldn't set up the application.",
- "Not enough memory.",
- "Couldn't open timer.device.",
- "Couldn't open specified device.",
- "Couldn't obtain IORequest.",
- "Couldn't obtain MsgPort.",
- "Failed to open a font.",
-
- "MUI CDDA Player",
- "Track",
- "Title time",
- "CD time",
- "No Disc",
- "_List",
- "_Program",
- "CD information",
- "Artist",
- "CD Title",
- "Title list",
- "_Use",
- "_Save",
- "_Cancel",
- "Program",
- "New",
- "Delete",
- "Top",
- "Up",
- "Down",
- "Bottom",
- "Program list",
- "Unknown artist",
- "Unknown title",
- "%02d: Data track",
- "%02d: Track no. %d",
-
- /* Version 1.2 has a menu */
- "Project",
- "About...",
- "?",
- "About MUI...",
- "Quit",
- "Q",
- "Settings",
- "MUI...",
-
- /* For About requester */
- "SCDPlayer " VERSION "\nAudio player for SCSI-II and Atapi CD-ROM drives.\n© 1996 Juan J. García de Soria.",
- "OK",
- /* Version 1.2 added help bubbles */
- "Shows playing information.",
- "Start playing.",
- "Pause/resume playing.",
- "Stop playing.",
- "Go to previous track.",
- "Go to next track.",
- "Jump 5 seconds back.",
- "Jump 5 seconds forward.",
- "Eject/load the disc.",
- "Change the playing volume.",
- "Toggle Program mode.",
- "Toggle Shuffle mode.",
- "Toggle Repeat mode.",
- "Active entry shows what track is being played.\nDouble-click a track to jump to it.",
- "Edit CD information.",
- "Edit the current program.",
-
- "Enter the artist's name here.",
- "Enter current CD title here.",
- "List of track titles.",
- "Edit the titles here.",
- "Use the changes now.",
- "Save the changes to disk.",
- "Cancel the changes.",
-
- "List of track titles.\nDouble-click or drag to include in the program.",
- "Clear the program.",
- "Delete selected programmed track.",
- "Move selected programmed track to the top.",
- "Move selected programmed track up.",
- "Move selected programmed track down.",
- "Move selected programmed track to the bottom.",
- "List of programmed tracks.\nDrag to sort, double-click to delete.",
- /* New for V1.3 */
- "Auto Play",
- "Auto Program",
- "Auto Shuffle",
- "Auto Repeat",
- /* V1.3 Help Bubbles */
- "If checked, this CD starts playing when inserted.",
- "If checked, Program Mode is set when this CD is inserted.",
- "If checked, Shuffle Mode is set when this CD is inserted.",
- "If checked, Repeat Mode is set when this CD is inserted.",
- /* V1.5: ARexx menu */
- "ARexx",
- "Execute...",
- "Select an ARexx script",
-
- };
-
- unsigned char *glstr(ULONG num)
- {
- if(LocaleBase && catalog)
- {
- return GetCatalogStr(catalog,num,defstr[num]);
- }
- else
- return defstr[num];
- }
-
-