Skin: Adding the ability to localize Immersive/Immersive7 skins

This commit is contained in:
vodek3
2023-01-31 18:31:06 +03:00
committed by ge0rdi
parent 42aaaed045
commit faa666b54d
4 changed files with 38 additions and 16 deletions

View File

@@ -1,6 +1,9 @@
; Immersive skin
About=Immersive skin\n\nA skin that uses immersive colors and modern visual elements in the style of Windows 10.\n\nPart of <A HREF="https://github.com/Open-Shell/Open-Shell-Menu/">Open-Shell</A> (c) 2009-2017, Ivo Beltchev
; About - text to use in the About box for this skin. use \n for new line
About=#7111
; AboutIcon - the ID of an icon resource to use in the About box
AboutIcon=1
; Version - version of the required skin engine. Set to 2 if the skin uses any of the new features introduced in Open-Shell 1.9.0:
@@ -208,10 +211,10 @@ Submenu_separatorV_slices_Y=12,9,12
; OPTIONS
OPTION RADIOGROUP=Menu theme,0,LIGHT|DARK|AUTO
OPTION LIGHT=Light,0
OPTION DARK=Dark,0
OPTION AUTO=Use system setting,1
OPTION RADIOGROUP=#7039,0,LIGHT|DARK|AUTO
OPTION LIGHT=#7040,0
OPTION DARK=#7041,0
OPTION AUTO=#7042,1
OPTION NO_ICONS=#7008,1, TWO_COLUMNS
OPTION CAPTION=#7003,0, NOT TWO_COLUMNS, 0
OPTION USER_IMAGE=#7014,0
@@ -223,9 +226,9 @@ OPTION DISABLE_MASK=#7005,0
OPTION_NUMBER CUSTOM_TEXT_SIZE=#7038,0,TRUE,12
OPTION BLACK_TEXT=#7002,0
OPTION BLACK_FRAMES=#7001,0
OPTION RADIOGROUP=Transparency style,0,TRANSPARENT_LESS|TRANSPARENT_MORE
OPTION TRANSPARENT_LESS=Two-tone#The main section of the menu will use system light/dark colors while additional surfaces use transparent glass with accent color.,1
OPTION TRANSPARENT_MORE=Full glass#The entire main menu will use transparent glass with accent color.,0
OPTION RADIOGROUP=#7043,0,TRANSPARENT_LESS|TRANSPARENT_MORE
OPTION TRANSPARENT_LESS=#7044,1
OPTION TRANSPARENT_MORE=#7045,0
Classic1_options=LIGHT, DARK, AUTO, CAPTION, USER_IMAGE, USER_NAME, CENTER_NAME, SMALL_ICONS, OPAQUE, DISABLE_MASK, CUSTOM_TEXT_SIZE, BLACK_TEXT, BLACK_FRAMES, TRANSPARENT_LESS, TRANSPARENT_MORE
Classic2_options=LIGHT, DARK, AUTO, NO_ICONS, USER_IMAGE, USER_NAME, CENTER_NAME, SMALL_ICONS, OPAQUE, DISABLE_MASK, CUSTOM_TEXT_SIZE, BLACK_TEXT, BLACK_FRAMES, TRANSPARENT_LESS, TRANSPARENT_MORE

View File

