Skip to content

Commit b2175fa

Browse files
committed
feat(ios): add more device metrics
1 parent 6252c02 commit b2175fa

File tree

3 files changed

+356
-12
lines changed

3 files changed

+356
-12
lines changed

Localizable.xcstrings

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,6 +2634,46 @@
26342634
}
26352635
}
26362636
},
2637+
"Address" : {
2638+
"localizations" : {
2639+
"de" : {
2640+
"stringUnit" : {
2641+
"state" : "translated",
2642+
"value" : "Adresse"
2643+
}
2644+
},
2645+
"es" : {
2646+
"stringUnit" : {
2647+
"state" : "translated",
2648+
"value" : "Dirección"
2649+
}
2650+
},
2651+
"it" : {
2652+
"stringUnit" : {
2653+
"state" : "translated",
2654+
"value" : "Indirizzo"
2655+
}
2656+
},
2657+
"nl" : {
2658+
"stringUnit" : {
2659+
"state" : "translated",
2660+
"value" : "Adres"
2661+
}
2662+
},
2663+
"uk" : {
2664+
"stringUnit" : {
2665+
"state" : "translated",
2666+
"value" : "Адреса"
2667+
}
2668+
},
2669+
"zh-Hans" : {
2670+
"stringUnit" : {
2671+
"state" : "translated",
2672+
"value" : "地址"
2673+
}
2674+
}
2675+
}
2676+
},
26372677
"Address type" : {
26382678
"localizations" : {
26392679
"de" : {
@@ -5772,6 +5812,46 @@
57725812
}
57735813
}
57745814
},
5815+
"Completion percentage" : {
5816+
"localizations" : {
5817+
"de" : {
5818+
"stringUnit" : {
5819+
"state" : "translated",
5820+
"value" : "Fertigstellungsprozentsatz"
5821+
}
5822+
},
5823+
"es" : {
5824+
"stringUnit" : {
5825+
"state" : "translated",
5826+
"value" : "Porcentaje de finalización"
5827+
}
5828+
},
5829+
"it" : {
5830+
"stringUnit" : {
5831+
"state" : "translated",
5832+
"value" : "Percentuale di completamento"
5833+
}
5834+
},
5835+
"nl" : {
5836+
"stringUnit" : {
5837+
"state" : "translated",
5838+
"value" : "Voltooiingspercentage"
5839+
}
5840+
},
5841+
"uk" : {
5842+
"stringUnit" : {
5843+
"state" : "translated",
5844+
"value" : "Відсоток завершення"
5845+
}
5846+
},
5847+
"zh-Hans" : {
5848+
"stringUnit" : {
5849+
"state" : "translated",
5850+
"value" : "完成百分比"
5851+
}
5852+
}
5853+
}
5854+
},
57755855
"Configuration folder changed" : {
57765856
"localizations" : {
57775857
"de" : {
@@ -15274,6 +15354,46 @@
1527415354
}
1527515355
}
1527615356
},
15357+
"Last seen (ago)" : {
15358+
"localizations" : {
15359+
"de" : {
15360+
"stringUnit" : {
15361+
"state" : "translated",
15362+
"value" : "Zuletzt gesehen (vor)"
15363+
}
15364+
},
15365+
"es" : {
15366+
"stringUnit" : {
15367+
"state" : "translated",
15368+
"value" : "Visto por última vez (hace)"
15369+
}
15370+
},
15371+
"it" : {
15372+
"stringUnit" : {
15373+
"state" : "translated",
15374+
"value" : "Ultima vista (fa)"
15375+
}
15376+
},
15377+
"nl" : {
15378+
"stringUnit" : {
15379+
"state" : "translated",
15380+
"value" : "Laatst gezien (geleden)"
15381+
}
15382+
},
15383+
"uk" : {
15384+
"stringUnit" : {
15385+
"state" : "translated",
15386+
"value" : "Останній вхід (тому)"
15387+
}
15388+
},
15389+
"zh-Hans" : {
15390+
"stringUnit" : {
15391+
"state" : "translated",
15392+
"value" : "上次查看(前)"
15393+
}
15394+
}
15395+
}
15396+
},
1527715397
"Latency" : {
1527815398
"localizations" : {
1527915399
"de" : {
@@ -16434,6 +16554,86 @@
1643416554
}
1643516555
}
1643616556
},
16557+
"Needs (items)" : {
16558+
"localizations" : {
16559+
"de" : {
16560+
"stringUnit" : {
16561+
"state" : "translated",
16562+
"value" : "Benötigt (Elemente)"
16563+
}
16564+
},
16565+
"es" : {
16566+
"stringUnit" : {
16567+
"state" : "translated",
16568+
"value" : "Necesidades (elementos)"
16569+
}
16570+
},
16571+
"it" : {
16572+
"stringUnit" : {
16573+
"state" : "translated",
16574+
"value" : "Necessita (elementi)"
16575+
}
16576+
},
16577+
"nl" : {
16578+
"stringUnit" : {
16579+
"state" : "translated",
16580+
"value" : "Benodigd (items)"
16581+
}
16582+
},
16583+
"uk" : {
16584+
"stringUnit" : {
16585+
"state" : "translated",
16586+
"value" : "Потреби (елементи)"
16587+
}
16588+
},
16589+
"zh-Hans" : {
16590+
"stringUnit" : {
16591+
"state" : "translated",
16592+
"value" : "需求(项目)"
16593+
}
16594+
}
16595+
}
16596+
},
16597+
"Needs (size)" : {
16598+
"localizations" : {
16599+
"de" : {
16600+
"stringUnit" : {
16601+
"state" : "translated",
16602+
"value" : "Bedarf (Größe)"
16603+
}
16604+
},
16605+
"es" : {
16606+
"stringUnit" : {
16607+
"state" : "translated",
16608+
"value" : "Necesidades (tamaño)"
16609+
}
16610+
},
16611+
"it" : {
16612+
"stringUnit" : {
16613+
"state" : "translated",
16614+
"value" : "Necessità (dimensione)"
16615+
}
16616+
},
16617+
"nl" : {
16618+
"stringUnit" : {
16619+
"state" : "translated",
16620+
"value" : "Benodigd (grootte)"
16621+
}
16622+
},
16623+
"uk" : {
16624+
"stringUnit" : {
16625+
"state" : "translated",
16626+
"value" : "Потреби (розмір)"
16627+
}
16628+
},
16629+
"zh-Hans" : {
16630+
"stringUnit" : {
16631+
"state" : "translated",
16632+
"value" : "需求(大小)"
16633+
}
16634+
}
16635+
}
16636+
},
1643716637
"Network traversal" : {
1643816638
"localizations" : {
1643916639
"de" : {

Sushitrain/AppState.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ enum FolderMetric: String {
2828
enum DeviceMetric: String {
2929
case none = ""
3030
case latency = "latency"
31+
case needBytes = "needBytes"
32+
case needItems = "needItems"
33+
case completionPercentage = "completionPercentage"
34+
case shortID = "shortID"
35+
case lastSeenAgo = "lastSeenAgo"
36+
case lastAddress = "lastAddress"
3137
}
3238

3339
#if os(macOS)

0 commit comments

Comments
 (0)