From 6bcd7f96eb6a9622b3d10e91c0bb9c50e184652f Mon Sep 17 00:00:00 2001 From: Natxo <1172351+natxocc@users.noreply.github.com> Date: Sat, 28 Mar 2026 18:04:01 +0100 Subject: [PATCH] Update sigpro-ui.js --- ui/sigpro-ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/sigpro-ui.js b/ui/sigpro-ui.js index b3fb754..9d9ef55 100644 --- a/ui/sigpro-ui.js +++ b/ui/sigpro-ui.js @@ -13,7 +13,7 @@ const i18n = { let currentLocale = $("es"); /** SET LOCALE */ -export const SetLocale = (locale) => currentLocale(locale); +export const langUI = (locale) => currentLocale(locale); /** TRANSLATE */ const tt = (key) => () => i18n[currentLocale()][key] || key; @@ -1109,7 +1109,7 @@ export const UI = (defaultLang = "es") => { // Create UI object with all components const ui = { - SetLocale, tt, Button, Input, Select, Autocomplete, Datepicker, Colorpicker, + langUI, tt, Button, Input, Select, Autocomplete, Datepicker, Colorpicker, Checkbox, Radio, Range, Modal, Grid, Dropdown, Accordion, Tabs, Badge, Tooltip, Navbar, Menu, Drawer, Fieldset, List, Stack, Stat, Swap, Indicator, Rating, Alert, Timeline, Fab, Toast, Loading