waha-shared 1.0.207 → 1.0.209
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/dist/data/areas/areas.schema.json +19 -53
- package/dist/data/areas/areas.zod.d.ts +15 -12
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +18 -11
- package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +4 -34
- package/dist/data/bibleAudios/bibleAudios.schema.json +14 -11
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +11 -15
- package/dist/data/bibleAudios/bibleAudios.zod.js +5 -4
- package/dist/data/bibleAudios/index.d.ts +5 -2
- package/dist/data/bibleBooks/bibleBooks.schema.json +71 -50
- package/dist/data/bibleBooks/bibleBooks.zod.d.ts +5 -51
- package/dist/data/bibleBooks/index.d.ts +2 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +5 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
- package/dist/data/bibleStatuses/bibleStatuses.json +2 -110
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +46 -40
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +5 -25
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +2 -27
- package/dist/data/bibleTexts/bibleTexts.schema.json +40 -24
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +11 -39
- package/dist/data/bibleTexts/index.d.ts +3 -3
- package/dist/data/clones/clones.schema.json +27 -26
- package/dist/data/clones/clones.zod.d.ts +2 -24
- package/dist/data/clones/clones.zod.js +1 -1
- package/dist/data/clones/index.d.ts +3 -3
- package/dist/data/countries/countries.schema.json +91 -90
- package/dist/data/countries/countries.zod.d.ts +19 -88
- package/dist/data/countries/countries.zod.js +49 -138
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +19 -8
- package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +2 -28
- package/dist/data/countriesAndLanguages/index.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +13 -4
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +1 -13
- package/dist/data/crowdinLanguages/index.d.ts +1 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +16 -8
- package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +2 -10
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +24 -13
- package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +3 -23
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +16 -8
- package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +2 -10
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +5 -2
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +8 -2
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
- package/dist/data/languageAssets/languageAssets.json +0 -37702
- package/dist/data/languageAssets/languageAssets.schema.json +15 -12
- package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
- package/dist/data/languageAssets/languageAssets.zod.js +3 -43
- package/dist/data/languages/index.d.ts +8 -4
- package/dist/data/languages/languages.json +1 -1
- package/dist/data/languages/languages.schema.json +136 -89
- package/dist/data/languages/languages.zod.d.ts +194 -116
- package/dist/data/languages/languages.zod.js +7 -1
- package/dist/data/mediaDurations/mediaDurations.schema.json +21 -14
- package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +3 -41
- package/dist/data/notification/notification.schema.json +67 -57
- package/dist/data/notification/notification.zod.d.ts +15 -39
- package/dist/data/notification/notification.zod.js +4 -134
- package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
- package/dist/data/numeralMaps/numeralMaps.zod.d.ts +2 -46
- package/dist/data/numeralMaps/numeralMaps.zod.js +14 -64
- package/dist/data/phoneLanguages/index.d.ts +1 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +18 -8
- package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +2 -22
- package/dist/data/questions/index.d.ts +1 -1
- package/dist/data/questions/questions.schema.json +11 -11
- package/dist/data/questions/questions.zod.d.ts +6 -14
- package/dist/data/releaseNotes/index.d.ts +1 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +23 -11
- package/dist/data/releaseNotes/releaseNotes.zod.d.ts +1 -9
- package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
- package/dist/data/screenshots/screenshots.schema.json +12 -6
- package/dist/data/screenshots/screenshots.zod.d.ts +1 -5
- package/dist/data/scripts/scripts.schema.json +11 -4
- package/dist/data/scripts/scripts.zod.d.ts +1 -7
- package/dist/data/sets/index.d.ts +2 -2
- package/dist/data/sets/sets.schema.json +25 -22
- package/dist/data/sets/sets.zod.d.ts +61 -39
- package/dist/data/specialIds/specialIds.schema.json +5 -1
- package/dist/data/specialIds/specialIds.zod.d.ts +11 -41
- package/dist/data/translationsApp/index.d.ts +9 -9
- package/dist/data/translationsApp/translationsApp.json +0 -1
- package/dist/data/translationsApp/translationsApp.schema.json +667 -668
- package/dist/data/translationsApp/translationsApp.zod.d.ts +1 -631
- package/dist/data/translationsApp/translationsApp.zod.js +2 -2
- package/dist/data/translationsFtb/translationsFtb.json +0 -884
- package/dist/data/translationsFtb/translationsFtb.schema.json +147 -149
- package/dist/data/translationsFtb/translationsFtb.zod.d.ts +1 -135
- package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +15 -18
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +2 -160
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +0 -480
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +9 -14
- package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
- package/dist/data/translationsSet/translationsSet.json +11234 -20793
- package/dist/data/translationsSet/translationsSet.schema.json +52 -56
- package/dist/data/translationsSet/translationsSet.zod.d.ts +1 -19
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +98 -100
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +1 -87
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +0 -480
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +18 -23
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +9 -2
- package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +9 -2
- package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
- package/dist/types/analytics.d.ts +14 -1
- package/dist/types/articles.d.ts +93 -343
- package/dist/types/bibleChapters.d.ts +13 -91
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/feedback.d.ts +3 -41
- package/dist/types/feedback.js +1 -1
- package/dist/types/microLessons.d.ts +69 -868
- package/dist/types/notifications.d.ts +19 -119
- package/dist/types/scripturePassages.d.ts +4 -34
- package/dist/types/users.d.ts +221 -776
- package/dist/types/users.js +2 -1
- package/dist/types/webContent.d.ts +8 -20
- package/package.json +3 -3
|
@@ -6,20 +6,23 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"
|
|
10
|
-
"description": "Schema for media duration data organized by language code",
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11
10
|
"type": "object",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"items": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"description": "Language code (3-letter ISO code) containing media file durations"
|
|
19
|
-
}
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[a-z]{3}$"
|
|
20
14
|
},
|
|
21
|
-
"additionalProperties":
|
|
15
|
+
"additionalProperties": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": "Language code (3-letter ISO code) containing assets"
|
|
21
|
+
}
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
"required": [
|
|
24
|
+
"required": [
|
|
25
|
+
"$schema",
|
|
26
|
+
"data"
|
|
27
|
+
]
|
|
25
28
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const LanguageAssets: z.
|
|
2
|
+
export declare const LanguageAssets: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
3
3
|
export type LanguageAssets = z.infer<typeof LanguageAssets>;
|
|
@@ -2,46 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LanguageAssets = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.LanguageAssets = zod_1.z
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
.array(zod_1.z.string())
|
|
9
|
-
.describe('Language code (3-letter ISO code) containing media file durations'),
|
|
10
|
-
zod_1.z.never(),
|
|
11
|
-
]))
|
|
12
|
-
.superRefine((value, ctx) => {
|
|
13
|
-
for (const key in value) {
|
|
14
|
-
let evaluated = false;
|
|
15
|
-
if (key.match(new RegExp('^[a-z]{3}$'))) {
|
|
16
|
-
evaluated = true;
|
|
17
|
-
const result = zod_1.z
|
|
18
|
-
.array(zod_1.z.string())
|
|
19
|
-
.describe('Language code (3-letter ISO code) containing media file durations')
|
|
20
|
-
.safeParse(value[key]);
|
|
21
|
-
if (!result.success) {
|
|
22
|
-
ctx.addIssue({
|
|
23
|
-
path: [...ctx.path, key],
|
|
24
|
-
code: 'custom',
|
|
25
|
-
message: `Invalid input: Key matching regex /${key}/ must match schema`,
|
|
26
|
-
params: {
|
|
27
|
-
issues: result.error.issues,
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
if (!evaluated) {
|
|
33
|
-
const result = zod_1.z.never().safeParse(value[key]);
|
|
34
|
-
if (!result.success) {
|
|
35
|
-
ctx.addIssue({
|
|
36
|
-
path: [...ctx.path, key],
|
|
37
|
-
code: 'custom',
|
|
38
|
-
message: `Invalid input: must match catchall schema`,
|
|
39
|
-
params: {
|
|
40
|
-
issues: result.error.issues,
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
})
|
|
47
|
-
.describe('Schema for media duration data organized by language code');
|
|
5
|
+
exports.LanguageAssets = zod_1.z.record(zod_1.z.string().regex(new RegExp('^[a-z]{3}$')), zod_1.z
|
|
6
|
+
.array(zod_1.z.string())
|
|
7
|
+
.describe('Language code (3-letter ISO code) containing assets'));
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const languages: {
|
|
2
|
-
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
3
2
|
languageId: string;
|
|
4
3
|
exonym: string;
|
|
5
4
|
appInterface: boolean;
|
|
6
5
|
curriculum: {
|
|
7
|
-
questions: string;
|
|
8
6
|
foundations: string;
|
|
7
|
+
questions: string;
|
|
9
8
|
topics: string | null;
|
|
10
9
|
};
|
|
11
10
|
dmCourseStatus: "notStarted" | "inProgress" | "testing" | "launched";
|
|
12
11
|
gdmcStatus: "notStarted" | "inProgress" | "testing" | "launched";
|
|
13
12
|
questionSource: "unknown" | "recorded" | "mms" | "elevenLabs";
|
|
14
13
|
script: "arabic" | "bengali" | "burmese" | "chinese" | "cyrillic" | "devanagari" | "geez" | "georgian" | "greek" | "gujarati" | "gurmukhi" | "hebrew" | "japanese" | "kannada" | "khmer" | "korean" | "latin" | "malayalam" | "tamil" | "telugu" | "thai" | "uyghur";
|
|
14
|
+
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
15
15
|
uuid: string;
|
|
16
|
-
bible?: string | undefined;
|
|
17
16
|
bcpLanguageId?: string | undefined;
|
|
17
|
+
bible?: string | undefined;
|
|
18
18
|
bibleFallback?: string | undefined;
|
|
19
19
|
countries?: string[] | undefined;
|
|
20
20
|
crowdinId?: string | undefined;
|
|
@@ -29,7 +29,11 @@ export declare const languages: {
|
|
|
29
29
|
speakersPrimary?: number | undefined;
|
|
30
30
|
speakersSecondary?: number | undefined;
|
|
31
31
|
speakersTotal?: number | undefined;
|
|
32
|
-
specialThanks?:
|
|
32
|
+
specialThanks?: {
|
|
33
|
+
text: string;
|
|
34
|
+
imageUrl?: string | undefined;
|
|
35
|
+
url?: string | undefined;
|
|
36
|
+
} | undefined;
|
|
33
37
|
storeIdAndroid?: "id" | "sw" | "af" | "sq" | "am" | "ar" | "hy-AM" | "az-AZ" | "bn-BD" | "eu-ES" | "be" | "bg" | "my-MM" | "ca" | "zh-HK" | "zh-CN" | "zh-TW" | "hr" | "cs-CZ" | "da-DK" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-SG" | "en-US" | "en-ZA" | "et" | "fil" | "fi-FI" | "fr-CA" | "fr-FR" | "gl-ES" | "ka-GE" | "de-DE" | "el-GR" | "gu" | "iw-IL" | "hi-IN" | "hu-HU" | "is-IS" | "it-IT" | "ja-JP" | "kn-IN" | "kk" | "km-KH" | "ko-KR" | "ky-KG" | "lo-LA" | "lv" | "lt" | "mk-MK" | "ms-MY" | "ms" | "ml-IN" | "mr-IN" | "mn-MN" | "ne-NP" | "no-NO" | "fa" | "fa-AE" | "fa-AF" | "fa-IR" | "pl-PL" | "pt-BR" | "pt-PT" | "pa" | "ro" | "rm" | "ru-RU" | "sr" | "si-LK" | "sk" | "sl" | "es-419" | "es-ES" | "es-US" | "sv-SE" | "ta-IN" | "te-IN" | "th" | "tr-TR" | "uk" | "ur" | "vi" | "zu" | undefined;
|
|
34
38
|
storeIdIos?: "id" | "ca" | "hr" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "fr-CA" | "fr-FR" | "de-DE" | "ms" | "pt-BR" | "pt-PT" | "ro" | "sk" | "es-ES" | "th" | "uk" | "vi" | "ar-SA" | "cs" | "da" | "el" | "es-MX" | "fi" | "he" | "hi" | "hu" | "it" | "ja" | "ko" | "no" | "pl" | "ru" | "sv" | "tr" | "zh-Hans" | "zh-Hant" | undefined;
|
|
35
39
|
supportsSolarSpeakers?: boolean | undefined;
|
|
@@ -6,56 +6,55 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
|
-
"
|
|
12
|
+
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
14
|
"languageId": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "A 3 letter id used to represent a language in Waha. Use the standard ISO 693-3 id found in data/iso6933LanguageCodes.json. If the language isn't there, use a unique custom 3 letter id that isn't already taken and add it to that file so it doesn't get taken by another language."
|
|
16
17
|
},
|
|
17
18
|
"exonym": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "The name of a language in English, i.e. \"Spanish\". This helps Waha team members identify the language."
|
|
20
21
|
},
|
|
21
22
|
"appInterface": {
|
|
22
|
-
"markdownDescription": "Whether or not this language should be available as an app interface language. The app interface language controls the language of labels, alerts, buttons, etc. and is separate from the meet language. If a language is present in data/languageResources/phoneLanguages.json, this property should be true.",
|
|
23
23
|
"type": "boolean"
|
|
24
24
|
},
|
|
25
25
|
"bcpLanguageId": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "A language ID used for iOS's screen reader support. Should be in BCP 47 format. Should only be included if language is supported by iOS's screen reader. List of supported languages can be found here: https://www.apple.com/ios/feature-availability/"
|
|
28
28
|
},
|
|
29
29
|
"bible": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Determines what scripture translation this language will use."
|
|
32
32
|
},
|
|
33
33
|
"bibleFallback": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Bible to use as a fallback if a chapter isn't available in the main bible. For example, if a language has only an NT bible available, specify a translation that has the OT available here to use for OT passages."
|
|
36
36
|
},
|
|
37
37
|
"countries": {
|
|
38
|
-
"
|
|
38
|
+
"type": "array",
|
|
39
39
|
"items": {
|
|
40
40
|
"type": "string"
|
|
41
41
|
},
|
|
42
|
-
"
|
|
42
|
+
"description": "A list of country ids that this language is spoken in. This gets added automatically by the script found in scripts/mapCountriesToLanguages.ts which uses shared/data/languageResources/countriesAndLanguages.json to generate a list of countries where the language is spoken. This is used for determing the recommended list of meet languages based on the user's country location."
|
|
43
43
|
},
|
|
44
44
|
"crowdinId": {
|
|
45
|
-
"
|
|
46
|
-
"
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "The Id of this language in Crowdin. For language's that crowdin supports, this can be found in <https://developer.crowdin.com/language-codes>. Otherwise, it will be a custom id created at the time the language was added to crowdin."
|
|
47
47
|
},
|
|
48
48
|
"curriculum": {
|
|
49
|
-
"
|
|
50
|
-
"description": "Determines what curriculums this language will use for its various content. Each must be linked to objects in data/foundationsCurriculums.json, data/topicsCurriculums.json , or data/questionsCurriculums.json.",
|
|
49
|
+
"type": "object",
|
|
51
50
|
"properties": {
|
|
52
51
|
"foundations": {
|
|
53
|
-
"
|
|
54
|
-
"
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "The id for the foundations curriculum for this language."
|
|
55
54
|
},
|
|
56
55
|
"questions": {
|
|
57
|
-
"
|
|
58
|
-
"
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "The id for the foundations curriculum for this language."
|
|
59
58
|
},
|
|
60
59
|
"topics": {
|
|
61
60
|
"anyOf": [
|
|
@@ -69,56 +68,79 @@
|
|
|
69
68
|
"description": "The id for the foundations curriculum for this language."
|
|
70
69
|
}
|
|
71
70
|
},
|
|
72
|
-
"required": [
|
|
73
|
-
|
|
71
|
+
"required": [
|
|
72
|
+
"foundations",
|
|
73
|
+
"questions",
|
|
74
|
+
"topics"
|
|
75
|
+
],
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"description": "Determines what curriculums this language will use for its various content. Each must be linked to objects in data/foundationsCurriculums.json, data/topicsCurriculums.json , or data/questionsCurriculums.json."
|
|
74
78
|
},
|
|
75
79
|
"dmCourseStatus": {
|
|
76
|
-
"
|
|
77
|
-
"enum": [
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": [
|
|
82
|
+
"notStarted",
|
|
83
|
+
"inProgress",
|
|
84
|
+
"testing",
|
|
85
|
+
"launched"
|
|
86
|
+
],
|
|
87
|
+
"description": "The status of this language's disciple making course."
|
|
78
88
|
},
|
|
79
89
|
"endonym": {
|
|
80
|
-
"
|
|
90
|
+
"type": "string",
|
|
81
91
|
"pattern": "^.+$",
|
|
82
|
-
"
|
|
92
|
+
"description": "The name of the language in its native language and script, e.g. \"Español\""
|
|
83
93
|
},
|
|
84
94
|
"gdmcStatus": {
|
|
85
|
-
"
|
|
86
|
-
"enum": [
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": [
|
|
97
|
+
"notStarted",
|
|
98
|
+
"inProgress",
|
|
99
|
+
"testing",
|
|
100
|
+
"launched"
|
|
101
|
+
],
|
|
102
|
+
"description": "The status of this language's growing as a dmc sets."
|
|
87
103
|
},
|
|
88
104
|
"givingId": {
|
|
89
|
-
"
|
|
90
|
-
"
|
|
105
|
+
"type": "string",
|
|
106
|
+
"description": "This is a designation id with FundraiseUp that will be tacked onto the end of waha's giving url. It's used to open waha's giving page and designate the donation to this language. It can be found in the big table of designation ids here: https://dashboard.fundraiseup.com/ABJRDUBH/settings/designations"
|
|
91
107
|
},
|
|
92
108
|
"hideDonateButton": {
|
|
93
|
-
"
|
|
94
|
-
"
|
|
109
|
+
"type": "boolean",
|
|
110
|
+
"description": "Whether or not to hide the donate button in the app when this language is selected as the meet language."
|
|
95
111
|
},
|
|
96
112
|
"introBridge": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "The language id of the language that will be used as the bridge language for the intro content."
|
|
99
115
|
},
|
|
100
116
|
"likelyAppInterfacePair": {
|
|
101
|
-
"
|
|
102
|
-
"
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "The language id of the language that is most likely to be used as the app interface language for this language."
|
|
103
119
|
},
|
|
104
120
|
"mmsLanguageId": {
|
|
105
|
-
"
|
|
106
|
-
"
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "Id of a supported MMS language for running forced alignment."
|
|
107
123
|
},
|
|
108
124
|
"notes": {
|
|
109
|
-
"
|
|
110
|
-
"
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "Any notes about this language that might be helpful for Waha team members."
|
|
111
127
|
},
|
|
112
128
|
"pm": {
|
|
113
|
-
"
|
|
114
|
-
"
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "The id of the project manager for this language. This is the person who is responsible for the language's content and progress."
|
|
115
131
|
},
|
|
116
132
|
"questionSource": {
|
|
117
|
-
"
|
|
118
|
-
"enum": [
|
|
133
|
+
"type": "string",
|
|
134
|
+
"enum": [
|
|
135
|
+
"recorded",
|
|
136
|
+
"mms",
|
|
137
|
+
"elevenLabs",
|
|
138
|
+
"unknown"
|
|
139
|
+
],
|
|
140
|
+
"description": "The source for question audio generation for this language."
|
|
119
141
|
},
|
|
120
142
|
"script": {
|
|
121
|
-
"
|
|
143
|
+
"type": "string",
|
|
122
144
|
"enum": [
|
|
123
145
|
"arabic",
|
|
124
146
|
"bengali",
|
|
@@ -142,22 +164,23 @@
|
|
|
142
164
|
"telugu",
|
|
143
165
|
"thai",
|
|
144
166
|
"uyghur"
|
|
145
|
-
]
|
|
167
|
+
],
|
|
168
|
+
"description": "The script that a language uses. Each script has a specific font so that we can display all scripts correctly."
|
|
146
169
|
},
|
|
147
170
|
"speakersPrimary": {
|
|
148
|
-
"
|
|
149
|
-
"
|
|
171
|
+
"type": "number",
|
|
172
|
+
"description": "The number of speakers of this language who speak it as their first language."
|
|
150
173
|
},
|
|
151
174
|
"speakersSecondary": {
|
|
152
|
-
"
|
|
153
|
-
"
|
|
175
|
+
"type": "number",
|
|
176
|
+
"description": "The number of speakers of this language who speak it as a second language."
|
|
154
177
|
},
|
|
155
178
|
"speakersTotal": {
|
|
156
|
-
"
|
|
157
|
-
"
|
|
179
|
+
"type": "number",
|
|
180
|
+
"description": "The total number of speakers of this language worldwide."
|
|
158
181
|
},
|
|
159
182
|
"specialThanks": {
|
|
160
|
-
"
|
|
183
|
+
"type": "object",
|
|
161
184
|
"properties": {
|
|
162
185
|
"imageUrl": {
|
|
163
186
|
"type": "string"
|
|
@@ -169,14 +192,23 @@
|
|
|
169
192
|
"type": "string"
|
|
170
193
|
}
|
|
171
194
|
},
|
|
172
|
-
"required": [
|
|
195
|
+
"required": [
|
|
196
|
+
"text"
|
|
197
|
+
],
|
|
198
|
+
"additionalProperties": false
|
|
173
199
|
},
|
|
174
200
|
"status": {
|
|
175
|
-
"
|
|
176
|
-
"enum": [
|
|
201
|
+
"type": "string",
|
|
202
|
+
"enum": [
|
|
203
|
+
"notStarted",
|
|
204
|
+
"inProgress",
|
|
205
|
+
"testing",
|
|
206
|
+
"launched"
|
|
207
|
+
],
|
|
208
|
+
"description": "The overall status of this language. Determines whether or not the language will show up in the app. Only language's marked `launched` will be selectable in Waha."
|
|
177
209
|
},
|
|
178
210
|
"storeIdAndroid": {
|
|
179
|
-
"
|
|
211
|
+
"type": "string",
|
|
180
212
|
"enum": [
|
|
181
213
|
"af",
|
|
182
214
|
"sq",
|
|
@@ -265,10 +297,11 @@
|
|
|
265
297
|
"ur",
|
|
266
298
|
"vi",
|
|
267
299
|
"zu"
|
|
268
|
-
]
|
|
300
|
+
],
|
|
301
|
+
"description": "The id of this language in the play store, if it's supported.\nAfrikaans:af\nAlbanian:sq\nAmharic:am\nArabic:ar\nArmenian:hy-AM\nAzerbaijani:az-AZ\nBangla:bn-BD\nBasque:eu-ES\nBelarusian:be\nBulgarian:bg\nBurmese:my-MM\nCatalan:ca\nChinese (Hong Kong):zh-HK\nChinese (Simplified):zh-CN\nChinese (Traditional):zh-TW\nCroatian:hr\nCzech:cs-CZ\nDanish:da-DK\nDutch:nl-NL\nEnglish (Australia):en-AU\nEnglish (Canada):en-CA\nEnglish (United Kingdom):en-GB\nEnglish:en-IN\nEnglish (US):en-US\nEnglish:en-SG\nEnglish:en-ZA\nEstonian:et\nFilipino:fil\nFinnish:fi-FI\nFrench (Canada):fr-CA\nFrench (France):fr-FR\nGalician:gl-ES\nGeorgian:ka-GE\nGerman:de-DE\nGreek:el-GR\nGujarati:gu\nHebrew:iw-IL\nHindi:hi-IN\nHungarian:hu-HU\nIcelandic:is-IS\nIndonesian:id\nItalian:it-IT\nJapanese:ja-JP\nKannada:kn-IN\nKazakh:kk\nKhmer:km-KH\nKorean:ko-KR\nKyrgyz:ky-KG\nLao:lo-LA\nLatvian:lv\nLithuanian:lt\nMacedonian:mk-MK\nMalay (Malaysia):ms-MY\nMalay:ms\nMalayalam:ml-IN\nMarathi:mr-IN\nMongolian:mn-MN\nNepali:ne-NP\nNorwegian:no-NO\nPersian:fa\nPersian:fa-AE\nPersian:fa-AF\nPersian:fa-IR\nPolish:pl-PL\nPortuguese (Brazil):pt-BR\nPortuguese (Portugal):pt-PT\nPunjabi:pa\nRomanian:ro\nRomansh:rm\nRussian:ru-RU\nSerbian:sr\nSinhala:si-LK\nSlovak:sk\nSlovenian:sl\nSpanish (Latin America):es-419\nSpanish (Spain):es-ES\nSpanish (United States):es-US\nSwahili:sw\nSwedish:sv-SE\nTamil:ta-IN\nTelugu:te-IN\nThai:th\nTurkish:tr-TR\nUkrainian:uk\nUrdu:ur\nVietnamese:vi\nZulu:zu"
|
|
269
302
|
},
|
|
270
303
|
"storeIdIos": {
|
|
271
|
-
"
|
|
304
|
+
"type": "string",
|
|
272
305
|
"enum": [
|
|
273
306
|
"ar-SA",
|
|
274
307
|
"ca",
|
|
@@ -309,66 +342,80 @@
|
|
|
309
342
|
"vi",
|
|
310
343
|
"zh-Hans",
|
|
311
344
|
"zh-Hant"
|
|
312
|
-
]
|
|
345
|
+
],
|
|
346
|
+
"description": "The id of this language in the app store, if it's supported.\nArabic:ar-SA\nCatalan:ca\nChinese (Simplified):zh-Hans\nChinese (Traditional):zh-Hant\nCroatian:hr\nCzech:cs\nDanish:da\nDutch:nl-NL\nEnglish (Australia):en-AU\nEnglish (Canada):en-CA\nEnglish (U.K.):en-GB\nEnglish (U.S.):en-US\nFinnish:fi\nFrench:fr-FR\nFrench (Canada):fr-CA\nGerman:de-DE\nGreek:el\nHebrew:he\nHindi:hi\nHungarian:hu\nIndonesian:id\nItalian:it\nJapanese:ja\nKorean:ko\nMalay:ms\nNorwegian:no \nPolish:pl\nPortuguese (Brazil):pt-BR\nPortuguese (Portugal):pt-PT\nRomanian:ro\nRussian:ru\nSlovak:sk\nSpanish (Mexico):es-MX\nSpanish (Spain):es-ES\nSwedish:sv\nThai:th\nTurkish:tr\nUkrainian:uk\nVietnamese:vi"
|
|
313
347
|
},
|
|
314
348
|
"supportsSolarSpeakers": {
|
|
315
|
-
"
|
|
316
|
-
"
|
|
349
|
+
"type": "boolean",
|
|
350
|
+
"description": "Whether or not this language supports solar speakers."
|
|
317
351
|
},
|
|
318
352
|
"titles": {
|
|
319
|
-
"
|
|
320
|
-
"
|
|
353
|
+
"type": "string",
|
|
354
|
+
"description": "This is the language of the language's story set and lesson titles. Often, this will be the same as the language itself. Occasionally, this is not the case, such as all of the Arabic languages using standard Arabic as their titles language."
|
|
321
355
|
},
|
|
322
356
|
"unsupportedDbsSets": {
|
|
323
|
-
"
|
|
357
|
+
"type": "array",
|
|
324
358
|
"items": {
|
|
325
359
|
"type": "string"
|
|
326
360
|
},
|
|
327
|
-
"
|
|
361
|
+
"description": "A list of foundations or topics (01.x or 02.x) set ids that are not supported in this language. See data/sets.json for a list of set ids."
|
|
328
362
|
},
|
|
329
363
|
"uuid": {
|
|
330
|
-
"
|
|
331
|
-
"
|
|
364
|
+
"type": "string",
|
|
365
|
+
"description": "A unique identifier for this language. Can be generated at <https://www.uuidgenerator.net>."
|
|
332
366
|
},
|
|
333
367
|
"videoBridgeLanguage": {
|
|
334
|
-
"
|
|
335
|
-
"
|
|
368
|
+
"type": "string",
|
|
369
|
+
"description": "If the language is not doing the dmc videos, or if the dmc videos are in progress, you can specify one or more bridge languages that will be used in the meantime. If a language does not have a launched dm course and if they don't specify any bridge languages, the training content will not be available in the app."
|
|
336
370
|
},
|
|
337
371
|
"web": {
|
|
338
|
-
"
|
|
372
|
+
"type": "object",
|
|
339
373
|
"properties": {
|
|
340
374
|
"name": {
|
|
341
|
-
"
|
|
342
|
-
"
|
|
375
|
+
"type": "string",
|
|
376
|
+
"description": "The name of the language to display in the website's language switcher."
|
|
343
377
|
},
|
|
344
378
|
"code": {
|
|
345
|
-
"
|
|
346
|
-
"
|
|
379
|
+
"type": "string",
|
|
380
|
+
"description": "The html standard code used to represent the language on the web. Allows the website to associate the user's browser language with this Waha language."
|
|
347
381
|
},
|
|
348
382
|
"status": {
|
|
349
|
-
"
|
|
350
|
-
"enum": [
|
|
383
|
+
"type": "string",
|
|
384
|
+
"enum": [
|
|
385
|
+
"notStarted",
|
|
386
|
+
"inProgress",
|
|
387
|
+
"testing",
|
|
388
|
+
"launched"
|
|
389
|
+
],
|
|
390
|
+
"description": "The status of this language's website localization on https://waha.app."
|
|
351
391
|
}
|
|
352
392
|
},
|
|
353
|
-
"required": [
|
|
354
|
-
|
|
393
|
+
"required": [
|
|
394
|
+
"name",
|
|
395
|
+
"code",
|
|
396
|
+
"status"
|
|
397
|
+
],
|
|
398
|
+
"additionalProperties": false
|
|
355
399
|
}
|
|
356
400
|
},
|
|
357
401
|
"required": [
|
|
358
402
|
"languageId",
|
|
359
|
-
"dmCourseStatus",
|
|
360
403
|
"exonym",
|
|
361
|
-
"status",
|
|
362
|
-
"uuid",
|
|
363
|
-
"script",
|
|
364
|
-
"curriculum",
|
|
365
404
|
"appInterface",
|
|
405
|
+
"curriculum",
|
|
406
|
+
"dmCourseStatus",
|
|
366
407
|
"gdmcStatus",
|
|
367
|
-
"questionSource"
|
|
408
|
+
"questionSource",
|
|
409
|
+
"script",
|
|
410
|
+
"status",
|
|
411
|
+
"uuid"
|
|
368
412
|
],
|
|
369
|
-
"
|
|
413
|
+
"additionalProperties": false
|
|
370
414
|
}
|
|
371
415
|
}
|
|
372
416
|
},
|
|
373
|
-
"required": [
|
|
417
|
+
"required": [
|
|
418
|
+
"$schema",
|
|
419
|
+
"data"
|
|
420
|
+
]
|
|
374
421
|
}
|