i18n the datepicker. fixes bug #10976.
This commit is contained in:
parent
8395d090fa
commit
bb10f0e3d0
7 changed files with 489 additions and 143 deletions
|
|
@ -3,105 +3,313 @@ use strict;
|
|||
|
||||
our $I18N = {
|
||||
|
||||
'timezone' => {
|
||||
message => q|Time Zone|,
|
||||
lastUpdated => 0
|
||||
},
|
||||
'timezone' => {
|
||||
message => q|Time Zone|,
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'monday' => {
|
||||
message => q|Monday|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'monday' => {
|
||||
message => q|Monday|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'tuesday' => {
|
||||
message => q|Tuesday|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'tuesday' => {
|
||||
message => q|Tuesday|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'wednesday' => {
|
||||
message => q|Wednesday|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'wednesday' => {
|
||||
message => q|Wednesday|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'thursday' => {
|
||||
message => q|Thursday|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'thursday' => {
|
||||
message => q|Thursday|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'friday' => {
|
||||
message => q|Friday|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'friday' => {
|
||||
message => q|Friday|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'saturday' => {
|
||||
message => q|Saturday|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'saturday' => {
|
||||
message => q|Saturday|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'sunday' => {
|
||||
message => q|Sunday|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'sunday' => {
|
||||
message => q|Sunday|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'january' => {
|
||||
message => q|January|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'monday med' => {
|
||||
message => q|Mon|,
|
||||
lastUpdated => 1253198121,
|
||||
context => q|3 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'february' => {
|
||||
message => q|February|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'tuesday med' => {
|
||||
message => q|Tue|,
|
||||
lastUpdated => 1253198123,
|
||||
context => q|3 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'march' => {
|
||||
message => q|March|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'wednesday med' => {
|
||||
message => q|Wed|,
|
||||
lastUpdated => 1253198124,
|
||||
context => q|3 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'april' => {
|
||||
message => q|April|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'thursday med' => {
|
||||
message => q|Thu|,
|
||||
lastUpdated => 1253198127,
|
||||
context => q|3 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'may' => {
|
||||
message => q|May|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'friday med' => {
|
||||
message => q|Fri|,
|
||||
lastUpdated => 1253198128,
|
||||
context => q|3 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'june' => {
|
||||
message => q|June|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'saturday med' => {
|
||||
message => q|Sat|,
|
||||
lastUpdated => 1253198130,
|
||||
context => q|3 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'july' => {
|
||||
message => q|July|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'sunday med' => {
|
||||
message => q|Sun|,
|
||||
lastUpdated => 1253198097,
|
||||
context => q|3 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'august' => {
|
||||
message => q|August|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'monday short' => {
|
||||
message => q|Mo|,
|
||||
lastUpdated => 1253198121,
|
||||
context => q|2 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'september' => {
|
||||
message => q|September|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'tuesday short' => {
|
||||
message => q|Tu|,
|
||||
lastUpdated => 1253198123,
|
||||
context => q|2 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'october' => {
|
||||
message => q|October|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'wednesday short' => {
|
||||
message => q|We|,
|
||||
lastUpdated => 1253198124,
|
||||
context => q|2 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'november' => {
|
||||
message => q|November|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
|
||||
'december' => {
|
||||
message => q|December|,
|
||||
lastUpdated => 1031514049
|
||||
},
|
||||
'thursday short' => {
|
||||
message => q|Th|,
|
||||
lastUpdated => 1253198127,
|
||||
context => q|2 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'friday short' => {
|
||||
message => q|Fr|,
|
||||
lastUpdated => 1253198128,
|
||||
context => q|2 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'saturday short' => {
|
||||
message => q|Sa|,
|
||||
lastUpdated => 1253198130,
|
||||
context => q|2 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'sunday short' => {
|
||||
message => q|Su|,
|
||||
lastUpdated => 1253198097,
|
||||
context => q|2 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'monday 1char' => {
|
||||
message => q|M|,
|
||||
lastUpdated => 1253198121,
|
||||
context => q|1 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'tuesday 1char' => {
|
||||
message => q|T|,
|
||||
lastUpdated => 1253198123,
|
||||
context => q|1 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'wednesday 1char' => {
|
||||
message => q|W|,
|
||||
lastUpdated => 1253198124,
|
||||
context => q|1 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'thursday 1char' => {
|
||||
message => q|T|,
|
||||
lastUpdated => 1253198127,
|
||||
context => q|1 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'friday 1char' => {
|
||||
message => q|F|,
|
||||
lastUpdated => 1253198128,
|
||||
context => q|1 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'saturday 1char' => {
|
||||
message => q|S|,
|
||||
lastUpdated => 1253198130,
|
||||
context => q|1 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'sunday 1char' => {
|
||||
message => q|S|,
|
||||
lastUpdated => 1253198097,
|
||||
context => q|1 letter abbreviation for the day|
|
||||
},
|
||||
|
||||
'january' => {
|
||||
message => q|January|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'february' => {
|
||||
message => q|February|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'march' => {
|
||||
message => q|March|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'april' => {
|
||||
message => q|April|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'may' => {
|
||||
message => q|May|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'june' => {
|
||||
message => q|June|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'july' => {
|
||||
message => q|July|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'august' => {
|
||||
message => q|August|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'september' => {
|
||||
message => q|September|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'october' => {
|
||||
message => q|October|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'november' => {
|
||||
message => q|November|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'december' => {
|
||||
message => q|December|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'january short' => {
|
||||
message => q|Jan|,
|
||||
lastUpdated => 1253201047,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'february short' => {
|
||||
message => q|Feb|,
|
||||
lastUpdated => 1253201045,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'march short' => {
|
||||
message => q|Mar|,
|
||||
lastUpdated => 1253201043,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'april short' => {
|
||||
message => q|Apr|,
|
||||
lastUpdated => 1253201042,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'may short' => {
|
||||
message => q|May|,
|
||||
lastUpdated => 1253201040,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'june short' => {
|
||||
message => q|Jun|,
|
||||
lastUpdated => 1253201038,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'july short' => {
|
||||
message => q|Jul|,
|
||||
lastUpdated => 1253201036,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'august short' => {
|
||||
message => q|Aug|,
|
||||
lastUpdated => 1253201034,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'september short' => {
|
||||
message => q|Sep|,
|
||||
lastUpdated => 1253201032,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'october short' => {
|
||||
message => q|Oct|,
|
||||
lastUpdated => 1253201030,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'november short' => {
|
||||
message => q|Nov|,
|
||||
lastUpdated => 1253201029,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'december short' => {
|
||||
message => q|Dec|,
|
||||
lastUpdated => 1253201027,
|
||||
context => q|3 letter abbreviation for the month|
|
||||
},
|
||||
|
||||
'Month' => {
|
||||
message => q|Month|,
|
||||
lastUpdated => 1253201027,
|
||||
},
|
||||
|
||||
'Year' => {
|
||||
message => q|Year|,
|
||||
lastUpdated => 1253201027,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
19
lib/WebGUI/i18n/English/Form_Date.pm
Normal file
19
lib/WebGUI/i18n/English/Form_Date.pm
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package WebGUI::i18n::English::Form_Date; ##Be sure to change the package name to match the filename
|
||||
use strict;
|
||||
|
||||
our $I18N = { ##hashref of hashes
|
||||
'Choose a date' => {
|
||||
message => q|Choose a date|,
|
||||
lastUpdated => 1253165348,
|
||||
context => q|Label for the datepicker javascript|
|
||||
},
|
||||
|
||||
'Invalid year' => {
|
||||
message => q|Please enter a valid year.|,
|
||||
lastUpdated => 1253165348,
|
||||
context => q|Label for the datepicker javascript|
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -4258,12 +4258,6 @@ LongTruncOk=1</p>
|
|||
context => q{General purpose, similar to submit.},
|
||||
},
|
||||
|
||||
'save' => {
|
||||
message => q{Save},
|
||||
lastUpdated => 0,
|
||||
context => q{General purpose, similar to submit.},
|
||||
},
|
||||
|
||||
'company information' => {
|
||||
message => q{Company Information},
|
||||
lastUpdated => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue