mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Change 'CSV summary dive details' output from TSV to CSV.
Change the output formato for the Export / 'CSV summary dive details'
from TSV to CSV, to make it consistent with the menu item name, and with
the other 'CSV' export function.
This was changed to TSV by @mturkia in
6c82578540
,
but I could not find any discussion as to why.
Also removed replacement of the field separator in any fields, as,
according to the CSV RFC (https://datatracker.ietf.org/doc/html/rfc4180)
this is not required as long as the fields containing separators are
enclosed in quotes, and any quotes within the fields are doubled up.
Tested with a fairly large log file, and importing into Google Sheets is
working fine for the output produced.
Also made capitalisation of the Export menu items consistent.
Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
cf95c3bd82
commit
1bd7806dcf
3 changed files with 16 additions and 15 deletions
|
@ -267,7 +267,7 @@
|
|||
<item>
|
||||
<widget class="QRadioButton" name="exportCSV">
|
||||
<property name="text">
|
||||
<string>CSV Dive computer dive profile</string>
|
||||
<string>CSV dive computer dive profile</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">exportGroup</string>
|
||||
|
@ -277,7 +277,7 @@
|
|||
<item>
|
||||
<widget class="QRadioButton" name="exportProfileData">
|
||||
<property name="text">
|
||||
<string>CSV Computed Profile Panel data</string>
|
||||
<string>CSV computed profile panel data</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">exportGroup</string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue