summaryrefslogtreecommitdiff
path: root/api/kvision/pl.treksoft.kvision.i18n/-simple-i18n-manager/ngettext.html
blob: 4349c98a96405a58a2183bc322a1efc143284c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SimpleI18nManager.ngettext - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.i18n</a>&nbsp;/&nbsp;<a href="index.html">SimpleI18nManager</a>&nbsp;/&nbsp;<a href="./ngettext.html">ngettext</a><br/>
<br/>
<h1>ngettext</h1>
<a name="pl.treksoft.kvision.i18n.SimpleI18nManager$ngettext(kotlin.String, kotlin.String, kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">ngettext</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.i18n.SimpleI18nManager$ngettext(kotlin.String, kotlin.String, kotlin.Int)/singularKey">singularKey</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.i18n.SimpleI18nManager$ngettext(kotlin.String, kotlin.String, kotlin.Int)/pluralKey">pluralKey</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.i18n.SimpleI18nManager$ngettext(kotlin.String, kotlin.String, kotlin.Int)/value">value</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Overrides <a href="../-i18n-manager/ngettext.html">I18nManager.ngettext</a></p>
<p>A static translation function for a plural form.</p>
<h3>Parameters</h3>
<p><a name="singularKey"></a>
<code>singularKey</code> - a translation key for a singular form.</p>
<p><a name="pluralKey"></a>
<code>pluralKey</code> - a translation key for a plural form.</p>
<p><a name="value"></a>
<code>value</code> - a count value.</p>
<p><strong>Return</strong><br/>
translated text.</p>
</BODY>
</HTML>