# -------------------------------------------------------------------
# cdata.ini
#
# Descriptions for columns and lines in reports
# Last Updated: 2000 August 25 By: JW
# For use with Report Magic for Analog 2.0
# Compatible with Analog 4.11
#
# -------------------------------------------------------------------
#
# HOW TO USE AND MODIFY
#
# In each section, you can change descriptive text for another 
# language. Below is a list of the parameters (keys) and what they mean.
#
# LongName
# This field specifies the descriptive name given to columns in all reports 
# and rows in the General Report and Quick Summary. 
#
# Type
# This field tells Report Magic a little about how to present the column's 
# contents. Valid types are as follows:
#     Data     Will be shown in a table (default)
#     Filter   This is some kind of filter or sort information (like 
#              FLOOR or SORT) and is written as plain text. Filter columns
#              are handled with a series of regular expression matches. This
#              is descibed below with the [f] column.
#     Index    This type of column will set the Index number for the row. e.g. [N_]
#     Level    This type of column gives a level in a hierarchical report. e.g. [l]
#
# Unit
# Units
# On General Summary columns (rows) this is the singular and plural for
# the units (if any) for the given line.
#
# Activity
# In Time Reports, there is a summary line that list the most active entry 
# and the average for the period. This is followed by activity data for each 
# column in the report. The 'Activity' parameter gives the text used to 
# describe the level of activity for that column.
#
# NumberFormat
# All columns can now be given a number format for formatting. Without a format
# the number is shown normally. For percentage values a format of '#.#%' will
# display the number with a localized percent sign after the value. See 
# docs/numfmt.html for details on the format spec.
#
# Width
# This tells the CRO parser how many columns wide the column specifier is. For 
# example, the [D_] column actually has 5 columns of data so its width is 5.
#
# TimeFormat
# This is used to format the date or time data in columns that have that 
# data (e.g. [D_] and [d]). See docs/datefmt.html for details on the format spec.
# -------------------------------------------------------------------

#
# General Summary Report Lines
#
[HN]
LongName = Webstedets navn

[HU]
LongName = Webstedets adresse

[PS]
LongName = Starttid for rapportgenerering
TimeFormat = yyyy-mm-dd hh:nn

[FR]
LongName = Tidspunkt for f&oslash;rste foresp&oslash;rsel
TimeFormat = yyyy-mm-dd hh:nn

[LR]
LongName = Tidspunkt for siste foresp&oslash;rsel
TimeFormat = yyyy-mm-dd hh:nn

# - This has been deprecated but should remain for backwards compatibility
[L7]
LongName = Tidspunkt for starten av "Siste 7 dager"
TimeFormat = yyyy-mm-dd hh:nn

[E7]
LongName = "Siste 7 dager" varer til
TimeFormat = yyyy-mm-dd hh:nn

[SR]
LongName = Vellykkede forsp&oslash;rsler
Units = Foresp&oslash;rsler
Unit = Foresp&oslash;rsel

[S7]
LongName = Vellykkede foresp&oslash;rsler siste 7 dager
Units = Foresp&oslash;rsler
Unit = Foresp&oslash;rsel

[PR]
LongName = Vellykkede foresp&oslash;rsler etter sider
Units = Foresp&oslash;rsler etter sider
Unit = Foresp&oslash;rsel etter side

[P7]
LongName = Vellykkede foresp&oslash;rsler etter sider siste 7 dager
Units = Foresp&oslash;rsler etter sider
Unit = Foresp&oslash;rsel etter side

[FL]
LongName = Mislykkede foresp&oslash;rsler
Units = Foresp&oslash;rsler
Unit = Foresp&oslash;rsel

[F7]
LongName = Mislykkede foresp&oslash;rsler siste 7 dager
Units = Foresp&oslash;rsler
Unit = Foresp&oslash;rsel

[RR]
LongName = Omdirigerte foresp&oslash;rsler
Units = Foresp&oslash;rsler
Unit = Foresp&oslash;rsel

[R7]
LongName = Omdirigerte foresp&oslash;rsler siste 7 dager
Units = Foresp&oslash;rsler
Unit = Foresp&oslash;rsel

[NC]
LongName = Logglinjer uten statuskode
Units = Linjer
Unit = Linje

[C7]
LongName = Logglinjer uten statuskode siste 7 dager
Units = Linjer
Unit = Linje

[NF]
LongName = Forskjellige filer etterspurt
Units = Filer
Unit = Fil

[N7]
LongName = Forskjellige filer etterspurt siste 7 dager
Units = Filer
Unit = Fil

[NH]
LongName = Forskjellige maskiner betjent
Units = Maskiner
Unit = Maskin

[H7]
LongName = Forskjellige maskiner betjent siste 7 dager
Units = Maskiner
Unit = Maskin

[CL]
LongName = Korrupte logglinjer
Units = Linjer
Unit = Linje

[UL]
LongName = U&oslash;nskede logglinjer
Units = Linjer
Unit = Linje

[BT]
LongName = Total datamengde overf&oslash;rt
Units = Bytes
Unit = Byte
Format = bytes

[B7]
LongName = Total datamengde overf&oslash;rt siste 7 dager
Units = Bytes
Unit = Byte
Format = bytes

[VE]
LongName = Versjon av Analog

#
# Standard Reports Column Letters
#
[R_]
LongName = Antall foresp&oslash;rsler
Type = Data
Activity = %0 foresp&oslash;rsler h&aring;ndtert
NumberFormat = #

[r]
LongName = Prosent av foresp&oslash;rsler
Type = Data
NumberFormat = #.#%

[S_]
LongName = Antall foresp&oslash;rsler siste 7 dager
Type = Data
Activity = %0 foresp&oslash;rsler h&aring;ndtert siste 7 dager
NumberFormat = #

[s]
LongName = Prosent av foresp&oslash;rsler siste 7 dager
Type = Data
NumberFormat = #.#%

[P_]
LongName = Antall sideforesp&oslash;rsler
Type = Data
Activity = %0 sider sendt.
NumberFormat = #

[p]
LongName = Prosent av sideforesp&oslash;rsler
Type = Data
NumberFormat = #.#%

[Q_]
LongName = Antall sideforesp&oslash;rsler siste 7 dager
Type = Data
Activity = %0 sider sendt siste 7 dager.
NumberFormat = #

[q]
LongName = Prosent av sideforesp&oslash;rsler siste 7 dager
Type = Data
NumberFormat = #.#%

[B_]
LongName = Antall bytes overf&oslash;rt
Type = Data
Activity = %0 sendt.
Format = bytes

[b]
LongName = Prosent av bytes
Type = Data
NumberFormat = #.#%

[C_]
LongName = Antall bytes overf&oslash;rt siste 7 dager
Type = Data
Activity = %0 sendt siste 7 dager.
Format = bytes

[c]
LongName = Prosent av bytes overf&oslash;rt siste 7 dager
Type = Data
NumberFormat = #.#%

[D_]
LongName = Dato og tid for siste aksessering
Type = Data
Width = 5
TimeFormat = yyyy-mm-dd hh:nn

[d]
LongName = Dato for siste aksessering
Type = Data
Width = 3
TimeFormat = yyyy-mm-dd hh:nn

[E_]
LongName = Dato og tid for f&oslash;rste aksessering
Type = Data
Width = 5
TimeFormat = yyyy-mm-dd hh:nn

[e]
LongName = Dato for f&oslash;rst aksessering
Type = Data
Width = 3
TimeFormat = yyyy-mm-dd hh:nn

[N_]
Type = Index

[l]
Type = Level


