Skip to content

Commit

Permalink
change strings to aliases in ui.cfg F6 menu for project-imprimis#18
Browse files Browse the repository at this point in the history
  • Loading branch information
b-sharman committed Feb 28, 2021
1 parent 011fbc0 commit 2b4b354
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
9 changes: 8 additions & 1 deletion config/lang_en.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@ uistr_fkey_40 = "Material Volume"
//F5: save map
uistr_fkey_41 = "Save Map"
uistr_fkey_42 = "Save"

//F6: map browser
//no need to change this unless the alphabet is not Latin
uistr_fkey_43 = "List"
uistr_fkey_44 = "Imprimis"
uistr_fkey_45 = "Custom"
uistr_fkey_46 = "Map Scale"
uistr_fkey_47 = "New"
uistr_fkey_48 = "New Map"

///////////////////////////////////////////////////////////////////////////////
// game.cfg //
Expand Down
12 changes: 6 additions & 6 deletions config/ui/fkey.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,14 @@ UImenu "map_browser" [
uiimage "media/interface/icon.png" 0.3 0.3 [uiimage (concatword "media/map/" $UI_selmap ".png") 0.3 0.3 [uiclamp 1 1 1 1]]
]
uifill 0 0.015
UItitle [uitext "List" 0.7] 0.3 0.03
UItitle [uitext $uistr_fkey_43 0.7] 0.3 0.03
UIbutton "" [
UIradio [= $UI_maplist 0] 0.016
uitext "Imprimis" 0.6
uitext $uistr_fkey_44 0.6
] 0.3 0.03 [UI_maplist = 0 ; UI_selmap = ""] -1
UIbutton "" [
UIradio [= $UI_maplist 1] 0.016
uitext "Custom" 0.6
uitext $uistr_fkey_45 0.6
] 0.3 0.03 [UI_maplist = 1 ; UI_selmap = ""] -1
uifill 0.0 0.015
]
Expand Down Expand Up @@ -416,15 +416,15 @@ UImenu "newmap" [
]
uifill 0 0.025
uihlist 0.01 [
uitext "MapScale" 0.6
uitext $uistr_fkey_46 0.6
UIhslider UI_mapscale 10 16 1 0.5 0.032 [uitext $UI_mapscale 0.6]
uialign* -1 0
]
uifill 0 0.025
UIbutton "" [uitext (concatword (? (= $isconnected 1) (? (! $editing) "^f4")) "New") 0.6] 0.12 0.06 [hideui "newmap" ; newmap $UI_mapscale]
UIbutton "" [uitext (concatword (? (= $isconnected 1) (? (! $editing) "^f4")) $uistr_fkey_47) 0.6] 0.12 0.06 [hideui "newmap" ; newmap $UI_mapscale]
]
]
] [] [] [] "New Map"
] [] [] [] $uistr_fkey_48

///////////////////////////////////////////////////////////////////////////////
// F7 Environment Settings //
Expand Down

0 comments on commit 2b4b354

Please sign in to comment.