summaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorLeah Amelia Chen <hi@pluie.me>2025-03-05 20:12:52 +0100
committerGitHub <noreply@github.com>2025-03-05 20:12:52 +0100
commit2f65f01fc809bd6e9527eaeee3c4f67cd9ecdc95 (patch)
treefbc04ac6c96badc483352e06aa04ac60ec4bb3b7 /snap
parent66e8d919572fddc5fd145eb563a555deeb249b35 (diff)
parent6373399e59dcb597a95e104c1378b5379b87c7bf (diff)
gtk: add localization support, take 3 (#6004)
This is my third (!) attempt at implementing localization support. By leveraging GTK builder to do most of the `gettext` calls, I can avoid the whole mess about missing symbols on non-glibc platforms. Added some documentation too for contributors and translators, just for good measure. Supersedes #5214, resolves the GTK half of #2357
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index ec89616cf..5b2111cef 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -78,6 +78,7 @@ parts:
- libxml2-utils
- git
- patchelf
+ - gettext
override-build: |
craftctl set version=$(git describe --abbrev=8)
$CRAFT_PART_SRC/../../zig/src/zig build -Dpatch-rpath=\$ORIGIN/../usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/core24/current/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR -Doptimize=ReleaseFast