fix: replaced en_uk with en_gb as default locale

This commit is contained in:
frosty
2026-04-03 11:23:38 -04:00
parent 0eff62bf68
commit c9709029ca
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
int home_handler(UrlParams *params) {
(void)params;
char *theme = get_theme("");
char *locale = get_locale("en_uk");
char *locale = get_locale("en_gb");
TemplateContext ctx = new_context();
context_set(&ctx, "theme", theme);

View File

@@ -63,7 +63,7 @@ int images_handler(UrlParams *params) {
context_set(&ctx, "theme", theme);
free(theme);
char *locale = get_locale("en_uk");
char *locale = get_locale("en_gb");
beaker_set_locale(&ctx, locale);
const char *rate_limit_msg = beaker_get_locale_value(locale, "rate_limit");

View File

@@ -461,7 +461,7 @@ int results_handler(UrlParams *params) {
context_set(&ctx, "theme", theme);
free(theme);
char *locale = get_locale("en_uk");
char *locale = get_locale("en_gb");
beaker_set_locale(&ctx, locale);
const char *rate_limit_msg = beaker_get_locale_value(locale, "rate_limit");

View File

@@ -16,7 +16,7 @@ int settings_handler(UrlParams *params) {
}
char *theme = get_theme("system");
char *locale = get_locale("en_uk");
char *locale = get_locale("en_gb");
LocaleInfo locales[32];
int locale_count = beaker_get_all_locales(locales, 32);