~ubuntu-branches/ubuntu/oneiric/kde-l10n-fi/oneiric-proposed

« back to all changes in this revision

Viewing changes to scripts/kdelibs/kdelibs4/kdelibs4.js

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-01-09 22:58:23 UTC
  • mfrom: (1.12.11)
  • Revision ID: package-import@ubuntu.com-20120109225823-m0mekkt9bnqtocdn
Tags: 4:4.7.4-0ubuntu0.1
New upstream release (svn: 1266985, type: stable) LP: #913928

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
function commonNameToLowerFirst(phr) {
 
2
    var str = Ts.subs(0);
 
3
    var pval = Ts.getProp(str, "yleisnimi");
 
4
 
 
5
    if (pval == "kyllä") {
 
6
        return Ts.toLowerFirst(phr);
 
7
    }
 
8
    else {
 
9
        return phr;
 
10
    }
 
11
}
 
12
 
 
13
Ts.setcall("yleisnimi_pienellä", commonNameToLowerFirst);
 
14
 
 
15
// Converts the first character in the string to lower case
 
16
function toLowerFirst(str)
 
17
{
 
18
    return Ts.toLowerFirst(str);
 
19
}
 
20
 
 
21
Ts.setcall("pieni_alkukirjain", toLowerFirst);
 
22
 
 
23
 
1
24
// Set properties of the phrase given by the finalized msgstr in the PO file.
2
25
// The arguments to the call are consecutive pairs of keys and values,
3
26
// as many as needed (i.e. total number of arguments must be even).
35
58
    throw Ts.fallback();
36
59
}
37
60
Ts.setcall("aseta", setMsgstrProps);
 
61
 
38
62
// NOTE: You can replace "aseta" in the line above with any UTF-8 string,
39
63
// e.g. one in your language so that it blends nicely inside POs.
40
64
 
89
113
    "elat" : "elat", // elative case
90
114
    "adess" : "adess", // adessive case
91
115
    "illat" : "illat", // illative case
 
116
    "hakumuoto" : "hakumuoto",
92
117
//    "lok" : ["lok", "dat"], // locative case (forwarded to dative if missing)
93
118
// commented and left here for the purpose of example
94
119
};