mirror of
https://github.com/transmission/transmission
synced 2024-12-31 20:16:57 +00:00
Use correct language pair in version info resource
Standard Windows programs (e.g. Explorer) tolerate this, but some other programs (e.g. Firefox) are more strict in how they retrieve version information and may fail if language IDs in StringFileInfo and VarFileInfo don't match.
This commit is contained in:
parent
d4232cf08b
commit
59e2a3e881
2 changed files with 3 additions and 3 deletions
|
@ -134,7 +134,7 @@ function(tr_win32_app_info OVAR DESCR INTNAME ORIGFNAME)
|
|||
set(TR_MAIN_ICON "${ARGN}")
|
||||
endif()
|
||||
|
||||
configure_file("${CMAKE_SOURCE_DIR}/cmake/Transmission.rc.in" "${INTNAME}.rc")
|
||||
configure_file("${CMAKE_SOURCE_DIR}/cmake/Transmission.rc.in" "${INTNAME}-app-info.rc")
|
||||
|
||||
set(${OVAR} "${CMAKE_CURRENT_BINARY_DIR}/${INTNAME}.rc" PARENT_SCOPE)
|
||||
set(${OVAR} "${CMAKE_CURRENT_BINARY_DIR}/${INTNAME}-app-info.rc" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
|
|
@ -40,7 +40,7 @@ BEGIN
|
|||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x0400, 1200
|
||||
VALUE "Translation", 0x0409, 0x04b0
|
||||
END
|
||||
END
|
||||
|
||||
|
|
Loading…
Reference in a new issue