| File: | blib/lib/Database/BI/I18N/en_us.pm |
| Coverage: | 100.0% |
| line | stmt | bran | cond | sub | time | code |
|---|---|---|---|---|---|---|
| 1 | package Database::BI::I18N::en_us; | |||||
| 2 | ||||||
| 3 | 4 4 4 | 298 6 35 | use strict; | |||
| 4 | 4 4 4 | 5 5 116 | use warnings; | |||
| 5 | ||||||
| 6 | our $VERSION = '0.025.0'; | |||||
| 7 | ||||||
| 8 | 4 4 4 | 7 4 159 | use Readonly; | |||
| 9 | ||||||
| 10 | # American English: the messages, by package, that are spelled differently | |||||
| 11 | # from the British ones in each package's %MESSAGES. Every other message reads | |||||
| 12 | # the same in both and is not repeated here. t/i18n.t respells each British | |||||
| 13 | # message with the word list the en-us templates are made from | |||||
| 14 | # (t/lib/BI/Test/EnUS.pm) and fails when this table does not say the same, so | |||||
| 15 | # a new British message that needs an American spelling has to be added here. | |||||
| 16 | Readonly our %MESSAGES => ( | |||||
| 17 | 'Database::BI::Controller::Dashboard' => { | |||||
| 18 | warn_measure_fallback => 'Measure "%s" on column "%s" is not uniformly numeric; totaled in Perl', | |||||
| 19 | error_text_card_colour => 'A color must be written #rrggbb', | |||||
| 20 | error_insights_no_data => 'No data available to analyze', | |||||
| 21 | map_bounds_noun_neighbourhood => 'neighborhood', | |||||
| 22 | }, | |||||
| 23 | 'Database::BI::Model::DataSource' => { | |||||
| 24 | error_backend_init => 'DataSource: failed to initialize database backend for table "%s": %s', | |||||
| 25 | }, | |||||
| 26 | ); | |||||
| 27 | ||||||
| 28 | 1; | |||||
| 29 | ||||||