IRC logs for #farmOS, 2019-08-23 (GMT)

2019-08-22
2019-08-24
TimeNickMessage
[20:21:25]* JustTB has quit (Quit: Leaving.)
[20:21:47]* JustTB has joined #farmos
[20:22:03]* JustTB has quit (Client Quit)
[20:22:51]* JustTB has joined #farmos
[20:23:04]* JustTB has quit (Client Quit)
[20:27:49]* JustTB has joined #farmos
[20:28:04]* JustTB has quit (Client Quit)
[20:39:21]* JustTB has joined #farmos
[20:39:36]* JustTB has quit (Client Quit)
[20:41:00]* JustTB has joined #farmos
[23:31:24]* JustTB has quit (Quit: Leaving.)
[01:39:43]<skipper_is[m]1>https://github.com/Skipper-is/micropython_farmOS.py
[01:39:43]<skipper_is[m]1>I have implemented all of the functions from the original farmOS.py, but I have yet to test it.....
[01:40:00]<skipper_is[m]1>Feel free to give it a spin if you've got micropython, and find the bugs!
[05:10:38]<skipper_is[m]1>Is it possible to rename field types? Like rename paddock as pasture? Just changing the display name, don't need to change anything else, taxonomy term?
[07:14:05]<skipper_is[m]1>I'm not sure whether this was the right approach, but I edited farm_livestock/farm_livestock_area_types/farm_livestock_area_types.farm_area.inc and just renamed it there... Not sure whether that is going to cause issues elsewhere...It is just the label, so nothing should really be using that to identify it...
[07:32:56]* JustTB has joined #farmos
[07:55:34]* jcapitao has joined #farmos
[07:55:53]* jcapitao has left #farmos ("WeeChat 2.4")
[08:07:48]<mstenta[m]>That will work
[08:08:01]<mstenta[m]>But it will revert back when you update farmOS
[08:08:12]<mstenta[m]>Unless you maintain that override manually
[08:08:35]<mstenta[m]>Another option might be to translate it
[08:08:50]<mstenta[m]>(just that one word)
[08:09:05]<mstenta[m]>The t() function is used for string replacement like that
[08:10:00]<mstenta[m]>Another option would be to add a new field type called pasture in addition to the built in paddock one
[08:10:29]<mstenta[m]>You could do that in a simple custom module that persists through farmOS updates
[08:10:55]<mstenta[m]>hook_farm_area_types()
[08:11:00]<mstenta[m]>Iirc
[08:11:28]<mstenta[m]>https://farmos.org/hosting/localization/
[08:12:23]<mstenta[m]>https://github.com/farmOS/farmOS/blob/e22c149a8f8ecf01126e95a786782ef9a2...
[08:12:49]<mstenta[m]>https://github.com/farmOS/farmOS/blob/7.x-1.x/modules/farm/farm_area/far...
[09:12:56]* JustTB has quit (Quit: Leaving.)
[10:09:13]* JustTB has joined #farmos
[10:13:35]* JustTB has quit (Ping timeout: 250 seconds)
[10:15:34]* JustTB has joined #farmos
[10:37:54]* JustTB has quit (Ping timeout: 258 seconds)
[11:19:22]* JustTB has joined #farmos
[11:33:08]* JustTB has quit (Quit: Leaving.)
[11:34:40]* JustTB has joined #farmos
[12:03:48]* JustTB has quit (Ping timeout: 245 seconds)
[12:48:12]* JustTB has joined #farmos
[12:56:42]* JustTB has quit (Ping timeout: 245 seconds)
[12:57:53]* JustTB has joined #farmos
[14:53:39]* JustTB has quit (Ping timeout: 244 seconds)
[15:45:30]* JustTB has joined #farmos
[17:22:30]* JustTB has quit (Ping timeout: 272 seconds)