projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a763e
)
strip the extension of the translation file before storing it in the list
author
David Kalnischkies
<kalnischkies@gmail.com>
Sat, 10 Dec 2011 23:41:50 +0000
(
00:41
+0100)
committer
David Kalnischkies
<kalnischkies@gmail.com>
Sat, 10 Dec 2011 23:41:50 +0000
(
00:41
+0100)
(regression from compression rewrite; found by Steve McIntyre, thanks!)
apt-pkg/cdrom.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/cdrom.cc
b/apt-pkg/cdrom.cc
index 2c40c731d8491de35c3ff858139e0f656381392e..026094a6eb7d7752c44e061a037f2ce3645dfbe4 100644
(file)
--- a/
apt-pkg/cdrom.cc
+++ b/
apt-pkg/cdrom.cc
@@
-136,6
+136,7
@@
bool pkgCdrom::FindPackages(string CD,
{
if (_config->FindB("Debug::aptcdrom",false) == true)
std::clog << "Found translation " << Dir->d_name << " in " << CD << "i18n/" << std::endl;
+ file.erase(file.size() - fileext.size());
TransList.push_back(CD + "i18n/" + file);
break;
}