Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
language
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed Jul 15, 2019
1 parent 5525154 commit 9d44e73
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
PLG_FIELDS_AGOSMSMARKER="Fields - Agosmsaddressmarker"
PLG_FIELDS_AGOSMSADDRESSMARKER_XML_DESCRIPTION="This plugin lets you create new fields of type 'agosmsaddressmarker' in any extensions where custom fields are supported. You can select Custom Fields whose values​are put together into a string. From this string geographic coordinates are calculated, which are displayed in the frond end as markers on a map."
PLG_AGOSMSADDRESSMARKER_HINT="NOTE:<ul><li>Please save the article before calculating the coordinates. <li>If you do not want to display a map for this item in the frontend, then enter 0 as coordinate in each field.</ul>"
PLG_AGOSMSADDRESSMARKER_HINT="<h3>Note:</h3><ul><li><strong>Please save the article before calculating the coordinates,</strong> if you have changed an address value. <li>If you do not want to display a map for this item in the front end, then enter 0 as coordinate in each field.</ul>"
PLG_AGOSMSADDRESSMARKER_GEOCODER="Geocoder"
PLG_AGOSMSADDRESSMARKER_MAPTYPE="Karte"
PLG_AGOSMSADDRESSMARKER_USED_FIELDS="<h3>Used Custom Fields - label (name, id):</h3>"
PLG_AGOSMSADDRESSMARKER_LAT="Latitude (decimal)"
PLG_AGOSMSADDRESSMARKER_LON="Longitude (decimal)"
PLG_AGOSMSADDRESSMARKER_CALCULATE_CORDS="Calculate coordinates"
PLG_AGOSMSADDRESSMARKER_ADDRESS="Address"
PLG_AGOSMSADDRESSMARKER_ADDRESSFIELDS="Adressfields"
PLG_AGOSMSADDRESSMARKER_CFIELD="Custom Field"
PLG_AGOSMSADDRESSMARKER_CFIELDLABEL="Custom Field Description"
PLG_AGOSMSADDRESSMARKER_CFIELDLABEL_DESC=""
PLG_AGOSMSADDRESSMARKER_CFIELD_DESC=""
PLG_AGOSMSADDRESSMARKER_COUNTRY="COUNTRY"
PLG_AGOSMSADDRESSMARKER_DISTRICT="DISTRICT"
PLG_AGOSMSADDRESSMARKER_GOOGLEKEY="GOOGLEKEY"
PLG_AGOSMSADDRESSMARKER_HEIGHT="HEIGHT"
PLG_AGOSMSADDRESSMARKER_LOCALITY="LOCALITY"
PLG_AGOSMSADDRESSMARKER_MAPBOXKEY="MAPBOXKEY"
PLG_AGOSMSADDRESSMARKER_NEIGHBORHOOD="NEIGHBORHOOD"
PLG_AGOSMSADDRESSMARKER_PLACE="PLACE"
PLG_AGOSMSADDRESSMARKER_POI="POI"
PLG_AGOSMSADDRESSMARKER_POSTCODE="POSTCODE"
PLG_AGOSMSADDRESSMARKER_REGION="REGION"
PLG_AGOSMSADDRESSMARKER_SRCOLLWHEELZOOM="Scrollwheelzoom"
PLG_AGOSMSADDRESSMARKER_SRCOLLWHEELZOOM_DESC="<p><strong>No: </strong>You can scroll through the page without stopping at the map.</p><p><strong>Yes: </strong>You can scrolling down a side with a mouse wheel. When you arrive at the map, it automatically zooms into the map.</p><p><strong>Yes and No: </strong>You can activate/deactivate the wheel zoom with a click on the map.</p>"
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 11.07.2019, 16:45:16
Author : astrid
*/

.agosmsaddressmarkerbutton {
margin: 10px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
if (in_array($field->id, $addressfieldsvalues))
{
$addressstring .= $field->rawvalue . ',';
$fieldnames .= $field->name . ', ';
$fieldnames .= $field->label . ' ( ' . $field->name . ', ' . $field->id . ')<br>';
}
}
}
Expand All @@ -128,9 +128,13 @@


<hr>
<p>
<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_HINT'); ?>
</p>
<div class="agosmsaddressmarkersurroundingdiv">
<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_LAT'); ?><input type="text" class="agosmsaddressmarkerlat" >
<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_LON'); ?><input type="text" class="agosmsaddressmarkerlon" >
<br>
<button
data-addressstring="<?php echo htmlspecialchars($addressstring, ENT_QUOTES, 'UTF-8'); ?>"
data-mapboxkey="<?php echo $mapboxkey; ?>"
Expand All @@ -140,16 +144,12 @@ class="btn btn-success agosmsaddressmarkerbutton"
<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_CALCULATE_CORDS'); ?>
</button>
<p>
<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_USED_FIELDS'); ?>:
<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_USED_FIELDS'); ?>
<?php echo $fieldnames; ?>
</p>
<p>
<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_HINT'); ?>
</p>



<?php echo JText::_('PLG_AGOSMSADDRESSMARKER_CURRENT_VALUE'); ?>
<input class="agosmsaddressmarkerhiddenfield"
type="hidden"
readonly name="<?php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
name="scrollwheelzoom"
type="radio"
label="PLG_AGOSMSADDRESSMARKER_SRCOLLWHEELZOOM"
description="PLG_AGOSMSADDRESSMARKER_SRCOLLWHEELZOOM_DESC"
class="btn-group btn-group-yesno switcher"
default="1"
>
Expand Down

0 comments on commit 9d44e73

Please sign in to comment.