Skip to content

Commit

Permalink
Merge pull request #33 from yast/perl-locale
Browse files Browse the repository at this point in the history
Use UTF-8 for translated texts coming from our Perl code (bsc#1216689)
  • Loading branch information
mvidner committed Apr 4, 2024
2 parents e2e0095 + 88be0f7 commit 7ca82ac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-perl-bindings.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 3 09:46:46 UTC 2024 - Martin Vidner <mvidner@suse.com>

- Use UTF-8 for translated texts coming from our Perl code (bsc#1216689),
fixing most '?' occurrences in yast2-users.
- 5.0.3

-------------------------------------------------------------------
Wed Mar 6 14:03:01 UTC 2024 - Stefan Hundhammer <shundhammer@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-perl-bindings.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-perl-bindings
Version: 5.0.2
Version: 5.0.3
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
1 change: 1 addition & 0 deletions src/YaPI.pm.in
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ sub textdomain
$textdomains{$package} = $domain;
# substituted by configure
Locale::gettext::bindtextdomain ($domain, "@yast2dir4perl@/locale");
Locale::gettext::bind_textdomain_locale ($domain, "UTF-8");
return Locale::gettext::textdomain ($domain);
}

Expand Down

0 comments on commit 7ca82ac

Please sign in to comment.