mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Distinguish between user and internal divemode names
The former should be translated but not those that go to xml/git. ... and fix capitalization of pSCR. Suggested-by: Stefan Fuchs <sfuchs@gmx.de> Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
424efb7720
commit
7c6e5ed5db
7 changed files with 27 additions and 12 deletions
12
core/dive.c
12
core/dive.c
|
|
@ -35,7 +35,17 @@ static const char *default_tags[] = {
|
|||
const char *cylinderuse_text[] = {
|
||||
QT_TRANSLATE_NOOP("gettextFromC", "OC-gas"), QT_TRANSLATE_NOOP("gettextFromC", "diluent"), QT_TRANSLATE_NOOP("gettextFromC", "oxygen"), QT_TRANSLATE_NOOP("gettextFromC", "not used")
|
||||
};
|
||||
const char *divemode_text[] = { "OC", "CCR", "PSCR", "Freedive" };
|
||||
|
||||
// For user visible text
|
||||
const char *divemode_text_ui[] = {
|
||||
QT_TRANSLATE_NOOP("gettextFromC", "Open circuit"),
|
||||
QT_TRANSLATE_NOOP("gettextFromC", "CCR"),
|
||||
QT_TRANSLATE_NOOP("gettextFromC", "pSCR"),
|
||||
QT_TRANSLATE_NOOP("gettextFromC", "Freedive")
|
||||
};
|
||||
|
||||
// For writing/reading files.
|
||||
const char *divemode_text[] = {"OC", "CCR", "pSCR", "Freedive"};
|
||||
|
||||
/*
|
||||
* Adding a cylinder pressure sample field is not quite as trivial as it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue