Updated macOS bundle translation sources to use ${prefix}/locale for both GTK and ZoiteChat catalogs, preventing the bad .../ocale/...-style resolution path caused by prefix/path mismatch during bundling.

Updated both CI macOS staging jobs (arm64 and x86_64) to copy app-installed locale catalogs from $STAGE_PREFIX/share/locale into $STAGE_PREFIX/locale when present, so zoitechat.mo is available to gtk-mac-bundler in the staged tree.
This commit is contained in:
2026-02-19 17:35:13 -07:00
parent a88eae5318
commit ec875e0709
2 changed files with 8 additions and 2 deletions

View File

@@ -63,6 +63,9 @@ jobs:
rsync -a "$BREW_PREFIX/lib/gtk-3.0" "$STAGE_PREFIX/lib/"
rsync -a "$BREW_PREFIX/lib/gdk-pixbuf-2.0" "$STAGE_PREFIX/lib/"
rsync -a "$BREW_PREFIX/share/locale/" "$STAGE_PREFIX/locale/"
if [ -d "$STAGE_PREFIX/share/locale" ]; then
rsync -a "$STAGE_PREFIX/share/locale/" "$STAGE_PREFIX/locale/"
fi
mkdir -p "$STAGE_PREFIX/opt"
rm -rf "$STAGE_PREFIX/opt/enchant"
@@ -148,6 +151,9 @@ jobs:
rsync -a "$BREW_PREFIX/lib/gtk-3.0" "$STAGE_PREFIX/lib/"
rsync -a "$BREW_PREFIX/lib/gdk-pixbuf-2.0" "$STAGE_PREFIX/lib/"
rsync -a "$BREW_PREFIX/share/locale/" "$STAGE_PREFIX/locale/"
if [ -d "$STAGE_PREFIX/share/locale" ]; then
rsync -a "$STAGE_PREFIX/share/locale/" "$STAGE_PREFIX/locale/"
fi
mkdir -p "$STAGE_PREFIX/opt"
rm -rf "$STAGE_PREFIX/opt/enchant"