@@ -1,6 +1,9 @@
; Immersive skin
About=Immersive skin\n\nA skin that uses immersive colors and modern visual elements in the style of Windows 10.\n\nPart of <A HREF="https://github.com/Open-Shell/Open-Shell-Menu/">Open-Shell</A> (c) 2009-2017, Ivo Beltchev
; About - text to use in the About box for this skin. use \n for new line
About=#7111
; AboutIcon - the ID of an icon resource to use in the About box
AboutIcon=1
; Version - version of the required skin engine. Set to 2 if the skin uses any of the new features introduced in Open-Shell 1.9.0:
@@ -336,10 +339,10 @@ Submenu_separatorV_slices_Y=12,9,12
; OPTIONS
OPTION RADIOGROUP=Menu theme,0,LIGHT|DARK|AUTO
OPTION LIGHT=Light,0
OPTION DARK=Dark,0
OPTION AUTO=Use system setting,1
OPTION RADIOGROUP=#7039,0,LIGHT|DARK|AUTO
OPTION LIGHT=#7040,0
OPTION DARK=#7041,0
OPTION AUTO=#7042,1
OPTION USER_IMAGE=#7014,1
OPTION USER_NAME=#7015,0
OPTION CENTER_NAME=#7004,0, USER_NAME, 0
@@ -349,9 +352,9 @@ OPTION DISABLE_MASK=#7005,0
OPTION_NUMBER CUSTOM_TEXT_SIZE=#7038,0,TRUE,12
OPTION BLACK_TEXT=#7002,0
OPTION BLACK_FRAMES=#7001,0
OPTION RADIOGROUP=Transparency style,0,TRANSPARENT_LESS|TRANSPARENT_MORE
OPTION TRANSPARENT_LESS=Two-tone#The main section of the menu will use system light/dark colors while additional surfaces use transparent glass with accent color.,1
OPTION TRANSPARENT_MORE=Full glass#The entire main menu will use transparent glass with accent color.,0
OPTION RADIOGROUP=#7043,0,TRANSPARENT_LESS|TRANSPARENT_MORE
OPTION TRANSPARENT_LESS=#7044,1
OPTION TRANSPARENT_MORE=#7045,0
[SMALL_ICONS]
Main_large_icons=0

View File

@@ -1162,6 +1162,13 @@ BEGIN
IDS_STRING7036 "Text color for first column (RRGGBB)#Select custom color for the first column of the main menu text"
IDS_STRING7037 "Text color for second column (RRGGBB)#Select custom color for the second column of the main menu text"
IDS_STRING7038 "Text size#Select custom size for the main menu text"
IDS_STRING7039 "Menu theme"
IDS_STRING7040 "Light"
IDS_STRING7041 "Dark"
IDS_STRING7042 "Use system setting"
IDS_STRING7043 "Transparency style"
IDS_STRING7044 "Two-tone#The main section of the menu will use system light/dark colors while additional surfaces use transparent glass with accent color."
IDS_STRING7045 "Full glass#The entire main menu will use transparent glass with accent color."
END
STRINGTABLE
@@ -1181,6 +1188,7 @@ BEGIN
IDS_STRING7108 "Midnight skin\n\nSkin with dark background.\n\nPart of <A HREF=""https://github.com/Open-Shell/Open-Shell-Menu/"">Open-Shell</A> (c) 2009-2017, Ivo Beltchev"
IDS_STRING7109 "Metro skin\n\nSkin that uses the start screen colors.\n\nPart of <A HREF=""https://github.com/Open-Shell/Open-Shell-Menu/"">Open-Shell</A> (c) 2009-2017, Ivo Beltchev"
IDS_STRING7110 "Metallic skin\n\nA start menu skin with metallic look.\n\nPart of <A HREF=""https://github.com/Open-Shell/Open-Shell-Menu/"">Open-Shell</A> (c) 2009-2017, Ivo Beltchev"
IDS_STRING7111 "Immersive skin\n\nA skin that uses immersive colors and modern visual elements in the style of Windows 10.\n\nPart of <A HREF=""https://github.com/Open-Shell/Open-Shell-Menu/"">Open-Shell</A> (c) 2023, The Open-Shell Team"
END
STRINGTABLE

View File

@@ -824,6 +824,13 @@
#define IDS_STRING7036 7036
#define IDS_STRING7037 7037
#define IDS_STRING7038 7038
#define IDS_STRING7039 7039
#define IDS_STRING7040 7040
#define IDS_STRING7041 7041
#define IDS_STRING7042 7042
#define IDS_STRING7043 7043
#define IDS_STRING7044 7044
#define IDS_STRING7045 7045
#define IDS_STRING7100 7100
#define IDS_STRING7101 7101
#define IDS_STRING7102 7102
@@ -835,6 +842,7 @@
#define IDS_STRING7108 7108
#define IDS_STRING7109 7109
#define IDS_STRING7110 7110
#define IDS_STRING7111 7111
// Next default values for new objects
//