aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.i18n/-i18n/gettext.html
blob: 7c2fe6691be5ef71823e612f9237ec33ed596322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>I18n.gettext - 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">I18n</a>&nbsp;/&nbsp;<a href="./gettext.html">gettext</a><br/>
<br/>
<h1>gettext</h1>
<a name="pl.treksoft.kvision.i18n.I18n$gettext(kotlin.String)"></a>
<code><span class="keyword">fun </span><span class="identifier">gettext</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.i18n.I18n$gettext(kotlin.String)/key">key</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="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/gettext.html">I18nManager.gettext</a></p>
<p>A static translation function for a singular form.</p>
<h3>Parameters</h3>
<p><a name="key"></a>
<code>key</code> - a translation key.</p>
<p><strong>Return</strong><br/>
translated text.</p>
</BODY>
</HTML>