X-Git-Url: https://harishankar.org/repos/?p=wordblah.git;a=blobdiff_plain;f=constantstrings.h;h=6b8a0bbf58cf7d76567a0368f27f78c0c31ad16b;hp=050c8907fdb7d60e4ab2e74fa486cca77d75412b;hb=3d73a89d86191634ac382e0772708389686b8dde;hpb=57adeb73762dac7590dcac1b2d1e462d50e8565d diff --git a/constantstrings.h b/constantstrings.h index 050c890..6b8a0bb 100644 --- a/constantstrings.h +++ b/constantstrings.h @@ -14,16 +14,24 @@ #define PUZZLE_MENU_TITLE "Edit Puzzle" #define MAIN_MENU_TITLE "Main Menu" #define INPUT_GRID_SIZE "Number of rows/columns: " +#define INPUT_PASSWORD "Enter the password: " #define INPUT_EXPORT_ANSWERS "Export as solution (y/N): " #define INPUT_CHOICE "Your Choice: " #define EXCEED_MAX_GRID_SIZE "Exceeds max puzzle size" #define ERROR_WRITING_FILE "Error writing file" #define ERROR_READING_FILE "Error reading file" +#define COMPRESSED " (compressed)" #define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!" #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 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? \ Unsaved changes will be lost [y/N]" +#define INPUT_CONFIRM_RESET "Are you sure? This will destroy the entire grid\ +and is irreversible (y/N): " #define USAGE_LINE_1 "Usage: %s [ [new ]]\n" #define USAGE_LINE_2 " - puzzle file name\n" @@ -45,7 +53,10 @@ char *PUZZLE_EDIT_MENU[] = "7. Set Clue - Across Word", "8. Set Clue - Down Word", "9. Save puzzle", - "10.Export puzzle as PNG image", - "11.Return to main menu" }; + "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" }; #endif