Skip to content

Commit 9ea2af4

Browse files
committed
[feature] Presentation changes per user comments.
1 parent 07558fc commit 9ea2af4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

htmloutputclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __make_str__(self, str):
3838
return str + ": "
3939

4040
def __make_summary__(self, str):
41-
return "<details><summary>" + self.STRINGS.REPORT_MORE_INFORMATION + "</summary></br>" + str + "</details>"
41+
return "<details><summary>" + self.STRINGS.REPORT_MORE_INFORMATION + "</br></summary></br>" + str + "</br></details>"
4242

4343
def __make_list_item__(self, title, content, value):
4444
return "<li title='" + title + "'>" + self.__make_str__(content) + str(value) + "</li>"

internationalstrings.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class AnalysisStringsEN:
77
REPORT_VERSION = "Analysis Version"
88
REPORT_FILE = "Analysis File"
99

10-
REPORT_MORE_INFORMATION = "Summary of the Statistic"
10+
REPORT_MORE_INFORMATION = "More Detail:"
1111

1212
SUMMARY_TOTAL_FILES = "Total Files"
1313
SUMMARY_ARCHIVE_FILES = "Total Archive Files"
14-
SUMMARY_INSIDE_ARCHIVES = "Total Files Inside Archive Objects"
14+
SUMMARY_INSIDE_ARCHIVES = "Total Files Inside Archive Files"
1515
SUMMARY_DIRECTORIES = "Total Directories"
1616
SUMMARY_UNIQUE_DIRNAMES = "Total Unique Directory Names"
1717
SUMMARY_IDENTIFIED_FILES = "Total Identified Files (Based on Signature)"
@@ -40,7 +40,7 @@ class AnalysisStringsEN:
4040
HEADING_FREQUENCY_MIME = "MIME Type (Internet Media Type) Frequency"
4141
HEADING_LIST_ZERO_BYTES = "Zero-byte files in Accession/Extract"
4242
HEADING_NO_ID = "Files With No Identification"
43-
HEADING_ARCHIVE_FORMATS = "Archive Format Types in Accession/Extract"
43+
HEADING_ARCHIVE_FORMATS = "Archive File Types in Accession/Extract"
4444
HEADING_IDENTICAL_CONTENT = "Files With Identical Content (Checksum Value)"
4545
HEADING_TROUBLESOME_FILENAMES = "Identifying Non-ASCII and System File Names"
4646

@@ -65,7 +65,7 @@ class AnalysisStringsEN:
6565
HEADING_DESC_SIZE = "The size of the accession/extract is represented using two values, bytes (a byte equals eight binary bits) from the DROID export and conversion from bytes into megabytes for understanding the size of larger accessions/extracts. We will use this statistic to understand how much storage is required for this accession/extract when ingested."
6666
HEADING_DESC_IDENTIFIED = "A list of PUID values and format names to provide a clear picture of diversity/complexity of the accession/extract. PUID is an acronym for PRONOM Unique Identifier. PRONOM is a web-based technical registry to support digital preservation services, developed by The National Archives of the United Kingdom."
6767
HEADING_DESC_FREQUENCY_PUIDS_IDENTIFIED = "Visualization is used to provide a clear description of the distribution of file formats across the accession/extract. The file format signature is a string in binary (or hexadecimal (HEX)) that uniquely identifies a file format. PUID is an acronym for PRONOM Unique Identifier. PRONOM is a web-based technical registry to support digital preservation services, developed by The National Archives of the United Kingdom. Count and visualization of how many times each format is represented in the accession/extract, in a descending list from most frequent to least."
68-
HEADING_DESC_DATE_RANGE = "Count and visualization of how many times each format is represented in the accession/extract, in a descending list from most frequent to least. The visualization gives a clear description of the distribution of file modification dates across the accession/extract. Too small or too recent a date range may indicate file transfer errors depending on the source of files."
68+
HEADING_DESC_DATE_RANGE = "Count and visualization giving a clear illustration of the distribution of file modification dates across the accession/extract. The list is in descending order based on the number of files last modified on any given year. Too small or too recent a date range may indicate file transfer errors depending on the source of files."
6969
HEADING_DESC_EXTENSION_ONLY = "A list of the PUID and format name of each format of one or more files where DROID has tried to offer suggestions as to potential file format by utilizing the file extension where a file has not been matched by file format signature."
7070
HEADING_DESC_ID_METHOD = "Lists in descending order the types of identification DROID used for each file, indicating the reliability of each identification, with Container/Signature being the more concrete forms of identification and extension being a less certain way to identify a format. The file format signature is a string in binary (or hexadecimal (HEX)) that uniquely identifies a file format. Container identification takes this concept further by being able to match specific elements of a file format's structure."
7171
HEADING_DESC_FREQUENCY_EXTENSION_ONLY = "A count of the files associated with possible PUIDs where DROID has tried to offer suggestions as to potential file format by utilizing the file extension where a file format signature has not matched a file."
@@ -77,7 +77,7 @@ class AnalysisStringsEN:
7777
HEADING_DESC_NO_ID = "List of files identified only by the file extension alone (e.g. there are no verifiable file format signatures in the file, only the file extension is provided). This number may represent files not identified at all (i.e. there is no identification information in the DROID database)"
7878
HEADING_DESC_ARCHIVE_FORMATS = "Archive files are files that wrap together one or more files such as Zip files, GZIP files, and TAR files. Knowing an accession/extract contains these objects is important as a single archive file may contain many hundreds of other files that also need to be preserved and looked after."
7979
HEADING_DESC_IDENTICAL_CONTENT = "This is a list of files that are identical byte for byte. Count: is the number of instances of a particular checksum value that are found across the accession/extract. Filepath is listed to help with locating the object and to help appraisal decisions if the purpose of the duplicate can be ascertained. In the majority of cases if a duplicate is received it will be ingested as-is as that is what was received."
80-
HEADING_DESC_TROUBLESOME_FILENAMES = "Lists filenames that may cause issues across different systems and applications. These could be filenames that include UTF-8 characters such as Macrons, or incidences of filenames with multiple space characters following one after the other. Filenames identified will also include those for which there is an explicit recommendation against from Microsoft: https://msdn.microsoft.com/en-nz/library/windows/desktop/aa365247%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396"
80+
HEADING_DESC_TROUBLESOME_FILENAMES = "Lists filenames that may cause issues across different systems and applications. These could be filenames that include UTF-8 characters such as macrons, or incidences of filenames with multiple space characters following one after the other. Filenames identified will also include those for which there is an explicit recommendation against from Microsoft: https://msdn.microsoft.com/en-nz/library/windows/desktop/aa365247%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396"
8181

8282
TEXT_ONLY_FIVE_TOP_PUIDS = "Five Top PUIDs in Accession/Extract"
8383
TEXT_ONLY_FIVE_TOP_EXTENSIONS = "Five Top Extensions in Accession/Extract"

0 commit comments

Comments
 (0)