Package: gettext Version: 0.21-13+b1 Severity: normal Save this as /tmp/foo.py:
---cut here--- _("bare string") f'{_("string inside f-string")}' Dear Maintainer, ---cut here--- Run gettext on it. The resulting messages.po file will have "bare string" but not "string inside f-string" in it. -- System Information: Debian Release: trixie/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-1-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gettext depends on: ii gettext-base 0.21-13+b1 ii libc6 2.37-10 ii libgomp1 13.2.0-4 ii libunistring5 1.1-2 ii libxml2 2.9.14+dfsg-1.3 Versions of packages gettext recommends: ii curl 8.2.1-2 ii lynx 2.9.0dev.12-1 ii wget 1.21.4-1+b1 Versions of packages gettext suggests: ii autopoint 0.21-13 pn gettext-doc <none> pn libasprintf-dev <none> pn libgettextpo-dev <none> -- no debconf information