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:
Mike Gelfand 2015-11-26 00:18:06 +00:00
parent d4232cf08b
commit 59e2a3e881
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -40,7 +40,7 @@ BEGIN
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0400, 1200
VALUE "Translation", 0x0409, 0x04b0
END
END