Lines 2-9
Link Here
|
2 |
#include "gc_strings.h" |
2 |
#include "gc_strings.h" |
3 |
#include "wx/intl.h" |
3 |
#include "wx/intl.h" |
4 |
|
4 |
|
5 |
const wxString gcstr::adjacent = "adjacent"; |
5 |
const wxString gcstr::adjacent = wxT("adjacent"); |
6 |
const wxString gcstr::allFiles = "*"; |
6 |
const wxString gcstr::allFiles = wxT("*"); |
7 |
const wxString gcstr::badRegionLength1 = wxTRANSLATE("The following regions have suspiciously short lengths:"); |
7 |
const wxString gcstr::badRegionLength1 = wxTRANSLATE("The following regions have suspiciously short lengths:"); |
8 |
const wxString gcstr::badRegionLength2 = wxTRANSLATE("You may wish to cancel this operation and edit region lengths in the Genomic Region Properties tab"); |
8 |
const wxString gcstr::badRegionLength2 = wxTRANSLATE("You may wish to cancel this operation and edit region lengths in the Genomic Region Properties tab"); |
9 |
const wxString gcstr::cancelString = wxTRANSLATE("Cancel"); |
9 |
const wxString gcstr::cancelString = wxTRANSLATE("Cancel"); |
Lines 15-26
Link Here
|
15 |
const wxString gcstr::converterTitle = wxTRANSLATE("LAMARC File Converter"); |
15 |
const wxString gcstr::converterTitle = wxTRANSLATE("LAMARC File Converter"); |
16 |
const wxString gcstr::dataFileExport = wxTRANSLATE("Select data files to write"); |
16 |
const wxString gcstr::dataFileExport = wxTRANSLATE("Select data files to write"); |
17 |
const wxString gcstr::dataFilesSelect = wxTRANSLATE("Select data files to read"); |
17 |
const wxString gcstr::dataFilesSelect = wxTRANSLATE("Select data files to read"); |
18 |
const wxString gcstr::dna = "DNA"; |
18 |
const wxString gcstr::dna = wxT("DNA"); |
19 |
const wxString gcstr::error = wxTRANSLATE("ERROR"); |
19 |
const wxString gcstr::error = wxTRANSLATE("ERROR"); |
20 |
const wxString gcstr::errorWrap = wxTRANSLATE("Error Type \"%s\" for file \"%s\":\n%s"); |
20 |
const wxString gcstr::errorWrap = wxTRANSLATE("Error Type \"%s\" for file \"%s\":\n%s"); |
21 |
const wxString gcstr::errorWrapNoFile = wxTRANSLATE("Error Type \"%s\":\n%s"); |
21 |
const wxString gcstr::errorWrapNoFile = wxTRANSLATE("Error Type \"%s\":\n%s"); |
22 |
const wxString gcstr::exportFileDefault = "infile.lam"; |
22 |
const wxString gcstr::exportFileDefault = wxT("infile.lam"); |
23 |
const wxString gcstr::exportFileGlob = "Lamarc files (*.lam)|*.lam|All files (*)|*"; |
23 |
const wxString gcstr::exportFileGlob = wxT("Lamarc files (*.lam)|*.lam|All files (*)|*"); |
24 |
const wxString gcstr::exportWarning = wxTRANSLATE("Warning: export may not be correct"); |
24 |
const wxString gcstr::exportWarning = wxTRANSLATE("Warning: export may not be correct"); |
25 |
const wxString gcstr::fileAlreadyAdded = wxTRANSLATE("Cannot add file \"%s\". It is already added."); |
25 |
const wxString gcstr::fileAlreadyAdded = wxTRANSLATE("Cannot add file \"%s\". It is already added."); |
26 |
const wxString gcstr::fileDoesNotExist = wxTRANSLATE("File \"%s\" does not exist or is not readable."); |
26 |
const wxString gcstr::fileDoesNotExist = wxTRANSLATE("File \"%s\" does not exist or is not readable."); |
Lines 30-36
Link Here
|
30 |
const wxString gcstr::fileLabelName = wxTRANSLATE("File Name"); |
30 |
const wxString gcstr::fileLabelName = wxTRANSLATE("File Name"); |
31 |
const wxString gcstr::fileLabelRemove = wxTRANSLATE("Remove File"); |
31 |
const wxString gcstr::fileLabelRemove = wxTRANSLATE("Remove File"); |
32 |
const wxString gcstr::fileLabelUnlinked = wxTRANSLATE("Unlink Microsats"); |
32 |
const wxString gcstr::fileLabelUnlinked = wxTRANSLATE("Unlink Microsats"); |
33 |
const wxString gcstr::globAll = "*"; |
33 |
const wxString gcstr::globAll = wxT("*"); |
34 |
const wxString gcstr::hapFileEmptyFirstLine = wxTRANSLATE("No data found in first line of phase information file \"%s\""); |
34 |
const wxString gcstr::hapFileEmptyFirstLine = wxTRANSLATE("No data found in first line of phase information file \"%s\""); |
35 |
const wxString gcstr::hapFileBarf = wxTRANSLATE("Implementation error reading phase information file \"%s\""); |
35 |
const wxString gcstr::hapFileBarf = wxTRANSLATE("Implementation error reading phase information file \"%s\""); |
36 |
const wxString gcstr::hapFileMissing = wxTRANSLATE("Phase information file \"%s\" missing or un-readable"); |
36 |
const wxString gcstr::hapFileMissing = wxTRANSLATE("Phase information file \"%s\" missing or un-readable"); |
Lines 42-48
Link Here
|
42 |
const wxString gcstr::hapFileSelectAnother = wxTRANSLATE("file not listed here"); |
42 |
const wxString gcstr::hapFileSelectAnother = wxTRANSLATE("file not listed here"); |
43 |
const wxString gcstr::hapFileUnSelect = wxTRANSLATE("un-select current file"); |
43 |
const wxString gcstr::hapFileUnSelect = wxTRANSLATE("un-select current file"); |
44 |
const wxString gcstr::information = wxTRANSLATE("Information"); |
44 |
const wxString gcstr::information = wxTRANSLATE("Information"); |
45 |
const wxString gcstr::kallele = "Kallele"; |
45 |
const wxString gcstr::kallele = wxT("Kallele"); |
46 |
const wxString gcstr::mapFileExportFailed = wxTRANSLATE("File export failed while reading data for region \"%s\". \n\nThe error was \"%s:%s\n\nPlease check your settings for that region and please report the error."); |
46 |
const wxString gcstr::mapFileExportFailed = wxTRANSLATE("File export failed while reading data for region \"%s\". \n\nThe error was \"%s:%s\n\nPlease check your settings for that region and please report the error."); |
47 |
const wxString gcstr::mapFileLastPositionTooLate = |
47 |
const wxString gcstr::mapFileLastPositionTooLate = |
48 |
wxTRANSLATE("Map position file \"%s\" has last position of %ld, but region \"%s\" length (%ld) and first position sequenced (%ld) allow last position of %ld or less only"); |
48 |
wxTRANSLATE("Map position file \"%s\" has last position of %ld, but region \"%s\" length (%ld) and first position sequenced (%ld) allow last position of %ld or less only"); |
Lines 54-61
Link Here
|
54 |
const wxString gcstr::mapFileSelect = wxTRANSLATE("select map position file"); |
54 |
const wxString gcstr::mapFileSelect = wxTRANSLATE("select map position file"); |
55 |
const wxString gcstr::mapFileSelectAnother = wxTRANSLATE("file not listed here"); |
55 |
const wxString gcstr::mapFileSelectAnother = wxTRANSLATE("file not listed here"); |
56 |
const wxString gcstr::mapFileUnSelect = wxTRANSLATE("un-select current file"); |
56 |
const wxString gcstr::mapFileUnSelect = wxTRANSLATE("un-select current file"); |
57 |
const wxString gcstr::microsat = "Microsat"; |
57 |
const wxString gcstr::microsat = wxT("Microsat"); |
58 |
const wxString gcstr::migrate = "Migrate"; |
58 |
const wxString gcstr::migrate = wxT("Migrate"); |
59 |
const wxString gcstr::migrateFileTypeClash =wxTRANSLATE("Setting data type to \"%s\" even though file \"%s\" specifies type \"%s\"."); |
59 |
const wxString gcstr::migrateFileTypeClash =wxTRANSLATE("Setting data type to \"%s\" even though file \"%s\" specifies type \"%s\"."); |
60 |
const wxString gcstr::newName = wxTRANSLATE("New name"); |
60 |
const wxString gcstr::newName = wxTRANSLATE("New name"); |
61 |
const wxString gcstr::notebookLabelDataTab = wxTRANSLATE("Data Files"); |
61 |
const wxString gcstr::notebookLabelDataTab = wxTRANSLATE("Data Files"); |
Lines 63-70
Link Here
|
63 |
const wxString gcstr::notebookLabelRegionTab = wxTRANSLATE("Genomic Region Properties"); |
63 |
const wxString gcstr::notebookLabelRegionTab = wxTRANSLATE("Genomic Region Properties"); |
64 |
const wxString gcstr::noWarningsFound = wxTRANSLATE("No warning messages were found. You should be able to export a lamarc file now"); |
64 |
const wxString gcstr::noWarningsFound = wxTRANSLATE("No warning messages were found. You should be able to export a lamarc file now"); |
65 |
const wxString gcstr::parseWarning = wxTRANSLATE("Conflict while parsing file"); |
65 |
const wxString gcstr::parseWarning = wxTRANSLATE("Conflict while parsing file"); |
66 |
const wxString gcstr::phylip = "Phylip"; |
66 |
const wxString gcstr::phylip = wxT("Phylip"); |
67 |
const wxString gcstr::plainLong = "%ld"; |
67 |
const wxString gcstr::plainLong = wxT("%ld"); |
68 |
const wxString gcstr::populationExists = wxTRANSLATE("Population \"%s\" already exists."); |
68 |
const wxString gcstr::populationExists = wxTRANSLATE("Population \"%s\" already exists."); |
69 |
const wxString gcstr::populationCreate = wxTRANSLATE("Create new Population"); |
69 |
const wxString gcstr::populationCreate = wxTRANSLATE("Create new Population"); |
70 |
const wxString gcstr::populationEnterNewName= wxTRANSLATE("Enter the name of the new population"); |
70 |
const wxString gcstr::populationEnterNewName= wxTRANSLATE("Enter the name of the new population"); |
Lines 103-109
Link Here
|
103 |
const wxString gcstr::unitLabelNumTips = wxTRANSLATE("Sequences"); |
103 |
const wxString gcstr::unitLabelNumTips = wxTRANSLATE("Sequences"); |
104 |
const wxString gcstr::unitLabelSetPopulation = wxTRANSLATE("Population"); |
104 |
const wxString gcstr::unitLabelSetPopulation = wxTRANSLATE("Population"); |
105 |
const wxString gcstr::unitLabelSetRegion = wxTRANSLATE("Genomic Region"); |
105 |
const wxString gcstr::unitLabelSetRegion = wxTRANSLATE("Genomic Region"); |
106 |
const wxString gcstr::snp = "SNP"; |
106 |
const wxString gcstr::snp = wxT("SNP"); |
107 |
const wxString gcstr::warning = wxTRANSLATE("Warning"); |
107 |
const wxString gcstr::warning = wxTRANSLATE("Warning"); |
108 |
const wxString gcstr::warningMissingPopRegPair = wxTRANSLATE("Missing data sample covering (%s,%s) pair"); |
108 |
const wxString gcstr::warningMissingPopRegPair = wxTRANSLATE("Missing data sample covering (%s,%s) pair"); |
109 |
const wxString gcstr::warningNeedFile = wxTRANSLATE("Add one or more files"); |
109 |
const wxString gcstr::warningNeedFile = wxTRANSLATE("Add one or more files"); |
Lines 112-125
Link Here
|
112 |
const wxString gcstr::warningStringsHeader = wxTRANSLATE("You will need to fix the following things before you can create a Lamarc output file:"); |
112 |
const wxString gcstr::warningStringsHeader = wxTRANSLATE("You will need to fix the following things before you can create a Lamarc output file:"); |
113 |
const wxString gcstr::warningUnsetPopulation = wxTRANSLATE("At least one data unit has no population assigned"); |
113 |
const wxString gcstr::warningUnsetPopulation = wxTRANSLATE("At least one data unit has no population assigned"); |
114 |
const wxString gcstr::warningUnsetRegion = wxTRANSLATE("At least one data unit has no region assigned"); |
114 |
const wxString gcstr::warningUnsetRegion = wxTRANSLATE("At least one data unit has no region assigned"); |
115 |
const wxString gcstr::unknown = "???"; |
115 |
const wxString gcstr::unknown = wxT("???"); |
116 |
const wxString gcstr::unsetPopulation = wxTRANSLATE("unset population"); |
116 |
const wxString gcstr::unsetPopulation = wxTRANSLATE("unset population"); |
117 |
const wxString gcstr::unsetRegion = wxTRANSLATE("unset region"); |
117 |
const wxString gcstr::unsetRegion = wxTRANSLATE("unset region"); |
118 |
|
118 |
|
119 |
|
119 |
|
120 |
const wxString gcstr::cmdInput = "input"; |
120 |
const wxString gcstr::cmdInput = wxT("input"); |
121 |
const wxString gcstr::cmdInputChar = "i"; |
121 |
const wxString gcstr::cmdInputChar = wxT("i"); |
122 |
const wxString gcstr::cmdInputDesc = wxTRANSLATE("input file"); |
122 |
const wxString gcstr::cmdInputDesc = wxTRANSLATE("input file"); |
123 |
const wxString gcstr::cmdOutput = "output"; |
123 |
const wxString gcstr::cmdOutput = wxT("output"); |
124 |
const wxString gcstr::cmdOutputChar = "o"; |
124 |
const wxString gcstr::cmdOutputChar = wxT("o"); |
125 |
const wxString gcstr::cmdOutputDesc = wxTRANSLATE("output file"); |
125 |
const wxString gcstr::cmdOutputDesc = wxTRANSLATE("output file"); |