mirror of
https://github.com/amiayweb/Hytale-F2P.git
synced 2026-02-26 06:01:45 -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.
|
||||
34
.github/workflows/release.yml
vendored
34
.github/workflows/release.yml
vendored
@@ -25,6 +25,14 @@ jobs:
|
||||
cache: 'npm'
|
||||
- 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
|
||||
run: |
|
||||
npx electron-builder --linux --x64 --arm64 --publish never
|
||||
@@ -48,7 +56,17 @@ jobs:
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
- 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
|
||||
with:
|
||||
name: windows-builds
|
||||
@@ -66,7 +84,17 @@ jobs:
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
- 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
|
||||
with:
|
||||
name: macos-builds
|
||||
@@ -117,4 +145,4 @@ jobs:
|
||||
generate_release_notes: true
|
||||
draft: true
|
||||
# DYNAMIC FLAGS: Mark as pre-release ONLY IF it's NOT a tag (meaning it's a branch push)
|
||||
prerelease: ${{ github.ref_type != 'tag' }}
|
||||
prerelease: ${{ github.ref_type != 'tag' }}
|
||||
|
||||
Reference in New Issue
Block a user