isabellaalstrom / lovelace-pollenprognos-card

12 stars 7 forks source link

Language #7

Open th00mas88 opened 2 years ago

th00mas88 commented 2 years ago

Is there a way to change the language or edit the names at all of the cards ?

AseKarlsson commented 1 year ago

Agree on this, tried to change to:

} _text(state){ if(state == -1) return "No Levels"; if(state == 0) return "No Levels"; if(state == 1) return "Low Levels"; if(state == 2) return "Low-Moderate Levels"; if(state == 3) return "Moderate Levels"; if(state == 4) return "Moderate-High Levels"; if(state == 5) return "High Levels"; if(state == 6) return "Very High Levels"; if(state == 7) return "Extrem Levels"; return state; }

But no response in the UI