@@ -122,18 +122,18 @@ void I18n::initEngine() {
122122 if (count == 1 )
123123 return " {count} priključek" ;
124124 if (count == 2 )
125- return " {count} priključka" ;
125+ return " {count} priključka" ;
126126 if (count == 3 || count == 4 )
127127 return " {count} priključki" ;
128-
128+
129129 return " {count} priključkov" ;
130130 });
131131 engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_PURE_INPUTS, " Čisti vhodi" );
132132 engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Aktivni vhodi" );
133133 engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Nepovezani vhodi/izhodi" );
134134 engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_ACTIVE_IO, " Aktivni vhodi/izhodi" );
135135 engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Aktivni izhodi" );
136- engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Čisti izhodi" );
136+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Čisti izhodi" );
137137 //
138138
139139 // pl_PL (Polish)
@@ -202,6 +202,28 @@ void I18n::initEngine() {
202202 engine.registerEntry (" el_GR" , TXT_KEY_GRAPH_ACTIVE_IO, " Ενεργές Είσοδοι/Έξοδοι" );
203203 engine.registerEntry (" el_GR" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Ενεργές Έξοδοι" );
204204 engine.registerEntry (" el_GR" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Καθαρές Έξοδοι" );
205+
206+ // es_ES (Spanish)
207+ engine.registerEntry (" es_ES" , TXT_KEY_PW_CENTER_TITLE, " Centro de Control de Pipewire" );
208+
209+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_APPS, " Aplicaciones" );
210+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_NODES, " Nodos" );
211+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_INPUTS, " Entradas" );
212+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_CONFIGURATION, " Configuración" );
213+ engine.registerEntry (" es_ES" , TXT_KEY_BUTTON_GRAPH, " Grafo" );
214+
215+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_N_PORTS, [](const Hyprutils::I18n::translationVarMap& vars) {
216+ const auto count = std::stoi (vars.at (" count" ));
217+ if (count == 1 )
218+ return " 1 puerto" ;
219+ return " {count} puertos" ;
220+ });
221+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_PURE_INPUTS, " Entradas Puras" );
222+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Entradas Activas" );
223+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_UNCONNECTED_IO, " E/S sin Conexión" );
224+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_ACTIVE_IO, " E/S Activa" );
225+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Salidas Activas" );
226+ engine.registerEntry (" es_ES" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Salidas Puras" );
205227}
206228
207229std::string I18n::localize (eTextKeys key, const Hyprutils::I18n::translationVarMap& vars) {
0 commit comments