@@ -171,7 +171,7 @@ void I18n::initEngine() {
171171 engine.registerEntry (" ja_JP" , TXT_KEY_GRAPH_PURE_OUTPUTS, " 出力のみ" );
172172 //
173173
174- // ml_IN (Malayalam)
174+ // ml_IN (Malayalam)
175175 engine.registerEntry (" ml_IN" , TXT_KEY_PW_CENTER_TITLE, " PipeWire നിയന്ത്രണ കേന്ദ്രം" );
176176
177177 engine.registerEntry (" ml_IN" , TXT_KEY_BUTTON_APPS, " ആപ്പുകൾ" );
@@ -384,6 +384,28 @@ void I18n::initEngine() {
384384 engine.registerEntry (" el_GR" , TXT_KEY_GRAPH_ACTIVE_IO, " Ενεργές Είσοδοι/Έξοδοι" );
385385 engine.registerEntry (" el_GR" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Ενεργές Έξοδοι" );
386386 engine.registerEntry (" el_GR" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Καθαρές Έξοδοι" );
387+
388+ // es_ES (Spanish)
389+ engine.registerEntry (" es_ES" , TXT_KEY_PW_CENTER_TITLE, " Centro de Control de Pipewire" );
390+
391+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_APPS, " Aplicaciones" );
392+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_NODES, " Nodos" );
393+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_INPUTS, " Entradas" );
394+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_CONFIGURATION, " Configuración" );
395+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_GRAPH, " Grafo" );
396+
397+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_N_PORTS, [](const Hyprutils::I18n::translationVarMap& vars) {
398+ const auto count = std::stoi (vars.at (" count" ));
399+ if (count == 1 )
400+ return " 1 puerto" ;
401+ return " {count} puertos" ;
402+ });
403+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_PURE_INPUTS, " Entradas Puras" );
404+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Entradas Activas" );
405+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_UNCONNECTED_IO, " E/S sin Conexión" );
406+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_ACTIVE_IO, " E/S Activa" );
407+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Salidas Activas" );
408+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Salidas Puras" );
387409}
388410
389411std::string I18n::localize (eTextKeys key, const Hyprutils::I18n::translationVarMap& vars) {
0 commit comments