Skip to content

Commit 8ea8633

Browse files
Ezhhparamat
authored andcommittedNov 14, 2017
Mainmenu: Make capitalisation consistent in mainmenu and advanced settings
1 parent a0c8c05 commit 8ea8633

File tree

4 files changed

+29
-29
lines changed

4 files changed

+29
-29
lines changed
 

‎builtin/mainmenu/tab_mods.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ local function get_formspec(tabview, name, tabdata)
7474
end
7575

7676
retval = retval ..
77-
"label[5.5,1.7;".. fgettext("Mod information:") .. "]" ..
77+
"label[5.5,1.7;".. fgettext("Mod Information:") .. "]" ..
7878
"textlist[5.5,2.2;6.2,2.4;description;"
7979

8080
for i=1,#descriptionlines,1 do
@@ -87,7 +87,7 @@ local function get_formspec(tabview, name, tabdata)
8787
"button[10,4.85;2,0.5;btn_mod_mgr_rename_modpack;" ..
8888
fgettext("Rename") .. "]"
8989
retval = retval .. "button[5.5,4.85;4.5,0.5;btn_mod_mgr_delete_mod;"
90-
.. fgettext("Uninstall selected modpack") .. "]"
90+
.. fgettext("Uninstall Selected Modpack") .. "]"
9191
else
9292
--show dependencies
9393
local toadd_hard, toadd_soft = modmgr.get_dependencies(selected_mod.path)
@@ -110,7 +110,7 @@ local function get_formspec(tabview, name, tabdata)
110110
retval = retval .. ";0]"
111111

112112
retval = retval .. "button[5.5,4.85;4.5,0.5;btn_mod_mgr_delete_mod;"
113-
.. fgettext("Uninstall selected mod") .. "]"
113+
.. fgettext("Uninstall Selected Mod") .. "]"
114114
end
115115
end
116116
return retval

‎builtin/mainmenu/tab_settings.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ local function formspec(tabview, name, tabdata)
201201
"dropdown[4.25,2.6;3.5;dd_antialiasing;" .. dd_options.antialiasing[1] .. ";"
202202
.. getSettingIndex.Antialiasing() .. "]" ..
203203
"label[4.25,3.45;" .. fgettext("Screen:") .. "]" ..
204-
"checkbox[4.25,3.6;cb_autosave_screensize;" .. fgettext("Autosave screen size") .. ";"
204+
"checkbox[4.25,3.6;cb_autosave_screensize;" .. fgettext("Autosave Screen Size") .. ";"
205205
.. dump(core.settings:get_bool("autosave_screensize")) .. "]" ..
206206
"box[8,0;3.75,4.5;#999999]" ..
207207
"checkbox[8.25,0;cb_shaders;" .. fgettext("Shaders") .. ";"
@@ -214,7 +214,7 @@ local function formspec(tabview, name, tabdata)
214214
else
215215
tab_string = tab_string ..
216216
"button[8,4.75;4,1;btn_change_keys;"
217-
.. fgettext("Change keys") .. "]"
217+
.. fgettext("Change Keys") .. "]"
218218
end
219219

220220
tab_string = tab_string ..

‎builtin/mainmenu/tab_texturepacks.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ end
5151
--------------------------------------------------------------------------------
5252
local function get_formspec(tabview, name, tabdata)
5353

54-
local retval = "label[4,-0.25;" .. fgettext("Select texture pack:") .. "]" ..
54+
local retval = "label[4,-0.25;" .. fgettext("Select Texture Pack:") .. "]" ..
5555
"textlist[4,0.25;7.5,5.0;TPs;"
5656

