@ethnolib/language-chooser-react-mui 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -258,7 +258,7 @@ That means you use raw catalog or your catalog doesn't have a translation for th
258
258
  ICU features such as interpolation and plurals will not work properly for that message.
259
259
 
260
260
  Please compile your catalog first.
261
- `)),Ze(d)&&$c.test(d)?JSON.parse(`"${d}"`):Ze(d)?d:jI(d,this._locale,this._locales)(i,s==null?void 0:s.formats)}date(t,i){return Kl(this._locales||this._locale,t,i)}number(t,i){return ll(this._locales||this._locale,t,i)}}function HI(n={}){return new RI(n)}const It=HI(),cL=["ar","az","bn","de","en","es","fa","fr","hi","hu","id","km","ko","ms","my","ne","pt","ru","rw","sw","ta","te","th","tp","tr","ur","vi","zh"];async function OI(n){let t=XI(n);try{const{messages:i}=await mI(Object.assign({"../../../../locales/ar/messages.ts":()=>Promise.resolve().then(()=>require("./messages-AmEVAyNh.js")),"../../../../locales/az/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DebqKxHl.js")),"../../../../locales/bn/messages.ts":()=>Promise.resolve().then(()=>require("./messages-kwWBrKz5.js")),"../../../../locales/de/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DG2Rn3jd.js")),"../../../../locales/en/messages.ts":()=>Promise.resolve().then(()=>require("./messages-C62ehiUp.js")),"../../../../locales/es/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DRGnsybx.js")),"../../../../locales/fa/messages.ts":()=>Promise.resolve().then(()=>require("./messages-CmutKj3u.js")),"../../../../locales/fr/messages.ts":()=>Promise.resolve().then(()=>require("./messages-BPdITIAK.js")),"../../../../locales/hi/messages.ts":()=>Promise.resolve().then(()=>require("./messages-RDMCkdN0.js")),"../../../../locales/hu/messages.ts":()=>Promise.resolve().then(()=>require("./messages-mm8UP9ko.js")),"../../../../locales/id/messages.ts":()=>Promise.resolve().then(()=>require("./messages-Bo3Zsw4E.js")),"../../../../locales/km/messages.ts":()=>Promise.resolve().then(()=>require("./messages-BXtohvbP.js")),"../../../../locales/ko/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DW8V1cEu.js")),"../../../../locales/ms/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DlKaXWvk.js")),"../../../../locales/my/messages.ts":()=>Promise.resolve().then(()=>require("./messages-Zoyja6_9.js")),"../../../../locales/ne/messages.ts":()=>Promise.resolve().then(()=>require("./messages-CFYGm7qO.js")),"../../../../locales/pt/messages.ts":()=>Promise.resolve().then(()=>require("./messages-bFYEzHSM.js")),"../../../../locales/ru/messages.ts":()=>Promise.resolve().then(()=>require("./messages-RgoP-jHJ.js")),"../../../../locales/rw/messages.ts":()=>Promise.resolve().then(()=>require("./messages-ZWj-BTEt.js")),"../../../../locales/sw/messages.ts":()=>Promise.resolve().then(()=>require("./messages-gMAM-s8a.js")),"../../../../locales/ta/messages.ts":()=>Promise.resolve().then(()=>require("./messages-PhICpnC4.js")),"../../../../locales/te/messages.ts":()=>Promise.resolve().then(()=>require("./messages-h8j7FWBD.js")),"../../../../locales/th/messages.ts":()=>Promise.resolve().then(()=>require("./messages-WIoVuH07.js")),"../../../../locales/tp/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DLzDbP12.js")),"../../../../locales/tr/messages.ts":()=>Promise.resolve().then(()=>require("./messages-BUDgQGFa.js")),"../../../../locales/ur/messages.ts":()=>Promise.resolve().then(()=>require("./messages-Dqui_cPN.js")),"../../../../locales/vi/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DwJcyRm0.js")),"../../../../locales/zh/messages.ts":()=>Promise.resolve().then(()=>require("./messages-B73rOlLK.js"))}),`../../../../locales/${t}/messages.ts`,7);if(!i)throw new Error(`No messages found for locale "${t}"`);It.load(t,i),It.activate(t)}catch(i){if(console.error(`Failed to load messages for locale "${t}":`,i),t!=="en"){t="en",console.log("Falling back to English locale");try{const{messages:s}=await Promise.resolve().then(()=>require("./messages-C62ehiUp.js"));s&&(It.load("en",s),It.activate("en"))}catch(s){console.error("Failed to load English messages:",s)}}}return It}function XI(n){if(cL.includes(n))return n;const t=n.split("-")[0];return cL.includes(t)?(console.log(`Using base locale "${t}" for region-specific locale "${n}"`),t):(console.log(`Locale "${n}" not available; falling back to English`),"en")}const YI=({locale:n,children:t})=>{const[i,s]=ha.useState(!1),o=n||WI();return ha.useEffect(()=>{(async()=>{await OI(o),s(!0)})()},[o]),i?Tn.jsx(qv,{i18n:It,children:t}):null};function WI(){var t;return typeof window>"u"?"en":((t=navigator.languages)==null?void 0:t[0])||navigator.language||navigator.userLanguage||navigator.browserLanguage||"en"}const FI={h1:{fontSize:"1.25rem",fontWeight:600,lineHeight:1.6,letterSpacing:"0.0075em"},h2:{fontSize:"1rem",fontWeight:400,lineHeight:1.5,letterSpacing:"0.00938em"},subtitle1:{fontSize:"0.75rem",lineHeight:1.167,letterSpacing:"0.001em"},body2:{fontFamily:"Roboto Mono, monospace",fontSize:"0.875rem",letterSpacing:"0.05rem"}},Eo="90px",VI=n=>H(YI,{locale:n.uiLanguage,children:H(ny,{...n})}),ny=n=>{var Ia,Ga;const{i18n:t,_:i}=cl(),s=z3(n.onSelectionChange,n.searchResultModifier),[o,r]=ha.useState(!1);ha.useEffect(()=>{p&&(p.value=n.initialSearchString||"",p.focus()),n.initialSearchString&&r(!0),setTimeout(()=>{s.resetTo(n.initialSearchString||"",n.initialSelectionLanguageTag,n.initialCustomDisplayName),r(!1)},0)},[]);const[m,L]=ha.useState(!1),[d,h]=ha.useState(!n.initialSearchString);ha.useEffect(()=>{d&&(s.searchString||m)&&h(!1)},[s.searchString,m]);const[T,x]=ha.useState(!!n.initialSelectionLanguageTag),v=ha.useRef(null);ha.useEffect(()=>{var W;T&&n.initialSelectionLanguageTag&&v.current&&((W=v.current)==null||W.scrollIntoView({block:"center"}),x(!1))},[v.current,T,n.initialSelectionLanguageTag]);const w=ha.useRef(null);ha.useEffect(()=>{var W;(W=w.current)==null||W.scrollTo(0,0)},[s.languageResults]);const M=ng({language:s.selectedLanguage,script:s.selectedScript,customDetails:s.selectedLanguage?s.customizableLanguageDetails:{dialect:s.searchString}});let p=null;const G=()=>{p&&(p.value=""),s.onSearchStringChange(""),p==null||p.focus()},K=ta.useTheme(),O=ta.createTheme({...K,typography:FI});function E(W){var k;te(W.iso639_3_code,(k=s.selectedLanguage)==null?void 0:k.iso639_3_code)?s.clearLanguageSelection():s.selectLanguage(W)}function X(W){var k;te(W.code,(k=s.selectedScript)==null?void 0:k.code)?s.clearScriptSelection():s.selectScript(W)}const S=!s.selectedLanguage||xi(s.selectedLanguage),V=ag(s.selectedLanguage);function q(W,k){const A=window.prompt(t._({id:"jROyBC"}),W);if(!(A===null||k&&A.length===0)){if(A&&!Dc(A)){alert(t._({id:"s/2hiv",values:{customTag:A}}));return}G(),L(!1),A.length>0&&s.selectManuallyEnteredTagLanguage(A)}}return ha.useEffect(()=>{v.current&&s.selectedLanguage&&v.current.scrollIntoView({behavior:"smooth",block:"start"})},[s.selectedLanguage]),H(Q.ThemeProvider,{theme:O,children:Ha(ta.ScopedCssBaseline,{css:Q.css`
261
+ `)),Ze(d)&&$c.test(d)?JSON.parse(`"${d}"`):Ze(d)?d:jI(d,this._locale,this._locales)(i,s==null?void 0:s.formats)}date(t,i){return Kl(this._locales||this._locale,t,i)}number(t,i){return ll(this._locales||this._locale,t,i)}}function HI(n={}){return new RI(n)}const It=HI(),cL=["ar","az","bn","de","en","es","fa","fr","hi","hu","id","km","ko","ms","my","ne","pt","ru","rw","sw","ta","te","th","tp","tr","ur","vi","zh"];async function OI(n){let t=XI(n);try{const{messages:i}=await mI(Object.assign({"../../../../locales/ar/messages.ts":()=>Promise.resolve().then(()=>require("./messages-AmEVAyNh.js")),"../../../../locales/az/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DebqKxHl.js")),"../../../../locales/bn/messages.ts":()=>Promise.resolve().then(()=>require("./messages-kwWBrKz5.js")),"../../../../locales/de/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DG2Rn3jd.js")),"../../../../locales/en/messages.ts":()=>Promise.resolve().then(()=>require("./messages-C62ehiUp.js")),"../../../../locales/es/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DMCygWWV.js")),"../../../../locales/fa/messages.ts":()=>Promise.resolve().then(()=>require("./messages-CmutKj3u.js")),"../../../../locales/fr/messages.ts":()=>Promise.resolve().then(()=>require("./messages-BPdITIAK.js")),"../../../../locales/hi/messages.ts":()=>Promise.resolve().then(()=>require("./messages-RDMCkdN0.js")),"../../../../locales/hu/messages.ts":()=>Promise.resolve().then(()=>require("./messages-mm8UP9ko.js")),"../../../../locales/id/messages.ts":()=>Promise.resolve().then(()=>require("./messages-Bo3Zsw4E.js")),"../../../../locales/km/messages.ts":()=>Promise.resolve().then(()=>require("./messages-BXtohvbP.js")),"../../../../locales/ko/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DW8V1cEu.js")),"../../../../locales/ms/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DlKaXWvk.js")),"../../../../locales/my/messages.ts":()=>Promise.resolve().then(()=>require("./messages-Zoyja6_9.js")),"../../../../locales/ne/messages.ts":()=>Promise.resolve().then(()=>require("./messages-CFYGm7qO.js")),"../../../../locales/pt/messages.ts":()=>Promise.resolve().then(()=>require("./messages-Lu_YEQ6w.js")),"../../../../locales/ru/messages.ts":()=>Promise.resolve().then(()=>require("./messages-RgoP-jHJ.js")),"../../../../locales/rw/messages.ts":()=>Promise.resolve().then(()=>require("./messages-ZWj-BTEt.js")),"../../../../locales/sw/messages.ts":()=>Promise.resolve().then(()=>require("./messages-gMAM-s8a.js")),"../../../../locales/ta/messages.ts":()=>Promise.resolve().then(()=>require("./messages-PhICpnC4.js")),"../../../../locales/te/messages.ts":()=>Promise.resolve().then(()=>require("./messages-h8j7FWBD.js")),"../../../../locales/th/messages.ts":()=>Promise.resolve().then(()=>require("./messages-WIoVuH07.js")),"../../../../locales/tp/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DLzDbP12.js")),"../../../../locales/tr/messages.ts":()=>Promise.resolve().then(()=>require("./messages-BUDgQGFa.js")),"../../../../locales/ur/messages.ts":()=>Promise.resolve().then(()=>require("./messages-Dqui_cPN.js")),"../../../../locales/vi/messages.ts":()=>Promise.resolve().then(()=>require("./messages-DwJcyRm0.js")),"../../../../locales/zh/messages.ts":()=>Promise.resolve().then(()=>require("./messages-B73rOlLK.js"))}),`../../../../locales/${t}/messages.ts`,7);if(!i)throw new Error(`No messages found for locale "${t}"`);It.load(t,i),It.activate(t)}catch(i){if(console.error(`Failed to load messages for locale "${t}":`,i),t!=="en"){t="en",console.log("Falling back to English locale");try{const{messages:s}=await Promise.resolve().then(()=>require("./messages-C62ehiUp.js"));s&&(It.load("en",s),It.activate("en"))}catch(s){console.error("Failed to load English messages:",s)}}}return It}function XI(n){if(cL.includes(n))return n;const t=n.split("-")[0];return cL.includes(t)?(console.log(`Using base locale "${t}" for region-specific locale "${n}"`),t):(console.log(`Locale "${n}" not available; falling back to English`),"en")}const YI=({locale:n,children:t})=>{const[i,s]=ha.useState(!1),o=n||WI();return ha.useEffect(()=>{(async()=>{await OI(o),s(!0)})()},[o]),i?Tn.jsx(qv,{i18n:It,children:t}):null};function WI(){var t;return typeof window>"u"?"en":((t=navigator.languages)==null?void 0:t[0])||navigator.language||navigator.userLanguage||navigator.browserLanguage||"en"}const FI={h1:{fontSize:"1.25rem",fontWeight:600,lineHeight:1.6,letterSpacing:"0.0075em"},h2:{fontSize:"1rem",fontWeight:400,lineHeight:1.5,letterSpacing:"0.00938em"},subtitle1:{fontSize:"0.75rem",lineHeight:1.167,letterSpacing:"0.001em"},body2:{fontFamily:"Roboto Mono, monospace",fontSize:"0.875rem",letterSpacing:"0.05rem"}},Eo="90px",VI=n=>H(YI,{locale:n.uiLanguage,children:H(ny,{...n})}),ny=n=>{var Ia,Ga;const{i18n:t,_:i}=cl(),s=z3(n.onSelectionChange,n.searchResultModifier),[o,r]=ha.useState(!1);ha.useEffect(()=>{p&&(p.value=n.initialSearchString||"",p.focus()),n.initialSearchString&&r(!0),setTimeout(()=>{s.resetTo(n.initialSearchString||"",n.initialSelectionLanguageTag,n.initialCustomDisplayName),r(!1)},0)},[]);const[m,L]=ha.useState(!1),[d,h]=ha.useState(!n.initialSearchString);ha.useEffect(()=>{d&&(s.searchString||m)&&h(!1)},[s.searchString,m]);const[T,x]=ha.useState(!!n.initialSelectionLanguageTag),v=ha.useRef(null);ha.useEffect(()=>{var W;T&&n.initialSelectionLanguageTag&&v.current&&((W=v.current)==null||W.scrollIntoView({block:"center"}),x(!1))},[v.current,T,n.initialSelectionLanguageTag]);const w=ha.useRef(null);ha.useEffect(()=>{var W;(W=w.current)==null||W.scrollTo(0,0)},[s.languageResults]);const M=ng({language:s.selectedLanguage,script:s.selectedScript,customDetails:s.selectedLanguage?s.customizableLanguageDetails:{dialect:s.searchString}});let p=null;const G=()=>{p&&(p.value=""),s.onSearchStringChange(""),p==null||p.focus()},K=ta.useTheme(),O=ta.createTheme({...K,typography:FI});function E(W){var k;te(W.iso639_3_code,(k=s.selectedLanguage)==null?void 0:k.iso639_3_code)?s.clearLanguageSelection():s.selectLanguage(W)}function X(W){var k;te(W.code,(k=s.selectedScript)==null?void 0:k.code)?s.clearScriptSelection():s.selectScript(W)}const S=!s.selectedLanguage||xi(s.selectedLanguage),V=ag(s.selectedLanguage);function q(W,k){const A=window.prompt(t._({id:"jROyBC"}),W);if(!(A===null||k&&A.length===0)){if(A&&!Dc(A)){alert(t._({id:"s/2hiv",values:{customTag:A}}));return}G(),L(!1),A.length>0&&s.selectManuallyEnteredTagLanguage(A)}}return ha.useEffect(()=>{v.current&&s.selectedLanguage&&v.current.scrollIntoView({behavior:"smooth",block:"start"})},[s.selectedLanguage]),H(Q.ThemeProvider,{theme:O,children:Ha(ta.ScopedCssBaseline,{css:Q.css`
262
262
  height: 100%;
263
263
  `,children:[Ha("div",{id:"lang-chooser-body",css:Q.css`
264
264
  flex-grow: 1;
package/index.mjs CHANGED
@@ -316634,7 +316634,7 @@ const Ct = IM(), kL = [
316634
316634
  async function MM(n) {
316635
316635
  let t = CM(n);
316636
316636
  try {
316637
- const { messages: i } = await YI(/* @__PURE__ */ Object.assign({ "../../../../locales/ar/messages.ts": () => import("./messages-DoWwE48_.mjs"), "../../../../locales/az/messages.ts": () => import("./messages-CjZJxOpG.mjs"), "../../../../locales/bn/messages.ts": () => import("./messages-rvw6IvQz.mjs"), "../../../../locales/de/messages.ts": () => import("./messages-DAf9Sqdz.mjs"), "../../../../locales/en/messages.ts": () => import("./messages-CGMdZ8nc.mjs"), "../../../../locales/es/messages.ts": () => import("./messages-PNmhVZS7.mjs"), "../../../../locales/fa/messages.ts": () => import("./messages-CpCfp0Xv.mjs"), "../../../../locales/fr/messages.ts": () => import("./messages-bT2Qnkqv.mjs"), "../../../../locales/hi/messages.ts": () => import("./messages-BU5Wb01i.mjs"), "../../../../locales/hu/messages.ts": () => import("./messages-YMIBlpEy.mjs"), "../../../../locales/id/messages.ts": () => import("./messages-BitVHANY.mjs"), "../../../../locales/km/messages.ts": () => import("./messages-BD8Z6Mlt.mjs"), "../../../../locales/ko/messages.ts": () => import("./messages-Tua_7bbR.mjs"), "../../../../locales/ms/messages.ts": () => import("./messages-gSaOZpeD.mjs"), "../../../../locales/my/messages.ts": () => import("./messages-CIKRe5jz.mjs"), "../../../../locales/ne/messages.ts": () => import("./messages-Cc3Jbklc.mjs"), "../../../../locales/pt/messages.ts": () => import("./messages-Cuh_ZKuC.mjs"), "../../../../locales/ru/messages.ts": () => import("./messages-BlRnfq58.mjs"), "../../../../locales/rw/messages.ts": () => import("./messages-DnlPM5eM.mjs"), "../../../../locales/sw/messages.ts": () => import("./messages-Os_jtpSd.mjs"), "../../../../locales/ta/messages.ts": () => import("./messages-DsypxWOZ.mjs"), "../../../../locales/te/messages.ts": () => import("./messages-Bp5detoB.mjs"), "../../../../locales/th/messages.ts": () => import("./messages-9rpjSkdN.mjs"), "../../../../locales/tp/messages.ts": () => import("./messages-BY65rqxJ.mjs"), "../../../../locales/tr/messages.ts": () => import("./messages-MD3mVVdM.mjs"), "../../../../locales/ur/messages.ts": () => import("./messages-Cq0UCLEp.mjs"), "../../../../locales/vi/messages.ts": () => import("./messages-Coan-YWw.mjs"), "../../../../locales/zh/messages.ts": () => import("./messages-LfRNKjfE.mjs") }), `../../../../locales/${t}/messages.ts`, 7);
316637
+ const { messages: i } = await YI(/* @__PURE__ */ Object.assign({ "../../../../locales/ar/messages.ts": () => import("./messages-DoWwE48_.mjs"), "../../../../locales/az/messages.ts": () => import("./messages-CjZJxOpG.mjs"), "../../../../locales/bn/messages.ts": () => import("./messages-rvw6IvQz.mjs"), "../../../../locales/de/messages.ts": () => import("./messages-DAf9Sqdz.mjs"), "../../../../locales/en/messages.ts": () => import("./messages-CGMdZ8nc.mjs"), "../../../../locales/es/messages.ts": () => import("./messages-Be5Wctbm.mjs"), "../../../../locales/fa/messages.ts": () => import("./messages-CpCfp0Xv.mjs"), "../../../../locales/fr/messages.ts": () => import("./messages-bT2Qnkqv.mjs"), "../../../../locales/hi/messages.ts": () => import("./messages-BU5Wb01i.mjs"), "../../../../locales/hu/messages.ts": () => import("./messages-YMIBlpEy.mjs"), "../../../../locales/id/messages.ts": () => import("./messages-BitVHANY.mjs"), "../../../../locales/km/messages.ts": () => import("./messages-BD8Z6Mlt.mjs"), "../../../../locales/ko/messages.ts": () => import("./messages-Tua_7bbR.mjs"), "../../../../locales/ms/messages.ts": () => import("./messages-gSaOZpeD.mjs"), "../../../../locales/my/messages.ts": () => import("./messages-CIKRe5jz.mjs"), "../../../../locales/ne/messages.ts": () => import("./messages-Cc3Jbklc.mjs"), "../../../../locales/pt/messages.ts": () => import("./messages-D6yzLlns.mjs"), "../../../../locales/ru/messages.ts": () => import("./messages-BlRnfq58.mjs"), "../../../../locales/rw/messages.ts": () => import("./messages-DnlPM5eM.mjs"), "../../../../locales/sw/messages.ts": () => import("./messages-Os_jtpSd.mjs"), "../../../../locales/ta/messages.ts": () => import("./messages-DsypxWOZ.mjs"), "../../../../locales/te/messages.ts": () => import("./messages-Bp5detoB.mjs"), "../../../../locales/th/messages.ts": () => import("./messages-9rpjSkdN.mjs"), "../../../../locales/tp/messages.ts": () => import("./messages-BY65rqxJ.mjs"), "../../../../locales/tr/messages.ts": () => import("./messages-MD3mVVdM.mjs"), "../../../../locales/ur/messages.ts": () => import("./messages-Cq0UCLEp.mjs"), "../../../../locales/vi/messages.ts": () => import("./messages-Coan-YWw.mjs"), "../../../../locales/zh/messages.ts": () => import("./messages-LfRNKjfE.mjs") }), `../../../../locales/${t}/messages.ts`, 7);
316638
316638
  if (!i)
316639
316639
  throw new Error(`No messages found for locale "${t}"`);
316640
316640
  Ct.load(t, i), Ct.activate(t);
@@ -0,0 +1,4 @@
1
+ const e = JSON.parse('{"/4KKi/":["Si no encuentra un idioma a y no aparece en ethnologue.com, puede definirla aquí."],"6YtxFj":["Nombre"],"8/S/J1":["Si esta interfaz de usuario no le ofrece un código que usted sabe que es un <0>código BCP 47</0> válido, puede introducirlo a mano. Mantenga pulsada la tecla CTRL mientras hace clic en esta etiqueta."],"8ZdHUQ":["Editar etiqueta de idioma"],"F3iq3K":["Seleccione un alfabeto"],"JNCzPW":["País"],"L1yZ0a":["Si has encontrado el idioma principal pero necesitas cambiar algunos de los específicos como el alfabeto o el dialecto, puedes hacerlo aquí."],"MDr+8d":["Tenemos una lista de casi todos los idiomas conocidos, dónde se hablan y cómo se escriben."],"O6GyTi":["Empieza a teclear para encontrar tu idioma."],"S9s19z":["Crear idioma no incluido en la lista"],"XzXMHk":["Elegir idioma"],"Zi7dyz":["Alfabeto"],"aCDQQ/":["Visualice este idioma de esta manera"],"ausuby":["Un idioma de ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["Si esta interfaz de usuario no le ofrece un código que usted sabe que es un código ISO 639 válido, puede introducirlo aquí:"],"jmIlmi":["Buscar por nombre, código o país"],"lPvBVm":["Etiqueta de idioma personalizada"],"nHKy0o":["Etiqueta de idioma no incluida en la lista"],"qLF7Lp":["Etiqueta BCP 47: <0>",["0"],"</0>"],"s/2hiv":["No está en un formato IETF BCP 47 válido: ",["customTag"]],"sW5OjU":["requerido"],"srRMnJ":["Personalizar"],"sxkWRg":["Avanzado"],"ydag7l":["Variante (dialecto)"],"zga9sT":["Aceptar"]}');
2
+ export {
3
+ e as messages
4
+ };
@@ -1,4 +1,4 @@
1
- const a = JSON.parse('{"/4KKi/":["If you cannot find a language and it does not appear in ethnologue.com, you can instead define the language here."],"6YtxFj":["Nome"],"8/S/J1":["If this user interface is not offering you a code that you know is valid <0>BCP 47 code</0>, you can enter it by hand. Hold down CTRL key while clicking on this tag."],"8ZdHUQ":["Edit Language Tag"],"F3iq3K":["Select a script"],"JNCzPW":["País"],"L1yZ0a":["If you found the main language but need to change some of the specifics like Script or Dialect, you can do that here."],"MDr+8d":["We have a list of almost every known language, where it is spoken, and how it is written."],"O6GyTi":["Start typing to find your language."],"S9s19z":["Create Unlisted Language"],"XzXMHk":["Selecione o idioma"],"Zi7dyz":["Script"],"aCDQQ/":["Display this language this way"],"ausuby":["A language of ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["If this user interface is not offering you a code that you know is valid ISO 639 code, you can enter it here:"],"jmIlmi":["Search by name, code, or country"],"lPvBVm":["Custom Language Tag"],"nHKy0o":["Unlisted Language Tag"],"qLF7Lp":["BCP 47 Tag: <0>",["0"],"</0>"],"s/2hiv":["This is not in a valid IETF BCP 47 format: ",["customTag"]],"sW5OjU":["obrigatório"],"srRMnJ":["Personalizar"],"sxkWRg":["Avançado"],"ydag7l":["Variant (dialect)"],"zga9sT":["OK"]}');
1
+ const a = JSON.parse('{"/4KKi/":["If you cannot find a language and it does not appear in ethnologue.com, you can instead define the language here."],"6YtxFj":["Nome"],"8/S/J1":["If this user interface is not offering you a code that you know is valid <0>BCP 47 code</0>, you can enter it by hand. Hold down CTRL key while clicking on this tag."],"8ZdHUQ":["Edit Language Tag"],"F3iq3K":["Select a script"],"JNCzPW":["País"],"L1yZ0a":["If you found the main language but need to change some of the specifics like Script or Dialect, you can do that here."],"MDr+8d":["We have a list of almost every known language, where it is spoken, and how it is written."],"O6GyTi":["Start typing to find your language."],"S9s19z":["Create Unlisted Language"],"XzXMHk":["Selecione o idioma"],"Zi7dyz":["Script"],"aCDQQ/":["Display this language this way"],"ausuby":["Um idioma de ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["If this user interface is not offering you a code that you know is valid ISO 639 code, you can enter it here:"],"jmIlmi":["Search by name, code, or country"],"lPvBVm":["Custom Language Tag"],"nHKy0o":["Unlisted Language Tag"],"qLF7Lp":["BCP 47 Tag: <0>",["0"],"</0>"],"s/2hiv":["This is not in a valid IETF BCP 47 format: ",["customTag"]],"sW5OjU":["obrigatório"],"srRMnJ":["Personalizar"],"sxkWRg":["Avançado"],"ydag7l":["Variant (dialect)"],"zga9sT":["OK"]}');
2
2
  export {
3
3
  a as messages
4
4
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=JSON.parse('{"/4KKi/":["Si no encuentra un idioma a y no aparece en ethnologue.com, puede definirla aquí."],"6YtxFj":["Nombre"],"8/S/J1":["Si esta interfaz de usuario no le ofrece un código que usted sabe que es un <0>código BCP 47</0> válido, puede introducirlo a mano. Mantenga pulsada la tecla CTRL mientras hace clic en esta etiqueta."],"8ZdHUQ":["Editar etiqueta de idioma"],"F3iq3K":["Seleccione un alfabeto"],"JNCzPW":["País"],"L1yZ0a":["Si has encontrado el idioma principal pero necesitas cambiar algunos de los específicos como el alfabeto o el dialecto, puedes hacerlo aquí."],"MDr+8d":["Tenemos una lista de casi todos los idiomas conocidos, dónde se hablan y cómo se escriben."],"O6GyTi":["Empieza a teclear para encontrar tu idioma."],"S9s19z":["Crear idioma no incluido en la lista"],"XzXMHk":["Elegir idioma"],"Zi7dyz":["Alfabeto"],"aCDQQ/":["Visualice este idioma de esta manera"],"ausuby":["Un idioma de ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["Si esta interfaz de usuario no le ofrece un código que usted sabe que es un código ISO 639 válido, puede introducirlo aquí:"],"jmIlmi":["Buscar por nombre, código o país"],"lPvBVm":["Etiqueta de idioma personalizada"],"nHKy0o":["Etiqueta de idioma no incluida en la lista"],"qLF7Lp":["Etiqueta BCP 47: <0>",["0"],"</0>"],"s/2hiv":["No está en un formato IETF BCP 47 válido: ",["customTag"]],"sW5OjU":["requerido"],"srRMnJ":["Personalizar"],"sxkWRg":["Avanzado"],"ydag7l":["Variante (dialecto)"],"zga9sT":["Aceptar"]}');exports.messages=e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=JSON.parse('{"/4KKi/":["If you cannot find a language and it does not appear in ethnologue.com, you can instead define the language here."],"6YtxFj":["Nome"],"8/S/J1":["If this user interface is not offering you a code that you know is valid <0>BCP 47 code</0>, you can enter it by hand. Hold down CTRL key while clicking on this tag."],"8ZdHUQ":["Edit Language Tag"],"F3iq3K":["Select a script"],"JNCzPW":["País"],"L1yZ0a":["If you found the main language but need to change some of the specifics like Script or Dialect, you can do that here."],"MDr+8d":["We have a list of almost every known language, where it is spoken, and how it is written."],"O6GyTi":["Start typing to find your language."],"S9s19z":["Create Unlisted Language"],"XzXMHk":["Selecione o idioma"],"Zi7dyz":["Script"],"aCDQQ/":["Display this language this way"],"ausuby":["A language of ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["If this user interface is not offering you a code that you know is valid ISO 639 code, you can enter it here:"],"jmIlmi":["Search by name, code, or country"],"lPvBVm":["Custom Language Tag"],"nHKy0o":["Unlisted Language Tag"],"qLF7Lp":["BCP 47 Tag: <0>",["0"],"</0>"],"s/2hiv":["This is not in a valid IETF BCP 47 format: ",["customTag"]],"sW5OjU":["obrigatório"],"srRMnJ":["Personalizar"],"sxkWRg":["Avançado"],"ydag7l":["Variant (dialect)"],"zga9sT":["OK"]}');exports.messages=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=JSON.parse('{"/4KKi/":["If you cannot find a language and it does not appear in ethnologue.com, you can instead define the language here."],"6YtxFj":["Nome"],"8/S/J1":["If this user interface is not offering you a code that you know is valid <0>BCP 47 code</0>, you can enter it by hand. Hold down CTRL key while clicking on this tag."],"8ZdHUQ":["Edit Language Tag"],"F3iq3K":["Select a script"],"JNCzPW":["País"],"L1yZ0a":["If you found the main language but need to change some of the specifics like Script or Dialect, you can do that here."],"MDr+8d":["We have a list of almost every known language, where it is spoken, and how it is written."],"O6GyTi":["Start typing to find your language."],"S9s19z":["Create Unlisted Language"],"XzXMHk":["Selecione o idioma"],"Zi7dyz":["Script"],"aCDQQ/":["Display this language this way"],"ausuby":["Um idioma de ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["If this user interface is not offering you a code that you know is valid ISO 639 code, you can enter it here:"],"jmIlmi":["Search by name, code, or country"],"lPvBVm":["Custom Language Tag"],"nHKy0o":["Unlisted Language Tag"],"qLF7Lp":["BCP 47 Tag: <0>",["0"],"</0>"],"s/2hiv":["This is not in a valid IETF BCP 47 format: ",["customTag"]],"sW5OjU":["obrigatório"],"srRMnJ":["Personalizar"],"sxkWRg":["Avançado"],"ydag7l":["Variant (dialect)"],"zga9sT":["OK"]}');exports.messages=e;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A language chooser React component using MUI",
4
4
  "author": "SIL Global",
5
5
  "license": "MIT",
6
- "version": "0.1.2",
6
+ "version": "0.1.3",
7
7
  "main": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "exports": {
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=JSON.parse('{"/4KKi/":["If you cannot find a language and it does not appear in ethnologue.com, you can instead define the language here."],"6YtxFj":["Nombre"],"8/S/J1":["If this user interface is not offering you a code that you know is valid <0>BCP 47 code</0>, you can enter it by hand. Hold down CTRL key while clicking on this tag."],"8ZdHUQ":["Edit Language Tag"],"F3iq3K":["Select a script"],"JNCzPW":["País"],"L1yZ0a":["If you found the main language but need to change some of the specifics like Script or Dialect, you can do that here."],"MDr+8d":["We have a list of almost every known language, where it is spoken, and how it is written."],"O6GyTi":["Start typing to find your language."],"S9s19z":["Create Unlisted Language"],"XzXMHk":["Elegir idioma"],"Zi7dyz":["Alfabeto"],"aCDQQ/":["Display this language this way"],"ausuby":["A language of ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["If this user interface is not offering you a code that you know is valid ISO 639 code, you can enter it here:"],"jmIlmi":["Search by name, code, or country"],"lPvBVm":["Custom Language Tag"],"nHKy0o":["Unlisted Language Tag"],"qLF7Lp":["BCP 47 Tag: <0>",["0"],"</0>"],"s/2hiv":["This is not in a valid IETF BCP 47 format: ",["customTag"]],"sW5OjU":["requerido"],"srRMnJ":["Personalizar"],"sxkWRg":["Avanzado"],"ydag7l":["Variant (dialect)"],"zga9sT":["Aceptar"]}');exports.messages=e;
@@ -1,4 +0,0 @@
1
- const a = JSON.parse('{"/4KKi/":["If you cannot find a language and it does not appear in ethnologue.com, you can instead define the language here."],"6YtxFj":["Nombre"],"8/S/J1":["If this user interface is not offering you a code that you know is valid <0>BCP 47 code</0>, you can enter it by hand. Hold down CTRL key while clicking on this tag."],"8ZdHUQ":["Edit Language Tag"],"F3iq3K":["Select a script"],"JNCzPW":["País"],"L1yZ0a":["If you found the main language but need to change some of the specifics like Script or Dialect, you can do that here."],"MDr+8d":["We have a list of almost every known language, where it is spoken, and how it is written."],"O6GyTi":["Start typing to find your language."],"S9s19z":["Create Unlisted Language"],"XzXMHk":["Elegir idioma"],"Zi7dyz":["Alfabeto"],"aCDQQ/":["Display this language this way"],"ausuby":["A language of ",["0"]],"dEgA5A":["Cancelar"],"jROyBC":["If this user interface is not offering you a code that you know is valid ISO 639 code, you can enter it here:"],"jmIlmi":["Search by name, code, or country"],"lPvBVm":["Custom Language Tag"],"nHKy0o":["Unlisted Language Tag"],"qLF7Lp":["BCP 47 Tag: <0>",["0"],"</0>"],"s/2hiv":["This is not in a valid IETF BCP 47 format: ",["customTag"]],"sW5OjU":["requerido"],"srRMnJ":["Personalizar"],"sxkWRg":["Avanzado"],"ydag7l":["Variant (dialect)"],"zga9sT":["Aceptar"]}');
2
- export {
3
- a as messages
4
- };