summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index f7d4bc15c..9133aad47 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -41,6 +41,14 @@ sub N {
}
sub N_ { $_[0] }
+# translation with context, kde-like
+sub NC {
+ my ($s) = N(@_);
+ $s =~ s/_:.*\n//;
+ $s;
+}
+
+
sub salt {
my ($nb) = @_;
require devices;