mirror of
https://git.sanhost.net/sanasol/hytale-f2p.git
synced 2026-02-26 06:41:47 -03:00
Merge branch 'release' into develop
This commit is contained in:
42
.github/ISSUE_TEMPLATE/translation_request.yml
vendored
Normal file
42
.github/ISSUE_TEMPLATE/translation_request.yml
vendored
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
name: Translation Request
|
||||||
|
description: Request translation for text or content
|
||||||
|
title: "[TRANSLATION] "
|
||||||
|
labels: ["translation"]
|
||||||
|
body:
|
||||||
|
- type: input
|
||||||
|
id: language
|
||||||
|
attributes:
|
||||||
|
label: Target Language
|
||||||
|
description: What language do you want to translate to?
|
||||||
|
placeholder: "e.g. Spanish (es-ES), French (fr-FR)"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: source_text
|
||||||
|
attributes:
|
||||||
|
label: Source Text
|
||||||
|
description: The original text that needs to be translated.
|
||||||
|
placeholder: "Paste the text here..."
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: context
|
||||||
|
attributes:
|
||||||
|
label: Context
|
||||||
|
description: Provide context about where this text appears or how it's used.
|
||||||
|
placeholder: "This text appears in..., It's used for..."
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: file_location
|
||||||
|
attributes:
|
||||||
|
label: File Location
|
||||||
|
description: Where is this text located in the codebase?
|
||||||
|
placeholder: "e.g. src/components/Button.js:15"
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: notes
|
||||||
|
attributes:
|
||||||
|
label: Additional Notes
|
||||||
|
description: Any specific instructions or notes for the translator.
|
||||||
32
.github/workflows/release.yml
vendored
32
.github/workflows/release.yml
vendored
@@ -25,6 +25,14 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|
||||||
|
- name: Create .env file
|
||||||
|
env:
|
||||||
|
CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
|
||||||
|
DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }}
|
||||||
|
run: |
|
||||||
|
echo "CURSEFORGE_API_KEY=$CF_KEY" > .env
|
||||||
|
echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env
|
||||||
|
|
||||||
- name: Build Linux Packages
|
- name: Build Linux Packages
|
||||||
run: |
|
run: |
|
||||||
npx electron-builder --linux --x64 --arm64 --publish never
|
npx electron-builder --linux --x64 --arm64 --publish never
|
||||||
@@ -48,7 +56,17 @@ jobs:
|
|||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npx electron-builder --win --publish never
|
|
||||||
|
- name: Create .env file
|
||||||
|
env:
|
||||||
|
CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
|
||||||
|
DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }}
|
||||||
|
run: |
|
||||||
|
echo "CURSEFORGE_API_KEY=$CF_KEY" > .env
|
||||||
|
echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env
|
||||||
|
|
||||||
|
- name: Build Windows Packages
|
||||||
|
run: npx electron-builder --win --publish never
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-builds
|
name: windows-builds
|
||||||
@@ -66,7 +84,17 @@ jobs:
|
|||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npx electron-builder --mac --publish never
|
|
||||||
|
- name: Create .env file
|
||||||
|
env:
|
||||||
|
CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
|
||||||
|
DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }}
|
||||||
|
run: |
|
||||||
|
echo "CURSEFORGE_API_KEY=$CF_KEY" > .env
|
||||||
|
echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env
|
||||||
|
|
||||||
|
- name: Build Windows Packages
|
||||||
|
run: npx electron-builder --mac --publish never
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macos-builds
|
name: macos-builds
|
||||||
|
|||||||
Reference in New Issue
Block a user