Replaces threading a Locale::gettext object ($d) through every sub:
modules import __()/__n() and call them directly. Used by 47 subs in
bin/shutter today; they can move over one at a time.
- One gettext domain per process. Shutter::App::Common's gettext_object
(the legacy $d) now delegates to Shutter::I18N::init, so old and new
code always share the same object, domain and locale dir.
- First module on the new baseline: use v5.36 (strict, warnings,
signatures).
- t/Shutter/I18N.t (Test2::V0): untranslated fallback, plural forms,
shared object, and a real lookup from a catalog compiled with msgfmt
(LANGUAGE=de under en_US.UTF-8).
- t/syntax.t: teach Test::Strict that use v5.36+ enables warnings.
Checked against the real share/po catalogs: $d->get and __() both
return 'Einstellungen' for 'Preferences' with LANGUAGE=de.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>