Update list of Sources in translator
This commit is contained in:
parent
dc87bfa303
commit
195c810606
2 changed files with 5 additions and 2 deletions
|
@ -206,6 +206,9 @@ class Translator @Inject internal constructor(
|
|||
Sources.Objectives -> TODO()
|
||||
Sources.Treatments -> TODO()
|
||||
Sources.Food -> TODO()
|
||||
Sources.ConfigBuilder -> TODO()
|
||||
Sources.Overview -> TODO()
|
||||
Sources.Stats -> TODO()
|
||||
*/
|
||||
Sources.Automation -> resourceHelper.gs(R.string.automation)
|
||||
Sources.Loop -> resourceHelper.gs(R.string.loop)
|
||||
|
|
|
@ -93,7 +93,7 @@ class UserEntryPresentationHelper @Inject constructor(
|
|||
is XXXValueWithUnit.UnitPerHour -> DecimalFormatter.to2Decimal(valueWithUnit.value) + translator.translate(UserEntry.Units.U_H)
|
||||
is XXXValueWithUnit.SimpleInt -> valueWithUnit.value.toString()
|
||||
is XXXValueWithUnit.SimpleString -> valueWithUnit.value
|
||||
is XXXValueWithUnit.StringResource -> resourceHelper.gs(valueWithUnit.value /*, valueWithUnit.params.map { it.value() }*/)
|
||||
is XXXValueWithUnit.StringResource -> resourceHelper.gs(valueWithUnit.value /*, valueWithUnit.params.map { it.value() }*/) //Todo Fix StringResource with Param
|
||||
is XXXValueWithUnit.TherapyEventMeterType -> translator.translate(valueWithUnit.value)
|
||||
is XXXValueWithUnit.TherapyEventTTReason -> translator.translate(valueWithUnit.value)
|
||||
is XXXValueWithUnit.TherapyEventType -> translator.translate(valueWithUnit.value)
|
||||
|
|
Loading…
Reference in a new issue