diff options
author | Oliver Tappe | 2007-03-23 15:18:43 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-03-23 15:18:43 +0100 |
commit | fab0fdfe70dc3ab548bff44942f92c44d19a395e (patch) | |
tree | b3f19a6490699b9f313ea4a58925b0a747fae1c3 | |
parent | * minor cleanup (diff) | |
download | core-fab0fdfe70dc3ab548bff44942f92c44d19a395e.tar.gz core-fab0fdfe70dc3ab548bff44942f92c44d19a395e.tar.xz core-fab0fdfe70dc3ab548bff44942f92c44d19a395e.zip |
* fixed incorrect uses of the _tr() function
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@812 95ad53e4-c205-0410-b2fa-d234c58c8868
-rwxr-xr-x | bin/slxldd | 4 | ||||
-rwxr-xr-x | config-db/slxconfig | 2 | ||||
-rwxr-xr-x | installer/slxos-export | 2 | ||||
-rwxr-xr-x | installer/slxos-setup | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -178,7 +178,7 @@ sub addLibsForBinary print STDERR _tr("analyzing '%s'...\n", $binary) if $verbose; my $fileInfo = `file --dereference --brief --mime $binary 2>/dev/null`; if ($?) { - die _tr("unable to fetch file info for $binary, giving up!\n"); + die _tr("unable to fetch file info for '%s', giving up!\n", $binary); } chomp $fileInfo; print STDERR _tr("\tinfo is: '%s'...\n", $fileInfo) if $verbose; @@ -192,7 +192,7 @@ sub addLibsForBinary # bitwidth: $fileInfo = `file --dereference --brief $binary 2>/dev/null`; if ($?) { - die _tr("unable to fetch file info for $binary, giving up!\n"); + die _tr("unable to fetch file info for '%s', giving up!\n", $binary); } chomp $fileInfo; print STDERR _tr("\tinfo is: '%s'...\n", $fileInfo) if $verbose; diff --git a/config-db/slxconfig b/config-db/slxconfig index 2854cabe..dae5a95a 100755 --- a/config-db/slxconfig +++ b/config-db/slxconfig @@ -93,7 +93,7 @@ if ($action =~ m[^add-system$]i) { list-vendoros remove-client remove-system -Try '$0 --help' for more info.\n"); +Try '%s --help' for more info.\n", $0); } $openslxDB->disconnect(); diff --git a/installer/slxos-export b/installer/slxos-export index cd9f763a..21db393f 100755 --- a/installer/slxos-export +++ b/installer/slxos-export @@ -100,7 +100,7 @@ if ($action =~ m[^list-ex]i) { list-exported list-installed list-types -Try '$0 --help' for more info.\n"); +Try '%s --help' for more info.\n", $0); } __END__ diff --git a/installer/slxos-setup b/installer/slxos-setup index 9a14921d..b120cfc6 100755 --- a/installer/slxos-setup +++ b/installer/slxos-setup @@ -138,7 +138,7 @@ if ($action =~ m[import]i) { list-supported list-installed update -Try '$0 --help' for more info.\n"); +Try '%s --help' for more info.\n", $0); } __END__ |