Split double field corresponding with log date in citatin object

svn: r22440
This commit is contained in:
Benny Malengier 2013-05-28 09:50:53 +00:00
parent b7d1f6906c
commit b07717ad86
2 changed files with 7 additions and 5 deletions

View File

@ -1385,7 +1385,8 @@
,,,,,,,"(","[LOCATION]","),",,,
,,,,,,,,"[RECORD BOOK ID (GENERIC LABEL)]",",",,,
,,,,,,,,"[PAGE(S)]",",",,,
,,,,,,,,"[ITEM OF INTEREST & DATE FOR UNPAGINATED ENTRY]",";",,,
,,,,,,,,"[ITEM OF INTEREST]",,,,
,,,,,,,,"[DATE FOR UNPAGINATED ENTRY]",";",,,
,,,,,,,,"[ITEM TYPE OR FORMAT]",",",,,
,,,,,,,,"[WEBSITE TITLE]",,"Italics",,
,,,,,,,"(","[URL (DIGITAL LOCATION)]",":",,,

1 N Category Category Type Type Description Type Identifier LDEL Fields RDEL Attribute Privacy Optional
1385 ( [LOCATION] ),
1386 [RECORD BOOK ID (GENERIC LABEL)] ,
1387 [PAGE(S)] ,
1388 [ITEM OF INTEREST & DATE FOR UNPAGINATED ENTRY] [ITEM OF INTEREST] ;
1389 [DATE FOR UNPAGINATED ENTRY] ;
1390 [ITEM TYPE OR FORMAT] ,
1391 [WEBSITE TITLE] Italics
1392 ( [URL (DIGITAL LOCATION)] :

View File

@ -72,6 +72,7 @@ class SrcAttributeType(GrampsType):
(GEN_BY , _("Generated by"), "Generated by"), # Generated sources on import
# possible fields for evidence styles need to be added next
]
#following fields are generated with evidencefieldgenerator.py
#the index starts at 100!
ABSTRACTOR_6FIRST9 = 529
@ -198,6 +199,7 @@ class SrcAttributeType(GrampsType):
DATA_COLLECTION_INFO = 325
DATE = 115
DATE_6SHORT9 = 126
DATE_FOR_UNPAGINATED_ENTRY = 400
DATE_OWNED = 269
DATE_PUBLISHED_UPDATED_OR_ACCESSED = 563
DATE_RANGE = 146
@ -297,7 +299,6 @@ class SrcAttributeType(GrampsType):
ITEM_OF_INTEREST_6COUNTY_STATE_DATE_AND_PO9 = 513
ITEM_OF_INTEREST_6PARTIES_AND_TYPE_OF_DOCUMENT9 = 458
ITEM_OF_INTEREST_6SHORT9 = 280
ITEM_OF_INTEREST_AND_DATE_FOR_UNPAGINATED_ENTRY = 400
ITEM_OF_INTEREST_AND_YEAR = 398
ITEM_OF_INTEREST_WITH_ABBREVIATED_DETAIL = 384
ITEM_OF_INTEREST_WITH_IDENTIFYING_DETAIL = 383
@ -718,6 +719,7 @@ class SrcAttributeType(GrampsType):
(DATA_COLLECTION_INFO, _("Data collection info"), "Data collection info"),
(DATE, _("Date"), "Date"),
(DATE_6SHORT9, _("Date (short)"), "Date (short)"),
(DATE_FOR_UNPAGINATED_ENTRY, _("Date for unpaginated entry"), "Date for unpaginated entry"),
(DATE_OWNED, _("Date owned"), "Date owned"),
(DATE_PUBLISHED_UPDATED_OR_ACCESSED, _("Date published, updated or accessed"), "Date published, updated or accessed"),
(DATE_RANGE, _("Date range"), "Date range"),
@ -817,7 +819,6 @@ class SrcAttributeType(GrampsType):
(ITEM_OF_INTEREST_6COUNTY_STATE_DATE_AND_PO9, _("Item of interest (county, state, date & po.)"), "Item of interest (county, state, date & po.)"),
(ITEM_OF_INTEREST_6PARTIES_AND_TYPE_OF_DOCUMENT9, _("Item of interest (parties & type of document)"), "Item of interest (parties & type of document)"),
(ITEM_OF_INTEREST_6SHORT9, _("Item of interest (short)"), "Item of interest (short)"),
(ITEM_OF_INTEREST_AND_DATE_FOR_UNPAGINATED_ENTRY, _("Item of interest & date for unpaginated entry"), "Item of interest & date for unpaginated entry"),
(ITEM_OF_INTEREST_AND_YEAR, _("Item of interest & year"), "Item of interest & year"),
(ITEM_OF_INTEREST_WITH_ABBREVIATED_DETAIL, _("Item of interest, with abbreviated detail"), "Item of interest, with abbreviated detail"),
(ITEM_OF_INTEREST_WITH_IDENTIFYING_DETAIL, _("Item of interest, with identifying detail"), "Item of interest, with identifying detail"),
@ -1113,7 +1114,6 @@ class SrcAttributeType(GrampsType):
(YEAR_SUPPLIED, _("Year supplied"), "Year supplied"),
]
#SRCTYPE has some predefined values which map to citation styles
ESM100 = 17
ESM101 = 18
@ -3231,7 +3231,8 @@ class SrcAttributeType(GrampsType):
('(', LOCATION, '),', '', False, False),
('', RECORD_BOOK_ID_6GENERIC_LABEL9, ',', '', False, False),
('', PAGE6S9, ',', '', False, False),
('', ITEM_OF_INTEREST_AND_DATE_FOR_UNPAGINATED_ENTRY, ';', '', False, False),
('', ITEM_OF_INTEREST, '', '', False, False),
('', DATE_FOR_UNPAGINATED_ENTRY, ';', '', False, False),
('', ITEM_TYPE_OR_FORMAT, ',', '', False, False),
('', WEBSITE_TITLE, '', 'Italics', False, False),
('(', URL_6DIGITAL_LOCATION9, ':', '', False, False),