Stupid Node Name Capitalization Convention

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Stupid Node Name Capitalization Convention

by Wuzzy » Wed Jun 04, 2014 20:54

Hi! I Have A Simple Suggestion To All Mod Makers (Including Those Of game_minetest).

Can We Please Stop The Convention To Write Every Single Word Capitalized In The Node Descriptions? I Think It Is A) Stupid B) Not Proper English Because It Looks Like These Were Proper Names But They Are Just Descriptions So It Is Wrong And C) It Looks Stupid When You Have To Write About These Nodes In The Wiki, Eg.
Clay can be found on sand beaches (underwater). They drop 4 Clay Lumps when mined.


Therefore I Want To Have Node Descriptions In Proper English, Eg. Instead Of Writing “Junglewood Slab” It Should Be Written “junglewood slab”.

I Already Started To Break This Annoying And Stupid Convention In My Mod “Geology”.

Do You Agree With The Suggestion?
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

Re: Stupid Node Name Capitalization Convention

by Bas080 » Wed Jun 04, 2014 21:10

Agree, current mods i am working on use the proper conventions for capitalization. If i'm not sure then i'll make sure to google it.

EDIT: If first letter is always capitalized i think capitalization should be done by the core or some kind of cascading stylesheet. JK. Serious about the capitalization though.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Stupid Node Name Capitalization Convention

by rubenwardy » Wed Jun 04, 2014 22:32

They are titles. I think it should be like this. With the wiki, you don't need to put the caps

[[Iron Lumps||iron lumps]]
 

User avatar
HeroOfTheWinds
Member
 
Posts: 470
Joined: Wed Apr 23, 2014 23:16
GitHub: HeroOfTheWinds
IRC: WindHero

Re: Stupid Node Name Capitalization Convention

by HeroOfTheWinds » Wed Jun 04, 2014 22:37

Just refer to everything by it's ItemString, lol.
default:iron_lump
Nam ex spatio, omnes res venire possunt.
Why let the ground limit you when you can reach for the sky?
Back to college now, yay for sophomore year schedules. :P
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Stupid Node Name Capitalization Convention

by philipbenr » Thu Jun 05, 2014 01:05

yep. A agree.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Stupid Node Name Capitalization Convention

by paramat » Thu Jun 05, 2014 05:07

Agreed, i only do it because minetest game does, but its a bad convention ... i'll now change to one capital.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Stupid Node Name Capitalization Convention

by Wuzzy » Thu Jun 05, 2014 12:57

Mmmh, I may be okay with capitalizing the first letter only. However, stuff breaks if you use the description anywhere else than just for tooltips, eg. in the middle of a sentence. Therefore, I do not view the descriptions as titles. I view descriptions as descriptions. ;-)
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

Re: Stupid Node Name Capitalization Convention

by Casimir » Thu Jun 05, 2014 13:43

So one capital or all minimal? If we change the convention we should agree on one standard, not to have two new competing ones.
Minecraft by the way is doing every word capital e.g. "Oak Wood".
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Stupid Node Name Capitalization Convention

by Wuzzy » Thu Jun 05, 2014 14:05

Well, I clearly prefer the complete lower-case version and use only upper case if there is actually a proper name involved (eg. “Peter’s example node”). For titles and captions some code magic could be use to make the first letter capitalized again (assuming the English version of Minetest is used).
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Stupid Node Name Capitalization Convention

by Krock » Thu Jun 05, 2014 14:53

I Agree.
Caps In First Letter - All Other With Small Ones.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Stupid Node Name Capitalization Convention

by rubenwardy » Fri Jun 06, 2014 12:36

I still like the current format in descriptions for captions. All lower case would irritate me almost as much as a missing close bracket. Just make it lower case for the wiki in paragraphs. Upper case for titles and tool tips.
 

User avatar
vqrulane
Member
 
Posts: 17
Joined: Thu Dec 13, 2012 16:33

Re: Stupid Node Name Capitalization Convention

by vqrulane » Sun Nov 23, 2014 22:08

I'vE gOt A bEtTeR sOlUtIoN!
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Stupid Node Name Capitalization Convention

by Don » Tue Nov 25, 2014 13:20

I see the description as a title instead of a description. It does not describe the node it only names it in most cases. It is like book titles. Some words (eg. and, with, of) would be lower case but most words have first letter capitalized.
I like it this way but if we decide to have a standard I will support it even if it isn't what I want.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Stupid Node Name Capitalization Convention

by Calinou » Tue Nov 25, 2014 17:38

I agree with this, but my mods try to integrate the default game as well as possible.

Old versions used to use “Lump of clay” instead of “Clay Lump”, which I prefer too.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

Re: Stupid Node Name Capitalization Convention

by 4aiman » Wed Nov 26, 2014 10:53

TL;DR
Before imposing some new rules, make sure you've followed the old ones. Like licences and contributor's permit.


The actual opinion:
+ Spoiler
 

User avatar
Linuxdirk
Member
 
Posts: 497
Joined: Wed Sep 17, 2014 11:21
GitHub: dsohler
In-game: Linuxdirk

Re: Stupid Node Name Capitalization Convention

by Linuxdirk » Wed Nov 26, 2014 14:46

Wuzzy wrote:Do You Agree With The Suggestion?

Not in general. The descriptions within the game should be seen as titles (mostly upper-case words). When referring to them in continuous text they should fit into that text (e.g. lower-case, conjugated if necessary, etc.).

… the wiki … Maybe create a template for all default items and nodes.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
It drops 4 {{default|iron_lump|iron lumps}}

And the wiki software generates “It drops 4 iron lumps” from that text where “iron lumps” is a link to http://wiki.minetest.com/wiki/Iron_lump and has a title="" attribute containing “default:iron_lump”.

It first sounds complicated, but it’s actually a pretty easy one-liner.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Stupid Node Name Capitalization Convention

by rubenwardy » Wed Nov 26, 2014 15:56

You are saying that this isn't hacky:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if RUS then
    minetest.register_item({
         description = "russian text"
    })
else
    minetest.register_item({
         description = "english text"
    })
end


Basically hard coding languages, rather than allowing locale files?

I also don't understand your thread point. What are you talking about? The thread title, ie, [Mod], isn't a guideline, it is required for a mod to be in the release section. The owners of the forum and GitHub have the right to make rules and ban you or not accept pull requests if you don't follow them. (Except where the rules go against GPL, but that is nothing to do with code style.)

Forum Information and Guidelines wrote:Subject of topic must be in one of these formats

Notice the 'must'.

If you're talking about Minetest related projects, I agree the [] tags are unneeded, but I can't edit that topic.
EDIT: I asked a moderator to do it.
 

User avatar
Linuxdirk
Member
 
Posts: 497
Joined: Wed Sep 17, 2014 11:21
GitHub: dsohler
In-game: Linuxdirk

Re: Stupid Node Name Capitalization Convention

by Linuxdirk » Wed Nov 26, 2014 18:29

rubenwardy wrote:You are saying that this isn't hacky:

No, this isn’t hacky. This is stupidity that can be used as example of how it shouldn't be done in Coding 101.

There is exactly only ONE proper solution how translations are realized, and this is using gettext.

rubenwardy wrote:What are you talking about?

As far as I understand it’s about naming conventions (has NOTHING to do with coding).
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

by Hybrid Dog » Mon Dec 01, 2014 18:28

I think the Capitation of every word in descriptions is like the wielding a torch about water transparency bug just one of the features copied from the other game (mc), same for the flowers, a viola > 0.5m, and trees, taking a 1m³ trunk from a tree in less than 1min by bare hand, and more. l'll change the descriptions.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 16 guests

cron