diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 12:51:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 13:54:23 +0000 |
commit | 2c91fc19445bb503652e97cc8b9f9014db436c37 (patch) | |
tree | 2d660534cb865ccc88868f36b4bc36e1addabffe /sd | |
parent | 41ae267529e0473aa105fa9e153eaa532f559f95 (diff) |
replace localresource of strings and keys with StringArray
Change-Id: I402f5485af0c1e60677b8291c879bc7ca14633d3
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/glob.src | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sd/source/core/glob.src b/sd/source/core/glob.src index 8cb027021be3..0f8629f5c27f 100644 --- a/sd/source/core/glob.src +++ b/sd/source/core/glob.src @@ -348,19 +348,16 @@ String STR_SAVE_DOC #define ERR_CODE( class, err ) (class | (err - ERROR_SD_BASE)) #define WARN_CODE( class, err ) (class | ( err - WARN_SD_BASE)) -Resource RID_SD_ERRHDL +StringArray RID_SD_ERRHDL { - String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL ) + ItemList [ en-US ] = { - Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ; - }; - String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) - { - Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."; - }; - String ERR_CODE ( ERRCODE_CLASS_READ , WARN_FORMAT_FILE_ROWCOL ) - { - Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."; + < "File format error found at $(ARG1)(row,col)." ; + ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL ) ; >; + < "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."; + ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) ; >; + < "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."; + ERR_CODE ( ERRCODE_CLASS_READ , WARN_FORMAT_FILE_ROWCOL ) ; >; }; }; |