# ------------------------------------------------------------
# These filters use a slightly different set of options than other columns.
# Filters will parse their data value and output a text description. For 
# each filter you can have any number of Columns specified by Width.
# Each Column can have any number of Matches, LongNames and Result sets:
#
# 	ColX_MatchX	The Regular Expressions (without //) to match the contents 
# 	      	     of the filter data.
# 	ColX_LongNameX The basic text of the output string for the corresponding 
# 	        	     filter match. Replacements from the matches are %1-%9
# 	ColX_ResultX_n	The replacement text (if any) for the matched variables. The 
# 	        	     format for this matchset[tab]output text. If no result set is 
#	       	     given, then the match variable is outputted as listed. If a 
# 	        	     result line starts with the [tab] then that will be used when 
# 	       	     no match is made in the set.
# ------------------------------------------------------------
# 
# FLOOR and SORTBY (cols 1 and 2)
#
[f]
Type = Filter
# Need this to keep the CRO splitter happy
Width = 2

#
# FLOOR
#
Col1_Match1 = ^\-(\d+)([RBPrbp])
Col1_LongName1 = Denne rapporten viser de f&oslash;rste %1 resultatene sortert etter %2.
Col1_Result1_2 = <<END
rR	antall foresp&oslash;rsler
bB	overf&oslash;rte bytes
pP	sideforesp&oslash;rsler
END

Col1_Match2 = ^0([\%\:]?)([kMGT]?)([RBPrbp])
Col1_LongName2 = Denne rapporten viser alle resultat.

Col1_Match3 = ^1([\%\:]?)([RPrp])
Col1_LongName3 = Denne rapporten viser alle resultat.

Col1_Match4 = ^1([kMGT]?)[Bb]
Col1_LongName4 = Denne rapporten viser alle resultat med minst 1 %1byte.
Col1_Result4_1 = <<END
k	kilo
M	mega
G	giga
T	tera
END

Col1_Match5 = ^(\d+\.?\d*)([\%\:]?)([kMGT]?)([RBPrbp])
Col1_LongName5 = Denne rapporten viser resultat med minst %1 %2 %3%4.
Col1_Result5_4 = <<END
rR	foresp&oslash;rsler
bB	bytes
pP	sider
END

Col1_Result5_3 = <<END
k	kilo
M	mega
G	giga
T	tera
END

Col1_Result5_2 = <<END
%	prosent av totalen
:	prosent av det maksimale antallet av
END

Col1_Match6 = ^(\d\d)(\d\d)(\d\d)[Dd]
Col1_LongName6 = Denne rapporten viser foresp&oslash;rsler siden %2 %3, %1.
Col1_Result6_2 =<<END
01	jan
02	feb
03	mar
04	apr
05	mai
06	jun
07	jul
08	aug
09	sep
10	okt
11	nov
12	des
END

Col1_Match7 = ^(-|\+)(\d\d)(-|\+)(\d\d)(-|\+)(\d\d)[Dd]
Col1_LongName7 = Denne rapporten viser foresp&oslash;rsler siden %2 %1, %4 %3 og %6 %5.
Col1_Result7_1 =<<END
-	&aring;r siden
+	&aring;r fra n&aring;
END
Col1_Result7_3 =<<END
-	m&aring;neder siden
+	m&aring;neder fra n&aring;
END
Col1_Result7_5 =<<END
-	dager siden
+	dager fra n&aring;
END

#
# SORTBY
#
Col2_Match1 = ^([rspqbcdax])
Col2_LongName1 = Denne rapporten er %1.
Col2_Result1_1 =<<END
rs	sortert etter antall foresp&oslash;rsler
pq	sortert etter antall sideforesp&oslash;rsler
bc	sortert etter mengde data overf&oslash;rt
d	sortert etter dato for siste foresp&oslash;rsel
a	sortert alfabetisk
x	ikke sortert
END

# 
# REPORTSPAN adds these columns to each report
#
[*FR]
Type = Filter
Width = 5
Saved = 0
TimeFormat = yyyy-mm-dd hh:nn

[*LR]
Type = Filter
Width = 5
Saved = 0
TimeFormat = yyyy-mm-dd hh:nn

#
# Time reports in Analog 5 have a largest time value (up to 5 fields)
#
[*BT]
Type = Filter
Width = 5
Saved = 2
TimeFormat = report

#
# Quick Summary Column Letters
#
[T_]
LongName = Toppinnslag

[H_]
LongName = Verdi

[h]
LongName = %-andel
NumberFormat = #.#%


