From: Mike Gelfand Date: Thu, 26 Nov 2015 00:18:06 +0000 (+0000) Subject: Use correct language pair in version info resource X-Git-Tag: 2.90~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59e2a3e881c34015c70718337e06b4be67ea55de;p=transmission 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. --- diff --git a/cmake/TrMacros.cmake b/cmake/TrMacros.cmake index 634dfcf17..360392cf8 100644 --- a/cmake/TrMacros.cmake +++ b/cmake/TrMacros.cmake @@ -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() diff --git a/cmake/Transmission.rc.in b/cmake/Transmission.rc.in index 2e47e14d6..9c0c1f51e 100644 --- a/cmake/Transmission.rc.in +++ b/cmake/Transmission.rc.in @@ -40,7 +40,7 @@ BEGIN END BLOCK "VarFileInfo" BEGIN - VALUE "Translation", 0x0400, 1200 + VALUE "Translation", 0x0409, 0x04b0 END END