From f022425526f6d9e0118e1a8e1ec57203d0336e49 Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Sun, 9 Oct 2022 13:27:52 +0300 Subject: [PATCH] feat: improve intelligibility reports --- src/core/IntelligibilityReport.test.ts | 85 + src/core/IntelligibilityReport.ts | 135 + src/core/index.ts | 6 + .../sameInLanguages.test.ts.snap | 7624 +---------------- src/parse/sameInLanguages.test.ts | 584 +- src/parse/sameInLanguages.ts | 208 +- src/types/intelligibility.ts | 24 +- 7 files changed, 354 insertions(+), 8312 deletions(-) create mode 100644 src/core/IntelligibilityReport.test.ts create mode 100644 src/core/IntelligibilityReport.ts diff --git a/src/core/IntelligibilityReport.test.ts b/src/core/IntelligibilityReport.test.ts new file mode 100644 index 0000000..4ceae4f --- /dev/null +++ b/src/core/IntelligibilityReport.test.ts @@ -0,0 +1,85 @@ +import { IntelligibilityReport } from './IntelligibilityReport'; +import { + IntelligibilityLevel, + IntelligibilityLevelDescription, + SlavicLanguage, +} from '../types'; + +describe('IntelligibilityReport', () => { + it.each([ + ['be'], + ['bg'], + ['bs'], + ['cnr'], + ['cs'], + ['csb'], + ['cu'], + ['dsb'], + ['hr'], + ['hsb'], + ['mk'], + ['pl'], + ['ru'], + ['rue'], + ['sk'], + ['sl'], + ['sr'], + ['szl'], + ['uk'], + ])('should have autogenerated unknown for %s', (rawLang) => { + const lang = rawLang as SlavicLanguage; + const report = new IntelligibilityReport(); + + expect(report[lang].tag).toBe(lang); + expect(report[lang].level).toBe(''); + expect(report[lang].autogenerated).toBe(true); + }); + + describe('toString()', () => { + it('should generate an empty string', () => { + expect(`${new IntelligibilityReport()}`).toBe(''); + }); + + it.each([ + ['!be+', SlavicLanguage.Belarusian, 'DirectMatch', true], + ['bs*', SlavicLanguage.Bosnian, 'HelperMatch', false], + ['!bg?', SlavicLanguage.Bulgarian, 'AmbiguousDirectMatch', true], + ['hr~', SlavicLanguage.Croatian, 'AmbiguousHelperMatch', false], + ['!cs#', SlavicLanguage.Czech, 'FalseFriend', true], + ['csb-', SlavicLanguage.Kashubian, 'NoMatch', false], + ['!dsb+', SlavicLanguage.LowerSorbian, 'DirectMatch', true], + ['mk*', SlavicLanguage.Macedonian, 'HelperMatch', false], + ['!cnr?', SlavicLanguage.Montenegrin, 'AmbiguousDirectMatch', true], + ['cu~', SlavicLanguage.ChurchSlavonic, 'AmbiguousHelperMatch', false], + ['!pl#', SlavicLanguage.Polish, 'FalseFriend', true], + ['ru-', SlavicLanguage.Russian, 'NoMatch', false], + ['!rue+', SlavicLanguage.Rusyn, 'DirectMatch', true], + ['sr*', SlavicLanguage.Serbian, 'HelperMatch', false], + ['!szl?', SlavicLanguage.Silesian, 'AmbiguousDirectMatch', true], + ['sk~', SlavicLanguage.Slovak, 'AmbiguousHelperMatch', false], + ['!sl#', SlavicLanguage.Slovenian, 'FalseFriend', true], + ['uk-', SlavicLanguage.Ukrainian, 'NoMatch', false], + ['!hsb+', SlavicLanguage.UpperSorbian, 'DirectMatch', true], + ] as [string, SlavicLanguage, IntelligibilityLevelDescription, boolean][])( + 'should generate %s', + (expected, lang, level, autogenerated) => { + const report = new IntelligibilityReport(); + report[lang].level = IntelligibilityLevel[level]; + report[lang].autogenerated = autogenerated; + expect(`${report}`).toBe(expected); + }, + ); + }); + + it('should display multiple tags', () => { + const report = new IntelligibilityReport(); + + report.uk.autogenerated = report.ru.autogenerated = false; + report.uk.level = IntelligibilityLevel.DirectMatch; + report.be.level = IntelligibilityLevel.DirectMatch; + report.ru.level = IntelligibilityLevel.HelperMatch; + report.pl.level = IntelligibilityLevel.DirectMatch; + + expect(`${report}`).toBe('!be+ !pl+ ru* uk+'); + }); +}); diff --git a/src/core/IntelligibilityReport.ts b/src/core/IntelligibilityReport.ts new file mode 100644 index 0000000..c8bc30d --- /dev/null +++ b/src/core/IntelligibilityReport.ts @@ -0,0 +1,135 @@ +import { IntelligibilityLevel, SlavicLanguage } from '../types'; + +export class IntelligibilityAssessment { + public tag: SlavicLanguage; + public level: IntelligibilityLevel; + public autogenerated: boolean; + + constructor( + tag: SlavicLanguage, + level = IntelligibilityLevel.Unknown, + autogenerated = true, + ) { + this.tag = tag; + this.level = level; + this.autogenerated = autogenerated; + } + + toString(): string { + if (this.level === IntelligibilityLevel.Unknown) { + return ''; + } + + return `${this.autogenerated ? '!' : ''}${this.tag}${this.level}`; + } +} + +export class IntelligibilityReport + implements Readonly> +{ + private _data: Record = { + be: new IntelligibilityAssessment(SlavicLanguage.Belarusian), + bg: new IntelligibilityAssessment(SlavicLanguage.Bulgarian), + bs: new IntelligibilityAssessment(SlavicLanguage.Bosnian), + cnr: new IntelligibilityAssessment(SlavicLanguage.Montenegrin), + cs: new IntelligibilityAssessment(SlavicLanguage.Czech), + csb: new IntelligibilityAssessment(SlavicLanguage.Kashubian), + cu: new IntelligibilityAssessment(SlavicLanguage.ChurchSlavonic), + dsb: new IntelligibilityAssessment(SlavicLanguage.LowerSorbian), + hr: new IntelligibilityAssessment(SlavicLanguage.Croatian), + hsb: new IntelligibilityAssessment(SlavicLanguage.UpperSorbian), + mk: new IntelligibilityAssessment(SlavicLanguage.Macedonian), + pl: new IntelligibilityAssessment(SlavicLanguage.Polish), + ru: new IntelligibilityAssessment(SlavicLanguage.Russian), + rue: new IntelligibilityAssessment(SlavicLanguage.Rusyn), + sk: new IntelligibilityAssessment(SlavicLanguage.Slovak), + sl: new IntelligibilityAssessment(SlavicLanguage.Slovenian), + sr: new IntelligibilityAssessment(SlavicLanguage.Serbian), + szl: new IntelligibilityAssessment(SlavicLanguage.Silesian), + uk: new IntelligibilityAssessment(SlavicLanguage.Ukrainian), + }; + + get be(): IntelligibilityAssessment { + return this._data.be; + } + + get bg(): IntelligibilityAssessment { + return this._data.bg; + } + + get bs(): IntelligibilityAssessment { + return this._data.bs; + } + + get cnr(): IntelligibilityAssessment { + return this._data.cnr; + } + + get cs(): IntelligibilityAssessment { + return this._data.cs; + } + + get csb(): IntelligibilityAssessment { + return this._data.csb; + } + + get cu(): IntelligibilityAssessment { + return this._data.cu; + } + + get dsb(): IntelligibilityAssessment { + return this._data.dsb; + } + + get hr(): IntelligibilityAssessment { + return this._data.hr; + } + + get hsb(): IntelligibilityAssessment { + return this._data.hsb; + } + + get mk(): IntelligibilityAssessment { + return this._data.mk; + } + + get pl(): IntelligibilityAssessment { + return this._data.pl; + } + + get ru(): IntelligibilityAssessment { + return this._data.ru; + } + + get rue(): IntelligibilityAssessment { + return this._data.rue; + } + + get sk(): IntelligibilityAssessment { + return this._data.sk; + } + + get sl(): IntelligibilityAssessment { + return this._data.sl; + } + + get sr(): IntelligibilityAssessment { + return this._data.sr; + } + + get szl(): IntelligibilityAssessment { + return this._data.szl; + } + + get uk(): IntelligibilityAssessment { + return this._data.uk; + } + + toString(): string { + return Object.values(this._data).map(String).filter(Boolean).join(' '); + } + + toJSON(): Record { + return this._data; + } +} diff --git a/src/core/index.ts b/src/core/index.ts index 4d611d2..5728891 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -1,4 +1,8 @@ import { Annotation, AnnotationOptions, AnnotationType } from './Annotation'; +import { + IntelligibilityAssessment, + IntelligibilityReport, +} from './IntelligibilityReport'; import { Lemma, LemmaOptions } from './Lemma'; import { LemmaGroup, LemmaGroupOptions } from './LemmaGroup'; import { Synset, SynsetMetadata, SynsetOptions } from './Synset'; @@ -7,6 +11,8 @@ export { Annotation, AnnotationOptions, AnnotationType, + IntelligibilityAssessment, + IntelligibilityReport, Lemma, LemmaOptions, LemmaGroup, diff --git a/src/parse/__snapshots__/sameInLanguages.test.ts.snap b/src/parse/__snapshots__/sameInLanguages.test.ts.snap index bfda169..7b14407 100644 --- a/src/parse/__snapshots__/sameInLanguages.test.ts.snap +++ b/src/parse/__snapshots__/sameInLanguages.test.ts.snap @@ -1,7625 +1,43 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`parseSameInLanguages should parse correctly "" 1`] = `Object {}`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "" 1`] = `""`; -exports[`parseSameInLanguages should parse correctly "#ru cz" 1`] = ` -Object { - "cs": "Full", - "ru": "Disputed", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "cs sh~ bg~" 1`] = `"!bg~ !bs~ !cnr~ !cs+ !hr~ !sk+ !sr~"`; -exports[`parseSameInLanguages should parse correctly "#v" 1`] = ` -Object { - "be": "Disputed", - "cu": "Disputed", - "ru": "Disputed", - "rue": "Disputed", - "uk": "Disputed", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "j z" 1`] = `"!bg+ !bs+ !cnr+ !cs+ !hr+ !mk+ !pl+ !sk+ !sl+ !sr+"`; -exports[`parseSameInLanguages should parse correctly "#yu" 1`] = ` -Object { - "bs": "Disputed", - "cnr": "Disputed", - "hr": "Disputed", - "sl": "Disputed", - "sr": "Disputed", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "ru cs (sh)" 1`] = `"!cs+ !ru+ !sk+"`; -exports[`parseSameInLanguages should parse correctly "be cs j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "ru yu" 1`] = `"!bs+ !cnr+ !hr+ !ru+ !sl+ !sr+"`; -exports[`parseSameInLanguages should parse correctly "be cs sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "sk": "Full", - "sr": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "ru# yu* mk~" 1`] = `"!bs* !cnr* !hr* !mk~ !ru# !sl* !sr*"`; -exports[`parseSameInLanguages should parse correctly "be pl cs" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "pl": "Full", - "sk": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "rue cs yu" 1`] = `"!bs+ !cnr+ !cs+ !hr+ !rue+ !sk+ !sl+ !sr+"`; -exports[`parseSameInLanguages should parse correctly "be pl sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sr": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "ub~ z j" 1`] = `"!be~ !bg+ !bs+ !cnr+ !cs+ !hr+ !mk+ !pl+ !sk+ !sl+ !sr+ !uk~"`; -exports[`parseSameInLanguages should parse correctly "be pl sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sr": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "uk z bg" 1`] = `"!bg+ !cs+ !pl+ !sk+ !uk+"`; -exports[`parseSameInLanguages should parse correctly "be pl sk bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "pl": "Full", - "sk": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "v csb hsb cs" 1`] = `"!be+ !cs+ !csb+ !hsb+ !ru+ !sk+ !uk+"`; -exports[`parseSameInLanguages should parse correctly "be pl" 1`] = ` -Object { - "be": "Full", - "pl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "v pl csb" 1`] = `"!be+ !csb+ !pl+ !ru+ !uk+"`; -exports[`parseSameInLanguages should parse correctly "be sh bm cu" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "sr": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "v pl sk~" 1`] = `"!be+ !pl+ !ru+ !sk~ !uk+"`; -exports[`parseSameInLanguages should parse correctly "be z j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "v sk j~" 1`] = `"!be+ !bg~ !bs~ !cnr~ !hr~ !mk~ !ru+ !sk+ !sl~ !sr~ !uk+"`; -exports[`parseSameInLanguages should parse correctly "be z ru~ uk~" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Incomplete", - "sk": "Full", - "szl": "Full", - "uk": "Incomplete", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "v z yu~" 1`] = `"!be+ !bs~ !cnr~ !cs+ !hr~ !pl+ !ru+ !sk+ !sl~ !sr~ !uk+"`; -exports[`parseSameInLanguages should parse correctly "be z sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "z" 1`] = `"!cs+ !pl+ !sk+"`; -exports[`parseSameInLanguages should parse correctly "be z sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in legacy mode: "z~ sh~" 1`] = `"!bs~ !cnr~ !cs~ !hr~ !pl~ !sk~ !sr~"`; -exports[`parseSameInLanguages should parse correctly "be z sl" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in new mode: "!be+ cs# !ru+ uk+ pl*" 1`] = `"!be+ cs# pl* !ru+ uk+"`; -exports[`parseSameInLanguages should parse correctly "be z yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in new mode: "!bg+ cz~ mk+" 1`] = `"!bg+ cs~ mk+"`; -exports[`parseSameInLanguages should parse correctly "be z yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in new mode: "!v+ z#" 1`] = `"!be+ cs# pl# !ru+ sk# !uk+"`; -exports[`parseSameInLanguages should parse correctly "be z" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", -} -`; +exports[`parseSameInLanguages should parse correctly in new mode: "" 1`] = `""`; -exports[`parseSameInLanguages should parse correctly "be" 1`] = ` -Object { - "be": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "be~ z" 1`] = ` -Object { - "be": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "bg ru~ sh~ mk~" 1`] = ` -Object { - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "hr": "Incomplete", - "mk": "Incomplete", - "ru": "Incomplete", - "sr": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "bg" 1`] = ` -Object { - "bg": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs bm" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "mk": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs hsb yu cu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "hsb": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs hsb" 1`] = ` -Object { - "cs": "Full", - "hsb": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs j cu" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs ps" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs rue" 1`] = ` -Object { - "cs": "Full", - "rue": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sb j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sb sl" 1`] = ` -Object { - "cs": "Full", - "dsb": "Full", - "hsb": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sb yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sh bm sb" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sh~ bg~" 1`] = ` -Object { - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "hr": "Incomplete", - "sk": "Full", - "sr": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl bm" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl csb sb" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl cu" 1`] = ` -Object { - "cs": "Full", - "cu": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl hsb rue" 1`] = ` -Object { - "cs": "Full", - "hsb": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl mk" 1`] = ` -Object { - "cs": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl rue" 1`] = ` -Object { - "cs": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl sb" 1`] = ` -Object { - "cs": "Full", - "dsb": "Full", - "hsb": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs sl" 1`] = ` -Object { - "cs": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs yu cu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs yu mk (pl)" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Other1", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs" 1`] = ` -Object { - "cs": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs~ j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "mk": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs~ sl sh~ mk~ bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "hr": "Incomplete", - "mk": "Incomplete", - "sk": "Incomplete", - "sl": "Full", - "sr": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs~ yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "mk": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cs~ yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cu" 1`] = ` -Object { - "cu": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz ps" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz sl hr" 1`] = ` -Object { - "cs": "Full", - "hr": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz" 1`] = ` -Object { - "cs": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz~ sk sl sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz~ sk yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "cz~ sk" 1`] = ` -Object { - "cs": "Incomplete", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "dsb" 1`] = ` -Object { - "dsb": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "hsb" 1`] = ` -Object { - "hsb": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "j z" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "j+z" 1`] = `Object {}`; - -exports[`parseSameInLanguages should parse correctly "mk" 1`] = ` -Object { - "mk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "n" 1`] = `Object {}`; - -exports[`parseSameInLanguages should parse correctly "ns" 1`] = `Object {}`; - -exports[`parseSameInLanguages should parse correctly "pl bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl cs sl" 1`] = ` -Object { - "cs": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl cz sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "pl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl cz yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl cz" 1`] = ` -Object { - "cs": "Full", - "pl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sk j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sk sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sk yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sl bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl sl" 1`] = ` -Object { - "pl": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl uk" 1`] = ` -Object { - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl yu bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl" 1`] = ` -Object { - "pl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl~ cs yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "pl": "Incomplete", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl~ cs yu~" 1`] = ` -Object { - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "hr": "Incomplete", - "pl": "Incomplete", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl~ cz sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "pl": "Incomplete", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl~ sb~ cs" 1`] = ` -Object { - "cs": "Full", - "dsb": "Incomplete", - "hsb": "Incomplete", - "pl": "Incomplete", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "pl~ sl" 1`] = ` -Object { - "pl": "Incomplete", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru (cz sh)" 1`] = ` -Object { - "bs": "Other1", - "cnr": "Other1", - "cs": "Other1", - "hr": "Other1", - "ru": "Full", - "sr": "Other1", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru (sh)" 1`] = ` -Object { - "bs": "Other1", - "cnr": "Other1", - "hr": "Other1", - "ru": "Full", - "sr": "Other1", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "mk": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be cs j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be cs sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be cs sr bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be cs" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be cz bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "mk": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be cz sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be cz sl mk bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be dsb sk sl" 1`] = ` -Object { - "be": "Full", - "dsb": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be dsb yu bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "dsb": "Full", - "hr": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "hr": "Incomplete", - "mk": "Incomplete", - "ru": "Full", - "sl": "Incomplete", - "sr": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be pl bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be pl cs bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be pl cz" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be pl sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be pl sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be pl" 1`] = ` -Object { - "be": "Full", - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be sh bm uk~" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be sk bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be z j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be z sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be z yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be z" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru be" 1`] = ` -Object { - "be": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru bg cs~" 1`] = ` -Object { - "bg": "Full", - "cs": "Incomplete", - "ru": "Full", - "sk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru bg cu" 1`] = ` -Object { - "bg": "Full", - "cu": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru bg" 1`] = ` -Object { - "bg": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru bm sb" 1`] = ` -Object { - "bg": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs (sh)" 1`] = ` -Object { - "bs": "Other1", - "cnr": "Other1", - "cs": "Full", - "hr": "Other1", - "ru": "Full", - "sk": "Full", - "sr": "Other1", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs bg cu" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs sb" 1`] = ` -Object { - "cs": "Full", - "dsb": "Full", - "hsb": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs sl bm" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs sl hr" 1`] = ` -Object { - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs sl" 1`] = ` -Object { - "cs": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs yu bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs" 1`] = ` -Object { - "cs": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs~ bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Incomplete", - "ru": "Full", - "sk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs~ j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs~ sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Incomplete", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs~ yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "ru": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cs~" 1`] = ` -Object { - "cs": "Incomplete", - "ru": "Full", - "sk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz hsb yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "hsb": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz sb sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz sh bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz sl hr" 1`] = ` -Object { - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz sl" 1`] = ` -Object { - "cs": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz" 1`] = ` -Object { - "cs": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz~ sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru cz~ sh~" 1`] = ` -Object { - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "hr": "Incomplete", - "ru": "Full", - "sr": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl (cz)" 1`] = ` -Object { - "cs": "Other1", - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl cs sl" 1`] = ` -Object { - "cs": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl cs" 1`] = ` -Object { - "cs": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl cz sl hr" 1`] = ` -Object { - "cs": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl cz" 1`] = ` -Object { - "cs": "Full", - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sb sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sk j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sk sl" 1`] = ` -Object { - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sk" 1`] = ` -Object { - "pl": "Full", - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sl bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl sl bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl" 1`] = ` -Object { - "pl": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl~ bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Incomplete", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl~ cz" 1`] = ` -Object { - "cs": "Full", - "pl": "Incomplete", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl~ cz~" 1`] = ` -Object { - "cs": "Incomplete", - "pl": "Incomplete", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl~ j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl~ sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru pl~ sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Incomplete", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sb bm" 1`] = ` -Object { - "bg": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh (cz)" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Other1", - "hr": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh bg sl" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh mk bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sh~" 1`] = ` -Object { - "bs": "Incomplete", - "cnr": "Incomplete", - "hr": "Incomplete", - "ru": "Full", - "sr": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sk j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sk sl mk" 1`] = ` -Object { - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sk" 1`] = ` -Object { - "ru": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sl bg" 1`] = ` -Object { - "bg": "Full", - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru sl" 1`] = ` -Object { - "ru": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru ub cs yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru ub cz bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "mk": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru ub sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru ub~ sh~ mk~ bg" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "hr": "Incomplete", - "mk": "Incomplete", - "ru": "Full", - "sr": "Incomplete", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk bg" 1`] = ` -Object { - "bg": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk bm pl~ be~" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cs bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "ru": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cs bm" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cs j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cs mk" 1`] = ` -Object { - "cs": "Full", - "mk": "Full", - "ru": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cs" 1`] = ` -Object { - "cs": "Full", - "ru": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cz mk" 1`] = ` -Object { - "cs": "Full", - "mk": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cz sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cz sl bm" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk cz sl cu" 1`] = ` -Object { - "cs": "Full", - "cu": "Full", - "ru": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk hr bg" 1`] = ` -Object { - "bg": "Full", - "hr": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk hr" 1`] = ` -Object { - "hr": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl cz bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "pl": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl sk bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl sk" 1`] = ` -Object { - "pl": "Full", - "ru": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk pl" 1`] = ` -Object { - "pl": "Full", - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk yu bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk yu~ bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "hr": "Incomplete", - "ru": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk z j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk z sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk z sl" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk z yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk z yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk z" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk z~ j~" 1`] = ` -Object { - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "csb": "Incomplete", - "dsb": "Incomplete", - "hr": "Incomplete", - "hsb": "Incomplete", - "mk": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "sk": "Incomplete", - "sl": "Incomplete", - "sr": "Incomplete", - "szl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk" 1`] = ` -Object { - "ru": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru uk~ pl~ j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z bm" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z sl" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z yu bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru z" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru" 1`] = ` -Object { - "ru": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ be~ uk hsb sh bm" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "ru": "Incomplete", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ be~ uk z sh~" 1`] = ` -Object { - "be": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "pl": "Full", - "ru": "Incomplete", - "sk": "Full", - "sr": "Incomplete", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ cs yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "ru": "Incomplete", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Incomplete", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "ru": "Incomplete", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ ub pl sk j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "hr": "Incomplete", - "mk": "Incomplete", - "pl": "Full", - "ru": "Incomplete", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ ub pl sk~" 1`] = ` -Object { - "be": "Full", - "pl": "Full", - "ru": "Incomplete", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ ub z j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Incomplete", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ ub z yu bg~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Incomplete", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ uk pl bg~" 1`] = ` -Object { - "bg": "Incomplete", - "pl": "Full", - "ru": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ uk pl cs~ sl sh~" 1`] = ` -Object { - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "hr": "Incomplete", - "pl": "Full", - "ru": "Incomplete", - "sk": "Incomplete", - "sl": "Full", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ru~ z bg~" 1`] = ` -Object { - "bg": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Incomplete", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "rue cs yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "rue cs yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "rue z yu mk (ub)" 1`] = ` -Object { - "be": "Other1", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Other1", -} -`; - -exports[`parseSameInLanguages should parse correctly "sb cs sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "sk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sb" 1`] = ` -Object { - "dsb": "Full", - "hsb": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sh (ub pl)" 1`] = ` -Object { - "be": "Other1", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Other1", - "sr": "Full", - "uk": "Other1", -} -`; - -exports[`parseSameInLanguages should parse correctly "sh bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sk bg" 1`] = ` -Object { - "bg": "Full", - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sk j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sk sl" 1`] = ` -Object { - "sk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sk yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sk yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sk" 1`] = ` -Object { - "sk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sl bg" 1`] = ` -Object { - "bg": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sl bm" 1`] = ` -Object { - "bg": "Full", - "mk": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sl rue" 1`] = ` -Object { - "rue": "Full", - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sl sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sl sk~ uk~" 1`] = ` -Object { - "sk": "Incomplete", - "sl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "sl" 1`] = ` -Object { - "sl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "sx" 1`] = `Object {}`; - -exports[`parseSameInLanguages should parse correctly "ub bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub cs yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub cs yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub cs" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub hsb" 1`] = ` -Object { - "be": "Full", - "hsb": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl bg (sh)" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Other1", - "cnr": "Other1", - "hr": "Other1", - "pl": "Full", - "sr": "Other1", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "mk": "Full", - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl cs" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "pl": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl cs~ yu " 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "hr": "Full", - "pl": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl cs~ yu~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "hr": "Incomplete", - "pl": "Full", - "sk": "Incomplete", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl cs~" 1`] = ` -Object { - "be": "Full", - "cs": "Incomplete", - "pl": "Full", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl cz" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl hsb yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl hsb" 1`] = ` -Object { - "be": "Full", - "hsb": "Full", - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl mk~" 1`] = ` -Object { - "be": "Full", - "mk": "Incomplete", - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sb cz" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sb sl" 1`] = ` -Object { - "be": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "pl": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk sl" 1`] = ` -Object { - "be": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk yu bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sk" 1`] = ` -Object { - "be": "Full", - "pl": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl sl hr" 1`] = ` -Object { - "be": "Full", - "hr": "Full", - "pl": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl yu~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "hr": "Incomplete", - "pl": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl" 1`] = ` -Object { - "be": "Full", - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl~ cs sl~" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "pl": "Incomplete", - "sk": "Full", - "sl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub pl~ j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub sk bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "mk": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z mk" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z sh~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Incomplete", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z sl sh~ mk~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "mk": "Incomplete", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Incomplete", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z sl" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z yu~ mk~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "mk": "Incomplete", - "pl": "Full", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub z~ sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "csb": "Incomplete", - "dsb": "Incomplete", - "hr": "Full", - "hsb": "Incomplete", - "mk": "Full", - "pl": "Incomplete", - "sk": "Incomplete", - "sr": "Full", - "szl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub" 1`] = ` -Object { - "be": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "ub~ z j" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk cs j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk cs sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk cs yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk cs" 1`] = ` -Object { - "cs": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk cz j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk cz sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "hr": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl cs~" 1`] = ` -Object { - "cs": "Incomplete", - "pl": "Full", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl hr bg" 1`] = ` -Object { - "bg": "Full", - "hr": "Full", - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl sb sk sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl sk bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl sk sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl sk yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl sl bg" 1`] = ` -Object { - "bg": "Full", - "pl": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "pl": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk pl" 1`] = ` -Object { - "pl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk rue pl cz" 1`] = ` -Object { - "cs": "Full", - "pl": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sb" 1`] = ` -Object { - "dsb": "Full", - "hsb": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sh bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sk sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sk sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sk" 1`] = ` -Object { - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk sl" 1`] = ` -Object { - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z sl" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk z" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk" 1`] = ` -Object { - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk~ pl cs sb" 1`] = ` -Object { - "cs": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk~ pl" 1`] = ` -Object { - "pl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk~ z sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "uk~ z" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v bg sb" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v bm sh~" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "cu": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs mk" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs sh~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "cu": "Full", - "hr": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs sl bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "cu": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs sl mk" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs sl" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs yu bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs yu bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs~ sh~ bm~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs~ sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Incomplete", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs~ sl sh~ bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs~ sl~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Incomplete", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs~ yu~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cs~" 1`] = ` -Object { - "be": "Full", - "cs": "Incomplete", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v csb hsb cs" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "hsb": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz sh bm pl~" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz sl" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v cz" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v dsb" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "dsb": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v hr" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "hr": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v j cu" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v mk" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v mk~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "mk": "Incomplete", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl (cs)" 1`] = ` -Object { - "be": "Full", - "cs": "Other1", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Other1", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl (sh)" 1`] = ` -Object { - "be": "Full", - "bs": "Other1", - "cnr": "Other1", - "cu": "Full", - "hr": "Other1", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Other1", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl ? bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl bg cs~" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Incomplete", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl bm~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "cu": "Full", - "mk": "Incomplete", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cs" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cs~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Incomplete", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cs~ j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cs~ yu~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cs~" 1`] = ` -Object { - "be": "Full", - "cs": "Incomplete", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl csb" 1`] = ` -Object { - "be": "Full", - "csb": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cz sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cz sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cz sl~" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cz yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cz" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl cz~ sl~" 1`] = ` -Object { - "be": "Full", - "cs": "Incomplete", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl mk" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sb bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sb" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sh~ mk~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk sl" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk yu bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sk~" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sl bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sl" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sl~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl sl~" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl yu bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl yu bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl yu~ mk~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ cs sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ cs sh~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "cu": "Full", - "hr": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ sh~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ sk j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~ yu~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v pl~" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "ru": "Full", - "rue": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sk bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sk bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sk j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sk j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sk sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sk" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sk~ sh~ bg~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v sl" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v yu bm~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Incomplete", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "mk": "Full", - "ru": "Full", - "rue": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v yu~ mk~ bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cu": "Full", - "hr": "Incomplete", - "mk": "Incomplete", - "ru": "Full", - "rue": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "mk": "Incomplete", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z mk" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sh bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sh mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sh" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sl bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sl bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sl mk" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sl" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z sl~ sh bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Incomplete", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z yu bg" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z yu bm" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z yu mk" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z yu mk~" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Incomplete", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z yu" 1`] = ` -Object { - "be": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z yu~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Full", - "rue": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z~ j" 1`] = ` -Object { - "be": "Full", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "csb": "Incomplete", - "cu": "Full", - "dsb": "Incomplete", - "hr": "Full", - "hsb": "Incomplete", - "mk": "Full", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", - "szl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z~ j~" 1`] = ` -Object { - "be": "Full", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "csb": "Incomplete", - "cu": "Full", - "dsb": "Incomplete", - "hr": "Incomplete", - "hsb": "Incomplete", - "mk": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sl": "Incomplete", - "sr": "Incomplete", - "szl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z~ sh~" 1`] = ` -Object { - "be": "Full", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "csb": "Incomplete", - "cu": "Full", - "dsb": "Incomplete", - "hr": "Incomplete", - "hsb": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "sr": "Incomplete", - "szl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v z~" 1`] = ` -Object { - "be": "Full", - "cs": "Incomplete", - "csb": "Incomplete", - "cu": "Full", - "dsb": "Incomplete", - "hsb": "Incomplete", - "pl": "Incomplete", - "ru": "Full", - "rue": "Full", - "sk": "Incomplete", - "szl": "Incomplete", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v" 1`] = ` -Object { - "be": "Full", - "cu": "Full", - "ru": "Full", - "rue": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ " 1`] = ` -Object { - "be": "Incomplete", - "cu": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ bg" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "cu": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ cs yu bm~" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Incomplete", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "cu": "Incomplete", - "hr": "Full", - "mk": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ cs" 1`] = ` -Object { - "be": "Incomplete", - "cs": "Full", - "cu": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ pl j" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Incomplete", - "hr": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Incomplete", - "rue": "Incomplete", - "sl": "Full", - "sr": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ pl~ yu mk" 1`] = ` -Object { - "be": "Incomplete", - "bs": "Full", - "cnr": "Full", - "cu": "Incomplete", - "hr": "Full", - "mk": "Full", - "pl": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "sl": "Full", - "sr": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ sh bm" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cu": "Incomplete", - "hr": "Full", - "mk": "Full", - "ru": "Incomplete", - "rue": "Incomplete", - "sr": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ z j" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "cu": "Incomplete", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ z j~" 1`] = ` -Object { - "be": "Incomplete", - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "cu": "Incomplete", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "mk": "Incomplete", - "pl": "Full", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "szl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ z sl" 1`] = ` -Object { - "be": "Incomplete", - "cs": "Full", - "csb": "Full", - "cu": "Incomplete", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Full", - "sl": "Full", - "szl": "Full", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ z~ sh mk" 1`] = ` -Object { - "be": "Incomplete", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "csb": "Incomplete", - "cu": "Incomplete", - "dsb": "Incomplete", - "hr": "Full", - "hsb": "Incomplete", - "mk": "Full", - "pl": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Incomplete", - "sr": "Full", - "szl": "Incomplete", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ z~ yu mk~" 1`] = ` -Object { - "be": "Incomplete", - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "csb": "Incomplete", - "cu": "Incomplete", - "dsb": "Incomplete", - "hr": "Full", - "hsb": "Incomplete", - "mk": "Incomplete", - "pl": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", - "szl": "Incomplete", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "v~ z~" 1`] = ` -Object { - "be": "Incomplete", - "cs": "Incomplete", - "csb": "Incomplete", - "cu": "Incomplete", - "dsb": "Incomplete", - "hsb": "Incomplete", - "pl": "Incomplete", - "ru": "Incomplete", - "rue": "Incomplete", - "sk": "Incomplete", - "szl": "Incomplete", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "yu bg" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "yu cu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cu": "Full", - "hr": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "yu mk uk~ z~" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Incomplete", - "csb": "Incomplete", - "dsb": "Incomplete", - "hr": "Full", - "hsb": "Incomplete", - "mk": "Full", - "pl": "Incomplete", - "sk": "Incomplete", - "sl": "Full", - "sr": "Full", - "szl": "Incomplete", - "uk": "Incomplete", -} -`; - -exports[`parseSameInLanguages should parse correctly "yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "yu mk~" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "mk": "Incomplete", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "hr": "Full", - "sl": "Full", - "sr": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z cs j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z j rue" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "rue": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z j" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z j~" 1`] = ` -Object { - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "mk": "Incomplete", - "pl": "Full", - "sk": "Full", - "sl": "Incomplete", - "sr": "Incomplete", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sh bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sh mk bg~" 1`] = ` -Object { - "bg": "Incomplete", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sh mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sh" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sl bg" 1`] = ` -Object { - "bg": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sl bg~" 1`] = ` -Object { - "bg": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sl mk" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sl sh~ bg~" 1`] = ` -Object { - "bg": "Incomplete", - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Incomplete", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Incomplete", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z sl" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z ub" 1`] = ` -Object { - "be": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", - "uk": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z yu bm" 1`] = ` -Object { - "bg": "Full", - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z yu mk" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "mk": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z yu" 1`] = ` -Object { - "bs": "Full", - "cnr": "Full", - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hr": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "sl": "Full", - "sr": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z" 1`] = ` -Object { - "cs": "Full", - "csb": "Full", - "dsb": "Full", - "hsb": "Full", - "pl": "Full", - "sk": "Full", - "szl": "Full", -} -`; - -exports[`parseSameInLanguages should parse correctly "z~ sh~" 1`] = ` -Object { - "bs": "Incomplete", - "cnr": "Incomplete", - "cs": "Incomplete", - "csb": "Incomplete", - "dsb": "Incomplete", - "hr": "Incomplete", - "hsb": "Incomplete", - "pl": "Incomplete", - "sk": "Incomplete", - "sr": "Incomplete", - "szl": "Incomplete", -} -`; +exports[`parseSameInLanguages should parse correctly in new mode: "sh* sl+" 1`] = `"bs* cnr* hr* sl+ sr*"`; diff --git a/src/parse/sameInLanguages.test.ts b/src/parse/sameInLanguages.test.ts index 6e4618e..1adf86d 100644 --- a/src/parse/sameInLanguages.test.ts +++ b/src/parse/sameInLanguages.test.ts @@ -3,586 +3,36 @@ import parseSameInLanguages from './sameInLanguages'; describe('parseSameInLanguages', () => { it.each([ [''], - ['#ru cz'], - ['#v'], - ['#yu'], - ['be'], - ['be cs j'], - ['be cs sh'], - ['be pl'], - ['be pl cs'], - ['be pl sh bm'], - ['be pl sh mk'], - ['be pl sk bg'], - ['be sh bm cu'], - ['be z'], - ['be z j'], - ['be z ru~ uk~'], - ['be z sh bg'], - ['be z sh mk'], - ['be z sl'], - ['be z yu'], - ['be z yu mk'], - ['be~ z'], - ['bg'], - ['bg ru~ sh~ mk~'], - ['bm'], - ['cs'], - ['cs bg'], - ['cs bm'], - ['cs hsb'], - ['cs hsb yu cu'], - ['cs j'], - ['cs j cu'], - ['cs ps'], - ['cs rue'], - ['cs sb j'], - ['cs sb sl'], - ['cs sb yu mk'], - ['cs sh'], - ['cs sh bm'], - ['cs sh bm sb'], - ['cs sh mk'], ['cs sh~ bg~'], - ['cs sl'], - ['cs sl bm'], - ['cs sl csb sb'], - ['cs sl cu'], - ['cs sl hsb rue'], - ['cs sl mk'], - ['cs sl rue'], - ['cs sl sb'], - ['cs yu'], - ['cs yu cu'], - ['cs yu mk'], - ['cs yu mk (pl)'], - ['cs~ j'], - ['cs~ sl sh~ mk~ bg'], - ['cs~ yu'], - ['cs~ yu mk'], - ['cu'], - ['cz'], - ['cz j'], - ['cz ps'], - ['cz sh'], - ['cz sh bm'], - ['cz sl hr'], - ['cz yu'], - ['cz~ sk'], - ['cz~ sk sl sh'], - ['cz~ sk yu'], - ['dsb'], - ['hsb'], - ['j'], ['j z'], - ['j+z'], - ['mk'], - ['n'], - ['ns'], - ['pl'], - ['pl bg'], - ['pl cs sl'], - ['pl cz'], - ['pl cz sh'], - ['pl cz yu mk'], - ['pl j'], - ['pl sh'], - ['pl sh bm'], - ['pl sh mk'], - ['pl sk j'], - ['pl sk sh'], - ['pl sk yu'], - ['pl sl'], - ['pl sl bg'], - ['pl uk'], - ['pl yu'], - ['pl yu bg'], - ['pl yu mk'], - ['pl~ cs yu'], - ['pl~ cs yu~'], - ['pl~ cz sh'], - ['pl~ sb~ cs'], - ['pl~ sl'], - ['ru'], - ['ru (cz sh)'], - ['ru (sh)'], - ['ru be'], - ['ru be bg'], - ['ru be bm'], - ['ru be cs'], - ['ru be cs j'], - ['ru be cs sh bm'], - ['ru be cs sr bm'], - ['ru be cz bm'], - ['ru be cz sl bg'], - ['ru be cz sl mk bg'], - ['ru be dsb sk sl'], - ['ru be dsb yu bg'], - ['ru be j'], - ['ru be j~'], - ['ru be pl'], - ['ru be pl bm'], - ['ru be pl cs bg'], - ['ru be pl cz'], - ['ru be pl sh'], - ['ru be pl sh bm'], - ['ru be sh'], - ['ru be sh bm'], - ['ru be sh bm uk~'], - ['ru be sh mk'], - ['ru be sk bg'], - ['ru be sl bg'], - ['ru be yu mk'], - ['ru be z'], - ['ru be z j'], - ['ru be z sh'], - ['ru be z yu mk'], - ['ru bg'], - ['ru bg cs~'], - ['ru bg cu'], - ['ru bm'], - ['ru bm sb'], - ['ru cs'], ['ru cs (sh)'], - ['ru cs bg'], - ['ru cs bg cu'], - ['ru cs j'], - ['ru cs sb'], - ['ru cs sh'], - ['ru cs sh bm'], - ['ru cs sh mk'], - ['ru cs sl'], - ['ru cs sl bm'], - ['ru cs sl hr'], - ['ru cs yu'], - ['ru cs yu bg'], - ['ru cs yu mk'], - ['ru cs~'], - ['ru cs~ bg'], - ['ru cs~ j'], - ['ru cs~ sh bm'], - ['ru cs~ yu'], - ['ru cz'], - ['ru cz bg'], - ['ru cz hsb yu'], - ['ru cz j'], - ['ru cz sb sh bm'], - ['ru cz sh'], - ['ru cz sh bg'], - ['ru cz sl'], - ['ru cz sl hr'], - ['ru cz~ sh'], - ['ru cz~ sh~'], - ['ru j'], - ['ru pl'], - ['ru pl (cz)'], - ['ru pl bg'], - ['ru pl bm'], - ['ru pl cs'], - ['ru pl cs sl'], - ['ru pl cz'], - ['ru pl cz sl hr'], - ['ru pl j'], - ['ru pl sb sh mk'], - ['ru pl sh'], - ['ru pl sh bm'], - ['ru pl sh mk'], - ['ru pl sk'], - ['ru pl sk j'], - ['ru pl sk sl'], - ['ru pl sl bg'], - ['ru pl sl bm'], - ['ru pl yu'], - ['ru pl yu mk'], - ['ru pl~ bg'], - ['ru pl~ cz'], - ['ru pl~ cz~'], - ['ru pl~ j'], - ['ru pl~ sh'], - ['ru pl~ sh bm'], - ['ru sb bm'], - ['ru sh'], - ['ru sh (cz)'], - ['ru sh bg'], - ['ru sh bg sl'], - ['ru sh bm'], - ['ru sh mk'], - ['ru sh mk bg'], - ['ru sh~'], - ['ru sk'], - ['ru sk j'], - ['ru sk sl mk'], - ['ru sl'], - ['ru sl bg'], - ['ru ub cs yu'], - ['ru ub cz bm'], - ['ru ub sh bg'], - ['ru ub~ sh~ mk~ bg'], - ['ru uk'], - ['ru uk bg'], - ['ru uk bm'], - ['ru uk bm pl~ be~'], - ['ru uk cs'], - ['ru uk cs bg'], - ['ru uk cs bm'], - ['ru uk cs j'], - ['ru uk cs mk'], - ['ru uk cz mk'], - ['ru uk cz sh bm'], - ['ru uk cz sl bm'], - ['ru uk cz sl cu'], - ['ru uk hr'], - ['ru uk hr bg'], - ['ru uk j'], - ['ru uk pl'], - ['ru uk pl bg'], - ['ru uk pl bm'], - ['ru uk pl cz bg'], - ['ru uk pl j'], - ['ru uk pl sh'], - ['ru uk pl sk'], - ['ru uk pl sk bm'], - ['ru uk sh bm'], - ['ru uk yu bg'], - ['ru uk yu~ bg'], - ['ru uk z'], - ['ru uk z j'], - ['ru uk z sh'], - ['ru uk z sl'], - ['ru uk z yu'], - ['ru uk z yu mk'], - ['ru uk z~ j~'], - ['ru uk~ pl~ j'], ['ru yu'], - ['ru yu mk'], - ['ru z'], - ['ru z bg'], - ['ru z bm'], - ['ru z j'], - ['ru z sl'], - ['ru z yu'], - ['ru z yu bg'], - ['ru z yu mk'], + ['ru# yu* mk~'], ['rue cs yu'], - ['rue cs yu mk'], - ['rue z yu mk (ub)'], - ['ru~ be~ uk hsb sh bm'], - ['ru~ be~ uk z sh~'], - ['ru~ cs yu'], - ['ru~ j'], - ['ru~ sh'], - ['ru~ ub pl sk j~'], - ['ru~ ub pl sk~'], - ['ru~ ub z j'], - ['ru~ ub z yu bg~'], - ['ru~ uk pl bg~'], - ['ru~ uk pl cs~ sl sh~'], - ['ru~ z bg~'], - ['sb'], - ['sb cs sh bm'], - ['sh'], - ['sh (ub pl)'], - ['sh bg'], - ['sh bm'], - ['sh mk'], - ['sk'], - ['sk bg'], - ['sk j'], - ['sk sl'], - ['sk yu'], - ['sk yu mk'], - ['sl'], - ['sl bg'], - ['sl bm'], - ['sl rue'], - ['sl sh mk'], - ['sl sk~ uk~'], - ['sx'], - ['ub'], - ['ub bg'], - ['ub cs'], - ['ub cs yu'], - ['ub cs yu mk'], - ['ub hsb'], - ['ub j'], - ['ub pl'], - ['ub pl bg (sh)'], - ['ub pl bm'], - ['ub pl cs'], - ['ub pl cs~'], - ['ub pl cs~ yu '], - ['ub pl cs~ yu~'], - ['ub pl cz'], - ['ub pl hsb'], - ['ub pl hsb yu'], - ['ub pl j'], - ['ub pl mk~'], - ['ub pl sb cz'], - ['ub pl sb sl'], - ['ub pl sh'], - ['ub pl sh mk'], - ['ub pl sk'], - ['ub pl sk bg'], - ['ub pl sk j'], - ['ub pl sk sh'], - ['ub pl sk sh mk'], - ['ub pl sk sl'], - ['ub pl sk yu'], - ['ub pl sk yu bg'], - ['ub pl sl hr'], - ['ub pl yu'], - ['ub pl yu mk'], - ['ub pl yu~'], - ['ub pl~ cs sl~'], - ['ub pl~ j'], - ['ub sh'], - ['ub sh bm'], - ['ub sk bm'], - ['ub yu'], - ['ub yu mk'], - ['ub z'], - ['ub z bg'], - ['ub z j'], - ['ub z mk'], - ['ub z sh'], - ['ub z sh bm'], - ['ub z sh mk'], - ['ub z sh~'], - ['ub z sl'], - ['ub z sl bg'], - ['ub z sl sh~ mk~'], - ['ub z yu'], - ['ub z yu mk'], - ['ub z yu~ mk~'], - ['ub z~ sh bm'], ['ub~ z j'], - ['uk'], - ['uk cs'], - ['uk cs j'], - ['uk cs sh bm'], - ['uk cs yu mk'], - ['uk cz j'], - ['uk cz sh'], - ['uk j'], - ['uk pl'], - ['uk pl cs~'], - ['uk pl hr bg'], - ['uk pl sb sk sh'], - ['uk pl sh'], - ['uk pl sh mk'], - ['uk pl sk bg'], - ['uk pl sk sh'], - ['uk pl sk yu mk'], - ['uk pl sl bg'], - ['uk pl yu'], - ['uk pl yu mk'], - ['uk rue pl cz'], - ['uk sb'], - ['uk sh'], - ['uk sh bg'], - ['uk sh bm'], - ['uk sh mk'], - ['uk sk'], - ['uk sk sh bm'], - ['uk sk sh mk'], - ['uk sl'], - ['uk yu mk'], - ['uk z'], ['uk z bg'], - ['uk z j'], - ['uk z sh bm'], - ['uk z sh mk'], - ['uk z sl'], - ['uk z yu'], - ['uk z yu mk'], - ['uk~ pl'], - ['uk~ pl cs sb'], - ['uk~ z'], - ['uk~ z sh'], - ['v'], - ['v bg'], - ['v bg sb'], - ['v bm'], - ['v bm sh~'], - ['v cs'], - ['v cs bg'], - ['v cs bm'], - ['v cs j'], - ['v cs mk'], - ['v cs sh bg'], - ['v cs sh bm'], - ['v cs sh~'], - ['v cs sl'], - ['v cs sl bg'], - ['v cs sl bm'], - ['v cs sl mk'], - ['v cs yu'], - ['v cs yu bg'], - ['v cs yu bm'], - ['v cs yu mk'], ['v csb hsb cs'], - ['v cs~'], - ['v cs~ sh~ bm~'], - ['v cs~ sl bg'], - ['v cs~ sl sh~ bm'], - ['v cs~ sl~ bg'], - ['v cs~ yu~'], - ['v cz'], - ['v cz bg'], - ['v cz j'], - ['v cz sh'], - ['v cz sh bm'], - ['v cz sh bm pl~'], - ['v cz sh mk'], - ['v cz sl'], - ['v dsb'], - ['v hr'], - ['v j'], - ['v j cu'], - ['v j~'], - ['v mk'], - ['v mk~ bg'], - ['v pl'], - ['v pl (cs)'], - ['v pl (sh)'], - ['v pl ? bg'], - ['v pl bg'], - ['v pl bg cs~'], - ['v pl bm'], - ['v pl bm~'], - ['v pl cs'], ['v pl csb'], - ['v pl cs~'], - ['v pl cs~ bg'], - ['v pl cs~ j~'], - ['v pl cs~ yu~ bg'], - ['v pl cz'], - ['v pl cz sh bg'], - ['v pl cz sh bm'], - ['v pl cz sl~'], - ['v pl cz yu mk'], - ['v pl cz~ sl~'], - ['v pl j'], - ['v pl mk'], - ['v pl sb'], - ['v pl sb bm'], - ['v pl sh'], - ['v pl sh bg'], - ['v pl sh bm'], - ['v pl sh mk'], - ['v pl sh~ mk~'], - ['v pl sk'], - ['v pl sk bg'], - ['v pl sk bm'], - ['v pl sk j'], - ['v pl sk sh'], - ['v pl sk sh bm'], - ['v pl sk sl'], - ['v pl sk yu'], - ['v pl sk yu bm'], - ['v pl sk yu mk'], ['v pl sk~'], - ['v pl sl'], - ['v pl sl bg'], - ['v pl sl bm'], - ['v pl sl~'], - ['v pl sl~ bg'], - ['v pl yu'], - ['v pl yu bg'], - ['v pl yu bm'], - ['v pl yu mk'], - ['v pl yu~ mk~'], - ['v pl~'], - ['v pl~ bg'], - ['v pl~ bm'], - ['v pl~ cs sh bm'], - ['v pl~ cs sh~'], - ['v pl~ j~'], - ['v pl~ sh mk'], - ['v pl~ sh~ bg'], - ['v pl~ sk j'], - ['v pl~ yu~'], - ['v sh'], - ['v sh bg'], - ['v sh bm'], - ['v sh mk'], - ['v sk'], - ['v sk bg'], - ['v sk bm'], - ['v sk j'], ['v sk j~'], - ['v sk sh bm'], - ['v sk~ sh~ bg~'], - ['v sl'], - ['v sl bg'], - ['v yu bm~'], - ['v yu mk'], - ['v yu~ mk~ bg'], - ['v z'], - ['v z bg'], - ['v z bm'], - ['v z j'], - ['v z j~'], - ['v z mk'], - ['v z sh'], - ['v z sh bg'], - ['v z sh bm'], - ['v z sh mk'], - ['v z sl'], - ['v z sl bg'], - ['v z sl bm'], - ['v z sl mk'], - ['v z sl~ sh bg'], - ['v z yu'], - ['v z yu bg'], - ['v z yu bm'], - ['v z yu mk'], - ['v z yu mk~'], ['v z yu~'], - ['v z~'], - ['v z~ j'], - ['v z~ j~'], - ['v z~ sh~'], - ['v~ '], - ['v~ bg'], - ['v~ cs'], - ['v~ cs yu bm~'], - ['v~ pl j'], - ['v~ pl~ yu mk'], - ['v~ sh bm'], - ['v~ z j'], - ['v~ z j~'], - ['v~ z sl'], - ['v~ z~'], - ['v~ z~ sh mk'], - ['v~ z~ yu mk~'], - ['yu'], - ['yu bg'], - ['yu cu'], - ['yu mk'], - ['yu mk uk~ z~'], - ['yu mk~'], ['z'], - ['z bg'], - ['z cs j'], - ['z j'], - ['z j rue'], - ['z j~'], - ['z sh'], - ['z sh bm'], - ['z sh mk'], - ['z sh mk bg~'], - ['z sl'], - ['z sl bg'], - ['z sl bg~'], - ['z sl mk'], - ['z sl sh~ bg~'], - ['z ub'], - ['z yu'], - ['z yu bm'], - ['z yu mk'], ['z~ sh~'], - ])('should parse correctly %j', (encoded) => { - expect(parseSameInLanguages(encoded)).toMatchSnapshot(); + ])('should parse correctly in legacy mode: %j', (encoded) => { + const report = parseSameInLanguages(encoded, true); + expect(report.toString()).toMatchSnapshot(); + const secondary = parseSameInLanguages(report.toString(), false); + expect(secondary).toEqual(report); + }); + + it.each([ + [''], + ['!be+ cs# !ru+ uk+ pl*'], + ['!v+ z#'], + ['!bg+ cz~ mk+'], + ['sh* sl+'], + ])('should parse correctly in new mode: %j', (encoded) => { + const report = parseSameInLanguages(encoded); + expect(report.toString()).toMatchSnapshot(); }); }); diff --git a/src/parse/sameInLanguages.ts b/src/parse/sameInLanguages.ts index d5f3718..3aa6e7b 100644 --- a/src/parse/sameInLanguages.ts +++ b/src/parse/sameInLanguages.ts @@ -1,124 +1,119 @@ import { - CrudeIntelligibilityLevelDescription, - CrudeIntelligibilityReport, + IntelligibilityLevel, SlavicLanguage, + SlavicRegionalTag, } from '../types'; +import { IntelligibilityReport } from '../core/IntelligibilityReport'; -const BEFORE_PARENTHESES = /^([^(]+)/; -const OPEN_PARENTHESES = /\(([^)]+)\)/; +const TOKEN_REGEXP = /(!)?(!?[a-z]+)([+*?~#-])?/; export default function parseSameInLanguages( encoded: string, -): CrudeIntelligibilityReport { - const [, beforeParentheses] = BEFORE_PARENTHESES.exec(encoded) || []; - const [, parenthesizedPart] = OPEN_PARENTHESES.exec(encoded) || []; + legacy = false, +): IntelligibilityReport { + const str = legacy ? cutBeforeParentheses(encoded) : encoded; + return parseIntellgibilityFragment(str.trim(), legacy); +} + +function cutBeforeParentheses(str: string): string { + const leftBracketPos = str.indexOf('('); + const beforeParentheses = + leftBracketPos >= 0 ? str.slice(0, leftBracketPos) : str; - return { - ...parseIntellgibilityFragment(beforeParentheses), - ...parseIntellgibilityFragment(parenthesizedPart, 'Other1'), - }; + return beforeParentheses; } function parseIntellgibilityFragment( encoded: string, - override?: CrudeIntelligibilityLevelDescription, -): CrudeIntelligibilityReport { - const result = {}; + legacy: boolean, +): IntelligibilityReport { + const result = new IntelligibilityReport(); if (!encoded) { return result; } const tokens = encoded.split(/\s+/); for (const token of tokens) { - const stripped = token.replace(/[^a-z]/g, ''); - const symbols = token.replace(/[a-z]/g, ''); - - const report = override - ? expandRegionalTag(stripped, override) - : expandRegionalToken(stripped, symbols); - - Object.assign(result, report); + const match = TOKEN_REGEXP.exec(token); + if (!match) { + continue; + } + + const [, auto, rtag, level] = match; + for (const lang of expandRegionalTag(rtag as SlavicRegionalTag, legacy)) { + result[lang].level = + legacy && !level ? IntelligibilityLevel.DirectMatch : parseLevel(level); + result[lang].autogenerated = legacy || auto === '!'; + } } return result; } -function expandRegionalToken( - tag: string, - encodedIntelligibility: string, -): CrudeIntelligibilityReport { +function parseLevel(encodedIntelligibility: string): IntelligibilityLevel { switch (encodedIntelligibility) { + case '+': + return IntelligibilityLevel.DirectMatch; + case '*': + return IntelligibilityLevel.HelperMatch; + case '?': + return IntelligibilityLevel.AmbiguousDirectMatch; case '~': - return expandRegionalTag(tag, 'Incomplete'); + return IntelligibilityLevel.AmbiguousHelperMatch; case '#': - return expandRegionalTag(tag, 'Disputed'); - case '': - return expandRegionalTag(tag, 'Full'); + return IntelligibilityLevel.FalseFriend; + case '-': + return IntelligibilityLevel.NoMatch; default: - return expandRegionalTag(tag, 'Unknown'); + return IntelligibilityLevel.Unknown; } } function expandRegionalTag( - tag: string, - intelligibility: CrudeIntelligibilityLevelDescription, -): CrudeIntelligibilityReport { + tag: SlavicRegionalTag, + legacy: boolean, +): SlavicLanguage[] { const L = SlavicLanguage; switch (tag) { case 'v': // Eastern Slavic langauges - return reportFragment( - intelligibility, - L.Russian, - L.Belarusian, - L.Ukrainian, - L.Rusyn, - L.ChurchSlavonic, - ); + return [L.Russian, L.Belarusian, L.Ukrainian]; case 'ru': - return reportFragment(intelligibility, L.Russian); + return [L.Russian]; case 'be': - return reportFragment(intelligibility, L.Belarusian); + return [L.Belarusian]; case 'uk': - return reportFragment(intelligibility, L.Ukrainian); + return [L.Ukrainian]; case 'rue': - return reportFragment(intelligibility, L.Rusyn); + return [L.Rusyn]; case 'cu': - return reportFragment(intelligibility, L.ChurchSlavonic); + return [L.ChurchSlavonic]; case 'ub': - return reportFragment(intelligibility, L.Ukrainian, L.Belarusian); + return [L.Ukrainian, L.Belarusian]; case 'z': // Western Slavic languages - return reportFragment( - intelligibility, - L.Polish, - L.Slovak, - L.Czech, - L.Kashubian, - L.Silesian, - L.UpperSorbian, - L.LowerSorbian, - ); + return [L.Polish, L.Slovak, L.Czech]; case 'pl': - return reportFragment(intelligibility, L.Polish); + return [L.Polish]; case 'sk': - return reportFragment(intelligibility, L.Slovak); + return [L.Slovak]; case 'cz': - return reportFragment(intelligibility, L.Czech); + return [L.Czech]; case 'cs': - return reportFragment(intelligibility, L.Czech, L.Slovak); + return legacy ? [L.Czech, L.Slovak] : [L.Czech]; case 'csb': - return reportFragment(intelligibility, L.Kashubian); + return [L.Kashubian]; + case 'szl': + return [L.Silesian]; case 'dsb': - return reportFragment(intelligibility, L.LowerSorbian); + return [L.LowerSorbian]; case 'hsb': - return reportFragment(intelligibility, L.UpperSorbian); + return [L.UpperSorbian]; case 'sb': - return reportFragment(intelligibility, L.LowerSorbian, L.UpperSorbian); + return [L.LowerSorbian, L.UpperSorbian]; case 'j': // Southern Slavic Languages - return reportFragment( - intelligibility, + return [ L.Bulgarian, L.Macedonian, L.Bosnian, @@ -126,75 +121,28 @@ function expandRegionalTag( L.Montenegrin, L.Serbian, L.Slovenian, - ); + ]; case 'bg': - return reportFragment(intelligibility, L.Bulgarian); + return [L.Bulgarian]; case 'mk': - return reportFragment(intelligibility, L.Macedonian); - case 'sr': - return reportFragment(intelligibility, L.Serbian); + return [L.Macedonian]; + case 'bs': + return [L.Bosnian]; case 'hr': - return reportFragment(intelligibility, L.Croatian); + return [L.Croatian]; + case 'cnr': + return [L.Montenegrin]; + case 'sr': + return [L.Serbian]; case 'sl': - return reportFragment(intelligibility, L.Slovenian); + return [L.Slovenian]; case 'bm': - return reportFragment(intelligibility, L.Bulgarian, L.Macedonian); + return [L.Bulgarian, L.Macedonian]; case 'yu': - return reportFragment( - intelligibility, - L.Slovenian, - L.Croatian, - L.Serbian, - L.Bosnian, - L.Montenegrin, - ); + return [L.Slovenian, L.Croatian, L.Serbian, L.Bosnian, L.Montenegrin]; case 'sh': - return reportFragment( - intelligibility, - L.Serbian, - L.Croatian, - L.Bosnian, - L.Montenegrin, - ); - - case 'ps': // Praslovjansky - return reportFragment( - intelligibility, - L.Polish, - L.Slovak, - L.Czech, - L.Kashubian, - L.Silesian, - L.UpperSorbian, - L.LowerSorbian, - L.Bulgarian, - L.Macedonian, - L.Bosnian, - L.Croatian, - L.Serbian, - L.Slovenian, - L.Russian, - L.Belarusian, - L.Ukrainian, - L.Rusyn, - L.ChurchSlavonic, - ); + return [L.Serbian, L.Croatian, L.Bosnian, L.Montenegrin]; default: - // Slovio, Novoslovienskij, Slovioski, ... - // 'sx', 'n', 'ns', 'i', 'ij', 'in', 'iw', 'iz', 'jc', 'jn', 're' - return reportFragment(intelligibility); + return []; } } - -function reportFragment( - value: CrudeIntelligibilityLevelDescription, - ...langs: SlavicLanguage[] -): CrudeIntelligibilityReport { - const result: CrudeIntelligibilityReport = {}; - - for (const lang of langs) { - result[lang] = value; - } - - return result; -} diff --git a/src/types/intelligibility.ts b/src/types/intelligibility.ts index ff019ce..851f9bf 100644 --- a/src/types/intelligibility.ts +++ b/src/types/intelligibility.ts @@ -27,6 +27,8 @@ export type SlavicRegionalTag = | 'be' | 'bg' | 'bm' + | 'bs' + | 'cnr' | 'cs' | 'csb' | 'cu' @@ -48,6 +50,7 @@ export type SlavicRegionalTag = | 'sk' | 'sl' | 'sr' + | 'szl' | 'ub' | 'uk' | 'yu' @@ -84,17 +87,14 @@ export enum Genesis { Turkic = 'T', } -export enum CrudeIntelligibilityLevel { - Full = 1, - Incomplete = 0.5, - Disputed = 0.5, - Other1 = 0.5, - Unknown = 0.1, +export enum IntelligibilityLevel { + DirectMatch = '+', + HelperMatch = '*', + AmbiguousDirectMatch = '?', + AmbiguousHelperMatch = '~', + FalseFriend = '#', + NoMatch = '-', + Unknown = '', } -export type CrudeIntelligibilityLevelDescription = - keyof typeof CrudeIntelligibilityLevel; - -export type CrudeIntelligibilityReport = Partial< - Record ->; +export type IntelligibilityLevelDescription = keyof typeof IntelligibilityLevel;