mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
The water type strings were static and therefore passed through gettextFromC::tr() before main(). One would hope to get a warning in such a case, but this is not the case. Therefore, use the QT_TRANSLATE_NOOP macro to register the strings in Qt's translation system and translate the list when needed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
|---|---|---|
| .. | ||
| maintab.cpp | ||
| maintab.h | ||
| maintab.ui | ||
| TabBase.cpp | ||
| TabBase.h | ||
| TabDiveEquipment.cpp | ||
| TabDiveEquipment.h | ||
| TabDiveEquipment.ui | ||
| TabDiveExtraInfo.cpp | ||
| TabDiveExtraInfo.h | ||
| TabDiveExtraInfo.ui | ||
| TabDiveInformation.cpp | ||
| TabDiveInformation.h | ||
| TabDiveInformation.ui | ||
| TabDivePhotos.cpp | ||
| TabDivePhotos.h | ||
| TabDivePhotos.ui | ||
| TabDiveSite.cpp | ||
| TabDiveSite.h | ||
| TabDiveSite.ui | ||
| TabDiveStatistics.cpp | ||
| TabDiveStatistics.h | ||
| TabDiveStatistics.ui | ||