Added: Google map asset.
Added a way for authors to prevent debugging output on page requests
This commit is contained in:
parent
77a273c954
commit
25ff0dae0e
9 changed files with 513 additions and 98 deletions
|
|
@ -3,6 +3,166 @@ package WebGUI::i18n::English::Asset_Map;
|
|||
use strict;
|
||||
|
||||
our $I18N = {
|
||||
'groupIdAddPoint label' => {
|
||||
message => 'Group to Add Points',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'groupIdAddPoint description' => {
|
||||
message => 'Group that is allowed to add points to the map',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'mapApiKey label' => {
|
||||
message => "Google Maps API Key",
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'mapApiKey description' => {
|
||||
message => 'The generated Google Maps API key for this site',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'mapApiKey link' => {
|
||||
message => 'Get your Google Maps API key',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for link to create a Google Maps API key',
|
||||
},
|
||||
'mapHeight label' => {
|
||||
message => 'Map Height',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'mapHeight description' => {
|
||||
message => 'The height of the generated map. Make sure to include the units (px = pixels or % = percent).',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'mapWidth label' => {
|
||||
message => 'Map Width',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'mapWidth description' => {
|
||||
message => 'The width of the generated map. Make sure to include the units (px = pixels or % = percent).',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'startLatitude label' => {
|
||||
message => 'Starting Latitude',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'startLatitude description' => {
|
||||
message => 'Latitude of the default starting point of the map.',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'startLongitude label' => {
|
||||
message => 'Starting Longitude',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'startLongitude description' => {
|
||||
message => 'Longitude of the default starting point of the map',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'startZoom label' => {
|
||||
message => 'Starting Zoom Level',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'startZoom description' => {
|
||||
message => 'Zoom level of the default starting point of the map',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'templateIdEditPoint label' => {
|
||||
message => 'Template to Edit Point',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'templateIdEditPoint description' => {
|
||||
message => 'Template to edit a map point. Will appear inside of the map.',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'templateIdView label' => {
|
||||
message => 'Template to View Map',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'templateIdView description' => {
|
||||
message => 'Template to view the map.',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'templateIdViewPoint label' => {
|
||||
message => 'Template to View Point',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'templateIdViewPoint description' => {
|
||||
message => 'Template to view a map point. Will appear inside the map.',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'workflowIdPoint label' => {
|
||||
message => 'Workflow to Commit Map Points',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'workflowIdPoint description' => {
|
||||
message => 'The workflow that will be run when a map point is added or edited.',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'add point label' => {
|
||||
message => "Add Point",
|
||||
lastUpdated => 0,
|
||||
context => 'Label for button to add point',
|
||||
},
|
||||
'set default viewing area label' => {
|
||||
message => 'Set Default Viewing Area',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for button to set starting latitude, longitude, and zoom level',
|
||||
},
|
||||
'error delete unauthorized' => {
|
||||
message => 'You are not allowed to remove this point',
|
||||
lastUpdated => 0,
|
||||
context => 'Error message for user not allowed to remove a point',
|
||||
},
|
||||
'message delete success' => {
|
||||
message => 'Point deleted',
|
||||
lastUpdated => 0,
|
||||
context => 'Message when point deleted successfully',
|
||||
},
|
||||
'error add unauthorized' => {
|
||||
message => 'You are not allowed to add points',
|
||||
lastUpdated => 0,
|
||||
context => 'Error for user not allowed to add a point',
|
||||
},
|
||||
'error edit unauthorized' => {
|
||||
message => 'You are not allowed to edit this point',
|
||||
lastUpdated => 0,
|
||||
context => 'Error for user not allowed to edit a point',
|
||||
},
|
||||
'error set center unauthorized' => {
|
||||
message => 'You are not allowed to set the default viewing area',
|
||||
lastUpdated => 0,
|
||||
context => 'Error message',
|
||||
},
|
||||
'message set center success' => {
|
||||
message => 'Default viewing area set successfully',
|
||||
lastUpdated => 0,
|
||||
context => "Success message",
|
||||
},
|
||||
'message set point location' => {
|
||||
message => 'Point location saved',
|
||||
lastUpdated => 0,
|
||||
context => 'Success message',
|
||||
},
|
||||
'assetName' => {
|
||||
message => "Map",
|
||||
lastUpdated => 0,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,136 @@ package WebGUI::i18n::English::Asset_MapPoint;
|
|||
use strict;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'latitude label' => {
|
||||
message => 'Latitude',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'latitude description' => {
|
||||
message => 'The latitude of the point',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'longitude label' => {
|
||||
message => 'Longitude',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'longitude description' => {
|
||||
message => 'The longitude of the point',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'website label' => {
|
||||
message => 'Website URL',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'website description' => {
|
||||
message => 'A website URL',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'address1 label' => {
|
||||
message => 'Address 1',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'address1 description' => {
|
||||
message => 'The first line of the address',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'address2 label' => {
|
||||
message => 'Address 2',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'address2 description' => {
|
||||
message => 'The second line of the address',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'city label' => {
|
||||
message => 'City',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'city description' => {
|
||||
message => 'The city the point is in',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'state label' => {
|
||||
message => 'State/Province',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'state description' => {
|
||||
message => 'The state/province the point is in',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'zipCode label' => {
|
||||
message => 'Zip/Postal Code',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'zipCode description' => {
|
||||
message => 'The zip/postal code the point is in',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'country label' => {
|
||||
message => 'Country',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'country description' => {
|
||||
message => 'The country the point is in',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'phone label' => {
|
||||
message => 'Phone',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'phone description' => {
|
||||
message => 'The phone number of the location',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'fax label' => {
|
||||
message => 'Fax',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'fax description' => {
|
||||
message => 'The fax number of the location',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'email label' => {
|
||||
message => 'E-mail',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'email description' => {
|
||||
message => 'The e-mail address of the location',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'storageIdPhoto label' => {
|
||||
message => 'Photo',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
'storageIdPhoto description' => {
|
||||
message => 'A photo of the location',
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
'assetName' => {
|
||||
message => "MapPoint",
|
||||
lastUpdated => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue