[l2h] swedish.perl

Daniel Berntsson danbe628@student.liu.se
Fri, 30 Aug 2002 15:25:28 +0200


This is a multi-part message in MIME format.
--------------9F1AF8B83AC8823522C1C297
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I noticed there is no swedish.perl file. I don't know if this is an
accident or if it has never existed but I needed one so I made one and
here it is.


/ Daniel Berntsson
--------------9F1AF8B83AC8823522C1C297
Content-Type: text/plain; charset=iso-8859-1;
 name="swedish.perl"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="swedish.perl"

package swedish;

print " [swedish]";

sub main'swedish_translation { @_[0] }


package main;

if (defined &addto_languages) { &addto_languages('swedish') };

sub swedish_titles {
    $toc_title = "Innehåll";
    $lof_title = "Figurer";
    $lot_title = "Tabeller";
    $idx_title = "Index";
    $ref_title = "Referenser";
    $bib_title = "Litteraturförteckning";
    $abs_title = "Sammanfattning";
    $app_title = "Appendix";
    $pre_title = "Förord";
    $foot_title = "Fotnoter";
    $thm_title = "Teorem";
    $fig_name = "Figur";
    $tab_name = "Tabell";
    $prf_name = "Bevis";
    $date_name = "Datum";
    $page_name = "Sida";
  #  Sectioning-level titles
    $part_name = "Del";
    $chapter_name = "Kapitel";
    $section_name = "Avsnitt";
    $subsection_name = "Underavsnitt";
    $subsubsection_name = "Underunderavsnitt";
    $paragraph_name = "Stycke";
  #  Misc. strings
    $child_name = "Underavsnitt";
    $info_title = "Om detta dokument ...";
    $also_name = "se även";
    $see_name = "se";
  #  names in navigation panels
    $next_name = "Nästa";
    $up_name = "Upp";
    $prev_name = "Föregående";
  #  field names in email headers
    $encl_name = "encl";
    $headto_name = "To";
    $cc_name = "cc";

    @Month = ('', 'januari', 'februari', 'mars', 'april', 'maj',
	      'juni', 'juli', 'augusti', 'september', 'oktober',
	      'november', 'december');

    $GENERIC_WORDS = "och|av|en|ett|för";
}


sub swedish_today {
    local($today) = &get_date();
    $today =~ s|(\d+)/0?(\d+)/|$2 $Month[$1] |;
    join('',$today,$_[0]);
}



# use'em
&swedish_titles;
$default_language = 'swedish';
$TITLES_LANGUAGE = 'swedish';
$swedish_encoding = 'iso-8859-1';


1;

--------------9F1AF8B83AC8823522C1C297--