@candlerip/shared3 0.0.139 → 0.0.141
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/dictionary/dictionary/config.d.ts +6 -6
- package/src/dictionary/dictionary/config.js +8 -5
- package/src/dictionary/get-excluded-translation-ids/index.d.ts +2 -1
- package/src/dictionary/get-excluded-translation-ids/index.js +10 -1
- package/src/dictionary/translation-id/candle/candle-maintenance/config.d.ts +1 -1
- package/src/dictionary/translation-id/candle/candle-maintenance/config.js +2 -2
- package/src/dictionary/translation-id/config.d.ts +1 -1
- package/src/dictionary/translation-id/config.js +8 -6
- package/src/dictionary/translation-id/person/person-maintenance/config.d.ts +1 -1
- package/src/dictionary/translation-id/person/person-maintenance/config.js +3 -3
- package/src/dictionary/get-excluded-translation-ids/util.d.ts +0 -2
- package/src/dictionary/get-excluded-translation-ids/util.js +0 -10
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const DICTIONARY_CONFIG: {
|
2
2
|
readonly 'add-person-page': {
|
3
|
-
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "persons", "auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "
|
3
|
+
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "persons", "auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "form.error.date", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "select", "form.error.maxLength", "proposable", "form.error.required", "name", "add-person-page", "person-details-page", "add-person-page.maintenance.submitError", "add-person-page.maintenance.submitSuccess", "errorLoadingData", "loading"];
|
4
4
|
};
|
5
5
|
readonly 'candle-details-page': {
|
6
6
|
readonly translationIds: readonly ["auth.loginRequired", "acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "person-candles-page", "imageCannotBeLoaded", "burnsSoFar", "burnedOutCandle", "candle.description", "litName", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "candle-details-page.myCandle.submitError", "candle-details-page.myCandle.submitSuccess", "candle-details-page.myCandle.loginRequired", "candle-details-page.myCandle.question", "candle-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "cancel", "ok", "edit-candle-page", "candle-details-page", "person-details-page"];
|
@@ -9,25 +9,25 @@ export declare const DICTIONARY_CONFIG: {
|
|
9
9
|
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "select", "burnedCandles", "burningCandles", "myCandles", "createdAt", "litName", "candles", "candle", "candlesInCount", "reset", "sort", "candles"];
|
10
10
|
};
|
11
11
|
readonly 'contact-page': {
|
12
|
-
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "contact-page", "email", "
|
12
|
+
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "contact-page", "email", "form.error.email", "form.error.invalid", "form.error.required", "reset", "send", "message", "name", "subject", "facebook"];
|
13
13
|
};
|
14
14
|
readonly 'cookie-policy-page': {
|
15
15
|
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "acceptAll", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookie-policy-page"];
|
16
16
|
};
|
17
17
|
readonly 'edit-candle-page': {
|
18
|
-
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "candle-details-page", "auth.candleLitWarning", "reset", "candle.description", "
|
18
|
+
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "candle-details-page", "auth.candleLitWarning", "reset", "candle.description", "form.error.maxLength", "form.error.required", "litName", "edit-candle-page", "modify", "edit-candle-page.maintenance.submitError", "edit-candle-page.maintenance.submitSuccess"];
|
19
19
|
};
|
20
20
|
readonly 'edit-person-page': {
|
21
|
-
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "edit-person-page", "auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "
|
21
|
+
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "edit-person-page", "auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "form.error.date", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "select", "form.error.maxLength", "proposable", "form.error.required", "name", "person-details-page", "edit-person-page.maintenance.submitError", "edit-person-page.maintenance.submitSuccess"];
|
22
22
|
};
|
23
23
|
readonly 'help-page': {
|
24
24
|
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "help-page", "help-page.intro", "persons", "help-page.personsParagraph", "help-page.addPersonTitle", "help-page.addPersonRule1", "help-page.addPersonRule2", "help-page.addPersonRule3", "help-page.addPersonRule4", "candles", "help-page.candlesParagraph1", "help-page.candlesParagraph2", "help-page.candlesParagraph3", "help-page.lightACandleTitle", "help-page.lightACandleRule1", "help-page.lightACandleRule2"];
|
25
25
|
};
|
26
26
|
readonly 'home-page': {
|
27
|
-
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "lightACandle", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "candles", "home-page.lastLitCandles", "burnedCandles", "burningCandles", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "lightACandle", "persons", "home-page.lastUploadedPersons", "auth.cannotBeChangedLaterWarning", "more", "reset", "light-candle-page.maintenance.submitError", "lightTheCandle", "light-candle-page.maintenance.submitSuccess", "
|
27
|
+
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "lightACandle", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "candles", "home-page.lastLitCandles", "burnedCandles", "burningCandles", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "lightACandle", "persons", "home-page.lastUploadedPersons", "auth.cannotBeChangedLaterWarning", "more", "reset", "light-candle-page.maintenance.submitError", "lightTheCandle", "light-candle-page.maintenance.submitSuccess", "form.error.maxLength", "person.name", "form.error.required", "litName", "burnedCandles", "burningCandles", "candles", "persons", "home-page.statistics", "add-person-page", "auth.cannotBeChangedLaterWarning", "home-page.welcome.description1", "home-page.welcome.description2", "home-page.welcome", "persons-map-page", "home-page.proposal", "home-page"];
|
28
28
|
};
|
29
29
|
readonly 'light-candle-page': {
|
30
|
-
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "person-candles-page", "auth.candleLitWarning", "reset", "candle.description", "
|
30
|
+
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "person-candles-page", "auth.candleLitWarning", "reset", "candle.description", "form.error.maxLength", "form.error.required", "litName", "lightTheCandle", "light-candle-page.maintenance.submitError", "light-candle-page.maintenance.submitSuccess", "light-candle-page"];
|
31
31
|
};
|
32
32
|
readonly 'person-candles-page': {
|
33
33
|
readonly translationIds: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "add-person-page", "candles-page", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "auth.cannotBeChangedLaterWarning", "auth.candleLitWarning", "light-candle-page", "person-candles-page.addCandle.description", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "select", "burnedCandles", "burningCandles", "myCandles", "createdAt", "litName", "candles", "candle", "candlesInCount", "reset", "sort", "person-candles-page", "person-details-page"];
|
@@ -9,6 +9,8 @@ export const DICTIONARY_CONFIG = {
|
|
9
9
|
'person-details-page',
|
10
10
|
'add-person-page.maintenance.submitError',
|
11
11
|
'add-person-page.maintenance.submitSuccess',
|
12
|
+
'errorLoadingData',
|
13
|
+
'loading',
|
12
14
|
],
|
13
15
|
},
|
14
16
|
'candle-details-page': {
|
@@ -53,9 +55,9 @@ export const DICTIONARY_CONFIG = {
|
|
53
55
|
'contact-page.sendMessageTitle',
|
54
56
|
'contact-page',
|
55
57
|
'email',
|
56
|
-
'
|
57
|
-
'
|
58
|
-
'
|
58
|
+
'form.error.email',
|
59
|
+
'form.error.invalid',
|
60
|
+
'form.error.required',
|
59
61
|
'reset',
|
60
62
|
'send',
|
61
63
|
'message',
|
@@ -134,9 +136,9 @@ export const DICTIONARY_CONFIG = {
|
|
134
136
|
'light-candle-page.maintenance.submitError',
|
135
137
|
'lightTheCandle',
|
136
138
|
'light-candle-page.maintenance.submitSuccess',
|
137
|
-
'
|
139
|
+
'form.error.maxLength',
|
138
140
|
'person.name',
|
139
|
-
'
|
141
|
+
'form.error.required',
|
140
142
|
'litName',
|
141
143
|
'burnedCandles',
|
142
144
|
'burningCandles',
|
@@ -150,6 +152,7 @@ export const DICTIONARY_CONFIG = {
|
|
150
152
|
'home-page.welcome',
|
151
153
|
'persons-map-page',
|
152
154
|
'home-page.proposal',
|
155
|
+
'home-page',
|
153
156
|
],
|
154
157
|
},
|
155
158
|
'light-candle-page': {
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
import { GetExcludedTranslationIds } from './type.js';
|
2
|
+
export declare const getExcludedTranslationIds: GetExcludedTranslationIds;
|
@@ -1 +1,10 @@
|
|
1
|
-
|
1
|
+
import { isUndefined } from '../../type/index.js';
|
2
|
+
export const getExcludedTranslationIds = (page, options) => {
|
3
|
+
const excludedIds = [`pageMenu.${page}`];
|
4
|
+
if (options) {
|
5
|
+
const { isAuthenticated } = options;
|
6
|
+
if (!isUndefined(isAuthenticated))
|
7
|
+
excludedIds.push(isAuthenticated ? 'login' : 'logout');
|
8
|
+
}
|
9
|
+
return excludedIds;
|
10
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
export declare const CANDLE_MAINTENANCE_TRANSLATION_IDS: readonly ["auth.candleLitWarning", "reset", "candle.description", "
|
1
|
+
export declare const CANDLE_MAINTENANCE_TRANSLATION_IDS: readonly ["auth.candleLitWarning", "reset", "candle.description", "form.error.maxLength", "form.error.required", "litName"];
|
@@ -2,8 +2,8 @@ export const CANDLE_MAINTENANCE_TRANSLATION_IDS = [
|
|
2
2
|
'auth.candleLitWarning',
|
3
3
|
'reset',
|
4
4
|
'candle.description',
|
5
|
-
'
|
6
|
-
'
|
5
|
+
'form.error.maxLength',
|
6
|
+
'form.error.required',
|
7
7
|
'litName',
|
8
8
|
];
|
9
9
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
@@ -1 +1 @@
|
|
1
|
-
export declare const TRANSLATION_IDS: readonly ["acceptAll", "add-person-page", "add-person-page.maintenance.submitError", "add-person-page.maintenance.submitSuccess", "auth.cannotBeChangedLaterWarning", "auth.candleLitWarning", "auth.loginRequired", "author", "burnedCandles", "burnedOutCandle", "burningCandles", "burnsSoFar", "cancel", "candle-details-page", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "candle-details-page.myCandle.submitError", "candle-details-page.myCandle.submitSuccess", "candle-details-page.myCandle.loginRequired", "candle-details-page.myCandle.question", "candle-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "candle", "candlesInCount", "candles", "candles-page", "candle.description", "caseSensitive", "contact-page", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "cookieConsentForm.title", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookie-policy-page", "count", "createdAt", "customize", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "edit-candle-page", "edit-candle-page.maintenance.submitError", "edit-candle-page.maintenance.submitSuccess", "edit-person-page", "edit-person-page.maintenance.submitError", "edit-person-page.maintenance.submitSuccess", "email", "english", "facebook", "help-page.addPersonRule1", "help-page.addPersonRule2", "help-page.addPersonRule3", "help-page.addPersonRule4", "help-page.addPersonTitle", "help-page.candlesParagraph1", "help-page.candlesParagraph2", "help-page.candlesParagraph3", "help-page.intro", "help-page.lightACandleRule1", "help-page.lightACandleRule2", "help-page.lightACandleTitle", "help-page.personsParagraph", "help-page", "home-page", "home-page.proposal", "home-page.lastLitCandles", "home-page.lastUploadedPersons", "home-page.quickCandleLighting.placeOfTheCandle.placehodler", "home-page.quickCandleLighting", "home-page.statistics", "home-page.welcome.description1", "home-page.welcome.description2", "home-page.welcome", "hungarian", "
|
1
|
+
export declare const TRANSLATION_IDS: readonly ["acceptAll", "add-person-page", "add-person-page.maintenance.submitError", "add-person-page.maintenance.submitSuccess", "auth.cannotBeChangedLaterWarning", "auth.candleLitWarning", "auth.loginRequired", "author", "burnedCandles", "burnedOutCandle", "burningCandles", "burnsSoFar", "cancel", "candle-details-page", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "candle-details-page.myCandle.submitError", "candle-details-page.myCandle.submitSuccess", "candle-details-page.myCandle.loginRequired", "candle-details-page.myCandle.question", "candle-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "candle", "candlesInCount", "candles", "candles-page", "candle.description", "caseSensitive", "contact-page", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "cookieConsentForm.title", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookie-policy-page", "count", "createdAt", "customize", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "edit-candle-page", "edit-candle-page.maintenance.submitError", "edit-candle-page.maintenance.submitSuccess", "edit-person-page", "edit-person-page.maintenance.submitError", "edit-person-page.maintenance.submitSuccess", "email", "english", "errorLoadingData", "facebook", "help-page.addPersonRule1", "help-page.addPersonRule2", "help-page.addPersonRule3", "help-page.addPersonRule4", "help-page.addPersonTitle", "help-page.candlesParagraph1", "help-page.candlesParagraph2", "help-page.candlesParagraph3", "help-page.intro", "help-page.lightACandleRule1", "help-page.lightACandleRule2", "help-page.lightACandleTitle", "help-page.personsParagraph", "help-page", "home-page", "home-page.proposal", "home-page.lastLitCandles", "home-page.lastUploadedPersons", "home-page.quickCandleLighting.placeOfTheCandle.placehodler", "home-page.quickCandleLighting", "home-page.statistics", "home-page.welcome.description1", "home-page.welcome.description2", "home-page.welcome", "hungarian", "form.error.date", "form.error.email", "form.error.invalid", "form.error.maxLength", "form.error.message", "form.error.required", "image", "invalidImage", "noMoreImages", "tooBigImage", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "lightACandle", "light-candle-page", "light-candle-page.maintenance.submitError", "light-candle-page.maintenance.submitSuccess", "lightTheCandle", "litName", "loading", "login", "loginPage.login.submitError", "loginPage.login.showPassword", "logout", "map", "message", "modify", "more", "motto1", "motto2", "motto3", "myCandles", "myPersons", "name", "ok", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "password", "person", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "person.name", "person-candles-page", "person-candles-page.addCandle.description", "person-details-page", "person-details-page.deletePerson.submitError", "person-details-page.deletePerson.submitSuccess", "person-details-page.deletePerson.question", "person-details-page.deletePerson", "person-details-page.myPerson.submitError", "person-details-page.myPerson.submitSuccess", "person-details-page.myPerson.loginRequired", "person-details-page.myPerson.question", "person-details-page.myPerson", "persons-page", "persons", "personsInCount", "persons-page.addPerson.description", "persons-page.personsList.hasImage", "persons-page.personsList", "persons-map-page.map.description", "persons-map-page", "proposable", "redirecting", "rejectAll", "reset", "save", "savedSuccessfully", "select", "send", "shareOnFacebook", "sort", "subject", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "terms-and-conditions-page.applicableLawParagraph", "terms-and-conditions-page.applicableLawTitle", "terms-and-conditions-page.conditionsOfUseParagraph", "terms-and-conditions-page.conditionsOfUseTitle", "terms-and-conditions-page.disputesParagraph", "terms-and-conditions-page.disputesTitle", "terms-and-conditions-page.intellectualPropertyParagraph", "terms-and-conditions-page.intellectualPropertyTitle", "terms-and-conditions-page.intro", "terms-and-conditions-page.limitationAndLiabilityParagraph", "terms-and-conditions-page.limitationAndLiabilityTitle", "terms-and-conditions-page", "terms-and-conditions-page.userAccountsParagraph", "terms-and-conditions-page.userAccountsTitle", "username"];
|
@@ -56,6 +56,7 @@ export const TRANSLATION_IDS = [
|
|
56
56
|
'edit-person-page.maintenance.submitSuccess',
|
57
57
|
'email',
|
58
58
|
'english',
|
59
|
+
'errorLoadingData',
|
59
60
|
'facebook',
|
60
61
|
'help-page.addPersonRule1',
|
61
62
|
'help-page.addPersonRule2',
|
@@ -82,12 +83,12 @@ export const TRANSLATION_IDS = [
|
|
82
83
|
'home-page.welcome.description2',
|
83
84
|
'home-page.welcome',
|
84
85
|
'hungarian',
|
85
|
-
'
|
86
|
-
'
|
87
|
-
'
|
88
|
-
'
|
89
|
-
'
|
90
|
-
'
|
86
|
+
'form.error.date',
|
87
|
+
'form.error.email',
|
88
|
+
'form.error.invalid',
|
89
|
+
'form.error.maxLength',
|
90
|
+
'form.error.message',
|
91
|
+
'form.error.required',
|
91
92
|
'image',
|
92
93
|
'invalidImage',
|
93
94
|
'noMoreImages',
|
@@ -101,6 +102,7 @@ export const TRANSLATION_IDS = [
|
|
101
102
|
'light-candle-page.maintenance.submitSuccess',
|
102
103
|
'lightTheCandle',
|
103
104
|
'litName',
|
105
|
+
'loading',
|
104
106
|
'login',
|
105
107
|
'loginPage.login.submitError',
|
106
108
|
'loginPage.login.showPassword',
|
@@ -1 +1 @@
|
|
1
|
-
export declare const PERSON_MAINTENANCE_TRANSLATION_IDS: readonly ["auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "
|
1
|
+
export declare const PERSON_MAINTENANCE_TRANSLATION_IDS: readonly ["auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "form.error.date", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "select", "form.error.maxLength", "proposable", "form.error.required", "name"];
|
@@ -13,15 +13,15 @@ export const PERSON_MAINTENANCE_TRANSLATION_IDS = [
|
|
13
13
|
'tooBigImage',
|
14
14
|
'image',
|
15
15
|
'noMoreImages',
|
16
|
-
'
|
16
|
+
'form.error.date',
|
17
17
|
'person.birthDate',
|
18
18
|
'person.birthPlaceCountry',
|
19
19
|
'person.deathDate',
|
20
20
|
'person.description',
|
21
21
|
'select',
|
22
|
-
'
|
22
|
+
'form.error.maxLength',
|
23
23
|
'proposable',
|
24
|
-
'
|
24
|
+
'form.error.required',
|
25
25
|
'name',
|
26
26
|
];
|
27
27
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { isUndefined } from '../../type/index.js';
|
2
|
-
export const getExcludedTranslationIds = (page, options) => {
|
3
|
-
const excludedIds = [`pageMenu.${page}`];
|
4
|
-
if (options) {
|
5
|
-
const { isAuthenticated } = options;
|
6
|
-
if (isUndefined(isAuthenticated))
|
7
|
-
excludedIds.push(isAuthenticated ? 'login' : 'logout');
|
8
|
-
}
|
9
|
-
return excludedIds;
|
10
|
-
};
|