mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Don't "untranslate" cylinder names
As far as I can see there are no translation strings for the cylinder names, so there is no point in translating them back. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
0d011231e6
commit
f4b35f67f6
1 changed files with 0 additions and 7 deletions
|
@ -1289,14 +1289,7 @@ EditCylinder::EditCylinder(int index, cylinder_t cylIn, EditCylinderType typeIn,
|
|||
else
|
||||
setText(Command::Base::tr("Edit cylinder (%n dive(s))", "", dives.size()));
|
||||
|
||||
// Try to untranslate the cylinder type
|
||||
QString description = cylIn.type.description;
|
||||
for (int i = 0; i < tank_info_table.nr; ++i) {
|
||||
if (gettextFromC::tr(tank_info_table.infos[i].name) == description) {
|
||||
description = tank_info_table.infos[i].name;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// The base class copied the cylinders for us, let's edit them
|
||||
for (int i = 0; i < (int)indexes.size(); ++i) {
|
||||
|
|
Loading…
Add table
Reference in a new issue