layerinfo "type" = "i18nc";
layerinfo "name" = "suomi/Finnish";
layerinfo "author_name" = "kaisa";
layerinfo "source_viewable" = 1;

##===============================
## Text - main navigation
##===============================

set text_view_recent = "Uusimmat merkinnät";
set text_view_friends = "Lukulista";
set text_view_friends_comm = "Lukulista";
set text_view_friends_filter = "Lukulista (mukautettu suodatus)";
set text_view_friendsfriends = "Verkko";
set text_view_friendsfriends_filter = "Verkko (mukautettu suodatus)";
set text_view_archive = "Arkisto";
set text_view_userinfo = "Käyttäjätiedot";
set text_view_memories = "Muistot";

set text_skiplinks_back="Edelliset #";
set text_skiplinks_forward="Seuraavat #";
set text_page_top = "Sivun alkuun";

##===============================
## Text - metadata
##===============================

set text_meta_music = "Musiikki";
set text_meta_mood = "Mieliala";
set text_meta_location = "Sijainti";
set text_meta_groups = "Mukautetut kaveriryhmät";
set text_tags = "Avainsanat:";

##===============================
## Text - module headings
##===============================

set text_module_links = "Linkit";
set text_module_pagesummary = "Yhteenveto";
set text_module_syndicate = "Syötteet";
set text_module_tags = "Avainsanat";

##===============================
## Text - entry comment-related
##===============================

set text_post_comment = "Kommentoi";
set text_max_comments = "Maksimimäärä kommentteja täytetty";
set text_read_comments = "1 kommentti // # kommenttia";
set text_post_comment_friends = "Kommentoi";
set text_read_comments_friends = "1 kommentti // # kommenttia";

##===============================
## Text - entry actions
##===============================

set text_entry_prev = "Edellinen";
set text_entry_next = "Seuraava";
set text_edit_entry = "Muokkaa merkintää";
set text_edit_tags = "Muokkaa avainsanoja";
set text_tell_friend = "Kerro kaverille";
set text_mem_add = "Lisää muistoihin";
set text_watch_comments = "Seuraa";
set text_unwatch_comments = "Älä seuraa";
set text_permalink = "Linkki";

##===============================
## Text - comment actions
##===============================

set text_comment_reply = "Vastaa";
set text_comment_frozen = "Jäädytetty";
set text_comment_parent = "Ylempi";
set text_comment_thread = "Viestiketju";
set text_comment_expand = "Laajenna";

##===============================
## Text - tags 
##===============================

set text_tags_page_header = "Näkyvät avainsanat";
set text_tag_uses = "1 kerta // # kertaa";
set text_tagsmultilevel_delimiter = ":";
set text_tags_manage = "Muokkaa avainsanoja";

##================================================================
## Text - misc strings, not popular enough to expose in wizard
##================================================================

set text_default_separator = " | ";
set text_view_month = "Kaikki otsikot";
set text_generated_on = "Sivu tuotettu";
set text_powered_by = "Sivun tarjoaa";
set text_posting_in = " kirjoittaa yhteisössä ";
set text_nosubject = "(ei otsikkoa)";

set text_noentries_recent = "Ei merkintöjä.";
set text_noentries_day = "Ei merkintöjä.";
set text_month_screened_comments = "ja peitettyjä kommentteja";
set text_month_form_btn = "Näytä";
set text_replyform_header = "Kommenttilomake";
set text_comment_posted = "Kommentin lähetys onnistui.";

set text_day_prev = "Edellinen päivä";
set text_day_next = "Seuraava päivä";

set text_comment_from = "Lähettäjä:";
set text_comment_date = "Päiväys:";
set text_comment_ipaddr = "IP-osoite:";
set text_comment_edittime = "Muokattu";

set text_screened = "peitetty";
set text_poster_anonymous = "(tuntematon)";
set text_openid_from = "Lähettäjä";
set text_reply_back = "Lue kommentteja";
set text_reply_nocomments_header = "Kommentointi estetty";
set text_reply_nocomments = "Tämän merkinnän komentointi on estetty.";
set text_website_default_name = "Kotisivuni";

set text_icon_alt_protected = "[suojattu merkintä]";
set text_icon_alt_private = "[yksityinen merkintä]";
set text_icon_alt_groups = "[kaveriryhmämerkintä]";
set text_icon_alt_nsfw = "[NSFW]";
set text_icon_alt_18 = "[18+]";

