[PATCH] More strings to translate for statistics tab

Sergey Starosek sergey.starosek at gmail.com
Wed Jul 16 10:37:06 PDT 2014


Signed-off-by: Sergey Starosek <sergey.starosek at gmail.com>
---
 qt-ui/maintab.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 6721780..d94b37d 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -543,11 +543,11 @@ void MainTab::updateDiveInfo(bool clear)
 		 * it is used.
 		 */
 		if (he_tot.mliter || o2_tot.mliter) {
-			gasUsedString.append(QString("These gases could be\nmixed from Air and using:\n"));
+			gasUsedString.append(tr("These gases could be\nmixed from Air and using:\n"));
 			if (he_tot.mliter)
 				gasUsedString.append(QString("He: %1").arg(get_volume_string(he_tot, true)));
 			if (he_tot.mliter && o2_tot.mliter)
-				gasUsedString.append(QString(" and "));
+				gasUsedString.append(tr(" and "));
 			if (o2_tot.mliter)
 				gasUsedString.append(QString("O2: %2\n").arg(get_volume_string(o2_tot, true)));
 		}
-- 
1.8.5.5



More information about the subsurface mailing list