Minetest logo

IRC log for #minetest, 2022-10-18

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:07 Lesha_Vel joined #minetest
00:08 YuGiOhJCJ joined #minetest
00:08 sparky4 joined #minetest
00:14 diceLibrarian joined #minetest
00:24 diceLibrarian joined #minetest
00:37 olliy joined #minetest
01:03 smk joined #minetest
01:13 sys4 joined #minetest
01:17 diceLibrarian joined #minetest
01:33 Kilroy joined #minetest
01:36 diceLibrarian joined #minetest
02:11 sparky4 joined #minetest
02:45 diceLibrarian joined #minetest
02:57 Trifton joined #minetest
03:00 wallabra_ joined #minetest
03:46 wallabra_ joined #minetest
04:00 MTDiscord joined #minetest
04:00 sparky4 joined #minetest
04:17 calcul0n_ joined #minetest
05:01 fling joined #minetest
05:03 Lesha_Vel joined #minetest
05:05 Shorp_Tr joined #minetest
05:24 lemonzest joined #minetest
05:38 est31 joined #minetest
05:55 calcul0n joined #minetest
06:01 est31 joined #minetest
06:12 sys4 joined #minetest
06:24 fling joined #minetest
06:25 fling joined #minetest
07:01 TomTom joined #minetest
07:13 beanzilla_ joined #minetest
07:21 Flabb joined #minetest
07:42 cation joined #minetest
08:02 orwell96 joined #minetest
08:41 olliy joined #minetest
08:51 Flabb_ joined #minetest
09:06 orwell96 joined #minetest
09:06 fling joined #minetest
09:09 orwell96_ joined #minetest
09:21 orwell96_ joined #minetest
09:30 Fixer joined #minetest
09:42 Noisytoot joined #minetest
09:59 fluxionary joined #minetest
10:19 cation joined #minetest
10:29 bodiccea joined #minetest
11:33 Noisytoot joined #minetest
11:50 definitelya joined #minetest
11:57 fluxionary joined #minetest
11:58 cation joined #minetest
12:02 proller joined #minetest
12:28 lissobone This channel needs some extra fun.
12:29 lissobone That's why I proudly announce that I like mathematics because I can utilize it in my mods.
12:29 lissobone Well, and I like modding because I can use math.
12:35 fluxionary joined #minetest
12:46 MTDiscord <Scout> using math in mods? Illegal! :O
12:54 definitelya It really seems like #mnetest-dev is where everything happens, and this channel is only active when something off-topic enough happens there. :)
12:58 lissobone Well, I've got a question.
12:58 lissobone I'll first check the lua api to make sure I won't look like a dumbass.
12:59 lissobone Well, I am a dumbass, but at least I didn't fully make myself look that way.
13:02 Ingar joined #minetest
13:25 specing joined #minetest
13:45 MTDiscord <Scout> Only a slight dumbass :p
13:50 Fixer joined #minetest
13:54 MTDiscord <Abdou-31> Hi all
13:58 MTDiscord <Abdou-31> A quick question: in builtin/settingtypes.txt there is this line: > Comments and (Readable name) are handled by gettext. Where can I find gettext? I look in the lua_api.txt but there is no such a fonction. I could find in a file something like: lua if (core.gettext)  but I don't know where to find that.
13:59 MTDiscord <ROllerozxa> gettext is a translation library
13:59 MTDiscord <ROllerozxa> minetest uses it for the engine, but lua mods use another custom translation library which is more basic
14:00 MTDiscord <Abdou-31> Where can I find its definition?
14:01 MTDiscord <Abdou-31> Wait, it's a library not just a function/method?
14:03 MTDiscord <ROllerozxa> for gettext, there's core.gettext, fgettext and fgettext_ne inside of the main menu lua environment
14:05 MTDiscord <Abdou-31> Thx
14:12 proller joined #minetest
16:02 proller joined #minetest
16:10 wallabra_ joined #minetest
16:39 MTDiscord <Abdou-31> I'm really confused about "hard return" and "soft return". Are they encoded differently? Are two consecutive "new line" characters always interpreted as "hard return" whereas one new line character represents a soft line character?
16:40 MTDiscord <Abdou-31> This is what created this confusion in my head: https://github.com/minetest/minetest/issues/9068
16:42 MTDiscord <Abdou-31> I already knew that paragraph seperators (pressing Enter) are different from line seperator inside the same paragraph (Shift + Enter) but I have never thought about their encoding
16:46 rubenwardy The difference is purely in how you interpret them
16:46 rubenwardy So there's no real such thing as hard and soft returns
16:46 rubenwardy There's only lines delimited by new lines
16:47 rubenwardy The idea is that it should ignore new lines unless there's a blank new line
16:47 rubenwardy *unless there's a blank line
16:56 MTDiscord <Abdou-31> I see.
16:56 ely-the-kitsune joined #minetest
16:58 proller joined #minetest
17:01 MTDiscord <Abdou-31> Now, that comment in the settingtypes.txt file says: >Comments and (Readable name) are handled by gettext. so I assumed that gettext needed to be changed, but then I saw your comment on the PR: > I think it would be better to have some Lua code which removes all but double line breaks and I'm assuming that gettext is cpp not Lua. So what I understand is that some Lua code has to be made to pre-process the file before handing it to
17:01 MTDiscord gettext. Is that right?
17:02 rubenwardy the code that parses settingtypes.txt needs to be changed
17:03 rubenwardy this will cause merge conflicts with my settings redesign though
17:16 proller joined #minetest
17:17 MTDiscord <Abdou-31> Ok
17:18 ___nick___ joined #minetest
17:23 Talkless joined #minetest
17:24 garywhite joined #minetest
17:50 jaca122 joined #minetest
18:14 ___nick___ joined #minetest
18:16 ___nick___ joined #minetest
18:29 fling joined #minetest
18:31 fling joined #minetest
18:58 Trifton joined #minetest
19:03 ely-the-kitsune joined #minetest
19:05 sys4 joined #minetest
19:10 sys4 joined #minetest
19:30 fling joined #minetest
19:42 Talkless joined #minetest
19:43 ely-the-kitsune joined #minetest
19:44 orwell96 joined #minetest
19:51 diceLibrarian joined #minetest
19:55 ely-the-kitsune joined #minetest
20:31 Evergreen joined #minetest
20:41 proller joined #minetest
20:43 ely-the-kitsune joined #minetest
20:59 proller joined #minetest
21:08 sys4 joined #minetest
21:21 ely-the-kitsune joined #minetest
21:29 proller joined #minetest
21:30 Verticen joined #minetest
21:54 wallabra joined #minetest
22:03 MinetestBot [git] TurkeyMcMac -> minetest/minetest: Implement vector and node conversion in Lua (#12609) b38ffde https://github.com/minetest/minetest/commit/b38ffdec279bcded98e34f5116c8d676aa9f73a7 (2022-10-18T22:01:44Z)
22:03 MinetestBot [git] TurkeyMcMac -> minetest/minetest: Check for falling `float` nodes in liquid transform (#12862) dafdb3e https://github.com/minetest/minetest/commit/dafdb3edb4b65db144d72cd2274a657af671bdd1 (2022-10-18T22:03:05Z)
22:12 olliy1or joined #minetest
22:36 panwolfram joined #minetest
22:55 proller joined #minetest
23:09 Lesha_Vel joined #minetest
23:10 Lesha_Vel joined #minetest
23:21 peterz joined #minetest
23:23 robyn joined #minetest
23:40 AliasStillTaken joined #minetest
23:49 peterz joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext