-
Notifications
You must be signed in to change notification settings - Fork 3
/
general_messages_db.e
executable file
·64 lines (58 loc) · 3.44 KB
/
general_messages_db.e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
note
component: "Eiffel Object Modelling Framework"
description: "Generated class from message text files"
keywords: "Internationalisation, I18N, Localisation, L10N, command line"
author: "Thomas Beale <[email protected]>"
support: "http://www.openehr.org/issues/browse/AWB"
copyright: "Copyright (c) 2012- The openEHR Foundation <http://www.openEHR.org>"
license: "Apache 2.0 License <http://www.apache.org/licenses/LICENSE-2.0.html>"
class GENERAL_MESSAGES_DB
inherit
GENERAL_MESSAGES_IDS
MESSAGE_DB
redefine
make
end
create
make
feature -- Initialisation
make
do
create message_table.make (35)
message_table.put ("No error", ec_none)
message_table.put ("Error code $1 does not exist (calling context = $2.$3)", ec_message_code_error)
message_table.put ("Software Exception $1 caught; Stack:%N$2", ec_report_exception)
message_table.put ("Software Exception caught; Context: $1; Type: $2; Stack:%N$3", ec_report_exception_with_context)
message_table.put ("Exception caught but not handled: $1", ec_unhandled_exception)
message_table.put ("$1", ec_general_error)
message_table.put ("$1", ec_general)
message_table.put ("Wrote config file $1", ec_cfg_file_i1)
message_table.put ("Config file $1 parse error: $2", ec_cfg_file_parse_error)
message_table.put ("Enter search string", ec_enter_search_string)
message_table.put ("No match found", ec_no_match_found)
message_table.put ("At least 3 characters required in key", ec_key_too_short)
message_table.put ("Yes", ec_yes_response)
message_table.put ("No", ec_no_response)
message_table.put ("Expected sample XML rules file $1 missing", ec_xml_rules_sample_file_missing)
message_table.put ("Invalid regular expression $1", ec_regex_invalid)
message_table.put ("No error available from path parser", ec_path_parser_no_error_available)
message_table.put ("Could not create file or directory $1", ec_could_not_create_file_text)
message_table.put ("Could not write to file $1; check file system permissions", ec_could_not_write_to_file)
message_table.put ("Write failed; file $1 does not exist", ec_write_failed_file_does_not_exist)
message_table.put ("Saved file $1 in format $2", ec_file_saved_as_in_format)
message_table.put ("Directory $1 does not exist.", ec_directory_does_not_exist)
message_table.put ("No directory supplied.", ec_directory_not_supplied)
message_table.put ("Directory <empty> does not exist.", ec_empty_directory_does_not_exist)
message_table.put ("File $1 does not exist.", ec_file_does_not_exist)
message_table.put ("Read failed; file $1 does not exist.", ec_read_failed_file_does_not_exist)
message_table.put ("Read failed; file $1 has UTF-8 marker but is not valid UTF-8.", ec_invalid_utf8_file)
message_table.put ("File $1 not found", ec_file_not_found)
message_table.put ("File $1 already exists", ec_file_already_exists)
message_table.put ("File <empty> does not exist.", ec_empty_file_does_not_exist)
message_table.put ("File $1 already exists. Replace it?", ec_file_exists_replace_question)
message_table.put ("$1 file $2 does not exist or not readable", ec_object_file_not_valid)
message_table.put ("$1 file $2 load failure; reason: $3", ec_object_load_failure)
message_table.put ("$1 file $2 load failure due to exception during processing", ec_object_load_failure_exception)
message_table.put ("$1 file $2 load data conversion failure; reason: $3", ec_object_conv_fail_err)
end
end