Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 919 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 919 Bytes

PhiZone UI

Based on SvelteKit.

Configuration

A template for .env is as follows.

PUBLIC_API_BASE = 'http://localhost:33356'
PUBLIC_AVATAR = 'https://res.phizone.cn/akFOXszKg7n9DQXWDBFA4AEJ39MtdCWo/Transparent_Akkarin.webp'
PUBLIC_DEDICATED_PLAYER_ENDPOINT = 'https://player.phi.zone/play'

CLIENT_ID = 'regular'
CLIENT_SECRET = 'c29b1587-80f9-475f-b97b-dca1884eb0e3'

Scripts

  • deploy.sh - Builds and serves production build.
  • deploy-dev.sh - Builds and previews production build.
  • translation-helper.cjs - Tool for organizing translations. Prints unused translations, differences between languages, and duplicate translations (used more than twice)
    • mc [source] [target] - Makes translation keys of the target language (or all but the source language, if unspecified) consistent with that of the source language (default zh-CN)
    • s - Sorts all translation files alphabetically