Commit 215d2146 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Internationalise the info box properly

Get the version field from the messages file, rather than a baked in english string.

Version 0.44. Tagged as 'Display-0_44'
parent 79f9119d
......@@ -26,6 +26,7 @@ COMPONENT = DisplayManager
TARGET = Display
ROM_SOURCE = GetAll.s
INSTRES_FILES = Templates
INSTRES_VERSION = Messages
include StdTools
include AAsmModule
......
No preview for this file type
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.43"
Module_Version SETA 43
Module_MajorVersion SETS "0.44"
Module_Version SETA 44
Module_MinorVersion SETS ""
Module_Date SETS "28 May 2016"
Module_ApplicationDate SETS "28-May-16"
Module_Date SETS "29 May 2016"
Module_ApplicationDate SETS "29-May-16"
Module_ComponentName SETS "Display"
Module_ComponentPath SETS "castle/RiscOS/Sources/Video/UserI/Display"
Module_FullVersion SETS "0.43"
Module_HelpVersion SETS "0.43 (28 May 2016)"
Module_FullVersion SETS "0.44"
Module_HelpVersion SETS "0.44 (29 May 2016)"
END
/* (0.43)
/* (0.44)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.43
#define Module_MajorVersion_CMHG 0.44
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 28 May 2016
#define Module_Date_CMHG 29 May 2016
#define Module_MajorVersion "0.43"
#define Module_Version 43
#define Module_MajorVersion "0.44"
#define Module_Version 44
#define Module_MinorVersion ""
#define Module_Date "28 May 2016"
#define Module_Date "29 May 2016"
#define Module_ApplicationDate "28-May-16"
#define Module_ApplicationDate "29-May-16"
#define Module_ComponentName "Display"
#define Module_ComponentPath "castle/RiscOS/Sources/Video/UserI/Display"
#define Module_FullVersion "0.43"
#define Module_HelpVersion "0.43 (28 May 2016)"
#define Module_LibraryVersionInfo "0:43"
#define Module_FullVersion "0.44"
#define Module_HelpVersion "0.44 (29 May 2016)"
#define Module_LibraryVersionInfo "0:44"
......@@ -130,23 +130,10 @@ patch_info_version
LDR r2, [r1, #w_icons+i_size*ic_info_version+i_data+0]
LDR r3, [r1, #w_icons+i_size*ic_info_version+i_data+8]
ADR r1, Version_tag
[ :DEF: use_messages_version
BL MsgTrans_Lookup
EXIT
Version_tag DCB "Version",0
|
10 LDRB lr, [r1], #1
STRB lr, [r2], #1
TEQ lr, #0
SUBNES r3, r3, #1
BNE %BT10
MOV lr, #0
STRB lr, [r2, #-1]
EXIT
Version_tag DCB "$Module_MajorVersion ($Module_ApplicationDate)", 0
]
Version_tag DCB "_Version",0
ALIGN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment