import { ref as t } from "vue";
import { ru as a } from "./ru.js";
import { en as c } from "./en.js";
const n = [
  {
    code: "en",
    name: "English",
    flag: "england"
  },
  {
    code: "ru",
    name: "Pусский",
    flag: "russian"
  }
], e = t(n[1]);
let l = {
  ru: a,
  en: c
};
const i = s().t;
function s() {
  function o(r) {
    return l[e.value.code][r];
  }
  return {
    t: o,
    locale: e,
    locales: n
  };
}
export {
  i as t,
  s as useLocale
};
