summaryrefslogtreecommitdiffstats
path: root/urpm/msg.pm
diff options
context:
space:
mode:
authorMaat <maat-pub@mageia.biz>2021-03-31 20:08:28 +0200
committerMaat <maat-pub@mageia.biz>2021-03-31 20:08:28 +0200
commit5ce690fea246f316cad2ffd054aa798382f5df16 (patch)
tree36a5cf5dda1e33ac65343e7645b1eb35119ca7b7 /urpm/msg.pm
parent77ded31b185b2fd80271155bb12a8c45c62b44b4 (diff)
downloadurpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar
urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar.gz
urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar.bz2
urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.tar.xz
urpmi-5ce690fea246f316cad2ffd054aa798382f5df16.zip
Automating dev mode
Diffstat (limited to 'urpm/msg.pm')
-rw-r--r--urpm/msg.pm6
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 {