feat: added translation for Fan (#641)

This commit is contained in:
Serhiy Mytrovtsiy
2021-09-24 18:51:51 +02:00
parent 73f423f67d
commit fc741b9bbc
25 changed files with 25 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ internal class FansReader: Reader<[Fan]> {
for i in 0..<Int(count) {
self.list.append(Fan(
id: i,
name: SMC.shared.getStringValue("F\(i)ID") ?? "Fan #\(i)",
name: SMC.shared.getStringValue("F\(i)ID") ?? "\(localizedString("Fan")) #\(i)",
minSpeed: SMC.shared.getValue("F\(i)Mn") ?? 1,
maxSpeed: SMC.shared.getValue("F\(i)Mx") ?? 1,
value: SMC.shared.getValue("F\(i)Ac") ?? 0,

View File

@@ -31,7 +31,7 @@ internal class x86_SensorsReader: SensorsReader {
self.list.append(Fan(
id: i,
key: "F\(i)Ac",
name: SMC.shared.getStringValue("F\(i)ID") ?? "Fan #\(i)",
name: SMC.shared.getStringValue("F\(i)ID") ?? "\(localizedString("Fan")) #\(i)",
minSpeed: SMC.shared.getValue("F\(i)Mn") ?? 1,
maxSpeed: SMC.shared.getValue("F\(i)Mx") ?? 1,
value: SMC.shared.getValue("F\(i)Ac") ?? 0,

View File

@@ -194,6 +194,7 @@
"Celsius" = "Целзиус";
"Fahrenheit" = "Фаренхайт";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Качване";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Nahrávání";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Lüftergeschwindigkeit speichern";
"Fan" = "Fan";
// Network
"Uploading" = "Upload";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Upload";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Carga";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Upload";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celzij";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Primanje";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Feltöltés";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Salva la velocità delle ventole";
"Fan" = "Fan";
// Network
"Uploading" = "Upload";

View File

@@ -194,6 +194,7 @@
"Celsius" = "摂氏(℃)";
"Fahrenheit" = "華氏(℉)";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "送信";

View File

@@ -194,6 +194,7 @@
"Celsius" = "섭씨";
"Fahrenheit" = "화씨";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "업로딩";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Lagre viftehastighet";
"Fan" = "Fan";
// Network
"Uploading" = "Opplasting";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Uploaden";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsjusz";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Zapisz prędkość wentylatora";
"Fan" = "Wentylator";
// Network
"Uploading" = "Wysyłanie";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Enviando";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Enviando";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Celsius";
"Fahrenheit" = "Fahrenheit";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Incarcă";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Цельсия";
"Fahrenheit" = "Фаренгейта";
"Save the fan speed" = "Сохранить скорость вентилятора";
"Fan" = "Вентилятор";
// Network
"Uploading" = "Выгрузка";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Santigrat";
"Fahrenheit" = "Fahrenhayt";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Yükleme";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Цельсія";
"Fahrenheit" = "Фаренгейта";
"Save the fan speed" = "Зберегти швидкість вентилятора";
"Fan" = "Вентилятор";
// Network
"Uploading" = "Висилання";

View File

@@ -194,6 +194,7 @@
"Celsius" = "Độ C";
"Fahrenheit" = "Độ F";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "Tải lên";

View File

@@ -194,6 +194,7 @@
"Celsius" = "摄氏度";
"Fahrenheit" = "华氏度";
"Save the fan speed" = "Save the fan speed";
"Fan" = "Fan";
// Network
"Uploading" = "上传";

View File

@@ -194,6 +194,7 @@
"Celsius" = "攝氏 (˚C)";
"Fahrenheit" = "華氏 (˚F)";
"Save the fan speed" = "儲存風扇速度";
"Fan" = "Fan";
// Network
"Uploading" = "上傳";