- Create Newsletter Page: MailingList (without the class style, using Gulp tasks)#94
This commit is contained in:
66
src/server/tools/server_constants.js
Normal file
66
src/server/tools/server_constants.js
Normal file
@@ -0,0 +1,66 @@
|
||||
module.exports = Object.freeze({
|
||||
RIS_CODE_TODO_CREATING_NOTMYUSER: -1001,
|
||||
RIS_CODE_NOT_MY_USERNAME: -1010,
|
||||
|
||||
RIS_CODE_ERR: -99,
|
||||
RIS_CODE_EMAIL_ALREADY_VERIFIED: -5,
|
||||
RIS_CODE_EMAIL_VERIFIED: 1,
|
||||
|
||||
RIS_CODE_EMAIL_NOT_SENT: -40,
|
||||
RIS_CODE_ERR_UNAUTHORIZED: -30,
|
||||
RIS_CODE_LOGIN_ERR_GENERIC: -20,
|
||||
RIS_CODE_LOGIN_ERR: -10,
|
||||
RIS_CODE_OK: 1,
|
||||
|
||||
RIS_CODE_LOGIN_OK: 1,
|
||||
|
||||
RIS_CODE_HTTP_INVALID_TOKEN: 403,
|
||||
|
||||
RIS_SUBSCRIBED_OK: 1,
|
||||
RIS_SUBSCRIBED_ALREADYEXIST: 2,
|
||||
RIS_SUBSCRIBED_ERR: -1,
|
||||
RIS_SUBSCRIBED_STR: 'subscribed',
|
||||
|
||||
MenuAction: {
|
||||
DELETE: 100,
|
||||
},
|
||||
|
||||
RIS_SUBSCRIBED_MSG: {
|
||||
enUs: 'Subscription to the Newsletter Confirmed!',
|
||||
es: 'Suscripción al boletín confirmado!',
|
||||
it: 'Sottoscrizione alla Newsletter Confermata!',
|
||||
fr: 'Inscription à la newsletter confirmée!',
|
||||
de: 'Anmeldung zum Newsletter bestätigt!'
|
||||
} ,
|
||||
RIS_SUBSCRIBED_MSG_ALREADYEXIST: {
|
||||
enUs: 'Subscription already made!',
|
||||
es: 'Suscripción ya realizada!',
|
||||
it: 'Sottoscrizione già effettuata!',
|
||||
fr: 'Abonnement déjà fait!',
|
||||
de: 'Abonnement bereits gemacht!'
|
||||
} ,
|
||||
RIS_SUBSCRIBED_MSG_FAILED: {
|
||||
enUs: 'Sign Up Failed :(',
|
||||
es: 'Suscripción al boletín fallido',
|
||||
it: 'Sottoscrizione alla Newsletter Fallita',
|
||||
fr: 'Abonnement à la newsletter en échec',
|
||||
de: 'Abonnement des fehlgeschlagenen Newsletters',
|
||||
} ,
|
||||
|
||||
|
||||
LIST_END: '10000000',
|
||||
LIST_START: null,
|
||||
|
||||
Privacy: {
|
||||
all: 'all',
|
||||
friends: 'friends',
|
||||
mygroup: 'mygroup',
|
||||
onlyme: 'onlyme'
|
||||
},
|
||||
|
||||
TypeProj: {
|
||||
TYPE_PROJECT: 1,
|
||||
TYPE_SUBDIR: 2,
|
||||
}
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user