Subversion Repositories LCARS

Rev

Rev 214 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 214 Rev 227
Line 22... Line 22...
22
22
23
/* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */
23
/* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */
24
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
24
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
25
25
26
// $vulcan = 'x-vulcan-latin';
26
// $vulcan = 'x-vulcan-latin';
-
 
27
$klingon = 'tlh-Latn';
27
$vulcan = 'vuh-Latn-Gol-modern';
28
$vulcan = 'vuh-Latn-Gol-modern';
28
$languages = array(
29
$languages = array(
29
  'en' => 'English',
30
  'en' => 'English',
30
  'de' => 'Deutsch',
31
  'de' => 'Deutsch',
31
  'ru' => 'по-русски',
32
  'ru' => 'по-русски',
32
//   'x-klingon-latin' => array(
33
  $klingon => array(
33
//     'key'  => 'tlh',
34
    'key'  => 'tlh',
34
//     'name' => 'tlhIngan Hol'
35
    'name' => 'tlhIngan Hol'
35
//   ),
36
  ),
36
  $vulcan => array(
37
  $vulcan => array(
37
    'key' => 'vu',
38
    'key' => 'vuh',
38
    'name' => '<abbr title="Gen-lis">G-l</abbr> Vuhlkansu'
39
    'name' => 'Gen-lis Vuhlkansu'
39
  )
40
  )
40
);
41
);
41
42
42
/**
43
/**
43
 * Returns the short language key.
44
 * Returns the short language key.