@@ -8,6 +8,28 @@ void I18n::initEngine() {
88 engine.setFallbackLocale (" en_US" );
99 engineLocale = engine.getSystemLocale ().locale ();
1010
11+ // da_DK (Danish)
12+ engine.registerEntry (" da_DK" , TXT_KEY_PW_CENTER_TITLE, " Pipewire Kontrol Center" );
13+
14+ engine.registerEntry (" da_DK" , TXT_KEY_BUTTON_APPS, " Applikationer" );
15+ engine.registerEntry (" da_DK" , TXT_KEY_BUTTON_NODES, " Knuder" );
16+ engine.registerEntry (" da_DK" , TXT_KEY_BUTTON_INPUTS, " Indgange" );
17+ engine.registerEntry (" da_DK" , TXT_KEY_BUTTON_CONFIGURATION, " Konfiguration" );
18+ engine.registerEntry (" da_DK" , TXT_KEY_BUTTON_GRAPH, " Graf" );
19+
20+ engine.registerEntry (" da_DK" , TXT_KEY_GRAPH_N_PORTS, [](const Hyprutils::I18n::translationVarMap& vars) {
21+ const auto count = std::stoi (vars.at (" count" ));
22+ if (count == 1 )
23+ return " 1 port" ;
24+ return " {count} porte" ;
25+ });
26+ engine.registerEntry (" da_DK" , TXT_KEY_GRAPH_PURE_INPUTS, " Rene Indgange" );
27+ engine.registerEntry (" da_DK" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Aktive Indgange" );
28+ engine.registerEntry (" da_DK" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Uforbundne I/O" );
29+ engine.registerEntry (" da_DK" , TXT_KEY_GRAPH_ACTIVE_IO, " Aktive I/O" );
30+ engine.registerEntry (" da_DK" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Aktive Udgange" );
31+ engine.registerEntry (" da_DK" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Rene Udgange" );
32+
1133 // en_US (English)
1234 engine.registerEntry (" en_US" , TXT_KEY_PW_CENTER_TITLE, " Pipewire Control Center" );
1335
@@ -25,11 +47,56 @@ void I18n::initEngine() {
2547 });
2648 engine.registerEntry (" en_US" , TXT_KEY_GRAPH_PURE_INPUTS, " Pure Inputs" );
2749 engine.registerEntry (" en_US" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Active Inputs" );
28- engine.registerEntry (" en_US" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Unconnected IO " );
29- engine.registerEntry (" en_US" , TXT_KEY_GRAPH_ACTIVE_IO, " Active IO " );
50+ engine.registerEntry (" en_US" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Unconnected I/O " );
51+ engine.registerEntry (" en_US" , TXT_KEY_GRAPH_ACTIVE_IO, " Active I/O " );
3052 engine.registerEntry (" en_US" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Active Outputs" );
3153 engine.registerEntry (" en_US" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Pure Outputs" );
3254
55+ // it_IT (Italian)
56+ engine.registerEntry (" it_IT" , TXT_KEY_PW_CENTER_TITLE, " Impostazioni di Pipewire" );
57+
58+ engine.registerEntry (" it_IT" , TXT_KEY_BUTTON_APPS, " App" );
59+ engine.registerEntry (" it_IT" , TXT_KEY_BUTTON_NODES, " Uscite" );
60+ engine.registerEntry (" it_IT" , TXT_KEY_BUTTON_INPUTS, " Ingressi" );
61+ engine.registerEntry (" it_IT" , TXT_KEY_BUTTON_CONFIGURATION, " Configurazione" );
62+ engine.registerEntry (" it_IT" , TXT_KEY_BUTTON_GRAPH, " Grafo" );
63+
64+ engine.registerEntry (" it_IT" , TXT_KEY_GRAPH_N_PORTS, [](const Hyprutils::I18n::translationVarMap& vars) {
65+ const auto count = std::stoi (vars.at (" count" ));
66+ if (count == 1 )
67+ return " 1 porta" ;
68+ return " {count} porte" ;
69+ });
70+ engine.registerEntry (" it_IT" , TXT_KEY_GRAPH_PURE_INPUTS, " Ingressi puri" );
71+ engine.registerEntry (" it_IT" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Ingressi attivi" );
72+ engine.registerEntry (" it_IT" , TXT_KEY_GRAPH_UNCONNECTED_IO, " I/O non connesso" );
73+ engine.registerEntry (" it_IT" , TXT_KEY_GRAPH_ACTIVE_IO, " I/O Attivo" );
74+ engine.registerEntry (" it_IT" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Usicte attive" );
75+ engine.registerEntry (" it_IT" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Uscite non connesse" );
76+
77+ // fi_FI (Finnish)
78+ engine.registerEntry (" fi_FI" , TXT_KEY_PW_CENTER_TITLE, " Pipewire-ohjauskeskus" );
79+
80+ engine.registerEntry (" fi_FI" , TXT_KEY_BUTTON_APPS, " Sovellukset" );
81+ engine.registerEntry (" fi_FI" , TXT_KEY_BUTTON_NODES, " Solmut" );
82+ engine.registerEntry (" fi_FI" , TXT_KEY_BUTTON_INPUTS, " Sisääntulot" );
83+ engine.registerEntry (" fi_FI" , TXT_KEY_BUTTON_CONFIGURATION, " Asetukset" );
84+ engine.registerEntry (" fi_FI" , TXT_KEY_BUTTON_GRAPH, " Kaavio" );
85+
86+ engine.registerEntry (" fi_FI" , TXT_KEY_GRAPH_N_PORTS, [](const Hyprutils::I18n::translationVarMap& vars) {
87+ const auto count = std::stoi (vars.at (" count" ));
88+ if (count == 1 )
89+ return " 1 portti" ;
90+ return " {count} porttia" ;
91+ });
92+ engine.registerEntry (" fi_FI" , TXT_KEY_GRAPH_PURE_INPUTS, " Vain Sisääntulot" );
93+ engine.registerEntry (" fi_FI" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Aktiiviset Sisääntulot" );
94+ engine.registerEntry (" fi_FI" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Kytkemättömät Siirrännät" );
95+ engine.registerEntry (" fi_FI" , TXT_KEY_GRAPH_ACTIVE_IO, " Aktiiviset Siirrännät" );
96+ engine.registerEntry (" fi_FI" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Aktiiviset Ulostulot" );
97+ engine.registerEntry (" fi_FI" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Vain Ulostulot" );
98+ //
99+
33100 // fr_FR (French)
34101 engine.registerEntry (" fr_FR" , TXT_KEY_PW_CENTER_TITLE, " Centre de contrôle Pipewire" );
35102
@@ -52,6 +119,23 @@ void I18n::initEngine() {
52119 engine.registerEntry (" fr_FR" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Sorties actives" );
53120 engine.registerEntry (" fr_FR" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Sorties simples" );
54121
122+ // hu_HU (Hungarian)
123+ engine.registerEntry (" hu_HU" , TXT_KEY_PW_CENTER_TITLE, " PipeWire Vezérlőközpont" );
124+
125+ engine.registerEntry (" hu_HU" , TXT_KEY_BUTTON_APPS, " Alkalmazások" );
126+ engine.registerEntry (" hu_HU" , TXT_KEY_BUTTON_NODES, " Csomópontok" );
127+ engine.registerEntry (" hu_HU" , TXT_KEY_BUTTON_INPUTS, " Bemenetek" );
128+ engine.registerEntry (" hu_HU" , TXT_KEY_BUTTON_CONFIGURATION, " Beállítások" );
129+ engine.registerEntry (" hu_HU" , TXT_KEY_BUTTON_GRAPH, " Gráf" );
130+
131+ engine.registerEntry (" hu_HU" , TXT_KEY_GRAPH_N_PORTS, " {count} port" );
132+ engine.registerEntry (" hu_HU" , TXT_KEY_GRAPH_PURE_INPUTS, " Tiszta bemenetek" );
133+ engine.registerEntry (" hu_HU" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Aktív bemenetek" );
134+ engine.registerEntry (" hu_HU" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Nem csatlakoztatott I/O" );
135+ engine.registerEntry (" hu_HU" , TXT_KEY_GRAPH_ACTIVE_IO, " Aktív I/O" );
136+ engine.registerEntry (" hu_HU" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Aktív kimenetek" );
137+ engine.registerEntry (" hu_HU" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Tiszta kimenetek" );
138+
55139 // id_ID (Indonesian)
56140 engine.registerEntry (" id_ID" , TXT_KEY_PW_CENTER_TITLE, " Pusat Kontrol Pipewire" );
57141
@@ -163,6 +247,32 @@ void I18n::initEngine() {
163247 engine.registerEntry (" pl_PL" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Czyste wyjścia" );
164248 //
165249
250+ // sl_SI (Slovenian)
251+ engine.registerEntry (" sl_SI" , TXT_KEY_PW_CENTER_TITLE, " Pipewire Nadzorna Plošča" );
252+ engine.registerEntry (" sl_SI" , TXT_KEY_BUTTON_APPS, " Aplikacije" );
253+ engine.registerEntry (" sl_SI" , TXT_KEY_BUTTON_NODES, " Vozlišča" );
254+ engine.registerEntry (" sl_SI" , TXT_KEY_BUTTON_INPUTS, " Vhodi" );
255+ engine.registerEntry (" sl_SI" , TXT_KEY_BUTTON_CONFIGURATION, " Konfiguracija" );
256+ engine.registerEntry (" sl_SI" , TXT_KEY_BUTTON_GRAPH, " Graf" );
257+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_N_PORTS, [](const Hyprutils::I18n::translationVarMap& vars) {
258+ const auto count = std::stoi (vars.at (" count" ));
259+ if (count == 1 )
260+ return " {count} priključek" ;
261+ if (count == 2 )
262+ return " {count} priključka" ;
263+ if (count == 3 || count == 4 )
264+ return " {count} priključki" ;
265+
266+ return " {count} priključkov" ;
267+ });
268+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_PURE_INPUTS, " Čisti vhodi" );
269+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Aktivni vhodi" );
270+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Nepovezani vhodi/izhodi" );
271+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_ACTIVE_IO, " Aktivni vhodi/izhodi" );
272+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Aktivni izhodi" );
273+ engine.registerEntry (" sl_SI" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Čisti izhodi" );
274+ //
275+
166276 // tr_TR (Turkish)
167277 engine.registerEntry (" tr_TR" , TXT_KEY_PW_CENTER_TITLE, " Pipewire Kontrol Merkezi" );
168278
@@ -175,8 +285,8 @@ void I18n::initEngine() {
175285 engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_N_PORTS, " {count} port" );
176286 engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_PURE_INPUTS, " Saf Girişler" );
177287 engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_ACTIVE_INPUTS, " Aktif Girişler" );
178- engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Bağlanmamış IO " );
179- engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_ACTIVE_IO, " Aktif IO " );
288+ engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_UNCONNECTED_IO, " Bağlanmamış I/O " );
289+ engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_ACTIVE_IO, " Aktif I/O " );
180290 engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_ACTIVE_OUTPUTS, " Aktif Çıkışlar" );
181291 engine.registerEntry (" tr_TR" , TXT_KEY_GRAPH_PURE_OUTPUTS, " Saf Çıkışlar" );
182292 //
0 commit comments