mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
* feat: AI translations at release, 7 new languages and regional fallback * fix: proper plural forms for count strings and full translations * fix: plural forms for selected, hidden and active counts * fix: synced plugin updates failing on desktop and server-only plugins shown as stopped * fix: restore rounded corners on app icons and favicon * feat: desktop app auto updates with automatic, ask first or never modes * feat: community and custom plugin registries * feat: plugin guide for AI tools in the SDK with a lint check * fix: keep the terminal WebSocket open past nginx's 60s default (#1588) * chore: update changelog * feat: show plugin download counts only and stop CI builds inflating them * feat: hide installed plugins in the browse tab by default * chore: pin bundled plugins to latest releases * chore: update translations * fix: focusing a saved password field and saving no longer erases it * fix: tell desktop users when their 2.8 data needs 2.9 first * fix: point windows update info at the x64 installer * fix: keep desktop client tunnel sockets alive behind proxies * chore: pin bundled plugins to latest releases * fix: cover client tunnel keepalive in the c2s runtime tests * fix: typing after opening a host no longer goes to the host search * fix: accept tab and = separators in SSH config import (#1598) * chore: update changelog * chore: drop plugin versions from core changelog * chore: update translations * chore: lint, format, and bump version to 26.10.1 --------- Co-authored-by: Darnel Hunter <68697450+innotelinc@users.noreply.github.com> Co-authored-by: Iain <Iain1970@protonmail.com>
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
name: Translate
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
retranslate:
|
|
description: "Translate every string again, not only new or changed ones"
|
|
type: boolean
|
|
default: false
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
concurrency:
|
|
group: translate-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
translate:
|
|
if: ${{ startsWith(github.ref, 'refs/heads/dev-') }}
|
|
runs-on: blacksmith-2vcpu-ubuntu-2404
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 1
|
|
token: ${{ secrets.TERMIX_PAT }}
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v7
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
|
|
- name: Translate
|
|
uses: Termix-SSH/Termix-Registry/translate@main
|
|
with:
|
|
source: src/ui/locales/en.json
|
|
out: src/ui/locales/translated
|
|
languages: src/ui/locales/languages.json
|
|
retranslate: ${{ inputs.retranslate }}
|
|
api-key: ${{ secrets.TERMIX_LLM_API_KEY }}
|
|
|
|
- name: Commit translations
|
|
run: |
|
|
git add src/ui/locales
|
|
if git diff --cached --quiet; then
|
|
echo "No translation changes."
|
|
exit 0
|
|
fi
|
|
git config user.name "LukeGus"
|
|
git config user.email "bugattiguy527@gmail.com"
|
|
git commit -m "chore: update translations"
|
|
git push origin HEAD:"${GITHUB_REF_NAME}"
|