Skip to content

Commit

Permalink
lang: added missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
exelban committed Oct 26, 2024
1 parent 905ce8f commit bd3da69
Show file tree
Hide file tree
Showing 40 changed files with 228 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Kit/Widgets/Speed.swift
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ public class SpeedWidget: WidgetWrapper {
self.displayModeView = displayMode

let sensorWidgetValue = SensorsWidgetValue.map { v in
var value = v.value.replacingOccurrences(of: "input", with: self.words.input, options: .literal, range: nil)
value = value.replacingOccurrences(of: "output", with: self.words.output, options: .literal, range: nil)
var value = v.value.replacingOccurrences(of: "input", with: localizedString(self.words.input), options: .literal, range: nil)
value = value.replacingOccurrences(of: "output", with: localizedString(self.words.output), options: .literal, range: nil)
return KeyValue_t(key: v.key, value: value)
}

Expand Down
4 changes: 2 additions & 2 deletions Modules/Disk/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@
<key>Words</key>
<dict>
<key>Output</key>
<string>Write</string>
<string>Write speed</string>
<key>Input</key>
<string>Read</string>
<string>Read speed</string>
</dict>
<key>Order</key>
<integer>5</integer>
Expand Down
4 changes: 2 additions & 2 deletions Modules/Net/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<key>Words</key>
<dict>
<key>Output</key>
<string>Upload</string>
<string>Upload speed</string>
<key>Input</key>
<string>Download</string>
<string>Download speed</string>
</dict>
<key>Order</key>
<integer>1</integer>
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/ar.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "استخدام القرص";
"Total read" = "إجمالي القراءة";
"Total written" = "إجمالي الكتابة";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "وحدة الحرارة";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "نشاط الشبكة";
"Last reset" = "آخر إعادة تعيين منذ %0";
"Latency" = "تأخير";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "المستوى";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "المنطقة الزمنية";
"Local" = "محلي";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "بناءً على الاستخدام";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/bg.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk usage";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Температурна единица";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Network activity";
"Last reset" = "Last reset %0 ago";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Ниво";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Time zone";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "На база утилизация";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/ca.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk usage";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Unitat de temperatura";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Network activity";
"Last reset" = "Last reset %0 ago";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Nivell";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Time zone";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Basat en l'utilització";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/cs.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk usage";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Jednotka teploty";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Network activity";
"Last reset" = "Last reset %0 ago";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Úroveň";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Time zone";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Na základě využití";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/da.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk brug";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Temperaturenhed";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Netværksaktivitet";
"Last reset" = "Sidste nulstilling %0 siden";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Niveau";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Tidszone";
"Local" = "Lokalt";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Baseret på brug";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Speichernutzung";
"Total read" = "Insgesamt gelesen";
"Total written" = "Insgesamt geschrieben";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Temperatureinheit";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Netzwerkaktivität";
"Last reset" = "Letztes Zurücksetzen vor %0";
"Latency" = "Latenz";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Ladezustand";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Zeitzone";
"Local" = "Lokal";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Basierend auf Auslastung";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/el.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk usage";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Μονάδα θερμοκρασίας";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Network activity";
"Last reset" = "Last reset %0 ago";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Επίπεδο";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Time zone";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Βάσει της χρήσης";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/en-GB.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk usage";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Temperature unit";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Network activity";
"Last reset" = "Last reset %0 ago";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Level";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Time zone";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Based on utilisation";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk usage";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Temperature unit";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Network activity";
"Last reset" = "Last reset %0 ago";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Level";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Time zone";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Based on utilization";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Uso del disco";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Unidad de temperatura";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Actividad de red";
"Last reset" = "Último reinicio hace %0";
"Latency" = "Latencia";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Nivel";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Zona horaria";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Basado en utilización";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/et.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Kettakasutus";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Temperatuuri ühik";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Võrgutegevus";
"Last reset" = "Viimane lähtestamine %0 tagasi";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Tase";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Ajavöönd";
"Local" = "Kohalik";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Põhineb kasutusel";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/fa.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Disk usage";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "واحد دما";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "Network activity";
"Last reset" = "Last reset %0 ago";
"Latency" = "Latency";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "سطح";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Time zone";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "بر اساس استفاده";
Expand Down
6 changes: 6 additions & 0 deletions Stats/Supporting Files/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
"Disk usage" = "Utilisation du disque";
"Total read" = "Total read";
"Total written" = "Total written";
"Write speed" = "Write";
"Read speed" = "Read";

// Sensors
"Temperature unit" = "Unité de température";
Expand Down Expand Up @@ -377,6 +379,8 @@
"Network activity" = "L'activité réseau";
"Last reset" = "Dernière réinitialisation il y a %0";
"Latency" = "Latence";
"Upload speed" = "Upload";
"Download speed" = "Download";

// Battery
"Level" = "Niveau";
Expand Down Expand Up @@ -424,6 +428,8 @@
// Clock
"Time zone" = "Fuseau horaire";
"Local" = "Local";
"Calendar" = "Calendar";
"Local time" = "Local time";

// Colors
"Based on utilization" = "Basé sur l'utilisation";
Expand Down
Loading

0 comments on commit bd3da69

Please sign in to comment.