Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 421: | Rivi 421: | ||
function drawVisualization( memo ) { | function drawVisualization( memo ) { | ||
if ( typeof i18n[ memo.obscode ].direction != 'undefined' ) { memo.vaxisdir = i18n[ memo.obscode ].direction; } else { memo.vaxisdir = 1; } | if ( typeof i18n[ memo.obscode ].direction != 'undefined' ) { memo.vaxisdir = i18n[ memo.obscode ].direction; } else { memo.vaxisdir = 1; } | ||
| Rivi 688: | Rivi 688: | ||
} else if ( depthcats[0] == 'bottom' ) { | } else if ( depthcats[0] == 'bottom' ) { | ||
memo.title = memo.title.replace( '–', '(' + i18n[ 'bottom' ][ memo.lang ] + ') –' ); | memo.title = memo.title.replace( '–', '(' + i18n[ 'bottom' ][ memo.lang ] + ') –' ); | ||
} | } | ||
} else if ( depthcats.length == 2 ) { | } else if ( depthcats.length == 2 ) { | ||
| Rivi 745: | Rivi 745: | ||
} | } | ||
if ( memo.info == '' | if ( memo.info == '' ) { | ||
if ( memo.siteid != '-' ) { | |||
memo.info += i18n[ 'siteinfostring' ][ memo.lang] + ': ' + memo.jw.site[ memo.siteid ].name; | |||
} | |||
if ( depthcats.length == 1 ) { | |||
if ( memo.depthsO[ depthcats[0] ].valstring != '' ) { | |||
memo.info += i18n[ 'depthinfostring' ][ memo.lang] + ': ' + memo.depthsO[ depthcats[0] ].valstring; | |||
} | |||
} | } | ||
} | } | ||
| Rivi 1 916: | Rivi 1 922: | ||
'surface': { 'fi': 'pinta', 'en': 'surface', 'sv': 'ytan' }, | 'surface': { 'fi': 'pinta', 'en': 'surface', 'sv': 'ytan' }, | ||
'bottom': { 'fi': 'pohja', 'en': 'bottom', 'sv': 'bottnet' }, | 'bottom': { 'fi': 'pohja', 'en': 'bottom', 'sv': 'bottnet' }, | ||
'depthinfostring': { 'fi': 'Havainnot syvyydeltä', 'en': 'Depth of observations | 'siteinfostring': { 'fi': 'Havainnot havaintopaikalta', 'en': 'Observations from site', 'sv': 'Observationer från platsen' }, | ||
'depthinfostring': { 'fi': 'Havainnot syvyydeltä', 'en': 'Depth of observations', 'sv': 'Djup för observationer' }, | |||
'download': { 'fi': 'Lataa csv-muodossa', 'en': 'Download in csv format', 'sv': 'Ladda ner i csv-format' }, | 'download': { 'fi': 'Lataa csv-muodossa', 'en': 'Download in csv format', 'sv': 'Ladda ner i csv-format' }, | ||
'fullscreen': { 'fi': 'Ota käyttöön/poista kokoruututila', 'en': 'Toggle fullscreen mode', 'sv': 'Växla helskärmsläge' }, | 'fullscreen': { 'fi': 'Ota käyttöön/poista kokoruututila', 'en': 'Toggle fullscreen mode', 'sv': 'Växla helskärmsläge' }, | ||


