aboutsummaryrefslogtreecommitdiff
path: root/beaker.h
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-04-01 04:00:34 +0300
committerfrosty <gabriel@bwaaa.monster>2026-04-01 04:00:34 +0300
commit3f1ab2576c31da36e7fc3f69694d4d76c8243842 (patch)
treed6ce366005c927c16e8113d629efea2249c0eea6 /beaker.h
parent24f602663878f211143bf892159588aa5b7294e9 (diff)
downloadbeaker-3f1ab2576c31da36e7fc3f69694d4d76c8243842.tar.gz
feat: function for fetching content of locale keys
Diffstat (limited to 'beaker.h')
-rw-r--r--beaker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/beaker.h b/beaker.h
index a5f374e..cc87634 100644
--- a/beaker.h
+++ b/beaker.h
@@ -119,6 +119,7 @@ int beaker_load_locales(void);
void beaker_set_locale(TemplateContext *ctx, const char *locale_id);
int beaker_get_all_locales(LocaleInfo *out, int max_count);
const LocaleMeta *beaker_get_locale_meta(const char *locale_id);
+const char *beaker_get_locale_value(const char *locale_id, const char *key);
void beaker_free_locales(void);
void send_response(const char *html);