X-Git-Url: https://harishankar.org/repos/?p=wordblah.git;a=blobdiff_plain;f=constantstrings.h;h=89755bafec75a65ea3a39977cf08ffc891ad0214;hp=76fede7e6edde89ec4920bb1cb4f18feed445a5d;hb=48a65b2e455c24d2482fd9098c918935714a198f;hpb=762979409c32bd4902716911101a1d1071f11038 diff --git a/constantstrings.h b/constantstrings.h index 76fede7..89755ba 100644 --- a/constantstrings.h +++ b/constantstrings.h @@ -14,6 +14,7 @@ #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" @@ -21,6 +22,10 @@ #define ERROR_READING_FILE "Error reading file" #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]" @@ -47,9 +52,10 @@ char *PUZZLE_EDIT_MENU[] = "7. Set Clue - Across Word", "8. Set Clue - Down Word", "9. Save puzzle", - "10.Reset entire grid", - "11.Export puzzle as PNG image", - "12.Export clues to text file", - "13.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