diff --git a/src/l10n.h b/src/l10n.h index 8986ee3..738f380 100644 --- a/src/l10n.h +++ b/src/l10n.h @@ -41,6 +41,7 @@ enum l10n_string /* CONFIG */ L10N_GENERAL, + L10N_ACCOUNT, L10N_JAVASCRIPT, L10N_CFG_QUICK_ACTIONS, L10N_CFG_QUICK_REPLY, @@ -117,6 +118,7 @@ static const char* const L10N[][_L10N_LEN] = { /* CONFIG */ "General", + "Account", "JavaScript", "Quick actions - Likes, Boosts, etc done in background", "Quick reply - Replies don't require redirects", @@ -190,6 +192,7 @@ static const char* const L10N[][_L10N_LEN] = { /* CONFIG */ "General", + "Account", "JavaScript", "Acciones rápidas - Me gusta, Impulsos, etc. se hacen en segundo plano", "Respuesta rápidas - Las respuestas no requieren redirección", diff --git a/src/page_config.c b/src/page_config.c index 0a78796..80a1737 100644 --- a/src/page_config.c +++ b/src/page_config.c @@ -37,7 +37,8 @@ enum config_category { CONFIG_CAT_GENERAL, - CONFIG_CAT_APPEARANCE + CONFIG_CAT_APPEARANCE, + CONFIG_CAT_ACCOUNT }; static char* construct_config_sidebar(enum config_category cat, size_t* size) @@ -49,7 +50,10 @@ static char* construct_config_sidebar(enum config_category cat, size_t* size) L10N[L10N_EN_US][L10N_GENERAL], CAT_TEXT(cat, CONFIG_CAT_APPEARANCE), config_url_prefix, - L10N[L10N_EN_US][L10N_APPEARANCE]); + L10N[L10N_EN_US][L10N_APPEARANCE], + CAT_TEXT(cat, CONFIG_CAT_ACCOUNT), + config_url_prefix, + L10N[L10N_EN_US][L10N_ACCOUNT]); if (size) *size = s; return sidebar_html; } diff --git a/static/config_sidebar.html b/static/config_sidebar.html index 2193ea4..2b18ff1 100644 --- a/static/config_sidebar.html +++ b/static/config_sidebar.html @@ -1,4 +1,5 @@