module Enolib::Locales::En
Constants
- CONTENT_HEADER
- EXPECTED_DOCUMENT
- EXPECTED_EMPTY
- EXPECTED_FIELD
- EXPECTED_FIELDS
- EXPECTED_FIELDSET
- EXPECTED_FIELDSETS
- EXPECTED_FIELDSET_ENTRY
- EXPECTED_LIST
- EXPECTED_LISTS
- EXPECTED_LIST_ITEM
- EXPECTED_SECTION
- EXPECTED_SECTIONS
- EXPECTED_SINGLE_ELEMENT
- EXPECTED_SINGLE_EMPTY
- EXPECTED_SINGLE_FIELD
- EXPECTED_SINGLE_FIELDSET
- EXPECTED_SINGLE_FIELDSET_ENTRY
- EXPECTED_SINGLE_LIST
- EXPECTED_SINGLE_SECTION
- GUTTER_HEADER
- MISSING_COMMENT
- MISSING_ELEMENT
- MISSING_EMPTY
- MISSING_FIELD
- MISSING_FIELDSET
- MISSING_FIELDSET_ENTRY
- MISSING_LIST
- MISSING_SECTION
- UNEXPECTED_ELEMENT
Public Class Methods
comment_error(message)
click to toggle source
# File lib/enolib/locales/en.rb, line 38 def self.comment_error(message) "There is a problem with the comment of this element: #{message}" end
cyclic_dependency(line, key)
click to toggle source
# File lib/enolib/locales/en.rb, line 39 def self.cyclic_dependency(line, key) "In line #{line} '#{key}' is copied into itself." end
expected_empty_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 40 def self.expected_empty_with_key(key) "An empty with the key '#{key}' was expected." end
expected_field_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 41 def self.expected_field_with_key(key) "A field with the key '#{key}' was expected." end
expected_fields_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 42 def self.expected_fields_with_key(key) "Only fields with the key '#{key}' were expected." end
expected_fieldset_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 43 def self.expected_fieldset_with_key(key) "A fieldset with the key '#{key}' was expected." end
expected_fieldsets_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 44 def self.expected_fieldsets_with_key(key) "Only fieldsets with the key '#{key}' were expected." end
expected_list_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 45 def self.expected_list_with_key(key) "A list with the key '#{key}' was expected." end
expected_lists_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 46 def self.expected_lists_with_key(key) "Only lists with the key '#{key}' were expected." end
expected_section_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 47 def self.expected_section_with_key(key) "A section with the key '#{key}' was expected." end
expected_sections_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 48 def self.expected_sections_with_key(key) "Only sections with the key '#{key}' were expected." end
expected_single_element_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 49 def self.expected_single_element_with_key(key) "Only a single element with the key '#{key}' was expected." end
expected_single_empty_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 50 def self.expected_single_empty_with_key(key) "Only a single empty with the key '#{key}' was expected." end
expected_single_field_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 51 def self.expected_single_field_with_key(key) "Only a single field with the key '#{key}' was expected." end
expected_single_fieldset_entry_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 52 def self.expected_single_fieldset_entry_with_key(key) "Only a single fieldset entry with the key '#{key}' was expected." end
expected_single_fieldset_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 53 def self.expected_single_fieldset_with_key(key) "Only a single fieldset with the key '#{key}' was expected." end
expected_single_list_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 54 def self.expected_single_list_with_key(key) "Only a single list with the key '#{key}' was expected." end
expected_single_section_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 55 def self.expected_single_section_with_key(key) "Only a single section with the key '#{key}' was expected." end
invalid_line(line)
click to toggle source
# File lib/enolib/locales/en.rb, line 56 def self.invalid_line(line) "Line #{line} does not follow any specified pattern." end
key_error(message)
click to toggle source
# File lib/enolib/locales/en.rb, line 57 def self.key_error(message) "There is a problem with the key of this element: #{message}" end
missing_element_for_continuation(line)
click to toggle source
# File lib/enolib/locales/en.rb, line 58 def self.missing_element_for_continuation(line) "Line #{line} contains a line continuation without a continuable element being specified before." end
missing_element_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 59 def self.missing_element_with_key(key) "The element '#{key}' is missing - in case it has been specified look for typos and also check for correct capitalization." end
missing_empty_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 60 def self.missing_empty_with_key(key) "The empty '#{key}' is missing - in case it has been specified look for typos and also check for correct capitalization." end
missing_field_value(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 61 def self.missing_field_value(key) "The field '#{key}' must contain a value." end
missing_field_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 62 def self.missing_field_with_key(key) "The field '#{key}' is missing - in case it has been specified look for typos and also check for correct capitalization." end
missing_fieldset_entry_value(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 63 def self.missing_fieldset_entry_value(key) "The fieldset entry '#{key}' must contain a value." end
missing_fieldset_entry_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 64 def self.missing_fieldset_entry_with_key(key) "The fieldset entry '#{key}' is missing - in case it has been specified look for typos and also check for correct capitalization." end
missing_fieldset_for_fieldset_entry(line)
click to toggle source
# File lib/enolib/locales/en.rb, line 65 def self.missing_fieldset_for_fieldset_entry(line) "Line #{line} contains a fieldset entry without a fieldset being specified before." end
missing_fieldset_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 66 def self.missing_fieldset_with_key(key) "The fieldset '#{key}' is missing - in case it has been specified look for typos and also check for correct capitalization." end
missing_list_for_list_item(line)
click to toggle source
# File lib/enolib/locales/en.rb, line 67 def self.missing_list_for_list_item(line) "Line #{line} contains a list item without a list being specified before." end
missing_list_item_value(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 68 def self.missing_list_item_value(key) "The list '#{key}' may not contain empty items." end
missing_list_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 69 def self.missing_list_with_key(key) "The list '#{key}' is missing - in case it has been specified look for typos and also check for correct capitalization." end
missing_section_with_key(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 70 def self.missing_section_with_key(key) "The section '#{key}' is missing - in case it has been specified look for typos and also check for correct capitalization." end
non_section_element_not_found(line, key)
click to toggle source
# File lib/enolib/locales/en.rb, line 71 def self.non_section_element_not_found(line, key) "In line #{line} the non-section element '#{key}' should be copied, but it was not found." end
section_hierarchy_layer_skip(line)
click to toggle source
# File lib/enolib/locales/en.rb, line 72 def self.section_hierarchy_layer_skip(line) "Line #{line} starts a section that is more than one level deeper than the current one." end
section_not_found(line, key)
click to toggle source
# File lib/enolib/locales/en.rb, line 73 def self.section_not_found(line, key) "In line #{line} the section '#{key}' should be copied, but it was not found." end
two_or_more_templates_found(key)
click to toggle source
# File lib/enolib/locales/en.rb, line 74 def self.two_or_more_templates_found(key) "There are at least two elements with the key '#{key}' that qualify for being copied here, it is not clear which to copy." end
unterminated_escaped_key(line)
click to toggle source
# File lib/enolib/locales/en.rb, line 75 def self.unterminated_escaped_key(line) "In line #{line} the key of an element is escaped, but the escape sequence is not terminated until the end of the line." end
unterminated_multiline_field(key, line)
click to toggle source
# File lib/enolib/locales/en.rb, line 76 def self.unterminated_multiline_field(key, line) "The multiline field '#{key}' starting in line #{line} is not terminated until the end of the document." end
value_error(message)
click to toggle source
# File lib/enolib/locales/en.rb, line 77 def self.value_error(message) "There is a problem with the value of this element: #{message}" end