localization_s60_3_0.pkg

来自「This C++ code example demonstrates how t」· PKG 代码 · 共 44 行

PKG
44
字号
; Localization.pkg
;

; Language definitions
&EN,GE

; standard SIS file header
#{"Localization-EN","Localization-GE"},(0xE0005B00),1,1,0

;Localised Vendor name
%{"Vendor-EN", "Vendor-GE"}

;Unique Vendor name
:"Vendor"

;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID-EN","Series60ProductID-GE"}

;Supports Series 60 v 5.0
[0x1028315F], 0, 0, 0, {"Series60ProductID-EN","Series60ProductID-GE"}

;Files to install
"epoc32\release\gcce\urel\Localization.exe"                   -"!:\sys\bin\Localization.exe"
"epoc32\data\z\resource\apps\Localization_aif.mif"              -"!:\resource\apps\Localization_aif.mif"

;Another way would be to install only language specific resources
;but then the installation would not be generic,
;meaning that if phone language is changed, the application language
;would not be changed.
;If all localized resources from all supported languages are installed
;the language of the application can dynamically be changed.
;Although, this required more space from target environment.

;EN resources
"epoc32\data\z\resource\apps\Localization.r01"                 -"!:\resource\apps\Localization.r01"
"epoc32\data\z\private\10003a3f\apps\Localization_reg.r01"     -"!:\private\10003a3f\import\apps\Localization_reg.r01"
"epoc32\data\z\resource\apps\Localization_01.mbm"             -"!:\resource\apps\Localization_01.mbm"

;GE resources
"epoc32\data\z\resource\apps\Localization.r03"                 -"!:\resource\apps\Localization.r03"
"epoc32\data\z\private\10003a3f\apps\Localization_reg.r03"     -"!:\private\10003a3f\import\apps\Localization_reg.r03"
"epoc32\data\z\resource\apps\Localization_03.mbm"             -"!:\resource\apps\Localization_03.mbm"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?