- Rename project name and package: novelWriter -> UmbraEdit, novelwriter -> umbraedit - Rename entry script novelWriter.py -> UmbraEdit.py - Rename package directory novelwriter/ -> umbraedit/ - Rename i18n translation sources nw_*.ts -> ue_*.ts - Rename packaging files (appdata, project xml template) - Update all imports, references, docs, workflows, tests and build config - Update pyproject.toml project name, GUI script and URLs - Preserve full upstream git history; origin repointed below
42 lines
840 B
YAML
42 lines
840 B
YAML
name: i18n
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- release
|
|
paths:
|
|
- i18n/*.ts
|
|
|
|
jobs:
|
|
buildI18n:
|
|
name: Build i18n
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Python Setup
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.14"
|
|
architecture: x64
|
|
|
|
- name: Checkout Source
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Install System Packages
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install qttools5-dev-tools
|
|
|
|
- name: Build Assets
|
|
run: python pkgutils.py qtlrelease
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: nw-i18n
|
|
path: umbraedit/assets/i18n/*.qm
|
|
if-no-files-found: error
|
|
retention-days: 7
|