mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-22 07:15:19 +00:00
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
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
gobject-introspection,
|
||||
libadwaita,
|
||||
blueprint-compiler,
|
||||
gettext,
|
||||
adwaita-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
harfbuzz,
|
||||
@@ -129,6 +130,9 @@ in
|
||||
# wasm
|
||||
wabt
|
||||
wasmtime
|
||||
|
||||
# Localization
|
||||
gettext
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
# My nix shell environment installs the non-interactive version
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
libadwaita,
|
||||
blueprint-compiler,
|
||||
libxml2,
|
||||
gettext,
|
||||
wrapGAppsHook4,
|
||||
gsettings-desktop-schemas,
|
||||
git,
|
||||
@@ -64,6 +65,7 @@ in
|
||||
../dist/linux
|
||||
../images
|
||||
../include
|
||||
../po
|
||||
../pkg
|
||||
../src
|
||||
../vendor
|
||||
@@ -87,6 +89,7 @@ in
|
||||
wrapGAppsHook4
|
||||
blueprint-compiler
|
||||
libxml2 # for xmllint
|
||||
gettext
|
||||
]
|
||||
++ lib.optionals enableWayland [
|
||||
wayland-scanner
|
||||
|
||||
Reference in New Issue
Block a user