mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: replace dive master by dive guide
In general, replace "dive master" by "dive guide". However, do not change written dive logs for now. On reading, accept both versions. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
889827aadb
commit
9e0712d5dc
38 changed files with 141 additions and 133 deletions
|
|
@ -370,7 +370,7 @@ static void write_one_dive(struct membuffer *b, struct dive *dive, const char *p
|
|||
put_HTML_watertemp(b, dive, "\"water\":\"", "\"");
|
||||
put_string(b, " },");
|
||||
write_attribute(b, "buddy", dive->buddy, ", ");
|
||||
write_attribute(b, "divemaster", dive->divemaster, ", ");
|
||||
write_attribute(b, "divemaster", dive->diveguide, ", ");
|
||||
write_attribute(b, "suit", dive->suit, ", ");
|
||||
put_HTML_tags(b, dive, "\"tags\":", ",");
|
||||
if (!list_only) {
|
||||
|
|
@ -528,6 +528,7 @@ void export_translation(const char *file_name)
|
|||
write_attribute(b, "Surge", translate("gettextFromC", "Surge"), ", ");
|
||||
write_attribute(b, "Chill", translate("gettextFromC", "Chill"), ", ");
|
||||
write_attribute(b, "Duration", translate("gettextFromC", "Duration"), ", ");
|
||||
write_attribute(b, "DiveGuide", translate("gettextFromC", "Diveguide"), ", ");
|
||||
write_attribute(b, "DiveMaster", translate("gettextFromC", "Divemaster"), ", ");
|
||||
write_attribute(b, "Buddy", translate("gettextFromC", "Buddy"), ", ");
|
||||
write_attribute(b, "Suit", translate("gettextFromC", "Suit"), ", ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue