X-Git-Url: https://harishankar.org/repos/?a=blobdiff_plain;ds=sidebyside;f=constantstrings.h;h=8dd458267a2863fb9f177cd882ef2f6c8e7a7ec0;hb=c1c8f958de889d42c84735c64c75293ad91a93e1;hp=1aec3803e3d2ffc13713de14e8429f687469b1d0;hpb=b43a3bf7a7ae8b3221c886d5392498db868d35c8;p=wordblah.git diff --git a/constantstrings.h b/constantstrings.h index 1aec380..8dd4582 100644 --- a/constantstrings.h +++ b/constantstrings.h @@ -2,6 +2,8 @@ #define __CONSTANTSTRINGS_H #define VERSION "0.1a" +#define LICENSE_BSD "Licensed under the BSD 3-clause license \ +https://opensource.org/licenses/BSD-3-Clause" #define FROZEN_GRID "Grid is frozen. Unfreeze grid first!" #define UNFROZEN_GRID "Grid is unfrozen. Freeze grid first!" #define EXCEED_GRID_SIZE "Row/col exceeded grid size!" @@ -23,10 +25,13 @@ #define ERROR_READING_FILE "Error reading file" #define COMPRESSED " (compressed)" #define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!" +#define INVALID_PUZZLE "Puzzle is an invalid wordblah file or corrupted!" #define FILE_SAVED "File saved successfully" #define PASSWORD_SET "Password set successfully" -#define PASSWORD_RESET "Password reset successfully. Puzzle is no longer \ -password protected!" +#define MASTER_PASSWORD_RESET "Master password reset successfully. Puzzle no \ +longer password protected!" +#define SOLUTION_PASSWORD_RESET "Solution password reset successfully. Solution\ + can be viewed in the player without a password!" #define WRONG_PASSWORD "Wrong password!" #define NO_WORD_INDEX "No such word with specified index" #define INPUT_CONFIRM_EXIT "Are you sure you wish to exit? \ @@ -39,18 +44,19 @@ and is irreversible (y/N): " #define USAGE_LINE_3 "new - create new puzzle with grid \ columns (warning: existing file name may be overwritten)\n" -/* for wordblox_player */ +/* for wordblah_player */ #define ERROR_ICON "Unable to load icon!" -#define ERROR_WINDOW "Error loading Window!" +#define ERROR_WINDOW "Error loading Window Resource!" #define OPEN_FILE "Open File" +#define SAVE_FILE "Save File" #define UNFROZEN_GRID_PLAYER "Puzzle is not finalized/frozen and hence cannot\ be played" /* about box info */ const char *AUTHOR[] = { "V. Harishankar", NULL}; const char *COPYRIGHT = "Copyright 2020 V.Harishankar"; -const char *COMMENTS = "A player for wordblox (crossword puzzles)"; -const char *PROGRAM_NAME = "Wordblox Player"; +const char *COMMENTS = "A player for wordblah (crossword puzzles)"; +const char *PROGRAM_NAME = "Wordblah Player"; const char *WEBSITE = "http://harishankar.org/"; const char *WEBSITE_LABEL = "Author's HomePage"; @@ -69,10 +75,11 @@ char *PUZZLE_EDIT_MENU[] = "7. Set Clue - Across Word", "8. Set Clue - Down Word", "9. Save puzzle", - "10.Set puzzle password", - "11.Reset entire grid", - "12.Export puzzle as PNG image", - "13.Export clues to text file", - "14.Return to main menu" }; + "10.Set master (editing) password", + "11.Set solution password", + "12.Reset entire grid", + "13.Export puzzle as PNG image", + "14.Export clues to text file", + "15.Return to main menu" }; #endif