From b7423ceee1a6b1c5595fbbef6f0ca4417feeddf6 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Wed, 18 Apr 2012 12:00:30 +0200 Subject: lp#720716: add unity quicklist support --- sysui/desktop/share/translate.pl | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'sysui/desktop/share/translate.pl') diff --git a/sysui/desktop/share/translate.pl b/sysui/desktop/share/translate.pl index 197c333e6f37..89c9da0db5ff 100755 --- a/sysui/desktop/share/translate.pl +++ b/sysui/desktop/share/translate.pl @@ -64,6 +64,12 @@ while ($_ = $ARGV[0], /^-/) { } } +# hack for unity section +$outkey = $key; +if ( $outkey eq "UnityQuicklist" ) { + $outkey = "Name"; +} + # open input file unless (open(SOURCE, $ARGV[0])) { print STDERR "Can't open $ARGV[0] file: $!\n"; @@ -106,9 +112,12 @@ while () { # Pass the head of the template to the output file KEY: while (