PHP 8.2.30
Preview: Translation.js Size: 687 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-i18next/dist/es/Translation.js

import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["ns", "children"];
import { useTranslation } from './useTranslation.js';
export function Translation(props) {
  var ns = props.ns,
      children = props.children,
      options = _objectWithoutProperties(props, _excluded);

  var _useTranslation = useTranslation(ns, options),
      _useTranslation2 = _slicedToArray(_useTranslation, 3),
      t = _useTranslation2[0],
      i18n = _useTranslation2[1],
      ready = _useTranslation2[2];

  return children(t, {
    i18n: i18n,
    lng: i18n.language
  }, ready);
}

Directory Contents

Dirs: 0 × Files: 16

Name Size Perms Modified Actions
2.90 KB lrw-r--r-- 2026-02-28 00:27:06
Edit Download
1.48 KB lrw-r--r-- 2026-02-28 00:27:34
Edit Download
429 B lrw-r--r-- 2026-02-28 00:27:58
Edit Download
135 B lrw-r--r-- 2026-02-28 00:28:10
Edit Download
994 B lrw-r--r-- 2026-02-28 00:28:26
Edit Download
246 B lrw-r--r-- 2026-02-28 00:28:30
Edit Download
37 B lrw-r--r-- 2026-02-28 00:29:16
Edit Download
2.58 KB lrw-r--r-- 2026-02-28 00:28:50
Edit Download
687 B lrw-r--r-- 2026-02-28 00:28:54
Edit Download
11.97 KB lrw-r--r-- 2026-02-28 00:28:58
Edit Download
684 B lrw-r--r-- 2026-02-28 00:29:00
Edit Download
1.02 KB lrw-r--r-- 2026-02-28 00:29:04
Edit Download
5.49 KB lrw-r--r-- 2026-02-28 00:29:06
Edit Download
3.38 KB lrw-r--r-- 2026-02-28 00:29:10
Edit Download
1.89 KB lrw-r--r-- 2026-02-28 00:29:10
Edit Download
2.73 KB lrw-r--r-- 2026-02-28 00:29:12
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).