Skip to content

xicri/genshin-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

986 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genshin Dictionary

Genshin Dictionary (Japanese: 原神英語・中国語辞典) is an online English-Chinese-Japanese dictionary containing the terms in Genshin Impact.

Want to add or modify translations?

This repository only contains the Web UI for Genshin Dictionary and the translation dataset is in genshin-langdata repository. If you want to contribute this project by adding new words or fixing wrong translations, this repository is not the one you are looking for.

Development

We use the following technology stack in this project:

  • TypeScript v5
  • Svelte v5
  • SvelteKit v2
  • Tailwind CSS
    • with some legacy BEM-styled SCSS

Requirements

  • Node.js: The latest LTS version recommended
    • or you can install it via mise
  • (Windows only) PowerShell 7+
    • Some npm scripts needs && support

Setup

$ cd /path/to/genshin-dictionary
$ mise install # If you use mise to install Node.js
$ pnpm install
$ pnpm dev

Then open http://localhost:3000/ to view your local Genshin Dictionary.

Test & Lint

$ pnpm test
$ pnpm lint

pnpm test runs E2E tests by Playwright. If you use Linux, you need to install system dependencies. On Ubuntu and Ubuntu-based distributions, you can install dependencies automatically with following command:

$ sudo pnpm playwright install-deps

Update translation dataset

Translation dataset is fetched after pnpm install. To update it, run pnpm install again.

About

An online English-Chinese-Japanese dictionary for the terms of Genshin Impact

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors