chore: update meta (#21)

* chore: update badge to forbid github camo

* chore: add LICENSE

* fix: update fotter power by

* chore: add CI for uploading lang source

* chore: update desc of `version`
This commit is contained in:
Hantong Chen
2025-06-16 15:40:15 +08:00
committed by GitHub
parent b1dd2289e6
commit d8f3b7bc23
5 changed files with 66 additions and 6 deletions

39
.github/workflows/crowdin-upload.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Crowdin Upload
on:
push:
branches: [main]
paths:
- "src/lang/en/**"
jobs:
crowdin-upload:
name: Upload en lang source file to Crowdin
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install dependencies
run: pnpm install
- name: Upload sources to Crowdin
run: pnpm run crowdin:upload
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 The OpenList Projects Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,10 +1,10 @@
# OpenList (frontend)
![License MIT](https://img.shields.io/badge/license-MIT-green)
![GitHub package.json version](https://img.shields.io/github/package-json/v/OpenListTeam/OpenList-Frontend)
![NPM Version](https://img.shields.io/npm/v/%40openlist-frontend%2Fopenlist-frontend)
![NPM Downloads](https://img.shields.io/npm/dw/%40openlist-frontend%2Fopenlist-frontend)
![NPM Last Update](https://img.shields.io/npm/last-update/%40openlist-frontend%2Fopenlist-frontend)
[![GitHub package.json version](https://img.shields.io/github/package-json/v/OpenListTeam/OpenList-Frontend)](./package.json)
[![NPM Version](https://img.shields.io/npm/v/%40openlist-frontend%2Fopenlist-frontend)](https://www.npmjs.com/package/@openlist-frontend/openlist-frontend)
[![NPM Downloads](https://img.shields.io/npm/dw/%40openlist-frontend%2Fopenlist-frontend)](https://www.npmjs.com/package/@openlist-frontend/openlist-frontend)
[![NPM Last Update](https://img.shields.io/npm/last-update/%40openlist-frontend%2Fopenlist-frontend)](https://www.npmjs.com/package/@openlist-frontend/openlist-frontend)
## BUILD

View File

@@ -157,7 +157,7 @@
"success": "Download completed"
},
"footer": {
"powered_by": "Powered by The OpenList Projects Contributors",
"powered_by": "Powered by OpenList",
"manage": "Manage"
},
"search": {

View File

@@ -121,7 +121,7 @@
"transmission_seedtime": "Transmission seedtime",
"transmission_uri": "Transmission uri",
"upload_task_threads_num": "Upload task threads num",
"version": "Version",
"version": "Backend version",
"video_autoplay": "Video autoplay",
"video_types": "Video types",
"webauthn_login_enabled": "Webauthn login enabled"