mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
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:
6
.github/workflows/macos-build.yml
vendored
6
.github/workflows/macos-build.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user