set text_multiform_conf_delete = "Haluatko poistaa valitut kommentit?";
set text_multiform_opt_track = "Seuraa";
set text_multiform_opt_untrack = "Älä seuraa";
set text_multiform_opt_edit = "Muokkaa";
set text_multiform_check = "Valitse:";
set text_multiform_des = "Muokkaa kaikkia valittuja kommentteja:";
set text_multiform_btn = "Muokkaa";
set text_multiform_opt_unscreen = "Poista peitto";
set text_multiform_opt_unscreen_to_reply = "Poista peitto vastataksesi";
set text_multiform_opt_screen = "Peitä";
set text_multiform_opt_unfreeze = "Poista jäädytys";
set text_multiform_opt_freeze = "Jäädytä";
set text_multiform_opt_delete = "Poista";
set text_multiform_opt_deletespam = "Poista ja merkitse roskaviestiksi";

##===============================
## Language settings (noui)
##===============================

set lang_current = "fi";

set lang_fmt_date_short = "%%d%%.%%m%%.%%yyyy%%";
set lang_fmt_date_med = "%%dayord%% %%mon%%. %%yyyy%%";
set lang_fmt_date_med_day = "%%da%%, %%dayord%% %%mon%%. %%yyyy%%";
set lang_fmt_date_long = "%%dayord%% %%month%%ta %%yyyy%%";
set lang_fmt_date_long_day = "%%day%%, %%dayord%% %%month%%ta %%yyyy%%";
set lang_fmt_time_short = "%%HH%%:%%min%%";
set lang_fmt_month_short = "%%m%%/%%yy%%";
set lang_fmt_month_med = "%%mon%%. %%yyyy%%";
set lang_fmt_month_long = "%%month%% %%yyyy%%";

set lang_monthname_long = [ "", "tammikuu",  "helmikuu", "maaliskuu",
                            "huhtikuu", "toukokuu", "kesäkuu",
                            "heinäkuu", "elokuu", "syyskuu",
                            "lokakuu", "marraskuu", "joulukuu" ];
set lang_monthname_short = [ "", "tammik",  "helmik", "maalisk",
                             "huhtik", "toukok", "kesäk",
                             "heinäk", "elok", "syysk",
                             "lokak", "marras", "jouluk" ];
set lang_dayname_long = [ "", "sunnuntai", "maanantai",  "tiistai", "keskiviikko",
                          "torstai", "perjantai", "lauantai" ];
set lang_dayname_short = [ "", "su", "ma",  "ti", "ke",
                           "to", "pe", "la" ];
set lang_dayname_shorter = [ "", "S", "M",  "T", "K",
                             "T", "P", "L" ];

set reg_firstdayofweek = "monday";

### Language

function lang_map_plural (int n) : int 
"This function defines plurals for different languages. Use this if you are writing a language layer that needs customization for its plurals."
{
    if ($n == 1) { return 0; } # singular
    return 1;             # plural
}

function lang_page_of_pages (int pg, int pgs) [notags] : string
"This function returns the current page number as well as number of available pages. Override for language layers."
{
    return "Sivu $pg/$pgs";
}

function lang_user_wrote(UserLite u) : string
"Returns text describing that the user wrote something. This function is deprecated in favor of print_poster. Override for # language layers, but even better, use print_poster."
{
    if (defined $u) {
        return $u->as_string()+" kirjoitti";
    }
    else {
        return "Tuntematon käyttäjä kirjoitti";
    }
}

function lang_at_datetime(DateTime d) : string
"Returns a string saying \"at {the data and time given}\". Used in the core implementation of EntryPage and ReplyPage. i18nc layers should override this."
{
    return $d->date_format("long") + " kello " + $d->time_format();
}

function lang_ordinal(int num) [notags] : string
"Make an ordinal number from a cardinal number. Override only for language layers."
{
    return $num+".";
}

function lang_viewname(string viewid) [notags] : string
"Overriding this function is NOT RECOMMENDED. Overriding this function could prevent sitewide improvements to styles, accessibility, or other functionality from operating in your layout. Sets strings according to layer or wizard supplied string properties."
{
    if ($viewid == "recent") { return $*text_view_recent; }
    if ($viewid == "archive") { return $*text_view_archive; }
    if ($viewid == "read") { return $*text_view_friends; }
    if ($viewid == "day") { return "Päivä"; }
    if ($viewid == "month") { return "Kuukausi"; }
    if ($viewid == "userinfo") { return $*text_view_userinfo; }
    if ($viewid == "entry") { return "Kommentit"; }
    if ($viewid == "reply") { return "Lähetä kommentti"; }
    if ($viewid == "tags") { return "Avainsanat"; }
    if ($viewid == "memories") { return $*text_view_memories; }
    return "Tuntematon näkymä";
}