Copy the Chatwoot (v4.14.0) frontend runnable subset into frontend/ for customization: - app/javascript/ (Vue SPA: dashboard, widget, sdk, portal, superadmin) - app/views/ (ERB templates for vite-plugin-ruby entrypoint resolution) - app/helpers/, app/assets/ (Rails view helpers, static assets) - enterprise/ (Enterprise edition frontend overlay) - config/vite.json, vite.config.ts, bin/vite (Vite-Rails toolchain) - package.json, pnpm-lock.yaml, tailwind/postcss/eslint configs - Gemfile, Gemfile.lock (vite_rails gem for bin/vite binstub) Excluded Rails backend: controllers, models, services, jobs, mailers, policies, db, lib, spec, public, node_modules. Update references to the new frontend location: - .gitignore: exclude frontend build artifacts (node_modules, tmp, packs), keep frontend/bin/ and frontend/vendor/ via negation - backend/scripts/parity_frontend_smoke.sh: CHATWOOT_DIR default reference/chatwoot -> ../frontend - backend/scripts/parity_frontend_browser_smoke.mjs: same default update - AGENTS.md: add frontend section with Rails/Vite coupling notes - README: architecture tree includes frontend/
84 lines
1.6 KiB
JavaScript
84 lines
1.6 KiB
JavaScript
import ar from './locale/ar.json';
|
|
import bg from './locale/bg.json';
|
|
import ca from './locale/ca.json';
|
|
import cs from './locale/cs.json';
|
|
import da from './locale/da.json';
|
|
import de from './locale/de.json';
|
|
import el from './locale/el.json';
|
|
import en from './locale/en.json';
|
|
import es from './locale/es.json';
|
|
import fa from './locale/fa.json';
|
|
import fi from './locale/fi.json';
|
|
import fr from './locale/fr.json';
|
|
import he from './locale/he.json';
|
|
import hi from './locale/hi.json';
|
|
import hu from './locale/hu.json';
|
|
import id from './locale/id.json';
|
|
import is from './locale/is.json';
|
|
import it from './locale/it.json';
|
|
import ja from './locale/ja.json';
|
|
import ko from './locale/ko.json';
|
|
import lt from './locale/lt.json';
|
|
import lv from './locale/lv.json';
|
|
import ml from './locale/ml.json';
|
|
import nl from './locale/nl.json';
|
|
import no from './locale/no.json';
|
|
import pl from './locale/pl.json';
|
|
import pt from './locale/pt.json';
|
|
import pt_BR from './locale/pt_BR.json';
|
|
import ro from './locale/ro.json';
|
|
import ru from './locale/ru.json';
|
|
import sk from './locale/sk.json';
|
|
import sr from './locale/sr.json';
|
|
import sv from './locale/sv.json';
|
|
import ta from './locale/ta.json';
|
|
import th from './locale/th.json';
|
|
import tr from './locale/tr.json';
|
|
import uk from './locale/uk.json';
|
|
import vi from './locale/vi.json';
|
|
import zh_CN from './locale/zh_CN.json';
|
|
import zh_TW from './locale/zh_TW.json';
|
|
|
|
export default {
|
|
ar,
|
|
bg,
|
|
ca,
|
|
cs,
|
|
da,
|
|
de,
|
|
el,
|
|
en,
|
|
es,
|
|
fa,
|
|
fi,
|
|
fr,
|
|
he,
|
|
hi,
|
|
hu,
|
|
id,
|
|
is,
|
|
it,
|
|
ja,
|
|
ko,
|
|
lt,
|
|
lv,
|
|
ml,
|
|
nl,
|
|
no,
|
|
pl,
|
|
pt,
|
|
pt_BR,
|
|
ro,
|
|
ru,
|
|
sk,
|
|
sr,
|
|
sv,
|
|
ta,
|
|
th,
|
|
tr,
|
|
uk,
|
|
vi,
|
|
zh_CN,
|
|
zh_TW,
|
|
};
|