summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Tappe2007-03-23 15:18:43 +0100
committerOliver Tappe2007-03-23 15:18:43 +0100
commitfab0fdfe70dc3ab548bff44942f92c44d19a395e (patch)
treeb3f19a6490699b9f313ea4a58925b0a747fae1c3
parent* minor cleanup (diff)
downloadcore-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-xbin/slxldd4
-rwxr-xr-xconfig-db/slxconfig2
-rwxr-xr-xinstaller/slxos-export2
-rwxr-xr-xinstaller/slxos-setup2
4 files changed, 5 insertions, 5 deletions
diff --git a/bin/slxldd b/bin/slxldd
index be238a05..426e9f90 100755
--- a/bin/slxldd
+++ b/bin/slxldd
@@ -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__