diff options
author | Maat <maat-pub@mageia.biz> | 2021-03-31 20:08:28 +0200 |
---|---|---|
committer | Maat <maat-pub@mageia.biz> | 2021-03-31 20:08:28 +0200 |
commit | 5ce690fea246f316cad2ffd054aa798382f5df16 (patch) | |
tree | 36a5cf5dda1e33ac65343e7645b1eb35119ca7b7 /urpm | |
parent | 77ded31b185b2fd80271155bb12a8c45c62b44b4 (diff) | |
download | urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar.gz urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar.bz2 urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar.xz urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.zip |
Automating dev mode
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/msg.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm index ca81d9fe..50910b90 100644 --- a/urpm/msg.pm +++ b/urpm/msg.pm @@ -27,7 +27,11 @@ foreach my $domain (@textdomains) { Locale::gettext::bind_textdomain_codeset($domain, 'UTF-8'); } URPM::bind_rpm_textdomain_codeset(); - +if ( $::devmode ) { + foreach my $domain (@textdomains) { + bindtextdomain($domain, $::devdir."/locale"); + } +} our $no_translation; sub from_locale_encoding { |