Skip to content

Commit 74f9ba6

Browse files
committed
Deploying to gh-pages from @ c0e2e98 🚀
1 parent ea8ddf3 commit 74f9ba6

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

core/io.tolgee/-tolgee-apple/-companion/get-localized-string-from-bundle-formatted.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h1 class="cover"><span>get</span><wbr><span>Localized</span><wbr><span>String</
9797
</div>
9898
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
9999
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain" data-active="" data-toggle=":core/appleMain">apple</button></div>
100-
<div class="content sourceset-dependent-content" data-active="" data-togglable=":core/appleMain"><div class="symbol monospace"><span class="token keyword">fun </span><a href="get-localized-string-from-bundle-formatted.html"><span class="token function">getLocalizedStringFromBundleFormatted</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">res<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">key<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">default<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">table<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">vararg </span>args<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html">Any</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="clearfix"><span class="floating-right">(<a href="https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/core/src/appleMain/kotlin/io/tolgee/TolgeeApple.kt#L167">source</a>)</span></span></div><p class="paragraph">Retrieves a localized and formatted string from a specified bundle. Uses the provided <code class="lang-kotlin">key</code>, <code class="lang-kotlin">default</code> value, <code class="lang-kotlin">table</code>, and any additional arguments for string formatting. If no localized string is found, it falls back to the <code class="lang-kotlin">default</code> value.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">The localized and formatted string, or null if no string could be resolved.</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>res</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The resource specification, usually a language code.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>key</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The key associated with the localized string resource.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>default</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The default string to use if the localized string is not found. Can be null.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>table</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The name of the table (e.g., file) in the bundle containing the localization data. Can be null.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>args</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The arguments to format the resulting string. Supports up to 10 arguments.</p></div></div></div></div></div></div> </div>
100+
<div class="content sourceset-dependent-content" data-active="" data-togglable=":core/appleMain"><div class="symbol monospace"><span class="token keyword">fun </span><a href="get-localized-string-from-bundle-formatted.html"><span class="token function">getLocalizedStringFromBundleFormatted</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">res<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">key<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">default<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">table<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">vararg </span>args<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html">Any</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="clearfix"><span class="floating-right">(<a href="https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/core/src/appleMain/kotlin/io/tolgee/TolgeeApple.kt#L164">source</a>)</span></span></div><p class="paragraph">Retrieves a localized and formatted string from a specified bundle. Uses the provided <code class="lang-kotlin">key</code>, <code class="lang-kotlin">default</code> value, <code class="lang-kotlin">table</code>, and any additional arguments for string formatting. If no localized string is found, it falls back to the <code class="lang-kotlin">default</code> value.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">The localized and formatted string, or null if no string could be resolved.</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>res</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The resource specification, usually a language code.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>key</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The key associated with the localized string resource.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>default</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The default string to use if the localized string is not found. Can be null.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>table</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The name of the table (e.g., file) in the bundle containing the localization data. Can be null.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>args</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The arguments to format the resulting string. Supports up to 10 arguments.</p></div></div></div></div></div></div> </div>
101101
</div>
102102
<div class="footer">
103103
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>

core/io.tolgee/-tolgee-apple/-companion/get-localized-string-from-bundle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h1 class="cover"><span>get</span><wbr><span>Localized</span><wbr><span>String</
9797
</div>
9898
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
9999
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain" data-active="" data-toggle=":core/appleMain">apple</button></div>
100-
<div class="content sourceset-dependent-content" data-active="" data-togglable=":core/appleMain"><div class="symbol monospace"><span class="token keyword">fun </span><a href="get-localized-string-from-bundle.html"><span class="token function">getLocalizedStringFromBundle</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">res<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">key<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">default<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">table<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="clearfix"><span class="floating-right">(<a href="https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/core/src/appleMain/kotlin/io/tolgee/TolgeeApple.kt#L144">source</a>)</span></span></div><p class="paragraph">Retrieves a localized string for a given key from the main application bundle or a base resource bundle. If the localized string is not found, the method returns a default string or null.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">The localized string if found, the default string if provided, or null if no match exists.</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>res</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The resource specification, usually a language code.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>key</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The key for the localized string.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>default</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The default string to return if the localized string is not found. If this value is blank, it will be treated as null.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>table</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The table in which to search for the key. This can be null to use the default table.</p></div></div></div></div></div></div> </div>
100+
<div class="content sourceset-dependent-content" data-active="" data-togglable=":core/appleMain"><div class="symbol monospace"><span class="token keyword">fun </span><a href="get-localized-string-from-bundle.html"><span class="token function">getLocalizedStringFromBundle</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">res<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">key<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">default<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">table<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="clearfix"><span class="floating-right">(<a href="https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/core/src/appleMain/kotlin/io/tolgee/TolgeeApple.kt#L141">source</a>)</span></span></div><p class="paragraph">Retrieves a localized string for a given key from the main application bundle or a base resource bundle. If the localized string is not found, the method returns a default string or null.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">The localized string if found, the default string if provided, or null if no match exists.</p></span><h4 class="">Parameters</h4><div class="table"><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>res</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The resource specification, usually a language code.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>key</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The key for the localized string.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>default</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The default string to return if the localized string is not found. If this value is blank, it will be treated as null.</p></div></div></div></div><div class="table-row" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><u><span><span>table</span></span></u></div></span></div><div><div class="title"><p class="paragraph">The table in which to search for the key. This can be null to use the default table.</p></div></div></div></div></div></div> </div>
101101
</div>
102102
<div class="footer">
103103
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>

core/io.tolgee/-tolgee-apple/-companion/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<h1 class="cover"><span><span>Companion</span></span></h1>
9797
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
9898
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":core/appleMain" data-filterable-set=":core/appleMain" data-active="" data-toggle=":core/appleMain">apple</button></div>
99-
<div class="content sourceset-dependent-content" data-active="" data-togglable=":core/appleMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="index.html">Companion</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/core/src/appleMain/kotlin/io/tolgee/TolgeeApple.kt#L129">source</a>)</span></span></div><p class="paragraph">Contains utility methods for fetching localized strings from the main resource bundle or a fallback base resource bundle.</p></div> </div>
99+
<div class="content sourceset-dependent-content" data-active="" data-togglable=":core/appleMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="index.html">Companion</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/tolgee/tolgee-mobile-kotlin-sdk/tree/master/core/src/appleMain/kotlin/io/tolgee/TolgeeApple.kt#L126">source</a>)</span></span></div><p class="paragraph">Contains utility methods for fetching localized strings from the main resource bundle or a fallback base resource bundle.</p></div> </div>
100100
</div>
101101
<div class="tabbedcontent">
102102
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button></div>

0 commit comments

Comments
 (0)