5757
local current_texture_path = core.settings:get("texture_path")
@@ -128,7 +128,7 @@ end
128128
--------------------------------------------------------------------------------
129129
return {
130130
name = "texturepacks",
131-
caption = fgettext("Texturepacks"),
131+
caption = fgettext("Texture Packs"),
132132
cbf_formspec = get_formspec,
133133
cbf_button_handler = main_button_handler,
134134
on_change = nil

‎builtin/settingtypes.txt

+22-22
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ random_input (Random input) bool false
118118
# Continuous forward movement, toggled by autoforward key.
119119
continuous_forward (Continuous forward) bool false
120120

121-
# Enable Joysticks
122-
enable_joysticks (Enable Joysticks) bool false
121+
# Enable joysticks
122+
enable_joysticks (Enable joysticks) bool false
123123

124124
# The identifier of the joystick to use
125125
joystick_id (Joystick ID) int 0
126126

127127
# The type of joystick
128-
joystick_type (Joystick Type) enum auto auto,generic,xbox
128+
joystick_type (Joystick type) enum auto auto,generic,xbox
129129

130130
# The time in seconds it takes between repeated events
131131
# when holding down a joystick button combination.
@@ -498,7 +498,7 @@ parallax_occlusion_mode (Parallax occlusion mode) int 1 0 1
498498
parallax_occlusion_iterations (Parallax occlusion iterations) int 4
499499

500500
# Overall scale of parallax occlusion effect.
501-
parallax_occlusion_scale (Parallax occlusion Scale) float 0.08
501+
parallax_occlusion_scale (Parallax occlusion scale) float 0.08
502502

503503
# Overall bias of parallax occlusion effect, usually scale/2.
504504
parallax_occlusion_bias (Parallax occlusion bias) float 0.04
@@ -552,7 +552,7 @@ screen_w (Screen width) int 1024
552552
screen_h (Screen height) int 600
553553

554554
# Save window size automatically when modified.
555-
autosave_screensize (Autosave Screen Size) bool true
555+
autosave_screensize (Autosave screen size) bool true
556556

557557
# Fullscreen mode.
558558
fullscreen (Full screen) bool false
@@ -693,7 +693,7 @@ inventory_items_animations (Inventory items animations) bool false
693693
inventory_image_hack (Inventory image hack) bool false
694694

695695
# Fraction of the visible distance at which fog starts to be rendered
696-
fog_start (Fog Start) float 0.4 0.0 0.99
696+
fog_start (Fog start) float 0.4 0.0 0.99
697697

698698
# Makes all liquids opaque
699699
opaque_water (Opaque liquids) bool false
@@ -951,7 +951,7 @@ default_password (Default password) string
951951
default_privs (Default privileges) string interact, shout
952952

953953
# Privileges that players with basic_privs can grant
954-
basic_privs (Basic Privileges) string interact, shout
954+
basic_privs (Basic privileges) string interact, shout
955955

956956
# Whether players are shown to clients without any range limit.
957957
# Deprecated, use the setting player_transfer_distance instead.
@@ -961,7 +961,7 @@ unlimited_player_transfer_distance (Unlimited player transfer distance) bool tru
961961
player_transfer_distance (Player transfer distance) int 0
962962

963963
# Whether to allow players to damage and kill each other.
964-
enable_pvp (Player versus Player) bool true
964+
enable_pvp (Player versus player) bool true
965965

966966
# Enable mod channels support.
967967
enable_mod_channels (Mod channels) bool false
@@ -1094,7 +1094,7 @@ liquid_update (Liquid update tick) float 1.0
10941094
# (some blocks will not be rendered under water and in caves, as well as sometimes on land)
10951095
# Setting this to a value greater than max_block_send_distance disables this optimization.
10961096
# Stated in mapblocks (16 nodes)
1097-
block_send_optimize_distance (block send optimize distance) int 4 2
1097+
block_send_optimize_distance (Block send optimize distance) int 4 2
10981098

10991099
# If enabled the server will perform map block occlusion culling based on
11001100
# on the eye position of the player. This can reduce the number of blocks
@@ -1126,7 +1126,7 @@ secure.trusted_mods (Trusted mods) string
11261126

11271127
# Comma-separated list of mods that are allowed to access HTTP APIs, which
11281128
# allow them to upload and download data to/from the internet.
1129-
secure.http_mods (HTTP Mods) string
1129+
secure.http_mods (HTTP mods) string
11301130

11311131
[*Advanced]
11321132

@@ -1674,27 +1674,27 @@ mgfractal_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3,
16741674
mg_valleys_spflags (Mapgen Valleys specific flags) flags altitude_chill,humid_rivers altitude_chill,noaltitude_chill,humid_rivers,nohumid_rivers
16751675

16761676
# The altitude at which temperature drops by 20C
1677-
mgvalleys_altitude_chill (Altitude Chill) int 90
1677+
mgvalleys_altitude_chill (Altitude chill) int 90
16781678

16791679
# Depth below which you'll find large caves.
16801680
mgvalleys_large_cave_depth (Large cave depth) int -33
16811681

16821682
# Creates unpredictable lava features in caves.
16831683
# These can make mining difficult. Zero disables them. (0-10)
1684-
mgvalleys_lava_features (Lava Features) int 0
1684+
mgvalleys_lava_features (Lava features) int 0
16851685

16861686
# Depth below which you'll find massive caves.
16871687
mgvalleys_massive_cave_depth (Massive cave depth) int -256
16881688

16891689
# How deep to make rivers
1690-
mgvalleys_river_depth (River Depth) int 4
1690+
mgvalleys_river_depth (River depth) int 4
16911691

16921692
# How wide to make rivers
1693-
mgvalleys_river_size (River Size) int 5
1693+
mgvalleys_river_size (River size) int 5
16941694

16951695
# Creates unpredictable water features in caves.
16961696
# These can make mining difficult. Zero disables them. (0-10)
1697-
mgvalleys_water_features (Water Features) int 0
1697+
mgvalleys_water_features (Water features) int 0
16981698

16991699
# Controls width of tunnels, a smaller value creates wider tunnels.
17001700
mgvalleys_cave_width (Cave width) float 0.09
@@ -1708,28 +1708,28 @@ mgvalleys_np_cave1 (Cave noise #1) noise_params_3d 0, 12, (61, 61, 61), 52534, 3
17081708
mgvalleys_np_cave2 (Cave noise #2) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0
17091709

17101710
# The depth of dirt or other filler
1711-
mgvalleys_np_filler_depth (Filler Depth) noise_params_2d 0, 1.2, (256, 256, 256), 1605, 3, 0.5, 2.0, eased
1711+
mgvalleys_np_filler_depth (Filler depth) noise_params_2d 0, 1.2, (256, 256, 256), 1605, 3, 0.5, 2.0, eased
17121712

17131713
# Massive caves form here.
17141714
mgvalleys_np_massive_caves (Massive cave noise) noise_params_3d 0, 1, (768, 256, 768), 59033, 6, 0.63, 2.0
17151715

17161716
# River noise -- rivers occur close to zero
1717-
mgvalleys_np_rivers (River Noise) noise_params_2d 0, 1, (256, 256, 256), -6050, 5, 0.6, 2.0, eased
1717+
mgvalleys_np_rivers (River noise) noise_params_2d 0, 1, (256, 256, 256), -6050, 5, 0.6, 2.0, eased
17181718

17191719
# Base terrain height
1720-
mgvalleys_np_terrain_height (Terrain Height) noise_params_2d -10, 50, (1024, 1024, 1024), 5202, 6, 0.4, 2.0, eased
1720+
mgvalleys_np_terrain_height (Terrain height) noise_params_2d -10, 50, (1024, 1024, 1024), 5202, 6, 0.4, 2.0, eased
17211721

17221722
# Raises terrain to make valleys around the rivers
1723-
mgvalleys_np_valley_depth (Valley Depth) noise_params_2d 5, 4, (512, 512, 512), -1914, 1, 1.0, 2.0, eased
1723+
mgvalleys_np_valley_depth (Valley depth) noise_params_2d 5, 4, (512, 512, 512), -1914, 1, 1.0, 2.0, eased
17241724

17251725
# Slope and fill work together to modify the heights
1726-
mgvalleys_np_inter_valley_fill (Valley Fill) noise_params_3d 0, 1, (256, 512, 256), 1993, 6, 0.8, 2.0
1726+
mgvalleys_np_inter_valley_fill (Valley fill) noise_params_3d 0, 1, (256, 512, 256), 1993, 6, 0.8, 2.0
17271727

17281728
# Amplifies the valleys
1729-
mgvalleys_np_valley_profile (Valley Profile) noise_params_2d 0.6, 0.5, (512, 512, 512), 777, 1, 1.0, 2.0, eased
1729+
mgvalleys_np_valley_profile (Valley profile) noise_params_2d 0.6, 0.5, (512, 512, 512), 777, 1, 1.0, 2.0, eased
17301730

17311731
# Slope and fill work together to modify the heights
1732-
mgvalleys_np_inter_valley_slope (Valley Slope) noise_params_2d 0.5, 0.5, (128, 128, 128), 746, 1, 1.0, 2.0, eased
1732+
mgvalleys_np_inter_valley_slope (Valley slope) noise_params_2d 0.5, 0.5, (128, 128, 128), 746, 1, 1.0, 2.0, eased
17331733

17341734
[*Advanced]
17351735

0 commit comments

Comments
 (0)
Please sign in to comment.