fansunited-frontend-core 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/functions/functions.d.ts +3 -3
- package/functions/functions.js +4 -0
- package/functions/functions.js.map +1 -0
- package/functions/helpers.d.ts +3 -4
- package/functions/helpers.js +74 -0
- package/functions/helpers.js.map +1 -0
- package/index.d.ts +9 -9
- package/index.js +10 -0
- package/index.js.map +1 -0
- package/interfaces/interfaces.d.ts +5 -6
- package/interfaces/interfaces.js +2 -0
- package/interfaces/interfaces.js.map +1 -0
- package/package.json +1 -1
- package/locales/bg.json +0 -129
- package/locales/de.json +0 -129
- package/locales/es.json +0 -129
- package/locales/fr-be.json +0 -129
- package/locales/fr.json +0 -129
- package/locales/it.json +0 -129
- package/locales/pl.json +0 -129
- package/locales/pt-br.json +0 -129
- package/locales/pt.json +0 -129
- package/locales/ro.json +0 -129
- package/locales/sk.json +0 -129
- package/locales/sr.json +0 -129
package/functions/functions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useSpacingScale, getSpacing, isMobile, useFontFamily, useCornerRadius, useColors, useBorderSize, useInternalTheme, useImageBackgroundGradient, } from
|
|
2
|
-
export { stripHtmlTags, hexToRgb, isAndroid, getDefaultCountryByCode, getDefaultCountryByLanguage, extractBrandingProperties, sanitizeBackgroundUrl, mapContentTypeToConsentEntityType, } from
|
|
3
|
-
export { initializeI18n } from
|
|
1
|
+
export { useSpacingScale, getSpacing, isMobile, useFontFamily, useCornerRadius, useColors, useBorderSize, useInternalTheme, useImageBackgroundGradient, } from "./theme";
|
|
2
|
+
export { stripHtmlTags, hexToRgb, isAndroid, getDefaultCountryByCode, getDefaultCountryByLanguage, extractBrandingProperties, sanitizeBackgroundUrl, mapContentTypeToConsentEntityType, } from "./helpers";
|
|
3
|
+
export { initializeI18n } from "./i18n";
|
|
4
4
|
//# sourceMappingURL=functions.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { useSpacingScale, getSpacing, isMobile, useFontFamily, useCornerRadius, useColors, useBorderSize, useInternalTheme, useImageBackgroundGradient, } from "./theme";
|
|
2
|
+
export { stripHtmlTags, hexToRgb, isAndroid, getDefaultCountryByCode, getDefaultCountryByLanguage, extractBrandingProperties, sanitizeBackgroundUrl, mapContentTypeToConsentEntityType, } from "./helpers";
|
|
3
|
+
export { initializeI18n } from "./i18n";
|
|
4
|
+
//# sourceMappingURL=functions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../src/functions/functions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,QAAQ,EACR,aAAa,EACb,eAAe,EACf,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,0BAA0B,GAC3B,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,aAAa,EACb,QAAQ,EACR,SAAS,EACT,uBAAuB,EACvB,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,EACrB,iCAAiC,GAClC,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC"}
|
package/functions/helpers.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { BrandingColorsModel, BrandingModel, ConsentEntityType } from
|
|
2
|
-
|
|
1
|
+
import { BrandingColorsModel, BrandingModel, ConsentEntityType } from "fansunited-sdk-esm";
|
|
3
2
|
export declare const stripHtmlTags: (html: string | null) => string;
|
|
4
3
|
export declare const hexToRgb: (hex: string) => string;
|
|
5
4
|
export declare const isAndroid: () => boolean;
|
|
6
|
-
export declare const getDefaultCountryByCode: (phoneCountryCode: string | null) => import(
|
|
7
|
-
export declare const getDefaultCountryByLanguage: (language: string | null) => import(
|
|
5
|
+
export declare const getDefaultCountryByCode: (phoneCountryCode: string | null) => import("..").CountryType | null;
|
|
6
|
+
export declare const getDefaultCountryByLanguage: (language: string | null) => import("..").CountryType | null;
|
|
8
7
|
export declare const extractBrandingProperties: (branding: BrandingModel | null) => {
|
|
9
8
|
brandingImage: string | null;
|
|
10
9
|
brandingColors: BrandingColorsModel | null;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { countries, languageToCountryCode } from "../constants/constants";
|
|
2
|
+
import { isMobile } from "./theme";
|
|
3
|
+
export const stripHtmlTags = (html) => {
|
|
4
|
+
const tmp = document.createElement("div");
|
|
5
|
+
tmp.innerHTML = html || "";
|
|
6
|
+
return tmp.textContent || tmp.innerText || "";
|
|
7
|
+
};
|
|
8
|
+
export const hexToRgb = (hex) => {
|
|
9
|
+
// Remove the hash if present
|
|
10
|
+
hex = hex.replace(/^#/, "");
|
|
11
|
+
// Parse the hex values
|
|
12
|
+
const r = parseInt(hex.substring(0, 2), 16);
|
|
13
|
+
const g = parseInt(hex.substring(2, 4), 16);
|
|
14
|
+
const b = parseInt(hex.substring(4, 6), 16);
|
|
15
|
+
return `${r}, ${g}, ${b}`;
|
|
16
|
+
};
|
|
17
|
+
// Helper function to check if running on Android
|
|
18
|
+
export const isAndroid = () => {
|
|
19
|
+
return /Android/i.test(navigator.userAgent);
|
|
20
|
+
};
|
|
21
|
+
export const getDefaultCountryByCode = (phoneCountryCode) => {
|
|
22
|
+
const code = phoneCountryCode || "44";
|
|
23
|
+
return countries.find((country) => country.phone === code) || null;
|
|
24
|
+
};
|
|
25
|
+
export const getDefaultCountryByLanguage = (language) => {
|
|
26
|
+
const code = language ? languageToCountryCode[language] : "GB";
|
|
27
|
+
return countries.find((country) => country.code === code) || null;
|
|
28
|
+
};
|
|
29
|
+
export const extractBrandingProperties = (branding) => {
|
|
30
|
+
let brandingImage = branding?.images?.backgroundImage || null;
|
|
31
|
+
let brandingLogo = branding?.images?.mainLogo || null;
|
|
32
|
+
let brandingColors = null;
|
|
33
|
+
if (isMobile() && branding?.images) {
|
|
34
|
+
brandingImage = branding.images.mobileBackgroundImage;
|
|
35
|
+
brandingLogo = branding.images.mobileLogo;
|
|
36
|
+
}
|
|
37
|
+
if (branding?.colors) {
|
|
38
|
+
brandingColors = branding.colors;
|
|
39
|
+
}
|
|
40
|
+
return { brandingImage, brandingColors, brandingLogo };
|
|
41
|
+
};
|
|
42
|
+
export const sanitizeBackgroundUrl = (url) => {
|
|
43
|
+
try {
|
|
44
|
+
return `url("${encodeURI(url)}")`;
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
return "none";
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export const mapContentTypeToConsentEntityType = (type) => {
|
|
51
|
+
if (!type)
|
|
52
|
+
return undefined;
|
|
53
|
+
// Backward compatibility: map generic "quiz" to "classic_quiz"
|
|
54
|
+
if (type === "quiz")
|
|
55
|
+
return "classic_quiz";
|
|
56
|
+
// If already valid, pass through
|
|
57
|
+
const valid = [
|
|
58
|
+
"template",
|
|
59
|
+
"classic_quiz",
|
|
60
|
+
"personality_quiz",
|
|
61
|
+
"either_or",
|
|
62
|
+
"match_quiz",
|
|
63
|
+
"top_x",
|
|
64
|
+
"bracket",
|
|
65
|
+
"standing",
|
|
66
|
+
"poll",
|
|
67
|
+
];
|
|
68
|
+
if (valid.includes(type))
|
|
69
|
+
return type;
|
|
70
|
+
// Fallback: don't set entityType if unknown
|
|
71
|
+
console.warn(`[CollectLead] Unknown content type "${type}" for consents; omitting entityType.`);
|
|
72
|
+
return undefined;
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/functions/helpers.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAmB,EAAU,EAAE;IAC3D,MAAM,GAAG,GAAG,Q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AK,MAAM;QAAE,OAAO,cAAc,CAAC;IAC3C,iCAAiC;IACjC,MAAM,KAAK,GAAwB;QACjC,UAAU;QACV,cAAc;QACd,kBAAkB;QAClB,WAAW;QACX,YAAY;QACZ,OAAO;QACP,SAAS;QACT,UAAU;QACV,MAAM;KACP,CAAC;IACF,IAAK,KAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,IAAyB,CAAC;IACzE,4CAA4C;IAC5C,OAAO,CAAC,IAAI,CACV,uCAAuC,IAAI,sCAAsC,CAClF,CAAC;IACF,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export { default as CollectLeadForm } from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
1
|
+
export * from "./constants/constants";
|
|
2
|
+
export * from "./functions/functions";
|
|
3
|
+
export * from "./interfaces/interfaces";
|
|
4
|
+
export * from "./types/types";
|
|
5
|
+
export * from "./enums/enums";
|
|
6
|
+
export * from "./components/Spinner";
|
|
7
|
+
export { default as CollectLeadForm } from "./components/Leads/CollectLeadForm";
|
|
8
|
+
export * from "./hooks/hooks";
|
|
9
|
+
export * from "./providers/providers";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./constants/constants";
|
|
2
|
+
export * from "./functions/functions";
|
|
3
|
+
export * from "./interfaces/interfaces";
|
|
4
|
+
export * from "./types/types";
|
|
5
|
+
export * from "./enums/enums";
|
|
6
|
+
export * from "./components/Spinner";
|
|
7
|
+
export { default as CollectLeadForm } from "./components/Leads/CollectLeadForm";
|
|
8
|
+
export * from "./hooks/hooks";
|
|
9
|
+
export * from "./providers/providers";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAChF,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ActionType, CTAType, ContentViewType, JourneyType, LinkTargetType, StageType, LanguageType, LeadField, LeadPosition, OptionsLayout } from
|
|
2
|
-
import { WidgetTemplate } from
|
|
3
|
-
import { FansUnitedSDKModel, ImagesModel } from
|
|
4
|
-
import { ColorSystemOptions, CssVarsThemeOptions } from
|
|
5
|
-
import { DefaultColorScheme, DefaultPaletteRange, ExtendedColorScheme } from
|
|
6
|
-
|
|
1
|
+
import { ActionType, CTAType, ContentViewType, JourneyType, LinkTargetType, StageType, LanguageType, LeadField, LeadPosition, OptionsLayout } from "../types/types";
|
|
2
|
+
import { WidgetTemplate } from "../enums/enums";
|
|
3
|
+
import { FansUnitedSDKModel, ImagesModel } from "fansunited-sdk-esm";
|
|
4
|
+
import { ColorSystemOptions, CssVarsThemeOptions } from "@mui/joy/styles/extendTheme";
|
|
5
|
+
import { DefaultColorScheme, DefaultPaletteRange, ExtendedColorScheme } from "@mui/joy/styles/types";
|
|
7
6
|
export interface AnalyticsEvent {
|
|
8
7
|
journey: JourneyType;
|
|
9
8
|
stage: StageType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/interfaces/interfaces.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
package/locales/bg.json
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"language": "Bulgarian",
|
|
4
|
-
"code": "bg",
|
|
5
|
-
"direction": "ltr"
|
|
6
|
-
},
|
|
7
|
-
"classicQuiz": {
|
|
8
|
-
"buttons": {
|
|
9
|
-
"finish": "Завършете куиза",
|
|
10
|
-
"start": "Започнете куиза",
|
|
11
|
-
"playAgain": "Играйте отново",
|
|
12
|
-
"playNext": "Играйте този куиз",
|
|
13
|
-
"next": "Следващ въпрос",
|
|
14
|
-
"share": "Споделете резултата",
|
|
15
|
-
"tryAgain": "Опитайте отново"
|
|
16
|
-
},
|
|
17
|
-
"congratulations": {
|
|
18
|
-
"lowScore": "Продължавайте да се опитвате! Постигнахте:",
|
|
19
|
-
"mediumScore": "Успяхте! Искате ли да подобрите резултата си?",
|
|
20
|
-
"goodScore": "Страхотна работа! Постигнахте:",
|
|
21
|
-
"perfectScore": "Невероятно! Отговорихте правилно на всички въпроси!"
|
|
22
|
-
},
|
|
23
|
-
"share": {
|
|
24
|
-
"timedTitle": "Постигнах {{scorePercentage}}% в този куиз за {{time}}!",
|
|
25
|
-
"title": "Постигнах {{scorePercentage}}% в този куиз!",
|
|
26
|
-
"timedBody": "Постигнах {{scorePercentage}}% в куиза {{titleQuiz}} за {{time}}! {{hashtags}}",
|
|
27
|
-
"body": "Постигнах {{scorePercentage}}% в куиза {{titleQuiz}}! {{hashtags}}"
|
|
28
|
-
},
|
|
29
|
-
"headline": "Куиз",
|
|
30
|
-
"youDidItFor": "Направихте го за",
|
|
31
|
-
"thanksForPlaying": "Благодарим Ви, че участвахте!",
|
|
32
|
-
"question": "Въпрос",
|
|
33
|
-
"yourAnswer": "Вашият отговор:",
|
|
34
|
-
"correctAnswer": "Правилният отговор:",
|
|
35
|
-
"results": "Резултати",
|
|
36
|
-
"answers": "Отговори",
|
|
37
|
-
"maxAttemptsReached": "Достигнахте максималния брой допустими участия! Вашият резултат е:",
|
|
38
|
-
"youWon": "Спечелихте",
|
|
39
|
-
"quizNotFound": "Кузът не е намерен",
|
|
40
|
-
"quizNotFoundDescription": "Класическият куиз не можа да бъде намерен."
|
|
41
|
-
},
|
|
42
|
-
"common": {
|
|
43
|
-
"presentedBy": "Спонсор:",
|
|
44
|
-
"signIn": "Влезте в профила си за да играете",
|
|
45
|
-
"labels": {
|
|
46
|
-
"min": "мин",
|
|
47
|
-
"sec": "сек",
|
|
48
|
-
"points": "точки",
|
|
49
|
-
"iAgreeToThe": "Съгласявам се с",
|
|
50
|
-
"andThe": "и с"
|
|
51
|
-
},
|
|
52
|
-
"authentication": {
|
|
53
|
-
"accessRequired": "Готови ли сте да играете?",
|
|
54
|
-
"invalidOrMissingAuth": "Създайте безплатен акаунт и влезте в играта!"
|
|
55
|
-
},
|
|
56
|
-
"error": {
|
|
57
|
-
"title": "Не може да се обработи заявката",
|
|
58
|
-
"message": "В момента имаме проблеми с обработката на вашата заявка. Моля, опитайте отново след малко."
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"leads": {
|
|
62
|
-
"header": {
|
|
63
|
-
"title": "Попълнете и участвайте за награда!",
|
|
64
|
-
"description": "Попълнете формата и вземете участие в томбола за да спечелите страхотна награда!"
|
|
65
|
-
},
|
|
66
|
-
"buttons": {
|
|
67
|
-
"submit": "Изпрати"
|
|
68
|
-
},
|
|
69
|
-
"form": {
|
|
70
|
-
"success": "Успешно изпратена форма",
|
|
71
|
-
"error": "Грешка при изпращане на формата. Моля опитайте отново.",
|
|
72
|
-
"fullName": "Име и фамилия",
|
|
73
|
-
"fullNamePlaceholder": "Въведете вашето име и фамилия",
|
|
74
|
-
"firstName": "Име",
|
|
75
|
-
"firstNamePlaceholder": "Въведете вашето име",
|
|
76
|
-
"lastName": "Фамилия",
|
|
77
|
-
"lastNamePlaceholder": "Въведете вашата фамилия",
|
|
78
|
-
"email": "Имейл",
|
|
79
|
-
"phone": "Телефон",
|
|
80
|
-
"phonePlaceholder": "Вашият телефонен номер",
|
|
81
|
-
"gender": "Пол",
|
|
82
|
-
"genderPlaceholder": "Изберете пол",
|
|
83
|
-
"genderOptions": {
|
|
84
|
-
"male": "Мъж",
|
|
85
|
-
"female": "Жена",
|
|
86
|
-
"other": "Друг",
|
|
87
|
-
"notSay": "Предпочитам да не казвам"
|
|
88
|
-
},
|
|
89
|
-
"country": "Държава",
|
|
90
|
-
"countryPlaceholder": "Изберете държава от списъка",
|
|
91
|
-
"privacyPolicy": "Политика за поверителност",
|
|
92
|
-
"termsAndConditions": "Условия за ползване"
|
|
93
|
-
},
|
|
94
|
-
"success": {
|
|
95
|
-
"title": "Успешно изпратена форма!",
|
|
96
|
-
"subtitle": "Благодарим ви за участието.",
|
|
97
|
-
"description": "Ще бъдете уведомени ако спечелите наградата в рамките на 3 работни дни."
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"poll": {
|
|
101
|
-
"buttons": {
|
|
102
|
-
"vote": "Гласувай",
|
|
103
|
-
"start": "Започни анкета",
|
|
104
|
-
"voteAgain": "Гласувай отново",
|
|
105
|
-
"share": "Сподели резултат",
|
|
106
|
-
"tryAgain": "Опитайте отново"
|
|
107
|
-
},
|
|
108
|
-
"headline": "Анкета",
|
|
109
|
-
"pollNotFound": "Анкетата не е намерена",
|
|
110
|
-
"pollNotFoundDescription": "Анкетата не можа да бъде намерена.",
|
|
111
|
-
"totalVotes": "общо гласове"
|
|
112
|
-
},
|
|
113
|
-
"personalityQuiz": {
|
|
114
|
-
"buttons": {
|
|
115
|
-
"finish": "Завършете куиза",
|
|
116
|
-
"start": "Започнете куиза",
|
|
117
|
-
"playAgain": "Играйте отново",
|
|
118
|
-
"next": "Следващ въпрос"
|
|
119
|
-
},
|
|
120
|
-
"headline": "Куиз",
|
|
121
|
-
"thanksForPlaying": "Благодарим Ви, че участвахте!",
|
|
122
|
-
"quizNotFound": "Куизът не е намерен",
|
|
123
|
-
"quizNotFoundDescription": "Куизът не може да бъде намерен.",
|
|
124
|
-
"personalityResults": {
|
|
125
|
-
"match": "{{percent}}% съвпадение",
|
|
126
|
-
"noAdditionalInfo": "Няма допълнителна информация."
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
package/locales/de.json
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"language": "German",
|
|
4
|
-
"code": "de",
|
|
5
|
-
"direction": "ltr"
|
|
6
|
-
},
|
|
7
|
-
"classicQuiz": {
|
|
8
|
-
"buttons": {
|
|
9
|
-
"finish": "Quiz beenden",
|
|
10
|
-
"start": "Quiz starten",
|
|
11
|
-
"playAgain": "Nochmal spielen",
|
|
12
|
-
"playNext": "Dieses Quiz spielen",
|
|
13
|
-
"next": "Nächste Frage",
|
|
14
|
-
"share": "Ergebnis teilen",
|
|
15
|
-
"tryAgain": "Erneut versuchen"
|
|
16
|
-
},
|
|
17
|
-
"congratulations": {
|
|
18
|
-
"lowScore": "Versuchen Sie es weiter! Sie haben erreicht:",
|
|
19
|
-
"mediumScore": "Gut gemacht! Möchten Sie Ihr Ergebnis verbessern?",
|
|
20
|
-
"goodScore": "Großartige Arbeit! Sie haben erreicht:",
|
|
21
|
-
"perfectScore": "Unglaublich! Sie haben alle Fragen richtig beantwortet!"
|
|
22
|
-
},
|
|
23
|
-
"share": {
|
|
24
|
-
"timedTitle": "Ich habe {{scorePercentage}}% in diesem Quiz in {{time}} erreicht!",
|
|
25
|
-
"title": "Ich habe {{scorePercentage}}% in diesem Quiz erreicht!",
|
|
26
|
-
"timedBody": "Ich habe {{scorePercentage}}% im {{titleQuiz}} Quiz in {{time}} erreicht! {{hashtags}}",
|
|
27
|
-
"body": "Ich habe {{scorePercentage}}% im {{titleQuiz}} Quiz erreicht! {{hashtags}}"
|
|
28
|
-
},
|
|
29
|
-
"headline": "Quiz",
|
|
30
|
-
"youDidItFor": "Sie haben es geschafft in",
|
|
31
|
-
"thanksForPlaying": "Danke für Ihre Teilnahme!",
|
|
32
|
-
"question": "Frage",
|
|
33
|
-
"yourAnswer": "Ihre Antwort:",
|
|
34
|
-
"correctAnswer": "Richtige Antwort:",
|
|
35
|
-
"results": "Ergebnisse",
|
|
36
|
-
"answers": "Antworten",
|
|
37
|
-
"maxAttemptsReached": "Maximale Versuche erreicht! Ihr Ergebnis ist:",
|
|
38
|
-
"youWon": "Sie haben gewonnen",
|
|
39
|
-
"quizNotFound": "Quiz nicht gefunden",
|
|
40
|
-
"quizNotFoundDescription": "Das Classic Quiz konnte nicht gefunden werden."
|
|
41
|
-
},
|
|
42
|
-
"common": {
|
|
43
|
-
"presentedBy": "Sponsor:",
|
|
44
|
-
"signIn": "Melden Sie sich an, um zu spielen",
|
|
45
|
-
"labels": {
|
|
46
|
-
"min": "Min",
|
|
47
|
-
"sec": "Sek",
|
|
48
|
-
"points": "Punkte",
|
|
49
|
-
"iAgreeToThe": "Ich stimme der",
|
|
50
|
-
"andThe": "und der"
|
|
51
|
-
},
|
|
52
|
-
"authentication": {
|
|
53
|
-
"accessRequired": "Bereit zum Spielen?",
|
|
54
|
-
"invalidOrMissingAuth": "Erstellen Sie Ihr kostenloses Konto und steigen Sie ins Spiel ein!"
|
|
55
|
-
},
|
|
56
|
-
"error": {
|
|
57
|
-
"title": "Anfrage kann nicht verarbeitet werden",
|
|
58
|
-
"message": "Wir haben derzeit Probleme bei der Verarbeitung Ihrer Anfrage. Bitte versuchen Sie es in einem Moment erneut."
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"leads": {
|
|
62
|
-
"header": {
|
|
63
|
-
"title": "Ausfüllen und mitmachen!",
|
|
64
|
-
"description": "Füllen Sie das Formular aus und nehmen Sie an der Verlosung teil, um einen tollen Preis zu gewinnen!"
|
|
65
|
-
},
|
|
66
|
-
"buttons": {
|
|
67
|
-
"submit": "Absenden"
|
|
68
|
-
},
|
|
69
|
-
"form": {
|
|
70
|
-
"success": "Formular erfolgreich gesendet",
|
|
71
|
-
"error": "Fehler beim Senden des Formulars. Bitte versuchen Sie es erneut.",
|
|
72
|
-
"fullName": "Vollständiger Name",
|
|
73
|
-
"fullNamePlaceholder": "Geben Sie Ihren vollständigen Namen ein",
|
|
74
|
-
"firstName": "Vorname",
|
|
75
|
-
"firstNamePlaceholder": "Geben Sie Ihren Vornamen ein",
|
|
76
|
-
"lastName": "Nachname",
|
|
77
|
-
"lastNamePlaceholder": "Geben Sie Ihren Nachnamen ein",
|
|
78
|
-
"email": "E-Mail",
|
|
79
|
-
"phone": "Telefon",
|
|
80
|
-
"phonePlaceholder": "Ihre Telefonnummer",
|
|
81
|
-
"gender": "Geschlecht",
|
|
82
|
-
"genderPlaceholder": "Geschlecht auswählen",
|
|
83
|
-
"genderOptions": {
|
|
84
|
-
"male": "Männlich",
|
|
85
|
-
"female": "Weiblich",
|
|
86
|
-
"other": "Andere",
|
|
87
|
-
"notSay": "Möchte ich nicht sagen"
|
|
88
|
-
},
|
|
89
|
-
"country": "Land",
|
|
90
|
-
"countryPlaceholder": "Land aus der Liste auswählen",
|
|
91
|
-
"privacyPolicy": "Datenschutzrichtlinie",
|
|
92
|
-
"termsAndConditions": "Allgemeinen Geschäftsbedingungen"
|
|
93
|
-
},
|
|
94
|
-
"success": {
|
|
95
|
-
"title": "Formular erfolgreich gesendet!",
|
|
96
|
-
"subtitle": "Vielen Dank für Ihre Teilnahme.",
|
|
97
|
-
"description": "Sie werden benachrichtigt, falls Sie den Preis innerhalb von 3 Werktagen gewinnen."
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"poll": {
|
|
101
|
-
"buttons": {
|
|
102
|
-
"vote": "Abstimmen",
|
|
103
|
-
"start": "Umfrage starten",
|
|
104
|
-
"voteAgain": "Erneut abstimmen",
|
|
105
|
-
"share": "Ergebnis teilen",
|
|
106
|
-
"tryAgain": "Erneut versuchen"
|
|
107
|
-
},
|
|
108
|
-
"headline": "Umfrage",
|
|
109
|
-
"pollNotFound": "Umfrage nicht gefunden",
|
|
110
|
-
"pollNotFoundDescription": "Die Umfrage konnte nicht gefunden werden.",
|
|
111
|
-
"totalVotes": "Stimmen insgesamt"
|
|
112
|
-
},
|
|
113
|
-
"personalityQuiz": {
|
|
114
|
-
"buttons": {
|
|
115
|
-
"finish": "Quiz beenden",
|
|
116
|
-
"start": "Quiz starten",
|
|
117
|
-
"playAgain": "Nochmal spielen",
|
|
118
|
-
"next": "Nächste Frage"
|
|
119
|
-
},
|
|
120
|
-
"headline": "Quiz",
|
|
121
|
-
"thanksForPlaying": "Danke für Ihre Teilnahme!",
|
|
122
|
-
"quizNotFound": "Quiz nicht gefunden",
|
|
123
|
-
"quizNotFoundDescription": "Das Persönlichkeits-Quiz konnte nicht gefunden werden.",
|
|
124
|
-
"personalityResults": {
|
|
125
|
-
"match": "{{percent}}% Übereinstimmung",
|
|
126
|
-
"noAdditionalInfo": "Keine zusätzlichen Informationen verfügbar."
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
package/locales/es.json
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"language": "Spanish",
|
|
4
|
-
"code": "es",
|
|
5
|
-
"direction": "ltr"
|
|
6
|
-
},
|
|
7
|
-
"classicQuiz": {
|
|
8
|
-
"buttons": {
|
|
9
|
-
"finish": "Terminar Quiz",
|
|
10
|
-
"start": "Comenzar Quiz",
|
|
11
|
-
"playAgain": "Jugar de Nuevo",
|
|
12
|
-
"playNext": "Jugar Este Quiz",
|
|
13
|
-
"next": "Siguiente Pregunta",
|
|
14
|
-
"share": "Compartir Resultado",
|
|
15
|
-
"tryAgain": "Intentar de Nuevo"
|
|
16
|
-
},
|
|
17
|
-
"congratulations": {
|
|
18
|
-
"lowScore": "¡Sigue intentando! Has conseguido:",
|
|
19
|
-
"mediumScore": "¡Bien hecho! ¿Te gustaría mejorar tu puntuación?",
|
|
20
|
-
"goodScore": "¡Excelente trabajo! Has conseguido:",
|
|
21
|
-
"perfectScore": "¡Increíble! ¡Has respondido correctamente a todas las preguntas!"
|
|
22
|
-
},
|
|
23
|
-
"share": {
|
|
24
|
-
"timedTitle": "¡Conseguí {{scorePercentage}}% en este quiz en {{time}}!",
|
|
25
|
-
"title": "¡Conseguí {{scorePercentage}}% en este quiz!",
|
|
26
|
-
"timedBody": "¡Conseguí {{scorePercentage}}% en el quiz {{titleQuiz}} en {{time}}! {{hashtags}}",
|
|
27
|
-
"body": "¡Conseguí {{scorePercentage}}% en el quiz {{titleQuiz}}! {{hashtags}}"
|
|
28
|
-
},
|
|
29
|
-
"headline": "Quiz",
|
|
30
|
-
"youDidItFor": "Lo hiciste en",
|
|
31
|
-
"thanksForPlaying": "¡Gracias por participar!",
|
|
32
|
-
"question": "Pregunta",
|
|
33
|
-
"yourAnswer": "Tu respuesta:",
|
|
34
|
-
"correctAnswer": "Respuesta correcta:",
|
|
35
|
-
"results": "Resultados",
|
|
36
|
-
"answers": "Respuestas",
|
|
37
|
-
"maxAttemptsReached": "¡Máximo de intentos alcanzado! Tu puntuación es:",
|
|
38
|
-
"youWon": "Has ganado",
|
|
39
|
-
"quizNotFound": "Quiz No Encontrado",
|
|
40
|
-
"quizNotFoundDescription": "No se pudo encontrar el Quiz Clásico."
|
|
41
|
-
},
|
|
42
|
-
"common": {
|
|
43
|
-
"presentedBy": "Patrocinado por:",
|
|
44
|
-
"signIn": "Inicia sesión para jugar",
|
|
45
|
-
"labels": {
|
|
46
|
-
"min": "min",
|
|
47
|
-
"sec": "seg",
|
|
48
|
-
"points": "puntos",
|
|
49
|
-
"iAgreeToThe": "Acepto la",
|
|
50
|
-
"andThe": "y los"
|
|
51
|
-
},
|
|
52
|
-
"authentication": {
|
|
53
|
-
"accessRequired": "¿Listo para jugar?",
|
|
54
|
-
"invalidOrMissingAuth": "¡Crea tu cuenta gratuita y únete al juego!"
|
|
55
|
-
},
|
|
56
|
-
"error": {
|
|
57
|
-
"title": "No se puede procesar la solicitud",
|
|
58
|
-
"message": "Estamos teniendo problemas para procesar tu solicitud en este momento. Por favor, inténtalo de nuevo en un momento."
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"leads": {
|
|
62
|
-
"header": {
|
|
63
|
-
"title": "¡Completa y participa para ganar!",
|
|
64
|
-
"description": "¡Completa el formulario y participa en el sorteo para ganar un premio fantástico!"
|
|
65
|
-
},
|
|
66
|
-
"buttons": {
|
|
67
|
-
"submit": "Enviar"
|
|
68
|
-
},
|
|
69
|
-
"form": {
|
|
70
|
-
"success": "Formulario enviado exitosamente",
|
|
71
|
-
"error": "Error al enviar el formulario. Por favor, inténtalo de nuevo.",
|
|
72
|
-
"fullName": "Nombre Completo",
|
|
73
|
-
"fullNamePlaceholder": "Ingresa tu nombre completo",
|
|
74
|
-
"firstName": "Nombre",
|
|
75
|
-
"firstNamePlaceholder": "Ingresa tu nombre",
|
|
76
|
-
"lastName": "Apellido",
|
|
77
|
-
"lastNamePlaceholder": "Ingresa tu apellido",
|
|
78
|
-
"email": "Email",
|
|
79
|
-
"phone": "Teléfono",
|
|
80
|
-
"phonePlaceholder": "Tu número de teléfono",
|
|
81
|
-
"gender": "Género",
|
|
82
|
-
"genderPlaceholder": "Selecciona género",
|
|
83
|
-
"genderOptions": {
|
|
84
|
-
"male": "Masculino",
|
|
85
|
-
"female": "Femenino",
|
|
86
|
-
"other": "Otro",
|
|
87
|
-
"notSay": "Prefiero no decir"
|
|
88
|
-
},
|
|
89
|
-
"country": "País",
|
|
90
|
-
"countryPlaceholder": "Selecciona país de la lista",
|
|
91
|
-
"privacyPolicy": "Política de Privacidad",
|
|
92
|
-
"termsAndConditions": "Términos y Condiciones"
|
|
93
|
-
},
|
|
94
|
-
"success": {
|
|
95
|
-
"title": "¡Formulario enviado exitosamente!",
|
|
96
|
-
"subtitle": "Gracias por tu participación.",
|
|
97
|
-
"description": "Serás notificado si ganas el premio dentro de 3 días hábiles."
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"poll": {
|
|
101
|
-
"buttons": {
|
|
102
|
-
"vote": "Votar",
|
|
103
|
-
"start": "Iniciar encuesta",
|
|
104
|
-
"voteAgain": "Votar de nuevo",
|
|
105
|
-
"share": "Compartir resultado",
|
|
106
|
-
"tryAgain": "Intentar de Nuevo"
|
|
107
|
-
},
|
|
108
|
-
"headline": "Encuesta",
|
|
109
|
-
"pollNotFound": "Encuesta no encontrada",
|
|
110
|
-
"pollNotFoundDescription": "La encuesta no pudo ser encontrada.",
|
|
111
|
-
"totalVotes": "votos totales"
|
|
112
|
-
},
|
|
113
|
-
"personalityQuiz": {
|
|
114
|
-
"buttons": {
|
|
115
|
-
"finish": "Terminar Quiz",
|
|
116
|
-
"start": "Comenzar Quiz",
|
|
117
|
-
"playAgain": "Jugar de Nuevo",
|
|
118
|
-
"next": "Siguiente Pregunta"
|
|
119
|
-
},
|
|
120
|
-
"headline": "Quiz",
|
|
121
|
-
"thanksForPlaying": "¡Gracias por participar!",
|
|
122
|
-
"quizNotFound": "Quiz No Encontrado",
|
|
123
|
-
"quizNotFoundDescription": "No se pudo encontrar el Quiz de Personalidad.",
|
|
124
|
-
"personalityResults": {
|
|
125
|
-
"match": "{{percent}}% coincidencia",
|
|
126
|
-
"noAdditionalInfo": "No hay información adicional disponible."
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|