X-Git-Url: https://harishankar.org/repos/?a=blobdiff_plain;f=biawebstrings.hpp;h=970fedea3c6a68cd7b8aebc1d2f37fd3f8f34dad;hb=802d0b0599093a6c5b30f946cd45c9ed7ebd4833;hp=76c4f2bf3bb409533cee4ca17ebe66a8336fc42d;hpb=26b38b4a38c24955293a7144f1e1d74676601caf;p=biaweb2.git diff --git a/biawebstrings.hpp b/biawebstrings.hpp index 76c4f2b..970fede 100644 --- a/biawebstrings.hpp +++ b/biawebstrings.hpp @@ -2,14 +2,19 @@ #define __BIAWEBSTRINGS__ namespace biaweb { - // COMMON STRINGS - const char* GO_UP = "Go up"; - const char* SUB_CAT = "Sub categories: "; - const char* ART_LIST = "List of Articles"; - const char* INDEX = "Index Page"; + // COMMON APPLICATION STRINGS const char* WARNING_PARSE_FAILED = "Warning: date parse failed on " ; - // DATE FORMAT + const char* NO_SUCH_PATH_ERROR = "No such path! Specify an existing file path" ; const char* DATE_IN_FORMAT = "%Y-%m-%d %H:%M %Z"; + const char* GENERATED_IN = "Generated in (s): "; + + // NAMED INDEX FOR DOCUMENT STRING BITS (LOADED FROM TEMPLATE FILE stringbits.txt) + const unsigned int HOME = 0; + const unsigned int ARTICLES_LIST = 1; + const unsigned int INDEX = 2; + const unsigned int NAVIGATION = 3; + const unsigned int SUB_CAT = 4; + const unsigned int GO_UP = 5; } #endif