Community Support

Shortening Measurements  

  RSS
AlanYoungblood
(@alanyoungblood)
Eminent Member

Hi Pierre,

I see others are have the same problems fitting Measurement names in labels and titles - "Accumulated Rainfall for the last hour", etc.  I saw one response where this was going to be customization avaialable in v. 3.5. I'm running the latest version but can't see where to change this. 

The site is http://blazetheweatherhorse.com

Thanks for your help

ReplyQuote
Posted : 06/01/2019 6:29 am
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Hi Alan!

You're right, but the behavior of the WordPress translation scheme made me push the release of this feature to version 4.x...

I'm sorry.

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 07/01/2019 9:42 pm
AlanYoungblood
(@alanyoungblood)
Eminent Member

Is there some way to change it in the code for a temporary fix?

ReplyQuote
Posted : 07/01/2019 9:51 pm
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Yes, you can hack the get_measurement_type method in the ../live-weather-station/includes/traits/DataTypeDescription.php file. But it's a tricky business...

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 07/01/2019 9:57 pm
AlanYoungblood
(@alanyoungblood)
Eminent Member

I always hack stuff on a copy. lol

Would the change be wiped out every time you upgrade the plug in?

ReplyQuote
Posted : 07/01/2019 10:01 pm
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Yes.

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 07/01/2019 10:03 pm
AlanYoungblood
(@alanyoungblood)
Eminent Member

That's what I was afraid of. I'll just wait until you get a chance to work on it 

ReplyQuote
Posted : 07/01/2019 10:49 pm
Pierre Lannoy
(@pierre-lannoy)
Member Admin

If this is so important to you, I can try to put it in version 3.8... But this will require to bypass some behaviors of the WordPress translation system, and I'm not sure if it's "safely" workable. Let me 7-8 days to see how (and if) I can do it with the current translation system...

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 07/01/2019 10:54 pm
AlanYoungblood
(@alanyoungblood)
Eminent Member

Thank you Pierre, I spend some time exploring the options for identifying Low and high temperatures of the day and the best I can come up with is what you see now at http://blazetheweatherhorse.com . I think people, when they see what the values are, will understand which is the high and low temp for the day. I don't think it's worth completely tearing up your whole development schedule for a couple of labels. I'll just change it when you get to it. 

This post was modified 2 weeks ago by AlanYoungblood
ReplyQuote
Posted : 08/01/2019 2:50 am
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Hello!

It will be in version 3.8  😊 

Thanks for the suggestion...

PS: post moved from "general question" to "ideas & suggestions".

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 09/01/2019 9:15 pm

  
Working

To participate, please connect first!