Version Description
- Important - Using Google Maps will require a SportsPress Pro license after August 31, 2019.
- Refactor - Fallback to OpenStreetMap for venue maps without SportsPress Pro.
- Feature - Option to display team logos instead of team names in player lists.
- Feature - Option to display custom specs in event blocks and event lists.
- Tweak - Improve page load speed when creating new league tables.
- Tweak - Prevent displaying events other than published or scheduled.
- Fix - Icons only appearing in the first table when player lists are grouped.
- Fix - Character encoding and CRLF errors in calendar feeds.
- Fix - Missing field location Schema error.
- Fix - Dropdowns collapsing in admin when meta boxes are hidden.
- Fix - Timezone handling in countdowns.
- Fix - Error when using special characters in admin settings.
Download this release
Release Info
Developer | brianmiyaji |
Plugin | SportsPress – Sports Club & League Manager |
Version | 2.6.15 |
Comparing to | |
See all releases |
Code changes from version 2.6.14 to 2.6.15
- CONTRIBUTING.md +2 -2
- assets/css/Control.Geocoder.css +126 -0
- assets/css/images/geocoder.png +0 -0
- assets/css/images/layers-2x.png +0 -0
- assets/css/images/layers.png +0 -0
- assets/css/images/marker-icon-2x.png +0 -0
- assets/css/images/marker-icon.png +0 -0
- assets/css/images/marker-shadow.png +0 -0
- assets/css/images/throbber.gif +0 -0
- assets/css/leaflet.css +635 -0
- assets/css/menu.css +3 -0
- assets/css/sportspress-rtl.css +0 -1
- assets/css/sportspress.css +12 -3
- assets/fonts/sportspress.eot +0 -0
- assets/fonts/sportspress.svg +1 -0
- assets/fonts/sportspress.ttf +0 -0
- assets/fonts/sportspress.woff +0 -0
- assets/fonts/sportspress.woff2 +0 -0
- assets/js/Control.Geocoder.js +1348 -0
- assets/js/admin/sp-geocoder.js +54 -0
- assets/js/admin/sp-setup-geocoder.js +54 -0
- assets/js/admin/sportspress-admin.js +12 -16
- assets/js/leaflet.js +5 -0
- assets/js/sportspress.js +3 -10
- changelog.txt +14 -0
- feeds/ical.php +34 -31
- includes/admin/class-sp-admin-assets.php +1 -14
- includes/admin/class-sp-admin-settings.php +1 -1
- includes/admin/class-sp-admin-setup-wizard.php +8 -11
- includes/admin/class-sp-admin-taxonomies.php +27 -14
- includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php +2 -4
- includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php +12 -7
- includes/admin/settings/class-sp-settings-events.php +3 -3
- includes/class-sp-ajax.php +2 -1
- includes/class-sp-calendar.php +3 -13
- includes/class-sp-league-table.php +2 -2
- includes/class-sp-modules.php +8 -1
- includes/sp-api-functions.php +19 -0
- languages/sportspress.pot +1383 -1148
- license.txt +1 -1
- modules/sportspress-calendars.php +3 -3
- modules/sportspress-event-specs.php +20 -5
- modules/sportspress-league-tables.php +3 -3
- modules/sportspress-officials.php +3 -3
- modules/sportspress-openstreetmap.php +173 -0
- modules/sportspress-player-lists.php +22 -3
- readme.txt +16 -2
- sportspress.php +3 -3
- templates/event-blocks.php +18 -3
- templates/event-list.php +20 -11
- templates/event-performance-table.php +7 -3
- templates/event-performance.php +4 -5
- templates/player-events.php +11 -2
- templates/player-list.php +14 -6
- templates/venue-map.php +4 -15
CONTRIBUTING.md
CHANGED
@@ -9,7 +9,7 @@ __Note:__
|
|
9 |
GitHub is for *bug reports and contributions only* - if you have a support question or a request for a customization don't post here. Use [WordPress.org](http://wordpress.org/support/plugin/sportspress) for community support, and for customizations we recommend one of the following services:
|
10 |
|
11 |
- [Elto](https://www.elto.com/)
|
12 |
-
- [Codeable](https://codeable.io/)
|
13 |
|
14 |
## Getting Started
|
15 |
|
@@ -34,4 +34,4 @@ At this point you're waiting on us to merge your pull request. We'll review all
|
|
34 |
|
35 |
* [General GitHub documentation](http://help.github.com/)
|
36 |
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
|
37 |
-
* [SportsPress plugin page on WordPress.org](http://wordpress.org/plugins/sportspress/)
|
9 |
GitHub is for *bug reports and contributions only* - if you have a support question or a request for a customization don't post here. Use [WordPress.org](http://wordpress.org/support/plugin/sportspress) for community support, and for customizations we recommend one of the following services:
|
10 |
|
11 |
- [Elto](https://www.elto.com/)
|
12 |
+
- [Codeable](https://codeable.io/ambassadors/themeboy/)
|
13 |
|
14 |
## Getting Started
|
15 |
|
34 |
|
35 |
* [General GitHub documentation](http://help.github.com/)
|
36 |
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
|
37 |
+
* [SportsPress plugin page on WordPress.org](http://wordpress.org/plugins/sportspress/)
|
assets/css/Control.Geocoder.css
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.leaflet-control-geocoder {
|
2 |
+
border-radius: 4px;
|
3 |
+
background: white;
|
4 |
+
min-width: 26px;
|
5 |
+
min-height: 26px;
|
6 |
+
}
|
7 |
+
|
8 |
+
.leaflet-touch .leaflet-control-geocoder {
|
9 |
+
min-width: 30px;
|
10 |
+
min-height: 30px;
|
11 |
+
}
|
12 |
+
|
13 |
+
.leaflet-control-geocoder a,
|
14 |
+
.leaflet-control-geocoder .leaflet-control-geocoder-icon {
|
15 |
+
border-bottom: none;
|
16 |
+
display: inline-block;
|
17 |
+
}
|
18 |
+
|
19 |
+
.leaflet-control-geocoder .leaflet-control-geocoder-alternatives a {
|
20 |
+
width: inherit;
|
21 |
+
height: inherit;
|
22 |
+
line-height: inherit;
|
23 |
+
}
|
24 |
+
|
25 |
+
.leaflet-control-geocoder a:hover,
|
26 |
+
.leaflet-control-geocoder .leaflet-control-geocoder-icon:hover {
|
27 |
+
border-bottom: none;
|
28 |
+
display: inline-block;
|
29 |
+
}
|
30 |
+
|
31 |
+
.leaflet-control-geocoder-form {
|
32 |
+
display: none;
|
33 |
+
vertical-align: middle;
|
34 |
+
}
|
35 |
+
.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form {
|
36 |
+
display: inline-block;
|
37 |
+
}
|
38 |
+
.leaflet-control-geocoder-form input {
|
39 |
+
font-size: 120%;
|
40 |
+
border: 0;
|
41 |
+
background-color: transparent;
|
42 |
+
width: 246px;
|
43 |
+
}
|
44 |
+
|
45 |
+
.leaflet-control-geocoder-icon {
|
46 |
+
border-radius: 4px;
|
47 |
+
width: 26px;
|
48 |
+
height: 26px;
|
49 |
+
border: none;
|
50 |
+
background-color: white;
|
51 |
+
background-image: url(images/geocoder.png);
|
52 |
+
background-repeat: no-repeat;
|
53 |
+
background-position: center;
|
54 |
+
cursor: pointer;
|
55 |
+
}
|
56 |
+
|
57 |
+
.leaflet-touch .leaflet-control-geocoder-icon {
|
58 |
+
width: 30px;
|
59 |
+
height: 30px;
|
60 |
+
}
|
61 |
+
|
62 |
+
.leaflet-control-geocoder-throbber .leaflet-control-geocoder-icon {
|
63 |
+
background-image: url(images/throbber.gif);
|
64 |
+
}
|
65 |
+
|
66 |
+
.leaflet-control-geocoder-form-no-error {
|
67 |
+
display: none;
|
68 |
+
}
|
69 |
+
|
70 |
+
.leaflet-control-geocoder-form input:focus {
|
71 |
+
outline: none;
|
72 |
+
}
|
73 |
+
|
74 |
+
.leaflet-control-geocoder-form button {
|
75 |
+
display: none;
|
76 |
+
}
|
77 |
+
.leaflet-control-geocoder-error {
|
78 |
+
margin-top: 8px;
|
79 |
+
margin-left: 8px;
|
80 |
+
display: block;
|
81 |
+
color: #444;
|
82 |
+
}
|
83 |
+
.leaflet-control-geocoder-alternatives {
|
84 |
+
display: block;
|
85 |
+
width: 272px;
|
86 |
+
list-style: none;
|
87 |
+
padding: 0;
|
88 |
+
margin: 0;
|
89 |
+
}
|
90 |
+
|
91 |
+
.leaflet-control-geocoder-alternatives-minimized {
|
92 |
+
display: none;
|
93 |
+
height: 0;
|
94 |
+
}
|
95 |
+
.leaflet-control-geocoder-alternatives li {
|
96 |
+
white-space: nowrap;
|
97 |
+
display: block;
|
98 |
+
overflow: hidden;
|
99 |
+
padding: 5px 8px;
|
100 |
+
text-overflow: ellipsis;
|
101 |
+
border-bottom: 1px solid #ccc;
|
102 |
+
cursor: pointer;
|
103 |
+
}
|
104 |
+
|
105 |
+
.leaflet-control-geocoder-alternatives li a,
|
106 |
+
.leaflet-control-geocoder-alternatives li a:hover {
|
107 |
+
width: inherit;
|
108 |
+
height: inherit;
|
109 |
+
line-height: inherit;
|
110 |
+
background: inherit;
|
111 |
+
border-radius: inherit;
|
112 |
+
text-align: left;
|
113 |
+
}
|
114 |
+
|
115 |
+
.leaflet-control-geocoder-alternatives li:last-child {
|
116 |
+
border-bottom: none;
|
117 |
+
}
|
118 |
+
.leaflet-control-geocoder-alternatives li:hover,
|
119 |
+
.leaflet-control-geocoder-selected {
|
120 |
+
background-color: #f5f5f5;
|
121 |
+
}
|
122 |
+
.leaflet-control-geocoder-address-detail {
|
123 |
+
}
|
124 |
+
.leaflet-control-geocoder-address-context {
|
125 |
+
color: #666;
|
126 |
+
}
|
assets/css/images/geocoder.png
ADDED
Binary file
|
assets/css/images/layers-2x.png
ADDED
Binary file
|
assets/css/images/layers.png
ADDED
Binary file
|
assets/css/images/marker-icon-2x.png
ADDED
Binary file
|
assets/css/images/marker-icon.png
ADDED
Binary file
|
assets/css/images/marker-shadow.png
ADDED
Binary file
|
assets/css/images/throbber.gif
ADDED
Binary file
|
assets/css/leaflet.css
ADDED
@@ -0,0 +1,635 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* required styles */
|
2 |
+
|
3 |
+
.leaflet-pane,
|
4 |
+
.leaflet-tile,
|
5 |
+
.leaflet-marker-icon,
|
6 |
+
.leaflet-marker-shadow,
|
7 |
+
.leaflet-tile-container,
|
8 |
+
.leaflet-pane > svg,
|
9 |
+
.leaflet-pane > canvas,
|
10 |
+
.leaflet-zoom-box,
|
11 |
+
.leaflet-image-layer,
|
12 |
+
.leaflet-layer {
|
13 |
+
position: absolute;
|
14 |
+
left: 0;
|
15 |
+
top: 0;
|
16 |
+
}
|
17 |
+
.leaflet-container {
|
18 |
+
overflow: hidden;
|
19 |
+
}
|
20 |
+
.leaflet-tile,
|
21 |
+
.leaflet-marker-icon,
|
22 |
+
.leaflet-marker-shadow {
|
23 |
+
-webkit-user-select: none;
|
24 |
+
-moz-user-select: none;
|
25 |
+
user-select: none;
|
26 |
+
-webkit-user-drag: none;
|
27 |
+
}
|
28 |
+
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
|
29 |
+
.leaflet-safari .leaflet-tile {
|
30 |
+
image-rendering: -webkit-optimize-contrast;
|
31 |
+
}
|
32 |
+
/* hack that prevents hw layers "stretching" when loading new tiles */
|
33 |
+
.leaflet-safari .leaflet-tile-container {
|
34 |
+
width: 1600px;
|
35 |
+
height: 1600px;
|
36 |
+
-webkit-transform-origin: 0 0;
|
37 |
+
}
|
38 |
+
.leaflet-marker-icon,
|
39 |
+
.leaflet-marker-shadow {
|
40 |
+
display: block;
|
41 |
+
}
|
42 |
+
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
|
43 |
+
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
|
44 |
+
.leaflet-container .leaflet-overlay-pane svg,
|
45 |
+
.leaflet-container .leaflet-marker-pane img,
|
46 |
+
.leaflet-container .leaflet-shadow-pane img,
|
47 |
+
.leaflet-container .leaflet-tile-pane img,
|
48 |
+
.leaflet-container img.leaflet-image-layer,
|
49 |
+
.leaflet-container .leaflet-tile {
|
50 |
+
max-width: none !important;
|
51 |
+
max-height: none !important;
|
52 |
+
}
|
53 |
+
|
54 |
+
.leaflet-container.leaflet-touch-zoom {
|
55 |
+
-ms-touch-action: pan-x pan-y;
|
56 |
+
touch-action: pan-x pan-y;
|
57 |
+
}
|
58 |
+
.leaflet-container.leaflet-touch-drag {
|
59 |
+
-ms-touch-action: pinch-zoom;
|
60 |
+
/* Fallback for FF which doesn't support pinch-zoom */
|
61 |
+
touch-action: none;
|
62 |
+
touch-action: pinch-zoom;
|
63 |
+
}
|
64 |
+
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
|
65 |
+
-ms-touch-action: none;
|
66 |
+
touch-action: none;
|
67 |
+
}
|
68 |
+
.leaflet-container {
|
69 |
+
-webkit-tap-highlight-color: transparent;
|
70 |
+
}
|
71 |
+
.leaflet-container a {
|
72 |
+
-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
|
73 |
+
}
|
74 |
+
.leaflet-tile {
|
75 |
+
filter: inherit;
|
76 |
+
visibility: hidden;
|
77 |
+
}
|
78 |
+
.leaflet-tile-loaded {
|
79 |
+
visibility: inherit;
|
80 |
+
}
|
81 |
+
.leaflet-zoom-box {
|
82 |
+
width: 0;
|
83 |
+
height: 0;
|
84 |
+
-moz-box-sizing: border-box;
|
85 |
+
box-sizing: border-box;
|
86 |
+
z-index: 800;
|
87 |
+
}
|
88 |
+
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
|
89 |
+
.leaflet-overlay-pane svg {
|
90 |
+
-moz-user-select: none;
|
91 |
+
}
|
92 |
+
|
93 |
+
.leaflet-pane { z-index: 400; }
|
94 |
+
|
95 |
+
.leaflet-tile-pane { z-index: 200; }
|
96 |
+
.leaflet-overlay-pane { z-index: 400; }
|
97 |
+
.leaflet-shadow-pane { z-index: 500; }
|
98 |
+
.leaflet-marker-pane { z-index: 600; }
|
99 |
+
.leaflet-tooltip-pane { z-index: 650; }
|
100 |
+
.leaflet-popup-pane { z-index: 700; }
|
101 |
+
|
102 |
+
.leaflet-map-pane canvas { z-index: 100; }
|
103 |
+
.leaflet-map-pane svg { z-index: 200; }
|
104 |
+
|
105 |
+
.leaflet-vml-shape {
|
106 |
+
width: 1px;
|
107 |
+
height: 1px;
|
108 |
+
}
|
109 |
+
.lvml {
|
110 |
+
behavior: url(#default#VML);
|
111 |
+
display: inline-block;
|
112 |
+
position: absolute;
|
113 |
+
}
|
114 |
+
|
115 |
+
|
116 |
+
/* control positioning */
|
117 |
+
|
118 |
+
.leaflet-control {
|
119 |
+
position: relative;
|
120 |
+
z-index: 800;
|
121 |
+
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
122 |
+
pointer-events: auto;
|
123 |
+
}
|
124 |
+
.leaflet-top,
|
125 |
+
.leaflet-bottom {
|
126 |
+
position: absolute;
|
127 |
+
z-index: 1000;
|
128 |
+
pointer-events: none;
|
129 |
+
}
|
130 |
+
.leaflet-top {
|
131 |
+
top: 0;
|
132 |
+
}
|
133 |
+
.leaflet-right {
|
134 |
+
right: 0;
|
135 |
+
}
|
136 |
+
.leaflet-bottom {
|
137 |
+
bottom: 0;
|
138 |
+
}
|
139 |
+
.leaflet-left {
|
140 |
+
left: 0;
|
141 |
+
}
|
142 |
+
.leaflet-control {
|
143 |
+
float: left;
|
144 |
+
clear: both;
|
145 |
+
}
|
146 |
+
.leaflet-right .leaflet-control {
|
147 |
+
float: right;
|
148 |
+
}
|
149 |
+
.leaflet-top .leaflet-control {
|
150 |
+
margin-top: 10px;
|
151 |
+
}
|
152 |
+
.leaflet-bottom .leaflet-control {
|
153 |
+
margin-bottom: 10px;
|
154 |
+
}
|
155 |
+
.leaflet-left .leaflet-control {
|
156 |
+
margin-left: 10px;
|
157 |
+
}
|
158 |
+
.leaflet-right .leaflet-control {
|
159 |
+
margin-right: 10px;
|
160 |
+
}
|
161 |
+
|
162 |
+
|
163 |
+
/* zoom and fade animations */
|
164 |
+
|
165 |
+
.leaflet-fade-anim .leaflet-tile {
|
166 |
+
will-change: opacity;
|
167 |
+
}
|
168 |
+
.leaflet-fade-anim .leaflet-popup {
|
169 |
+
opacity: 0;
|
170 |
+
-webkit-transition: opacity 0.2s linear;
|
171 |
+
-moz-transition: opacity 0.2s linear;
|
172 |
+
transition: opacity 0.2s linear;
|
173 |
+
}
|
174 |
+
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
|
175 |
+
opacity: 1;
|
176 |
+
}
|
177 |
+
.leaflet-zoom-animated {
|
178 |
+
-webkit-transform-origin: 0 0;
|
179 |
+
-ms-transform-origin: 0 0;
|
180 |
+
transform-origin: 0 0;
|
181 |
+
}
|
182 |
+
.leaflet-zoom-anim .leaflet-zoom-animated {
|
183 |
+
will-change: transform;
|
184 |
+
}
|
185 |
+
.leaflet-zoom-anim .leaflet-zoom-animated {
|
186 |
+
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
|
187 |
+
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
|
188 |
+
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
|
189 |
+
}
|
190 |
+
.leaflet-zoom-anim .leaflet-tile,
|
191 |
+
.leaflet-pan-anim .leaflet-tile {
|
192 |
+
-webkit-transition: none;
|
193 |
+
-moz-transition: none;
|
194 |
+
transition: none;
|
195 |
+
}
|
196 |
+
|
197 |
+
.leaflet-zoom-anim .leaflet-zoom-hide {
|
198 |
+
visibility: hidden;
|
199 |
+
}
|
200 |
+
|
201 |
+
|
202 |
+
/* cursors */
|
203 |
+
|
204 |
+
.leaflet-interactive {
|
205 |
+
cursor: pointer;
|
206 |
+
}
|
207 |
+
.leaflet-grab {
|
208 |
+
cursor: -webkit-grab;
|
209 |
+
cursor: -moz-grab;
|
210 |
+
cursor: grab;
|
211 |
+
}
|
212 |
+
.leaflet-crosshair,
|
213 |
+
.leaflet-crosshair .leaflet-interactive {
|
214 |
+
cursor: crosshair;
|
215 |
+
}
|
216 |
+
.leaflet-popup-pane,
|
217 |
+
.leaflet-control {
|
218 |
+
cursor: auto;
|
219 |
+
}
|
220 |
+
.leaflet-dragging .leaflet-grab,
|
221 |
+
.leaflet-dragging .leaflet-grab .leaflet-interactive,
|
222 |
+
.leaflet-dragging .leaflet-marker-draggable {
|
223 |
+
cursor: move;
|
224 |
+
cursor: -webkit-grabbing;
|
225 |
+
cursor: -moz-grabbing;
|
226 |
+
cursor: grabbing;
|
227 |
+
}
|
228 |
+
|
229 |
+
/* marker & overlays interactivity */
|
230 |
+
.leaflet-marker-icon,
|
231 |
+
.leaflet-marker-shadow,
|
232 |
+
.leaflet-image-layer,
|
233 |
+
.leaflet-pane > svg path,
|
234 |
+
.leaflet-tile-container {
|
235 |
+
pointer-events: none;
|
236 |
+
}
|
237 |
+
|
238 |
+
.leaflet-marker-icon.leaflet-interactive,
|
239 |
+
.leaflet-image-layer.leaflet-interactive,
|
240 |
+
.leaflet-pane > svg path.leaflet-interactive {
|
241 |
+
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
242 |
+
pointer-events: auto;
|
243 |
+
}
|
244 |
+
|
245 |
+
/* visual tweaks */
|
246 |
+
|
247 |
+
.leaflet-container {
|
248 |
+
background: #ddd;
|
249 |
+
outline: 0;
|
250 |
+
}
|
251 |
+
.leaflet-container a {
|
252 |
+
color: #0078A8;
|
253 |
+
}
|
254 |
+
.leaflet-container a.leaflet-active {
|
255 |
+
outline: 2px solid orange;
|
256 |
+
}
|
257 |
+
.leaflet-zoom-box {
|
258 |
+
border: 2px dotted #38f;
|
259 |
+
background: rgba(255,255,255,0.5);
|
260 |
+
}
|
261 |
+
|
262 |
+
|
263 |
+
/* general typography */
|
264 |
+
.leaflet-container {
|
265 |
+
font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
|
266 |
+
}
|
267 |
+
|
268 |
+
|
269 |
+
/* general toolbar styles */
|
270 |
+
|
271 |
+
.leaflet-bar {
|
272 |
+
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
273 |
+
border-radius: 4px;
|
274 |
+
}
|
275 |
+
.leaflet-bar a,
|
276 |
+
.leaflet-bar a:hover {
|
277 |
+
background-color: #fff;
|
278 |
+
border-bottom: 1px solid #ccc;
|
279 |
+
width: 26px;
|
280 |
+
height: 26px;
|
281 |
+
line-height: 26px;
|
282 |
+
display: block;
|
283 |
+
text-align: center;
|
284 |
+
text-decoration: none;
|
285 |
+
color: black;
|
286 |
+
}
|
287 |
+
.leaflet-bar a,
|
288 |
+
.leaflet-control-layers-toggle {
|
289 |
+
background-position: 50% 50%;
|
290 |
+
background-repeat: no-repeat;
|
291 |
+
display: block;
|
292 |
+
}
|
293 |
+
.leaflet-bar a:hover {
|
294 |
+
background-color: #f4f4f4;
|
295 |
+
}
|
296 |
+
.leaflet-bar a:first-child {
|
297 |
+
border-top-left-radius: 4px;
|
298 |
+
border-top-right-radius: 4px;
|
299 |
+
}
|
300 |
+
.leaflet-bar a:last-child {
|
301 |
+
border-bottom-left-radius: 4px;
|
302 |
+
border-bottom-right-radius: 4px;
|
303 |
+
border-bottom: none;
|
304 |
+
}
|
305 |
+
.leaflet-bar a.leaflet-disabled {
|
306 |
+
cursor: default;
|
307 |
+
background-color: #f4f4f4;
|
308 |
+
color: #bbb;
|
309 |
+
}
|
310 |
+
|
311 |
+
.leaflet-touch .leaflet-bar a {
|
312 |
+
width: 30px;
|
313 |
+
height: 30px;
|
314 |
+
line-height: 30px;
|
315 |
+
}
|
316 |
+
.leaflet-touch .leaflet-bar a:first-child {
|
317 |
+
border-top-left-radius: 2px;
|
318 |
+
border-top-right-radius: 2px;
|
319 |
+
}
|
320 |
+
.leaflet-touch .leaflet-bar a:last-child {
|
321 |
+
border-bottom-left-radius: 2px;
|
322 |
+
border-bottom-right-radius: 2px;
|
323 |
+
}
|
324 |
+
|
325 |
+
/* zoom control */
|
326 |
+
|
327 |
+
.leaflet-control-zoom-in,
|
328 |
+
.leaflet-control-zoom-out {
|
329 |
+
font: bold 18px 'Lucida Console', Monaco, monospace;
|
330 |
+
text-indent: 1px;
|
331 |
+
}
|
332 |
+
|
333 |
+
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
|
334 |
+
font-size: 22px;
|
335 |
+
}
|
336 |
+
|
337 |
+
|
338 |
+
/* layers control */
|
339 |
+
|
340 |
+
.leaflet-control-layers {
|
341 |
+
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
|
342 |
+
background: #fff;
|
343 |
+
border-radius: 5px;
|
344 |
+
}
|
345 |
+
.leaflet-control-layers-toggle {
|
346 |
+
background-image: url(images/layers.png);
|
347 |
+
width: 36px;
|
348 |
+
height: 36px;
|
349 |
+
}
|
350 |
+
.leaflet-retina .leaflet-control-layers-toggle {
|
351 |
+
background-image: url(images/layers-2x.png);
|
352 |
+
background-size: 26px 26px;
|
353 |
+
}
|
354 |
+
.leaflet-touch .leaflet-control-layers-toggle {
|
355 |
+
width: 44px;
|
356 |
+
height: 44px;
|
357 |
+
}
|
358 |
+
.leaflet-control-layers .leaflet-control-layers-list,
|
359 |
+
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
|
360 |
+
display: none;
|
361 |
+
}
|
362 |
+
.leaflet-control-layers-expanded .leaflet-control-layers-list {
|
363 |
+
display: block;
|
364 |
+
position: relative;
|
365 |
+
}
|
366 |
+
.leaflet-control-layers-expanded {
|
367 |
+
padding: 6px 10px 6px 6px;
|
368 |
+
color: #333;
|
369 |
+
background: #fff;
|
370 |
+
}
|
371 |
+
.leaflet-control-layers-scrollbar {
|
372 |
+
overflow-y: scroll;
|
373 |
+
overflow-x: hidden;
|
374 |
+
padding-right: 5px;
|
375 |
+
}
|
376 |
+
.leaflet-control-layers-selector {
|
377 |
+
margin-top: 2px;
|
378 |
+
position: relative;
|
379 |
+
top: 1px;
|
380 |
+
}
|
381 |
+
.leaflet-control-layers label {
|
382 |
+
display: block;
|
383 |
+
}
|
384 |
+
.leaflet-control-layers-separator {
|
385 |
+
height: 0;
|
386 |
+
border-top: 1px solid #ddd;
|
387 |
+
margin: 5px -10px 5px -6px;
|
388 |
+
}
|
389 |
+
|
390 |
+
/* Default icon URLs */
|
391 |
+
.leaflet-default-icon-path {
|
392 |
+
background-image: url(images/marker-icon.png);
|
393 |
+
}
|
394 |
+
|
395 |
+
|
396 |
+
/* attribution and scale controls */
|
397 |
+
|
398 |
+
.leaflet-container .leaflet-control-attribution {
|
399 |
+
background: #fff;
|
400 |
+
background: rgba(255, 255, 255, 0.7);
|
401 |
+
margin: 0;
|
402 |
+
}
|
403 |
+
.leaflet-control-attribution,
|
404 |
+
.leaflet-control-scale-line {
|
405 |
+
padding: 0 5px;
|
406 |
+
color: #333;
|
407 |
+
}
|
408 |
+
.leaflet-control-attribution a {
|
409 |
+
text-decoration: none;
|
410 |
+
}
|
411 |
+
.leaflet-control-attribution a:hover {
|
412 |
+
text-decoration: underline;
|
413 |
+
}
|
414 |
+
.leaflet-container .leaflet-control-attribution,
|
415 |
+
.leaflet-container .leaflet-control-scale {
|
416 |
+
font-size: 11px;
|
417 |
+
}
|
418 |
+
.leaflet-left .leaflet-control-scale {
|
419 |
+
margin-left: 5px;
|
420 |
+
}
|
421 |
+
.leaflet-bottom .leaflet-control-scale {
|
422 |
+
margin-bottom: 5px;
|
423 |
+
}
|
424 |
+
.leaflet-control-scale-line {
|
425 |
+
border: 2px solid #777;
|
426 |
+
border-top: none;
|
427 |
+
line-height: 1.1;
|
428 |
+
padding: 2px 5px 1px;
|
429 |
+
font-size: 11px;
|
430 |
+
white-space: nowrap;
|
431 |
+
overflow: hidden;
|
432 |
+
-moz-box-sizing: border-box;
|
433 |
+
box-sizing: border-box;
|
434 |
+
|
435 |
+
background: #fff;
|
436 |
+
background: rgba(255, 255, 255, 0.5);
|
437 |
+
}
|
438 |
+
.leaflet-control-scale-line:not(:first-child) {
|
439 |
+
border-top: 2px solid #777;
|
440 |
+
border-bottom: none;
|
441 |
+
margin-top: -2px;
|
442 |
+
}
|
443 |
+
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
|
444 |
+
border-bottom: 2px solid #777;
|
445 |
+
}
|
446 |
+
|
447 |
+
.leaflet-touch .leaflet-control-attribution,
|
448 |
+
.leaflet-touch .leaflet-control-layers,
|
449 |
+
.leaflet-touch .leaflet-bar {
|
450 |
+
box-shadow: none;
|
451 |
+
}
|
452 |
+
.leaflet-touch .leaflet-control-layers,
|
453 |
+
.leaflet-touch .leaflet-bar {
|
454 |
+
border: 2px solid rgba(0,0,0,0.2);
|
455 |
+
background-clip: padding-box;
|
456 |
+
}
|
457 |
+
|
458 |
+
|
459 |
+
/* popup */
|
460 |
+
|
461 |
+
.leaflet-popup {
|
462 |
+
position: absolute;
|
463 |
+
text-align: center;
|
464 |
+
margin-bottom: 20px;
|
465 |
+
}
|
466 |
+
.leaflet-popup-content-wrapper {
|
467 |
+
padding: 1px;
|
468 |
+
text-align: left;
|
469 |
+
border-radius: 12px;
|
470 |
+
}
|
471 |
+
.leaflet-popup-content {
|
472 |
+
margin: 13px 19px;
|
473 |
+
line-height: 1.4;
|
474 |
+
}
|
475 |
+
.leaflet-popup-content p {
|
476 |
+
margin: 18px 0;
|
477 |
+
}
|
478 |
+
.leaflet-popup-tip-container {
|
479 |
+
width: 40px;
|
480 |
+
height: 20px;
|
481 |
+
position: absolute;
|
482 |
+
left: 50%;
|
483 |
+
margin-left: -20px;
|
484 |
+
overflow: hidden;
|
485 |
+
pointer-events: none;
|
486 |
+
}
|
487 |
+
.leaflet-popup-tip {
|
488 |
+
width: 17px;
|
489 |
+
height: 17px;
|
490 |
+
padding: 1px;
|
491 |
+
|
492 |
+
margin: -10px auto 0;
|
493 |
+
|
494 |
+
-webkit-transform: rotate(45deg);
|
495 |
+
-moz-transform: rotate(45deg);
|
496 |
+
-ms-transform: rotate(45deg);
|
497 |
+
transform: rotate(45deg);
|
498 |
+
}
|
499 |
+
.leaflet-popup-content-wrapper,
|
500 |
+
.leaflet-popup-tip {
|
501 |
+
background: white;
|
502 |
+
color: #333;
|
503 |
+
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
504 |
+
}
|
505 |
+
.leaflet-container a.leaflet-popup-close-button {
|
506 |
+
position: absolute;
|
507 |
+
top: 0;
|
508 |
+
right: 0;
|
509 |
+
padding: 4px 4px 0 0;
|
510 |
+
border: none;
|
511 |
+
text-align: center;
|
512 |
+
width: 18px;
|
513 |
+
height: 14px;
|
514 |
+
font: 16px/14px Tahoma, Verdana, sans-serif;
|
515 |
+
color: #c3c3c3;
|
516 |
+
text-decoration: none;
|
517 |
+
font-weight: bold;
|
518 |
+
background: transparent;
|
519 |
+
}
|
520 |
+
.leaflet-container a.leaflet-popup-close-button:hover {
|
521 |
+
color: #999;
|
522 |
+
}
|
523 |
+
.leaflet-popup-scrolled {
|
524 |
+
overflow: auto;
|
525 |
+
border-bottom: 1px solid #ddd;
|
526 |
+
border-top: 1px solid #ddd;
|
527 |
+
}
|
528 |
+
|
529 |
+
.leaflet-oldie .leaflet-popup-content-wrapper {
|
530 |
+
zoom: 1;
|
531 |
+
}
|
532 |
+
.leaflet-oldie .leaflet-popup-tip {
|
533 |
+
width: 24px;
|
534 |
+
margin: 0 auto;
|
535 |
+
|
536 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
537 |
+
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
538 |
+
}
|
539 |
+
.leaflet-oldie .leaflet-popup-tip-container {
|
540 |
+
margin-top: -1px;
|
541 |
+
}
|
542 |
+
|
543 |
+
.leaflet-oldie .leaflet-control-zoom,
|
544 |
+
.leaflet-oldie .leaflet-control-layers,
|
545 |
+
.leaflet-oldie .leaflet-popup-content-wrapper,
|
546 |
+
.leaflet-oldie .leaflet-popup-tip {
|
547 |
+
border: 1px solid #999;
|
548 |
+
}
|
549 |
+
|
550 |
+
|
551 |
+
/* div icon */
|
552 |
+
|
553 |
+
.leaflet-div-icon {
|
554 |
+
background: #fff;
|
555 |
+
border: 1px solid #666;
|
556 |
+
}
|
557 |
+
|
558 |
+
|
559 |
+
/* Tooltip */
|
560 |
+
/* Base styles for the element that has a tooltip */
|
561 |
+
.leaflet-tooltip {
|
562 |
+
position: absolute;
|
563 |
+
padding: 6px;
|
564 |
+
background-color: #fff;
|
565 |
+
border: 1px solid #fff;
|
566 |
+
border-radius: 3px;
|
567 |
+
color: #222;
|
568 |
+
white-space: nowrap;
|
569 |
+
-webkit-user-select: none;
|
570 |
+
-moz-user-select: none;
|
571 |
+
-ms-user-select: none;
|
572 |
+
user-select: none;
|
573 |
+
pointer-events: none;
|
574 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
|
575 |
+
}
|
576 |
+
.leaflet-tooltip.leaflet-clickable {
|
577 |
+
cursor: pointer;
|
578 |
+
pointer-events: auto;
|
579 |
+
}
|
580 |
+
.leaflet-tooltip-top:before,
|
581 |
+
.leaflet-tooltip-bottom:before,
|
582 |
+
.leaflet-tooltip-left:before,
|
583 |
+
.leaflet-tooltip-right:before {
|
584 |
+
position: absolute;
|
585 |
+
pointer-events: none;
|
586 |
+
border: 6px solid transparent;
|
587 |
+
background: transparent;
|
588 |
+
content: "";
|
589 |
+
}
|
590 |
+
|
591 |
+
/* Directions */
|
592 |
+
|
593 |
+
.leaflet-tooltip-bottom {
|
594 |
+
margin-top: 6px;
|
595 |
+
}
|
596 |
+
.leaflet-tooltip-top {
|
597 |
+
margin-top: -6px;
|
598 |
+
}
|
599 |
+
.leaflet-tooltip-bottom:before,
|
600 |
+
.leaflet-tooltip-top:before {
|
601 |
+
left: 50%;
|
602 |
+
margin-left: -6px;
|
603 |
+
}
|
604 |
+
.leaflet-tooltip-top:before {
|
605 |
+
bottom: 0;
|
606 |
+
margin-bottom: -12px;
|
607 |
+
border-top-color: #fff;
|
608 |
+
}
|
609 |
+
.leaflet-tooltip-bottom:before {
|
610 |
+
top: 0;
|
611 |
+
margin-top: -12px;
|
612 |
+
margin-left: -6px;
|
613 |
+
border-bottom-color: #fff;
|
614 |
+
}
|
615 |
+
.leaflet-tooltip-left {
|
616 |
+
margin-left: -6px;
|
617 |
+
}
|
618 |
+
.leaflet-tooltip-right {
|
619 |
+
margin-left: 6px;
|
620 |
+
}
|
621 |
+
.leaflet-tooltip-left:before,
|
622 |
+
.leaflet-tooltip-right:before {
|
623 |
+
top: 50%;
|
624 |
+
margin-top: -6px;
|
625 |
+
}
|
626 |
+
.leaflet-tooltip-left:before {
|
627 |
+
right: 0;
|
628 |
+
margin-right: -12px;
|
629 |
+
border-left-color: #fff;
|
630 |
+
}
|
631 |
+
.leaflet-tooltip-right:before {
|
632 |
+
left: 0;
|
633 |
+
margin-left: -12px;
|
634 |
+
border-right-color: #fff;
|
635 |
+
}
|
assets/css/menu.css
CHANGED
@@ -103,6 +103,9 @@
|
|
103 |
.sp-icon-list:before {
|
104 |
content: "\f163"
|
105 |
}
|
|
|
|
|
|
|
106 |
.sp-icon-matrix:before {
|
107 |
content: "\f314";
|
108 |
}
|
103 |
.sp-icon-list:before {
|
104 |
content: "\f163"
|
105 |
}
|
106 |
+
.sp-icon-location:before {
|
107 |
+
content: "\f231";
|
108 |
+
}
|
109 |
.sp-icon-matrix:before {
|
110 |
content: "\f314";
|
111 |
}
|
assets/css/sportspress-rtl.css
CHANGED
@@ -31,7 +31,6 @@
|
|
31 |
}
|
32 |
|
33 |
/* League Table and Player List */
|
34 |
-
.sp-league-table .data-name .team-logo,
|
35 |
.sp-player-list .data-name .player-photo,
|
36 |
.sp-player-list .data-name .player-flag {
|
37 |
margin-right: 0;
|
31 |
}
|
32 |
|
33 |
/* League Table and Player List */
|
|
|
34 |
.sp-player-list .data-name .player-photo,
|
35 |
.sp-player-list .data-name .player-flag {
|
36 |
margin-right: 0;
|
assets/css/sportspress.css
CHANGED
@@ -203,16 +203,21 @@
|
|
203 |
line-height: 2em;
|
204 |
}
|
205 |
.sp-player-list .data-name .player-photo,
|
206 |
-
.sp-player-list .data-name .player-flag
|
|
|
207 |
width: 2em;
|
208 |
height: 2em;
|
209 |
-
margin-right: 0.5em;
|
210 |
display: inline-block;
|
211 |
vertical-align: middle;
|
212 |
text-align: center;
|
213 |
}
|
|
|
|
|
|
|
|
|
214 |
.sp-player-list .data-name .player-photo img,
|
215 |
-
.sp-player-list .data-name .player-flag img
|
|
|
216 |
width: auto;
|
217 |
height: auto;
|
218 |
max-width: 2em;
|
@@ -448,6 +453,10 @@
|
|
448 |
clear: both;
|
449 |
}
|
450 |
|
|
|
|
|
|
|
|
|
451 |
/* Event Logos Block */
|
452 |
.sp-template-event-logos-block .team-logo {
|
453 |
float: none;
|
203 |
line-height: 2em;
|
204 |
}
|
205 |
.sp-player-list .data-name .player-photo,
|
206 |
+
.sp-player-list .data-name .player-flag,
|
207 |
+
.sp-player-list .data-team .team-logo {
|
208 |
width: 2em;
|
209 |
height: 2em;
|
|
|
210 |
display: inline-block;
|
211 |
vertical-align: middle;
|
212 |
text-align: center;
|
213 |
}
|
214 |
+
.sp-player-list .data-name .player-photo,
|
215 |
+
.sp-player-list .data-name .player-flag {
|
216 |
+
margin-right: 0.5em;
|
217 |
+
}
|
218 |
.sp-player-list .data-name .player-photo img,
|
219 |
+
.sp-player-list .data-name .player-flag img,
|
220 |
+
.sp-player-list .data-team .team-logo img {
|
221 |
width: auto;
|
222 |
height: auto;
|
223 |
max-width: 2em;
|
453 |
clear: both;
|
454 |
}
|
455 |
|
456 |
+
span.sp_event_spec_label {
|
457 |
+
font-weight: bold;
|
458 |
+
}
|
459 |
+
|
460 |
/* Event Logos Block */
|
461 |
.sp-template-event-logos-block .team-logo {
|
462 |
float: none;
|
assets/fonts/sportspress.eot
CHANGED
Binary file
|
assets/fonts/sportspress.svg
CHANGED
@@ -46,6 +46,7 @@
|
|
46 |
<glyph unicode="" glyph-name="chart" d="M76.8 102.4h102.4v204.8h-102.4v-204.8zM204.8 102.4h102.4v307.2h-102.4v-307.2zM332.8 307.2v-204.8h102.4v204.8h-102.4z" />
|
47 |
<glyph unicode="" glyph-name="timeline" d="M457.2 70l-54.8-41.6c-2.4-1.84-5.44-2.8-8.96-2.8s-6.56 0.96-8.96 2.8v22.8h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.56-0.96 8.96-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-7.040s-1.12-5.12-3.52-6.96zM351.2 336c-2.4-2.16-5.44-3.2-8.96-3.2s-6.56 1.040-8.96 3.2v22.4h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16 4.96 26.24 15.040 36.16 22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.64-0.96 9.040-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-6.8s-1.2-5.040-3.6-7.2l-54.8-41.2zM128 281.6c9.36 0 17.84-2.32 25.6-7.040 7.76-4.64 13.84-10.88 18.4-18.56h91.2c4.56 7.76 10.64 13.92 18.4 18.56s16.24 7.040 25.6 7.040c14.16 0 26.24-4.96 36.16-15.040s15.040-22 15.040-36.16c0-14.16-4.96-26.24-15.040-36.16s-22-15.040-36.16-15.040c-9.36 0-17.84 2.32-25.6 7.040s-13.84 10.88-18.4 18.56h-91.2c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040zM307.36 204.8c7.040 0 13.040 2.56 18 7.6s7.36 11.12 7.36 18.24c0 7.040-2.48 13.040-7.36 18s-10.96 7.36-18 7.36-13.12-2.48-18.24-7.36-7.6-10.96-7.6-18c0-7.040 2.56-13.12 7.6-18.24s11.2-7.6 18.24-7.6z" />
|
48 |
<glyph unicode="" glyph-name="whistle" d="M301.84 256c3.44-12.24 5.36-25.12 5.36-38.4 0-77.76-63.040-140.8-140.8-140.8s-140.8 63.040-140.8 140.8 63.040 140.8 140.8 140.8h89.6v-25.6c0-14.16 11.44-25.6 25.6-25.6s25.6 11.44 25.6 25.6v25.6h179.2v-102.4h-184.56z" />
|
|
|
49 |
<glyph unicode="" glyph-name="minimal" d="M358 204.8v-76.8c0-14.16-11.44-25.6-25.6-25.6h-128v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h102.4v153.6h-102.4v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h128c14.16 0 25.6-11.44 25.6-25.6v-76.8h102.4v-51.2h-102.4z" />
|
50 |
<glyph unicode="" glyph-name="instagram" d="M459.6 145.92c-0.96-21.84-4.48-36.72-9.52-49.68-5.2-13.44-12.24-24.88-23.6-36.24-11.44-11.44-22.8-18.4-36.24-23.6-13.040-5.040-27.92-8.56-49.68-9.52-21.84-0.96-28.8-1.2-84.4-1.2s-62.64 0.24-84.4 1.2c-21.84 0.96-36.72 4.48-49.68 9.52-13.44 5.2-24.88 12.24-36.24 23.6-11.44 11.44-18.4 22.8-23.6 36.24-5.040 13.040-8.56 27.92-9.52 49.68-1.12 21.84-1.36 28.8-1.36 84.4s0.24 62.64 1.2 84.4c0.96 21.84 4.48 36.72 9.52 49.68 5.2 13.44 12.24 24.88 23.6 36.24 11.44 11.44 22.8 18.4 36.24 23.6 13.040 5.040 27.92 8.56 49.68 9.52 21.84 1.2 28.8 1.44 84.4 1.44s62.64-0.24 84.4-1.2c21.84-0.96 36.72-4.48 49.68-9.52 13.52-5.28 24.96-12.24 36.32-23.68 11.44-11.44 18.4-22.8 23.6-36.24 5.040-13.040 8.56-27.92 9.52-49.68 0.96-21.84 1.2-28.8 1.2-84.4s-0.080-62.72-1.12-84.56zM422.72 313.12c-0.96 19.92-4.24 30.88-7.040 38.080-3.76 9.52-8.16 16.4-15.28 23.6s-14 11.52-23.6 15.28c-7.2 2.8-18 6.16-38.080 7.040-21.6 0.96-28.080 1.2-82.72 1.2s-61.12-0.24-82.72-1.2c-19.92-0.96-30.88-4.24-38.080-7.040-9.52-3.76-16.4-8.16-23.6-15.28s-11.52-14-15.28-23.6c-2.8-7.2-6.16-18-7.040-38.080-0.96-21.6-1.2-28.080-1.2-82.72s0.24-61.12 1.2-82.72c0.96-19.92 4.24-30.88 7.040-38.080 3.76-9.52 8.16-16.4 15.28-23.6s14-11.6 23.6-15.28c7.2-2.8 18-6.16 38.080-7.040 21.6-0.96 28.080-1.2 82.72-1.2s61.12 0.24 82.72 1.2c19.92 0.96 30.88 4.24 38.080 7.040 9.52 3.76 16.4 8.16 23.6 15.28s11.6 14 15.28 23.6c2.8 7.2 6.16 18 7.040 38.080 0.96 21.6 1.2 28.080 1.2 82.72s-0.16 61.12-1.2 82.72zM365.36 315.12c-13.52 0-24.56 10.96-24.56 24.56s10.96 24.56 24.56 24.56c13.52 0 24.56-10.96 24.56-24.56s-10.96-24.56-24.56-24.56zM256 125.2c-58.080 0-105.2 47.040-105.2 105.2s47.12 105.2 105.2 105.2 105.2-47.12 105.2-105.2-47.12-105.2-105.2-105.2zM256 298.64c-37.68 0-68.24-30.56-68.24-68.24s30.56-68.24 68.24-68.24 68.24 30.56 68.24 68.24-30.48 68.24-68.24 68.24z" />
|
51 |
<glyph unicode="" glyph-name="tshirt" d="M459.6 307.2h-76.8v-179.2h-256v179.2h-76.8v102.4h132.4c10.56-29.84 38.96-51.2 72.4-51.2s61.84 21.36 72.4 51.2h132.4v-102.4zM382.8 102.4v-51.2h-256v51.2h256z" />
|
46 |
<glyph unicode="" glyph-name="chart" d="M76.8 102.4h102.4v204.8h-102.4v-204.8zM204.8 102.4h102.4v307.2h-102.4v-307.2zM332.8 307.2v-204.8h102.4v204.8h-102.4z" />
|
47 |
<glyph unicode="" glyph-name="timeline" d="M457.2 70l-54.8-41.6c-2.4-1.84-5.44-2.8-8.96-2.8s-6.56 0.96-8.96 2.8v22.8h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.56-0.96 8.96-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-7.040s-1.12-5.12-3.52-6.96zM351.2 336c-2.4-2.16-5.44-3.2-8.96-3.2s-6.56 1.040-8.96 3.2v22.4h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16 4.96 26.24 15.040 36.16 22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.64-0.96 9.040-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-6.8s-1.2-5.040-3.6-7.2l-54.8-41.2zM128 281.6c9.36 0 17.84-2.32 25.6-7.040 7.76-4.64 13.84-10.88 18.4-18.56h91.2c4.56 7.76 10.64 13.92 18.4 18.56s16.24 7.040 25.6 7.040c14.16 0 26.24-4.96 36.16-15.040s15.040-22 15.040-36.16c0-14.16-4.96-26.24-15.040-36.16s-22-15.040-36.16-15.040c-9.36 0-17.84 2.32-25.6 7.040s-13.84 10.88-18.4 18.56h-91.2c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040zM307.36 204.8c7.040 0 13.040 2.56 18 7.6s7.36 11.12 7.36 18.24c0 7.040-2.48 13.040-7.36 18s-10.96 7.36-18 7.36-13.12-2.48-18.24-7.36-7.6-10.96-7.6-18c0-7.040 2.56-13.12 7.6-18.24s11.2-7.6 18.24-7.6z" />
|
48 |
<glyph unicode="" glyph-name="whistle" d="M301.84 256c3.44-12.24 5.36-25.12 5.36-38.4 0-77.76-63.040-140.8-140.8-140.8s-140.8 63.040-140.8 140.8 63.040 140.8 140.8 140.8h89.6v-25.6c0-14.16 11.44-25.6 25.6-25.6s25.6 11.44 25.6 25.6v25.6h179.2v-102.4h-184.56z" />
|
49 |
+
<glyph unicode="" glyph-name="location" d="M495.795 22.989l-34.995 105.011h-38.4l21.325-102.4h-375.45l21.325 102.4h-38.4l-35.021-105.011c-8.883-26.726 6.861-48.589 35.021-48.589h409.6c28.16 0 43.904 21.863 34.995 48.589zM384 358.4c0 70.682-57.293 128-128 128s-128-57.318-128-128c0-122.24 128-256 128-256s128 133.76 128 256zM186.88 356.864c0 38.169 30.925 69.094 69.12 69.094s69.12-30.925 69.12-69.094c0-38.195-30.95-69.12-69.12-69.12s-69.12 30.95-69.12 69.12z" />
|
50 |
<glyph unicode="" glyph-name="minimal" d="M358 204.8v-76.8c0-14.16-11.44-25.6-25.6-25.6h-128v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h102.4v153.6h-102.4v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h128c14.16 0 25.6-11.44 25.6-25.6v-76.8h102.4v-51.2h-102.4z" />
|
51 |
<glyph unicode="" glyph-name="instagram" d="M459.6 145.92c-0.96-21.84-4.48-36.72-9.52-49.68-5.2-13.44-12.24-24.88-23.6-36.24-11.44-11.44-22.8-18.4-36.24-23.6-13.040-5.040-27.92-8.56-49.68-9.52-21.84-0.96-28.8-1.2-84.4-1.2s-62.64 0.24-84.4 1.2c-21.84 0.96-36.72 4.48-49.68 9.52-13.44 5.2-24.88 12.24-36.24 23.6-11.44 11.44-18.4 22.8-23.6 36.24-5.040 13.040-8.56 27.92-9.52 49.68-1.12 21.84-1.36 28.8-1.36 84.4s0.24 62.64 1.2 84.4c0.96 21.84 4.48 36.72 9.52 49.68 5.2 13.44 12.24 24.88 23.6 36.24 11.44 11.44 22.8 18.4 36.24 23.6 13.040 5.040 27.92 8.56 49.68 9.52 21.84 1.2 28.8 1.44 84.4 1.44s62.64-0.24 84.4-1.2c21.84-0.96 36.72-4.48 49.68-9.52 13.52-5.28 24.96-12.24 36.32-23.68 11.44-11.44 18.4-22.8 23.6-36.24 5.040-13.040 8.56-27.92 9.52-49.68 0.96-21.84 1.2-28.8 1.2-84.4s-0.080-62.72-1.12-84.56zM422.72 313.12c-0.96 19.92-4.24 30.88-7.040 38.080-3.76 9.52-8.16 16.4-15.28 23.6s-14 11.52-23.6 15.28c-7.2 2.8-18 6.16-38.080 7.040-21.6 0.96-28.080 1.2-82.72 1.2s-61.12-0.24-82.72-1.2c-19.92-0.96-30.88-4.24-38.080-7.040-9.52-3.76-16.4-8.16-23.6-15.28s-11.52-14-15.28-23.6c-2.8-7.2-6.16-18-7.040-38.080-0.96-21.6-1.2-28.080-1.2-82.72s0.24-61.12 1.2-82.72c0.96-19.92 4.24-30.88 7.040-38.080 3.76-9.52 8.16-16.4 15.28-23.6s14-11.6 23.6-15.28c7.2-2.8 18-6.16 38.080-7.040 21.6-0.96 28.080-1.2 82.72-1.2s61.12 0.24 82.72 1.2c19.92 0.96 30.88 4.24 38.080 7.040 9.52 3.76 16.4 8.16 23.6 15.28s11.6 14 15.28 23.6c2.8 7.2 6.16 18 7.040 38.080 0.96 21.6 1.2 28.080 1.2 82.72s-0.16 61.12-1.2 82.72zM365.36 315.12c-13.52 0-24.56 10.96-24.56 24.56s10.96 24.56 24.56 24.56c13.52 0 24.56-10.96 24.56-24.56s-10.96-24.56-24.56-24.56zM256 125.2c-58.080 0-105.2 47.040-105.2 105.2s47.12 105.2 105.2 105.2 105.2-47.12 105.2-105.2-47.12-105.2-105.2-105.2zM256 298.64c-37.68 0-68.24-30.56-68.24-68.24s30.56-68.24 68.24-68.24 68.24 30.56 68.24 68.24-30.48 68.24-68.24 68.24z" />
|
52 |
<glyph unicode="" glyph-name="tshirt" d="M459.6 307.2h-76.8v-179.2h-256v179.2h-76.8v102.4h132.4c10.56-29.84 38.96-51.2 72.4-51.2s61.84 21.36 72.4 51.2h132.4v-102.4zM382.8 102.4v-51.2h-256v51.2h256z" />
|
assets/fonts/sportspress.ttf
CHANGED
Binary file
|
assets/fonts/sportspress.woff
CHANGED
Binary file
|
assets/fonts/sportspress.woff2
CHANGED
Binary file
|
assets/js/Control.Geocoder.js
ADDED
@@ -0,0 +1,1348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
this.L = this.L || {};
|
2 |
+
this.L.Control = this.L.Control || {};
|
3 |
+
this.L.Control.Geocoder = (function (L) {
|
4 |
+
'use strict';
|
5 |
+
|
6 |
+
L = L && L.hasOwnProperty('default') ? L['default'] : L;
|
7 |
+
|
8 |
+
var lastCallbackId = 0;
|
9 |
+
|
10 |
+
// Adapted from handlebars.js
|
11 |
+
// https://github.com/wycats/handlebars.js/
|
12 |
+
var badChars = /[&<>"'`]/g;
|
13 |
+
var possible = /[&<>"'`]/;
|
14 |
+
var escape = {
|
15 |
+
'&': '&',
|
16 |
+
'<': '<',
|
17 |
+
'>': '>',
|
18 |
+
'"': '"',
|
19 |
+
"'": ''',
|
20 |
+
'`': '`'
|
21 |
+
};
|
22 |
+
|
23 |
+
function escapeChar(chr) {
|
24 |
+
return escape[chr];
|
25 |
+
}
|
26 |
+
|
27 |
+
function htmlEscape(string) {
|
28 |
+
if (string == null) {
|
29 |
+
return '';
|
30 |
+
} else if (!string) {
|
31 |
+
return string + '';
|
32 |
+
}
|
33 |
+
|
34 |
+
// Force a string conversion as this will be done by the append regardless and
|
35 |
+
// the regex test will do this transparently behind the scenes, causing issues if
|
36 |
+
// an object's to string has escaped characters in it.
|
37 |
+
string = '' + string;
|
38 |
+
|
39 |
+
if (!possible.test(string)) {
|
40 |
+
return string;
|
41 |
+
}
|
42 |
+
return string.replace(badChars, escapeChar);
|
43 |
+
}
|
44 |
+
|
45 |
+
function jsonp(url, params, callback, context, jsonpParam) {
|
46 |
+
var callbackId = '_l_geocoder_' + lastCallbackId++;
|
47 |
+
params[jsonpParam || 'callback'] = callbackId;
|
48 |
+
window[callbackId] = L.Util.bind(callback, context);
|
49 |
+
var script = document.createElement('script');
|
50 |
+
script.type = 'text/javascript';
|
51 |
+
script.src = url + L.Util.getParamString(params);
|
52 |
+
script.id = callbackId;
|
53 |
+
document.getElementsByTagName('head')[0].appendChild(script);
|
54 |
+
}
|
55 |
+
|
56 |
+
function getJSON(url, params, callback) {
|
57 |
+
var xmlHttp = new XMLHttpRequest();
|
58 |
+
xmlHttp.onreadystatechange = function() {
|
59 |
+
if (xmlHttp.readyState !== 4) {
|
60 |
+
return;
|
61 |
+
}
|
62 |
+
if (xmlHttp.status !== 200 && xmlHttp.status !== 304) {
|
63 |
+
callback('');
|
64 |
+
return;
|
65 |
+
}
|
66 |
+
callback(JSON.parse(xmlHttp.response));
|
67 |
+
};
|
68 |
+
xmlHttp.open('GET', url + L.Util.getParamString(params), true);
|
69 |
+
xmlHttp.setRequestHeader('Accept', 'application/json');
|
70 |
+
xmlHttp.send(null);
|
71 |
+
}
|
72 |
+
|
73 |
+
function template(str, data) {
|
74 |
+
return str.replace(/\{ *([\w_]+) *\}/g, function(str, key) {
|
75 |
+
var value = data[key];
|
76 |
+
if (value === undefined) {
|
77 |
+
value = '';
|
78 |
+
} else if (typeof value === 'function') {
|
79 |
+
value = value(data);
|
80 |
+
}
|
81 |
+
return htmlEscape(value);
|
82 |
+
});
|
83 |
+
}
|
84 |
+
|
85 |
+
var Nominatim = {
|
86 |
+
class: L.Class.extend({
|
87 |
+
options: {
|
88 |
+
serviceUrl: 'https://nominatim.openstreetmap.org/',
|
89 |
+
geocodingQueryParams: {},
|
90 |
+
reverseQueryParams: {},
|
91 |
+
htmlTemplate: function(r) {
|
92 |
+
var a = r.address,
|
93 |
+
parts = [];
|
94 |
+
if (a.road || a.building) {
|
95 |
+
parts.push('{building} {road} {house_number}');
|
96 |
+
}
|
97 |
+
|
98 |
+
if (a.city || a.town || a.village || a.hamlet) {
|
99 |
+
parts.push(
|
100 |
+
'<span class="' +
|
101 |
+
(parts.length > 0 ? 'leaflet-control-geocoder-address-detail' : '') +
|
102 |
+
'">{postcode} {city} {town} {village} {hamlet}</span>'
|
103 |
+
);
|
104 |
+
}
|
105 |
+
|
106 |
+
if (a.state || a.country) {
|
107 |
+
parts.push(
|
108 |
+
'<span class="' +
|
109 |
+
(parts.length > 0 ? 'leaflet-control-geocoder-address-context' : '') +
|
110 |
+
'">{state} {country}</span>'
|
111 |
+
);
|
112 |
+
}
|
113 |
+
|
114 |
+
return template(parts.join('<br/>'), a, true);
|
115 |
+
}
|
116 |
+
},
|
117 |
+
|
118 |
+
initialize: function(options) {
|
119 |
+
L.Util.setOptions(this, options);
|
120 |
+
},
|
121 |
+
|
122 |
+
geocode: function(query, cb, context) {
|
123 |
+
getJSON(
|
124 |
+
this.options.serviceUrl + 'search',
|
125 |
+
L.extend(
|
126 |
+
{
|
127 |
+
q: query,
|
128 |
+
limit: 5,
|
129 |
+
format: 'json',
|
130 |
+
addressdetails: 1
|
131 |
+
},
|
132 |
+
this.options.geocodingQueryParams
|
133 |
+
),
|
134 |
+
L.bind(function(data) {
|
135 |
+
var results = [];
|
136 |
+
for (var i = data.length - 1; i >= 0; i--) {
|
137 |
+
var bbox = data[i].boundingbox;
|
138 |
+
for (var j = 0; j < 4; j++) bbox[j] = parseFloat(bbox[j]);
|
139 |
+
results[i] = {
|
140 |
+
icon: data[i].icon,
|
141 |
+
name: data[i].display_name,
|
142 |
+
html: this.options.htmlTemplate ? this.options.htmlTemplate(data[i]) : undefined,
|
143 |
+
bbox: L.latLngBounds([bbox[0], bbox[2]], [bbox[1], bbox[3]]),
|
144 |
+
center: L.latLng(data[i].lat, data[i].lon),
|
145 |
+
properties: data[i]
|
146 |
+
};
|
147 |
+
}
|
148 |
+
cb.call(context, results);
|
149 |
+
}, this)
|
150 |
+
);
|
151 |
+
},
|
152 |
+
|
153 |
+
reverse: function(location, scale, cb, context) {
|
154 |
+
getJSON(
|
155 |
+
this.options.serviceUrl + 'reverse',
|
156 |
+
L.extend(
|
157 |
+
{
|
158 |
+
lat: location.lat,
|
159 |
+
lon: location.lng,
|
160 |
+
zoom: Math.round(Math.log(scale / 256) / Math.log(2)),
|
161 |
+
addressdetails: 1,
|
162 |
+
format: 'json'
|
163 |
+
},
|
164 |
+
this.options.reverseQueryParams
|
165 |
+
),
|
166 |
+
L.bind(function(data) {
|
167 |
+
var result = [],
|
168 |
+
loc;
|
169 |
+
|
170 |
+
if (data && data.lat && data.lon) {
|
171 |
+
loc = L.latLng(data.lat, data.lon);
|
172 |
+
result.push({
|
173 |
+
name: data.display_name,
|
174 |
+
html: this.options.htmlTemplate ? this.options.htmlTemplate(data) : undefined,
|
175 |
+
center: loc,
|
176 |
+
bounds: L.latLngBounds(loc, loc),
|
177 |
+
properties: data
|
178 |
+
});
|
179 |
+
}
|
180 |
+
|
181 |
+
cb.call(context, result);
|
182 |
+
}, this)
|
183 |
+
);
|
184 |
+
}
|
185 |
+
}),
|
186 |
+
|
187 |
+
factory: function(options) {
|
188 |
+
return new L.Control.Geocoder.Nominatim(options);
|
189 |
+
}
|
190 |
+
};
|
191 |
+
|
192 |
+
var Control = {
|
193 |
+
class: L.Control.extend({
|
194 |
+
options: {
|
195 |
+
showResultIcons: false,
|
196 |
+
collapsed: true,
|
197 |
+
expand: 'touch', // options: touch, click, anythingelse
|
198 |
+
position: 'topright',
|
199 |
+
placeholder: 'Search...',
|
200 |
+
errorMessage: 'Nothing found.',
|
201 |
+
suggestMinLength: 3,
|
202 |
+
suggestTimeout: 250,
|
203 |
+
defaultMarkGeocode: true
|
204 |
+
},
|
205 |
+
|
206 |
+
includes: L.Evented.prototype || L.Mixin.Events,
|
207 |
+
|
208 |
+
initialize: function(options) {
|
209 |
+
L.Util.setOptions(this, options);
|
210 |
+
if (!this.options.geocoder) {
|
211 |
+
this.options.geocoder = new Nominatim.class();
|
212 |
+
}
|
213 |
+
|
214 |
+
this._requestCount = 0;
|
215 |
+
},
|
216 |
+
|
217 |
+
onAdd: function(map) {
|
218 |
+
var className = 'leaflet-control-geocoder',
|
219 |
+
container = L.DomUtil.create('div', className + ' leaflet-bar'),
|
220 |
+
icon = L.DomUtil.create('button', className + '-icon', container),
|
221 |
+
form = (this._form = L.DomUtil.create('div', className + '-form', container)),
|
222 |
+
input;
|
223 |
+
|
224 |
+
this._map = map;
|
225 |
+
this._container = container;
|
226 |
+
|
227 |
+
icon.innerHTML = ' ';
|
228 |
+
icon.type = 'button';
|
229 |
+
|
230 |
+
input = this._input = L.DomUtil.create('input', '', form);
|
231 |
+
input.type = 'text';
|
232 |
+
input.placeholder = this.options.placeholder;
|
233 |
+
|
234 |
+
this._errorElement = L.DomUtil.create('div', className + '-form-no-error', container);
|
235 |
+
this._errorElement.innerHTML = this.options.errorMessage;
|
236 |
+
|
237 |
+
this._alts = L.DomUtil.create(
|
238 |
+
'ul',
|
239 |
+
className + '-alternatives leaflet-control-geocoder-alternatives-minimized',
|
240 |
+
container
|
241 |
+
);
|
242 |
+
L.DomEvent.disableClickPropagation(this._alts);
|
243 |
+
|
244 |
+
L.DomEvent.addListener(input, 'keydown', this._keydown, this);
|
245 |
+
if (this.options.geocoder.suggest) {
|
246 |
+
L.DomEvent.addListener(input, 'input', this._change, this);
|
247 |
+
}
|
248 |
+
L.DomEvent.addListener(
|
249 |
+
input,
|
250 |
+
'blur',
|
251 |
+
function() {
|
252 |
+
if (this.options.collapsed && !this._preventBlurCollapse) {
|
253 |
+
this._collapse();
|
254 |
+
}
|
255 |
+
this._preventBlurCollapse = false;
|
256 |
+
},
|
257 |
+
this
|
258 |
+
);
|
259 |
+
|
260 |
+
if (this.options.collapsed) {
|
261 |
+
if (this.options.expand === 'click') {
|
262 |
+
L.DomEvent.addListener(
|
263 |
+
container,
|
264 |
+
'click',
|
265 |
+
function(e) {
|
266 |
+
if (e.button === 0 && e.detail !== 2) {
|
267 |
+
this._toggle();
|
268 |
+
}
|
269 |
+
},
|
270 |
+
this
|
271 |
+
);
|
272 |
+
} else if (L.Browser.touch && this.options.expand === 'touch') {
|
273 |
+
L.DomEvent.addListener(
|
274 |
+
container,
|
275 |
+
'touchstart mousedown',
|
276 |
+
function(e) {
|
277 |
+
this._toggle();
|
278 |
+
e.preventDefault(); // mobile: clicking focuses the icon, so UI expands and immediately collapses
|
279 |
+
e.stopPropagation();
|
280 |
+
},
|
281 |
+
this
|
282 |
+
);
|
283 |
+
} else {
|
284 |
+
L.DomEvent.addListener(container, 'mouseover', this._expand, this);
|
285 |
+
L.DomEvent.addListener(container, 'mouseout', this._collapse, this);
|
286 |
+
this._map.on('movestart', this._collapse, this);
|
287 |
+
}
|
288 |
+
} else {
|
289 |
+
this._expand();
|
290 |
+
if (L.Browser.touch) {
|
291 |
+
L.DomEvent.addListener(
|
292 |
+
container,
|
293 |
+
'touchstart',
|
294 |
+
function() {
|
295 |
+
this._geocode();
|
296 |
+
},
|
297 |
+
this
|
298 |
+
);
|
299 |
+
} else {
|
300 |
+
L.DomEvent.addListener(
|
301 |
+
container,
|
302 |
+
'click',
|
303 |
+
function() {
|
304 |
+
this._geocode();
|
305 |
+
},
|
306 |
+
this
|
307 |
+
);
|
308 |
+
}
|
309 |
+
}
|
310 |
+
|
311 |
+
if (this.options.defaultMarkGeocode) {
|
312 |
+
this.on('markgeocode', this.markGeocode, this);
|
313 |
+
}
|
314 |
+
|
315 |
+
this.on(
|
316 |
+
'startgeocode',
|
317 |
+
function() {
|
318 |
+
L.DomUtil.addClass(this._container, 'leaflet-control-geocoder-throbber');
|
319 |
+
},
|
320 |
+
this
|
321 |
+
);
|
322 |
+
this.on(
|
323 |
+
'finishgeocode',
|
324 |
+
function() {
|
325 |
+
L.DomUtil.removeClass(this._container, 'leaflet-control-geocoder-throbber');
|
326 |
+
},
|
327 |
+
this
|
328 |
+
);
|
329 |
+
|
330 |
+
L.DomEvent.disableClickPropagation(container);
|
331 |
+
|
332 |
+
return container;
|
333 |
+
},
|
334 |
+
|
335 |
+
_geocodeResult: function(results, suggest) {
|
336 |
+
if (!suggest && results.length === 1) {
|
337 |
+
this._geocodeResultSelected(results[0]);
|
338 |
+
} else if (results.length > 0) {
|
339 |
+
this._alts.innerHTML = '';
|
340 |
+
this._results = results;
|
341 |
+
L.DomUtil.removeClass(this._alts, 'leaflet-control-geocoder-alternatives-minimized');
|
342 |
+
for (var i = 0; i < results.length; i++) {
|
343 |
+
this._alts.appendChild(this._createAlt(results[i], i));
|
344 |
+
}
|
345 |
+
} else {
|
346 |
+
L.DomUtil.addClass(this._errorElement, 'leaflet-control-geocoder-error');
|
347 |
+
}
|
348 |
+
},
|
349 |
+
|
350 |
+
markGeocode: function(result) {
|
351 |
+
result = result.geocode || result;
|
352 |
+
|
353 |
+
this._map.fitBounds(result.bbox);
|
354 |
+
|
355 |
+
if (this._geocodeMarker) {
|
356 |
+
this._map.removeLayer(this._geocodeMarker);
|
357 |
+
}
|
358 |
+
|
359 |
+
this._geocodeMarker = new L.Marker(result.center)
|
360 |
+
.bindPopup(result.html || result.name)
|
361 |
+
.addTo(this._map)
|
362 |
+
.openPopup();
|
363 |
+
|
364 |
+
return this;
|
365 |
+
},
|
366 |
+
|
367 |
+
_geocode: function(suggest) {
|
368 |
+
var requestCount = ++this._requestCount,
|
369 |
+
mode = suggest ? 'suggest' : 'geocode',
|
370 |
+
eventData = { input: this._input.value };
|
371 |
+
|
372 |
+
this._lastGeocode = this._input.value;
|
373 |
+
if (!suggest) {
|
374 |
+
this._clearResults();
|
375 |
+
}
|
376 |
+
|
377 |
+
this.fire('start' + mode, eventData);
|
378 |
+
this.options.geocoder[mode](
|
379 |
+
this._input.value,
|
380 |
+
function(results) {
|
381 |
+
if (requestCount === this._requestCount) {
|
382 |
+
eventData.results = results;
|
383 |
+
this.fire('finish' + mode, eventData);
|
384 |
+
this._geocodeResult(results, suggest);
|
385 |
+
}
|
386 |
+
},
|
387 |
+
this
|
388 |
+
);
|
389 |
+
},
|
390 |
+
|
391 |
+
_geocodeResultSelected: function(result) {
|
392 |
+
this.fire('markgeocode', { geocode: result });
|
393 |
+
},
|
394 |
+
|
395 |
+
_toggle: function() {
|
396 |
+
if (L.DomUtil.hasClass(this._container, 'leaflet-control-geocoder-expanded')) {
|
397 |
+
this._collapse();
|
398 |
+
} else {
|
399 |
+
this._expand();
|
400 |
+
}
|
401 |
+
},
|
402 |
+
|
403 |
+
_expand: function() {
|
404 |
+
L.DomUtil.addClass(this._container, 'leaflet-control-geocoder-expanded');
|
405 |
+
this._input.select();
|
406 |
+
this.fire('expand');
|
407 |
+
},
|
408 |
+
|
409 |
+
_collapse: function() {
|
410 |
+
L.DomUtil.removeClass(this._container, 'leaflet-control-geocoder-expanded');
|
411 |
+
L.DomUtil.addClass(this._alts, 'leaflet-control-geocoder-alternatives-minimized');
|
412 |
+
L.DomUtil.removeClass(this._errorElement, 'leaflet-control-geocoder-error');
|
413 |
+
this._input.blur(); // mobile: keyboard shouldn't stay expanded
|
414 |
+
this.fire('collapse');
|
415 |
+
},
|
416 |
+
|
417 |
+
_clearResults: function() {
|
418 |
+
L.DomUtil.addClass(this._alts, 'leaflet-control-geocoder-alternatives-minimized');
|
419 |
+
this._selection = null;
|
420 |
+
L.DomUtil.removeClass(this._errorElement, 'leaflet-control-geocoder-error');
|
421 |
+
},
|
422 |
+
|
423 |
+
_createAlt: function(result, index) {
|
424 |
+
var li = L.DomUtil.create('li', ''),
|
425 |
+
a = L.DomUtil.create('a', '', li),
|
426 |
+
icon = this.options.showResultIcons && result.icon ? L.DomUtil.create('img', '', a) : null,
|
427 |
+
text = result.html ? undefined : document.createTextNode(result.name),
|
428 |
+
mouseDownHandler = function mouseDownHandler(e) {
|
429 |
+
// In some browsers, a click will fire on the map if the control is
|
430 |
+
// collapsed directly after mousedown. To work around this, we
|
431 |
+
// wait until the click is completed, and _then_ collapse the
|
432 |
+
// control. Messy, but this is the workaround I could come up with
|
433 |
+
// for #142.
|
434 |
+
this._preventBlurCollapse = true;
|
435 |
+
L.DomEvent.stop(e);
|
436 |
+
this._geocodeResultSelected(result);
|
437 |
+
L.DomEvent.on(
|
438 |
+
li,
|
439 |
+
'click',
|
440 |
+
function() {
|
441 |
+
if (this.options.collapsed) {
|
442 |
+
this._collapse();
|
443 |
+
} else {
|
444 |
+
this._clearResults();
|
445 |
+
}
|
446 |
+
},
|
447 |
+
this
|
448 |
+
);
|
449 |
+
};
|
450 |
+
|
451 |
+
if (icon) {
|
452 |
+
icon.src = result.icon;
|
453 |
+
}
|
454 |
+
|
455 |
+
li.setAttribute('data-result-index', index);
|
456 |
+
|
457 |
+
if (result.html) {
|
458 |
+
a.innerHTML = a.innerHTML + result.html;
|
459 |
+
} else {
|
460 |
+
a.appendChild(text);
|
461 |
+
}
|
462 |
+
|
463 |
+
// Use mousedown and not click, since click will fire _after_ blur,
|
464 |
+
// causing the control to have collapsed and removed the items
|
465 |
+
// before the click can fire.
|
466 |
+
L.DomEvent.addListener(li, 'mousedown touchstart', mouseDownHandler, this);
|
467 |
+
|
468 |
+
return li;
|
469 |
+
},
|
470 |
+
|
471 |
+
_keydown: function(e) {
|
472 |
+
var _this = this,
|
473 |
+
select = function select(dir) {
|
474 |
+
if (_this._selection) {
|
475 |
+
L.DomUtil.removeClass(_this._selection, 'leaflet-control-geocoder-selected');
|
476 |
+
_this._selection = _this._selection[dir > 0 ? 'nextSibling' : 'previousSibling'];
|
477 |
+
}
|
478 |
+
if (!_this._selection) {
|
479 |
+
_this._selection = _this._alts[dir > 0 ? 'firstChild' : 'lastChild'];
|
480 |
+
}
|
481 |
+
|
482 |
+
if (_this._selection) {
|
483 |
+
L.DomUtil.addClass(_this._selection, 'leaflet-control-geocoder-selected');
|
484 |
+
}
|
485 |
+
};
|
486 |
+
|
487 |
+
switch (e.keyCode) {
|
488 |
+
// Escape
|
489 |
+
case 27:
|
490 |
+
if (this.options.collapsed) {
|
491 |
+
this._collapse();
|
492 |
+
}
|
493 |
+
break;
|
494 |
+
// Up
|
495 |
+
case 38:
|
496 |
+
select(-1);
|
497 |
+
break;
|
498 |
+
// Up
|
499 |
+
case 40:
|
500 |
+
select(1);
|
501 |
+
break;
|
502 |
+
// Enter
|
503 |
+
case 13:
|
504 |
+
if (this._selection) {
|
505 |
+
var index = parseInt(this._selection.getAttribute('data-result-index'), 10);
|
506 |
+
this._geocodeResultSelected(this._results[index]);
|
507 |
+
this._clearResults();
|
508 |
+
} else {
|
509 |
+
this._geocode();
|
510 |
+
}
|
511 |
+
break;
|
512 |
+
}
|
513 |
+
},
|
514 |
+
_change: function() {
|
515 |
+
var v = this._input.value;
|
516 |
+
if (v !== this._lastGeocode) {
|
517 |
+
clearTimeout(this._suggestTimeout);
|
518 |
+
if (v.length >= this.options.suggestMinLength) {
|
519 |
+
this._suggestTimeout = setTimeout(
|
520 |
+
L.bind(function() {
|
521 |
+
this._geocode(true);
|
522 |
+
}, this),
|
523 |
+
this.options.suggestTimeout
|
524 |
+
);
|
525 |
+
} else {
|
526 |
+
this._clearResults();
|
527 |
+
}
|
528 |
+
}
|
529 |
+
}
|
530 |
+
}),
|
531 |
+
factory: function(options) {
|
532 |
+
return new L.Control.Geocoder(options);
|
533 |
+
}
|
534 |
+
};
|
535 |
+
|
536 |
+
var Bing = {
|
537 |
+
class: L.Class.extend({
|
538 |
+
initialize: function(key) {
|
539 |
+
this.key = key;
|
540 |
+
},
|
541 |
+
|
542 |
+
geocode: function(query, cb, context) {
|
543 |
+
jsonp(
|
544 |
+
'https://dev.virtualearth.net/REST/v1/Locations',
|
545 |
+
{
|
546 |
+
query: query,
|
547 |
+
key: this.key
|
548 |
+
},
|
549 |
+
function(data) {
|
550 |
+
var results = [];
|
551 |
+
if (data.resourceSets.length > 0) {
|
552 |
+
for (var i = data.resourceSets[0].resources.length - 1; i >= 0; i--) {
|
553 |
+
var resource = data.resourceSets[0].resources[i],
|
554 |
+
bbox = resource.bbox;
|
555 |
+
results[i] = {
|
556 |
+
name: resource.name,
|
557 |
+
bbox: L.latLngBounds([bbox[0], bbox[1]], [bbox[2], bbox[3]]),
|
558 |
+
center: L.latLng(resource.point.coordinates)
|
559 |
+
};
|
560 |
+
}
|
561 |
+
}
|
562 |
+
cb.call(context, results);
|
563 |
+
},
|
564 |
+
this,
|
565 |
+
'jsonp'
|
566 |
+
);
|
567 |
+
},
|
568 |
+
|
569 |
+
reverse: function(location, scale, cb, context) {
|
570 |
+
jsonp(
|
571 |
+
'//dev.virtualearth.net/REST/v1/Locations/' + location.lat + ',' + location.lng,
|
572 |
+
{
|
573 |
+
key: this.key
|
574 |
+
},
|
575 |
+
function(data) {
|
576 |
+
var results = [];
|
577 |
+
for (var i = data.resourceSets[0].resources.length - 1; i >= 0; i--) {
|
578 |
+
var resource = data.resourceSets[0].resources[i],
|
579 |
+
bbox = resource.bbox;
|
580 |
+
results[i] = {
|
581 |
+
name: resource.name,
|
582 |
+
bbox: L.latLngBounds([bbox[0], bbox[1]], [bbox[2], bbox[3]]),
|
583 |
+
center: L.latLng(resource.point.coordinates)
|
584 |
+
};
|
585 |
+
}
|
586 |
+
cb.call(context, results);
|
587 |
+
},
|
588 |
+
this,
|
589 |
+
'jsonp'
|
590 |
+
);
|
591 |
+
}
|
592 |
+
}),
|
593 |
+
|
594 |
+
factory: function(key) {
|
595 |
+
return new L.Control.Geocoder.Bing(key);
|
596 |
+
}
|
597 |
+
};
|
598 |
+
|
599 |
+
var MapQuest = {
|
600 |
+
class: L.Class.extend({
|
601 |
+
options: {
|
602 |
+
serviceUrl: 'https://www.mapquestapi.com/geocoding/v1'
|
603 |
+
},
|
604 |
+
|
605 |
+
initialize: function(key, options) {
|
606 |
+
// MapQuest seems to provide URI encoded API keys,
|
607 |
+
// so to avoid encoding them twice, we decode them here
|
608 |
+
this._key = decodeURIComponent(key);
|
609 |
+
|
610 |
+
L.Util.setOptions(this, options);
|
611 |
+
},
|
612 |
+
|
613 |
+
_formatName: function() {
|
614 |
+
var r = [],
|
615 |
+
i;
|
616 |
+
for (i = 0; i < arguments.length; i++) {
|
617 |
+
if (arguments[i]) {
|
618 |
+
r.push(arguments[i]);
|
619 |
+
}
|
620 |
+
}
|
621 |
+
|
622 |
+
return r.join(', ');
|
623 |
+
},
|
624 |
+
|
625 |
+
geocode: function(query, cb, context) {
|
626 |
+
getJSON(
|
627 |
+
this.options.serviceUrl + '/address',
|
628 |
+
{
|
629 |
+
key: this._key,
|
630 |
+
location: query,
|
631 |
+
limit: 5,
|
632 |
+
outFormat: 'json'
|
633 |
+
},
|
634 |
+
L.bind(function(data) {
|
635 |
+
var results = [],
|
636 |
+
loc,
|
637 |
+
latLng;
|
638 |
+
if (data.results && data.results[0].locations) {
|
639 |
+
for (var i = data.results[0].locations.length - 1; i >= 0; i--) {
|
640 |
+
loc = data.results[0].locations[i];
|
641 |
+
latLng = L.latLng(loc.latLng);
|
642 |
+
results[i] = {
|
643 |
+
name: this._formatName(loc.street, loc.adminArea4, loc.adminArea3, loc.adminArea1),
|
644 |
+
bbox: L.latLngBounds(latLng, latLng),
|
645 |
+
center: latLng
|
646 |
+
};
|
647 |
+
}
|
648 |
+
}
|
649 |
+
|
650 |
+
cb.call(context, results);
|
651 |
+
}, this)
|
652 |
+
);
|
653 |
+
},
|
654 |
+
|
655 |
+
reverse: function(location, scale, cb, context) {
|
656 |
+
getJSON(
|
657 |
+
this.options.serviceUrl + '/reverse',
|
658 |
+
{
|
659 |
+
key: this._key,
|
660 |
+
location: location.lat + ',' + location.lng,
|
661 |
+
outputFormat: 'json'
|
662 |
+
},
|
663 |
+
L.bind(function(data) {
|
664 |
+
var results = [],
|
665 |
+
loc,
|
666 |
+
latLng;
|
667 |
+
if (data.results && data.results[0].locations) {
|
668 |
+
for (var i = data.results[0].locations.length - 1; i >= 0; i--) {
|
669 |
+
loc = data.results[0].locations[i];
|
670 |
+
latLng = L.latLng(loc.latLng);
|
671 |
+
results[i] = {
|
672 |
+
name: this._formatName(loc.street, loc.adminArea4, loc.adminArea3, loc.adminArea1),
|
673 |
+
bbox: L.latLngBounds(latLng, latLng),
|
674 |
+
center: latLng
|
675 |
+
};
|
676 |
+
}
|
677 |
+
}
|
678 |
+
|
679 |
+
cb.call(context, results);
|
680 |
+
}, this)
|
681 |
+
);
|
682 |
+
}
|
683 |
+
}),
|
684 |
+
|
685 |
+
factory: function(key, options) {
|
686 |
+
return new L.Control.Geocoder.MapQuest(key, options);
|
687 |
+
}
|
688 |
+
};
|
689 |
+
|
690 |
+
var Mapbox = {
|
691 |
+
class: L.Class.extend({
|
692 |
+
options: {
|
693 |
+
serviceUrl: 'https://api.tiles.mapbox.com/v4/geocode/mapbox.places-v1/',
|
694 |
+
geocodingQueryParams: {},
|
695 |
+
reverseQueryParams: {}
|
696 |
+
},
|
697 |
+
|
698 |
+
initialize: function(accessToken, options) {
|
699 |
+
L.setOptions(this, options);
|
700 |
+
this.options.geocodingQueryParams.access_token = accessToken;
|
701 |
+
this.options.reverseQueryParams.access_token = accessToken;
|
702 |
+
},
|
703 |
+
|
704 |
+
geocode: function(query, cb, context) {
|
705 |
+
var params = this.options.geocodingQueryParams;
|
706 |
+
if (
|
707 |
+
typeof params.proximity !== 'undefined' &&
|
708 |
+
params.proximity.hasOwnProperty('lat') &&
|
709 |
+
params.proximity.hasOwnProperty('lng')
|
710 |
+
) {
|
711 |
+
params.proximity = params.proximity.lng + ',' + params.proximity.lat;
|
712 |
+
}
|
713 |
+
getJSON(this.options.serviceUrl + encodeURIComponent(query) + '.json', params, function(
|
714 |
+
data
|
715 |
+
) {
|
716 |
+
var results = [],
|
717 |
+
loc,
|
718 |
+
latLng,
|
719 |
+
latLngBounds;
|
720 |
+
if (data.features && data.features.length) {
|
721 |
+
for (var i = 0; i <= data.features.length - 1; i++) {
|
722 |
+
loc = data.features[i];
|
723 |
+
latLng = L.latLng(loc.center.reverse());
|
724 |
+
if (loc.hasOwnProperty('bbox')) {
|
725 |
+
latLngBounds = L.latLngBounds(
|
726 |
+
L.latLng(loc.bbox.slice(0, 2).reverse()),
|
727 |
+
L.latLng(loc.bbox.slice(2, 4).reverse())
|
728 |
+
);
|
729 |
+
} else {
|
730 |
+
latLngBounds = L.latLngBounds(latLng, latLng);
|
731 |
+
}
|
732 |
+
results[i] = {
|
733 |
+
name: loc.place_name,
|
734 |
+
bbox: latLngBounds,
|
735 |
+
center: latLng
|
736 |
+
};
|
737 |
+
}
|
738 |
+
}
|
739 |
+
|
740 |
+
cb.call(context, results);
|
741 |
+
});
|
742 |
+
},
|
743 |
+
|
744 |
+
suggest: function(query, cb, context) {
|
745 |
+
return this.geocode(query, cb, context);
|
746 |
+
},
|
747 |
+
|
748 |
+
reverse: function(location, scale, cb, context) {
|
749 |
+
getJSON(
|
750 |
+
this.options.serviceUrl +
|
751 |
+
encodeURIComponent(location.lng) +
|
752 |
+
',' +
|
753 |
+
encodeURIComponent(location.lat) +
|
754 |
+
'.json',
|
755 |
+
this.options.reverseQueryParams,
|
756 |
+
function(data) {
|
757 |
+
var results = [],
|
758 |
+
loc,
|
759 |
+
latLng,
|
760 |
+
latLngBounds;
|
761 |
+
if (data.features && data.features.length) {
|
762 |
+
for (var i = 0; i <= data.features.length - 1; i++) {
|
763 |
+
loc = data.features[i];
|
764 |
+
latLng = L.latLng(loc.center.reverse());
|
765 |
+
if (loc.hasOwnProperty('bbox')) {
|
766 |
+
latLngBounds = L.latLngBounds(
|
767 |
+
L.latLng(loc.bbox.slice(0, 2).reverse()),
|
768 |
+
L.latLng(loc.bbox.slice(2, 4).reverse())
|
769 |
+
);
|
770 |
+
} else {
|
771 |
+
latLngBounds = L.latLngBounds(latLng, latLng);
|
772 |
+
}
|
773 |
+
results[i] = {
|
774 |
+
name: loc.place_name,
|
775 |
+
bbox: latLngBounds,
|
776 |
+
center: latLng
|
777 |
+
};
|
778 |
+
}
|
779 |
+
}
|
780 |
+
|
781 |
+
cb.call(context, results);
|
782 |
+
}
|
783 |
+
);
|
784 |
+
}
|
785 |
+
}),
|
786 |
+
|
787 |
+
factory: function(accessToken, options) {
|
788 |
+
return new L.Control.Geocoder.Mapbox(accessToken, options);
|
789 |
+
}
|
790 |
+
};
|
791 |
+
|
792 |
+
var What3Words = {
|
793 |
+
class: L.Class.extend({
|
794 |
+
options: {
|
795 |
+
serviceUrl: 'https://api.what3words.com/v2/'
|
796 |
+
},
|
797 |
+
|
798 |
+
initialize: function(accessToken) {
|
799 |
+
this._accessToken = accessToken;
|
800 |
+
},
|
801 |
+
|
802 |
+
geocode: function(query, cb, context) {
|
803 |
+
//get three words and make a dot based string
|
804 |
+
getJSON(
|
805 |
+
this.options.serviceUrl + 'forward',
|
806 |
+
{
|
807 |
+
key: this._accessToken,
|
808 |
+
addr: query.split(/\s+/).join('.')
|
809 |
+
},
|
810 |
+
function(data) {
|
811 |
+
var results = [],
|
812 |
+
latLng,
|
813 |
+
latLngBounds;
|
814 |
+
if (data.hasOwnProperty('geometry')) {
|
815 |
+
latLng = L.latLng(data.geometry['lat'], data.geometry['lng']);
|
816 |
+
latLngBounds = L.latLngBounds(latLng, latLng);
|
817 |
+
results[0] = {
|
818 |
+
name: data.words,
|
819 |
+
bbox: latLngBounds,
|
820 |
+
center: latLng
|
821 |
+
};
|
822 |
+
}
|
823 |
+
|
824 |
+
cb.call(context, results);
|
825 |
+
}
|
826 |
+
);
|
827 |
+
},
|
828 |
+
|
829 |
+
suggest: function(query, cb, context) {
|
830 |
+
return this.geocode(query, cb, context);
|
831 |
+
},
|
832 |
+
|
833 |
+
reverse: function(location, scale, cb, context) {
|
834 |
+
getJSON(
|
835 |
+
this.options.serviceUrl + 'reverse',
|
836 |
+
{
|
837 |
+
key: this._accessToken,
|
838 |
+
coords: [location.lat, location.lng].join(',')
|
839 |
+
},
|
840 |
+
function(data) {
|
841 |
+
var results = [],
|
842 |
+
latLng,
|
843 |
+
latLngBounds;
|
844 |
+
if (data.status.status == 200) {
|
845 |
+
latLng = L.latLng(data.geometry['lat'], data.geometry['lng']);
|
846 |
+
latLngBounds = L.latLngBounds(latLng, latLng);
|
847 |
+
results[0] = {
|
848 |
+
name: data.words,
|
849 |
+
bbox: latLngBounds,
|
850 |
+
center: latLng
|
851 |
+
};
|
852 |
+
}
|
853 |
+
cb.call(context, results);
|
854 |
+
}
|
855 |
+
);
|
856 |
+
}
|
857 |
+
}),
|
858 |
+
|
859 |
+
factory: function(accessToken) {
|
860 |
+
return new L.Control.Geocoder.What3Words(accessToken);
|
861 |
+
}
|
862 |
+
};
|
863 |
+
|
864 |
+
var Google = {
|
865 |
+
class: L.Class.extend({
|
866 |
+
options: {
|
867 |
+
serviceUrl: 'https://maps.googleapis.com/maps/api/geocode/json',
|
868 |
+
geocodingQueryParams: {},
|
869 |
+
reverseQueryParams: {}
|
870 |
+
},
|
871 |
+
|
872 |
+
initialize: function(key, options) {
|
873 |
+
this._key = key;
|
874 |
+
L.setOptions(this, options);
|
875 |
+
// Backwards compatibility
|
876 |
+
this.options.serviceUrl = this.options.service_url || this.options.serviceUrl;
|
877 |
+
},
|
878 |
+
|
879 |
+
geocode: function(query, cb, context) {
|
880 |
+
var params = {
|
881 |
+
address: query
|
882 |
+
};
|
883 |
+
|
884 |
+
if (this._key && this._key.length) {
|
885 |
+
params.key = this._key;
|
886 |
+
}
|
887 |
+
|
888 |
+
params = L.Util.extend(params, this.options.geocodingQueryParams);
|
889 |
+
|
890 |
+
getJSON(this.options.serviceUrl, params, function(data) {
|
891 |
+
var results = [],
|
892 |
+
loc,
|
893 |
+
latLng,
|
894 |
+
latLngBounds;
|
895 |
+
if (data.results && data.results.length) {
|
896 |
+
for (var i = 0; i <= data.results.length - 1; i++) {
|
897 |
+
loc = data.results[i];
|
898 |
+
latLng = L.latLng(loc.geometry.location);
|
899 |
+
latLngBounds = L.latLngBounds(
|
900 |
+
L.latLng(loc.geometry.viewport.northeast),
|
901 |
+
L.latLng(loc.geometry.viewport.southwest)
|
902 |
+
);
|
903 |
+
results[i] = {
|
904 |
+
name: loc.formatted_address,
|
905 |
+
bbox: latLngBounds,
|
906 |
+
center: latLng,
|
907 |
+
properties: loc.address_components
|
908 |
+
};
|
909 |
+
}
|
910 |
+
}
|
911 |
+
|
912 |
+
cb.call(context, results);
|
913 |
+
});
|
914 |
+
},
|
915 |
+
|
916 |
+
reverse: function(location, scale, cb, context) {
|
917 |
+
var params = {
|
918 |
+
latlng: encodeURIComponent(location.lat) + ',' + encodeURIComponent(location.lng)
|
919 |
+
};
|
920 |
+
params = L.Util.extend(params, this.options.reverseQueryParams);
|
921 |
+
if (this._key && this._key.length) {
|
922 |
+
params.key = this._key;
|
923 |
+
}
|
924 |
+
|
925 |
+
getJSON(this.options.serviceUrl, params, function(data) {
|
926 |
+
var results = [],
|
927 |
+
loc,
|
928 |
+
latLng,
|
929 |
+
latLngBounds;
|
930 |
+
if (data.results && data.results.length) {
|
931 |
+
for (var i = 0; i <= data.results.length - 1; i++) {
|
932 |
+
loc = data.results[i];
|
933 |
+
latLng = L.latLng(loc.geometry.location);
|
934 |
+
latLngBounds = L.latLngBounds(
|
935 |
+
L.latLng(loc.geometry.viewport.northeast),
|
936 |
+
L.latLng(loc.geometry.viewport.southwest)
|
937 |
+
);
|
938 |
+
results[i] = {
|
939 |
+
name: loc.formatted_address,
|
940 |
+
bbox: latLngBounds,
|
941 |
+
center: latLng,
|
942 |
+
properties: loc.address_components
|
943 |
+
};
|
944 |
+
}
|
945 |
+
}
|
946 |
+
|
947 |
+
cb.call(context, results);
|
948 |
+
});
|
949 |
+
}
|
950 |
+
}),
|
951 |
+
|
952 |
+
factory: function(key, options) {
|
953 |
+
return new L.Control.Geocoder.Google(key, options);
|
954 |
+
}
|
955 |
+
};
|
956 |
+
|
957 |
+
var Photon = {
|
958 |
+
class: L.Class.extend({
|
959 |
+
options: {
|
960 |
+
serviceUrl: 'https://photon.komoot.de/api/',
|
961 |
+
reverseUrl: 'https://photon.komoot.de/reverse/',
|
962 |
+
nameProperties: ['name', 'street', 'suburb', 'hamlet', 'town', 'city', 'state', 'country']
|
963 |
+
},
|
964 |
+
|
965 |
+
initialize: function(options) {
|
966 |
+
L.setOptions(this, options);
|
967 |
+
},
|
968 |
+
|
969 |
+
geocode: function(query, cb, context) {
|
970 |
+
var params = L.extend(
|
971 |
+
{
|
972 |
+
q: query
|
973 |
+
},
|
974 |
+
this.options.geocodingQueryParams
|
975 |
+
);
|
976 |
+
|
977 |
+
getJSON(
|
978 |
+
this.options.serviceUrl,
|
979 |
+
params,
|
980 |
+
L.bind(function(data) {
|
981 |
+
cb.call(context, this._decodeFeatures(data));
|
982 |
+
}, this)
|
983 |
+
);
|
984 |
+
},
|
985 |
+
|
986 |
+
suggest: function(query, cb, context) {
|
987 |
+
return this.geocode(query, cb, context);
|
988 |
+
},
|
989 |
+
|
990 |
+
reverse: function(latLng, scale, cb, context) {
|
991 |
+
var params = L.extend(
|
992 |
+
{
|
993 |
+
lat: latLng.lat,
|
994 |
+
lon: latLng.lng
|
995 |
+
},
|
996 |
+
this.options.reverseQueryParams
|
997 |
+
);
|
998 |
+
|
999 |
+
getJSON(
|
1000 |
+
this.options.reverseUrl,
|
1001 |
+
params,
|
1002 |
+
L.bind(function(data) {
|
1003 |
+
cb.call(context, this._decodeFeatures(data));
|
1004 |
+
}, this)
|
1005 |
+
);
|
1006 |
+
},
|
1007 |
+
|
1008 |
+
_decodeFeatures: function(data) {
|
1009 |
+
var results = [],
|
1010 |
+
i,
|
1011 |
+
f,
|
1012 |
+
c,
|
1013 |
+
latLng,
|
1014 |
+
extent,
|
1015 |
+
bbox;
|
1016 |
+
|
1017 |
+
if (data && data.features) {
|
1018 |
+
for (i = 0; i < data.features.length; i++) {
|
1019 |
+
f = data.features[i];
|
1020 |
+
c = f.geometry.coordinates;
|
1021 |
+
latLng = L.latLng(c[1], c[0]);
|
1022 |
+
extent = f.properties.extent;
|
1023 |
+
|
1024 |
+
if (extent) {
|
1025 |
+
bbox = L.latLngBounds([extent[1], extent[0]], [extent[3], extent[2]]);
|
1026 |
+
} else {
|
1027 |
+
bbox = L.latLngBounds(latLng, latLng);
|
1028 |
+
}
|
1029 |
+
|
1030 |
+
results.push({
|
1031 |
+
name: this._deocodeFeatureName(f),
|
1032 |
+
html: this.options.htmlTemplate ? this.options.htmlTemplate(f) : undefined,
|
1033 |
+
center: latLng,
|
1034 |
+
bbox: bbox,
|
1035 |
+
properties: f.properties
|
1036 |
+
});
|
1037 |
+
}
|
1038 |
+
}
|
1039 |
+
|
1040 |
+
return results;
|
1041 |
+
},
|
1042 |
+
|
1043 |
+
_deocodeFeatureName: function(f) {
|
1044 |
+
var j, name;
|
1045 |
+
for (j = 0; !name && j < this.options.nameProperties.length; j++) {
|
1046 |
+
name = f.properties[this.options.nameProperties[j]];
|
1047 |
+
}
|
1048 |
+
|
1049 |
+
return name;
|
1050 |
+
}
|
1051 |
+
}),
|
1052 |
+
|
1053 |
+
factory: function(options) {
|
1054 |
+
return new L.Control.Geocoder.Photon(options);
|
1055 |
+
}
|
1056 |
+
};
|
1057 |
+
|
1058 |
+
var Mapzen = {
|
1059 |
+
class: L.Class.extend({
|
1060 |
+
options: {
|
1061 |
+
serviceUrl: 'https://search.mapzen.com/v1',
|
1062 |
+
geocodingQueryParams: {},
|
1063 |
+
reverseQueryParams: {}
|
1064 |
+
},
|
1065 |
+
|
1066 |
+
initialize: function(apiKey, options) {
|
1067 |
+
L.Util.setOptions(this, options);
|
1068 |
+
this._apiKey = apiKey;
|
1069 |
+
this._lastSuggest = 0;
|
1070 |
+
},
|
1071 |
+
|
1072 |
+
geocode: function(query, cb, context) {
|
1073 |
+
var _this = this;
|
1074 |
+
getJSON(
|
1075 |
+
this.options.serviceUrl + '/search',
|
1076 |
+
L.extend(
|
1077 |
+
{
|
1078 |
+
api_key: this._apiKey,
|
1079 |
+
text: query
|
1080 |
+
},
|
1081 |
+
this.options.geocodingQueryParams
|
1082 |
+
),
|
1083 |
+
function(data) {
|
1084 |
+
cb.call(context, _this._parseResults(data, 'bbox'));
|
1085 |
+
}
|
1086 |
+
);
|
1087 |
+
},
|
1088 |
+
|
1089 |
+
suggest: function(query, cb, context) {
|
1090 |
+
var _this = this;
|
1091 |
+
getJSON(
|
1092 |
+
this.options.serviceUrl + '/autocomplete',
|
1093 |
+
L.extend(
|
1094 |
+
{
|
1095 |
+
api_key: this._apiKey,
|
1096 |
+
text: query
|
1097 |
+
},
|
1098 |
+
this.options.geocodingQueryParams
|
1099 |
+
),
|
1100 |
+
L.bind(function(data) {
|
1101 |
+
if (data.geocoding.timestamp > this._lastSuggest) {
|
1102 |
+
this._lastSuggest = data.geocoding.timestamp;
|
1103 |
+
cb.call(context, _this._parseResults(data, 'bbox'));
|
1104 |
+
}
|
1105 |
+
}, this)
|
1106 |
+
);
|
1107 |
+
},
|
1108 |
+
|
1109 |
+
reverse: function(location, scale, cb, context) {
|
1110 |
+
var _this = this;
|
1111 |
+
getJSON(
|
1112 |
+
this.options.serviceUrl + '/reverse',
|
1113 |
+
L.extend(
|
1114 |
+
{
|
1115 |
+
api_key: this._apiKey,
|
1116 |
+
'point.lat': location.lat,
|
1117 |
+
'point.lon': location.lng
|
1118 |
+
},
|
1119 |
+
this.options.reverseQueryParams
|
1120 |
+
),
|
1121 |
+
function(data) {
|
1122 |
+
cb.call(context, _this._parseResults(data, 'bounds'));
|
1123 |
+
}
|
1124 |
+
);
|
1125 |
+
},
|
1126 |
+
|
1127 |
+
_parseResults: function(data, bboxname) {
|
1128 |
+
var results = [];
|
1129 |
+
L.geoJson(data, {
|
1130 |
+
pointToLayer: function(feature, latlng) {
|
1131 |
+
return L.circleMarker(latlng);
|
1132 |
+
},
|
1133 |
+
onEachFeature: function(feature, layer) {
|
1134 |
+
var result = {},
|
1135 |
+
bbox,
|
1136 |
+
center;
|
1137 |
+
|
1138 |
+
if (layer.getBounds) {
|
1139 |
+
bbox = layer.getBounds();
|
1140 |
+
center = bbox.getCenter();
|
1141 |
+
} else {
|
1142 |
+
center = layer.getLatLng();
|
1143 |
+
bbox = L.latLngBounds(center, center);
|
1144 |
+
}
|
1145 |
+
|
1146 |
+
result.name = layer.feature.properties.label;
|
1147 |
+
result.center = center;
|
1148 |
+
result[bboxname] = bbox;
|
1149 |
+
result.properties = layer.feature.properties;
|
1150 |
+
results.push(result);
|
1151 |
+
}
|
1152 |
+
});
|
1153 |
+
return results;
|
1154 |
+
}
|
1155 |
+
}),
|
1156 |
+
|
1157 |
+
factory: function(apiKey, options) {
|
1158 |
+
return new L.Control.Geocoder.Mapzen(apiKey, options);
|
1159 |
+
}
|
1160 |
+
};
|
1161 |
+
|
1162 |
+
var ArcGis = {
|
1163 |
+
class: L.Class.extend({
|
1164 |
+
options: {
|
1165 |
+
service_url: 'http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer'
|
1166 |
+
},
|
1167 |
+
|
1168 |
+
initialize: function(accessToken, options) {
|
1169 |
+
L.setOptions(this, options);
|
1170 |
+
this._accessToken = accessToken;
|
1171 |
+
},
|
1172 |
+
|
1173 |
+
geocode: function(query, cb, context) {
|
1174 |
+
var params = {
|
1175 |
+
SingleLine: query,
|
1176 |
+
outFields: 'Addr_Type',
|
1177 |
+
forStorage: false,
|
1178 |
+
maxLocations: 10,
|
1179 |
+
f: 'json'
|
1180 |
+
};
|
1181 |
+
|
1182 |
+
if (this._key && this._key.length) {
|
1183 |
+
params.token = this._key;
|
1184 |
+
}
|
1185 |
+
|
1186 |
+
getJSON(this.options.service_url + '/findAddressCandidates', params, function(data) {
|
1187 |
+
var results = [],
|
1188 |
+
loc,
|
1189 |
+
latLng,
|
1190 |
+
latLngBounds;
|
1191 |
+
|
1192 |
+
if (data.candidates && data.candidates.length) {
|
1193 |
+
for (var i = 0; i <= data.candidates.length - 1; i++) {
|
1194 |
+
loc = data.candidates[i];
|
1195 |
+
latLng = L.latLng(loc.location.y, loc.location.x);
|
1196 |
+
latLngBounds = L.latLngBounds(
|
1197 |
+
L.latLng(loc.extent.ymax, loc.extent.xmax),
|
1198 |
+
L.latLng(loc.extent.ymin, loc.extent.xmin)
|
1199 |
+
);
|
1200 |
+
results[i] = {
|
1201 |
+
name: loc.address,
|
1202 |
+
bbox: latLngBounds,
|
1203 |
+
center: latLng
|
1204 |
+
};
|
1205 |
+
}
|
1206 |
+
}
|
1207 |
+
|
1208 |
+
cb.call(context, results);
|
1209 |
+
});
|
1210 |
+
},
|
1211 |
+
|
1212 |
+
suggest: function(query, cb, context) {
|
1213 |
+
return this.geocode(query, cb, context);
|
1214 |
+
},
|
1215 |
+
|
1216 |
+
reverse: function(location, scale, cb, context) {
|
1217 |
+
var params = {
|
1218 |
+
location: encodeURIComponent(location.lng) + ',' + encodeURIComponent(location.lat),
|
1219 |
+
distance: 100,
|
1220 |
+
f: 'json'
|
1221 |
+
};
|
1222 |
+
|
1223 |
+
getJSON(this.options.service_url + '/reverseGeocode', params, function(data) {
|
1224 |
+
var result = [],
|
1225 |
+
loc;
|
1226 |
+
|
1227 |
+
if (data && !data.error) {
|
1228 |
+
loc = L.latLng(data.location.y, data.location.x);
|
1229 |
+
result.push({
|
1230 |
+
name: data.address.Match_addr,
|
1231 |
+
center: loc,
|
1232 |
+
bounds: L.latLngBounds(loc, loc)
|
1233 |
+
});
|
1234 |
+
}
|
1235 |
+
|
1236 |
+
cb.call(context, result);
|
1237 |
+
});
|
1238 |
+
}
|
1239 |
+
}),
|
1240 |
+
|
1241 |
+
factory: function(accessToken, options) {
|
1242 |
+
return new L.Control.Geocoder.ArcGis(accessToken, options);
|
1243 |
+
}
|
1244 |
+
};
|
1245 |
+
|
1246 |
+
var HERE = {
|
1247 |
+
class: L.Class.extend({
|
1248 |
+
options: {
|
1249 |
+
geocodeUrl: 'http://geocoder.api.here.com/6.2/geocode.json',
|
1250 |
+
reverseGeocodeUrl: 'http://reverse.geocoder.api.here.com/6.2/reversegeocode.json',
|
1251 |
+
app_id: '<insert your app_id here>',
|
1252 |
+
app_code: '<insert your app_code here>',
|
1253 |
+
geocodingQueryParams: {},
|
1254 |
+
reverseQueryParams: {}
|
1255 |
+
},
|
1256 |
+
|
1257 |
+
initialize: function(options) {
|
1258 |
+
L.setOptions(this, options);
|
1259 |
+
},
|
1260 |
+
|
1261 |
+
geocode: function(query, cb, context) {
|
1262 |
+
var params = {
|
1263 |
+
searchtext: query,
|
1264 |
+
gen: 9,
|
1265 |
+
app_id: this.options.app_id,
|
1266 |
+
app_code: this.options.app_code,
|
1267 |
+
jsonattributes: 1
|
1268 |
+
};
|
1269 |
+
params = L.Util.extend(params, this.options.geocodingQueryParams);
|
1270 |
+
this.getJSON(this.options.geocodeUrl, params, cb, context);
|
1271 |
+
},
|
1272 |
+
|
1273 |
+
reverse: function(location, scale, cb, context) {
|
1274 |
+
var params = {
|
1275 |
+
prox: encodeURIComponent(location.lat) + ',' + encodeURIComponent(location.lng),
|
1276 |
+
mode: 'retrieveAddresses',
|
1277 |
+
app_id: this.options.app_id,
|
1278 |
+
app_code: this.options.app_code,
|
1279 |
+
gen: 9,
|
1280 |
+
jsonattributes: 1
|
1281 |
+
};
|
1282 |
+
params = L.Util.extend(params, this.options.reverseQueryParams);
|
1283 |
+
this.getJSON(this.options.reverseGeocodeUrl, params, cb, context);
|
1284 |
+
},
|
1285 |
+
|
1286 |
+
getJSON: function(url, params, cb, context) {
|
1287 |
+
getJSON(url, params, function(data) {
|
1288 |
+
var results = [],
|
1289 |
+
loc,
|
1290 |
+
latLng,
|
1291 |
+
latLngBounds;
|
1292 |
+
if (data.response.view && data.response.view.length) {
|
1293 |
+
for (var i = 0; i <= data.response.view[0].result.length - 1; i++) {
|
1294 |
+
loc = data.response.view[0].result[i].location;
|
1295 |
+
latLng = L.latLng(loc.displayPosition.latitude, loc.displayPosition.longitude);
|
1296 |
+
latLngBounds = L.latLngBounds(
|
1297 |
+
L.latLng(loc.mapView.topLeft.latitude, loc.mapView.topLeft.longitude),
|
1298 |
+
L.latLng(loc.mapView.bottomRight.latitude, loc.mapView.bottomRight.longitude)
|
1299 |
+
);
|
1300 |
+
results[i] = {
|
1301 |
+
name: loc.address.label,
|
1302 |
+
bbox: latLngBounds,
|
1303 |
+
center: latLng
|
1304 |
+
};
|
1305 |
+
}
|
1306 |
+
}
|
1307 |
+
cb.call(context, results);
|
1308 |
+
});
|
1309 |
+
}
|
1310 |
+
}),
|
1311 |
+
|
1312 |
+
factory: function(options) {
|
1313 |
+
return new L.Control.Geocoder.HERE(options);
|
1314 |
+
}
|
1315 |
+
};
|
1316 |
+
|
1317 |
+
var Geocoder = L.Util.extend(Control.class, {
|
1318 |
+
Nominatim: Nominatim.class,
|
1319 |
+
nominatim: Nominatim.factory,
|
1320 |
+
Bing: Bing.class,
|
1321 |
+
bing: Bing.factory,
|
1322 |
+
MapQuest: MapQuest.class,
|
1323 |
+
mapQuest: MapQuest.factory,
|
1324 |
+
Mapbox: Mapbox.class,
|
1325 |
+
mapbox: Mapbox.factory,
|
1326 |
+
What3Words: What3Words.class,
|
1327 |
+
what3words: What3Words.factory,
|
1328 |
+
Google: Google.class,
|
1329 |
+
google: Google.factory,
|
1330 |
+
Photon: Photon.class,
|
1331 |
+
photon: Photon.factory,
|
1332 |
+
Mapzen: Mapzen.class,
|
1333 |
+
mapzen: Mapzen.factory,
|
1334 |
+
ArcGis: ArcGis.class,
|
1335 |
+
arcgis: ArcGis.factory,
|
1336 |
+
HERE: HERE.class,
|
1337 |
+
here: HERE.factory
|
1338 |
+
});
|
1339 |
+
|
1340 |
+
L.Util.extend(L.Control, {
|
1341 |
+
Geocoder: Geocoder,
|
1342 |
+
geocoder: Control.factory
|
1343 |
+
});
|
1344 |
+
|
1345 |
+
return Geocoder;
|
1346 |
+
|
1347 |
+
}(L));
|
1348 |
+
//# sourceMappingURL=Control.Geocoder.js.map
|
assets/js/admin/sp-geocoder.js
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//Get variables form input values
|
2 |
+
latitude = document.getElementById('term_meta[sp_latitude]').value;
|
3 |
+
longitude = document.getElementById('term_meta[sp_longitude]').value;
|
4 |
+
|
5 |
+
//Initialize the map and add the Search control box
|
6 |
+
var map = L.map('sp-location-picker').setView([latitude, longitude], 15),
|
7 |
+
geocoder = L.Control.Geocoder.nominatim(),
|
8 |
+
control = L.Control.geocoder({
|
9 |
+
geocoder: geocoder,
|
10 |
+
collapsed: false,
|
11 |
+
defaultMarkGeocode: false
|
12 |
+
}).addTo(map),
|
13 |
+
//Add a marker to use from the begining
|
14 |
+
marker = L.marker([latitude, longitude],{draggable: true, autoPan: true}).addTo(map);
|
15 |
+
|
16 |
+
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
|
17 |
+
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
|
18 |
+
}).addTo(map);
|
19 |
+
|
20 |
+
//Pass the values to the fields after dragging
|
21 |
+
marker.on('dragend', function (e) {
|
22 |
+
document.getElementById('term_meta[sp_latitude]').value = marker.getLatLng().lat;
|
23 |
+
document.getElementById('term_meta[sp_longitude]').value = marker.getLatLng().lng;
|
24 |
+
geocoder.reverse(marker.getLatLng(), map.options.crs.scale(map.getZoom()), function(results) {
|
25 |
+
var r = results[0];
|
26 |
+
if (r) {
|
27 |
+
document.getElementById('term_meta[sp_address]').value = r.name;
|
28 |
+
}
|
29 |
+
})
|
30 |
+
});
|
31 |
+
|
32 |
+
//After searching
|
33 |
+
control.on('markgeocode', function(e) {
|
34 |
+
var center = e.geocode.center;
|
35 |
+
var address = e.geocode.name;
|
36 |
+
map.setView([center.lat, center.lng], 15); //Center map to the new place
|
37 |
+
map.removeLayer(marker); //Remove previous marker
|
38 |
+
marker = L.marker([center.lat, center.lng],{draggable: true, autoPan: true}).addTo(map); //Add new marker to use
|
39 |
+
//Pass the values to the fields after searching
|
40 |
+
document.getElementById('term_meta[sp_latitude]').value = center.lat;
|
41 |
+
document.getElementById('term_meta[sp_longitude]').value = center.lng;
|
42 |
+
document.getElementById('term_meta[sp_address]').value = address;
|
43 |
+
//Pass the values to the fields after dragging
|
44 |
+
marker.on('dragend', function (e) {
|
45 |
+
document.getElementById('term_meta[sp_latitude]').value = marker.getLatLng().lat;
|
46 |
+
document.getElementById('term_meta[sp_longitude]').value = marker.getLatLng().lng;
|
47 |
+
geocoder.reverse(marker.getLatLng(), map.options.crs.scale(map.getZoom()), function(results) {
|
48 |
+
var r = results[0];
|
49 |
+
if (r) {
|
50 |
+
document.getElementById('term_meta[sp_address]').value = r.name;
|
51 |
+
}
|
52 |
+
})
|
53 |
+
});
|
54 |
+
}).addTo(map);
|
assets/js/admin/sp-setup-geocoder.js
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//Get variables form input values
|
2 |
+
latitude = document.getElementById('sp_latitude').value;
|
3 |
+
longitude = document.getElementById('sp_longitude').value;
|
4 |
+
|
5 |
+
//Initialize the map and add the Search control box
|
6 |
+
var map = L.map('sp-location-picker').setView([latitude, longitude], 15),
|
7 |
+
geocoder = L.Control.Geocoder.nominatim(),
|
8 |
+
control = L.Control.geocoder({
|
9 |
+
geocoder: geocoder,
|
10 |
+
collapsed: false,
|
11 |
+
defaultMarkGeocode: false
|
12 |
+
}).addTo(map),
|
13 |
+
//Add a marker to use from the begining
|
14 |
+
marker = L.marker([latitude, longitude],{draggable: true, autoPan: true}).addTo(map);
|
15 |
+
|
16 |
+
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
|
17 |
+
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
|
18 |
+
}).addTo(map);
|
19 |
+
|
20 |
+
//Pass the values to the fields after dragging
|
21 |
+
marker.on('dragend', function (e) {
|
22 |
+
document.getElementById('sp_latitude').value = marker.getLatLng().lat;
|
23 |
+
document.getElementById('sp_longitude').value = marker.getLatLng().lng;
|
24 |
+
geocoder.reverse(marker.getLatLng(), map.options.crs.scale(map.getZoom()), function(results) {
|
25 |
+
var r = results[0];
|
26 |
+
if (r) {
|
27 |
+
document.getElementById('sp_address').value = r.name;
|
28 |
+
}
|
29 |
+
})
|
30 |
+
});
|
31 |
+
|
32 |
+
//After searching
|
33 |
+
control.on('markgeocode', function(e) {
|
34 |
+
var center = e.geocode.center;
|
35 |
+
var address = e.geocode.name;
|
36 |
+
map.setView([center.lat, center.lng], 15); //Center map to the new place
|
37 |
+
map.removeLayer(marker); //Remove previous marker
|
38 |
+
marker = L.marker([center.lat, center.lng],{draggable: true, autoPan: true}).addTo(map); //Add new marker to use
|
39 |
+
//Pass the values to the fields after searching
|
40 |
+
document.getElementById('sp_latitude').value = center.lat;
|
41 |
+
document.getElementById('sp_longitude').value = center.lng;
|
42 |
+
document.getElementById('sp_address').value = address;
|
43 |
+
//Pass the values to the fields after dragging
|
44 |
+
marker.on('dragend', function (e) {
|
45 |
+
document.getElementById('sp_latitude').value = marker.getLatLng().lat;
|
46 |
+
document.getElementById('sp_longitude').value = marker.getLatLng().lng;
|
47 |
+
geocoder.reverse(marker.getLatLng(), map.options.crs.scale(map.getZoom()), function(results) {
|
48 |
+
var r = results[0];
|
49 |
+
if (r) {
|
50 |
+
document.getElementById('sp_address').value = r.name;
|
51 |
+
}
|
52 |
+
})
|
53 |
+
});
|
54 |
+
}).addTo(map);
|
assets/js/admin/sportspress-admin.js
CHANGED
@@ -14,13 +14,16 @@ jQuery(document).ready(function($){
|
|
14 |
});
|
15 |
|
16 |
// Chosen select
|
17 |
-
$("
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
24 |
|
25 |
// Auto key placeholder
|
26 |
$("#poststuff #title").on("keyup", function() {
|
@@ -463,15 +466,8 @@ jQuery(document).ready(function($){
|
|
463 |
// Iterate every second
|
464 |
var x = setInterval(function() {
|
465 |
|
466 |
-
// Get todays date and time
|
467 |
-
var now = new Date();
|
468 |
-
|
469 |
-
// Convert curent date and time to UTC
|
470 |
-
var tzDifference = now.getTimezoneOffset();
|
471 |
-
var nowutc = new Date(now.getTime() + tzDifference * 60 * 1000);
|
472 |
-
|
473 |
// Find the distance between now and the count down date
|
474 |
-
var distance = countDownDate -
|
475 |
if ( distance < 0 ) {
|
476 |
distance = 0;
|
477 |
}
|
@@ -886,4 +882,4 @@ jQuery(document).ready(function($){
|
|
886 |
|
887 |
// Trigger box score time converter
|
888 |
$('.sp-convert-time-input').change();
|
889 |
-
});
|
14 |
});
|
15 |
|
16 |
// Chosen select
|
17 |
+
$(document).on("postbox-toggled", function() {
|
18 |
+
$(".chosen-select").filter(":visible").chosen({
|
19 |
+
allow_single_deselect: true,
|
20 |
+
search_contains: true,
|
21 |
+
single_backstroke_delete: false,
|
22 |
+
disable_search_threshold: 10,
|
23 |
+
placeholder_text_multiple: localized_strings.none
|
24 |
+
});
|
25 |
+
}).trigger("postbox-toggled");
|
26 |
+
|
27 |
|
28 |
// Auto key placeholder
|
29 |
$("#poststuff #title").on("keyup", function() {
|
466 |
// Iterate every second
|
467 |
var x = setInterval(function() {
|
468 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
// Find the distance between now and the count down date
|
470 |
+
var distance = countDownDate - (new Date);
|
471 |
if ( distance < 0 ) {
|
472 |
distance = 0;
|
473 |
}
|
882 |
|
883 |
// Trigger box score time converter
|
884 |
$('.sp-convert-time-input').change();
|
885 |
+
});
|
assets/js/leaflet.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* @preserve
|
2 |
+
* Leaflet 1.4.0+Detached: 3337f36d2a2d2b33946779057619b31f674ff5dc.3337f36, a JS library for interactive maps. http://leafletjs.com
|
3 |
+
* (c) 2010-2018 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
4 |
+
*/
|
5 |
+
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(t.L={})}(this,function(t){"use strict";function i(t){var i,e,n,o;for(e=1,n=arguments.length;e<n;e++){o=arguments[e];for(i in o)t[i]=o[i]}return t}function e(t,i){var e=Array.prototype.slice;if(t.bind)return t.bind.apply(t,e.call(arguments,1));var n=e.call(arguments,2);return function(){return t.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}function n(t){return t._leaflet_id=t._leaflet_id||++ei,t._leaflet_id}function o(t,i,e){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(e,o),o=!1)},s=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(r,i),n=!0)}}function s(t,i,e){var n=i[1],o=i[0],s=n-o;return t===n&&e?t:((t-o)%s+s)%s+o}function r(){return!1}function a(t,i){var e=Math.pow(10,void 0===i?6:i);return Math.round(t*e)/e}function h(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function u(t){return h(t).split(/\s+/)}function l(t,i){t.hasOwnProperty("options")||(t.options=t.options?ii(t.options):{});for(var e in i)t.options[e]=i[e];return t.options}function c(t,i,e){var n=[];for(var o in t)n.push(encodeURIComponent(e?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf("?")?"&":"?")+n.join("&")}function _(t,i){return t.replace(ni,function(t,e){var n=i[e];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(i)),n})}function d(t,i){for(var e=0;e<t.length;e++)if(t[e]===i)return e;return-1}function p(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}function m(t){var i=+new Date,e=Math.max(0,16-(i-ri));return ri=i+e,window.setTimeout(t,e)}function f(t,i,n){if(!n||ai!==m)return ai.call(window,e(t,i));t.call(i)}function g(t){t&&hi.call(window,t)}function v(){}function y(t){if("undefined"!=typeof L&&L&&L.Mixin){t=oi(t)?t:[t];for(var i=0;i<t.length;i++)t[i]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}function x(t,i,e){this.x=e?Math.round(t):t,this.y=e?Math.round(i):i}function w(t,i,e){return t instanceof x?t:oi(t)?new x(t[0],t[1]):void 0===t||null===t?t:"object"==typeof t&&"x"in t&&"y"in t?new x(t.x,t.y):new x(t,i,e)}function P(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function b(t,i){return!t||t instanceof P?t:new P(t,i)}function T(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function z(t,i){return t instanceof T?t:new T(t,i)}function M(t,i,e){if(isNaN(t)||isNaN(i))throw new Error("Invalid LatLng object: ("+t+", "+i+")");this.lat=+t,this.lng=+i,void 0!==e&&(this.alt=+e)}function C(t,i,e){return t instanceof M?t:oi(t)&&"object"!=typeof t[0]?3===t.length?new M(t[0],t[1],t[2]):2===t.length?new M(t[0],t[1]):null:void 0===t||null===t?t:"object"==typeof t&&"lat"in t?new M(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===i?null:new M(t,i,e)}function S(t,i,e,n){if(oi(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=e,this._d=n}function Z(t,i,e,n){return new S(t,i,e,n)}function E(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function k(t,i){var e,n,o,s,r,a,h="";for(e=0,o=t.length;e<o;e++){for(n=0,s=(r=t[e]).length;n<s;n++)a=r[n],h+=(n?"L":"M")+a.x+" "+a.y;h+=i?Ji?"z":"x":""}return h||"M0 0"}function B(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}function A(t,i,e,n){return"touchstart"===i?O(t,e,n):"touchmove"===i?W(t,e,n):"touchend"===i&&H(t,e,n),this}function I(t,i,e){var n=t["_leaflet_"+i+e];return"touchstart"===i?t.removeEventListener(te,n,!1):"touchmove"===i?t.removeEventListener(ie,n,!1):"touchend"===i&&(t.removeEventListener(ee,n,!1),t.removeEventListener(ne,n,!1)),this}function O(t,i,n){var o=e(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(oe.indexOf(t.target.tagName)<0))return;Pt(t)}j(t,i)});t["_leaflet_touchstart"+n]=o,t.addEventListener(te,o,!1),re||(document.documentElement.addEventListener(te,R,!0),document.documentElement.addEventListener(ie,N,!0),document.documentElement.addEventListener(ee,D,!0),document.documentElement.addEventListener(ne,D,!0),re=!0)}function R(t){se[t.pointerId]=t,ae++}function N(t){se[t.pointerId]&&(se[t.pointerId]=t)}function D(t){delete se[t.pointerId],ae--}function j(t,i){t.touches=[];for(var e in se)t.touches.push(se[e]);t.changedTouches=[t],i(t)}function W(t,i,e){var n=function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&j(t,i)};t["_leaflet_touchmove"+e]=n,t.addEventListener(ie,n,!1)}function H(t,i,e){var n=function(t){j(t,i)};t["_leaflet_touchend"+e]=n,t.addEventListener(ee,n,!1),t.addEventListener(ne,n,!1)}function F(t,i,e){function n(t){var i;if(Vi){if(!bi||"mouse"===t.pointerType)return;i=ae}else i=t.touches.length;if(!(i>1)){var e=Date.now(),n=e-(s||e);r=t.touches?t.touches[0]:t,a=n>0&&n<=h,s=e}}function o(t){if(a&&!r.cancelBubble){if(Vi){if(!bi||"mouse"===t.pointerType)return;var e,n,o={};for(n in r)e=r[n],o[n]=e&&e.bind?e.bind(r):e;r=o}r.type="dblclick",i(r),s=null}}var s,r,a=!1,h=250;return t[le+he+e]=n,t[le+ue+e]=o,t[le+"dblclick"+e]=i,t.addEventListener(he,n,!1),t.addEventListener(ue,o,!1),t.addEventListener("dblclick",i,!1),this}function U(t,i){var e=t[le+he+i],n=t[le+ue+i],o=t[le+"dblclick"+i];return t.removeEventListener(he,e,!1),t.removeEventListener(ue,n,!1),bi||t.removeEventListener("dblclick",o,!1),this}function V(t){return"string"==typeof t?document.getElementById(t):t}function q(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!e||"auto"===e)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);e=n?n[i]:null}return"auto"===e?null:e}function G(t,i,e){var n=document.createElement(t);return n.className=i||"",e&&e.appendChild(n),n}function K(t){var i=t.parentNode;i&&i.removeChild(t)}function Y(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function X(t){var i=t.parentNode;i&&i.lastChild!==t&&i.appendChild(t)}function J(t){var i=t.parentNode;i&&i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function $(t,i){if(void 0!==t.classList)return t.classList.contains(i);var e=et(t);return e.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(e)}function Q(t,i){if(void 0!==t.classList)for(var e=u(i),n=0,o=e.length;n<o;n++)t.classList.add(e[n]);else if(!$(t,i)){var s=et(t);it(t,(s?s+" ":"")+i)}}function tt(t,i){void 0!==t.classList?t.classList.remove(i):it(t,h((" "+et(t)+" ").replace(" "+i+" "," ")))}function it(t,i){void 0===t.className.baseVal?t.className=i:t.className.baseVal=i}function et(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function nt(t,i){"opacity"in t.style?t.style.opacity=i:"filter"in t.style&&ot(t,i)}function ot(t,i){var e=!1,n="DXImageTransform.Microsoft.Alpha";try{e=t.filters.item(n)}catch(t){if(1===i)return}i=Math.round(100*i),e?(e.Enabled=100!==i,e.Opacity=i):t.style.filter+=" progid:"+n+"(opacity="+i+")"}function st(t){for(var i=document.documentElement.style,e=0;e<t.length;e++)if(t[e]in i)return t[e];return!1}function rt(t,i,e){var n=i||new x(0,0);t.style[ce]=(Ri?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(e?" scale("+e+")":"")}function at(t,i){t._leaflet_pos=i,ji?rt(t,i):(t.style.left=i.x+"px",t.style.top=i.y+"px")}function ht(t){return t._leaflet_pos||new x(0,0)}function ut(){mt(window,"dragstart",Pt)}function lt(){ft(window,"dragstart",Pt)}function ct(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(_t(),me=t,fe=t.style.outline,t.style.outline="none",mt(window,"keydown",_t))}function _t(){me&&(me.style.outline=fe,me=void 0,fe=void 0,ft(window,"keydown",_t))}function dt(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function pt(t){var i=t.getBoundingClientRect();return{x:i.width/t.offsetWidth||1,y:i.height/t.offsetHeight||1,boundingClientRect:i}}function mt(t,i,e,n){if("object"==typeof i)for(var o in i)gt(t,o,i[o],e);else for(var s=0,r=(i=u(i)).length;s<r;s++)gt(t,i[s],e,n);return this}function ft(t,i,e,n){if("object"==typeof i)for(var o in i)vt(t,o,i[o],e);else if(i)for(var s=0,r=(i=u(i)).length;s<r;s++)vt(t,i[s],e,n);else{for(var a in t[ye])vt(t,a,t[ye][a]);delete t[ye]}return this}function gt(t,i,e,o){var s=i+n(e)+(o?"_"+n(o):"");if(t[ye]&&t[ye][s])return this;var r=function(i){return e.call(o||t,i||window.event)},a=r;Vi&&0===i.indexOf("touch")?A(t,i,r,s):!qi||"dblclick"!==i||!F||Vi&&Ei?"addEventListener"in t?"mousewheel"===i?t.addEventListener("onwheel"in t?"wheel":"mousewheel",r,!1):"mouseenter"===i||"mouseleave"===i?(r=function(i){i=i||window.event,Ct(t,i)&&a(i)},t.addEventListener("mouseenter"===i?"mouseover":"mouseout",r,!1)):("click"===i&&zi&&(r=function(t){St(t,a)}),t.addEventListener(i,r,!1)):"attachEvent"in t&&t.attachEvent("on"+i,r):F(t,r,s),t[ye]=t[ye]||{},t[ye][s]=r}function vt(t,i,e,o){var s=i+n(e)+(o?"_"+n(o):""),r=t[ye]&&t[ye][s];if(!r)return this;Vi&&0===i.indexOf("touch")?I(t,i,s):!qi||"dblclick"!==i||!U||Vi&&Ei?"removeEventListener"in t?"mousewheel"===i?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",r,!1):t.removeEventListener("mouseenter"===i?"mouseover":"mouseleave"===i?"mouseout":i,r,!1):"detachEvent"in t&&t.detachEvent("on"+i,r):U(t,s),t[ye][s]=null}function yt(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Mt(t),this}function xt(t){return gt(t,"mousewheel",yt),this}function wt(t){return mt(t,"mousedown touchstart dblclick",yt),gt(t,"click",zt),this}function Pt(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Lt(t){return Pt(t),yt(t),this}function bt(t,i){if(!i)return new x(t.clientX,t.clientY);var e=pt(i),n=e.boundingClientRect;return new x((t.clientX-n.left)/e.x-i.clientLeft,(t.clientY-n.top)/e.y-i.clientTop)}function Tt(t){return bi?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/xe:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function zt(t){we[t.type]=!0}function Mt(t){var i=we[t.type];return we[t.type]=!1,i}function Ct(t,i){var e=i.relatedTarget;if(!e)return!0;try{for(;e&&e!==t;)e=e.parentNode}catch(t){return!1}return e!==t}function St(t,i){var e=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=ge&&e-ge;n&&n>100&&n<500||t.target._simulatedClick&&!t._simulated?Lt(t):(ge=e,i(t))}function Zt(t,i){if(!i||!t.length)return t.slice();var e=i*i;return t=At(t,e),t=kt(t,e)}function Et(t,i,e){return Math.sqrt(Dt(t,i,e,!0))}function kt(t,i){var e=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(e);n[0]=n[e-1]=1,Bt(t,n,i,0,e-1);var o,s=[];for(o=0;o<e;o++)n[o]&&s.push(t[o]);return s}function Bt(t,i,e,n,o){var s,r,a,h=0;for(r=n+1;r<=o-1;r++)(a=Dt(t[r],t[n],t[o],!0))>h&&(s=r,h=a);h>e&&(i[s]=1,Bt(t,i,e,n,s),Bt(t,i,e,s,o))}function At(t,i){for(var e=[t[0]],n=1,o=0,s=t.length;n<s;n++)Nt(t[n],t[o])>i&&(e.push(t[n]),o=n);return o<s-1&&e.push(t[s-1]),e}function It(t,i,e,n,o){var s,r,a,h=n?ke:Rt(t,e),u=Rt(i,e);for(ke=u;;){if(!(h|u))return[t,i];if(h&u)return!1;a=Rt(r=Ot(t,i,s=h||u,e,o),e),s===h?(t=r,h=a):(i=r,u=a)}}function Ot(t,i,e,n,o){var s,r,a=i.x-t.x,h=i.y-t.y,u=n.min,l=n.max;return 8&e?(s=t.x+a*(l.y-t.y)/h,r=l.y):4&e?(s=t.x+a*(u.y-t.y)/h,r=u.y):2&e?(s=l.x,r=t.y+h*(l.x-t.x)/a):1&e&&(s=u.x,r=t.y+h*(u.x-t.x)/a),new x(s,r,o)}function Rt(t,i){var e=0;return t.x<i.min.x?e|=1:t.x>i.max.x&&(e|=2),t.y<i.min.y?e|=4:t.y>i.max.y&&(e|=8),e}function Nt(t,i){var e=i.x-t.x,n=i.y-t.y;return e*e+n*n}function Dt(t,i,e,n){var o,s=i.x,r=i.y,a=e.x-s,h=e.y-r,u=a*a+h*h;return u>0&&((o=((t.x-s)*a+(t.y-r)*h)/u)>1?(s=e.x,r=e.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new x(s,r)}function jt(t){return!oi(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function Wt(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),jt(t)}function Ht(t,i,e){var n,o,s,r,a,h,u,l,c,_=[1,4,2,8];for(o=0,u=t.length;o<u;o++)t[o]._code=Rt(t[o],i);for(r=0;r<4;r++){for(l=_[r],n=[],o=0,s=(u=t.length)-1;o<u;s=o++)a=t[o],h=t[s],a._code&l?h._code&l||((c=Ot(h,a,l,i,e))._code=Rt(c,i),n.push(c)):(h._code&l&&((c=Ot(h,a,l,i,e))._code=Rt(c,i),n.push(c)),n.push(a));t=n}return t}function Ft(t,i){var e,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],u=i&&i.pointToLayer,l=i&&i.coordsToLatLng||Ut;if(!a&&!r)return null;switch(r.type){case"Point":return e=l(a),u?u(t,e):new $e(e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)e=l(a[o]),h.push(u?u(t,e):new $e(e));return new Ke(h);case"LineString":case"MultiLineString":return n=Vt(a,"LineString"===r.type?0:1,l),new nn(n,i);case"Polygon":case"MultiPolygon":return n=Vt(a,"Polygon"===r.type?1:2,l),new on(n,i);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var c=Ft({geometry:r.geometries[o],type:"Feature",properties:t.properties},i);c&&h.push(c)}return new Ke(h);default:throw new Error("Invalid GeoJSON object.")}}function Ut(t){return new M(t[1],t[0],t[2])}function Vt(t,i,e){for(var n,o=[],s=0,r=t.length;s<r;s++)n=i?Vt(t[s],i-1,e):(e||Ut)(t[s]),o.push(n);return o}function qt(t,i){return i="number"==typeof i?i:6,void 0!==t.alt?[a(t.lng,i),a(t.lat,i),a(t.alt,i)]:[a(t.lng,i),a(t.lat,i)]}function Gt(t,i,e,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(i?Gt(t[s],i-1,e,n):qt(t[s],n));return!i&&e&&o.push(o[0]),o}function Kt(t,e){return t.feature?i({},t.feature,{geometry:e}):Yt(e)}function Yt(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function Xt(t,i){return new sn(t,i)}function Jt(t,i){return new mn(t,i)}function $t(t){return Xi?new vn(t):null}function Qt(t){return Ji||$i?new Pn(t):null}var ti=Object.freeze;Object.freeze=function(t){return t};var ii=Object.create||function(){function t(){}return function(i){return t.prototype=i,new t}}(),ei=0,ni=/\{ *([\w_-]+) *\}/g,oi=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},si="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",ri=0,ai=window.requestAnimationFrame||p("RequestAnimationFrame")||m,hi=window.cancelAnimationFrame||p("CancelAnimationFrame")||p("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)},ui=(Object.freeze||Object)({freeze:ti,extend:i,create:ii,bind:e,lastId:ei,stamp:n,throttle:o,wrapNum:s,falseFn:r,formatNum:a,trim:h,splitWords:u,setOptions:l,getParamString:c,template:_,isArray:oi,indexOf:d,emptyImageUrl:si,requestFn:ai,cancelFn:hi,requestAnimFrame:f,cancelAnimFrame:g});v.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=e.__super__=this.prototype,o=ii(n);o.constructor=e,e.prototype=o;for(var s in this)this.hasOwnProperty(s)&&"prototype"!==s&&"__super__"!==s&&(e[s]=this[s]);return t.statics&&(i(e,t.statics),delete t.statics),t.includes&&(y(t.includes),i.apply(null,[o].concat(t.includes)),delete t.includes),o.options&&(t.options=i(ii(o.options),t.options)),i(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,i=o._initHooks.length;t<i;t++)o._initHooks[t].call(this)}},e},v.include=function(t){return i(this.prototype,t),this},v.mergeOptions=function(t){return i(this.prototype.options,t),this},v.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1),e="function"==typeof t?t:function(){this[t].apply(this,i)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};var li={on:function(t,i,e){if("object"==typeof t)for(var n in t)this._on(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o<s;o++)this._on(t[o],i,e);return this},off:function(t,i,e){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o<s;o++)this._off(t[o],i,e);else delete this._events;return this},_on:function(t,i,e){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),e===this&&(e=void 0);for(var o={fn:i,ctx:e},s=n,r=0,a=s.length;r<a;r++)if(s[r].fn===i&&s[r].ctx===e)return;s.push(o)},_off:function(t,i,e){var n,o,s;if(this._events&&(n=this._events[t]))if(i){if(e===this&&(e=void 0),n)for(o=0,s=n.length;o<s;o++){var a=n[o];if(a.ctx===e&&a.fn===i)return a.fn=r,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o<s;o++)n[o].fn=r;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var h=s[r];h.fn.call(h.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,i){var e=this._events&&this._events[t];if(e&&e.length)return!0;if(i)for(var n in this._eventParents)if(this._eventParents[n].listens(t,i))return!0;return!1},once:function(t,i,n){if("object"==typeof t){for(var o in t)this.once(o,t[o],i);return this}var s=e(function(){this.off(t,i,n).off(t,s,n)},this);return this.on(t,i,n).on(t,s,n)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[n(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[n(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};li.addEventListener=li.on,li.removeEventListener=li.clearAllEventListeners=li.off,li.addOneTimeEventListener=li.once,li.fireEvent=li.fire,li.hasEventListeners=li.listens;var ci=v.extend(li),_i=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};x.prototype={clone:function(){return new x(this.x,this.y)},add:function(t){return this.clone()._add(w(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(w(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new x(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new x(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=_i(this.x),this.y=_i(this.y),this},distanceTo:function(t){var i=(t=w(t)).x-this.x,e=t.y-this.y;return Math.sqrt(i*i+e*e)},equals:function(t){return(t=w(t)).x===this.x&&t.y===this.y},contains:function(t){return t=w(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+a(this.x)+", "+a(this.y)+")"}},P.prototype={extend:function(t){return t=w(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new x((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new x(this.min.x,this.max.y)},getTopRight:function(){return new x(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,e;return(t="number"==typeof t[0]||t instanceof x?w(t):b(t))instanceof P?(i=t.min,e=t.max):i=e=t,i.x>=this.min.x&&e.x<=this.max.x&&i.y>=this.min.y&&e.y<=this.max.y},intersects:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>=i.x&&n.x<=e.x,r=o.y>=i.y&&n.y<=e.y;return s&&r},overlaps:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>i.x&&n.x<e.x,r=o.y>i.y&&n.y<e.y;return s&&r},isValid:function(){return!(!this.min||!this.max)}},T.prototype={extend:function(t){var i,e,n=this._southWest,o=this._northEast;if(t instanceof M)i=t,e=t;else{if(!(t instanceof T))return t?this.extend(C(t)||z(t)):this;if(i=t._southWest,e=t._northEast,!i||!e)return this}return n||o?(n.lat=Math.min(i.lat,n.lat),n.lng=Math.min(i.lng,n.lng),o.lat=Math.max(e.lat,o.lat),o.lng=Math.max(e.lng,o.lng)):(this._southWest=new M(i.lat,i.lng),this._northEast=new M(e.lat,e.lng)),this},pad:function(t){var i=this._southWest,e=this._northEast,n=Math.abs(i.lat-e.lat)*t,o=Math.abs(i.lng-e.lng)*t;return new T(new M(i.lat-n,i.lng-o),new M(e.lat+n,e.lng+o))},getCenter:function(){return new M((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new M(this.getNorth(),this.getWest())},getSouthEast:function(){return new M(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof M||"lat"in t?C(t):z(t);var i,e,n=this._southWest,o=this._northEast;return t instanceof T?(i=t.getSouthWest(),e=t.getNorthEast()):i=e=t,i.lat>=n.lat&&e.lat<=o.lat&&i.lng>=n.lng&&e.lng<=o.lng},intersects:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=i.lat&&n.lat<=e.lat,r=o.lng>=i.lng&&n.lng<=e.lng;return s&&r},overlaps:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>i.lat&&n.lat<e.lat,r=o.lng>i.lng&&n.lng<e.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,i){return!!t&&(t=z(t),this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i))},isValid:function(){return!(!this._southWest||!this._northEast)}},M.prototype={equals:function(t,i){return!!t&&(t=C(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===i?1e-9:i))},toString:function(t){return"LatLng("+a(this.lat,t)+", "+a(this.lng,t)+")"},distanceTo:function(t){return pi.distance(this,C(t))},wrap:function(){return pi.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,e=i/Math.cos(Math.PI/180*this.lat);return z([this.lat-i,this.lng-e],[this.lat+i,this.lng+e])},clone:function(){return new M(this.lat,this.lng,this.alt)}};var di={latLngToPoint:function(t,i){var e=this.projection.project(t),n=this.scale(i);return this.transformation._transform(e,n)},pointToLatLng:function(t,i){var e=this.scale(i),n=this.transformation.untransform(t,e);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var i=this.projection.bounds,e=this.scale(t);return new P(this.transformation.transform(i.min,e),this.transformation.transform(i.max,e))},infinite:!1,wrapLatLng:function(t){var i=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new M(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,i,t.alt)},wrapLatLngBounds:function(t){var i=t.getCenter(),e=this.wrapLatLng(i),n=i.lat-e.lat,o=i.lng-e.lng;if(0===n&&0===o)return t;var s=t.getSouthWest(),r=t.getNorthEast();return new T(new M(s.lat-n,s.lng-o),new M(r.lat-n,r.lng-o))}},pi=i({},di,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var e=Math.PI/180,n=t.lat*e,o=i.lat*e,s=Math.sin((i.lat-t.lat)*e/2),r=Math.sin((i.lng-t.lng)*e/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,h=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*h}}),mi={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,e=this.MAX_LATITUDE,n=Math.max(Math.min(e,t.lat),-e),o=Math.sin(n*i);return new x(this.R*t.lng*i,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var i=180/Math.PI;return new M((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:function(){var t=6378137*Math.PI;return new P([-t,-t],[t,t])}()};S.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){return i=i||1,t.x=i*(this._a*t.x+this._b),t.y=i*(this._c*t.y+this._d),t},untransform:function(t,i){return i=i||1,new x((t.x/i-this._b)/this._a,(t.y/i-this._d)/this._c)}};var fi,gi,vi,yi=i({},pi,{code:"EPSG:3857",projection:mi,transformation:function(){var t=.5/(Math.PI*mi.R);return Z(t,.5,-t,.5)}()}),xi=i({},yi,{code:"EPSG:900913"}),wi=document.documentElement.style,Pi="ActiveXObject"in window,Li=Pi&&!document.addEventListener,bi="msLaunchUri"in navigator&&!("documentMode"in document),Ti=B("webkit"),zi=B("android"),Mi=B("android 2")||B("android 3"),Ci=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Si=zi&&B("Google")&&Ci<537&&!("AudioNode"in window),Zi=!!window.opera,Ei=B("chrome"),ki=B("gecko")&&!Ti&&!Zi&&!Pi,Bi=!Ei&&B("safari"),Ai=B("phantom"),Ii="OTransition"in wi,Oi=0===navigator.platform.indexOf("Win"),Ri=Pi&&"transition"in wi,Ni="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Mi,Di="MozPerspective"in wi,ji=!window.L_DISABLE_3D&&(Ri||Ni||Di)&&!Ii&&!Ai,Wi="undefined"!=typeof orientation||B("mobile"),Hi=Wi&&Ti,Fi=Wi&&Ni,Ui=!window.PointerEvent&&window.MSPointerEvent,Vi=!(!window.PointerEvent&&!Ui),qi=!window.L_NO_TOUCH&&(Vi||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Gi=Wi&&Zi,Ki=Wi&&ki,Yi=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Xi=!!document.createElement("canvas").getContext,Ji=!(!document.createElementNS||!E("svg").createSVGRect),$i=!Ji&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}(),Qi=(Object.freeze||Object)({ie:Pi,ielt9:Li,edge:bi,webkit:Ti,android:zi,android23:Mi,androidStock:Si,opera:Zi,chrome:Ei,gecko:ki,safari:Bi,phantom:Ai,opera12:Ii,win:Oi,ie3d:Ri,webkit3d:Ni,gecko3d:Di,any3d:ji,mobile:Wi,mobileWebkit:Hi,mobileWebkit3d:Fi,msPointer:Ui,pointer:Vi,touch:qi,mobileOpera:Gi,mobileGecko:Ki,retina:Yi,canvas:Xi,svg:Ji,vml:$i}),te=Ui?"MSPointerDown":"pointerdown",ie=Ui?"MSPointerMove":"pointermove",ee=Ui?"MSPointerUp":"pointerup",ne=Ui?"MSPointerCancel":"pointercancel",oe=["INPUT","SELECT","OPTION"],se={},re=!1,ae=0,he=Ui?"MSPointerDown":Vi?"pointerdown":"touchstart",ue=Ui?"MSPointerUp":Vi?"pointerup":"touchend",le="_leaflet_",ce=st(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),_e=st(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),de="webkitTransition"===_e||"OTransition"===_e?_e+"End":"transitionend";if("onselectstart"in document)fi=function(){mt(window,"selectstart",Pt)},gi=function(){ft(window,"selectstart",Pt)};else{var pe=st(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);fi=function(){if(pe){var t=document.documentElement.style;vi=t[pe],t[pe]="none"}},gi=function(){pe&&(document.documentElement.style[pe]=vi,vi=void 0)}}var me,fe,ge,ve=(Object.freeze||Object)({TRANSFORM:ce,TRANSITION:_e,TRANSITION_END:de,get:V,getStyle:q,create:G,remove:K,empty:Y,toFront:X,toBack:J,hasClass:$,addClass:Q,removeClass:tt,setClass:it,getClass:et,setOpacity:nt,testProp:st,setTransform:rt,setPosition:at,getPosition:ht,disableTextSelection:fi,enableTextSelection:gi,disableImageDrag:ut,enableImageDrag:lt,preventOutline:ct,restoreOutline:_t,getSizedParentNode:dt,getScale:pt}),ye="_leaflet_events",xe=Oi&&Ei?2*window.devicePixelRatio:ki?window.devicePixelRatio:1,we={},Pe=(Object.freeze||Object)({on:mt,off:ft,stopPropagation:yt,disableScrollPropagation:xt,disableClickPropagation:wt,preventDefault:Pt,stop:Lt,getMousePosition:bt,getWheelDelta:Tt,fakeStop:zt,skipped:Mt,isExternalTarget:Ct,addListener:mt,removeListener:ft}),Le=ci.extend({run:function(t,i,e,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=e||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=ht(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=f(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,e=1e3*this._duration;i<e?this._runFrame(this._easeOut(i/e),t):(this._runFrame(1),this._complete())},_runFrame:function(t,i){var e=this._startPos.add(this._offset.multiplyBy(t));i&&e._round(),at(this._el,e),this.fire("step")},_complete:function(){g(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),be=ci.extend({options:{crs:yi,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,i){i=l(this,i),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=e(this._onResize,this),this._initEvents(),i.maxBounds&&this.setMaxBounds(i.maxBounds),void 0!==i.zoom&&(this._zoom=this._limitZoom(i.zoom)),i.center&&void 0!==i.zoom&&this.setView(C(i.center),i.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=_e&&ji&&!Gi&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),mt(this._proxy,de,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(C(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e),this)},setZoom:function(t,i){return this._loaded?this.setView(this.getCenter(),t,{zoom:i}):(this._zoom=t,this)},zoomIn:function(t,i){return t=t||(ji?this.options.zoomDelta:1),this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){return t=t||(ji?this.options.zoomDelta:1),this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,e){var n=this.getZoomScale(i),o=this.getSize().divideBy(2),s=(t instanceof x?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,i,{zoom:e})},_getBoundsCenterZoom:function(t,i){i=i||{},t=t.getBounds?t.getBounds():z(t);var e=w(i.paddingTopLeft||i.padding||[0,0]),n=w(i.paddingBottomRight||i.padding||[0,0]),o=this.getBoundsZoom(t,!1,e.add(n));if((o="number"==typeof i.maxZoom?Math.min(i.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var s=n.subtract(e).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,i){if(!(t=z(t)).isValid())throw new Error("Bounds are not valid.");var e=this._getBoundsCenterZoom(t,i);return this.setView(e.center,e.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){if(t=w(t).round(),i=i||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==i.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Le,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),i.noMoveStart||this.fire("movestart"),!1!==i.animate){Q(this._mapPane,"leaflet-pan-anim");var e=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,e,i.duration||.25,i.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,i,e){function n(t){var i=(g*g-m*m+(t?-1:1)*x*x*v*v)/(2*(t?g:m)*x*v),e=Math.sqrt(i*i+1)-i;return e<1e-9?-18:Math.log(e)}function o(t){return(Math.exp(t)-Math.exp(-t))/2}function s(t){return(Math.exp(t)+Math.exp(-t))/2}function r(t){return o(t)/s(t)}function a(t){return m*(s(w)/s(w+y*t))}function h(t){return m*(s(w)*r(w+y*t)-o(w))/x}function u(t){return 1-Math.pow(1-t,1.5)}function l(){var e=(Date.now()-P)/b,n=u(e)*L;e<=1?(this._flyToFrame=f(l,this),this._move(this.unproject(c.add(_.subtract(c).multiplyBy(h(n)/v)),p),this.getScaleZoom(m/a(n),p),{flyTo:!0})):this._move(t,i)._moveEnd(!0)}if(!1===(e=e||{}).animate||!ji)return this.setView(t,i,e);this._stop();var c=this.project(this.getCenter()),_=this.project(t),d=this.getSize(),p=this._zoom;t=C(t),i=void 0===i?p:i;var m=Math.max(d.x,d.y),g=m*this.getZoomScale(p,i),v=_.distanceTo(c)||1,y=1.42,x=y*y,w=n(0),P=Date.now(),L=(n(1)-w)/y,b=e.duration?1e3*e.duration:1e3*L*.8;return this._moveStart(!0,e.noMoveStart),l.call(this),this},flyToBounds:function(t,i){var e=this._getBoundsCenterZoom(t,i);return this.flyTo(e.center,e.zoom,i)},setMaxBounds:function(t){return(t=z(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var i=this.options.minZoom;return this.options.minZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var i=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var e=this.getCenter(),n=this._limitCenter(e,this._zoom,z(t));return e.equals(n)||this.panTo(n,i),this._enforcingBounds=!1,this},panInside:function(t,i){var e=w((i=i||{}).paddingTopLeft||i.padding||[0,0]),n=w(i.paddingBottomRight||i.padding||[0,0]),o=this.getCenter(),s=this.project(o),r=this.project(t),a=this.getPixelBounds(),h=a.getSize().divideBy(2),u=b([a.min.add(e),a.max.subtract(n)]);if(!u.contains(r)){this._enforcingBounds=!0;var l=s.subtract(r),c=w(r.x+l.x,r.y+l.y);(r.x<u.min.x||r.x>u.max.x)&&(c.x=s.x-l.x,l.x>0?c.x+=h.x-e.x:c.x-=h.x-n.x),(r.y<u.min.y||r.y>u.max.y)&&(c.y=s.y-l.y,l.y>0?c.y+=h.y-e.y:c.y-=h.y-n.y),this.panTo(this.unproject(c),i),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),s=n.divideBy(2).round(),r=o.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(e(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=e(this._handleGeolocationResponse,this),o=e(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var i=t.code,e=t.message||(1===i?"permission denied":2===i?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+e+"."})},_handleGeolocationResponse:function(t){var i=new M(t.coords.latitude,t.coords.longitude),e=i.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(e);this.setView(i,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:i,bounds:e,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)},addHandler:function(t,i){if(!i)return this;var e=this[t]=new i(this);return this._handlers.push(e),this.options[t]&&e.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),K(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(g(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)K(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var e=G("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new T(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=z(t),e=w(e||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(e),u=b(this.project(a,n),this.project(r,n)).getSize(),l=ji?this.options.zoomSnap:1,c=h.x/u.x,_=h.y/u.y,d=i?Math.max(c,_):Math.min(c,_);return n=this.getScaleZoom(d,n),l&&(n=Math.round(n/(l/100))*(l/100),n=i?Math.ceil(n/l)*l:Math.floor(n/l)*l),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new x(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var e=this._getTopLeftPoint(t,i);return new P(e,e.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;return i=void 0===i?this._zoom:i,e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=void 0===i?this._zoom:i;var n=e.zoom(t*e.scale(i));return isNaN(n)?1/0:n},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(C(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(w(t),i)},layerPointToLatLng:function(t){var i=w(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){return this.project(C(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(C(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(z(t))},distance:function(t,i){return this.options.crs.distance(C(t),C(i))},containerPointToLayerPoint:function(t){return w(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return w(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(w(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(C(t)))},mouseEventToContainerPoint:function(t){return bt(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=V(t);if(!i)throw new Error("Map container not found.");if(i._leaflet_id)throw new Error("Map container is already initialized.");mt(i,"scroll",this._onScroll,this),this._containerId=n(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&ji,Q(t,"leaflet-container"+(qi?" leaflet-touch":"")+(Yi?" leaflet-retina":"")+(Li?" leaflet-oldie":"")+(Bi?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=q(t,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),at(this._mapPane,new x(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Q(t.markerPane,"leaflet-zoom-hide"),Q(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i){at(this._mapPane,new x(0,0));var e=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var n=this._zoom!==i;this._moveStart(n,!1)._move(t,i)._moveEnd(n),this.fire("viewreset"),e&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,e){void 0===i&&(i=this._zoom);var n=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||e&&e.pinch)&&this.fire("zoom",e),this.fire("move",e)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return g(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){at(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[n(this._container)]=this;var i=t?ft:mt;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),ji&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){g(this._resizeRequest),this._resizeRequest=f(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var e,o=[],s="mouseout"===i||"mouseover"===i,r=t.target||t.srcElement,a=!1;r;){if((e=this._targets[n(r)])&&("click"===i||"preclick"===i)&&!t._simulated&&this._draggableMoved(e)){a=!0;break}if(e&&e.listens(i,!0)){if(s&&!Ct(r,t))break;if(o.push(e),s)break}if(r===this._container)break;r=r.parentNode}return o.length||a||s||!Ct(r,t)||(o=[this]),o},_handleDOMEvent:function(t){if(this._loaded&&!Mt(t)){var i=t.type;"mousedown"!==i&&"keypress"!==i||ct(t.target||t.srcElement),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}if(!t._stopped&&(n=(n||[]).concat(this._findEventTargets(t,e))).length){var s=n[0];"contextmenu"===e&&s.listens(e,!0)&&Pt(t);var r={originalEvent:t};if("keypress"!==t.type){var a=s.getLatLng&&(!s._radius||s._radius<=10);r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var h=0;h<n.length;h++)if(n[h].fire(e,r,!0),r.originalEvent._stopped||!1===n[h].options.bubblingMouseEvents&&-1!==d(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++)this._handlers[t].disable()},whenReady:function(t,i){return this._loaded?t.call(i||this,{target:this}):this.on("load",t,i),this},_getMapPanePos:function(){return ht(this._mapPane)||new x(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){return(t&&void 0!==i?this._getNewPixelOrigin(t,i):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var e=this.getSize()._divideBy(2);return this.project(t,i)._subtract(e)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return this.project(t,i)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return b([this.project(t.getSouthWest(),i)._subtract(n),this.project(t.getNorthWest(),i)._subtract(n),this.project(t.getSouthEast(),i)._subtract(n),this.project(t.getNorthEast(),i)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,e){if(!e)return t;var n=this.project(t,i),o=this.getSize().divideBy(2),s=new P(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,e,i);return r.round().equals([0,0])?t:this.unproject(n.add(r),i)},_limitOffset:function(t,i){if(!i)return t;var e=this.getPixelBounds(),n=new P(e.min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(n,i))},_getBoundsOffset:function(t,i,e){var n=b(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new x(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=ji?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){tt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){var e=this._getCenterOffset(t)._trunc();return!(!0!==(i&&i.animate)&&!this.getSize().contains(e))&&(this.panBy(e,i),!0)},_createAnimProxy:function(){var t=this._proxy=G("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var i=ce,e=this._proxy.style[i];rt(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),i=this.getZoom();rt(this._proxy,this.project(t,i),this.getZoomScale(i,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){K(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom)return!0;if(e=e||{},!this._zoomAnimated||!1===e.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(i),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==e.animate&&!this.getSize().contains(o))&&(f(function(){this._moveStart(!0,!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,Q(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:o}),setTimeout(e(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&tt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),f(function(){this._moveEnd(!0)},this))}}),Te=v.extend({options:{position:"topright"},initialize:function(t){l(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition(),n=t._controlCorners[e];return Q(i,"leaflet-control"),-1!==e.indexOf("bottom")?n.insertBefore(i,n.firstChild):n.appendChild(i),this},remove:function(){return this._map?(K(this._container),this.onRemove&&this.onRemove(this._map),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),ze=function(t){return new Te(t)};be.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){function t(t,o){var s=e+t+" "+e+o;i[t+o]=G("div",s,n)}var i=this._controlCorners={},e="leaflet-",n=this._controlContainer=G("div",e+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)K(this._controlCorners[t]);K(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Me=Te.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,e,n){return e<n?-1:n<e?1:0}},initialize:function(t,i,e){l(this,e),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1;for(var n in t)this._addLayer(t[n],n);for(n in i)this._addLayer(i[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++)this._layers[i].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Te.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,i){return this._addLayer(t,i),this._map?this._update():this},addOverlay:function(t,i){return this._addLayer(t,i,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var i=this._getLayer(n(t));return i&&this._layers.splice(this._layers.indexOf(i),1),this._map?this._update():this},expand:function(){Q(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(Q(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):tt(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return tt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",i=this._container=G("div",t),e=this.options.collapsed;i.setAttribute("aria-haspopup",!0),wt(i),xt(i);var n=this._section=G("section",t+"-list");e&&(this._map.on("click",this.collapse,this),zi||mt(i,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=G("a",t+"-toggle",i);o.href="#",o.title="Layers",qi?(mt(o,"click",Lt),mt(o,"click",this.expand,this)):mt(o,"focus",this.expand,this),e||this.expand(),this._baseLayersList=G("div",t+"-base",n),this._separator=G("div",t+"-separator",n),this._overlaysList=G("div",t+"-overlays",n),i.appendChild(n)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++)if(this._layers[i]&&n(this._layers[i].layer)===t)return this._layers[i]},_addLayer:function(t,i,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:i,overlay:n}),this.options.sortLayers&&this._layers.sort(e(function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Y(this._baseLayersList),Y(this._overlaysList),this._layerControlInputs=[];var t,i,e,n,o=0;for(e=0;e<this._layers.length;e++)n=this._layers[e],this._addItem(n),i=i||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(n(t.target)),e=i.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;e&&this._map.fire(e,i)},_createRadioElement:function(t,i){var e='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=e,n.firstChild},_addItem:function(t){var i,e=document.createElement("label"),o=this._map.hasLayer(t.layer);t.overlay?((i=document.createElement("input")).type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=o):i=this._createRadioElement("leaflet-base-layers",o),this._layerControlInputs.push(i),i.layerId=n(t.layer),mt(i,"click",this._onInputClick,this);var s=document.createElement("span");s.innerHTML=" "+t.name;var r=document.createElement("div");return e.appendChild(r),r.appendChild(i),r.appendChild(s),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){var t,i,e=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=e.length-1;s>=0;s--)t=e[s],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,i,e=this._layerControlInputs,n=this._map.getZoom(),o=e.length-1;o>=0;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=void 0!==i.options.minZoom&&n<i.options.minZoom||void 0!==i.options.maxZoom&&n>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ce=Te.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",e=G("div",i+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+"-in",e,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+"-out",e,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),e},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,e,n,o){var s=G("a",e,n);return s.innerHTML=t,s.href="#",s.title=i,s.setAttribute("role","button"),s.setAttribute("aria-label",i),wt(s),mt(s,"click",Lt),mt(s,"click",o,this),mt(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";tt(this._zoomInButton,i),tt(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMinZoom())&&Q(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMaxZoom())&&Q(this._zoomInButton,i)}});be.mergeOptions({zoomControl:!0}),be.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ce,this.addControl(this.zoomControl))});var Se=Te.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i=G("div","leaflet-control-scale"),e=this.options;return this._addScales(e,"leaflet-control-scale-line",i),t.on(e.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,e){t.metric&&(this._mScale=G("div",i,e)),t.imperial&&(this._iScale=G("div",i,e))},_update:function(){var t=this._map,i=t.getSize().y/2,e=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(e)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t),e=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,e,i/t)},_updateImperial:function(t){var i,e,n,o=3.2808399*t;o>5280?(i=o/5280,e=this._getRoundNum(i),this._updateScale(this._iScale,e+" mi",e/i)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),e=t/i;return e=e>=10?10:e>=5?5:e>=3?3:e>=2?2:1,i*e}}),Ze=Te.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){l(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=G("div","leaflet-control-attribution"),wt(this._container);for(var i in t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var i in this._attributions)this._attributions[i]&&t.push(i);var e=[];this.options.prefix&&e.push(this.options.prefix),t.length&&e.push(t.join(", ")),this._container.innerHTML=e.join(" | ")}}});be.mergeOptions({attributionControl:!0}),be.addInitHook(function(){this.options.attributionControl&&(new Ze).addTo(this)});Te.Layers=Me,Te.Zoom=Ce,Te.Scale=Se,Te.Attribution=Ze,ze.layers=function(t,i,e){return new Me(t,i,e)},ze.zoom=function(t){return new Ce(t)},ze.scale=function(t){return new Se(t)},ze.attribution=function(t){return new Ze(t)};var Ee=v.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ee.addTo=function(t,i){return t.addHandler(i,this),this};var ke,Be={Events:li},Ae=qi?"touchstart mousedown":"mousedown",Ie={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},Oe={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},Re=ci.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){l(this,n),this._element=t,this._dragStartTarget=i||t,this._preventOutline=e},enable:function(){this._enabled||(mt(this._dragStartTarget,Ae,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Re._dragging===this&&this.finishDrag(),ft(this._dragStartTarget,Ae,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!$(this._element,"leaflet-zoom-anim")&&!(Re._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(Re._dragging=this,this._preventOutline&&ct(this._element),ut(),fi(),this._moving)))){this.fire("down");var i=t.touches?t.touches[0]:t,e=dt(this._element);this._startPoint=new x(i.clientX,i.clientY),this._parentScale=pt(e),mt(document,Oe[t.type],this._onMove,this),mt(document,Ie[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var i=t.touches&&1===t.touches.length?t.touches[0]:t,e=new x(i.clientX,i.clientY)._subtract(this._startPoint);(e.x||e.y)&&(Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,Pt(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=ht(this._element).subtract(e),Q(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),Q(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,g(this._animRequest),this._lastEvent=t,this._animRequest=f(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),at(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){tt(document.body,"leaflet-dragging"),this._lastTarget&&(tt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null);for(var t in Oe)ft(document,Oe[t],this._onMove,this),ft(document,Ie[t],this._onUp,this);lt(),gi(),this._moved&&this._moving&&(g(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,Re._dragging=!1}}),Ne=(Object.freeze||Object)({simplify:Zt,pointToSegmentDistance:Et,closestPointOnSegment:function(t,i,e){return Dt(t,i,e)},clipSegment:It,_getEdgeIntersection:Ot,_getBitCode:Rt,_sqClosestPointOnSegment:Dt,isFlat:jt,_flat:Wt}),De=(Object.freeze||Object)({clipPolygon:Ht}),je={project:function(t){return new x(t.lng,t.lat)},unproject:function(t){return new M(t.y,t.x)},bounds:new P([-180,-90],[180,90])},We={R:6378137,R_MINOR:6356752.314245179,bounds:new P([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,o=this.R_MINOR/e,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-e*Math.log(Math.max(a,1e-10)),new x(t.lng*i*e,n)},unproject:function(t){for(var i,e=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,u=.1;h<15&&Math.abs(u)>1e-7;h++)i=s*Math.sin(a),i=Math.pow((1-i)/(1+i),s/2),a+=u=Math.PI/2-2*Math.atan(r*i)-a;return new M(a*e,t.x*e/n)}},He=(Object.freeze||Object)({LonLat:je,Mercator:We,SphericalMercator:mi}),Fe=i({},pi,{code:"EPSG:3395",projection:We,transformation:function(){var t=.5/(Math.PI*We.R);return Z(t,.5,-t,.5)}()}),Ue=i({},pi,{code:"EPSG:4326",projection:je,transformation:Z(1/180,1,-1/180,.5)}),Ve=i({},di,{projection:je,transformation:Z(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng,n=i.lat-t.lat;return Math.sqrt(e*e+n*n)},infinite:!0});di.Earth=pi,di.EPSG3395=Fe,di.EPSG3857=yi,di.EPSG900913=xi,di.EPSG4326=Ue,di.Simple=Ve;var qe=ci.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[n(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[n(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var e=this.getEvents();i.on(e,this),this.once("remove",function(){i.off(e,this)},this)}this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),i.fire("layeradd",{layer:this})}}});be.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var i=n(t);return this._layers[i]?this:(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var i=n(t);return this._layers[i]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&n(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},_addLayers:function(t){for(var i=0,e=(t=t?oi(t)?t:[t]:[]).length;i<e;i++)this.addLayer(t[i])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[n(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var i=n(t);this._zoomBoundLayers[i]&&(delete this._zoomBoundLayers[i],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,i=-1/0,e=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom)}this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=t===1/0?void 0:t,e!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ge=qe.extend({initialize:function(t,i){l(this,i),this._layers={};var e,n;if(t)for(e=0,n=t.length;e<n;e++)this.addLayer(t[e])},addLayer:function(t){var i=this.getLayerId(t);return this._layers[i]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[i]&&this._map.removeLayer(this._layers[i]),delete this._layers[i],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i,e,n=Array.prototype.slice.call(arguments,1);for(i in this._layers)(e=this._layers[i])[t]&&e[t].apply(e,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return n(t)}}),Ke=Ge.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ge.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ge.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new T;for(var i in this._layers){var e=this._layers[i];t.extend(e.getBounds?e.getBounds():e.getLatLng())}return t}}),Ye=v.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){l(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,i){var e=this._getIconUrl(t);if(!e){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(e,i&&"IMG"===i.tagName?i:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,i){var e=this.options,n=e[i+"Size"];"number"==typeof n&&(n=[n,n]);var o=w(n),s=w("shadow"===i&&e.shadowAnchor||e.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+i+" "+(e.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,i){return i=i||document.createElement("img"),i.src=t,i},_getIconUrl:function(t){return Yi&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Xe=Ye.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Xe.imagePath||(Xe.imagePath=this._detectIconPath()),(this.options.imagePath||Xe.imagePath)+Ye.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=G("div","leaflet-default-icon-path",document.body),i=q(t,"background-image")||q(t,"backgroundImage");return document.body.removeChild(t),i=null===i||0!==i.indexOf("url")?"":i.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Je=Ee.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Re(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),Q(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&tt(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,e=i._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=ht(i._icon),r=e.getPixelBounds(),a=e.getPixelOrigin(),h=b(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!h.contains(s)){var u=w((Math.max(h.max.x,s.x)-h.max.x)/(r.max.x-h.max.x)-(Math.min(h.min.x,s.x)-h.min.x)/(r.min.x-h.min.x),(Math.max(h.max.y,s.y)-h.max.y)/(r.max.y-h.max.y)-(Math.min(h.min.y,s.y)-h.min.y)/(r.min.y-h.min.y)).multiplyBy(n);e.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),at(i._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=f(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(g(this._panRequest),this._panRequest=f(this._adjustPan.bind(this,t)))},_onDrag:function(t){var i=this._marker,e=i._shadow,n=ht(i._icon),o=i._map.layerPointToLatLng(n);e&&at(e,n),i._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,i.fire("move",t).fire("drag",t)},_onDragEnd:function(t){g(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),$e=qe.extend({options:{icon:new Xe,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,i){l(this,i),this._latlng=C(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;return this._latlng=C(t),this.update(),this.fire("move",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,i="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),e=t.icon.createIcon(this._icon),n=!1;e!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(e.title=t.title),"IMG"===e.tagName&&(e.alt=t.alt||"")),Q(e,i),t.keyboard&&(e.tabIndex="0"),this._icon=e,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(Q(o,i),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),K(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&K(this._shadow),this._shadow=null},_setPos:function(t){at(this._icon,t),this._shadow&&at(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(this.options.interactive&&(Q(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Je)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Je(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;nt(this._icon,t),this._shadow&&nt(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Qe=qe.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return l(this,t),this._renderer&&this._renderer._updateStyle(this),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),tn=Qe.extend({options:{fill:!0,radius:10},initialize:function(t,i){l(this,i),this._latlng=C(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=C(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;return Qe.prototype.setStyle.call(this,t),this.setRadius(i),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,e=this._clickTolerance(),n=[t+e,i+e];this._pxBounds=new P(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),en=tn.extend({initialize:function(t,e,n){if("number"==typeof e&&(e=i({},n,{radius:e})),l(this,e),this._latlng=C(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new T(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Qe.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,e=this._map,n=e.options.crs;if(n.distance===pi.distance){var o=Math.PI/180,s=this._mRadius/pi.R/o,r=e.project([i+s,t]),a=e.project([i-s,t]),h=r.add(a).divideBy(2),u=e.unproject(h).lat,l=Math.acos((Math.cos(s*o)-Math.sin(i*o)*Math.sin(u*o))/(Math.cos(i*o)*Math.cos(u*o)))/o;(isNaN(l)||0===l)&&(l=s/Math.cos(Math.PI/180*i)),this._point=h.subtract(e.getPixelOrigin()),this._radius=isNaN(l)?0:h.x-e.project([u,t-l]).x,this._radiusY=h.y-r.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=e.latLngToLayerPoint(this._latlng),this._radius=this._point.x-e.latLngToLayerPoint(c).x}this._updateBounds()}}),nn=Qe.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,i){l(this,i),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var i,e,n=1/0,o=null,s=Dt,r=0,a=this._parts.length;r<a;r++)for(var h=this._parts[r],u=1,l=h.length;u<l;u++){var c=s(t,i=h[u-1],e=h[u],!0);c<n&&(n=c,o=s(t,i,e))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r,a=this._rings[0],h=a.length;if(!h)return null;for(t=0,i=0;t<h-1;t++)i+=a[t].distanceTo(a[t+1])/2;if(0===i)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t<h-1;t++)if(o=a[t],s=a[t+1],e=o.distanceTo(s),(n+=e)>i)return r=(n-i)/e,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,i){return i=i||this._defaultShape(),t=C(t),i.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new T,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return jt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var i=[],e=jt(t),n=0,o=t.length;n<o;n++)e?(i[n]=C(t[n]),this._bounds.extend(i[n])):i[n]=this._convertLatLngs(t[n]);return i},_project:function(){var t=new P;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t);var i=this._clickTolerance(),e=new x(i,i);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(e),t.max._add(e),this._pxBounds=t)},_projectLatlngs:function(t,i,e){var n,o,s=t[0]instanceof M,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),e.extend(o[n]);i.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],i,e)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var i,e,n,o,s,r,a,h=this._parts;for(i=0,n=0,o=this._rings.length;i<o;i++)for(e=0,s=(a=this._rings[i]).length;e<s-1;e++)(r=It(a[e],a[e+1],t,e,!0))&&(h[n]=h[n]||[],h[n].push(r[0]),r[1]===a[e+1]&&e!==s-2||(h[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,i=this.options.smoothFactor,e=0,n=t.length;e<n;e++)t[e]=Zt(t[e],i)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var e,n,o,s,r,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(e=0,s=this._parts.length;e<s;e++)for(n=0,o=(r=(a=this._parts[e]).length)-1;n<r;o=n++)if((i||0!==n)&&Et(t,a[o],a[n])<=h)return!0;return!1}});nn._flat=Wt;var on=nn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r,a,h,u=this._rings[0],l=u.length;if(!l)return null;for(s=r=a=0,t=0,i=l-1;t<l;i=t++)e=u[t],n=u[i],o=e.y*n.x-n.y*e.x,r+=(e.x+n.x)*o,a+=(e.y+n.y)*o,s+=3*o;return h=0===s?u[0]:[r/s,a/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var i=nn.prototype._convertLatLngs.call(this,t),e=i.length;return e>=2&&i[0]instanceof M&&i[0].equals(i[e-1])&&i.pop(),i},_setLatLngs:function(t){nn.prototype._setLatLngs.call(this,t),jt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return jt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,e=new x(i,i);if(t=new P(t.min.subtract(e),t.max.add(e)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=Ht(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var i,e,n,o,s,r,a,h,u=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(h=(i=this._parts[o]).length)-1;s<h;r=s++)e=i[s],n=i[r],e.y>t.y!=n.y>t.y&&t.x<(n.x-e.x)*(t.y-e.y)/(n.y-e.y)+e.x&&(u=!u);return u||nn.prototype._containsPoint.call(this,t,!0)}}),sn=Ke.extend({initialize:function(t,i){l(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,e,n,o=oi(t)?t:t.features;if(o){for(i=0,e=o.length;i<e;i++)((n=o[i]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=Ft(t,s);return r?(r.feature=Yt(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(i){this._setLayerStyle(i,t)},this)},_setLayerStyle:function(t,i){"function"==typeof i&&(i=i(t.feature)),t.setStyle&&t.setStyle(i)}}),rn={toGeoJSON:function(t){return Kt(this,{type:"Point",coordinates:qt(this.getLatLng(),t)})}};$e.include(rn),en.include(rn),tn.include(rn),nn.include({toGeoJSON:function(t){var i=!jt(this._latlngs),e=Gt(this._latlngs,i?1:0,!1,t);return Kt(this,{type:(i?"Multi":"")+"LineString",coordinates:e})}}),on.include({toGeoJSON:function(t){var i=!jt(this._latlngs),e=i&&!jt(this._latlngs[0]),n=Gt(this._latlngs,e?2:i?1:0,!0,t);return i||(n=[n]),Kt(this,{type:(e?"Multi":"")+"Polygon",coordinates:n})}}),Ge.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(e){i.push(e.toGeoJSON(t).geometry.coordinates)}),Kt(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===i)return this.toMultiPoint(t);var e="GeometryCollection"===i,n=[];return this.eachLayer(function(i){if(i.toGeoJSON){var o=i.toGeoJSON(t);if(e)n.push(o.geometry);else{var s=Yt(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}}),e?Kt(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var an=Xt,hn=qe.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,e){this._url=t,this._bounds=z(i),l(this,e)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Q(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){K(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&X(this._image),this},bringToBack:function(){return this._map&&J(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=z(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,i=this._image=t?this._url:G("img");Q(i,"leaflet-image-layer"),this._zoomAnimated&&Q(i,"leaflet-zoom-animated"),this.options.className&&Q(i,this.options.className),i.onselectstart=r,i.onmousemove=r,i.onload=e(this.fire,this,"load"),i.onerror=e(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=i.src:(i.src=this._url,i.alt=this.options.alt)},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;rt(this._image,e,i)},_reset:function(){var t=this._image,i=new P(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();at(t,i.min),t.style.width=e.x+"px",t.style.height=e.y+"px"},_updateOpacity:function(){nt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),un=hn.extend({options:{autoplay:!0,loop:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,i=this._image=t?this._url:G("video");if(Q(i,"leaflet-image-layer"),this._zoomAnimated&&Q(i,"leaflet-zoom-animated"),i.onselectstart=r,i.onmousemove=r,i.onloadeddata=e(this.fire,this,"load"),t){for(var n=i.getElementsByTagName("source"),o=[],s=0;s<n.length;s++)o.push(n[s].src);this._url=n.length>0?o:[i.src]}else{oi(this._url)||(this._url=[this._url]),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop;for(var a=0;a<this._url.length;a++){var h=G("source");h.src=this._url[a],i.appendChild(h)}}}}),ln=qe.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,i){l(this,t),this._source=i},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&nt(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&nt(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(nt(this._container,0),this._removeTimeout=setTimeout(e(K,void 0,this._container),200)):K(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=C(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&X(this._container),this},bringToBack:function(){return this._map&&J(this._container),this},_updateContent:function(){if(this._content){var t=this._contentNode,i="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof i)t.innerHTML=i;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(i)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),i=w(this.options.offset),e=this._getAnchor();this._zoomAnimated?at(this._container,t.add(e)):i=i.add(t).add(e);var n=this._containerBottom=-i.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),cn=ln.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){ln.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Qe||this._source.on("preclick",yt))},onRemove:function(t){ln.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Qe||this._source.off("preclick",yt))},getEvents:function(){var t=ln.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",i=this._container=G("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),e=this._wrapper=G("div",t+"-content-wrapper",i);if(this._contentNode=G("div",t+"-content",e),wt(e),xt(this._contentNode),mt(e,"contextmenu",yt),this._tipContainer=G("div",t+"-tip-container",i),this._tip=G("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=G("a",t+"-close-button",i);n.href="#close",n.innerHTML="×",mt(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width="",i.whiteSpace="nowrap";var e=t.offsetWidth;e=Math.min(e,this.options.maxWidth),e=Math.max(e,this.options.minWidth),i.width=e+1+"px",i.whiteSpace="",i.height="";var n=t.offsetHeight,o=this.options.maxHeight;o&&n>o?(i.height=o+"px",Q(t,"leaflet-popup-scrolled")):tt(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();at(this._container,i.add(e))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,i=parseInt(q(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+i,n=this._containerWidth,o=new x(this._containerLeft,-e-this._containerBottom);o._add(ht(this._container));var s=t.layerPointToContainerPoint(o),r=w(this.options.autoPanPadding),a=w(this.options.autoPanPaddingTopLeft||r),h=w(this.options.autoPanPaddingBottomRight||r),u=t.getSize(),l=0,c=0;s.x+n+h.x>u.x&&(l=s.x+n-u.x+h.x),s.x-l-a.x<0&&(l=s.x-a.x),s.y+e+h.y>u.y&&(c=s.y+e-u.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(l||c)&&t.fire("autopanstart").panBy([l,c])}},_onCloseButtonClick:function(t){this._close(),Lt(t)},_getAnchor:function(){return w(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});be.mergeOptions({closePopupOnClick:!0}),be.include({openPopup:function(t,i,e){return t instanceof cn||(t=new cn(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),qe.include({bindPopup:function(t,i){return t instanceof cn?(l(t,i),this._popup=t,t._source=this):(this._popup&&!i||(this._popup=new cn(i,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,i){if(t instanceof qe||(i=t,t=this),t instanceof Ke)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._popup&&this._map&&(this._popup._source=t,this._popup.update(),this._map.openPopup(this._popup,i)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var i=t.layer||t.target;this._popup&&this._map&&(Lt(t),i instanceof Qe?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===i?this.closePopup():this.openPopup(i,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var _n=ln.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){ln.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){ln.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=ln.prototype.getEvents.call(this);return qi&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=G("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i=this._map,e=this._container,n=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,r=e.offsetWidth,a=e.offsetHeight,h=w(this.options.offset),u=this._getAnchor();"top"===s?t=t.add(w(-r/2+h.x,-a+h.y+u.y,!0)):"bottom"===s?t=t.subtract(w(r/2-h.x,-h.y,!0)):"center"===s?t=t.subtract(w(r/2+h.x,a/2-u.y+h.y,!0)):"right"===s||"auto"===s&&o.x<n.x?(s="right",t=t.add(w(h.x+u.x,u.y-a/2+h.y,!0))):(s="left",t=t.subtract(w(r+u.x-h.x,a/2-u.y-h.y,!0))),tt(e,"leaflet-tooltip-right"),tt(e,"leaflet-tooltip-left"),tt(e,"leaflet-tooltip-top"),tt(e,"leaflet-tooltip-bottom"),Q(e,"leaflet-tooltip-"+s),at(e,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&nt(this._container,t)},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return w(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});be.include({openTooltip:function(t,i,e){return t instanceof _n||(t=new _n(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),qe.include({bindTooltip:function(t,i){return t instanceof _n?(l(t,i),this._tooltip=t,t._source=this):(this._tooltip&&!i||(this._tooltip=new _n(i,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var i=t?"off":"on",e={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),qi&&(e.click=this._openTooltip)),this[i](e),this._tooltipHandlersAdded=!t}},openTooltip:function(t,i){if(t instanceof qe||(i=t,t=this),t instanceof Ke)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=t,this._tooltip.update(),this._map.openTooltip(this._tooltip,i),this._tooltip.options.interactive&&this._tooltip._container&&(Q(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(tt(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var i=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(i,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var i,e,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(i=this._map.mouseEventToContainerPoint(t.originalEvent),e=this._map.containerPointToLayerPoint(i),n=this._map.layerPointToLatLng(e)),this._tooltip.setLatLng(n)}});var dn=Ye.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;if(i.innerHTML=!1!==e.html?e.html:"",e.bgPos){var n=w(e.bgPos);i.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(i,"icon"),i},createShadow:function(){return null}});Ye.Default=Xe;var pn=qe.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Wi,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){l(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),K(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(X(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(J(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof x?t:new x(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var i,e=this.getPane().children,n=-t(-1/0,1/0),o=0,s=e.length;o<s;o++)i=e[o].style.zIndex,e[o]!==this._container&&i&&(n=t(n,+i));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Li){nt(this._container,this.options.opacity);var t=+new Date,i=!1,e=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);nt(o.el,s),s<1?i=!0:(o.active?e=!0:this._onOpaqueTile(o),o.active=!0)}}e&&!this._noPrune&&this._pruneTiles(),i&&(g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this))}},_onOpaqueTile:r,_initContainer:function(){this._container||(this._container=G("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(void 0!==t){for(var e in this._levels)this._levels[e].el.children.length||e===t?(this._levels[e].el.style.zIndex=i-Math.abs(t-e),this._onUpdateLevel(e)):(K(this._levels[e].el),this._removeTilesAtZoom(e),this._onRemoveLevel(e),delete this._levels[e]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=G("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=i,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:r,_onRemoveLevel:r,_onCreateLevel:r,_pruneTiles:function(){if(this._map){var t,i,e=this._map.getZoom();if(e>this.options.maxZoom||e<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)if((i=this._tiles[t]).current&&!i.active){var n=i.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles)this._tiles[i].coords.z===t&&this._removeTile(i)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)K(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,i,e,n){var o=Math.floor(t/2),s=Math.floor(i/2),r=e-1,a=new x(+o,+s);a.z=+r;var h=this._tileCoordsToKey(a),u=this._tiles[h];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,i,e,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*i;s<2*i+2;s++){var r=new x(o,s);r.z=e+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),e+1<n&&this._retainChildren(o,s,e+1,n))}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var i=this.options;return void 0!==i.minNativeZoom&&t<i.minNativeZoom?i.minNativeZoom:void 0!==i.maxNativeZoom&&i.maxNativeZoom<t?i.maxNativeZoom:t},_setView:function(t,i,e,n){var o=this._clampZoom(Math.round(i));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),e||this._pruneTiles(),this._noPrune=!!e),this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var e in this._levels)this._setZoomTransform(this._levels[e],t,i)},_setZoomTransform:function(t,i,e){var n=this._map.getZoomScale(e,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(i,e)).round();ji?rt(t.el,o,n):at(t.el,o)},_resetGrid:function(){var t=this._map,i=t.options.crs,e=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],n).x/e.x),Math.ceil(t.project([0,i.wrapLng[1]],n).x/e.y)],this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],n).y/e.x),Math.ceil(t.project([i.wrapLat[1],0],n).y/e.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var i=this._map,e=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),n=i.getZoomScale(e,this._tileZoom),o=i.project(t,this._tileZoom).floor(),s=i.getSize().divideBy(2*n);return new P(o.subtract(s),o.add(s))},_update:function(t){var i=this._map;if(i){var e=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,h=new P(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var u in this._tiles){var l=this._tiles[u].coords;l.z===this._tileZoom&&h.contains(new x(l.x,l.y))||(this._tiles[u].current=!1)}if(Math.abs(e-this._tileZoom)>1)this._setView(t,e);else{for(var c=o.min.y;c<=o.max.y;c++)for(var _=o.min.x;_<=o.max.x;_++){var d=new x(_,c);if(d.z=this._tileZoom,this._isValidTile(d)){var p=this._tiles[this._tileCoordsToKey(d)];p?p.current=!0:r.push(d)}}if(r.sort(function(t,i){return t.distanceTo(s)-i.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(_=0;_<r.length;_++)this._addTile(r[_],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var e=this._globalTileRange;if(!i.wrapLng&&(t.x<e.min.x||t.x>e.max.x)||!i.wrapLat&&(t.y<e.min.y||t.y>e.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return z(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e),o=n.add(e);return[i.unproject(n,t.z),i.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),e=new T(i[0],i[1]);return this.options.noWrap||(e=this._map.wrapLatLngBounds(e)),e},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),e=new x(+i[0],+i[1]);return e.z=+i[2],e},_removeTile:function(t){var i=this._tiles[t];i&&(K(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){Q(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=r,t.onmousemove=r,Li&&this.options.opacity<1&&nt(t,this.options.opacity),zi&&!Mi&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,i){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),e(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&f(e(this._tileReady,this,t,null,s)),at(s,n),this._tiles[o]={el:s,coords:t,current:!0},i.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,i,n){i&&this.fire("tileerror",{error:i,tile:n,coords:t});var o=this._tileCoordsToKey(t);(n=this._tiles[o])&&(n.loaded=+new Date,this._map._fadeAnimated?(nt(n.el,0),g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),i||(Q(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Li||!this._map._fadeAnimated?f(this._pruneTiles,this):setTimeout(e(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new x(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new P(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),mn=pn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,i){this._url=t,(i=l(this,i)).detectRetina&&Yi&&i.maxZoom>0&&(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom++):(i.zoomOffset++,i.maxZoom--),i.minZoom=Math.max(0,i.minZoom)),"string"==typeof i.subdomains&&(i.subdomains=i.subdomains.split("")),zi||this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url===t&&void 0===i&&(i=!0),this._url=t,i||this.redraw(),this},createTile:function(t,i){var n=document.createElement("img");return mt(n,"load",e(this._tileOnLoad,this,i,n)),mt(n,"error",e(this._tileOnError,this,i,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Yi?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return _(this._url,i(e,this.options))},_tileOnLoad:function(t,i){Li?setTimeout(e(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;n&&i.getAttribute("src")!==n&&(i.src=n),t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,e=this.options.zoomReverse,n=this.options.zoomOffset;return e&&(t=i-t),t+n},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=r,i.onerror=r,i.complete||(i.src=si,K(i),delete this._tiles[t]))},_removeTile:function(t){var i=this._tiles[t];if(i)return Si||i.el.setAttribute("src",si),pn.prototype._removeTile.call(this,t)},_tileReady:function(t,i,e){if(this._map&&(!e||e.getAttribute("src")!==si))return pn.prototype._tileReady.call(this,t,i,e)}}),fn=mn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=l(this,e)).detectRetina&&Yi?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,mn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=this._crs,n=b(e.project(i[0]),e.project(i[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===Ue?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=mn.prototype.getTileUrl.call(this,t);return a+c(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});mn.WMS=fn,Jt.wms=function(t,i){return new fn(t,i)};var gn=qe.extend({options:{padding:.1,tolerance:0},initialize:function(t){l(this,t),n(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&Q(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=ht(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,i),r=this._map.project(t,i).subtract(s),a=o.multiplyBy(-e).add(n).add(o).subtract(r);ji?rt(this._container,a,e):at(this._container,a)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new P(e,e.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),vn=gn.extend({getEvents:function(){var t=gn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){gn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");mt(t,"mousemove",o(this._onMouseMove,32,this),this),mt(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),mt(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){g(this._redrawRequest),delete this._ctx,K(this._container),ft(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){this._redrawBounds=null;for(var t in this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){gn.prototype._update.call(this);var t=this._bounds,i=this._container,e=t.getSize(),n=Yi?2:1;at(i,t.min),i.width=n*e.x,i.height=n*e.y,i.style.width=e.x+"px",i.style.height=e.y+"px",Yi&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){gn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[n(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,e=i.next,o=i.prev;e?e.prev=o:this._drawLast=o,o?o.next=e:this._drawFirst=e,delete t._order,delete this._layers[n(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var i,e,n=t.options.dashArray.split(/[, ]+/),o=[];for(e=0;e<n.length;e++){if(i=Number(n[e]),isNaN(i))return;o.push(i)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||f(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new P,this._redrawBounds.extend(t._pxBounds.min.subtract([i,i])),this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,i=this._redrawBounds;if(this._ctx.save(),i){var e=i.getSize();this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,i){if(this._drawing){var e,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(h.beginPath(),e=0;e<a;e++){for(n=0,o=r[e].length;n<o;n++)s=r[e][n],h[n?"lineTo":"moveTo"](s.x,s.y);i&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var i=t._point,e=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!==o&&(e.save(),e.scale(1,o)),e.beginPath(),e.arc(i.x,i.y/o,n,0,2*Math.PI,!1),1!==o&&e.restore(),this._fillStroke(e,t)}},_fillStroke:function(t,i){var e=i.options;e.fill&&(t.globalAlpha=e.fillOpacity,t.fillStyle=e.fillColor||e.color,t.fill(e.fillRule||"evenodd")),e.stroke&&0!==e.weight&&(t.setLineDash&&t.setLineDash(i.options&&i.options._dashArray||[]),t.globalAlpha=e.opacity,t.lineWidth=e.weight,t.strokeStyle=e.color,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.stroke())},_onClick:function(t){for(var i,e,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(n)&&!this._map._draggableMoved(i)&&(e=i);e&&(zt(t),this._fireEvent([e],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)}},_handleMouseOut:function(t){var i=this._hoveredLayer;i&&(tt(this._container,"leaflet-interactive"),this._fireEvent([i],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,i){for(var e,n,o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(i)&&(n=e);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(Q(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,i,e){this._map._fireDOMEvent(i,e||i.type,t)},_bringToFront:function(t){var i=t._order;if(i){var e=i.next,n=i.prev;e&&(e.prev=n,n?n.next=e:e&&(this._drawFirst=e),i.prev=this._drawLast,this._drawLast.next=i,i.next=null,this._drawLast=i,this._requestRedraw(t))}},_bringToBack:function(t){var i=t._order;if(i){var e=i.next,n=i.prev;n&&(n.next=e,e?e.prev=n:n&&(this._drawLast=n),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t))}}}),yn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),xn={_initContainer:function(){this._container=G("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(gn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=yn("shape");Q(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=yn("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;K(i),t.removeInteractiveTarget(i),delete this._layers[n(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(i||(i=t._stroke=yn("stroke")),o.appendChild(i),i.weight=n.weight+"px",i.color=n.color,i.opacity=n.opacity,n.dashArray?i.dashStyle=oi(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=n.lineCap.replace("butt","flat"),i.joinstyle=n.lineJoin):i&&(o.removeChild(i),t._stroke=null),n.fill?(e||(e=t._fill=yn("fill")),o.appendChild(e),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(o.removeChild(e),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+e+","+n+" 0,23592600")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){X(t._container)},_bringToBack:function(t){J(t._container)}},wn=$i?yn:E,Pn=gn.extend({getEvents:function(){var t=gn.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=wn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=wn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){K(this._container),ft(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){gn.prototype._update.call(this);var t=this._bounds,i=t.getSize(),e=this._container;this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,e.setAttribute("width",i.x),e.setAttribute("height",i.y)),at(e,t.min),e.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(t){var i=t._path=wn("path");t.options.className&&Q(i,t.options.className),t.options.interactive&&Q(i,"leaflet-interactive"),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){K(t._path),t.removeInteractiveTarget(t._path),delete this._layers[n(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,e=t.options;i&&(e.stroke?(i.setAttribute("stroke",e.color),i.setAttribute("stroke-opacity",e.opacity),i.setAttribute("stroke-width",e.weight),i.setAttribute("stroke-linecap",e.lineCap),i.setAttribute("stroke-linejoin",e.lineJoin),e.dashArray?i.setAttribute("stroke-dasharray",e.dashArray):i.removeAttribute("stroke-dasharray"),e.dashOffset?i.setAttribute("stroke-dashoffset",e.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),e.fill?(i.setAttribute("fill",e.fillColor||e.color),i.setAttribute("fill-opacity",e.fillOpacity),i.setAttribute("fill-rule",e.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,k(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n="a"+e+","+(Math.max(Math.round(t._radiusY),1)||e)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(i.x-e)+","+i.y+n+2*e+",0 "+n+2*-e+",0 ";this._setPath(t,o)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){X(t._path)},_bringToBack:function(t){J(t._path)}});$i&&Pn.include(xn),be.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&$t(t)||Qt(t)}});var Ln=on.extend({initialize:function(t,i){on.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=z(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});Pn.create=wn,Pn.pointsToPath=k,sn.geometryToLayer=Ft,sn.coordsToLatLng=Ut,sn.coordsToLatLngs=Vt,sn.latLngToCoords=qt,sn.latLngsToCoords=Gt,sn.getFeature=Kt,sn.asFeature=Yt,be.mergeOptions({boxZoom:!0});var bn=Ee.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){mt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ft(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){K(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),fi(),ut(),this._startPoint=this._map.mouseEventToContainerPoint(t),mt(document,{contextmenu:Lt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=G("div","leaflet-zoom-box",this._container),Q(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=new P(this._point,this._startPoint),e=i.getSize();at(this._box,i.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(K(this._box),tt(this._container,"leaflet-crosshair")),gi(),lt(),ft(document,{contextmenu:Lt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(e(this._resetState,this),0);var i=new T(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});be.addInitHook("addHandler","boxZoom",bn),be.mergeOptions({doubleClickZoom:!0});var Tn=Ee.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta,o=t.originalEvent.shiftKey?e-n:e+n;"center"===i.options.doubleClickZoom?i.setZoom(o):i.setZoomAround(t.containerPoint,o)}});be.addInitHook("addHandler","doubleClickZoom",Tn),be.mergeOptions({dragging:!0,inertia:!Mi,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var zn=Ee.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Re(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}Q(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){tt(this._map._container,"leaflet-grab"),tt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=z(this._map.options.maxBounds);this._offsetLimit=b(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(e),this._times.push(i),this._prunePositions(i)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.x<i.min.x&&(t.x=this._viscousLimit(t.x,i.min.x)),t.y<i.min.y&&(t.y=this._viscousLimit(t.y,i.min.y)),t.x>i.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-i+e)%t+i-e,s=(n+i+e)%t-i-e,r=Math.abs(o+e)<Math.abs(s+e)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var i=this._map,e=i.options,n=!e.inertia||this._times.length<2;if(i.fire("dragend",t),n)i.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=e.easeLinearity,a=o.multiplyBy(r/s),h=a.distanceTo([0,0]),u=Math.min(e.inertiaMaxSpeed,h),l=a.multiplyBy(u/h),c=u/(e.inertiaDeceleration*r),_=l.multiplyBy(-c/2).round();_.x||_.y?(_=i._limitOffset(_,i.options.maxBounds),f(function(){i.panBy(_,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})})):i.fire("moveend")}}});be.addInitHook("addHandler","dragging",zn),be.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Mn=Ee.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),mt(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ft(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,i=document.documentElement,e=t.scrollTop||i.scrollTop,n=t.scrollLeft||i.scrollLeft;this._map._container.focus(),window.scrollTo(n,e)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var i,e,n=this._panKeys={},o=this.keyCodes;for(i=0,e=o.left.length;i<e;i++)n[o.left[i]]=[-1*t,0];for(i=0,e=o.right.length;i<e;i++)n[o.right[i]]=[t,0];for(i=0,e=o.down.length;i<e;i++)n[o.down[i]]=[0,t];for(i=0,e=o.up.length;i<e;i++)n[o.up[i]]=[0,-1*t]},_setZoomDelta:function(t){var i,e,n=this._zoomKeys={},o=this.keyCodes;for(i=0,e=o.zoomIn.length;i<e;i++)n[o.zoomIn[i]]=t;for(i=0,e=o.zoomOut.length;i<e;i++)n[o.zoomOut[i]]=-t},_addHooks:function(){mt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ft(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var i,e=t.keyCode,n=this._map;if(e in this._panKeys)n._panAnim&&n._panAnim._inProgress||(i=this._panKeys[e],t.shiftKey&&(i=w(i).multiplyBy(3)),n.panBy(i),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(e in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[e]);else{if(27!==e||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Lt(t)}}});be.addInitHook("addHandler","keyboard",Mn),be.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Cn=Ee.extend({addHooks:function(){mt(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ft(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=Tt(t),n=this._map.options.wheelDebounceTime;this._delta+=i,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(e(this._performZoom,this),o),Lt(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),e=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=e?Math.ceil(o/e)*e:o,r=t._limitZoom(i+(this._delta>0?s:-s))-i;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(i+r):t.setZoomAround(this._lastMousePos,i+r))}});be.addInitHook("addHandler","scrollWheelZoom",Cn),be.mergeOptions({tap:!0,tapTolerance:15});var Sn=Ee.extend({addHooks:function(){mt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ft(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Pt(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],n=i.target;this._startPos=this._newPos=new x(i.clientX,i.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&Q(n,"leaflet-active"),this._holdTimeout=setTimeout(e(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",i))},this),1e3),this._simulateEvent("mousedown",i),mt(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),ft(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],e=i.target;e&&e.tagName&&"a"===e.tagName.toLowerCase()&&tt(e,"leaflet-active"),this._simulateEvent("mouseup",i),this._isTapValid()&&this._simulateEvent("click",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var i=t.touches[0];this._newPos=new x(i.clientX,i.clientY),this._simulateEvent("mousemove",i)},_simulateEvent:function(t,i){var e=document.createEvent("MouseEvents");e._simulated=!0,i.target._simulatedClick=!0,e.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),i.target.dispatchEvent(e)}});qi&&!Vi&&be.addInitHook("addHandler","tap",Sn),be.mergeOptions({touchZoom:qi&&!Mi,bounceAtZoomLimits:!0});var Zn=Ee.extend({addHooks:function(){Q(this._map._container,"leaflet-touch-zoom"),mt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){tt(this._map._container,"leaflet-touch-zoom"),ft(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),mt(document,"touchmove",this._onTouchMove,this),mt(document,"touchend",this._onTouchEnd,this),Pt(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,n=i.mouseEventToContainerPoint(t.touches[0]),o=i.mouseEventToContainerPoint(t.touches[1]),s=n.distanceTo(o)/this._startDist;if(this._zoom=i.getScaleZoom(s,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&s<1||this._zoom>i.getMaxZoom()&&s>1)&&(this._zoom=i._limitZoom(this._zoom)),"center"===i.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=n._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),g(this._animRequest);var a=e(i._move,i,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=f(a,this,!0),Pt(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,g(this._animRequest),ft(document,"touchmove",this._onTouchMove),ft(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});be.addInitHook("addHandler","touchZoom",Zn),be.BoxZoom=bn,be.DoubleClickZoom=Tn,be.Drag=zn,be.Keyboard=Mn,be.ScrollWheelZoom=Cn,be.Tap=Sn,be.TouchZoom=Zn,Object.freeze=ti,t.version="1.4.0+HEAD.3337f36",t.Control=Te,t.control=ze,t.Browser=Qi,t.Evented=ci,t.Mixin=Be,t.Util=ui,t.Class=v,t.Handler=Ee,t.extend=i,t.bind=e,t.stamp=n,t.setOptions=l,t.DomEvent=Pe,t.DomUtil=ve,t.PosAnimation=Le,t.Draggable=Re,t.LineUtil=Ne,t.PolyUtil=De,t.Point=x,t.point=w,t.Bounds=P,t.bounds=b,t.Transformation=S,t.transformation=Z,t.Projection=He,t.LatLng=M,t.latLng=C,t.LatLngBounds=T,t.latLngBounds=z,t.CRS=di,t.GeoJSON=sn,t.geoJSON=Xt,t.geoJson=an,t.Layer=qe,t.LayerGroup=Ge,t.layerGroup=function(t,i){return new Ge(t,i)},t.FeatureGroup=Ke,t.featureGroup=function(t){return new Ke(t)},t.ImageOverlay=hn,t.imageOverlay=function(t,i,e){return new hn(t,i,e)},t.VideoOverlay=un,t.videoOverlay=function(t,i,e){return new un(t,i,e)},t.DivOverlay=ln,t.Popup=cn,t.popup=function(t,i){return new cn(t,i)},t.Tooltip=_n,t.tooltip=function(t,i){return new _n(t,i)},t.Icon=Ye,t.icon=function(t){return new Ye(t)},t.DivIcon=dn,t.divIcon=function(t){return new dn(t)},t.Marker=$e,t.marker=function(t,i){return new $e(t,i)},t.TileLayer=mn,t.tileLayer=Jt,t.GridLayer=pn,t.gridLayer=function(t){return new pn(t)},t.SVG=Pn,t.svg=Qt,t.Renderer=gn,t.Canvas=vn,t.canvas=$t,t.Path=Qe,t.CircleMarker=tn,t.circleMarker=function(t,i){return new tn(t,i)},t.Circle=en,t.circle=function(t,i,e){return new en(t,i,e)},t.Polyline=nn,t.polyline=function(t,i){return new nn(t,i)},t.Polygon=on,t.polygon=function(t,i){return new on(t,i)},t.Rectangle=Ln,t.rectangle=function(t,i){return new Ln(t,i)},t.Map=be,t.map=function(t,i){return new be(t,i)};var En=window.L;t.noConflict=function(){return window.L=En,this},window.L=t});
|
assets/js/sportspress.js
CHANGED
@@ -21,16 +21,9 @@ function sp_viewport() {
|
|
21 |
var countDownDate = new Date($(this).data('countdown')).getTime();
|
22 |
// Iterate every second
|
23 |
var x = setInterval(function() {
|
24 |
-
|
25 |
-
// Get todays date and time
|
26 |
-
var now = new Date();
|
27 |
-
|
28 |
-
// Convert curent date and time to UTC
|
29 |
-
var tzDifference = now.getTimezoneOffset();
|
30 |
-
var nowutc = new Date(now.getTime() + tzDifference * 60 * 1000);
|
31 |
-
|
32 |
// Find the distance between now and the count down date
|
33 |
-
var distance = countDownDate -
|
34 |
if ( distance < 0 ) {
|
35 |
distance = 0;
|
36 |
}
|
@@ -116,4 +109,4 @@ function sp_viewport() {
|
|
116 |
}
|
117 |
});
|
118 |
|
119 |
-
})(jQuery);
|
21 |
var countDownDate = new Date($(this).data('countdown')).getTime();
|
22 |
// Iterate every second
|
23 |
var x = setInterval(function() {
|
24 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
// Find the distance between now and the count down date
|
26 |
+
var distance = countDownDate - (new Date);
|
27 |
if ( distance < 0 ) {
|
28 |
distance = 0;
|
29 |
}
|
109 |
}
|
110 |
});
|
111 |
|
112 |
+
})(jQuery);
|
changelog.txt
CHANGED
@@ -1,5 +1,19 @@
|
|
1 |
== SportsPress Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 2.6.14 =
|
4 |
* Fix - API endpoints for secondary post types.
|
5 |
|
1 |
== SportsPress Changelog ==
|
2 |
|
3 |
+
= 2.6.15 =
|
4 |
+
* Important - Using Google Maps will require a SportsPress Pro license after August 31, 2019.
|
5 |
+
* Refactor - Fallback to OpenStreetMap for venue maps without SportsPress Pro.
|
6 |
+
* Feature - Option to display team logos instead of team names in player lists.
|
7 |
+
* Feature - Option to display custom specs in event blocks and event lists.
|
8 |
+
* Tweak - Improve page load speed when creating new league tables.
|
9 |
+
* Tweak - Prevent displaying events other than published or scheduled.
|
10 |
+
* Fix - Icons only appearing in the first table when player lists are grouped.
|
11 |
+
* Fix - Character encoding and CRLF errors in calendar feeds.
|
12 |
+
* Fix - Missing field location Schema error.
|
13 |
+
* Fix - Dropdowns collapsing in admin when meta boxes are hidden.
|
14 |
+
* Fix - Timezone handling in countdowns.
|
15 |
+
* Fix - Error when using special characters in admin settings.
|
16 |
+
|
17 |
= 2.6.14 =
|
18 |
* Fix - API endpoints for secondary post types.
|
19 |
|
feeds/ical.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @author ThemeBoy
|
6 |
* @category Feeds
|
7 |
* @package SportsPress/Feeds
|
8 |
-
* @version 2.6.
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -29,24 +29,24 @@ $timezone = sanitize_option( 'timezone_string', get_option( 'timezone_string' )
|
|
29 |
|
30 |
// Get the URL
|
31 |
$url = add_query_arg( 'feed', 'sp-ical', get_post_permalink( $post ) );
|
32 |
-
$url = wordwrap( $url , 60, "\n\t", true );
|
33 |
|
34 |
$output =
|
35 |
-
"BEGIN:VCALENDAR\n" .
|
36 |
-
"VERSION:2.0\n" .
|
37 |
-
"PRODID:-//ThemeBoy//SportsPress//" . strtoupper( $locale ) . "\n" .
|
38 |
-
"CALSCALE:GREGORIAN\n" .
|
39 |
-
"METHOD:PUBLISH\n" .
|
40 |
-
"URL:" . $url . "\n" .
|
41 |
-
"X-FROM-URL:" . $url . "\n" .
|
42 |
-
"NAME:" . $post->post_title . "\n" .
|
43 |
-
"X-WR-CALNAME:" . $post->post_title . "\n" .
|
44 |
-
"DESCRIPTION:" . $post->post_title . "\n" .
|
45 |
-
"X-WR-CALDESC:" . $post->post_title . "\n" .
|
46 |
-
"REFRESH-INTERVAL;VALUE=DURATION:PT2M\n" .
|
47 |
-
"X-PUBLISHED-TTL:PT2M\n" .
|
48 |
-
"TZID:" . $timezone . "\n" .
|
49 |
-
"X-WR-TIMEZONE:" . $timezone . "\n";
|
50 |
|
51 |
// Loop through each event
|
52 |
foreach ( $events as $event):
|
@@ -96,7 +96,7 @@ foreach ( $events as $event):
|
|
96 |
$geo = false;
|
97 |
}
|
98 |
}
|
99 |
-
$location = wordwrap( $location , 60, "\n\t" );
|
100 |
|
101 |
// Get title or write summary based on scores
|
102 |
$results = array();
|
@@ -134,31 +134,34 @@ foreach ( $events as $event):
|
|
134 |
} else {
|
135 |
$summary = $event->post_title;
|
136 |
}
|
137 |
-
|
|
|
|
|
|
|
138 |
// Append to output string
|
139 |
$output .=
|
140 |
-
"BEGIN:VEVENT\n" .
|
141 |
-
"SUMMARY:" . preg_replace('/([\,;])/','\\\$1', $summary) . "\n" .
|
142 |
-
"UID:$event->ID\n" .
|
143 |
-
"STATUS:CONFIRMED\n" .
|
144 |
-
"DTSTAMP:19700101T000000\n".
|
145 |
-
"DTSTART:" . mysql2date( $date_format, $event->post_date ) . "\n" .
|
146 |
-
"DTEND:" . $end->format( $date_format ) . "\n" .
|
147 |
-
"LAST-MODIFIED:" . mysql2date( $date_format, $event->post_modified_gmt ) . "\n";
|
148 |
|
149 |
if ( $description ) {
|
150 |
-
$output .= "DESCRIPTION:" . $description . "\n";
|
151 |
}
|
152 |
|
153 |
if ( $location ) {
|
154 |
-
$output .= "LOCATION:" . $location . "\n";
|
155 |
}
|
156 |
|
157 |
if ( $geo ) {
|
158 |
-
$output .= "GEO:" . $geo . "\n";
|
159 |
}
|
160 |
|
161 |
-
$output .= "END:VEVENT\n";
|
162 |
endforeach;
|
163 |
|
164 |
// End output
|
5 |
* @author ThemeBoy
|
6 |
* @category Feeds
|
7 |
* @package SportsPress/Feeds
|
8 |
+
* @version 2.6.15
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
29 |
|
30 |
// Get the URL
|
31 |
$url = add_query_arg( 'feed', 'sp-ical', get_post_permalink( $post ) );
|
32 |
+
$url = wordwrap( $url , 60, "\r\n\t", true );
|
33 |
|
34 |
$output =
|
35 |
+
"BEGIN:VCALENDAR\r\n" .
|
36 |
+
"VERSION:2.0\r\n" .
|
37 |
+
"PRODID:-//ThemeBoy//SportsPress//" . strtoupper( $locale ) . "\r\n" .
|
38 |
+
"CALSCALE:GREGORIAN\r\n" .
|
39 |
+
"METHOD:PUBLISH\r\n" .
|
40 |
+
"URL:" . $url . "\r\n" .
|
41 |
+
"X-FROM-URL:" . $url . "\r\n" .
|
42 |
+
"NAME:" . $post->post_title . "\r\n" .
|
43 |
+
"X-WR-CALNAME:" . $post->post_title . "\r\n" .
|
44 |
+
"DESCRIPTION:" . $post->post_title . "\r\n" .
|
45 |
+
"X-WR-CALDESC:" . $post->post_title . "\r\n" .
|
46 |
+
"REFRESH-INTERVAL;VALUE=DURATION:PT2M\r\n" .
|
47 |
+
"X-PUBLISHED-TTL:PT2M\r\n" .
|
48 |
+
"TZID:" . $timezone . "\r\n" .
|
49 |
+
"X-WR-TIMEZONE:" . $timezone . "\r\n";
|
50 |
|
51 |
// Loop through each event
|
52 |
foreach ( $events as $event):
|
96 |
$geo = false;
|
97 |
}
|
98 |
}
|
99 |
+
$location = wordwrap( $location , 60, "\r\n\t" );
|
100 |
|
101 |
// Get title or write summary based on scores
|
102 |
$results = array();
|
134 |
} else {
|
135 |
$summary = $event->post_title;
|
136 |
}
|
137 |
+
|
138 |
+
//Convert &#[0-9]+ entities to UTF-8
|
139 |
+
$summary = preg_replace_callback("/(&#[0-9]+;)/", function($m) { return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES"); }, $summary);
|
140 |
+
|
141 |
// Append to output string
|
142 |
$output .=
|
143 |
+
"BEGIN:VEVENT\r\n" .
|
144 |
+
"SUMMARY:" . preg_replace( '/([\,;])/','\\\$1', $summary ) . "\r\n" .
|
145 |
+
"UID:$event->ID\r\n" .
|
146 |
+
"STATUS:CONFIRMED\r\n" .
|
147 |
+
"DTSTAMP:19700101T000000\r\n".
|
148 |
+
"DTSTART:" . mysql2date( $date_format, $event->post_date ) . "\r\n" .
|
149 |
+
"DTEND:" . $end->format( $date_format ) . "\r\n" .
|
150 |
+
"LAST-MODIFIED:" . mysql2date( $date_format, $event->post_modified_gmt ) . "\r\n";
|
151 |
|
152 |
if ( $description ) {
|
153 |
+
$output .= "DESCRIPTION:" . $description . "\r\n";
|
154 |
}
|
155 |
|
156 |
if ( $location ) {
|
157 |
+
$output .= "LOCATION:" . $location . "\r\n";
|
158 |
}
|
159 |
|
160 |
if ( $geo ) {
|
161 |
+
$output .= "GEO:" . $geo . "\r\n";
|
162 |
}
|
163 |
|
164 |
+
$output .= "END:VEVENT\r\n";
|
165 |
endforeach;
|
166 |
|
167 |
// End output
|
includes/admin/class-sp-admin-assets.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin
|
8 |
-
* @version 2.6.
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -84,12 +84,6 @@ class SP_Admin_Assets {
|
|
84 |
|
85 |
wp_register_script( 'jquery-fitvids', SP()->plugin_url() . '/assets/js/jquery.fitvids.js', array( 'jquery' ), '1.1', true );
|
86 |
|
87 |
-
wp_register_script( 'google-maps', '//tboy.co/maps_js' );
|
88 |
-
|
89 |
-
wp_register_script( 'jquery-locationpicker', SP()->plugin_url() . '/assets/js/locationpicker.jquery.js', array( 'jquery', 'google-maps' ), '0.1.6', true );
|
90 |
-
|
91 |
-
wp_register_script( 'sportspress-admin-locationpicker', SP()->plugin_url() . '/assets/js/admin/locationpicker.js', array( 'jquery', 'google-maps', 'jquery-locationpicker' ), SP_VERSION, true );
|
92 |
-
|
93 |
wp_register_script( 'sportspress-admin-equationbuilder', SP()->plugin_url() . '/assets/js/admin/equationbuilder.js', array( 'jquery', 'jquery-ui-core', 'jquery-ui-draggable', 'jquery-ui-droppable' ), SP_VERSION, true );
|
94 |
|
95 |
wp_register_script( 'sportspress-admin-colorpicker', SP()->plugin_url() . '/assets/js/admin/colorpicker.js', array( 'jquery', 'wp-color-picker', 'iris' ), SP_VERSION, true );
|
@@ -130,13 +124,6 @@ class SP_Admin_Assets {
|
|
130 |
wp_enqueue_script( 'sportspress-admin-widgets' );
|
131 |
}
|
132 |
|
133 |
-
// Edit venue pages
|
134 |
-
if ( in_array( $screen->id, array( 'edit-sp_venue' ) ) ) {
|
135 |
-
wp_enqueue_script( 'google-maps' );
|
136 |
-
wp_enqueue_script( 'jquery-locationpicker' );
|
137 |
-
wp_enqueue_script( 'sportspress-admin-locationpicker' );
|
138 |
-
}
|
139 |
-
|
140 |
// Edit color
|
141 |
if ( in_array( $screen->id, array( 'sp_outcome' ) ) ) {
|
142 |
wp_enqueue_script( 'sportspress-admin-colorpicker' );
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin
|
8 |
+
* @version 2.6.15
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
84 |
|
85 |
wp_register_script( 'jquery-fitvids', SP()->plugin_url() . '/assets/js/jquery.fitvids.js', array( 'jquery' ), '1.1', true );
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
wp_register_script( 'sportspress-admin-equationbuilder', SP()->plugin_url() . '/assets/js/admin/equationbuilder.js', array( 'jquery', 'jquery-ui-core', 'jquery-ui-draggable', 'jquery-ui-droppable' ), SP_VERSION, true );
|
88 |
|
89 |
wp_register_script( 'sportspress-admin-colorpicker', SP()->plugin_url() . '/assets/js/admin/colorpicker.js', array( 'jquery', 'wp-color-picker', 'iris' ), SP_VERSION, true );
|
124 |
wp_enqueue_script( 'sportspress-admin-widgets' );
|
125 |
}
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
// Edit color
|
128 |
if ( in_array( $screen->id, array( 'sp_outcome' ) ) ) {
|
129 |
wp_enqueue_script( 'sportspress-admin-colorpicker' );
|
includes/admin/class-sp-admin-settings.php
CHANGED
@@ -171,7 +171,7 @@ class SP_Admin_Settings {
|
|
171 |
// Array value
|
172 |
if ( strstr( $option_name, '[' ) ) {
|
173 |
|
174 |
-
parse_str( $option_name, $option_array );
|
175 |
|
176 |
// Option name is first key
|
177 |
$option_name = current( array_keys( $option_array ) );
|
171 |
// Array value
|
172 |
if ( strstr( $option_name, '[' ) ) {
|
173 |
|
174 |
+
parse_str( html_entity_decode( $option_name ), $option_array );
|
175 |
|
176 |
// Option name is first key
|
177 |
$option_name = current( array_keys( $option_array ) );
|
includes/admin/class-sp-admin-setup-wizard.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
* @author WooThemes
|
10 |
* @category Admin
|
11 |
* @package SportsPress/Admin
|
12 |
-
* @version 2.6.
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
exit;
|
@@ -101,11 +101,9 @@ class SP_Admin_Setup_Wizard {
|
|
101 |
|
102 |
wp_register_script( 'chosen', SP()->plugin_url() . '/assets/js/chosen.jquery.min.js', array( 'jquery' ), '1.1.0', true );
|
103 |
wp_register_script( 'jquery-tiptip', SP()->plugin_url() . '/assets/js/jquery.tipTip.min.js', array( 'jquery' ), '1.3', true );
|
104 |
-
wp_register_script( 'google-maps', '//tboy.co/maps_js' );
|
105 |
wp_register_script( 'sportspress-setup', SP()->plugin_url() . '/assets/js/admin/sportspress-setup.js', array( 'jquery', 'chosen', 'jquery-tiptip' ), SP_VERSION, true );
|
106 |
|
107 |
-
|
108 |
-
wp_register_script( 'sportspress-admin-locationpicker', SP()->plugin_url() . '/assets/js/admin/locationpicker.js', array( 'jquery', 'jquery-locationpicker' ), SP_VERSION, true );
|
109 |
|
110 |
$strings = apply_filters( 'sportspress_localized_strings', array(
|
111 |
'none' => __( 'None', 'sportspress' ),
|
@@ -115,8 +113,6 @@ class SP_Admin_Setup_Wizard {
|
|
115 |
// Localize scripts
|
116 |
wp_localize_script( 'sportspress-setup', 'localized_strings', $strings );
|
117 |
|
118 |
-
wp_enqueue_script( 'google-maps' );
|
119 |
-
|
120 |
if ( ! empty( $_POST['save_step'] ) && isset( $this->steps[ $this->step ]['handler'] ) ) {
|
121 |
call_user_func( $this->steps[ $this->step ]['handler'] );
|
122 |
}
|
@@ -517,6 +513,7 @@ class SP_Admin_Setup_Wizard {
|
|
517 |
* Venue Step.
|
518 |
*/
|
519 |
public function sp_setup_venue() {
|
|
|
520 |
?>
|
521 |
<h1><?php _e( 'Venue Setup', 'sportspress' ); ?></h1>
|
522 |
<form method="post">
|
@@ -531,11 +528,11 @@ class SP_Admin_Setup_Wizard {
|
|
531 |
<tr>
|
532 |
<th scope="row"><?php _e( 'Address', 'sportspress' ); ?></th>
|
533 |
<td>
|
534 |
-
<input name="address" class="sp-address" type="text">
|
535 |
-
<div class="sp-location-picker"></div>
|
536 |
<p class="description"><?php _e( "Drag the marker to the venue's location.", 'sportspress' ); ?></p>
|
537 |
-
<input name="latitude" class="sp-latitude" type="hidden" value="
|
538 |
-
<input name="longitude" class="sp-longitude" type="hidden" value="
|
539 |
</td>
|
540 |
</tr>
|
541 |
</table>
|
@@ -546,8 +543,8 @@ class SP_Admin_Setup_Wizard {
|
|
546 |
<?php wp_nonce_field( 'sp-setup' ); ?>
|
547 |
</p>
|
548 |
</form>
|
549 |
-
<?php wp_print_scripts( 'sportspress-admin-locationpicker' ); ?>
|
550 |
<?php
|
|
|
551 |
}
|
552 |
|
553 |
/**
|
9 |
* @author WooThemes
|
10 |
* @category Admin
|
11 |
* @package SportsPress/Admin
|
12 |
+
* @version 2.6.15
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
exit;
|
101 |
|
102 |
wp_register_script( 'chosen', SP()->plugin_url() . '/assets/js/chosen.jquery.min.js', array( 'jquery' ), '1.1.0', true );
|
103 |
wp_register_script( 'jquery-tiptip', SP()->plugin_url() . '/assets/js/jquery.tipTip.min.js', array( 'jquery' ), '1.3', true );
|
|
|
104 |
wp_register_script( 'sportspress-setup', SP()->plugin_url() . '/assets/js/admin/sportspress-setup.js', array( 'jquery', 'chosen', 'jquery-tiptip' ), SP_VERSION, true );
|
105 |
|
106 |
+
do_action( 'sp_setup_geocoder_scripts' );
|
|
|
107 |
|
108 |
$strings = apply_filters( 'sportspress_localized_strings', array(
|
109 |
'none' => __( 'None', 'sportspress' ),
|
113 |
// Localize scripts
|
114 |
wp_localize_script( 'sportspress-setup', 'localized_strings', $strings );
|
115 |
|
|
|
|
|
116 |
if ( ! empty( $_POST['save_step'] ) && isset( $this->steps[ $this->step ]['handler'] ) ) {
|
117 |
call_user_func( $this->steps[ $this->step ]['handler'] );
|
118 |
}
|
513 |
* Venue Step.
|
514 |
*/
|
515 |
public function sp_setup_venue() {
|
516 |
+
do_action( 'sp_setup_venue_geocoder_scripts' );
|
517 |
?>
|
518 |
<h1><?php _e( 'Venue Setup', 'sportspress' ); ?></h1>
|
519 |
<form method="post">
|
528 |
<tr>
|
529 |
<th scope="row"><?php _e( 'Address', 'sportspress' ); ?></th>
|
530 |
<td>
|
531 |
+
<input name="address" id="sp_address" class="sp-address" type="text" value="Marvel Stadium, Melbourne">
|
532 |
+
<div id="sp-location-picker" class="sp-location-picker" style="width: 95%; height: 320px"></div>
|
533 |
<p class="description"><?php _e( "Drag the marker to the venue's location.", 'sportspress' ); ?></p>
|
534 |
+
<input name="latitude" id="sp_latitude" class="sp-latitude" type="hidden" value="-37.8165647">
|
535 |
+
<input name="longitude" id="sp_longitude" class="sp-longitude" type="hidden" value="144.9475055">
|
536 |
</td>
|
537 |
</tr>
|
538 |
</table>
|
543 |
<?php wp_nonce_field( 'sp-setup' ); ?>
|
544 |
</p>
|
545 |
</form>
|
|
|
546 |
<?php
|
547 |
+
do_action( 'sp_admin_geocoder_scripts' );
|
548 |
}
|
549 |
|
550 |
/**
|
includes/admin/class-sp-admin-taxonomies.php
CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
7 |
* Handles taxonomies in admin
|
8 |
*
|
9 |
* @class SP_Admin_Taxonomies
|
10 |
-
* @version 2.6.
|
11 |
* @package SportsPress/Admin
|
12 |
* @category Class
|
13 |
* @author ThemeBoy
|
@@ -103,21 +103,24 @@ class SP_Admin_Taxonomies {
|
|
103 |
$term = reset( $terms );
|
104 |
$t_id = $term->term_id;
|
105 |
$term_meta = get_option( "taxonomy_$t_id" );
|
106 |
-
$latitude = sp_array_value( $term_meta, 'sp_latitude', '
|
107 |
-
$longitude = sp_array_value( $term_meta, 'sp_longitude', '
|
|
|
108 |
endif;
|
109 |
// Sanitize latitude and longitude, fallback to default.
|
110 |
if( ! is_numeric( $latitude) || ! is_numeric( $longitude) ):
|
111 |
-
$latitude = '
|
112 |
-
$longitude = '
|
113 |
endif;
|
114 |
?>
|
115 |
<div class="form-field">
|
116 |
-
<
|
117 |
-
<input type="text" class="sp-address" name="term_meta[sp_address]" id="term_meta[sp_address]" value="">
|
118 |
-
<p><div class="sp-location-picker"></div></p>
|
119 |
<p><?php _e( "Drag the marker to the venue's location.", 'sportspress' ); ?></p>
|
120 |
</div>
|
|
|
|
|
|
|
|
|
121 |
<div class="form-field">
|
122 |
<label for="term_meta[sp_latitude]"><?php _e( 'Latitude', 'sportspress' ); ?></label>
|
123 |
<input type="text" class="sp-latitude" name="term_meta[sp_latitude]" id="term_meta[sp_latitude]" value="<?php echo esc_attr( $latitude ); ?>">
|
@@ -127,6 +130,7 @@ class SP_Admin_Taxonomies {
|
|
127 |
<input type="text" class="sp-longitude" name="term_meta[sp_longitude]" id="term_meta[sp_longitude]" value="<?php echo esc_attr( $longitude ); ?>">
|
128 |
</div>
|
129 |
<?php
|
|
|
130 |
}
|
131 |
|
132 |
/**
|
@@ -137,28 +141,37 @@ class SP_Admin_Taxonomies {
|
|
137 |
*/
|
138 |
public function edit_venue_fields( $term ) {
|
139 |
$t_id = $term->term_id;
|
140 |
-
$term_meta = get_option( "taxonomy_$t_id" );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
<tr class="form-field">
|
142 |
<th scope="row" valign="top"><label for="term_meta[sp_address]"><?php _e( 'Address', 'sportspress' ); ?></label></th>
|
143 |
<td>
|
144 |
-
<input type="text" class="sp-address" name="term_meta[sp_address]" id="term_meta[sp_address]" value="<?php echo
|
145 |
-
<p><div class="sp-location-picker"></div></p>
|
146 |
-
<p class="description"><?php _e( "Drag the marker to the venue's location.", 'sportspress' ); ?></p>
|
147 |
</td>
|
148 |
</tr>
|
149 |
<tr class="form-field">
|
150 |
<th scope="row" valign="top"><label for="term_meta[sp_latitude]"><?php _e( 'Latitude', 'sportspress' ); ?></label></th>
|
151 |
<td>
|
152 |
-
<input type="text" class="sp-latitude" name="term_meta[sp_latitude]" id="term_meta[sp_latitude]" value="<?php echo
|
153 |
</td>
|
154 |
</tr>
|
155 |
<tr class="form-field">
|
156 |
<th scope="row" valign="top"><label for="term_meta[sp_longitude]"><?php _e( 'Longitude', 'sportspress' ); ?></label></th>
|
157 |
<td>
|
158 |
-
<input type="text" class="sp-longitude" name="term_meta[sp_longitude]" id="term_meta[sp_longitude]" value="<?php echo
|
159 |
</td>
|
160 |
</tr>
|
161 |
<?php
|
|
|
162 |
}
|
163 |
|
164 |
/**
|
7 |
* Handles taxonomies in admin
|
8 |
*
|
9 |
* @class SP_Admin_Taxonomies
|
10 |
+
* @version 2.6.15
|
11 |
* @package SportsPress/Admin
|
12 |
* @category Class
|
13 |
* @author ThemeBoy
|
103 |
$term = reset( $terms );
|
104 |
$t_id = $term->term_id;
|
105 |
$term_meta = get_option( "taxonomy_$t_id" );
|
106 |
+
$latitude = sp_array_value( $term_meta, 'sp_latitude', '-37.8165647' );
|
107 |
+
$longitude = sp_array_value( $term_meta, 'sp_longitude', '144.9475055' );
|
108 |
+
$address = sp_array_value( $term_meta, 'sp_address', '' );
|
109 |
endif;
|
110 |
// Sanitize latitude and longitude, fallback to default.
|
111 |
if( ! is_numeric( $latitude) || ! is_numeric( $longitude) ):
|
112 |
+
$latitude = '-37.8165647';
|
113 |
+
$longitude = '144.9475055';
|
114 |
endif;
|
115 |
?>
|
116 |
<div class="form-field">
|
117 |
+
<div id="sp-location-picker" class="sp-location-picker" style="width: 95%; height: 320px"></div>
|
|
|
|
|
118 |
<p><?php _e( "Drag the marker to the venue's location.", 'sportspress' ); ?></p>
|
119 |
</div>
|
120 |
+
<div class="form-field">
|
121 |
+
<label for="term_meta[sp_address]"><?php _e( 'Address', 'sportspress' ); ?></label>
|
122 |
+
<input type="text" class="sp-address" name="term_meta[sp_address]" id="term_meta[sp_address]" value="<?php echo esc_attr( $address ); ?>">
|
123 |
+
</div>
|
124 |
<div class="form-field">
|
125 |
<label for="term_meta[sp_latitude]"><?php _e( 'Latitude', 'sportspress' ); ?></label>
|
126 |
<input type="text" class="sp-latitude" name="term_meta[sp_latitude]" id="term_meta[sp_latitude]" value="<?php echo esc_attr( $latitude ); ?>">
|
130 |
<input type="text" class="sp-longitude" name="term_meta[sp_longitude]" id="term_meta[sp_longitude]" value="<?php echo esc_attr( $longitude ); ?>">
|
131 |
</div>
|
132 |
<?php
|
133 |
+
do_action( 'sp_admin_geocoder_scripts' );
|
134 |
}
|
135 |
|
136 |
/**
|
141 |
*/
|
142 |
public function edit_venue_fields( $term ) {
|
143 |
$t_id = $term->term_id;
|
144 |
+
$term_meta = get_option( "taxonomy_$t_id" );
|
145 |
+
$latitude = is_numeric( esc_attr( $term_meta['sp_latitude'] ) ) ? esc_attr( $term_meta['sp_latitude'] ) : '';
|
146 |
+
$longitude = is_numeric( esc_attr( $term_meta['sp_longitude'] ) ) ? esc_attr( $term_meta['sp_longitude'] ) : '';
|
147 |
+
$address = esc_attr( $term_meta['sp_address'] ) ? esc_attr( $term_meta['sp_address'] ) : '';
|
148 |
+
?>
|
149 |
+
<tr class="form-field">
|
150 |
+
<td colspan="2">
|
151 |
+
<p><div id="sp-location-picker" class="sp-location-picker" style="width: 95%; height: 320px"></div></p>
|
152 |
+
<p class="description"><?php _e( "Drag the marker to the venue's location.", 'sportspress' ); ?></p>
|
153 |
+
</td>
|
154 |
+
</tr>
|
155 |
<tr class="form-field">
|
156 |
<th scope="row" valign="top"><label for="term_meta[sp_address]"><?php _e( 'Address', 'sportspress' ); ?></label></th>
|
157 |
<td>
|
158 |
+
<input type="text" class="sp-address" name="term_meta[sp_address]" id="term_meta[sp_address]" value="<?php echo $address; ?>">
|
|
|
|
|
159 |
</td>
|
160 |
</tr>
|
161 |
<tr class="form-field">
|
162 |
<th scope="row" valign="top"><label for="term_meta[sp_latitude]"><?php _e( 'Latitude', 'sportspress' ); ?></label></th>
|
163 |
<td>
|
164 |
+
<input type="text" class="sp-latitude" name="term_meta[sp_latitude]" id="term_meta[sp_latitude]" value="<?php echo $latitude; ?>">
|
165 |
</td>
|
166 |
</tr>
|
167 |
<tr class="form-field">
|
168 |
<th scope="row" valign="top"><label for="term_meta[sp_longitude]"><?php _e( 'Longitude', 'sportspress' ); ?></label></th>
|
169 |
<td>
|
170 |
+
<input type="text" class="sp-longitude" name="term_meta[sp_longitude]" id="term_meta[sp_longitude]" value="<?php echo $longitude; ?>">
|
171 |
</td>
|
172 |
</tr>
|
173 |
<?php
|
174 |
+
do_action( 'sp_admin_geocoder_scripts' );
|
175 |
}
|
176 |
|
177 |
/**
|
includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin/Meta_Boxes
|
8 |
-
* @version 2.6.
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -65,9 +65,7 @@ class SP_Meta_Box_Outcome_Details extends SP_Meta_Box_Config {
|
|
65 |
'=' => sprintf( __( 'Equal %s', 'sportspress' ), $label ),
|
66 |
'else' => sprintf( __( 'Default', 'sportspress' ), $label ),
|
67 |
);
|
68 |
-
|
69 |
-
$options[ $i ] = $i;
|
70 |
-
endfor;
|
71 |
foreach ( $options as $key => $value ):
|
72 |
printf( '<option value="%s" %s>%s</option>', $key, selected( true, $key == $condition, false ), $value );
|
73 |
endforeach;
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin/Meta_Boxes
|
8 |
+
* @version 2.6.15
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
65 |
'=' => sprintf( __( 'Equal %s', 'sportspress' ), $label ),
|
66 |
'else' => sprintf( __( 'Default', 'sportspress' ), $label ),
|
67 |
);
|
68 |
+
|
|
|
|
|
69 |
foreach ( $options as $key => $value ):
|
70 |
printf( '<option value="%s" %s>%s</option>', $key, selected( true, $key == $condition, false ), $value );
|
71 |
endforeach;
|
includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin/Meta_Boxes
|
8 |
-
* @version 2.
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -19,11 +19,16 @@ class SP_Meta_Box_Table_Data {
|
|
19 |
* Output the metabox
|
20 |
*/
|
21 |
public static function output( $post ) {
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
27 |
}
|
28 |
|
29 |
/**
|
@@ -39,7 +44,7 @@ class SP_Meta_Box_Table_Data {
|
|
39 |
/**
|
40 |
* Admin edit table
|
41 |
*/
|
42 |
-
public static function table( $id, $columns = array(), $usecolumns = null, $data = array(), $placeholders = array(), $adjustments = array(), $highlight = null, $readonly = false ) {
|
43 |
if ( is_array( $usecolumns ) )
|
44 |
$usecolumns = array_filter( $usecolumns );
|
45 |
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin/Meta_Boxes
|
8 |
+
* @version 2.6.15
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
* Output the metabox
|
20 |
*/
|
21 |
public static function output( $post ) {
|
22 |
+
global $pagenow;
|
23 |
+
if ( is_admin() && in_array( $pagenow, array( 'post-new.php' ) ) && 'sp_table' == get_post_type() ) {
|
24 |
+
self::table( );
|
25 |
+
}else{
|
26 |
+
$table = new SP_League_Table( $post );
|
27 |
+
list( $columns, $usecolumns, $data, $placeholders, $merged ) = $table->data( true );
|
28 |
+
$adjustments = $table->adjustments;
|
29 |
+
$highlight = get_post_meta( $table->ID, 'sp_highlight', true );
|
30 |
+
self::table( $table->ID, $columns, $usecolumns, $data, $placeholders, $adjustments, $highlight );
|
31 |
+
}
|
32 |
}
|
33 |
|
34 |
/**
|
44 |
/**
|
45 |
* Admin edit table
|
46 |
*/
|
47 |
+
public static function table( $id = 0, $columns = array(), $usecolumns = null, $data = array(), $placeholders = array(), $adjustments = array(), $highlight = null, $readonly = false ) {
|
48 |
if ( is_array( $usecolumns ) )
|
49 |
$usecolumns = array_filter( $usecolumns );
|
50 |
|
includes/admin/settings/class-sp-settings-events.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin
|
8 |
-
* @version 2.6
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -181,8 +181,8 @@ class SP_Settings_Events extends SP_Settings_Page {
|
|
181 |
),
|
182 |
|
183 |
array(
|
184 |
-
'title' => __( '
|
185 |
-
'desc' => __( 'Display
|
186 |
'id' => 'sportspress_event_show_maps',
|
187 |
'default' => 'yes',
|
188 |
'type' => 'checkbox',
|
5 |
* @author ThemeBoy
|
6 |
* @category Admin
|
7 |
* @package SportsPress/Admin
|
8 |
+
* @version 2.6.15
|
9 |
*/
|
10 |
|
11 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
181 |
),
|
182 |
|
183 |
array(
|
184 |
+
'title' => __( 'Venue Map', 'sportspress' ),
|
185 |
+
'desc' => __( 'Display venue map', 'sportspress' ),
|
186 |
'id' => 'sportspress_event_show_maps',
|
187 |
'default' => 'yes',
|
188 |
'type' => 'checkbox',
|
includes/class-sp-ajax.php
CHANGED
@@ -8,7 +8,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
8 |
* AJAX Event Handler
|
9 |
*
|
10 |
* @class SP_AJAX
|
11 |
-
* @version 2.6.
|
12 |
* @package SportsPress/Classes
|
13 |
* @category Class
|
14 |
* @author ThemeBoy
|
@@ -628,6 +628,7 @@ class SP_AJAX {
|
|
628 |
'season' => __( 'Season', 'sportspress' ),
|
629 |
'venue' => __( 'Venue', 'sportspress' ),
|
630 |
'article' => __( 'Article', 'sportspress' ),
|
|
|
631 |
);
|
632 |
$field_name = 'columns[]';
|
633 |
$field_id = 'columns';
|
8 |
* AJAX Event Handler
|
9 |
*
|
10 |
* @class SP_AJAX
|
11 |
+
* @version 2.6.15
|
12 |
* @package SportsPress/Classes
|
13 |
* @category Class
|
14 |
* @author ThemeBoy
|
628 |
'season' => __( 'Season', 'sportspress' ),
|
629 |
'venue' => __( 'Venue', 'sportspress' ),
|
630 |
'article' => __( 'Article', 'sportspress' ),
|
631 |
+
'event_specs' => __( 'Specs', 'sportspress' ),
|
632 |
);
|
633 |
$field_name = 'columns[]';
|
634 |
$field_id = 'columns';
|
includes/class-sp-calendar.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* https://wordpress.org/support/topic/timezone-issues-with-schedule-calendar-list/
|
9 |
*
|
10 |
* @class SP_Calendar
|
11 |
-
* @version 2.6.
|
12 |
* @package SportsPress/Classes
|
13 |
* @category Class
|
14 |
* @author ThemeBoy
|
@@ -154,7 +154,6 @@ class SP_Calendar extends SP_Secondary_Post {
|
|
154 |
'posts_per_page' => $this->number,
|
155 |
'orderby' => $this->orderby,
|
156 |
'order' => $this->order,
|
157 |
-
'post_status' => $this->status,
|
158 |
'meta_query' => array(
|
159 |
'relation' => 'AND'
|
160 |
),
|
@@ -399,6 +398,7 @@ class SP_Calendar extends SP_Secondary_Post {
|
|
399 |
|
400 |
if ( $this->event) {
|
401 |
$args['p'] = $this->event;
|
|
|
402 |
}
|
403 |
|
404 |
if ( 'auto' === $this->date && 'any' === $this->status ) {
|
@@ -415,23 +415,13 @@ class SP_Calendar extends SP_Secondary_Post {
|
|
415 |
|
416 |
$events = array_merge_recursive( $results, $fixtures );
|
417 |
} else {
|
|
|
418 |
$events = get_posts( $args );
|
419 |
}
|
420 |
|
421 |
else:
|
422 |
$events = null;
|
423 |
endif;
|
424 |
-
|
425 |
-
// Filter out unessecary events if we are showing past meetings
|
426 |
-
if ( $this->teams_past ){
|
427 |
-
$events_past = array();
|
428 |
-
foreach ( $events as $single_event ) {
|
429 |
-
if ( sort( get_post_meta( $single_event->ID, 'sp_team' ) ) === sort( $this->teams_past ) ) {
|
430 |
-
$events_past[] = $single_event;
|
431 |
-
}
|
432 |
-
}
|
433 |
-
$events = $events_past;
|
434 |
-
}
|
435 |
|
436 |
// Remove any calendar selection filters
|
437 |
remove_filter( 'posts_where', array( $this, 'range' ) );
|
8 |
* https://wordpress.org/support/topic/timezone-issues-with-schedule-calendar-list/
|
9 |
*
|
10 |
* @class SP_Calendar
|
11 |
+
* @version 2.6.15
|
12 |
* @package SportsPress/Classes
|
13 |
* @category Class
|
14 |
* @author ThemeBoy
|
154 |
'posts_per_page' => $this->number,
|
155 |
'orderby' => $this->orderby,
|
156 |
'order' => $this->order,
|
|
|
157 |
'meta_query' => array(
|
158 |
'relation' => 'AND'
|
159 |
),
|
398 |
|
399 |
if ( $this->event) {
|
400 |
$args['p'] = $this->event;
|
401 |
+
$args['post_status'] = array( 'publish', 'future' );
|
402 |
}
|
403 |
|
404 |
if ( 'auto' === $this->date && 'any' === $this->status ) {
|
415 |
|
416 |
$events = array_merge_recursive( $results, $fixtures );
|
417 |
} else {
|
418 |
+
$args['post_status'] = $this->status == 'any' ? array('publish', 'future') : explode ( ',', $this->status );
|
419 |
$events = get_posts( $args );
|
420 |
}
|
421 |
|
422 |
else:
|
423 |
$events = null;
|
424 |
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
|
426 |
// Remove any calendar selection filters
|
427 |
remove_filter( 'posts_where', array( $this, 'range' ) );
|
includes/class-sp-league-table.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* The SportsPress league table class handles individual league table data.
|
6 |
*
|
7 |
* @class SP_League_Table
|
8 |
-
* @version 2.6.
|
9 |
* @package SportsPress/Classes
|
10 |
* @category Class
|
11 |
* @author ThemeBoy
|
@@ -790,7 +790,7 @@ class SP_League_Table extends SP_Secondary_Post {
|
|
790 |
if ( sp_array_value( $a, $priority['column'], 0 ) != sp_array_value( $b, $priority['column'], 0 ) ):
|
791 |
|
792 |
// Compare column values
|
793 |
-
$output = sp_array_value( $a, $priority['column'], 0 ) - sp_array_value( $b, $priority['column'], 0 );
|
794 |
|
795 |
// Flip value if descending order
|
796 |
if ( $priority['order'] == 'DESC' ) $output = 0 - $output;
|
5 |
* The SportsPress league table class handles individual league table data.
|
6 |
*
|
7 |
* @class SP_League_Table
|
8 |
+
* @version 2.6.15
|
9 |
* @package SportsPress/Classes
|
10 |
* @category Class
|
11 |
* @author ThemeBoy
|
790 |
if ( sp_array_value( $a, $priority['column'], 0 ) != sp_array_value( $b, $priority['column'], 0 ) ):
|
791 |
|
792 |
// Compare column values
|
793 |
+
$output = (float) sp_array_value( $a, $priority['column'], 0 ) - (float) sp_array_value( $b, $priority['column'], 0 );
|
794 |
|
795 |
// Flip value if descending order
|
796 |
if ( $priority['order'] == 'DESC' ) $output = 0 - $output;
|
includes/class-sp-modules.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* The SportsPress modules class stores available modules.
|
6 |
*
|
7 |
* @class SP_Modules
|
8 |
-
* @version 2.6.
|
9 |
* @package SportsPress/Classes
|
10 |
* @category Class
|
11 |
* @author ThemeBoy
|
@@ -43,6 +43,13 @@ class SP_Modules {
|
|
43 |
'link' => 'https://www.themeboy.com/sportspress-extensions/scoreboard/',
|
44 |
'desc' => __( 'Display multiple event results in a horizontal scoreboard.', 'sportspress' ),
|
45 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
'user_scores' => array(
|
47 |
'label' => __( 'User Scores', 'sportspress' ),
|
48 |
'class' => 'SportsPress_User_Scores',
|
5 |
* The SportsPress modules class stores available modules.
|
6 |
*
|
7 |
* @class SP_Modules
|
8 |
+
* @version 2.6.15
|
9 |
* @package SportsPress/Classes
|
10 |
* @category Class
|
11 |
* @author ThemeBoy
|
43 |
'link' => 'https://www.themeboy.com/sportspress-extensions/scoreboard/',
|
44 |
'desc' => __( 'Display multiple event results in a horizontal scoreboard.', 'sportspress' ),
|
45 |
),
|
46 |
+
'google_maps' => array(
|
47 |
+
'label' => __( 'Google Maps', 'sportspress' ),
|
48 |
+
'class' => 'SportsPress_Google_Maps',
|
49 |
+
'icon' => 'sp-icon-location',
|
50 |
+
'link' => 'https://www.themeboy.com/sportspress-extensions/google-maps/',
|
51 |
+
'desc' => __( 'Use Google Maps instead of OpenStreetMap for venues.', 'sportspress' ),
|
52 |
+
),
|
53 |
'user_scores' => array(
|
54 |
'label' => __( 'User Scores', 'sportspress' ),
|
55 |
'class' => 'SportsPress_User_Scores',
|
includes/sp-api-functions.php
CHANGED
@@ -364,6 +364,25 @@ function sp_get_player_number( $post = 0 ) {
|
|
364 |
return get_post_meta( $post, 'sp_number', true );
|
365 |
}
|
366 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
function sp_get_player_name( $post = 0 ) {
|
368 |
return apply_filters( 'sportspress_player_name', get_the_title( $post ), $post );
|
369 |
}
|
364 |
return get_post_meta( $post, 'sp_number', true );
|
365 |
}
|
366 |
|
367 |
+
function sp_get_player_number_in_event( $player_id, $team_id, $event_id ) {
|
368 |
+
$event_players = get_post_meta( $event_id, 'sp_players', true );
|
369 |
+
if ( ! array_key_exists( $team_id, $event_players ) ) {
|
370 |
+
return;
|
371 |
+
}
|
372 |
+
if ( ! array_key_exists( $player_id, $event_players[ $team_id ] ) ) {
|
373 |
+
return;
|
374 |
+
}
|
375 |
+
return $event_players[ $team_id ][ $player_id ][ 'number' ];
|
376 |
+
}
|
377 |
+
|
378 |
+
function sp_get_player_number_in_event_or_profile( $player_id, $team_id, $event_id ) {
|
379 |
+
$number = sp_get_player_number_in_event( $player_id, $team_id, $event_id );
|
380 |
+
if ( is_null( $number ) ) {
|
381 |
+
$number = sp_get_player_number( $player_id );
|
382 |
+
}
|
383 |
+
return $number;
|
384 |
+
}
|
385 |
+
|
386 |
function sp_get_player_name( $post = 0 ) {
|
387 |
return apply_filters( 'sportspress_player_name', get_the_title( $post ), $post );
|
388 |
}
|
languages/sportspress.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: SportsPress\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: 2016-03-19 20:08+1100\n"
|
7 |
"Last-Translator: Brian Miyaji <brian@themeboy.com>\n"
|
8 |
"Language-Team: ThemeBoy <support@themeboy.com>\n"
|
@@ -10,7 +10,7 @@ msgstr ""
|
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 2.0.
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
@@ -29,10 +29,10 @@ msgstr ""
|
|
29 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:74
|
30 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:140
|
31 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:82
|
32 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
33 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
34 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
35 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
36 |
#: includes/admin/settings/class-sp-settings-players.php:147
|
37 |
msgid "Auto"
|
38 |
msgstr ""
|
@@ -40,8 +40,8 @@ msgstr ""
|
|
40 |
#: assets/js/admin/editor-lang.php:26
|
41 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:141
|
42 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:83
|
43 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
44 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
45 |
#: includes/admin/settings/class-sp-settings-players.php:148
|
46 |
msgid "Manual"
|
47 |
msgstr ""
|
@@ -51,22 +51,26 @@ msgid "Select..."
|
|
51 |
msgstr ""
|
52 |
|
53 |
#: assets/js/admin/editor-lang.php:28
|
|
|
54 |
#: includes/admin/class-sp-admin-sample-data.php:365
|
55 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
56 |
#: includes/admin/importers/class-sp-event-importer.php:150
|
57 |
#: includes/admin/importers/class-sp-event-importer.php:309
|
58 |
-
#: includes/admin/importers/class-sp-event-performance-importer.php:
|
|
|
59 |
#: includes/admin/importers/class-sp-fixture-importer.php:117
|
60 |
#: includes/admin/importers/class-sp-fixture-importer.php:204
|
61 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
62 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
63 |
-
#: includes/class-sp-ajax.php:
|
64 |
-
#: includes/class-sp-ajax.php:
|
65 |
-
#: includes/class-sp-ajax.php:
|
66 |
-
#: includes/sp-
|
67 |
-
#: includes/
|
|
|
|
|
68 |
#: includes/widgets/class-sp-widget-event-list.php:189
|
69 |
-
#: templates/event-list.php:
|
70 |
msgid "Event"
|
71 |
msgstr ""
|
72 |
|
@@ -77,13 +81,13 @@ msgstr ""
|
|
77 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:73
|
78 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:89
|
79 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:98
|
80 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
81 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
82 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
83 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
84 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
85 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:24
|
86 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
87 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:27
|
88 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
|
89 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
|
@@ -93,27 +97,27 @@ msgstr ""
|
|
93 |
#: includes/admin/settings/class-sp-settings-staff.php:61
|
94 |
#: includes/class-sp-templates.php:59 includes/class-sp-templates.php:139
|
95 |
#: includes/class-sp-templates.php:189 includes/class-sp-templates.php:257
|
96 |
-
#: includes/sp-core-functions.php:
|
97 |
#: modules/sportspress-calendars.php:332
|
98 |
#: modules/sportspress-league-tables.php:197
|
99 |
-
#: modules/sportspress-officials.php:320
|
100 |
#: modules/sportspress-player-lists.php:205 templates/event-details.php:61
|
101 |
msgid "Details"
|
102 |
msgstr ""
|
103 |
|
104 |
#: assets/js/admin/editor-lang.php:30
|
105 |
#: includes/admin/importers/class-sp-event-importer.php:30
|
106 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
107 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:47
|
108 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
109 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:23
|
110 |
#: includes/admin/settings/class-sp-settings-events.php:263
|
111 |
-
#: includes/api/class-sp-rest-api.php:
|
112 |
-
#: includes/sp-core-functions.php:
|
113 |
#: includes/widgets/class-sp-widget-event-list.php:202
|
114 |
-
#: templates/event-fixtures-results.php:80 templates/event-list.php:
|
115 |
-
#: templates/event-list.php:
|
116 |
-
#: templates/event-
|
|
|
117 |
msgid "Results"
|
118 |
msgstr ""
|
119 |
|
@@ -124,75 +128,155 @@ msgid "Countdown"
|
|
124 |
msgstr ""
|
125 |
|
126 |
#: assets/js/admin/editor-lang.php:32
|
127 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
128 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:25
|
129 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
130 |
-
#: includes/api/class-sp-rest-api.php:
|
131 |
-
#: includes/sp-core-functions.php:
|
132 |
-
#: templates/event-performance.php:
|
133 |
msgid "Box Score"
|
134 |
msgstr ""
|
135 |
|
136 |
#: assets/js/admin/editor-lang.php:33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
#: includes/admin/class-sp-admin-sample-data.php:472
|
138 |
-
#: includes/class-sp-ajax.php:
|
139 |
-
#: includes/class-sp-ajax.php:
|
140 |
#: includes/class-sp-templates.php:98
|
|
|
141 |
#: includes/widgets/class-sp-widget-event-blocks.php:99
|
142 |
#: includes/widgets/class-sp-widget-event-calendar.php:87
|
143 |
#: includes/widgets/class-sp-widget-event-list.php:104
|
144 |
#: modules/sportspress-bulk-actions.php:69 modules/sportspress-calendars.php:72
|
145 |
-
#: modules/sportspress-calendars.php:
|
146 |
msgid "Calendar"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: assets/js/admin/editor-lang.php:
|
150 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
151 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
152 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
153 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
154 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:57
|
155 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:31
|
156 |
#: includes/admin/settings/class-sp-settings-players.php:139
|
157 |
-
#: includes/api/class-sp-rest-api.php:
|
158 |
-
#: includes/class-sp-templates.php:213 includes/sp-core-functions.php:
|
159 |
msgid "Statistics"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: assets/js/admin/editor-lang.php:
|
163 |
#: includes/admin/class-sp-admin-sample-data.php:166
|
164 |
-
#: includes/admin/importers/class-sp-event-performance-importer.php:
|
165 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:52
|
166 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:51
|
167 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:70
|
168 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
169 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:243
|
170 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:42
|
171 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
172 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:81
|
173 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
174 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
175 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
176 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
177 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
178 |
-
#: includes/class-sp-ajax.php:
|
179 |
-
#: includes/class-sp-player-list.php:
|
180 |
-
#: includes/class-sp-player.php:
|
181 |
-
#: includes/class-sp-post-types.php:
|
182 |
-
#: includes/sp-core-functions.php:
|
183 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
184 |
#: modules/sportspress-user-registration.php:118
|
185 |
#: modules/sportspress-user-registration.php:124
|
186 |
#: modules/sportspress-wordpay.php:158 modules/sportspress-wordpay.php:164
|
187 |
-
#: templates/event-results.php:
|
188 |
msgid "Team"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: assets/js/admin/editor-lang.php:
|
192 |
#: includes/admin/class-sp-admin-sample-data.php:506
|
193 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:55
|
194 |
-
#: includes/class-sp-ajax.php:
|
195 |
-
#: includes/class-sp-templates.php:166 includes/sp-core-functions.php:
|
196 |
#: includes/widgets/class-sp-widget-league-table.php:6
|
197 |
#: includes/widgets/class-sp-widget-league-table.php:79
|
198 |
#: includes/widgets/class-sp-widget-team-gallery.php:81
|
@@ -203,31 +287,32 @@ msgstr ""
|
|
203 |
msgid "League Table"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: assets/js/admin/editor-lang.php:
|
207 |
#: includes/admin/class-sp-admin-sample-data.php:210
|
208 |
#: includes/admin/importers/class-sp-event-performance-importer.php:26
|
209 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:312
|
210 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
211 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
212 |
-
#: includes/class-sp-ajax.php:
|
213 |
-
#: includes/class-sp-install.php:138 includes/class-sp-player-list.php:
|
214 |
-
#: includes/class-sp-post-types.php:
|
215 |
-
#: includes/sp-core-functions.php:
|
|
|
216 |
msgid "Player"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: assets/js/admin/editor-lang.php:
|
220 |
-
#: includes/class-sp-formats.php:40 modules/sportspress-calendars.php:
|
221 |
-
#: modules/sportspress-calendars.php:
|
222 |
msgid "List"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: assets/js/admin/editor-lang.php:
|
226 |
-
#: modules/sportspress-calendars.php:
|
227 |
msgid "Blocks"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: assets/js/admin/editor-lang.php:
|
231 |
#: includes/class-sp-formats.php:41
|
232 |
msgid "Gallery"
|
233 |
msgstr ""
|
@@ -236,66 +321,69 @@ msgstr ""
|
|
236 |
msgid "ERROR: This is not a valid feed template."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: includes/admin/class-sp-admin-assets.php:
|
240 |
-
#: includes/admin/class-sp-admin-settings.php:
|
241 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
242 |
#: includes/admin/importers/class-sp-event-importer.php:491
|
243 |
#: includes/admin/importers/class-sp-event-importer.php:506
|
244 |
#: includes/admin/importers/class-sp-fixture-importer.php:299
|
245 |
#: includes/admin/importers/class-sp-fixture-importer.php:314
|
246 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
247 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:43
|
248 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:558
|
249 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:133
|
250 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:104
|
251 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
252 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
253 |
#: includes/admin/views/html-admin-page-status.php:224
|
254 |
#: modules/sportspress-league-tables.php:301
|
255 |
-
#: modules/sportspress-officials.php:
|
256 |
#: modules/sportspress-widget-alignment.php:69
|
257 |
msgid "None"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: includes/admin/class-sp-admin-assets.php:
|
261 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
262 |
msgid "— Remove —"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/admin/class-sp-admin-assets.php:
|
266 |
#: includes/admin/class-sp-admin-dashboard.php:80
|
267 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
268 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
269 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:64
|
270 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:59
|
271 |
-
#: includes/class-sp-
|
|
|
|
|
|
|
272 |
#: includes/widgets/class-sp-widget-event-blocks.php:155
|
273 |
#: includes/widgets/class-sp-widget-event-calendar.php:143
|
274 |
#: includes/widgets/class-sp-widget-event-list.php:160
|
275 |
-
#: templates/countdown.php:
|
276 |
msgid "days"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: includes/admin/class-sp-admin-assets.php:
|
280 |
-
#: includes/class-sp-frontend-scripts.php:
|
281 |
msgid "hrs"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: includes/admin/class-sp-admin-assets.php:
|
285 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:37
|
286 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:483
|
287 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:503
|
288 |
#: includes/admin/settings/class-sp-settings-events.php:148
|
289 |
-
#: includes/class-sp-frontend-scripts.php:
|
290 |
msgid "mins"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: includes/admin/class-sp-admin-assets.php:
|
294 |
-
#: includes/class-sp-frontend-scripts.php:
|
295 |
msgid "secs"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: includes/admin/class-sp-admin-assets.php:
|
299 |
#: includes/admin/importers/class-sp-importer.php:178
|
300 |
#, php-format
|
301 |
msgid "Displaying %s–%s of %s"
|
@@ -304,8 +392,8 @@ msgstr ""
|
|
304 |
#: includes/admin/class-sp-admin-dashboard.php:34
|
305 |
#: includes/admin/class-sp-admin-menus.php:47
|
306 |
#: includes/admin/class-sp-admin-permalink-settings.php:47
|
307 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
308 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
309 |
#: includes/admin/class-sp-admin-welcome.php:107
|
310 |
#: includes/admin/views/html-admin-settings.php:2
|
311 |
#: modules/sportspress-admin-bar.php:56 modules/sportspress-overview.php:78
|
@@ -341,62 +429,90 @@ msgid_plural "<strong>%s events</strong> published"
|
|
341 |
msgstr[0] ""
|
342 |
msgstr[1] ""
|
343 |
|
344 |
-
#: includes/admin/class-sp-admin-importers.php:
|
345 |
msgid "SportsPress Events (CSV)"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: includes/admin/class-sp-admin-importers.php:
|
349 |
msgid "Import <strong>events</strong> from a csv file."
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: includes/admin/class-sp-admin-importers.php:
|
353 |
msgid "SportsPress Fixtures (CSV)"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: includes/admin/class-sp-admin-importers.php:
|
357 |
msgid "Import <strong>upcoming events</strong> from a csv file."
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/admin/class-sp-admin-importers.php:43
|
361 |
-
msgid "SportsPress Box Score (CSV)"
|
362 |
-
msgstr ""
|
363 |
-
|
364 |
#: includes/admin/class-sp-admin-importers.php:44
|
365 |
-
msgid "Import <strong>event box scores</strong> from a csv file."
|
366 |
-
msgstr ""
|
367 |
-
|
368 |
-
#: includes/admin/class-sp-admin-importers.php:48
|
369 |
msgid "SportsPress Teams (CSV)"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: includes/admin/class-sp-admin-importers.php:
|
373 |
msgid "Import <strong>teams</strong> from a csv file."
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: includes/admin/class-sp-admin-importers.php:
|
377 |
msgid "SportsPress Players (CSV)"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: includes/admin/class-sp-admin-importers.php:
|
381 |
msgid "Import <strong>players</strong> from a csv file."
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: includes/admin/class-sp-admin-importers.php:
|
385 |
msgid "SportsPress Staff (CSV)"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: includes/admin/class-sp-admin-importers.php:
|
389 |
msgid "Import <strong>staff</strong> from a csv file."
|
390 |
msgstr ""
|
391 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
#: includes/admin/class-sp-admin-menus.php:54
|
393 |
-
#: includes/admin/class-sp-admin-settings.php:
|
394 |
#: includes/admin/views/html-admin-config.php:7
|
395 |
msgid "Configure"
|
396 |
msgstr ""
|
397 |
|
398 |
#: includes/admin/class-sp-admin-menus.php:61
|
399 |
-
#: includes/admin/class-sp-admin-menus.php:
|
400 |
#: includes/admin/class-sp-admin-permalink-settings.php:29
|
401 |
#: includes/admin/importers/class-sp-player-importer.php:30
|
402 |
#: includes/admin/importers/class-sp-staff-importer.php:29
|
@@ -404,23 +520,23 @@ msgstr ""
|
|
404 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:77
|
405 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:67
|
406 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:67
|
407 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:
|
408 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:
|
409 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:117
|
410 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:124
|
411 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
412 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
413 |
#: includes/admin/settings/class-sp-settings-players.php:110
|
414 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
415 |
#: includes/admin/views/html-admin-page-status.php:296
|
416 |
#: includes/class-sp-post-types.php:39 includes/class-sp-post-types.php:53
|
417 |
-
#: modules/sportspress-tutorials.php:74 templates/official-details.php:
|
418 |
-
#: templates/player-details.php:
|
419 |
msgid "Leagues"
|
420 |
msgstr ""
|
421 |
|
422 |
#: includes/admin/class-sp-admin-menus.php:68
|
423 |
-
#: includes/admin/class-sp-admin-menus.php:
|
424 |
#: includes/admin/class-sp-admin-permalink-settings.php:30
|
425 |
#: includes/admin/importers/class-sp-player-importer.php:31
|
426 |
#: includes/admin/importers/class-sp-staff-importer.php:30
|
@@ -428,18 +544,18 @@ msgstr ""
|
|
428 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:78
|
429 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:68
|
430 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:68
|
431 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:
|
432 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:
|
433 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:132
|
434 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:139
|
435 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
436 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
437 |
#: includes/admin/settings/class-sp-settings-players.php:118
|
438 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
439 |
#: includes/admin/views/html-admin-page-status.php:306
|
440 |
#: includes/class-sp-post-types.php:75 includes/class-sp-post-types.php:89
|
441 |
-
#: modules/sportspress-tutorials.php:74 templates/official-details.php:
|
442 |
-
#: templates/player-details.php:
|
443 |
msgid "Seasons"
|
444 |
msgstr ""
|
445 |
|
@@ -449,13 +565,15 @@ msgstr ""
|
|
449 |
msgid "Settings"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: includes/admin/class-sp-admin-menus.php:
|
453 |
#: includes/admin/importers/class-sp-event-importer.php:492
|
454 |
#: includes/admin/importers/class-sp-event-importer.php:507
|
455 |
#: includes/admin/importers/class-sp-fixture-importer.php:300
|
456 |
#: includes/admin/importers/class-sp-fixture-importer.php:315
|
457 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
458 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:64
|
|
|
|
|
459 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:136
|
460 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:92
|
461 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:147
|
@@ -467,13 +585,14 @@ msgstr ""
|
|
467 |
#: includes/admin/views/html-admin-config.php:238
|
468 |
#: includes/admin/views/html-admin-config.php:291
|
469 |
#: includes/admin/views/html-admin-config.php:341
|
470 |
-
#: includes/admin/views/html-admin-config.php:
|
471 |
#: includes/class-sp-post-types.php:45 includes/class-sp-post-types.php:81
|
472 |
#: includes/class-sp-post-types.php:117 includes/class-sp-post-types.php:153
|
473 |
-
#: includes/class-sp-post-types.php:189 includes/sp-core-functions.php:
|
474 |
-
#: includes/sp-core-functions.php:
|
475 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
476 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
|
|
477 |
#: includes/widgets/class-sp-widget-event-blocks.php:111
|
478 |
#: includes/widgets/class-sp-widget-event-calendar.php:99
|
479 |
#: includes/widgets/class-sp-widget-event-list.php:116
|
@@ -484,28 +603,28 @@ msgstr ""
|
|
484 |
#: includes/widgets/class-sp-widget-player-list.php:151
|
485 |
#: includes/widgets/class-sp-widget-staff.php:68
|
486 |
#: includes/widgets/class-sp-widget-team-gallery.php:92
|
487 |
-
#: modules/sportspress-officials.php:
|
488 |
msgid "Add New"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: includes/admin/class-sp-admin-menus.php:
|
492 |
#: includes/admin/class-sp-admin-permalink-settings.php:33
|
493 |
#: includes/admin/importers/class-sp-player-importer.php:28
|
494 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:75
|
495 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:
|
496 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:
|
497 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
498 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
499 |
#: includes/admin/views/html-admin-page-status.php:326
|
500 |
#: includes/class-sp-post-types.php:147 includes/class-sp-post-types.php:161
|
501 |
#: modules/sportspress-tutorials.php:76
|
502 |
msgid "Positions"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: includes/admin/class-sp-admin-menus.php:
|
506 |
#: includes/admin/class-sp-admin-permalink-settings.php:26
|
507 |
#: includes/admin/settings/class-sp-settings-events.php:171
|
508 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
509 |
#: includes/admin/views/html-admin-page-status.php:316
|
510 |
#: includes/class-sp-post-types.php:111 includes/class-sp-post-types.php:125
|
511 |
#: modules/sportspress-tutorials.php:75
|
@@ -517,11 +636,11 @@ msgstr ""
|
|
517 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:53
|
518 |
#: includes/admin/settings/class-sp-settings-events.php:25
|
519 |
#: includes/admin/settings/class-sp-settings-modules.php:34
|
520 |
-
#: includes/api/class-sp-rest-api.php:
|
521 |
-
#: includes/sp-core-functions.php:
|
522 |
-
#: modules/sportspress-calendars.php:212 modules/sportspress-calendars.php:
|
523 |
-
#: modules/sportspress-calendars.php:
|
524 |
-
#: modules/sportspress-calendars.php:
|
525 |
#: modules/sportspress-tutorials.php:101
|
526 |
msgid "Events"
|
527 |
msgstr ""
|
@@ -534,47 +653,9 @@ msgstr ""
|
|
534 |
msgid "Calendars"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: includes/admin/class-sp-admin-permalink-settings.php:28
|
538 |
-
#: includes/admin/class-sp-admin-sample-data.php:166
|
539 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:70
|
540 |
-
#: includes/admin/importers/class-sp-event-importer.php:29
|
541 |
-
#: includes/admin/importers/class-sp-player-importer.php:29
|
542 |
-
#: includes/admin/importers/class-sp-staff-importer.php:28
|
543 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:123
|
544 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:74
|
545 |
-
#: includes/admin/post-types/class-sp-admin-cpt-player.php:76
|
546 |
-
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:66
|
547 |
-
#: includes/admin/post-types/class-sp-admin-cpt-table.php:51
|
548 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:148
|
549 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:35
|
550 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:59
|
551 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:86
|
552 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:101
|
553 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:110
|
554 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:125
|
555 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:94
|
556 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:109
|
557 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:58
|
558 |
-
#: includes/admin/settings/class-sp-settings-events.php:127
|
559 |
-
#: includes/admin/settings/class-sp-settings-events.php:222
|
560 |
-
#: includes/admin/settings/class-sp-settings-modules.php:35
|
561 |
-
#: includes/admin/settings/class-sp-settings-teams.php:25
|
562 |
-
#: includes/api/class-sp-rest-api.php:68 includes/api/class-sp-rest-api.php:352
|
563 |
-
#: includes/api/class-sp-rest-api.php:448 includes/class-sp-ajax.php:428
|
564 |
-
#: includes/class-sp-post-types.php:451 includes/class-sp-templates.php:29
|
565 |
-
#: includes/sp-core-functions.php:547 includes/sp-core-functions.php:1481
|
566 |
-
#: modules/sportspress-calendars.php:255 modules/sportspress-calendars.php:269
|
567 |
-
#: modules/sportspress-calendars.php:324 modules/sportspress-countdowns.php:85
|
568 |
-
#: modules/sportspress-league-tables.php:246
|
569 |
-
#: modules/sportspress-officials.php:361 modules/sportspress-tutorials.php:78
|
570 |
-
#: modules/sportspress-tutorials.php:108 modules/sportspress-wordpay.php:199
|
571 |
-
#: templates/event-list.php:129
|
572 |
-
msgid "Teams"
|
573 |
-
msgstr ""
|
574 |
-
|
575 |
#: includes/admin/class-sp-admin-permalink-settings.php:31
|
576 |
#: includes/admin/class-sp-admin-sample-data.php:506
|
577 |
-
#: includes/api/class-sp-rest-api.php:
|
578 |
#: modules/sportspress-league-tables.php:68
|
579 |
#: modules/sportspress-league-tables.php:169
|
580 |
#: modules/sportspress-league-tables.php:233
|
@@ -586,19 +667,20 @@ msgstr ""
|
|
586 |
#: includes/admin/class-sp-admin-permalink-settings.php:32
|
587 |
#: includes/admin/class-sp-admin-sample-data.php:210
|
588 |
#: includes/admin/class-sp-admin-setup-wizard.php:75
|
589 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
590 |
#: includes/admin/importers/class-sp-event-importer.php:32
|
591 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:52
|
592 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:89
|
593 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:137
|
594 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:58
|
595 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
|
|
596 |
#: includes/admin/settings/class-sp-settings-modules.php:36
|
597 |
#: includes/admin/settings/class-sp-settings-players.php:25
|
598 |
-
#: includes/api/class-sp-rest-api.php:
|
599 |
-
#: includes/class-sp-templates.php:177 includes/sp-core-functions.php:
|
600 |
-
#: includes/sp-core-functions.php:
|
601 |
-
#: modules/sportspress-player-lists.php:
|
602 |
#: modules/sportspress-tutorials.php:82 modules/sportspress-tutorials.php:113
|
603 |
#: modules/sportspress-wordpay.php:200
|
604 |
msgid "Players"
|
@@ -607,29 +689,30 @@ msgstr ""
|
|
607 |
#: includes/admin/class-sp-admin-permalink-settings.php:34
|
608 |
#: includes/admin/class-sp-admin-sample-data.php:548
|
609 |
#: includes/admin/class-sp-admin-sample-data.php:593
|
610 |
-
#: includes/api/class-sp-rest-api.php:
|
611 |
#: modules/sportspress-player-lists.php:68
|
612 |
#: modules/sportspress-player-lists.php:177
|
613 |
#: modules/sportspress-player-lists.php:241
|
614 |
-
#: modules/sportspress-player-lists.php:
|
615 |
msgid "Player Lists"
|
616 |
msgstr ""
|
617 |
|
618 |
#: includes/admin/class-sp-admin-permalink-settings.php:35
|
619 |
#: includes/admin/class-sp-admin-sample-data.php:305
|
620 |
#: includes/admin/class-sp-admin-setup-wizard.php:75
|
621 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
622 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
623 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:94
|
624 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:55
|
625 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
626 |
#: includes/admin/settings/class-sp-settings-modules.php:36
|
627 |
#: includes/admin/settings/class-sp-settings-staff.php:25
|
628 |
-
#: includes/
|
629 |
-
#: includes/api/class-sp-rest-api.php:
|
630 |
-
#: includes/class-sp-
|
|
|
631 |
#: includes/class-sp-templates.php:145 includes/class-sp-templates.php:245
|
632 |
-
#: includes/sp-core-functions.php:
|
633 |
#: includes/widgets/class-sp-widget-staff.php:6
|
634 |
#: includes/widgets/class-sp-widget-staff.php:57
|
635 |
#: modules/sportspress-tutorials.php:82 templates/event-staff.php:44
|
@@ -643,7 +726,7 @@ msgid ""
|
|
643 |
msgstr ""
|
644 |
|
645 |
#: includes/admin/class-sp-admin-post-types.php:75
|
646 |
-
#: includes/sp-template-hooks.php:
|
647 |
msgid "Settings saved."
|
648 |
msgstr ""
|
649 |
|
@@ -653,50 +736,51 @@ msgstr ""
|
|
653 |
#: includes/admin/views/html-admin-config.php:237
|
654 |
#: includes/admin/views/html-admin-config.php:290
|
655 |
#: includes/admin/views/html-admin-config.php:340
|
656 |
-
#: includes/admin/views/html-admin-config.php:
|
657 |
-
#: includes/sp-template-hooks.php:
|
|
|
658 |
msgid "View All"
|
659 |
msgstr ""
|
660 |
|
661 |
#: includes/admin/class-sp-admin-post-types.php:82
|
662 |
#: includes/admin/class-sp-admin-post-types.php:85
|
663 |
#: includes/admin/class-sp-admin-post-types.php:90
|
664 |
-
#: includes/sp-template-hooks.php:
|
665 |
-
#: includes/sp-template-hooks.php:
|
666 |
msgid "Changes saved."
|
667 |
msgstr ""
|
668 |
|
669 |
#: includes/admin/class-sp-admin-post-types.php:87
|
670 |
#: includes/admin/class-sp-admin-post-types.php:92
|
671 |
#: includes/admin/class-sp-admin-post-types.php:102
|
672 |
-
#: includes/sp-template-hooks.php:
|
673 |
-
#: includes/sp-template-hooks.php:
|
674 |
msgid "Success!"
|
675 |
msgstr ""
|
676 |
|
677 |
#: includes/admin/class-sp-admin-post-types.php:94
|
678 |
#: includes/admin/class-sp-admin-post-types.php:100
|
679 |
#: includes/admin/class-sp-admin-post-types.php:104
|
680 |
-
#: includes/sp-template-hooks.php:
|
681 |
-
#: includes/sp-template-hooks.php:
|
682 |
#, php-format
|
683 |
msgid "Preview %s"
|
684 |
msgstr ""
|
685 |
|
686 |
#: includes/admin/class-sp-admin-post-types.php:97
|
687 |
-
#: includes/sp-template-hooks.php:
|
688 |
#, php-format
|
689 |
msgid "Scheduled for: <b>%1$s</b>."
|
690 |
msgstr ""
|
691 |
|
692 |
#: includes/admin/class-sp-admin-post-types.php:98
|
693 |
-
#: includes/sp-template-hooks.php:
|
694 |
msgid "M j, Y @ G:i"
|
695 |
msgstr ""
|
696 |
|
697 |
#: includes/admin/class-sp-admin-sample-data.php:44
|
698 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
699 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
700 |
msgctxt "example"
|
701 |
msgid "Primary League"
|
702 |
msgstr ""
|
@@ -707,7 +791,7 @@ msgid "Secondary League"
|
|
707 |
msgstr ""
|
708 |
|
709 |
#: includes/admin/class-sp-admin-sample-data.php:110
|
710 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
711 |
#, php-format
|
712 |
msgctxt "example"
|
713 |
msgid ""
|
@@ -729,7 +813,7 @@ msgstr ""
|
|
729 |
#: includes/admin/class-sp-admin-sample-data.php:548
|
730 |
#: includes/admin/class-sp-admin-sample-data.php:593
|
731 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:55
|
732 |
-
#: includes/class-sp-ajax.php:
|
733 |
#: includes/class-sp-templates.php:234
|
734 |
#: includes/widgets/class-sp-widget-player-gallery.php:84
|
735 |
#: includes/widgets/class-sp-widget-player-list.php:6
|
@@ -745,16 +829,16 @@ msgctxt "example"
|
|
745 |
msgid "Player Ranking"
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: includes/admin/class-sp-admin-settings.php:
|
749 |
msgid "Action failed. Please refresh the page and retry."
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: includes/admin/class-sp-admin-settings.php:
|
753 |
-
#: includes/admin/class-sp-admin-welcome.php:
|
754 |
msgid "Your settings have been saved."
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: includes/admin/class-sp-admin-settings.php:
|
758 |
msgid "Install demo content"
|
759 |
msgstr ""
|
760 |
|
@@ -763,32 +847,12 @@ msgid "Introduction"
|
|
763 |
msgstr ""
|
764 |
|
765 |
#: includes/admin/class-sp-admin-setup-wizard.php:65
|
766 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
767 |
msgid "Basic Setup"
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:80
|
771 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:522
|
772 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:560
|
773 |
-
#: includes/admin/importers/class-sp-event-importer.php:28
|
774 |
-
#: includes/admin/importers/class-sp-fixture-importer.php:28
|
775 |
-
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:51
|
776 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:126
|
777 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:52
|
778 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:104
|
779 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
|
780 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:47
|
781 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:101
|
782 |
-
#: includes/admin/settings/class-sp-settings-teams.php:62
|
783 |
-
#: includes/class-sp-ajax.php:432 includes/class-sp-post-types.php:112
|
784 |
-
#: includes/class-sp-templates.php:65 includes/sp-core-functions.php:1485
|
785 |
-
#: includes/widgets/class-sp-widget-event-list.php:206
|
786 |
-
#: templates/event-list.php:162 templates/event-venue.php:37
|
787 |
-
msgid "Venue"
|
788 |
-
msgstr ""
|
789 |
-
|
790 |
#: includes/admin/class-sp-admin-setup-wizard.php:85
|
791 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
792 |
msgid "Pages"
|
793 |
msgstr ""
|
794 |
|
@@ -796,135 +860,139 @@ msgstr ""
|
|
796 |
msgid "Ready!"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
800 |
msgid "Return to the WordPress Dashboard"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
804 |
#: includes/admin/class-sp-admin-welcome.php:50
|
805 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
806 |
#: includes/admin/views/html-notice-install.php:5
|
807 |
msgid "Welcome to SportsPress"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
811 |
msgid ""
|
812 |
"Thank you for choosing SportsPress to power your sports website! This quick "
|
813 |
"setup wizard will help you configure the basic settings. <strong>It’s "
|
814 |
"completely optional and shouldn’t take longer than five minutes.</strong>"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
818 |
msgid ""
|
819 |
"No time right now? If you don’t want to go through the wizard, you can skip "
|
820 |
"and return to the WordPress dashboard. Come back anytime if you change your "
|
821 |
"mind!"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
825 |
msgid "Let's Go!"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
829 |
msgid "Not right now"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
833 |
msgid "Select your timezone and sport to get started."
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
837 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
838 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
839 |
msgid "Timezone"
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
843 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
844 |
msgid "Choose a city in the same timezone as you."
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
848 |
msgctxt "Page title"
|
849 |
msgid "Sport"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
|
|
|
|
853 |
msgid "Main League"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
857 |
msgid "The name of a league or division."
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
|
|
|
|
861 |
msgid "Current Season"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
865 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
866 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
867 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
868 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
869 |
msgid "Continue"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
873 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
874 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
875 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
876 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
877 |
msgid "Skip this step"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
881 |
msgid "Team Setup"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
885 |
msgid "Great! Now let's add some teams."
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
889 |
msgid "Home Team"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
893 |
msgid "What is your team called?"
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
897 |
msgid "Rival Team"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
901 |
msgid "Who are you playing against next?"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
905 |
msgid "You can add more teams later."
|
906 |
msgstr ""
|
907 |
|
908 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
909 |
msgid "Player & Staff Setup"
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
913 |
msgid "Let's add players and a staff member."
|
914 |
msgstr ""
|
915 |
|
916 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
917 |
msgid "Enter a squad number, name, and position for each player."
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
921 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
922 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
|
|
923 |
#: includes/admin/importers/class-sp-player-importer.php:27
|
924 |
#: includes/admin/importers/class-sp-staff-importer.php:26
|
925 |
#: includes/admin/importers/class-sp-team-importer.php:26
|
926 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:
|
927 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:76
|
928 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:61
|
929 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:80
|
930 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:52
|
@@ -933,308 +1001,312 @@ msgstr ""
|
|
933 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:114
|
934 |
#: includes/admin/settings/class-sp-settings-events.php:247
|
935 |
#: includes/admin/settings/class-sp-settings-players.php:70
|
936 |
-
#: includes/class-sp-ajax.php:
|
937 |
#: includes/class-sp-post-types.php:46 includes/class-sp-post-types.php:82
|
938 |
#: includes/class-sp-post-types.php:118 includes/class-sp-post-types.php:154
|
939 |
#: includes/class-sp-post-types.php:190
|
940 |
#: includes/widgets/class-sp-widget-player-gallery.php:112
|
941 |
#: includes/widgets/class-sp-widget-player-list.php:140
|
942 |
-
#: modules/sportspress-officials.php:
|
943 |
-
#:
|
|
|
944 |
msgid "Name"
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
948 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
949 |
#: includes/admin/class-sp-admin-sports.php:108
|
950 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:315
|
951 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:48
|
952 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
953 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:105
|
954 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
955 |
#: includes/admin/settings/class-sp-settings-players.php:86
|
956 |
-
#: includes/class-sp-ajax.php:
|
957 |
-
#: includes/class-sp-player-list.php:
|
958 |
-
#: includes/class-sp-post-types.php:148 includes/sp-core-functions.php:
|
959 |
-
#: templates/event-performance.php:
|
960 |
-
#: templates/official-details.php:
|
961 |
msgid "Position"
|
962 |
msgstr ""
|
963 |
|
964 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
965 |
msgid "You can add more players later."
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
969 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:65
|
970 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:58
|
971 |
#: includes/class-sp-post-types.php:184
|
972 |
msgid "Job"
|
973 |
msgstr ""
|
974 |
|
975 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
976 |
msgid "Venue Setup"
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
980 |
msgid "Enter the details of your home venue."
|
981 |
msgstr ""
|
982 |
|
983 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
984 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
985 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
986 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
987 |
msgid "Address"
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
991 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
992 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
993 |
msgid "Drag the marker to the venue's location."
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
997 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
998 |
#: includes/class-sp-modules.php:30
|
999 |
msgid "Organize and publish calendars using different layouts."
|
1000 |
msgstr ""
|
1001 |
|
1002 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1003 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1004 |
-
#: includes/class-sp-modules.php:
|
1005 |
msgid "Create automated league tables to keep track of team standings."
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1009 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1010 |
-
#: includes/class-sp-modules.php:
|
1011 |
msgid "Create team rosters, player galleries, and ranking charts."
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1015 |
msgid ""
|
1016 |
"The following will be created automatically (if they do not already exist):"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1020 |
msgid "Once created, these pages can be managed from your admin dashboard."
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1024 |
msgid "Next Steps"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1028 |
msgid "Schedule your first event!"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1032 |
-
#: includes/admin/
|
1033 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
|
|
1034 |
msgid "Upgrade to Pro"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
|
|
1038 |
#: includes/admin/settings/class-sp-settings-modules.php:67
|
1039 |
msgid ""
|
1040 |
"Get SportsPress Pro to get access to all modules. You can upgrade any time "
|
1041 |
"without losing any of your data."
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1045 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
1046 |
msgid "Learn more"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: includes/admin/class-sp-admin-setup-wizard.php:
|
1050 |
#: includes/admin/class-sp-admin-welcome.php:118
|
1051 |
msgid "Thanks for installing!"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1055 |
msgid "Team Sports"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1059 |
msgid "Racket Sports"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1063 |
msgid "Water Sports"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1067 |
msgid "Target Sports"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1071 |
msgid "Esports"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1075 |
#: includes/admin/settings/class-sp-settings-modules.php:38
|
1076 |
#: modules/sportspress-tutorials.php:117
|
1077 |
msgid "Other"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1081 |
msgid "Baseball"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1085 |
msgid "Basketball"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1089 |
msgid "Cricket"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1093 |
msgid "Darts"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1097 |
msgid "Floorball"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1101 |
msgid "Association Football"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1105 |
msgid "American Football"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1109 |
msgid "Australian Rules Football"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1113 |
msgid "Handball"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1117 |
msgid "Ice Hockey"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1121 |
msgid "Lacrosse"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1125 |
msgid "Netball"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1129 |
msgid "Rugby League"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1133 |
msgid "Rugby Union"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1137 |
msgid "Snooker"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1141 |
msgid "Softball"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1145 |
msgid "Squash"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1149 |
msgid "Table Tennis"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1153 |
msgid "Tennis"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1157 |
msgid "Volleyball"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1161 |
msgid "Water Polo"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1165 |
msgid "Dota 2"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1169 |
msgid "League of Legends"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: includes/admin/class-sp-admin-sports.php:
|
1173 |
msgid "Counter-Strike: Global Offensive"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1177 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1178 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1179 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1180 |
#: includes/admin/settings/class-sp-settings-events.php:227
|
1181 |
-
#:
|
|
|
1182 |
msgid "Order"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1186 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1187 |
msgid "Latitude"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1191 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1192 |
msgid "Longitude"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1196 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1197 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1198 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:227
|
1199 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:229
|
1200 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:71
|
1201 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:84
|
1202 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
|
1203 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
1204 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
1205 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
|
1206 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
1207 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
1208 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
1209 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
1210 |
-
#: includes/api/class-sp-rest-api.php:
|
1211 |
-
#: includes/sp-core-functions.php:
|
1212 |
-
#: modules/sportspress-officials.php:
|
1213 |
-
#: templates/event-performance.php:
|
1214 |
-
#: templates/player-statistics.php:
|
1215 |
msgid "Offense"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1219 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1220 |
-
#: includes/admin/class-sp-admin-taxonomies.php:
|
1221 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:227
|
1222 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:229
|
1223 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:75
|
1224 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:80
|
1225 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
|
1226 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
1227 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
1228 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
|
1229 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
1230 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
1231 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
1232 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
1233 |
-
#: includes/api/class-sp-rest-api.php:
|
1234 |
-
#: includes/sp-core-functions.php:
|
1235 |
-
#: modules/sportspress-officials.php:
|
1236 |
-
#: templates/event-performance.php:
|
1237 |
-
#: templates/player-statistics.php:
|
1238 |
msgid "Defense"
|
1239 |
msgstr ""
|
1240 |
|
@@ -1272,15 +1344,11 @@ msgstr ""
|
|
1272 |
msgid "Credits"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: includes/admin/class-sp-admin-welcome.php:
|
1276 |
-
msgid "Translators"
|
1277 |
-
msgstr ""
|
1278 |
-
|
1279 |
-
#: includes/admin/class-sp-admin-welcome.php:267
|
1280 |
msgid "Go to SportsPress Settings"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
-
#: includes/admin/class-sp-admin-welcome.php:
|
1284 |
#, php-format
|
1285 |
msgid ""
|
1286 |
"SportsPress is developed and maintained by a worldwide team of passionate "
|
@@ -1288,7 +1356,7 @@ msgid ""
|
|
1288 |
"name? <a href=\"%s\">Contribute to SportsPress</a>."
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: includes/admin/class-sp-admin-welcome.php:
|
1292 |
#, php-format
|
1293 |
msgid ""
|
1294 |
"SportsPress has been kindly translated into several other languages thanks "
|
@@ -1296,7 +1364,7 @@ msgid ""
|
|
1296 |
"SportsPress</a>."
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: includes/admin/class-sp-admin-welcome.php:
|
1300 |
#, php-format
|
1301 |
msgid "View %s"
|
1302 |
msgstr ""
|
@@ -1311,12 +1379,7 @@ msgstr ""
|
|
1311 |
msgid "Import Events"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#: includes/admin/class-sp-admin.php:
|
1315 |
-
#: includes/admin/importers/class-sp-event-performance-importer.php:24
|
1316 |
-
msgid "Import Box Score"
|
1317 |
-
msgstr ""
|
1318 |
-
|
1319 |
-
#: includes/admin/class-sp-admin.php:136
|
1320 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:152
|
1321 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:237
|
1322 |
msgid "Import"
|
@@ -1324,41 +1387,44 @@ msgstr ""
|
|
1324 |
|
1325 |
#: includes/admin/importers/class-sp-event-importer.php:26
|
1326 |
#: includes/admin/importers/class-sp-fixture-importer.php:26
|
1327 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1328 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1329 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
1330 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
1331 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:43
|
1332 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:38
|
1333 |
#: includes/admin/settings/class-sp-settings-events.php:66
|
1334 |
-
#: includes/class-sp-ajax.php:
|
1335 |
-
#: templates/event-details.php:22 templates/event-list.php:
|
|
|
1336 |
msgid "Date"
|
1337 |
msgstr ""
|
1338 |
|
1339 |
#: includes/admin/importers/class-sp-event-importer.php:27
|
1340 |
#: includes/admin/importers/class-sp-fixture-importer.php:27
|
1341 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1342 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:41
|
1343 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1344 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
1345 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:62
|
1346 |
#: includes/admin/settings/class-sp-settings-events.php:74
|
1347 |
#: includes/admin/settings/class-sp-settings-events.php:255
|
1348 |
-
#: includes/class-sp-ajax.php:
|
1349 |
-
#: includes/sp-core-functions.php:
|
1350 |
#: includes/widgets/class-sp-widget-event-list.php:198
|
1351 |
-
#: templates/event-details.php:27 templates/event-list.php:
|
1352 |
-
#: templates/event-list.php:
|
|
|
|
|
1353 |
msgid "Time"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
#: includes/admin/importers/class-sp-event-importer.php:31
|
1357 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:258
|
1358 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
1359 |
-
#: includes/api/class-sp-rest-api.php:98 includes/class-sp-event.php:
|
1360 |
-
#: includes/class-sp-event.php:
|
1361 |
-
#: includes/sp-core-functions.php:
|
1362 |
msgid "Outcome"
|
1363 |
msgstr ""
|
1364 |
|
@@ -1373,9 +1439,10 @@ msgstr ""
|
|
1373 |
#: includes/admin/importers/class-sp-event-importer.php:440
|
1374 |
#: includes/admin/importers/class-sp-event-performance-importer.php:135
|
1375 |
#: includes/admin/importers/class-sp-fixture-importer.php:248
|
1376 |
-
#: includes/admin/importers/class-sp-
|
1377 |
-
#: includes/admin/importers/class-sp-
|
1378 |
-
#: includes/admin/importers/class-sp-
|
|
|
1379 |
msgid "All done!"
|
1380 |
msgstr ""
|
1381 |
|
@@ -1384,11 +1451,12 @@ msgid "View Events"
|
|
1384 |
msgstr ""
|
1385 |
|
1386 |
#: includes/admin/importers/class-sp-event-importer.php:453
|
1387 |
-
#: includes/admin/importers/class-sp-event-performance-importer.php:
|
1388 |
#: includes/admin/importers/class-sp-fixture-importer.php:261
|
1389 |
-
#: includes/admin/importers/class-sp-
|
1390 |
-
#: includes/admin/importers/class-sp-
|
1391 |
-
#: includes/admin/importers/class-sp-
|
|
|
1392 |
msgid ""
|
1393 |
"Hi there! Choose a .csv file to upload, then click \"Upload file and import"
|
1394 |
"\"."
|
@@ -1409,7 +1477,7 @@ msgstr ""
|
|
1409 |
|
1410 |
#: includes/admin/importers/class-sp-event-importer.php:471
|
1411 |
#: includes/admin/importers/class-sp-fixture-importer.php:279
|
1412 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1413 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:47
|
1414 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:120
|
1415 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:76
|
@@ -1433,16 +1501,17 @@ msgstr ""
|
|
1433 |
#: includes/admin/importers/class-sp-event-importer.php:482
|
1434 |
#: includes/admin/importers/class-sp-fixture-importer.php:290
|
1435 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:49
|
1436 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1437 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:49
|
1438 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:49
|
1439 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:50
|
1440 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1441 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:61
|
1442 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:61
|
1443 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:61
|
1444 |
-
#: includes/class-sp-ajax.php:
|
1445 |
-
#: includes/sp-core-functions.php:
|
|
|
1446 |
msgid "League"
|
1447 |
msgstr ""
|
1448 |
|
@@ -1457,19 +1526,19 @@ msgstr ""
|
|
1457 |
#: includes/admin/importers/class-sp-event-importer.php:497
|
1458 |
#: includes/admin/importers/class-sp-fixture-importer.php:305
|
1459 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:50
|
1460 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1461 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:50
|
1462 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:50
|
1463 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:51
|
1464 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1465 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
1466 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:60
|
1467 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:64
|
1468 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:64
|
1469 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:64
|
1470 |
-
#: includes/class-sp-ajax.php:
|
1471 |
-
#: includes/class-sp-post-types.php:76 includes/sp-core-functions.php:
|
1472 |
-
#: templates/event-list.php:
|
1473 |
msgid "Season"
|
1474 |
msgstr ""
|
1475 |
|
@@ -1478,6 +1547,10 @@ msgstr ""
|
|
1478 |
msgid "Date Format"
|
1479 |
msgstr ""
|
1480 |
|
|
|
|
|
|
|
|
|
1481 |
#: includes/admin/importers/class-sp-event-performance-importer.php:125
|
1482 |
#, php-format
|
1483 |
msgid ""
|
@@ -1486,11 +1559,11 @@ msgid ""
|
|
1486 |
msgstr ""
|
1487 |
|
1488 |
#: includes/admin/importers/class-sp-event-performance-importer.php:135
|
1489 |
-
#: includes/class-sp-post-types.php:
|
1490 |
msgid "View Event"
|
1491 |
msgstr ""
|
1492 |
|
1493 |
-
#: includes/admin/importers/class-sp-event-performance-importer.php:
|
1494 |
#, php-format
|
1495 |
msgid ""
|
1496 |
"Box scores need to be defined with columns in a specific order. <a href=\"%s"
|
@@ -1500,37 +1573,38 @@ msgstr ""
|
|
1500 |
#: includes/admin/importers/class-sp-fixture-importer.php:29
|
1501 |
#: includes/admin/importers/class-sp-team-importer.php:31
|
1502 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:33
|
1503 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1504 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
|
1505 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
1506 |
-
#: includes/sp-core-functions.php:
|
1507 |
-
#: templates/event-list.php:
|
1508 |
-
#: templates/team-details.php:45
|
1509 |
msgid "Home"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
#: includes/admin/importers/class-sp-fixture-importer.php:30
|
1513 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:33
|
1514 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1515 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
|
1516 |
-
#: includes/sp-core-functions.php:
|
1517 |
-
#: templates/event-list.php:
|
1518 |
msgid "Away"
|
1519 |
msgstr ""
|
1520 |
|
1521 |
#: includes/admin/importers/class-sp-fixture-importer.php:31
|
1522 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1523 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1524 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:54
|
1525 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1526 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
1527 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
1528 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:28
|
1529 |
#: includes/admin/settings/class-sp-settings-events.php:82
|
1530 |
-
#: includes/class-sp-
|
|
|
1531 |
#: includes/widgets/class-sp-widget-event-list.php:208
|
1532 |
-
#: templates/event-blocks.php:
|
1533 |
-
#: templates/event-list.php:
|
1534 |
msgid "Match Day"
|
1535 |
msgstr ""
|
1536 |
|
@@ -1557,28 +1631,28 @@ msgid "Insert row after"
|
|
1557 |
msgstr ""
|
1558 |
|
1559 |
#: includes/admin/importers/class-sp-importer.php:156
|
1560 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1561 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:30
|
1562 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:66
|
1563 |
#: includes/admin/settings/class-sp-settings-events.php:197
|
1564 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
1565 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
1566 |
#: includes/admin/views/html-admin-config.php:107
|
1567 |
#: includes/admin/views/html-admin-config.php:194
|
1568 |
#: includes/admin/views/html-admin-page-status.php:65
|
1569 |
-
#: includes/class-sp-ajax.php:
|
1570 |
-
#: includes/class-sp-ajax.php:
|
1571 |
-
#: includes/class-sp-ajax.php:
|
1572 |
-
#: includes/class-sp-ajax.php:
|
1573 |
-
#: includes/class-sp-ajax.php:
|
1574 |
-
#: includes/class-sp-ajax.php:
|
1575 |
-
#: includes/class-sp-ajax.php:
|
1576 |
-
#: includes/class-sp-ajax.php:
|
1577 |
-
#: includes/class-sp-ajax.php:
|
1578 |
-
#: includes/class-sp-ajax.php:
|
1579 |
-
#: includes/class-sp-ajax.php:
|
1580 |
-
#: includes/class-sp-ajax.php:
|
1581 |
-
#: includes/sp-core-functions.php:
|
1582 |
#: includes/widgets/class-sp-widget-event-blocks.php:119
|
1583 |
#: includes/widgets/class-sp-widget-event-blocks.php:133
|
1584 |
#: includes/widgets/class-sp-widget-event-blocks.php:175
|
@@ -1609,21 +1683,44 @@ msgstr ""
|
|
1609 |
msgid "The CSV is invalid."
|
1610 |
msgstr ""
|
1611 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1612 |
#: includes/admin/importers/class-sp-player-importer.php:24
|
1613 |
-
#: includes/admin/importers/class-sp-player-importer.php:
|
1614 |
msgid "Import Players"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
#: includes/admin/importers/class-sp-player-importer.php:26
|
1618 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:73
|
1619 |
-
#: includes/admin/post-types/class-sp-admin-cpt-player.php:
|
1620 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:32
|
1621 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:113
|
1622 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:
|
1623 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
1624 |
#: includes/admin/settings/class-sp-settings-players.php:62
|
1625 |
-
#: includes/api/class-sp-rest-api.php:
|
1626 |
-
#: includes/class-sp-ajax.php:
|
1627 |
#: includes/widgets/class-sp-widget-player-gallery.php:111
|
1628 |
#: includes/widgets/class-sp-widget-player-list.php:122
|
1629 |
#: includes/widgets/class-sp-widget-player-list.php:124
|
@@ -1633,41 +1730,45 @@ msgstr ""
|
|
1633 |
|
1634 |
#: includes/admin/importers/class-sp-player-importer.php:32
|
1635 |
#: includes/admin/importers/class-sp-staff-importer.php:31
|
1636 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-
|
1637 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-
|
1638 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:74
|
1639 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:75
|
1640 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:75
|
1641 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:76
|
1642 |
#: includes/admin/settings/class-sp-settings-players.php:78
|
1643 |
#: includes/admin/settings/class-sp-settings-players.php:126
|
1644 |
#: includes/admin/settings/class-sp-settings-staff.php:62
|
1645 |
#: includes/admin/settings/class-sp-settings-staff.php:86
|
1646 |
-
#: includes/sp-core-functions.php:
|
1647 |
-
#: templates/player-details.php:
|
1648 |
msgid "Nationality"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
-
#: includes/admin/importers/class-sp-player-importer.php:
|
1652 |
#, php-format
|
1653 |
msgid ""
|
1654 |
"Import complete - imported <strong>%s</strong> players and skipped <strong>"
|
1655 |
"%s</strong>."
|
1656 |
msgstr ""
|
1657 |
|
1658 |
-
#: includes/admin/importers/class-sp-player-importer.php:
|
1659 |
msgid "View Players"
|
1660 |
msgstr ""
|
1661 |
|
1662 |
-
#: includes/admin/importers/class-sp-player-importer.php:
|
1663 |
#, php-format
|
1664 |
msgid ""
|
1665 |
"Players need to be defined with columns in a specific order (7 columns). <a "
|
1666 |
"href=\"%s\">Click here to download a sample</a>."
|
1667 |
msgstr ""
|
1668 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1669 |
#: includes/admin/importers/class-sp-staff-importer.php:24
|
1670 |
-
#: includes/admin/importers/class-sp-staff-importer.php:
|
1671 |
msgid "Import Staff"
|
1672 |
msgstr ""
|
1673 |
|
@@ -1679,19 +1780,19 @@ msgstr ""
|
|
1679 |
msgid "Jobs"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
-
#: includes/admin/importers/class-sp-staff-importer.php:
|
1683 |
#, php-format
|
1684 |
msgid ""
|
1685 |
"Import complete - imported <strong>%s</strong> staff and skipped <strong>%s</"
|
1686 |
"strong>."
|
1687 |
msgstr ""
|
1688 |
|
1689 |
-
#: includes/admin/importers/class-sp-staff-importer.php:
|
1690 |
-
#: includes/class-sp-post-types.php:
|
1691 |
msgid "View Staff"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#: includes/admin/importers/class-sp-staff-importer.php:
|
1695 |
#, php-format
|
1696 |
msgid ""
|
1697 |
"Staff need to be defined with columns in a specific order (6 columns). <a "
|
@@ -1703,10 +1804,10 @@ msgid "Import Teams"
|
|
1703 |
msgstr ""
|
1704 |
|
1705 |
#: includes/admin/importers/class-sp-team-importer.php:29
|
1706 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
1707 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
1708 |
#: includes/admin/views/html-admin-page-status.php:24
|
1709 |
-
#: includes/api/class-sp-rest-api.php:
|
1710 |
msgid "Site URL"
|
1711 |
msgstr ""
|
1712 |
|
@@ -1714,25 +1815,24 @@ msgstr ""
|
|
1714 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:45
|
1715 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:66
|
1716 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:46
|
1717 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
1718 |
-
#: includes/admin/settings/class-sp-settings-teams.php:70
|
1719 |
#: includes/admin/views/html-admin-config.php:32
|
1720 |
-
#: includes/api/class-sp-rest-api.php:
|
1721 |
msgid "Abbreviation"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: includes/admin/importers/class-sp-team-importer.php:
|
1725 |
#, php-format
|
1726 |
msgid ""
|
1727 |
"Import complete - imported <strong>%s</strong> teams and skipped <strong>%s</"
|
1728 |
"strong>."
|
1729 |
msgstr ""
|
1730 |
|
1731 |
-
#: includes/admin/importers/class-sp-team-importer.php:
|
1732 |
msgid "View Teams"
|
1733 |
msgstr ""
|
1734 |
|
1735 |
-
#: includes/admin/importers/class-sp-team-importer.php:
|
1736 |
#, php-format
|
1737 |
msgid ""
|
1738 |
"Teams need to be defined with columns in a specific order (3 columns). <a "
|
@@ -1743,7 +1843,7 @@ msgstr ""
|
|
1743 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:48
|
1744 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:48
|
1745 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:37
|
1746 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
1747 |
#: modules/sportspress-calendars.php:247 modules/sportspress-calendars.php:268
|
1748 |
#: modules/sportspress-calendars.php:316
|
1749 |
#: modules/sportspress-league-tables.php:238
|
@@ -1771,70 +1871,68 @@ msgstr ""
|
|
1771 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:74
|
1772 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:77
|
1773 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:83
|
1774 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
1775 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
1776 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:87
|
1777 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:96
|
1778 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:151
|
1779 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
|
1780 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
|
1781 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
1782 |
-
#: includes/class-sp-ajax.php:
|
1783 |
-
#: includes/class-sp-ajax.php:
|
1784 |
-
#: includes/class-sp-ajax.php:
|
1785 |
-
#: includes/class-sp-ajax.php:558 includes/class-sp-ajax.php:567
|
1786 |
#: includes/class-sp-post-types.php:41 includes/class-sp-post-types.php:77
|
1787 |
#: includes/class-sp-post-types.php:113 includes/class-sp-post-types.php:149
|
1788 |
-
#: includes/class-sp-post-types.php:185 includes/sp-core-functions.php:
|
1789 |
-
#: includes/sp-core-functions.php:
|
1790 |
-
#: includes/sp-core-functions.php:
|
1791 |
-
#: includes/sp-core-functions.php:
|
1792 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
|
|
1793 |
#: includes/widgets/class-sp-widget-event-blocks.php:103
|
1794 |
#: includes/widgets/class-sp-widget-event-blocks.php:168
|
1795 |
#: includes/widgets/class-sp-widget-event-calendar.php:91
|
1796 |
#: includes/widgets/class-sp-widget-event-calendar.php:156
|
1797 |
#: includes/widgets/class-sp-widget-event-list.php:108
|
1798 |
#: includes/widgets/class-sp-widget-event-list.php:173
|
1799 |
-
#: modules/sportspress-officials.php:
|
1800 |
msgid "All"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:87
|
1804 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:108
|
1805 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:115
|
1806 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:97
|
1807 |
#: includes/admin/settings/class-sp-settings-players.php:94
|
1808 |
#: includes/admin/settings/class-sp-settings-staff.php:70
|
1809 |
-
#: includes/sp-core-functions.php:
|
1810 |
-
#: templates/player-details.php:
|
1811 |
msgid "Current Team"
|
1812 |
msgstr ""
|
1813 |
|
1814 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:115
|
1815 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1816 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:109
|
1817 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:167
|
1818 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:134
|
1819 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:91
|
1820 |
-
#: includes/admin/post-types/class-sp-admin-cpt-team.php:
|
1821 |
msgid "Show all leagues"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:124
|
1825 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1826 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:118
|
1827 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:178
|
1828 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:143
|
1829 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:100
|
1830 |
-
#: includes/admin/post-types/class-sp-admin-cpt-team.php:
|
1831 |
msgid "Show all seasons"
|
1832 |
msgstr ""
|
1833 |
|
1834 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:135
|
1835 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1836 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:129
|
1837 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:142
|
1838 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:158
|
1839 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:126
|
1840 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:111
|
@@ -1846,26 +1944,28 @@ msgstr ""
|
|
1846 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:43
|
1847 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:44
|
1848 |
#: includes/admin/post-types/class-sp-admin-cpt-result.php:43
|
1849 |
-
#: includes/admin/post-types/class-sp-admin-cpt-
|
|
|
1850 |
#: includes/admin/views/html-admin-config.php:30
|
1851 |
#: includes/admin/views/html-admin-config.php:89
|
1852 |
#: includes/admin/views/html-admin-config.php:170
|
1853 |
#: includes/admin/views/html-admin-config.php:266
|
1854 |
#: includes/admin/views/html-admin-config.php:320
|
1855 |
#: includes/admin/views/html-admin-config.php:373
|
|
|
1856 |
msgid "Label"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:44
|
1860 |
-
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:
|
1861 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:34
|
1862 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:38
|
1863 |
-
#: includes/sp-template-hooks.php:
|
1864 |
msgid "Key"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:45
|
1868 |
-
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:
|
1869 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:48
|
1870 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:64
|
1871 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:80
|
@@ -1873,25 +1973,25 @@ msgstr ""
|
|
1873 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
1874 |
#: includes/admin/views/html-admin-config.php:91
|
1875 |
#: includes/admin/views/html-admin-config.php:267
|
1876 |
-
#: includes/admin/views/html-admin-config.php:
|
1877 |
-
#: includes/sp-core-functions.php:
|
1878 |
msgid "Equation"
|
1879 |
msgstr ""
|
1880 |
|
1881 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:46
|
1882 |
-
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:
|
1883 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:39
|
1884 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:88
|
1885 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:39
|
1886 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:43
|
1887 |
#: includes/admin/views/html-admin-config.php:92
|
1888 |
#: includes/admin/views/html-admin-config.php:268
|
1889 |
-
#: includes/admin/views/html-admin-config.php:
|
1890 |
msgid "Decimal Places"
|
1891 |
msgstr ""
|
1892 |
|
1893 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:47
|
1894 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
1895 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:43
|
1896 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:130
|
1897 |
#: includes/admin/views/html-admin-config.php:269
|
@@ -1903,15 +2003,17 @@ msgstr ""
|
|
1903 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:46
|
1904 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:48
|
1905 |
#: includes/admin/post-types/class-sp-admin-cpt-result.php:45
|
1906 |
-
#: includes/admin/post-types/class-sp-admin-cpt-
|
|
|
1907 |
#: includes/admin/views/html-admin-config.php:34
|
1908 |
#: includes/admin/views/html-admin-config.php:93
|
1909 |
#: includes/admin/views/html-admin-config.php:180
|
1910 |
#: includes/admin/views/html-admin-config.php:270
|
1911 |
#: includes/admin/views/html-admin-config.php:322
|
1912 |
-
#: includes/admin/views/html-admin-config.php:
|
1913 |
#: includes/class-sp-templates.php:89 includes/class-sp-templates.php:157
|
1914 |
-
#: includes/class-sp-templates.php:225 includes/sp-template-hooks.php:
|
|
|
1915 |
msgid "Description"
|
1916 |
msgstr ""
|
1917 |
|
@@ -1919,35 +2021,38 @@ msgstr ""
|
|
1919 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:61
|
1920 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:275
|
1921 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:293
|
1922 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
1923 |
-
#: includes/class-sp-ajax.php:
|
1924 |
-
#: includes/
|
|
|
1925 |
#: modules/sportspress-tutorials.php:102
|
1926 |
msgid "(Auto)"
|
1927 |
msgstr ""
|
1928 |
|
1929 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1930 |
msgid "Edit Results"
|
1931 |
msgstr ""
|
1932 |
|
1933 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1934 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-video.php:33
|
1935 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
1936 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
1937 |
-
#: includes/class-sp-ajax.php:
|
1938 |
-
#: includes/class-sp-ajax.php:
|
1939 |
-
#: includes/class-sp-ajax.php:
|
1940 |
-
#: includes/class-sp-ajax.php:
|
1941 |
-
#: includes/class-sp-ajax.php:
|
1942 |
-
#: includes/class-sp-ajax.php:
|
1943 |
-
#: includes/class-sp-ajax.php:
|
|
|
|
|
1944 |
msgid "Cancel"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
-
#: includes/admin/post-types/class-sp-admin-cpt-event.php:
|
1948 |
#: includes/class-sp-post-types.php:44 includes/class-sp-post-types.php:80
|
1949 |
#: includes/class-sp-post-types.php:116 includes/class-sp-post-types.php:152
|
1950 |
-
#: includes/class-sp-post-types.php:188 modules/sportspress-officials.php:
|
1951 |
msgid "Update"
|
1952 |
msgstr ""
|
1953 |
|
@@ -1955,59 +2060,25 @@ msgstr ""
|
|
1955 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:44
|
1956 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:45
|
1957 |
#: includes/admin/post-types/class-sp-admin-cpt-result.php:44
|
|
|
1958 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:29
|
1959 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:41
|
1960 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:56
|
1961 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:34
|
|
|
1962 |
#: includes/admin/views/html-admin-config.php:31
|
1963 |
#: includes/admin/views/html-admin-config.php:171
|
1964 |
#: includes/admin/views/html-admin-config.php:321
|
1965 |
-
#: includes/sp-template-hooks.php:
|
1966 |
msgid "Variable"
|
1967 |
msgstr ""
|
1968 |
|
1969 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:73
|
1970 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:63
|
1971 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:70
|
1972 |
-
#: modules/sportspress-officials.php:78 modules/sportspress-officials.php:92
|
1973 |
-
msgid "Duties"
|
1974 |
-
msgstr ""
|
1975 |
-
|
1976 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:130
|
1977 |
-
msgid "Show all duties"
|
1978 |
-
msgstr ""
|
1979 |
-
|
1980 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:186
|
1981 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:251
|
1982 |
-
#: includes/admin/post-types/class-sp-admin-cpt-player.php:254
|
1983 |
-
#: includes/admin/post-types/class-sp-admin-cpt-player.php:323
|
1984 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:79
|
1985 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:103
|
1986 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:87
|
1987 |
-
#: includes/api/class-sp-rest-api.php:368
|
1988 |
-
#: includes/api/class-sp-rest-api.php:464
|
1989 |
-
msgid "Current Teams"
|
1990 |
-
msgstr ""
|
1991 |
-
|
1992 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:193
|
1993 |
-
#: includes/admin/post-types/class-sp-admin-cpt-official.php:258
|
1994 |
-
#: includes/admin/post-types/class-sp-admin-cpt-player.php:261
|
1995 |
-
#: includes/admin/post-types/class-sp-admin-cpt-player.php:330
|
1996 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:94
|
1997 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:118
|
1998 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:102
|
1999 |
-
#: includes/admin/settings/class-sp-settings-players.php:102
|
2000 |
-
#: includes/admin/settings/class-sp-settings-staff.php:78
|
2001 |
-
#: includes/api/class-sp-rest-api.php:384
|
2002 |
-
#: includes/api/class-sp-rest-api.php:480 includes/sp-core-functions.php:1463
|
2003 |
-
#: templates/official-details.php:96 templates/player-details.php:96
|
2004 |
-
#: templates/staff-details.php:67
|
2005 |
-
msgid "Past Teams"
|
2006 |
-
msgstr ""
|
2007 |
-
|
2008 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:43
|
2009 |
-
#: includes/admin/post-types/class-sp-admin-
|
|
|
|
|
2010 |
#: includes/admin/views/html-admin-config.php:169
|
|
|
2011 |
#: includes/class-sp-post-types.php:360
|
2012 |
msgid "Icon"
|
2013 |
msgstr ""
|
@@ -2016,7 +2087,7 @@ msgstr ""
|
|
2016 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:65
|
2017 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:47
|
2018 |
#: includes/admin/views/html-admin-config.php:172
|
2019 |
-
#: includes/admin/views/html-admin-config.php:
|
2020 |
msgid "Category"
|
2021 |
msgstr ""
|
2022 |
|
@@ -2024,16 +2095,39 @@ msgstr ""
|
|
2024 |
msgid "Show all positions"
|
2025 |
msgstr ""
|
2026 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2027 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:63
|
2028 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
2029 |
-
#: includes/class-sp-post-types.php:
|
|
|
2030 |
#: modules/sportspress-tutorials.php:109
|
2031 |
msgid "Logo"
|
2032 |
msgstr ""
|
2033 |
|
2034 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:65
|
2035 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-
|
2036 |
-
msgid "
|
2037 |
msgstr ""
|
2038 |
|
2039 |
#: includes/admin/post-types/class-sp-admin-cpt.php:42
|
@@ -2047,88 +2141,81 @@ msgid "Uploaded to this %s"
|
|
2047 |
msgstr ""
|
2048 |
|
2049 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:114
|
2050 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
2051 |
#: modules/sportspress-tutorials.php:121
|
2052 |
msgid "Shortcodes"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:127
|
2056 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
|
|
2057 |
#: modules/sportspress-league-tables.php:177
|
2058 |
msgid "Mode"
|
2059 |
msgstr ""
|
2060 |
|
2061 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
2062 |
-
#: includes/admin/
|
2063 |
-
#: includes/class-sp-
|
2064 |
-
#: modules/sportspress-officials.php:312 modules/sportspress-officials.php:336
|
2065 |
-
#: modules/sportspress-officials.php:348 modules/sportspress-officials.php:436
|
2066 |
-
#: modules/sportspress-officials.php:451 modules/sportspress-officials.php:468
|
2067 |
-
#: templates/event-officials-list.php:15 templates/event-officials-table.php:15
|
2068 |
-
msgid "Officials"
|
2069 |
-
msgstr ""
|
2070 |
-
|
2071 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:193
|
2072 |
-
#: includes/admin/settings/class-sp-settings-events.php:281
|
2073 |
-
#: includes/admin/settings/class-sp-settings-events.php:336
|
2074 |
#: includes/admin/settings/class-sp-settings-players.php:142
|
2075 |
#: modules/sportspress-calendars.php:198
|
2076 |
#: modules/sportspress-player-lists.php:198
|
2077 |
msgid "Columns"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
2081 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:56
|
2082 |
-
#: includes/api/class-sp-rest-api.php:
|
2083 |
msgid "Metrics"
|
2084 |
msgstr ""
|
2085 |
|
2086 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
2087 |
#: modules/sportspress-calendars.php:179
|
2088 |
#: modules/sportspress-league-tables.php:184
|
2089 |
#: modules/sportspress-player-lists.php:185
|
2090 |
msgid "Shortcode"
|
2091 |
msgstr ""
|
2092 |
|
2093 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
2094 |
-
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:
|
2095 |
-
#: includes/class-sp-post-types.php:
|
2096 |
#: includes/class-sp-templates.php:183 includes/class-sp-templates.php:251
|
2097 |
-
#: includes/sp-core-functions.php:
|
2098 |
msgid "Photo"
|
2099 |
msgstr ""
|
2100 |
|
2101 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:43
|
2102 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
2103 |
-
#: includes/sp-core-functions.php:
|
2104 |
#: includes/widgets/class-sp-widget-event-list.php:193
|
2105 |
-
#: templates/event-list.php:
|
|
|
|
|
2106 |
msgid "Time/Results"
|
2107 |
msgstr ""
|
2108 |
|
2109 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:53
|
2110 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
2111 |
-
#: includes/class-sp-ajax.php:
|
2112 |
-
#: includes/sp-core-functions.php:
|
2113 |
#: includes/widgets/class-sp-widget-event-list.php:207
|
2114 |
-
#: templates/event-list.php:
|
2115 |
msgid "Article"
|
2116 |
msgstr ""
|
2117 |
|
2118 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
2119 |
#: includes/class-sp-template-loader.php:155
|
2120 |
-
#: includes/sp-core-functions.php:
|
2121 |
msgid "Recap"
|
2122 |
msgstr ""
|
2123 |
|
2124 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
2125 |
#: includes/class-sp-template-loader.php:157
|
2126 |
-
#: includes/sp-core-functions.php:
|
2127 |
#: templates/event-logos-block.php:50
|
2128 |
msgid "Preview"
|
2129 |
msgstr ""
|
2130 |
|
2131 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:
|
2132 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:32
|
2133 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:101
|
2134 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:32
|
@@ -2140,7 +2227,7 @@ msgstr ""
|
|
2140 |
#: includes/admin/views/html-admin-config.php:231
|
2141 |
#: includes/admin/views/html-admin-config.php:285
|
2142 |
#: includes/admin/views/html-admin-config.php:335
|
2143 |
-
#: includes/admin/views/html-admin-config.php:
|
2144 |
#: includes/class-sp-post-types.php:50 includes/class-sp-post-types.php:86
|
2145 |
#: includes/class-sp-post-types.php:122 includes/class-sp-post-types.php:158
|
2146 |
#: includes/class-sp-post-types.php:194 includes/class-sp-post-types.php:237
|
@@ -2149,107 +2236,84 @@ msgstr ""
|
|
2149 |
#: includes/class-sp-post-types.php:298 includes/class-sp-post-types.php:327
|
2150 |
#: includes/class-sp-post-types.php:328 includes/class-sp-post-types.php:358
|
2151 |
#: includes/class-sp-post-types.php:359 includes/class-sp-post-types.php:393
|
2152 |
-
#: includes/class-sp-post-types.php:394 includes/class-sp-post-types.php:
|
2153 |
-
#: includes/class-sp-post-types.php:
|
2154 |
-
#: includes/class-sp-post-types.php:
|
2155 |
-
#: includes/class-sp-post-types.php:
|
2156 |
-
#: includes/class-sp-post-types.php:
|
2157 |
-
#: includes/sp-core-functions.php:
|
2158 |
-
#: modules/sportspress-calendars.php:79
|
2159 |
-
#: modules/sportspress-
|
2160 |
-
#: modules/sportspress-
|
|
|
|
|
2161 |
#: modules/sportspress-league-tables.php:75
|
2162 |
#: modules/sportspress-league-tables.php:76
|
2163 |
-
#: modules/sportspress-officials.php:
|
2164 |
-
#: modules/sportspress-officials.php:
|
2165 |
#: modules/sportspress-player-lists.php:75
|
2166 |
#: modules/sportspress-player-lists.php:76
|
2167 |
msgid "No results found."
|
2168 |
msgstr ""
|
2169 |
|
2170 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-
|
2171 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php:51
|
2172 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:166
|
2173 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:214
|
2174 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:51
|
2175 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:70
|
2176 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:86
|
2177 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:101
|
2178 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:75
|
2179 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:94
|
2180 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:110
|
2181 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:125
|
2182 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:141
|
2183 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:158
|
2184 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:65
|
2185 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:76
|
2186 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:94
|
2187 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:109
|
2188 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:124
|
2189 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:139
|
2190 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:135
|
2191 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:179
|
2192 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:67
|
2193 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:84
|
2194 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:101
|
2195 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
|
2196 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
|
2197 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:106
|
2198 |
-
#: modules/sportspress-user-registration.php:124
|
2199 |
-
#: modules/sportspress-wordpay.php:164
|
2200 |
-
#, php-format
|
2201 |
-
msgid "Select %s"
|
2202 |
-
msgstr ""
|
2203 |
-
|
2204 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:38
|
2205 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:39
|
2206 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:34
|
2207 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2208 |
msgid "Heading"
|
2209 |
msgstr ""
|
2210 |
|
2211 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
2212 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:336
|
2213 |
msgid "Status"
|
2214 |
msgstr ""
|
2215 |
|
2216 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
|
|
|
|
|
|
|
|
2217 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:62
|
2218 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:98
|
2219 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:57
|
|
|
|
|
2220 |
#: includes/widgets/class-sp-widget-event-blocks.php:150
|
2221 |
#: includes/widgets/class-sp-widget-event-calendar.php:138
|
2222 |
#: includes/widgets/class-sp-widget-event-list.php:155
|
2223 |
msgid "Past"
|
2224 |
msgstr ""
|
2225 |
|
2226 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
2227 |
-
#: includes/class-sp-
|
|
|
2228 |
#: includes/widgets/class-sp-widget-event-blocks.php:153
|
2229 |
#: includes/widgets/class-sp-widget-event-calendar.php:141
|
2230 |
#: includes/widgets/class-sp-widget-event-list.php:158
|
2231 |
msgid "Next"
|
2232 |
msgstr ""
|
2233 |
|
2234 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
2235 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:70
|
2236 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:65
|
|
|
|
|
2237 |
#: includes/widgets/class-sp-widget-event-blocks.php:161
|
2238 |
#: includes/widgets/class-sp-widget-event-calendar.php:149
|
2239 |
#: includes/widgets/class-sp-widget-event-list.php:166
|
2240 |
msgid "Relative"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
2244 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:108
|
2245 |
msgid "Sort by"
|
2246 |
msgstr ""
|
2247 |
|
2248 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
2249 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
|
2250 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:133
|
2251 |
-
#: includes/class-sp-ajax.php:
|
2252 |
-
#: includes/class-sp-ajax.php:
|
2253 |
#: includes/widgets/class-sp-widget-event-blocks.php:176
|
2254 |
#: includes/widgets/class-sp-widget-event-list.php:181
|
2255 |
#: includes/widgets/class-sp-widget-player-gallery.php:133
|
@@ -2257,11 +2321,11 @@ msgstr ""
|
|
2257 |
msgid "Ascending"
|
2258 |
msgstr ""
|
2259 |
|
2260 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:
|
2261 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
|
2262 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:134
|
2263 |
-
#: includes/class-sp-ajax.php:
|
2264 |
-
#: includes/class-sp-ajax.php:
|
2265 |
#: includes/widgets/class-sp-widget-event-blocks.php:177
|
2266 |
#: includes/widgets/class-sp-widget-event-list.php:182
|
2267 |
#: includes/widgets/class-sp-widget-player-gallery.php:134
|
@@ -2272,16 +2336,16 @@ msgstr ""
|
|
2272 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-feeds.php:45
|
2273 |
#: includes/admin/settings/class-sp-settings-events.php:51
|
2274 |
#: includes/admin/settings/class-sp-settings-events.php:176
|
2275 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2276 |
#: includes/admin/settings/class-sp-settings-players.php:53
|
2277 |
#: includes/admin/settings/class-sp-settings-staff.php:53
|
2278 |
-
#: includes/admin/settings/class-sp-settings-teams.php:
|
2279 |
#: includes/class-sp-templates.php:133
|
2280 |
msgid "Link"
|
2281 |
msgstr ""
|
2282 |
|
2283 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-shortcode.php:26
|
2284 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:
|
2285 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-shortcode.php:26
|
2286 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:24
|
2287 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-shortcode.php:24
|
@@ -2296,7 +2360,7 @@ msgstr ""
|
|
2296 |
|
2297 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
|
2298 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
|
2299 |
-
#: includes/class-sp-ajax.php:
|
2300 |
#: includes/widgets/class-sp-widget-player-gallery.php:113
|
2301 |
#: includes/widgets/class-sp-widget-player-list.php:141
|
2302 |
msgid "Played"
|
@@ -2312,7 +2376,7 @@ msgstr ""
|
|
2312 |
|
2313 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
|
2314 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
|
2315 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2316 |
msgid "Minutes"
|
2317 |
msgstr ""
|
2318 |
|
@@ -2342,7 +2406,7 @@ msgstr ""
|
|
2342 |
|
2343 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:46
|
2344 |
#: modules/sportspress-league-tables.php:275
|
2345 |
-
#: modules/sportspress-officials.php:
|
2346 |
msgid "Form"
|
2347 |
msgstr ""
|
2348 |
|
@@ -2377,7 +2441,7 @@ msgstr ""
|
|
2377 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:34
|
2378 |
#: includes/admin/settings/class-sp-settings-events.php:90
|
2379 |
#: includes/admin/settings/class-sp-settings-events.php:144
|
2380 |
-
#: includes/api/class-sp-rest-api.php:
|
2381 |
#: templates/event-details.php:53 templates/event-logos-block.php:66
|
2382 |
msgid "Full Time"
|
2383 |
msgstr ""
|
@@ -2394,34 +2458,39 @@ msgstr ""
|
|
2394 |
msgid "Player vs player"
|
2395 |
msgstr ""
|
2396 |
|
|
|
|
|
|
|
|
|
|
|
2397 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:340
|
2398 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2399 |
-
#: includes/sp-core-functions.php:
|
2400 |
-
#: templates/event-performance-table.php:
|
2401 |
msgid "Player of the Match"
|
2402 |
msgstr ""
|
2403 |
|
2404 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:340
|
2405 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2406 |
-
#: templates/event-performance-table.php:
|
2407 |
-
#: templates/event-performance-table.php:
|
2408 |
msgid "Stars"
|
2409 |
msgstr ""
|
2410 |
|
2411 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:362
|
2412 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
2413 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
2414 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:73
|
2415 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:38
|
2416 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:76
|
2417 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2418 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2419 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
2420 |
-
#: includes/class-sp-player.php:
|
2421 |
-
#: includes/class-sp-player.php:
|
2422 |
-
#: includes/sp-core-functions.php:
|
2423 |
-
#: includes/sp-core-functions.php:
|
2424 |
-
#: templates/event-performance-table.php:
|
2425 |
msgid "Total"
|
2426 |
msgstr ""
|
2427 |
|
@@ -2430,26 +2499,30 @@ msgid "Starting Lineup"
|
|
2430 |
msgstr ""
|
2431 |
|
2432 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:533
|
2433 |
-
#: includes/class-sp-event.php:
|
2434 |
msgid "Substitute"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:36
|
2438 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
2439 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
|
|
2440 |
msgid "— None —"
|
2441 |
msgstr ""
|
2442 |
|
2443 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:123
|
2444 |
-
#: includes/class-sp-ajax.php:
|
2445 |
-
#: includes/class-sp-ajax.php:
|
2446 |
-
#: includes/class-sp-ajax.php:
|
2447 |
-
#: includes/class-sp-ajax.php:
|
2448 |
-
#: includes/class-sp-ajax.php:
|
2449 |
-
#: includes/class-sp-ajax.php:
|
2450 |
-
#: includes/class-sp-ajax.php:
|
2451 |
-
#: includes/
|
2452 |
-
#: includes/
|
|
|
|
|
|
|
2453 |
#: includes/widgets/class-sp-widget-event-blocks.php:99
|
2454 |
#: includes/widgets/class-sp-widget-event-calendar.php:87
|
2455 |
#: includes/widgets/class-sp-widget-event-list.php:104
|
@@ -2466,6 +2539,10 @@ msgstr ""
|
|
2466 |
msgid "Remove video"
|
2467 |
msgstr ""
|
2468 |
|
|
|
|
|
|
|
|
|
2469 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-video.php:36
|
2470 |
msgid "Add video"
|
2471 |
msgstr ""
|
@@ -2477,55 +2554,57 @@ msgid "General"
|
|
2477 |
msgstr ""
|
2478 |
|
2479 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:34
|
2480 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
2481 |
-
#: includes/class-sp-ajax.php:
|
2482 |
#: includes/widgets/class-sp-widget-player-list.php:120
|
2483 |
#: includes/widgets/class-sp-widget-player-list.php:126
|
2484 |
#: includes/widgets/class-sp-widget-team-gallery.php:105
|
2485 |
-
#: templates/player-list.php:
|
2486 |
msgid "Rank"
|
2487 |
msgstr ""
|
2488 |
|
2489 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:52
|
2490 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
2491 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2492 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2493 |
msgid "Data"
|
2494 |
msgstr ""
|
2495 |
|
2496 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:55
|
2497 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2498 |
#: includes/class-sp-post-types.php:351
|
2499 |
msgid "Performance"
|
2500 |
msgstr ""
|
2501 |
|
2502 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
2503 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2504 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
|
|
2505 |
msgid "Values"
|
2506 |
msgstr ""
|
2507 |
|
2508 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
2509 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2510 |
#: modules/sportspress-tutorials.php:110
|
2511 |
msgid "Adjustments"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
2515 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2516 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2517 |
#: includes/admin/views/html-admin-config.php:45
|
2518 |
#: includes/admin/views/html-admin-config.php:121
|
2519 |
#: includes/admin/views/html-admin-config.php:227
|
2520 |
#: includes/admin/views/html-admin-config.php:281
|
2521 |
#: includes/admin/views/html-admin-config.php:331
|
2522 |
-
#: includes/admin/views/html-admin-config.php:
|
|
|
2523 |
#: modules/sportspress-event-status.php:81
|
2524 |
msgid "Edit"
|
2525 |
msgstr ""
|
2526 |
|
2527 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:
|
2528 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2529 |
msgid "Save"
|
2530 |
msgstr ""
|
2531 |
|
@@ -2543,21 +2622,23 @@ msgstr ""
|
|
2543 |
|
2544 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:150
|
2545 |
#: includes/admin/settings/class-sp-settings-events.php:246
|
2546 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2547 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
|
|
2548 |
msgid "Display"
|
2549 |
msgstr ""
|
2550 |
|
2551 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:151
|
2552 |
-
#: modules/sportspress-player-lists.php:
|
2553 |
msgid "players"
|
2554 |
msgstr ""
|
2555 |
|
2556 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:35
|
2557 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:141
|
|
|
2558 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:81
|
2559 |
#: includes/admin/views/html-admin-config.php:176
|
2560 |
-
#: includes/admin/views/html-admin-config.php:
|
2561 |
msgid "Visible"
|
2562 |
msgstr ""
|
2563 |
|
@@ -2565,7 +2646,7 @@ msgstr ""
|
|
2565 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:142
|
2566 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:82
|
2567 |
#: includes/admin/views/html-admin-config.php:177
|
2568 |
-
#: includes/admin/views/html-admin-config.php:
|
2569 |
msgid "Display in player profile?"
|
2570 |
msgstr ""
|
2571 |
|
@@ -2573,10 +2654,11 @@ msgstr ""
|
|
2573 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:102
|
2574 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:122
|
2575 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:148
|
|
|
2576 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:88
|
2577 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
2578 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
2579 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
2580 |
#: includes/admin/views/html-admin-page-status.php:37
|
2581 |
#: includes/admin/views/html-admin-page-status.php:61
|
2582 |
#: includes/admin/views/html-admin-page-status.php:86
|
@@ -2587,10 +2669,11 @@ msgstr ""
|
|
2587 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:108
|
2588 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:128
|
2589 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:154
|
|
|
2590 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:94
|
2591 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
2592 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
2593 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
2594 |
#: includes/admin/views/html-admin-page-status.php:37
|
2595 |
#: includes/admin/views/html-admin-page-status.php:61
|
2596 |
#: includes/admin/views/html-admin-page-status.php:86
|
@@ -2598,11 +2681,11 @@ msgid "No"
|
|
2598 |
msgstr ""
|
2599 |
|
2600 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:37
|
2601 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2602 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2603 |
#: includes/admin/views/html-admin-config.php:88
|
2604 |
#: includes/admin/views/html-admin-config.php:168
|
2605 |
-
#: includes/sp-core-functions.php:
|
2606 |
msgid "Primary"
|
2607 |
msgstr ""
|
2608 |
|
@@ -2616,19 +2699,19 @@ msgid "Condition"
|
|
2616 |
msgstr ""
|
2617 |
|
2618 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:63
|
2619 |
-
#: includes/sp-core-functions.php:
|
2620 |
#, php-format
|
2621 |
msgid "Most %s"
|
2622 |
msgstr ""
|
2623 |
|
2624 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:64
|
2625 |
-
#: includes/sp-core-functions.php:
|
2626 |
#, php-format
|
2627 |
msgid "Least %s"
|
2628 |
msgstr ""
|
2629 |
|
2630 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:65
|
2631 |
-
#: includes/sp-core-functions.php:
|
2632 |
#, php-format
|
2633 |
msgid "Equal %s"
|
2634 |
msgstr ""
|
@@ -2639,16 +2722,16 @@ msgstr ""
|
|
2639 |
|
2640 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
2641 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:62
|
2642 |
-
#: includes/sp-core-functions.php:
|
2643 |
-
#: includes/sp-core-functions.php:
|
2644 |
msgid "Number"
|
2645 |
msgstr ""
|
2646 |
|
2647 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
2648 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2649 |
#: includes/admin/settings/class-sp-settings-text.php:25
|
2650 |
#: includes/admin/settings/class-sp-settings-text.php:40
|
2651 |
-
#: includes/sp-core-functions.php:
|
2652 |
msgid "Text"
|
2653 |
msgstr ""
|
2654 |
|
@@ -2668,29 +2751,33 @@ msgstr ""
|
|
2668 |
msgid "Don't count minutes after?"
|
2669 |
msgstr ""
|
2670 |
|
2671 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
2672 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:
|
2673 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
2674 |
-
#: includes/sp-core-functions.php:
|
2675 |
msgid "Career Total"
|
2676 |
msgstr ""
|
2677 |
|
|
|
|
|
|
|
|
|
2678 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:69
|
2679 |
#: includes/admin/settings/class-sp-settings-events.php:192
|
2680 |
msgid "Type"
|
2681 |
msgstr ""
|
2682 |
|
2683 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:73
|
2684 |
-
#: includes/sp-core-functions.php:
|
2685 |
msgid "Average"
|
2686 |
msgstr ""
|
2687 |
|
2688 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:
|
2689 |
#: modules/sportspress-tutorials.php:111
|
2690 |
msgid "Highlight"
|
2691 |
msgstr ""
|
2692 |
|
2693 |
-
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:
|
2694 |
msgid "Redirect"
|
2695 |
msgstr ""
|
2696 |
|
@@ -2712,16 +2799,16 @@ msgid "Who competes in events?"
|
|
2712 |
msgstr ""
|
2713 |
|
2714 |
#: includes/admin/settings/class-sp-settings-events.php:112
|
2715 |
-
#: modules/sportspress-calendars.php:296 modules/sportspress-calendars.php:
|
2716 |
#: modules/sportspress-league-tables.php:262
|
2717 |
-
#: modules/sportspress-officials.php:
|
2718 |
-
#: modules/sportspress-player-lists.php:
|
2719 |
msgid "Limit"
|
2720 |
msgstr ""
|
2721 |
|
2722 |
#: includes/admin/settings/class-sp-settings-events.php:116
|
2723 |
#: modules/sportspress-league-tables.php:266
|
2724 |
-
#: modules/sportspress-officials.php:
|
2725 |
msgid "teams"
|
2726 |
msgstr ""
|
2727 |
|
@@ -2742,16 +2829,16 @@ msgid "Allow people to post comments on new articles"
|
|
2742 |
msgstr ""
|
2743 |
|
2744 |
#: includes/admin/settings/class-sp-settings-events.php:177
|
2745 |
-
#: includes/admin/settings/class-sp-settings-teams.php:
|
2746 |
msgid "Link venues"
|
2747 |
msgstr ""
|
2748 |
|
2749 |
#: includes/admin/settings/class-sp-settings-events.php:184
|
2750 |
-
msgid "
|
2751 |
msgstr ""
|
2752 |
|
2753 |
#: includes/admin/settings/class-sp-settings-events.php:185
|
2754 |
-
msgid "Display
|
2755 |
msgstr ""
|
2756 |
|
2757 |
#: includes/admin/settings/class-sp-settings-events.php:198
|
@@ -2774,8 +2861,16 @@ msgstr ""
|
|
2774 |
msgid "Block"
|
2775 |
msgstr ""
|
2776 |
|
2777 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2778 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2779 |
#: includes/admin/views/html-admin-config.php:78
|
2780 |
#: includes/admin/views/html-admin-config.php:82
|
2781 |
#: includes/admin/views/html-admin-page-status.php:237
|
@@ -2783,151 +2878,158 @@ msgstr ""
|
|
2783 |
msgid "Event Results"
|
2784 |
msgstr ""
|
2785 |
|
2786 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2787 |
msgid "Display outcome"
|
2788 |
msgstr ""
|
2789 |
|
2790 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2791 |
msgid "Rows"
|
2792 |
msgstr ""
|
2793 |
|
2794 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
|
|
2795 |
msgid "Icons"
|
2796 |
msgstr ""
|
2797 |
|
2798 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2799 |
msgid "Awards"
|
2800 |
msgstr ""
|
2801 |
|
2802 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2803 |
msgid "Star Number"
|
2804 |
msgstr ""
|
2805 |
|
2806 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2807 |
msgid "Top-level only"
|
2808 |
msgstr ""
|
2809 |
|
2810 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2811 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
2812 |
#: modules/sportspress-calendars.php:280
|
2813 |
msgid "Combined"
|
2814 |
msgstr ""
|
2815 |
|
2816 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2817 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2818 |
msgid "Delimiter"
|
2819 |
msgstr ""
|
2820 |
|
2821 |
-
#: includes/admin/settings/class-sp-settings-events.php:
|
2822 |
msgid "Custom:"
|
2823 |
msgstr ""
|
2824 |
|
2825 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
2826 |
msgid "General Options"
|
2827 |
msgstr ""
|
2828 |
|
2829 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2830 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
2831 |
#: includes/admin/views/html-admin-page-status.php:223
|
2832 |
msgid "Sport"
|
2833 |
msgstr ""
|
2834 |
|
2835 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2836 |
msgid "Styles and Scripts"
|
2837 |
msgstr ""
|
2838 |
|
2839 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2840 |
msgid "Align"
|
2841 |
msgstr ""
|
2842 |
|
2843 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2844 |
#: modules/sportspress-widget-alignment.php:70
|
2845 |
msgid "Left"
|
2846 |
msgstr ""
|
2847 |
|
2848 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2849 |
msgid "Center"
|
2850 |
msgstr ""
|
2851 |
|
2852 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2853 |
#: modules/sportspress-widget-alignment.php:71
|
2854 |
msgid "Right"
|
2855 |
msgstr ""
|
2856 |
|
2857 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2858 |
msgid "Padding"
|
2859 |
msgstr ""
|
2860 |
|
2861 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2862 |
msgid "Custom CSS"
|
2863 |
msgstr ""
|
2864 |
|
2865 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2866 |
msgid "Scripts"
|
2867 |
msgstr ""
|
2868 |
|
2869 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2870 |
msgid "Live countdowns"
|
2871 |
msgstr ""
|
2872 |
|
2873 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2874 |
msgid "This will enable a script allowing the countdowns to be animated."
|
2875 |
msgstr ""
|
2876 |
|
2877 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2878 |
msgid "Shortcode menu"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2882 |
msgid "This will enable a shortcode menu to be displayed in the visual editor."
|
2883 |
msgstr ""
|
2884 |
|
2885 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2886 |
msgid "Tables"
|
2887 |
msgstr ""
|
2888 |
|
2889 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2890 |
msgid "Responsive"
|
2891 |
msgstr ""
|
2892 |
|
2893 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2894 |
msgid "Scrollable"
|
2895 |
msgstr ""
|
2896 |
|
2897 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2898 |
msgid "Sortable"
|
2899 |
msgstr ""
|
2900 |
|
2901 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2902 |
msgid "Widgets"
|
2903 |
msgstr ""
|
2904 |
|
2905 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2906 |
msgid "Unique"
|
2907 |
msgstr ""
|
2908 |
|
2909 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2910 |
msgid "Hide widget when same as content."
|
2911 |
msgstr ""
|
2912 |
|
2913 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2914 |
msgid "Header Offset"
|
2915 |
msgstr ""
|
2916 |
|
2917 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2918 |
msgid "Color Scheme"
|
2919 |
msgstr ""
|
2920 |
|
2921 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2922 |
-
#: modules/sportspress-icons.php:
|
2923 |
msgid "Customize"
|
2924 |
msgstr ""
|
2925 |
|
2926 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2927 |
msgid "Background"
|
2928 |
msgstr ""
|
2929 |
|
2930 |
-
#: includes/admin/settings/class-sp-settings-general.php:
|
2931 |
#: modules/sportspress-styles.php:63
|
2932 |
msgid "Enable"
|
2933 |
msgstr ""
|
@@ -2965,7 +3067,7 @@ msgid "License deactivated."
|
|
2965 |
msgstr ""
|
2966 |
|
2967 |
#: includes/admin/settings/class-sp-settings-modules.php:30
|
2968 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
2969 |
msgid "Modules"
|
2970 |
msgstr ""
|
2971 |
|
@@ -2978,8 +3080,7 @@ msgid "SportsPress Pro"
|
|
2978 |
msgstr ""
|
2979 |
|
2980 |
#: includes/admin/settings/class-sp-settings-modules.php:69
|
2981 |
-
#: includes/
|
2982 |
-
#: includes/class-sp-modules.php:179 includes/class-sp-modules.php:190
|
2983 |
msgid "Premium"
|
2984 |
msgstr ""
|
2985 |
|
@@ -2988,141 +3089,126 @@ msgid "Upgrade Now"
|
|
2988 |
msgstr ""
|
2989 |
|
2990 |
#: includes/admin/settings/class-sp-settings-modules.php:81
|
2991 |
-
#: includes/class-sp-modules.php:162
|
2992 |
-
msgid "WordPay"
|
2993 |
-
msgstr ""
|
2994 |
-
|
2995 |
-
#: includes/admin/settings/class-sp-settings-modules.php:86
|
2996 |
-
#: includes/class-sp-modules.php:166
|
2997 |
-
msgid "Start collecting club membership payments with WordPay."
|
2998 |
-
msgstr ""
|
2999 |
-
|
3000 |
-
#: includes/admin/settings/class-sp-settings-modules.php:89
|
3001 |
-
#: includes/class-sp-modules.php:167
|
3002 |
-
msgid "Get WordPay"
|
3003 |
-
msgstr ""
|
3004 |
-
|
3005 |
-
#: includes/admin/settings/class-sp-settings-modules.php:100
|
3006 |
msgid "Get Freebies"
|
3007 |
msgstr ""
|
3008 |
|
3009 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3010 |
msgid "Instant access to exclusive SportsPress extensions and free downloads."
|
3011 |
msgstr ""
|
3012 |
|
3013 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3014 |
msgid "Create a free account"
|
3015 |
msgstr ""
|
3016 |
|
3017 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3018 |
msgid "Sign Up"
|
3019 |
msgstr ""
|
3020 |
|
3021 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3022 |
msgid "Current Theme"
|
3023 |
msgstr ""
|
3024 |
|
3025 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3026 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3027 |
msgid "Rookie is a free starter theme for SportsPress designed by ThemeBoy."
|
3028 |
msgstr ""
|
3029 |
|
3030 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3031 |
msgid "Need a better theme?"
|
3032 |
msgstr ""
|
3033 |
|
3034 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3035 |
#: sportspress.php:147
|
3036 |
msgid "Upgrade"
|
3037 |
msgstr ""
|
3038 |
|
3039 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3040 |
msgid "Free SportsPress Theme"
|
3041 |
msgstr ""
|
3042 |
|
3043 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3044 |
-
#: includes/class-sp-modules.php:
|
3045 |
-
#: includes/class-sp-modules.php:
|
3046 |
msgid "Free"
|
3047 |
msgstr ""
|
3048 |
|
3049 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3050 |
#: includes/admin/views/html-notice-theme-support.php:8
|
3051 |
msgid "Install Now"
|
3052 |
msgstr ""
|
3053 |
|
3054 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3055 |
msgid "Documentation"
|
3056 |
msgstr ""
|
3057 |
|
3058 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3059 |
msgid "Getting Started"
|
3060 |
msgstr ""
|
3061 |
|
3062 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3063 |
msgid "Manuals"
|
3064 |
msgstr ""
|
3065 |
|
3066 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3067 |
msgid "Videos"
|
3068 |
msgstr ""
|
3069 |
|
3070 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3071 |
msgid "Help"
|
3072 |
msgstr ""
|
3073 |
|
3074 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3075 |
msgid "Support Forums"
|
3076 |
msgstr ""
|
3077 |
|
3078 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3079 |
msgid "Feature Requests"
|
3080 |
msgstr ""
|
3081 |
|
3082 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3083 |
msgid "Connect"
|
3084 |
msgstr ""
|
3085 |
|
3086 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3087 |
-
#: includes/class-sp-modules.php:
|
3088 |
msgid "Twitter"
|
3089 |
msgstr ""
|
3090 |
|
3091 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3092 |
-
#: includes/class-sp-modules.php:
|
3093 |
msgid "Facebook"
|
3094 |
msgstr ""
|
3095 |
|
3096 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3097 |
msgid "YouTube"
|
3098 |
msgstr ""
|
3099 |
|
3100 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3101 |
msgid "Google+"
|
3102 |
msgstr ""
|
3103 |
|
3104 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3105 |
msgid "Developers"
|
3106 |
msgstr ""
|
3107 |
|
3108 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3109 |
msgid "Reference"
|
3110 |
msgstr ""
|
3111 |
|
3112 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3113 |
msgid "Slack"
|
3114 |
msgstr ""
|
3115 |
|
3116 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3117 |
msgid "GitHub"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3121 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3122 |
msgid "Premium Support"
|
3123 |
msgstr ""
|
3124 |
|
3125 |
-
#: includes/admin/settings/class-sp-settings-modules.php:
|
3126 |
#: includes/admin/views/html-admin-settings.php:15
|
3127 |
msgid "Save Changes"
|
3128 |
msgstr ""
|
@@ -3153,7 +3239,7 @@ msgstr ""
|
|
3153 |
msgid "Display national flags"
|
3154 |
msgstr ""
|
3155 |
|
3156 |
-
#: includes/admin/settings/class-sp-settings-players.php:
|
3157 |
msgid "Categories"
|
3158 |
msgstr ""
|
3159 |
|
@@ -3162,67 +3248,68 @@ msgid "Staff Options"
|
|
3162 |
msgstr ""
|
3163 |
|
3164 |
#: includes/admin/settings/class-sp-settings-staff.php:54
|
|
|
3165 |
msgid "Link staff"
|
3166 |
msgstr ""
|
3167 |
|
3168 |
#: includes/admin/settings/class-sp-settings-status.php:25
|
3169 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3170 |
#: includes/admin/views/html-admin-page-status.php:2
|
3171 |
#: includes/admin/views/html-notice-template-check.php:6
|
3172 |
msgid "System Status"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3176 |
#: includes/admin/views/html-admin-page-status.php:5
|
3177 |
msgid "Please include this information when requesting support:"
|
3178 |
msgstr ""
|
3179 |
|
3180 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3181 |
#: includes/admin/views/html-admin-page-status.php:6
|
3182 |
msgid "Get System Report"
|
3183 |
msgstr ""
|
3184 |
|
3185 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3186 |
#: includes/admin/views/html-admin-page-status.php:14
|
3187 |
msgid "Environment"
|
3188 |
msgstr ""
|
3189 |
|
3190 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3191 |
#: includes/admin/views/html-admin-page-status.php:20
|
3192 |
msgid "Home URL"
|
3193 |
msgstr ""
|
3194 |
|
3195 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3196 |
#: includes/admin/views/html-admin-page-status.php:28
|
3197 |
msgid "SP Version"
|
3198 |
msgstr ""
|
3199 |
|
3200 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3201 |
#: includes/admin/views/html-admin-page-status.php:32
|
3202 |
msgid "WP Version"
|
3203 |
msgstr ""
|
3204 |
|
3205 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3206 |
#: includes/admin/views/html-admin-page-status.php:36
|
3207 |
msgid "WP Multisite Enabled"
|
3208 |
msgstr ""
|
3209 |
|
3210 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3211 |
#: includes/admin/views/html-admin-page-status.php:40
|
3212 |
msgid "Web Server Info"
|
3213 |
msgstr ""
|
3214 |
|
3215 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3216 |
#: includes/admin/views/html-admin-page-status.php:44
|
3217 |
msgid "PHP Version"
|
3218 |
msgstr ""
|
3219 |
|
3220 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3221 |
#: includes/admin/views/html-admin-page-status.php:48
|
3222 |
msgid "WP Memory Limit"
|
3223 |
msgstr ""
|
3224 |
|
3225 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3226 |
#: includes/admin/views/html-admin-page-status.php:53
|
3227 |
#, php-format
|
3228 |
msgid ""
|
@@ -3230,79 +3317,79 @@ msgid ""
|
|
3230 |
"\">Increasing memory allocated to PHP</a>"
|
3231 |
msgstr ""
|
3232 |
|
3233 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3234 |
#: includes/admin/views/html-admin-page-status.php:60
|
3235 |
msgid "WP Debug Mode"
|
3236 |
msgstr ""
|
3237 |
|
3238 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3239 |
#: includes/admin/views/html-admin-page-status.php:64
|
3240 |
msgid "WP Language"
|
3241 |
msgstr ""
|
3242 |
|
3243 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3244 |
#: includes/admin/views/html-admin-page-status.php:68
|
3245 |
msgid "WP Max Upload Size"
|
3246 |
msgstr ""
|
3247 |
|
3248 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3249 |
#: includes/admin/views/html-admin-page-status.php:73
|
3250 |
msgid "PHP Post Max Size"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3254 |
#: includes/admin/views/html-admin-page-status.php:77
|
3255 |
msgid "PHP Time Limit"
|
3256 |
msgstr ""
|
3257 |
|
3258 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3259 |
#: includes/admin/views/html-admin-page-status.php:81
|
3260 |
msgid "PHP Max Input Vars"
|
3261 |
msgstr ""
|
3262 |
|
3263 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3264 |
#: includes/admin/views/html-admin-page-status.php:85
|
3265 |
msgid "SUHOSIN Installed"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3269 |
#: includes/admin/views/html-admin-page-status.php:90
|
3270 |
msgid "Default Timezone"
|
3271 |
msgstr ""
|
3272 |
|
3273 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3274 |
#: includes/admin/views/html-admin-page-status.php:94
|
3275 |
#, php-format
|
3276 |
msgid "Default timezone is %s - it should be UTC"
|
3277 |
msgstr ""
|
3278 |
|
3279 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3280 |
#: includes/admin/views/html-admin-page-status.php:96
|
3281 |
#, php-format
|
3282 |
msgid "Default timezone is %s"
|
3283 |
msgstr ""
|
3284 |
|
3285 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3286 |
#: includes/admin/views/html-admin-page-status.php:104
|
3287 |
msgid "fsockopen/cURL"
|
3288 |
msgstr ""
|
3289 |
|
3290 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3291 |
#: includes/admin/views/html-admin-page-status.php:107
|
3292 |
msgid "Your server has fsockopen and cURL enabled."
|
3293 |
msgstr ""
|
3294 |
|
3295 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3296 |
#: includes/admin/views/html-admin-page-status.php:109
|
3297 |
msgid "Your server has fsockopen enabled, cURL is disabled."
|
3298 |
msgstr ""
|
3299 |
|
3300 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3301 |
#: includes/admin/views/html-admin-page-status.php:111
|
3302 |
msgid "Your server has cURL enabled, fsockopen is disabled."
|
3303 |
msgstr ""
|
3304 |
|
3305 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3306 |
#: includes/admin/views/html-admin-page-status.php:115
|
3307 |
msgid ""
|
3308 |
"Your server does not have fsockopen or cURL enabled - PayPal IPN and other "
|
@@ -3310,17 +3397,17 @@ msgid ""
|
|
3310 |
"hosting provider."
|
3311 |
msgstr ""
|
3312 |
|
3313 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3314 |
#: includes/admin/views/html-admin-page-status.php:120
|
3315 |
msgid "SOAP Client"
|
3316 |
msgstr ""
|
3317 |
|
3318 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3319 |
#: includes/admin/views/html-admin-page-status.php:122
|
3320 |
msgid "Your server has the SOAP Client class enabled."
|
3321 |
msgstr ""
|
3322 |
|
3323 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3324 |
#: includes/admin/views/html-admin-page-status.php:125
|
3325 |
#, php-format
|
3326 |
msgid ""
|
@@ -3328,51 +3415,51 @@ msgid ""
|
|
3328 |
"some gateway plugins which use SOAP may not work as expected."
|
3329 |
msgstr ""
|
3330 |
|
3331 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3332 |
#: includes/admin/views/html-admin-page-status.php:148
|
3333 |
msgid "Plugins"
|
3334 |
msgstr ""
|
3335 |
|
3336 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3337 |
#: includes/admin/views/html-admin-page-status.php:154
|
3338 |
msgid "Installed Plugins"
|
3339 |
msgstr ""
|
3340 |
|
3341 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3342 |
#: includes/admin/views/html-admin-page-status.php:174
|
3343 |
msgid "Visit plugin homepage"
|
3344 |
msgstr ""
|
3345 |
|
3346 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3347 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3348 |
#: includes/admin/views/html-admin-page-status.php:198
|
3349 |
#: includes/admin/views/html-admin-page-status.php:413
|
3350 |
msgid "is available"
|
3351 |
msgstr ""
|
3352 |
|
3353 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3354 |
#: includes/admin/views/html-admin-page-status.php:201
|
3355 |
msgid "by"
|
3356 |
msgstr ""
|
3357 |
|
3358 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3359 |
#: includes/admin/views/html-admin-page-status.php:201
|
3360 |
msgid "version"
|
3361 |
msgstr ""
|
3362 |
|
3363 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3364 |
#: includes/admin/views/html-admin-page-status.php:217
|
3365 |
msgid "SP Configuration"
|
3366 |
msgstr ""
|
3367 |
|
3368 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3369 |
#: includes/admin/views/html-admin-config.php:23
|
3370 |
#: includes/admin/views/html-admin-page-status.php:227
|
3371 |
#: includes/class-sp-post-types.php:260 modules/sportspress-tutorials.php:102
|
3372 |
msgid "Event Outcomes"
|
3373 |
msgstr ""
|
3374 |
|
3375 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3376 |
#: includes/admin/views/html-admin-config.php:158
|
3377 |
#: includes/admin/views/html-admin-config.php:162
|
3378 |
#: includes/admin/views/html-admin-page-status.php:247
|
@@ -3380,7 +3467,7 @@ msgstr ""
|
|
3380 |
msgid "Player Performance"
|
3381 |
msgstr ""
|
3382 |
|
3383 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3384 |
#: includes/admin/views/html-admin-config.php:259
|
3385 |
#: includes/admin/views/html-admin-page-status.php:257
|
3386 |
#: includes/class-sp-post-types.php:290
|
@@ -3388,56 +3475,56 @@ msgstr ""
|
|
3388 |
msgid "Table Columns"
|
3389 |
msgstr ""
|
3390 |
|
3391 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3392 |
#: includes/admin/views/html-admin-config.php:313
|
3393 |
#: includes/admin/views/html-admin-page-status.php:267
|
3394 |
#: includes/class-sp-post-types.php:320 modules/sportspress-tutorials.php:114
|
3395 |
msgid "Player Metrics"
|
3396 |
msgstr ""
|
3397 |
|
3398 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3399 |
#: includes/admin/views/html-admin-config.php:366
|
3400 |
#: includes/admin/views/html-admin-page-status.php:277
|
3401 |
#: includes/class-sp-post-types.php:385
|
3402 |
msgid "Player Statistics"
|
3403 |
msgstr ""
|
3404 |
|
3405 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3406 |
#: includes/admin/views/html-admin-page-status.php:290
|
3407 |
msgid "SP Taxonomies"
|
3408 |
msgstr ""
|
3409 |
|
3410 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3411 |
#: includes/admin/views/html-admin-page-status.php:339
|
3412 |
msgid "SP Post Types"
|
3413 |
msgstr ""
|
3414 |
|
3415 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3416 |
#: includes/admin/views/html-admin-page-status.php:365
|
3417 |
msgid "Theme"
|
3418 |
msgstr ""
|
3419 |
|
3420 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3421 |
#: includes/admin/views/html-admin-page-status.php:402
|
3422 |
msgid "Theme Name"
|
3423 |
msgstr ""
|
3424 |
|
3425 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3426 |
#: includes/admin/views/html-admin-page-status.php:408
|
3427 |
msgid "Theme Version"
|
3428 |
msgstr ""
|
3429 |
|
3430 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3431 |
#: includes/admin/views/html-admin-page-status.php:417
|
3432 |
msgid "Author URL"
|
3433 |
msgstr ""
|
3434 |
|
3435 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3436 |
#: includes/admin/views/html-admin-page-status.php:426
|
3437 |
msgid "Templates"
|
3438 |
msgstr ""
|
3439 |
|
3440 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3441 |
#: includes/admin/views/html-admin-page-status.php:459
|
3442 |
#, php-format
|
3443 |
msgid ""
|
@@ -3445,14 +3532,14 @@ msgid ""
|
|
3445 |
"date. The core version is %s"
|
3446 |
msgstr ""
|
3447 |
|
3448 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3449 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3450 |
#: includes/admin/views/html-admin-page-status.php:470
|
3451 |
#: includes/admin/views/html-admin-page-status.php:476
|
3452 |
msgid "Template Overrides"
|
3453 |
msgstr ""
|
3454 |
|
3455 |
-
#: includes/admin/settings/class-sp-settings-status.php:
|
3456 |
#: includes/admin/views/html-admin-page-status.php:477
|
3457 |
msgid "No overrides present in theme."
|
3458 |
msgstr ""
|
@@ -3461,17 +3548,13 @@ msgstr ""
|
|
3461 |
msgid "Team Options"
|
3462 |
msgstr ""
|
3463 |
|
3464 |
-
#: includes/admin/settings/class-sp-settings-teams.php:
|
3465 |
msgid "Link teams"
|
3466 |
msgstr ""
|
3467 |
|
3468 |
-
#: includes/admin/settings/class-sp-settings-teams.php:71
|
3469 |
-
msgid "Abbreviate team names"
|
3470 |
-
msgstr ""
|
3471 |
-
|
3472 |
#: includes/admin/settings/class-sp-settings-teams.php:78
|
3473 |
-
#: includes/class-sp-templates.php:132 includes/sp-core-functions.php:
|
3474 |
-
#: includes/sp-core-functions.php:
|
3475 |
msgid "Visit Site"
|
3476 |
msgstr ""
|
3477 |
|
@@ -3558,82 +3641,92 @@ msgstr ""
|
|
3558 |
msgid "Winner"
|
3559 |
msgstr ""
|
3560 |
|
3561 |
-
#: includes/api/class-sp-rest-api.php:
|
3562 |
-
#: includes/api/class-sp-rest-api.php:
|
3563 |
msgid "Nationalities"
|
3564 |
msgstr ""
|
3565 |
|
3566 |
-
#: includes/class-sp-ajax.php:
|
3567 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
3568 |
-
#: modules/sportspress-calendars.php:
|
3569 |
msgid "Display venue"
|
3570 |
msgstr ""
|
3571 |
|
3572 |
-
#: includes/class-sp-ajax.php:
|
3573 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
3574 |
#: modules/sportspress-calendars.php:333
|
3575 |
msgid "Display league"
|
3576 |
msgstr ""
|
3577 |
|
3578 |
-
#: includes/class-sp-ajax.php:
|
3579 |
-
#: includes/class-sp-ajax.php:
|
3580 |
-
#: includes/class-sp-ajax.php:
|
3581 |
-
#: includes/class-sp-ajax.php:
|
3582 |
-
#: includes/class-sp-ajax.php:
|
3583 |
-
#: includes/class-sp-ajax.php:
|
3584 |
-
#: includes/class-sp-ajax.php:
|
|
|
|
|
3585 |
msgid "Insert Shortcode"
|
3586 |
msgstr ""
|
3587 |
|
3588 |
-
#: includes/class-sp-ajax.php:
|
3589 |
-
#: includes/class-sp-ajax.php:
|
3590 |
msgid "Team:"
|
3591 |
msgstr ""
|
3592 |
|
3593 |
-
#: includes/class-sp-ajax.php:
|
3594 |
-
#: includes/class-sp-ajax.php:
|
3595 |
msgid "League:"
|
3596 |
msgstr ""
|
3597 |
|
3598 |
-
#: includes/class-sp-ajax.php:
|
3599 |
-
#: includes/class-sp-ajax.php:
|
3600 |
msgid "Season:"
|
3601 |
msgstr ""
|
3602 |
|
3603 |
-
#: includes/class-sp-ajax.php:
|
3604 |
-
#: includes/class-sp-ajax.php:
|
3605 |
msgid "Venue:"
|
3606 |
msgstr ""
|
3607 |
|
3608 |
-
#: includes/class-sp-ajax.php:
|
3609 |
-
#: includes/class-sp-ajax.php:
|
3610 |
#: includes/widgets/class-sp-widget-event-blocks.php:116
|
3611 |
#: includes/widgets/class-sp-widget-event-calendar.php:104
|
3612 |
#: includes/widgets/class-sp-widget-event-list.php:121
|
3613 |
msgid "Status:"
|
3614 |
msgstr ""
|
3615 |
|
3616 |
-
#: includes/class-sp-ajax.php:
|
3617 |
-
#: includes/class-sp-ajax.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3618 |
#: includes/widgets/class-sp-widget-event-blocks.php:167
|
3619 |
#: includes/widgets/class-sp-widget-event-calendar.php:155
|
3620 |
#: includes/widgets/class-sp-widget-event-list.php:172
|
3621 |
msgid "Match Day:"
|
3622 |
msgstr ""
|
3623 |
|
3624 |
-
#: includes/class-sp-ajax.php:
|
3625 |
-
#: includes/class-sp-ajax.php:
|
3626 |
#: includes/widgets/class-sp-widget-event-blocks.php:181
|
3627 |
#: includes/widgets/class-sp-widget-event-calendar.php:159
|
3628 |
#: includes/widgets/class-sp-widget-event-list.php:219
|
3629 |
msgid "Display link to view all events"
|
3630 |
msgstr ""
|
3631 |
|
3632 |
-
#: includes/class-sp-ajax.php:
|
3633 |
-
#: includes/class-sp-ajax.php:
|
3634 |
-
#: includes/class-sp-ajax.php:
|
3635 |
-
#: includes/widgets/class-sp-widget-birthdays.php:
|
3636 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
3637 |
#: includes/widgets/class-sp-widget-event-blocks.php:93
|
3638 |
#: includes/widgets/class-sp-widget-event-calendar.php:84
|
3639 |
#: includes/widgets/class-sp-widget-event-list.php:98
|
@@ -3645,32 +3738,18 @@ msgstr ""
|
|
3645 |
msgid "Title:"
|
3646 |
msgstr ""
|
3647 |
|
3648 |
-
#: includes/class-sp-ajax.php:
|
3649 |
-
|
3650 |
-
#: includes/widgets/class-sp-widget-event-calendar.php:118
|
3651 |
-
#: includes/widgets/class-sp-widget-event-list.php:135
|
3652 |
-
msgid "Date:"
|
3653 |
-
msgstr ""
|
3654 |
-
|
3655 |
-
#: includes/class-sp-ajax.php:396 includes/class-sp-ajax.php:559
|
3656 |
-
#: includes/sp-core-functions.php:622
|
3657 |
-
msgid "This week"
|
3658 |
-
msgstr ""
|
3659 |
-
|
3660 |
-
#: includes/class-sp-ajax.php:397 includes/class-sp-ajax.php:560
|
3661 |
-
#: includes/sp-core-functions.php:619
|
3662 |
-
#: includes/widgets/class-sp-widget-birthdays.php:48
|
3663 |
-
msgid "Today"
|
3664 |
msgstr ""
|
3665 |
|
3666 |
-
#: includes/class-sp-ajax.php:
|
3667 |
#: includes/widgets/class-sp-widget-event-blocks.php:170
|
3668 |
#: includes/widgets/class-sp-widget-event-list.php:175
|
3669 |
msgid "Number of events to show:"
|
3670 |
msgstr ""
|
3671 |
|
3672 |
-
#: includes/class-sp-ajax.php:
|
3673 |
-
#: includes/class-sp-ajax.php:
|
3674 |
#: includes/widgets/class-sp-widget-event-blocks.php:173
|
3675 |
#: includes/widgets/class-sp-widget-event-list.php:178
|
3676 |
#: includes/widgets/class-sp-widget-player-gallery.php:131
|
@@ -3678,9 +3757,9 @@ msgstr ""
|
|
3678 |
msgid "Sort Order:"
|
3679 |
msgstr ""
|
3680 |
|
3681 |
-
#: includes/class-sp-ajax.php:
|
3682 |
-
#: includes/class-sp-ajax.php:
|
3683 |
-
#: includes/class-sp-ajax.php:
|
3684 |
#: includes/widgets/class-sp-widget-event-list.php:186
|
3685 |
#: includes/widgets/class-sp-widget-league-table.php:100
|
3686 |
#: includes/widgets/class-sp-widget-player-gallery.php:103
|
@@ -3688,60 +3767,69 @@ msgstr ""
|
|
3688 |
msgid "Columns:"
|
3689 |
msgstr ""
|
3690 |
|
3691 |
-
#: includes/class-sp-ajax.php:
|
3692 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3693 |
#: includes/widgets/class-sp-widget-player-gallery.php:106
|
3694 |
#: includes/widgets/class-sp-widget-player-list.php:134
|
3695 |
#: includes/widgets/class-sp-widget-team-gallery.php:103
|
3696 |
msgid "Sort by:"
|
3697 |
msgstr ""
|
3698 |
|
3699 |
-
#: includes/class-sp-ajax.php:
|
3700 |
#: includes/widgets/class-sp-widget-league-table.php:96
|
3701 |
#: includes/widgets/class-sp-widget-team-gallery.php:97
|
3702 |
msgid "Number of teams to show:"
|
3703 |
msgstr ""
|
3704 |
|
3705 |
-
#: includes/class-sp-ajax.php:
|
3706 |
#: includes/widgets/class-sp-widget-league-table.php:120
|
3707 |
#: modules/sportspress-calendars.php:256 modules/sportspress-calendars.php:325
|
3708 |
-
#: modules/sportspress-countdowns.php:86
|
3709 |
#: modules/sportspress-league-tables.php:247
|
3710 |
-
#: modules/sportspress-officials.php:
|
|
|
3711 |
msgid "Display logos"
|
3712 |
msgstr ""
|
3713 |
|
3714 |
-
#: includes/class-sp-ajax.php:
|
3715 |
#: includes/widgets/class-sp-widget-league-table.php:123
|
3716 |
msgid "Display link to view full table"
|
3717 |
msgstr ""
|
3718 |
|
3719 |
-
#: includes/class-sp-ajax.php:
|
3720 |
msgid "Order by"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
-
#: includes/class-sp-ajax.php:
|
3724 |
#: includes/widgets/class-sp-widget-team-gallery.php:106
|
3725 |
msgid "Alphabetical"
|
3726 |
msgstr ""
|
3727 |
|
3728 |
-
#: includes/class-sp-ajax.php:
|
3729 |
#: includes/widgets/class-sp-widget-player-gallery.php:116
|
3730 |
#: includes/widgets/class-sp-widget-team-gallery.php:107
|
3731 |
msgid "Random"
|
3732 |
msgstr ""
|
3733 |
|
3734 |
-
#: includes/class-sp-ajax.php:
|
3735 |
#: includes/widgets/class-sp-widget-player-gallery.php:100
|
3736 |
#: includes/widgets/class-sp-widget-player-list.php:100
|
3737 |
msgid "Number of players to show:"
|
3738 |
msgstr ""
|
3739 |
|
3740 |
-
#: includes/class-sp-ajax.php:
|
3741 |
msgid "#"
|
3742 |
msgstr ""
|
3743 |
|
3744 |
-
#: includes/class-sp-ajax.php:
|
3745 |
#: includes/widgets/class-sp-widget-player-gallery.php:138
|
3746 |
#: includes/widgets/class-sp-widget-player-list.php:163
|
3747 |
msgid "Display link to view all players"
|
@@ -4675,7 +4763,7 @@ msgstr ""
|
|
4675 |
msgid "Standings"
|
4676 |
msgstr ""
|
4677 |
|
4678 |
-
#: includes/class-sp-frontend-scripts.php:
|
4679 |
msgid "Previous"
|
4680 |
msgstr ""
|
4681 |
|
@@ -4691,162 +4779,194 @@ msgstr ""
|
|
4691 |
msgid "League Manager"
|
4692 |
msgstr ""
|
4693 |
|
4694 |
-
#: includes/class-sp-install.php:
|
4695 |
msgid "What's new:"
|
4696 |
msgstr ""
|
4697 |
|
4698 |
-
#: includes/class-sp-league-table.php:
|
4699 |
#: modules/sportspress-league-tables.php:288
|
4700 |
-
#: modules/sportspress-officials.php:
|
4701 |
msgid "Pos"
|
4702 |
msgstr ""
|
4703 |
|
4704 |
#: includes/class-sp-modules.php:33
|
4705 |
-
msgid "
|
4706 |
msgstr ""
|
4707 |
|
4708 |
#: includes/class-sp-modules.php:37
|
4709 |
-
msgid "Display
|
4710 |
msgstr ""
|
4711 |
|
4712 |
#: includes/class-sp-modules.php:40
|
4713 |
-
msgid "
|
4714 |
msgstr ""
|
4715 |
|
4716 |
#: includes/class-sp-modules.php:44
|
4717 |
-
msgid "
|
4718 |
msgstr ""
|
4719 |
|
4720 |
#: includes/class-sp-modules.php:47
|
4721 |
-
msgid "
|
4722 |
msgstr ""
|
4723 |
|
4724 |
#: includes/class-sp-modules.php:51
|
4725 |
-
msgid "
|
4726 |
msgstr ""
|
4727 |
|
4728 |
#: includes/class-sp-modules.php:54
|
4729 |
-
msgid "
|
4730 |
msgstr ""
|
4731 |
|
4732 |
#: includes/class-sp-modules.php:58
|
4733 |
-
msgid "Display
|
4734 |
msgstr ""
|
4735 |
|
4736 |
#: includes/class-sp-modules.php:61
|
4737 |
-
msgid "
|
4738 |
msgstr ""
|
4739 |
|
4740 |
#: includes/class-sp-modules.php:65
|
4741 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4742 |
msgstr ""
|
4743 |
|
4744 |
#: includes/class-sp-modules.php:75
|
4745 |
-
msgid "
|
4746 |
msgstr ""
|
4747 |
|
4748 |
#: includes/class-sp-modules.php:79
|
4749 |
-
msgid "
|
4750 |
msgstr ""
|
4751 |
|
4752 |
#: includes/class-sp-modules.php:82
|
4753 |
-
msgid "
|
4754 |
msgstr ""
|
4755 |
|
4756 |
#: includes/class-sp-modules.php:86
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4757 |
msgid "Create a custom color palette for each team."
|
4758 |
msgstr ""
|
4759 |
|
4760 |
-
#: includes/class-sp-modules.php:
|
4761 |
msgid "Team Access"
|
4762 |
msgstr ""
|
4763 |
|
4764 |
-
#: includes/class-sp-modules.php:
|
4765 |
msgid "Limit user access to data that is related to their team."
|
4766 |
msgstr ""
|
4767 |
|
4768 |
-
#: includes/class-sp-modules.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4769 |
msgid "Directories"
|
4770 |
msgstr ""
|
4771 |
|
4772 |
-
#: includes/class-sp-modules.php:
|
4773 |
msgid "Organize and display staff in list and gallery layouts."
|
4774 |
msgstr ""
|
4775 |
|
4776 |
-
#: includes/class-sp-modules.php:
|
4777 |
msgid "Manage referees, umpires, judges, timekeepers, and other officials."
|
4778 |
msgstr ""
|
4779 |
|
4780 |
-
#: includes/class-sp-modules.php:
|
4781 |
#: modules/sportspress-tutorials.php:135 modules/sportspress-tutorials.php:144
|
4782 |
msgid "Tutorials"
|
4783 |
msgstr ""
|
4784 |
|
4785 |
-
#: includes/class-sp-modules.php:
|
4786 |
msgid "Display a dashboard page with SportsPress video tutorials."
|
4787 |
msgstr ""
|
4788 |
|
4789 |
-
#: includes/class-sp-modules.php:
|
4790 |
msgid "Branding"
|
4791 |
msgstr ""
|
4792 |
|
4793 |
-
#: includes/class-sp-modules.php:
|
4794 |
msgid "Instantly rebrand the dashboard with your own logo and colors."
|
4795 |
msgstr ""
|
4796 |
|
4797 |
-
#: includes/class-sp-modules.php:
|
4798 |
msgid "Duplicator"
|
4799 |
msgstr ""
|
4800 |
|
4801 |
-
#: includes/class-sp-modules.php:
|
4802 |
msgid "Clone anything with just one click. Great for creating multiple events."
|
4803 |
msgstr ""
|
4804 |
|
4805 |
-
#: includes/class-sp-modules.php:
|
4806 |
msgid "Add a Twitter feed to team, player, and staff pages."
|
4807 |
msgstr ""
|
4808 |
|
4809 |
-
#: includes/class-sp-modules.php:
|
4810 |
msgid "Add a Facebook Page widget to embed and promote each team."
|
4811 |
msgstr ""
|
4812 |
|
4813 |
-
#: includes/class-sp-modules.php:
|
4814 |
msgid "Sponsors"
|
4815 |
msgstr ""
|
4816 |
|
4817 |
-
#: includes/class-sp-modules.php:
|
4818 |
msgid "Attract sponsors by offering them advertising space on your website."
|
4819 |
msgstr ""
|
4820 |
|
4821 |
-
#: includes/class-sp-modules.php:
|
4822 |
msgid "BuddyPress"
|
4823 |
msgstr ""
|
4824 |
|
4825 |
-
#: includes/class-sp-modules.php:
|
4826 |
msgid "Easily display SportsPress player information in BuddyPress profiles."
|
4827 |
msgstr ""
|
4828 |
|
4829 |
-
#: includes/class-sp-modules.php:
|
4830 |
msgid "WooCommerce"
|
4831 |
msgstr ""
|
4832 |
|
4833 |
-
#: includes/class-sp-modules.php:
|
4834 |
msgid "Sell team merchandise by integrating WooCommerce with SportsPress."
|
4835 |
msgstr ""
|
4836 |
|
4837 |
-
#: includes/class-sp-modules.php:
|
4838 |
msgid "Yoast SEO"
|
4839 |
msgstr ""
|
4840 |
|
4841 |
-
#: includes/class-sp-modules.php:
|
4842 |
msgid "Generate custom titles for SportsPress pages using Yoast SEO."
|
4843 |
msgstr ""
|
4844 |
|
4845 |
-
#: includes/class-sp-modules.php:
|
4846 |
msgid "Multisite"
|
4847 |
msgstr ""
|
4848 |
|
4849 |
-
#: includes/class-sp-modules.php:
|
4850 |
msgid "Manage multiple sports and display different widgets all on one site."
|
4851 |
msgstr ""
|
4852 |
|
@@ -4861,19 +4981,19 @@ msgstr ""
|
|
4861 |
#: includes/class-sp-post-types.php:325 includes/class-sp-post-types.php:356
|
4862 |
#: includes/class-sp-post-types.php:391
|
4863 |
#: modules/sportspress-bulk-actions.php:100
|
4864 |
-
#: modules/sportspress-officials.php:
|
4865 |
msgid "View"
|
4866 |
msgstr ""
|
4867 |
|
4868 |
#: includes/class-sp-post-types.php:47 includes/class-sp-post-types.php:83
|
4869 |
#: includes/class-sp-post-types.php:119 includes/class-sp-post-types.php:155
|
4870 |
-
#: includes/class-sp-post-types.php:191 modules/sportspress-officials.php:
|
4871 |
msgid "Parent"
|
4872 |
msgstr ""
|
4873 |
|
4874 |
#: includes/class-sp-post-types.php:48 includes/class-sp-post-types.php:84
|
4875 |
#: includes/class-sp-post-types.php:120 includes/class-sp-post-types.php:156
|
4876 |
-
#: includes/class-sp-post-types.php:192 modules/sportspress-officials.php:
|
4877 |
msgid "Parent:"
|
4878 |
msgstr ""
|
4879 |
|
@@ -4882,11 +5002,12 @@ msgstr ""
|
|
4882 |
#: includes/class-sp-post-types.php:193 includes/class-sp-post-types.php:236
|
4883 |
#: includes/class-sp-post-types.php:266 includes/class-sp-post-types.php:296
|
4884 |
#: includes/class-sp-post-types.php:326 includes/class-sp-post-types.php:357
|
4885 |
-
#: includes/class-sp-post-types.php:392 includes/class-sp-post-types.php:
|
4886 |
-
#: includes/class-sp-post-types.php:
|
4887 |
-
#: includes/class-sp-post-types.php:
|
|
|
4888 |
#: modules/sportspress-league-tables.php:74
|
4889 |
-
#: modules/sportspress-officials.php:
|
4890 |
#: modules/sportspress-player-lists.php:74
|
4891 |
msgid "Search"
|
4892 |
msgstr ""
|
@@ -4922,11 +5043,11 @@ msgstr ""
|
|
4922 |
#: includes/class-sp-post-types.php:234 includes/class-sp-post-types.php:264
|
4923 |
#: includes/class-sp-post-types.php:294 includes/class-sp-post-types.php:324
|
4924 |
#: includes/class-sp-post-types.php:355 includes/class-sp-post-types.php:390
|
4925 |
-
#: includes/class-sp-post-types.php:
|
4926 |
-
#: includes/class-sp-post-types.php:
|
4927 |
-
#: modules/sportspress-calendars.php:75
|
4928 |
#: modules/sportspress-league-tables.php:72
|
4929 |
-
#: modules/sportspress-officials.php:
|
4930 |
#: modules/sportspress-player-lists.php:72
|
4931 |
msgid "New"
|
4932 |
msgstr ""
|
@@ -4971,15 +5092,16 @@ msgstr ""
|
|
4971 |
msgid "Edit Performance"
|
4972 |
msgstr ""
|
4973 |
|
4974 |
-
#: includes/class-sp-post-types.php:361
|
|
|
4975 |
msgid "Select Icon"
|
4976 |
msgstr ""
|
4977 |
|
4978 |
-
#: includes/class-sp-post-types.php:362
|
4979 |
msgid "Remove icon"
|
4980 |
msgstr ""
|
4981 |
|
4982 |
-
#: includes/class-sp-post-types.php:363
|
4983 |
msgid "Add icon"
|
4984 |
msgstr ""
|
4985 |
|
@@ -4995,78 +5117,78 @@ msgstr ""
|
|
4995 |
msgid "Edit Statistic"
|
4996 |
msgstr ""
|
4997 |
|
4998 |
-
#: includes/class-sp-post-types.php:
|
4999 |
msgid "Add New Event"
|
5000 |
msgstr ""
|
5001 |
|
5002 |
-
#: includes/class-sp-post-types.php:
|
5003 |
msgid "Edit Event"
|
5004 |
msgstr ""
|
5005 |
|
5006 |
-
#: includes/class-sp-post-types.php:
|
5007 |
msgid "Add New Team"
|
5008 |
msgstr ""
|
5009 |
|
5010 |
-
#: includes/class-sp-post-types.php:
|
5011 |
msgid "Edit Team"
|
5012 |
msgstr ""
|
5013 |
|
5014 |
-
#: includes/class-sp-post-types.php:
|
5015 |
msgid "View Team"
|
5016 |
msgstr ""
|
5017 |
|
5018 |
-
#: includes/class-sp-post-types.php:
|
5019 |
msgid "Select Logo"
|
5020 |
msgstr ""
|
5021 |
|
5022 |
-
#: includes/class-sp-post-types.php:
|
5023 |
msgid "Remove Logo"
|
5024 |
msgstr ""
|
5025 |
|
5026 |
-
#: includes/class-sp-post-types.php:
|
5027 |
msgid "Add New Player"
|
5028 |
msgstr ""
|
5029 |
|
5030 |
-
#: includes/class-sp-post-types.php:
|
5031 |
msgid "Edit Player"
|
5032 |
msgstr ""
|
5033 |
|
5034 |
-
#: includes/class-sp-post-types.php:
|
5035 |
msgid "View Player"
|
5036 |
msgstr ""
|
5037 |
|
5038 |
-
#: includes/class-sp-post-types.php:
|
5039 |
-
#: includes/class-sp-post-types.php:
|
5040 |
-
#: modules/sportspress-officials.php:
|
5041 |
msgid "Select Photo"
|
5042 |
msgstr ""
|
5043 |
|
5044 |
-
#: includes/class-sp-post-types.php:
|
5045 |
-
#: modules/sportspress-officials.php:
|
5046 |
msgid "Remove Photo"
|
5047 |
msgstr ""
|
5048 |
|
5049 |
-
#: includes/class-sp-post-types.php:
|
5050 |
msgid "Add New Staff"
|
5051 |
msgstr ""
|
5052 |
|
5053 |
-
#: includes/class-sp-post-types.php:
|
5054 |
msgid "Edit Staff"
|
5055 |
msgstr ""
|
5056 |
|
5057 |
#: includes/class-sp-templates.php:35 includes/class-sp-templates.php:114
|
5058 |
#: includes/class-sp-templates.php:195 includes/class-sp-templates.php:263
|
5059 |
-
#: includes/sp-core-functions.php:
|
5060 |
msgid "Excerpt"
|
5061 |
msgstr ""
|
5062 |
|
5063 |
-
#: includes/class-sp-templates.php:53 includes/sp-core-functions.php:
|
5064 |
#: modules/sportspress-event-videos.php:56 templates/event-video.php:19
|
5065 |
msgid "Video"
|
5066 |
msgstr ""
|
5067 |
|
5068 |
#: includes/class-sp-templates.php:123 includes/class-sp-templates.php:204
|
5069 |
-
#: includes/class-sp-templates.php:272 includes/sp-core-functions.php:
|
5070 |
msgid "Profile"
|
5071 |
msgstr ""
|
5072 |
|
@@ -5074,100 +5196,110 @@ msgstr ""
|
|
5074 |
msgid "Dropdown"
|
5075 |
msgstr ""
|
5076 |
|
5077 |
-
#: includes/sp-core-functions.php:
|
5078 |
msgid "Published"
|
5079 |
msgstr ""
|
5080 |
|
5081 |
-
#: includes/sp-core-functions.php:
|
5082 |
msgid "Scheduled"
|
5083 |
msgstr ""
|
5084 |
|
5085 |
-
#: includes/sp-core-functions.php:
|
5086 |
msgid "Yesterday"
|
5087 |
msgstr ""
|
5088 |
|
5089 |
-
#: includes/sp-core-functions.php:
|
|
|
|
|
|
|
|
|
|
|
5090 |
msgid "Tomorrow"
|
5091 |
msgstr ""
|
5092 |
|
5093 |
-
#: includes/sp-core-functions.php:
|
5094 |
msgid "Last week"
|
5095 |
msgstr ""
|
5096 |
|
5097 |
-
#: includes/sp-core-functions.php:
|
|
|
|
|
|
|
|
|
|
|
5098 |
msgid "Next week"
|
5099 |
msgstr ""
|
5100 |
|
5101 |
-
#: includes/sp-core-functions.php:
|
5102 |
msgid "Date range:"
|
5103 |
msgstr ""
|
5104 |
|
5105 |
-
#: includes/sp-core-functions.php:
|
5106 |
msgid "(no title)"
|
5107 |
msgstr ""
|
5108 |
|
5109 |
-
#: includes/sp-core-functions.php:
|
5110 |
-
#: modules/sportspress-lazy-loading.php:
|
5111 |
-
#: modules/sportspress-lazy-loading.php:
|
5112 |
msgid "Select All"
|
5113 |
msgstr ""
|
5114 |
|
5115 |
-
#: includes/sp-core-functions.php:
|
5116 |
-
#: modules/sportspress-lazy-loading.php:
|
5117 |
-
#: modules/sportspress-lazy-loading.php:
|
5118 |
-
#: modules/sportspress-lazy-loading.php:
|
5119 |
msgid "Show all"
|
5120 |
msgstr ""
|
5121 |
|
5122 |
-
#: includes/sp-core-functions.php:
|
5123 |
msgid "Canceled"
|
5124 |
msgstr ""
|
5125 |
|
5126 |
-
#: includes/sp-core-functions.php:
|
5127 |
msgid "Fixtures"
|
5128 |
msgstr ""
|
5129 |
|
5130 |
-
#: includes/sp-core-functions.php:
|
5131 |
msgid "Postponed"
|
5132 |
msgstr ""
|
5133 |
|
5134 |
-
#: includes/sp-core-functions.php:
|
5135 |
msgid "TBD"
|
5136 |
msgstr ""
|
5137 |
|
5138 |
-
#: includes/sp-core-functions.php:
|
5139 |
-
#: templates/event-calendar.php:253 templates/event-list.php:
|
5140 |
msgid "View all events"
|
5141 |
msgstr ""
|
5142 |
|
5143 |
-
#: includes/sp-core-functions.php:
|
5144 |
-
#: templates/player-list.php:
|
5145 |
msgid "View all players"
|
5146 |
msgstr ""
|
5147 |
|
5148 |
-
#: includes/sp-core-functions.php:
|
5149 |
msgid "View full table"
|
5150 |
msgstr ""
|
5151 |
|
5152 |
-
#: includes/sp-core-functions.php:
|
5153 |
msgid "Love SportsPress? Help spread the word by rating us 5★ on WordPress.org"
|
5154 |
msgstr ""
|
5155 |
|
5156 |
-
#: includes/sp-template-hooks.php:
|
5157 |
msgid ""
|
5158 |
"The description is not prominent by default; however, some themes may show "
|
5159 |
"it."
|
5160 |
msgstr ""
|
5161 |
|
5162 |
-
#: includes/sp-template-hooks.php:
|
5163 |
msgid "User"
|
5164 |
msgstr ""
|
5165 |
|
5166 |
-
#: includes/sp-template-hooks.php:
|
5167 |
msgid "Date/Time:"
|
5168 |
msgstr ""
|
5169 |
|
5170 |
-
#: includes/sp-template-hooks.php:
|
5171 |
msgid "Now"
|
5172 |
msgstr ""
|
5173 |
|
@@ -5179,11 +5311,11 @@ msgstr ""
|
|
5179 |
msgid "Birthdays"
|
5180 |
msgstr ""
|
5181 |
|
5182 |
-
#: includes/widgets/class-sp-widget-birthdays.php:
|
5183 |
msgid "This month"
|
5184 |
msgstr ""
|
5185 |
|
5186 |
-
#: includes/widgets/class-sp-widget-birthdays.php:
|
5187 |
msgid "Birthday:"
|
5188 |
msgstr ""
|
5189 |
|
@@ -5191,7 +5323,7 @@ msgstr ""
|
|
5191 |
msgid "A clock that counts down to an upcoming event."
|
5192 |
msgstr ""
|
5193 |
|
5194 |
-
#: includes/widgets/class-sp-widget-countdown.php:
|
5195 |
#: includes/widgets/class-sp-widget-event-blocks.php:96
|
5196 |
#: includes/widgets/class-sp-widget-event-list.php:101
|
5197 |
#: includes/widgets/class-sp-widget-league-table.php:76
|
@@ -5201,6 +5333,10 @@ msgstr ""
|
|
5201 |
msgid "Heading:"
|
5202 |
msgstr ""
|
5203 |
|
|
|
|
|
|
|
|
|
5204 |
#: includes/widgets/class-sp-widget-event-blocks.php:5
|
5205 |
#: includes/widgets/class-sp-widget-event-list.php:5
|
5206 |
msgid "A list of events."
|
@@ -5228,10 +5364,6 @@ msgstr ""
|
|
5228 |
msgid "Display a league table."
|
5229 |
msgstr ""
|
5230 |
|
5231 |
-
#: includes/widgets/class-sp-widget-league-table.php:85
|
5232 |
-
msgid "— Select —"
|
5233 |
-
msgstr ""
|
5234 |
-
|
5235 |
#: includes/widgets/class-sp-widget-player-gallery.php:5
|
5236 |
msgid "Display a gallery of players."
|
5237 |
msgstr ""
|
@@ -5339,23 +5471,23 @@ msgstr ""
|
|
5339 |
msgid "Results Only"
|
5340 |
msgstr ""
|
5341 |
|
5342 |
-
#: modules/sportspress-calendars.php:288 modules/sportspress-calendars.php:
|
5343 |
#: modules/sportspress-league-tables.php:254
|
5344 |
-
#: modules/sportspress-officials.php:
|
5345 |
-
#: modules/sportspress-player-lists.php:
|
5346 |
msgid "Pagination"
|
5347 |
msgstr ""
|
5348 |
|
5349 |
-
#: modules/sportspress-calendars.php:289 modules/sportspress-calendars.php:
|
5350 |
#: modules/sportspress-league-tables.php:255
|
5351 |
-
#: modules/sportspress-officials.php:
|
5352 |
-
#: modules/sportspress-player-lists.php:
|
5353 |
msgid "Paginate"
|
5354 |
msgstr ""
|
5355 |
|
5356 |
-
#: modules/sportspress-calendars.php:300 modules/sportspress-calendars.php:
|
5357 |
#: modules/sportspress-league-tables.php:279
|
5358 |
-
#: modules/sportspress-officials.php:
|
5359 |
msgid "events"
|
5360 |
msgstr ""
|
5361 |
|
@@ -5363,6 +5495,82 @@ msgstr ""
|
|
5363 |
msgid "Display season"
|
5364 |
msgstr ""
|
5365 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5366 |
#: modules/sportspress-event-status.php:64
|
5367 |
msgid "On time"
|
5368 |
msgstr ""
|
@@ -5375,11 +5583,11 @@ msgstr ""
|
|
5375 |
msgid "Edit status"
|
5376 |
msgstr ""
|
5377 |
|
5378 |
-
#: modules/sportspress-icons.php:
|
5379 |
msgid "Image"
|
5380 |
msgstr ""
|
5381 |
|
5382 |
-
#: modules/sportspress-lazy-loading.php:
|
5383 |
msgid "Loading…"
|
5384 |
msgstr ""
|
5385 |
|
@@ -5396,54 +5604,72 @@ msgid "View League Table"
|
|
5396 |
msgstr ""
|
5397 |
|
5398 |
#: modules/sportspress-league-tables.php:239
|
5399 |
-
#: modules/sportspress-officials.php:
|
5400 |
#: modules/sportspress-player-lists.php:247
|
5401 |
msgid "Display title"
|
5402 |
msgstr ""
|
5403 |
|
5404 |
#: modules/sportspress-league-tables.php:289
|
5405 |
-
#: modules/sportspress-officials.php:
|
5406 |
msgid "Always increment"
|
5407 |
msgstr ""
|
5408 |
|
5409 |
#: modules/sportspress-league-tables.php:296
|
5410 |
-
#: modules/sportspress-officials.php:
|
5411 |
msgid "Tiebreaker"
|
5412 |
msgstr ""
|
5413 |
|
5414 |
#: modules/sportspress-league-tables.php:302
|
5415 |
-
#: modules/sportspress-officials.php:
|
5416 |
msgid "Head to head"
|
5417 |
msgstr ""
|
5418 |
|
5419 |
-
#: modules/sportspress-
|
5420 |
-
|
|
|
|
|
|
|
|
|
|
|
5421 |
msgstr ""
|
5422 |
|
5423 |
-
#: modules/sportspress-officials.php:
|
|
|
|
|
|
|
|
|
|
|
5424 |
msgid "Edit Duty"
|
5425 |
msgstr ""
|
5426 |
|
5427 |
-
#: modules/sportspress-officials.php:
|
5428 |
msgid "Official"
|
5429 |
msgstr ""
|
5430 |
|
5431 |
-
#: modules/sportspress-officials.php:
|
5432 |
msgid "Add New Official"
|
5433 |
msgstr ""
|
5434 |
|
5435 |
-
#: modules/sportspress-officials.php:
|
5436 |
msgid "Edit Official"
|
5437 |
msgstr ""
|
5438 |
|
5439 |
-
#: modules/sportspress-officials.php:
|
5440 |
msgid "View Official"
|
5441 |
msgstr ""
|
5442 |
|
5443 |
-
#: modules/sportspress-officials.php:
|
5444 |
msgid "Table"
|
5445 |
msgstr ""
|
5446 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5447 |
#: modules/sportspress-overview.php:52 modules/sportspress-overview.php:62
|
5448 |
#: modules/sportspress-tutorials.php:119
|
5449 |
msgid "Overview"
|
@@ -5583,6 +5809,10 @@ msgstr ""
|
|
5583 |
msgid "Cheatin’ huh?"
|
5584 |
msgstr ""
|
5585 |
|
|
|
|
|
|
|
|
|
5586 |
#: templates/event-calendar.php:124 templates/event-calendar.php:152
|
5587 |
#: templates/event-calendar.php:160
|
5588 |
#, php-format
|
@@ -5590,6 +5820,11 @@ msgctxt "calendar caption"
|
|
5590 |
msgid "%1$s %2$s"
|
5591 |
msgstr ""
|
5592 |
|
|
|
|
|
|
|
|
|
|
|
5593 |
#: templates/team-gallery.php:140
|
5594 |
msgid "View all teams"
|
5595 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: SportsPress\n"
|
5 |
+
"POT-Creation-Date: 2019-03-30 12:45+0100\n"
|
6 |
"PO-Revision-Date: 2016-03-19 20:08+1100\n"
|
7 |
"Last-Translator: Brian Miyaji <brian@themeboy.com>\n"
|
8 |
"Language-Team: ThemeBoy <support@themeboy.com>\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 2.0.6\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
29 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:74
|
30 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:140
|
31 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:82
|
32 |
+
#: includes/admin/settings/class-sp-settings-events.php:310
|
33 |
+
#: includes/admin/settings/class-sp-settings-events.php:365
|
34 |
+
#: includes/admin/settings/class-sp-settings-general.php:133
|
35 |
+
#: includes/admin/settings/class-sp-settings-general.php:216
|
36 |
#: includes/admin/settings/class-sp-settings-players.php:147
|
37 |
msgid "Auto"
|
38 |
msgstr ""
|
40 |
#: assets/js/admin/editor-lang.php:26
|
41 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:141
|
42 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:83
|
43 |
+
#: includes/admin/settings/class-sp-settings-events.php:311
|
44 |
+
#: includes/admin/settings/class-sp-settings-events.php:366
|
45 |
#: includes/admin/settings/class-sp-settings-players.php:148
|
46 |
msgid "Manual"
|
47 |
msgstr ""
|
51 |
msgstr ""
|
52 |
|
53 |
#: assets/js/admin/editor-lang.php:28
|
54 |
+
#: includes/admin/class-sp-admin-importers.php:63
|
55 |
#: includes/admin/class-sp-admin-sample-data.php:365
|
56 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:747
|
57 |
#: includes/admin/importers/class-sp-event-importer.php:150
|
58 |
#: includes/admin/importers/class-sp-event-importer.php:309
|
59 |
+
#: includes/admin/importers/class-sp-event-performance-importer.php:157
|
60 |
+
#: includes/admin/importers/class-sp-event-performance-importer.php:179
|
61 |
#: includes/admin/importers/class-sp-fixture-importer.php:117
|
62 |
#: includes/admin/importers/class-sp-fixture-importer.php:204
|
63 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:134
|
64 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:293
|
65 |
+
#: includes/class-sp-ajax.php:62 includes/class-sp-ajax.php:107
|
66 |
+
#: includes/class-sp-ajax.php:137 includes/class-sp-ajax.php:167
|
67 |
+
#: includes/class-sp-ajax.php:197 includes/class-sp-ajax.php:227
|
68 |
+
#: includes/class-sp-ajax.php:257 includes/class-sp-ajax.php:287
|
69 |
+
#: includes/class-sp-ajax.php:624 includes/class-sp-post-types.php:418
|
70 |
+
#: includes/sp-core-functions.php:1575
|
71 |
+
#: includes/widgets/class-sp-widget-countdown.php:109
|
72 |
#: includes/widgets/class-sp-widget-event-list.php:189
|
73 |
+
#: templates/event-list.php:144 templates/event-list.php:311
|
74 |
msgid "Event"
|
75 |
msgstr ""
|
76 |
|
81 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:73
|
82 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:89
|
83 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:98
|
84 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:134
|
85 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:164
|
86 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:193
|
87 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:222
|
88 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:267
|
89 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:24
|
90 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:219
|
91 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:27
|
92 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
|
93 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
|
97 |
#: includes/admin/settings/class-sp-settings-staff.php:61
|
98 |
#: includes/class-sp-templates.php:59 includes/class-sp-templates.php:139
|
99 |
#: includes/class-sp-templates.php:189 includes/class-sp-templates.php:257
|
100 |
+
#: includes/sp-core-functions.php:1574 modules/sportspress-calendars.php:205
|
101 |
#: modules/sportspress-calendars.php:332
|
102 |
#: modules/sportspress-league-tables.php:197
|
|
|
103 |
#: modules/sportspress-player-lists.php:205 templates/event-details.php:61
|
104 |
msgid "Details"
|
105 |
msgstr ""
|
106 |
|
107 |
#: assets/js/admin/editor-lang.php:30
|
108 |
#: includes/admin/importers/class-sp-event-importer.php:30
|
109 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:148
|
110 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:47
|
111 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:86
|
112 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:23
|
113 |
#: includes/admin/settings/class-sp-settings-events.php:263
|
114 |
+
#: includes/api/class-sp-rest-api.php:225 includes/class-sp-templates.php:71
|
115 |
+
#: includes/sp-core-functions.php:1599
|
116 |
#: includes/widgets/class-sp-widget-event-list.php:202
|
117 |
+
#: templates/event-fixtures-results.php:80 templates/event-list.php:128
|
118 |
+
#: templates/event-list.php:153 templates/event-list.php:161
|
119 |
+
#: templates/event-list.php:280 templates/event-list.php:325
|
120 |
+
#: templates/event-list.php:347 templates/event-results.php:21
|
121 |
msgid "Results"
|
122 |
msgstr ""
|
123 |
|
128 |
msgstr ""
|
129 |
|
130 |
#: assets/js/admin/editor-lang.php:32
|
131 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:155
|
132 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:25
|
133 |
+
#: includes/admin/settings/class-sp-settings-events.php:329
|
134 |
+
#: includes/api/class-sp-rest-api.php:241 includes/class-sp-templates.php:77
|
135 |
+
#: includes/sp-core-functions.php:1568 modules/sportspress-tutorials.php:103
|
136 |
+
#: templates/event-performance.php:118
|
137 |
msgid "Box Score"
|
138 |
msgstr ""
|
139 |
|
140 |
#: assets/js/admin/editor-lang.php:33
|
141 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:80
|
142 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:540
|
143 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:583
|
144 |
+
#: includes/admin/importers/class-sp-event-importer.php:28
|
145 |
+
#: includes/admin/importers/class-sp-fixture-importer.php:28
|
146 |
+
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:51
|
147 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:131
|
148 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:52
|
149 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:107
|
150 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
|
151 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:47
|
152 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:26
|
153 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:102
|
154 |
+
#: includes/admin/settings/class-sp-settings-teams.php:70
|
155 |
+
#: includes/class-sp-ajax.php:629 includes/class-sp-post-types.php:112
|
156 |
+
#: includes/class-sp-templates.php:65 includes/sp-core-functions.php:1609
|
157 |
+
#: includes/widgets/class-sp-widget-event-list.php:206
|
158 |
+
#: templates/event-list.php:176 templates/event-list.php:392
|
159 |
+
#: templates/event-list.php:405 templates/event-venue.php:37
|
160 |
+
msgid "Venue"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: assets/js/admin/editor-lang.php:34
|
164 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php:52
|
165 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:27
|
166 |
+
#: includes/class-sp-modules.php:139 modules/sportspress-officials.php:131
|
167 |
+
#: modules/sportspress-officials.php:316 modules/sportspress-officials.php:331
|
168 |
+
#: modules/sportspress-officials.php:343 modules/sportspress-officials.php:431
|
169 |
+
#: modules/sportspress-officials.php:446 modules/sportspress-officials.php:463
|
170 |
+
#: templates/event-officials-list.php:15 templates/event-officials-table.php:15
|
171 |
+
msgid "Officials"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: assets/js/admin/editor-lang.php:35
|
175 |
+
#: includes/admin/class-sp-admin-permalink-settings.php:28
|
176 |
+
#: includes/admin/class-sp-admin-sample-data.php:166
|
177 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:70
|
178 |
+
#: includes/admin/importers/class-sp-event-importer.php:29
|
179 |
+
#: includes/admin/importers/class-sp-player-importer.php:29
|
180 |
+
#: includes/admin/importers/class-sp-staff-importer.php:28
|
181 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:128
|
182 |
+
#: includes/admin/post-types/class-sp-admin-cpt-player.php:76
|
183 |
+
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:66
|
184 |
+
#: includes/admin/post-types/class-sp-admin-cpt-table.php:51
|
185 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:141
|
186 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:35
|
187 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:62
|
188 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:28
|
189 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:118
|
190 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:133
|
191 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:94
|
192 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:109
|
193 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:58
|
194 |
+
#: includes/admin/settings/class-sp-settings-events.php:127
|
195 |
+
#: includes/admin/settings/class-sp-settings-events.php:222
|
196 |
+
#: includes/admin/settings/class-sp-settings-modules.php:35
|
197 |
+
#: includes/admin/settings/class-sp-settings-teams.php:25
|
198 |
+
#: includes/api/class-sp-rest-api.php:68 includes/api/class-sp-rest-api.php:368
|
199 |
+
#: includes/api/class-sp-rest-api.php:464 includes/class-sp-ajax.php:625
|
200 |
+
#: includes/class-sp-post-types.php:454 includes/class-sp-templates.php:29
|
201 |
+
#: includes/sp-core-functions.php:615 includes/sp-core-functions.php:1605
|
202 |
+
#: modules/sportspress-calendars.php:255 modules/sportspress-calendars.php:269
|
203 |
+
#: modules/sportspress-calendars.php:324
|
204 |
+
#: modules/sportspress-league-tables.php:246
|
205 |
+
#: modules/sportspress-officials.php:356
|
206 |
+
#: modules/sportspress-player-lists.php:271
|
207 |
+
#: modules/sportspress-player-lists.php:279
|
208 |
+
#: modules/sportspress-tutorials.php:78 modules/sportspress-tutorials.php:108
|
209 |
+
#: modules/sportspress-wordpay.php:199 templates/event-list.php:142
|
210 |
+
#: templates/event-list.php:307
|
211 |
+
msgid "Teams"
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: assets/js/admin/editor-lang.php:36
|
215 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:29
|
216 |
+
msgid "Full Info"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: assets/js/admin/editor-lang.php:37
|
220 |
#: includes/admin/class-sp-admin-sample-data.php:472
|
221 |
+
#: includes/class-sp-ajax.php:317 includes/class-sp-ajax.php:470
|
222 |
+
#: includes/class-sp-ajax.php:677 includes/class-sp-formats.php:31
|
223 |
#: includes/class-sp-templates.php:98
|
224 |
+
#: includes/widgets/class-sp-widget-countdown.php:75
|
225 |
#: includes/widgets/class-sp-widget-event-blocks.php:99
|
226 |
#: includes/widgets/class-sp-widget-event-calendar.php:87
|
227 |
#: includes/widgets/class-sp-widget-event-list.php:104
|
228 |
#: modules/sportspress-bulk-actions.php:69 modules/sportspress-calendars.php:72
|
229 |
+
#: modules/sportspress-calendars.php:408 modules/sportspress-calendars.php:447
|
230 |
msgid "Calendar"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: assets/js/admin/editor-lang.php:38
|
234 |
+
#: includes/admin/class-sp-admin-taxonomies.php:194
|
235 |
+
#: includes/admin/class-sp-admin-taxonomies.php:218
|
236 |
+
#: includes/admin/class-sp-admin-taxonomies.php:317
|
237 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:207
|
238 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:57
|
239 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:31
|
240 |
#: includes/admin/settings/class-sp-settings-players.php:139
|
241 |
+
#: includes/api/class-sp-rest-api.php:448 includes/class-sp-post-types.php:386
|
242 |
+
#: includes/class-sp-templates.php:213 includes/sp-core-functions.php:1602
|
243 |
msgid "Statistics"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: assets/js/admin/editor-lang.php:39
|
247 |
#: includes/admin/class-sp-admin-sample-data.php:166
|
248 |
+
#: includes/admin/importers/class-sp-event-performance-importer.php:190
|
249 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:52
|
250 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:51
|
251 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:70
|
252 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:110
|
253 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:243
|
254 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:42
|
255 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:60
|
256 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:81
|
257 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:107
|
258 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:82
|
259 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:153
|
260 |
+
#: includes/admin/settings/class-sp-settings-events.php:488
|
261 |
+
#: includes/admin/settings/class-sp-settings-events.php:490
|
262 |
+
#: includes/class-sp-ajax.php:1140 includes/class-sp-league-table.php:771
|
263 |
+
#: includes/class-sp-player-list.php:695 includes/class-sp-player-list.php:742
|
264 |
+
#: includes/class-sp-player.php:756 includes/class-sp-player.php:778
|
265 |
+
#: includes/class-sp-post-types.php:455 includes/sp-core-functions.php:616
|
266 |
+
#: includes/sp-core-functions.php:1604
|
267 |
+
#: includes/widgets/class-sp-widget-countdown.php:92
|
268 |
#: modules/sportspress-user-registration.php:118
|
269 |
#: modules/sportspress-user-registration.php:124
|
270 |
#: modules/sportspress-wordpay.php:158 modules/sportspress-wordpay.php:164
|
271 |
+
#: templates/event-results.php:104
|
272 |
msgid "Team"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: assets/js/admin/editor-lang.php:40
|
276 |
#: includes/admin/class-sp-admin-sample-data.php:506
|
277 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:55
|
278 |
+
#: includes/class-sp-ajax.php:868 includes/class-sp-ajax.php:941
|
279 |
+
#: includes/class-sp-templates.php:166 includes/sp-core-functions.php:1582
|
280 |
#: includes/widgets/class-sp-widget-league-table.php:6
|
281 |
#: includes/widgets/class-sp-widget-league-table.php:79
|
282 |
#: includes/widgets/class-sp-widget-team-gallery.php:81
|
287 |
msgid "League Table"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: assets/js/admin/editor-lang.php:41
|
291 |
#: includes/admin/class-sp-admin-sample-data.php:210
|
292 |
#: includes/admin/importers/class-sp-event-performance-importer.php:26
|
293 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:312
|
294 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:58
|
295 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:185
|
296 |
+
#: includes/class-sp-ajax.php:999 includes/class-sp-ajax.php:1029
|
297 |
+
#: includes/class-sp-install.php:138 includes/class-sp-player-list.php:740
|
298 |
+
#: includes/class-sp-post-types.php:492 includes/sp-core-functions.php:620
|
299 |
+
#: includes/sp-core-functions.php:1589 templates/event-performance-table.php:50
|
300 |
+
#: templates/event-performance-table.php:193
|
301 |
msgid "Player"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: assets/js/admin/editor-lang.php:42 includes/class-sp-formats.php:32
|
305 |
+
#: includes/class-sp-formats.php:40 modules/sportspress-calendars.php:409
|
306 |
+
#: modules/sportspress-calendars.php:448 modules/sportspress-officials.php:452
|
307 |
msgid "List"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: assets/js/admin/editor-lang.php:43 includes/class-sp-formats.php:33
|
311 |
+
#: modules/sportspress-calendars.php:407 modules/sportspress-calendars.php:446
|
312 |
msgid "Blocks"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: assets/js/admin/editor-lang.php:44 includes/class-sp-formats.php:37
|
316 |
#: includes/class-sp-formats.php:41
|
317 |
msgid "Gallery"
|
318 |
msgstr ""
|
321 |
msgid "ERROR: This is not a valid feed template."
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: includes/admin/class-sp-admin-assets.php:110
|
325 |
+
#: includes/admin/class-sp-admin-settings.php:135
|
326 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:119
|
327 |
#: includes/admin/importers/class-sp-event-importer.php:491
|
328 |
#: includes/admin/importers/class-sp-event-importer.php:506
|
329 |
#: includes/admin/importers/class-sp-fixture-importer.php:299
|
330 |
#: includes/admin/importers/class-sp-fixture-importer.php:314
|
331 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:227
|
332 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:43
|
333 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:558
|
334 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:133
|
335 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:104
|
336 |
+
#: includes/admin/settings/class-sp-settings-events.php:387
|
337 |
+
#: includes/admin/settings/class-sp-settings-status.php:263
|
338 |
#: includes/admin/views/html-admin-page-status.php:224
|
339 |
#: modules/sportspress-league-tables.php:301
|
340 |
+
#: modules/sportspress-officials.php:411
|
341 |
#: modules/sportspress-widget-alignment.php:69
|
342 |
msgid "None"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: includes/admin/class-sp-admin-assets.php:111
|
346 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:120
|
347 |
msgid "— Remove —"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: includes/admin/class-sp-admin-assets.php:112
|
351 |
#: includes/admin/class-sp-admin-dashboard.php:80
|
352 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:84
|
353 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:88
|
354 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:64
|
355 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:59
|
356 |
+
#: includes/class-sp-ajax.php:418 includes/class-sp-ajax.php:422
|
357 |
+
#: includes/class-sp-ajax.php:583 includes/class-sp-ajax.php:587
|
358 |
+
#: includes/class-sp-ajax.php:790 includes/class-sp-ajax.php:794
|
359 |
+
#: includes/class-sp-frontend-scripts.php:78
|
360 |
#: includes/widgets/class-sp-widget-event-blocks.php:155
|
361 |
#: includes/widgets/class-sp-widget-event-calendar.php:143
|
362 |
#: includes/widgets/class-sp-widget-event-list.php:160
|
363 |
+
#: templates/countdown.php:163
|
364 |
msgid "days"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: includes/admin/class-sp-admin-assets.php:113
|
368 |
+
#: includes/class-sp-frontend-scripts.php:78 templates/countdown.php:164
|
369 |
msgid "hrs"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: includes/admin/class-sp-admin-assets.php:114
|
373 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:37
|
374 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:483
|
375 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:503
|
376 |
#: includes/admin/settings/class-sp-settings-events.php:148
|
377 |
+
#: includes/class-sp-frontend-scripts.php:78 templates/countdown.php:165
|
378 |
msgid "mins"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: includes/admin/class-sp-admin-assets.php:115
|
382 |
+
#: includes/class-sp-frontend-scripts.php:78 templates/countdown.php:166
|
383 |
msgid "secs"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: includes/admin/class-sp-admin-assets.php:116
|
387 |
#: includes/admin/importers/class-sp-importer.php:178
|
388 |
#, php-format
|
389 |
msgid "Displaying %s–%s of %s"
|
392 |
#: includes/admin/class-sp-admin-dashboard.php:34
|
393 |
#: includes/admin/class-sp-admin-menus.php:47
|
394 |
#: includes/admin/class-sp-admin-permalink-settings.php:47
|
395 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:153
|
396 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:158
|
397 |
#: includes/admin/class-sp-admin-welcome.php:107
|
398 |
#: includes/admin/views/html-admin-settings.php:2
|
399 |
#: modules/sportspress-admin-bar.php:56 modules/sportspress-overview.php:78
|
429 |
msgstr[0] ""
|
430 |
msgstr[1] ""
|
431 |
|
432 |
+
#: includes/admin/class-sp-admin-importers.php:34
|
433 |
msgid "SportsPress Events (CSV)"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: includes/admin/class-sp-admin-importers.php:35
|
437 |
msgid "Import <strong>events</strong> from a csv file."
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: includes/admin/class-sp-admin-importers.php:39
|
441 |
msgid "SportsPress Fixtures (CSV)"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: includes/admin/class-sp-admin-importers.php:40
|
445 |
msgid "Import <strong>upcoming events</strong> from a csv file."
|
446 |
msgstr ""
|
447 |
|
|
|
|
|
|
|
|
|
448 |
#: includes/admin/class-sp-admin-importers.php:44
|
|
|
|
|
|
|
|
|
449 |
msgid "SportsPress Teams (CSV)"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: includes/admin/class-sp-admin-importers.php:45
|
453 |
msgid "Import <strong>teams</strong> from a csv file."
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: includes/admin/class-sp-admin-importers.php:49
|
457 |
msgid "SportsPress Players (CSV)"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: includes/admin/class-sp-admin-importers.php:50
|
461 |
msgid "Import <strong>players</strong> from a csv file."
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: includes/admin/class-sp-admin-importers.php:54
|
465 |
msgid "SportsPress Staff (CSV)"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: includes/admin/class-sp-admin-importers.php:55
|
469 |
msgid "Import <strong>staff</strong> from a csv file."
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: includes/admin/class-sp-admin-importers.php:62
|
473 |
+
msgid "SportsPress Box Score (CSV)"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: includes/admin/class-sp-admin-importers.php:63
|
477 |
+
#: includes/admin/importers/class-sp-event-performance-importer.php:157
|
478 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:267
|
479 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php:52
|
480 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:171
|
481 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:219
|
482 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:83
|
483 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:102
|
484 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:118
|
485 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:133
|
486 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:149
|
487 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:166
|
488 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:65
|
489 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:76
|
490 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:94
|
491 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:109
|
492 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:124
|
493 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:139
|
494 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:140
|
495 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:184
|
496 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:68
|
497 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:85
|
498 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:102
|
499 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
|
500 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
|
501 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:106
|
502 |
+
#: modules/sportspress-user-registration.php:124
|
503 |
+
#: modules/sportspress-wordpay.php:164
|
504 |
+
#, php-format
|
505 |
+
msgid "Select %s"
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
#: includes/admin/class-sp-admin-menus.php:54
|
509 |
+
#: includes/admin/class-sp-admin-settings.php:485
|
510 |
#: includes/admin/views/html-admin-config.php:7
|
511 |
msgid "Configure"
|
512 |
msgstr ""
|
513 |
|
514 |
#: includes/admin/class-sp-admin-menus.php:61
|
515 |
+
#: includes/admin/class-sp-admin-menus.php:250
|
516 |
#: includes/admin/class-sp-admin-permalink-settings.php:29
|
517 |
#: includes/admin/importers/class-sp-player-importer.php:30
|
518 |
#: includes/admin/importers/class-sp-staff-importer.php:29
|
520 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:77
|
521 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:67
|
522 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:67
|
523 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:142
|
524 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:149
|
525 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:117
|
526 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:124
|
527 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:61
|
528 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:68
|
529 |
#: includes/admin/settings/class-sp-settings-players.php:110
|
530 |
+
#: includes/admin/settings/class-sp-settings-status.php:337
|
531 |
#: includes/admin/views/html-admin-page-status.php:296
|
532 |
#: includes/class-sp-post-types.php:39 includes/class-sp-post-types.php:53
|
533 |
+
#: modules/sportspress-tutorials.php:74 templates/official-details.php:106
|
534 |
+
#: templates/player-details.php:106 templates/team-details.php:24
|
535 |
msgid "Leagues"
|
536 |
msgstr ""
|
537 |
|
538 |
#: includes/admin/class-sp-admin-menus.php:68
|
539 |
+
#: includes/admin/class-sp-admin-menus.php:258
|
540 |
#: includes/admin/class-sp-admin-permalink-settings.php:30
|
541 |
#: includes/admin/importers/class-sp-player-importer.php:31
|
542 |
#: includes/admin/importers/class-sp-staff-importer.php:30
|
544 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:78
|
545 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:68
|
546 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:68
|
547 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:159
|
548 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:166
|
549 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:132
|
550 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:139
|
551 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:78
|
552 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:85
|
553 |
#: includes/admin/settings/class-sp-settings-players.php:118
|
554 |
+
#: includes/admin/settings/class-sp-settings-status.php:347
|
555 |
#: includes/admin/views/html-admin-page-status.php:306
|
556 |
#: includes/class-sp-post-types.php:75 includes/class-sp-post-types.php:89
|
557 |
+
#: modules/sportspress-tutorials.php:74 templates/official-details.php:117
|
558 |
+
#: templates/player-details.php:117 templates/team-details.php:33
|
559 |
msgid "Seasons"
|
560 |
msgstr ""
|
561 |
|
565 |
msgid "Settings"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: includes/admin/class-sp-admin-menus.php:246
|
569 |
#: includes/admin/importers/class-sp-event-importer.php:492
|
570 |
#: includes/admin/importers/class-sp-event-importer.php:507
|
571 |
#: includes/admin/importers/class-sp-fixture-importer.php:300
|
572 |
#: includes/admin/importers/class-sp-fixture-importer.php:315
|
573 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:124
|
574 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:64
|
575 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php:59
|
576 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-specs.php:43
|
577 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:136
|
578 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:92
|
579 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:147
|
585 |
#: includes/admin/views/html-admin-config.php:238
|
586 |
#: includes/admin/views/html-admin-config.php:291
|
587 |
#: includes/admin/views/html-admin-config.php:341
|
588 |
+
#: includes/admin/views/html-admin-config.php:424
|
589 |
#: includes/class-sp-post-types.php:45 includes/class-sp-post-types.php:81
|
590 |
#: includes/class-sp-post-types.php:117 includes/class-sp-post-types.php:153
|
591 |
+
#: includes/class-sp-post-types.php:189 includes/sp-core-functions.php:1220
|
592 |
+
#: includes/sp-core-functions.php:1237
|
593 |
+
#: includes/widgets/class-sp-widget-countdown.php:87
|
594 |
+
#: includes/widgets/class-sp-widget-countdown.php:104
|
595 |
+
#: includes/widgets/class-sp-widget-countdown.php:124
|
596 |
#: includes/widgets/class-sp-widget-event-blocks.php:111
|
597 |
#: includes/widgets/class-sp-widget-event-calendar.php:99
|
598 |
#: includes/widgets/class-sp-widget-event-list.php:116
|
603 |
#: includes/widgets/class-sp-widget-player-list.php:151
|
604 |
#: includes/widgets/class-sp-widget-staff.php:68
|
605 |
#: includes/widgets/class-sp-widget-team-gallery.php:92
|
606 |
+
#: modules/sportspress-event-specs.php:168 modules/sportspress-officials.php:89
|
607 |
msgid "Add New"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: includes/admin/class-sp-admin-menus.php:254
|
611 |
#: includes/admin/class-sp-admin-permalink-settings.php:33
|
612 |
#: includes/admin/importers/class-sp-player-importer.php:28
|
613 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:75
|
614 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:95
|
615 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:102
|
616 |
+
#: includes/admin/settings/class-sp-settings-events.php:395
|
617 |
+
#: includes/admin/settings/class-sp-settings-status.php:367
|
618 |
#: includes/admin/views/html-admin-page-status.php:326
|
619 |
#: includes/class-sp-post-types.php:147 includes/class-sp-post-types.php:161
|
620 |
#: modules/sportspress-tutorials.php:76
|
621 |
msgid "Positions"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: includes/admin/class-sp-admin-menus.php:262
|
625 |
#: includes/admin/class-sp-admin-permalink-settings.php:26
|
626 |
#: includes/admin/settings/class-sp-settings-events.php:171
|
627 |
+
#: includes/admin/settings/class-sp-settings-status.php:357
|
628 |
#: includes/admin/views/html-admin-page-status.php:316
|
629 |
#: includes/class-sp-post-types.php:111 includes/class-sp-post-types.php:125
|
630 |
#: modules/sportspress-tutorials.php:75
|
636 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:53
|
637 |
#: includes/admin/settings/class-sp-settings-events.php:25
|
638 |
#: includes/admin/settings/class-sp-settings-modules.php:34
|
639 |
+
#: includes/api/class-sp-rest-api.php:304 includes/class-sp-post-types.php:417
|
640 |
+
#: includes/sp-core-functions.php:1576 modules/sportspress-calendars.php:160
|
641 |
+
#: modules/sportspress-calendars.php:212 modules/sportspress-calendars.php:402
|
642 |
+
#: modules/sportspress-calendars.php:424 modules/sportspress-calendars.php:441
|
643 |
+
#: modules/sportspress-calendars.php:463 modules/sportspress-tutorials.php:90
|
644 |
#: modules/sportspress-tutorials.php:101
|
645 |
msgid "Events"
|
646 |
msgstr ""
|
653 |
msgid "Calendars"
|
654 |
msgstr ""
|
655 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
656 |
#: includes/admin/class-sp-admin-permalink-settings.php:31
|
657 |
#: includes/admin/class-sp-admin-sample-data.php:506
|
658 |
+
#: includes/api/class-sp-rest-api.php:273 includes/class-sp-modules.php:91
|
659 |
#: modules/sportspress-league-tables.php:68
|
660 |
#: modules/sportspress-league-tables.php:169
|
661 |
#: modules/sportspress-league-tables.php:233
|
667 |
#: includes/admin/class-sp-admin-permalink-settings.php:32
|
668 |
#: includes/admin/class-sp-admin-sample-data.php:210
|
669 |
#: includes/admin/class-sp-admin-setup-wizard.php:75
|
670 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:432
|
671 |
#: includes/admin/importers/class-sp-event-importer.php:32
|
672 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:52
|
673 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:89
|
674 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:137
|
675 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:58
|
676 |
+
#: includes/admin/settings/class-sp-settings-events.php:276
|
677 |
+
#: includes/admin/settings/class-sp-settings-events.php:344
|
678 |
#: includes/admin/settings/class-sp-settings-modules.php:36
|
679 |
#: includes/admin/settings/class-sp-settings-players.php:25
|
680 |
+
#: includes/api/class-sp-rest-api.php:161 includes/class-sp-post-types.php:491
|
681 |
+
#: includes/class-sp-templates.php:177 includes/sp-core-functions.php:619
|
682 |
+
#: includes/sp-core-functions.php:1591 modules/sportspress-player-lists.php:254
|
683 |
+
#: modules/sportspress-player-lists.php:326
|
684 |
#: modules/sportspress-tutorials.php:82 modules/sportspress-tutorials.php:113
|
685 |
#: modules/sportspress-wordpay.php:200
|
686 |
msgid "Players"
|
689 |
#: includes/admin/class-sp-admin-permalink-settings.php:34
|
690 |
#: includes/admin/class-sp-admin-sample-data.php:548
|
691 |
#: includes/admin/class-sp-admin-sample-data.php:593
|
692 |
+
#: includes/api/class-sp-rest-api.php:289 includes/class-sp-modules.php:119
|
693 |
#: modules/sportspress-player-lists.php:68
|
694 |
#: modules/sportspress-player-lists.php:177
|
695 |
#: modules/sportspress-player-lists.php:241
|
696 |
+
#: modules/sportspress-player-lists.php:325
|
697 |
msgid "Player Lists"
|
698 |
msgstr ""
|
699 |
|
700 |
#: includes/admin/class-sp-admin-permalink-settings.php:35
|
701 |
#: includes/admin/class-sp-admin-sample-data.php:305
|
702 |
#: includes/admin/class-sp-admin-setup-wizard.php:75
|
703 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:443
|
704 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:171
|
705 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:94
|
706 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:55
|
707 |
+
#: includes/admin/settings/class-sp-settings-events.php:336
|
708 |
#: includes/admin/settings/class-sp-settings-modules.php:36
|
709 |
#: includes/admin/settings/class-sp-settings-staff.php:25
|
710 |
+
#: includes/admin/settings/class-sp-settings-teams.php:54
|
711 |
+
#: includes/api/class-sp-rest-api.php:209
|
712 |
+
#: includes/api/class-sp-rest-api.php:257 includes/class-sp-install.php:170
|
713 |
+
#: includes/class-sp-post-types.php:528 includes/class-sp-post-types.php:529
|
714 |
#: includes/class-sp-templates.php:145 includes/class-sp-templates.php:245
|
715 |
+
#: includes/sp-core-functions.php:1601
|
716 |
#: includes/widgets/class-sp-widget-staff.php:6
|
717 |
#: includes/widgets/class-sp-widget-staff.php:57
|
718 |
#: modules/sportspress-tutorials.php:82 templates/event-staff.php:44
|
726 |
msgstr ""
|
727 |
|
728 |
#: includes/admin/class-sp-admin-post-types.php:75
|
729 |
+
#: includes/sp-template-hooks.php:264
|
730 |
msgid "Settings saved."
|
731 |
msgstr ""
|
732 |
|
736 |
#: includes/admin/views/html-admin-config.php:237
|
737 |
#: includes/admin/views/html-admin-config.php:290
|
738 |
#: includes/admin/views/html-admin-config.php:340
|
739 |
+
#: includes/admin/views/html-admin-config.php:423
|
740 |
+
#: includes/sp-template-hooks.php:266 modules/sportspress-event-specs.php:167
|
741 |
+
#: modules/sportspress-overview.php:284
|
742 |
msgid "View All"
|
743 |
msgstr ""
|
744 |
|
745 |
#: includes/admin/class-sp-admin-post-types.php:82
|
746 |
#: includes/admin/class-sp-admin-post-types.php:85
|
747 |
#: includes/admin/class-sp-admin-post-types.php:90
|
748 |
+
#: includes/sp-template-hooks.php:272 includes/sp-template-hooks.php:275
|
749 |
+
#: includes/sp-template-hooks.php:280
|
750 |
msgid "Changes saved."
|
751 |
msgstr ""
|
752 |
|
753 |
#: includes/admin/class-sp-admin-post-types.php:87
|
754 |
#: includes/admin/class-sp-admin-post-types.php:92
|
755 |
#: includes/admin/class-sp-admin-post-types.php:102
|
756 |
+
#: includes/sp-template-hooks.php:277 includes/sp-template-hooks.php:282
|
757 |
+
#: includes/sp-template-hooks.php:292
|
758 |
msgid "Success!"
|
759 |
msgstr ""
|
760 |
|
761 |
#: includes/admin/class-sp-admin-post-types.php:94
|
762 |
#: includes/admin/class-sp-admin-post-types.php:100
|
763 |
#: includes/admin/class-sp-admin-post-types.php:104
|
764 |
+
#: includes/sp-template-hooks.php:284 includes/sp-template-hooks.php:290
|
765 |
+
#: includes/sp-template-hooks.php:294
|
766 |
#, php-format
|
767 |
msgid "Preview %s"
|
768 |
msgstr ""
|
769 |
|
770 |
#: includes/admin/class-sp-admin-post-types.php:97
|
771 |
+
#: includes/sp-template-hooks.php:287
|
772 |
#, php-format
|
773 |
msgid "Scheduled for: <b>%1$s</b>."
|
774 |
msgstr ""
|
775 |
|
776 |
#: includes/admin/class-sp-admin-post-types.php:98
|
777 |
+
#: includes/sp-template-hooks.php:288
|
778 |
msgid "M j, Y @ G:i"
|
779 |
msgstr ""
|
780 |
|
781 |
#: includes/admin/class-sp-admin-sample-data.php:44
|
782 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:291
|
783 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:341
|
784 |
msgctxt "example"
|
785 |
msgid "Primary League"
|
786 |
msgstr ""
|
791 |
msgstr ""
|
792 |
|
793 |
#: includes/admin/class-sp-admin-sample-data.php:110
|
794 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:658
|
795 |
#, php-format
|
796 |
msgctxt "example"
|
797 |
msgid ""
|
813 |
#: includes/admin/class-sp-admin-sample-data.php:548
|
814 |
#: includes/admin/class-sp-admin-sample-data.php:593
|
815 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:55
|
816 |
+
#: includes/class-sp-ajax.php:1065 includes/class-sp-ajax.php:1207
|
817 |
#: includes/class-sp-templates.php:234
|
818 |
#: includes/widgets/class-sp-widget-player-gallery.php:84
|
819 |
#: includes/widgets/class-sp-widget-player-list.php:6
|
829 |
msgid "Player Ranking"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: includes/admin/class-sp-admin-settings.php:67
|
833 |
msgid "Action failed. Please refresh the page and retry."
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: includes/admin/class-sp-admin-settings.php:74
|
837 |
+
#: includes/admin/class-sp-admin-welcome.php:166
|
838 |
msgid "Your settings have been saved."
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: includes/admin/class-sp-admin-settings.php:489
|
842 |
msgid "Install demo content"
|
843 |
msgstr ""
|
844 |
|
847 |
msgstr ""
|
848 |
|
849 |
#: includes/admin/class-sp-admin-setup-wizard.php:65
|
850 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:227
|
851 |
msgid "Basic Setup"
|
852 |
msgstr ""
|
853 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
854 |
#: includes/admin/class-sp-admin-setup-wizard.php:85
|
855 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:617
|
856 |
msgid "Pages"
|
857 |
msgstr ""
|
858 |
|
860 |
msgid "Ready!"
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:168
|
864 |
msgid "Return to the WordPress Dashboard"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:211
|
868 |
#: includes/admin/class-sp-admin-welcome.php:50
|
869 |
+
#: includes/admin/settings/class-sp-settings-modules.php:190
|
870 |
#: includes/admin/views/html-notice-install.php:5
|
871 |
msgid "Welcome to SportsPress"
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:212
|
875 |
msgid ""
|
876 |
"Thank you for choosing SportsPress to power your sports website! This quick "
|
877 |
"setup wizard will help you configure the basic settings. <strong>It’s "
|
878 |
"completely optional and shouldn’t take longer than five minutes.</strong>"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:213
|
882 |
msgid ""
|
883 |
"No time right now? If you don’t want to go through the wizard, you can skip "
|
884 |
"and return to the WordPress dashboard. Come back anytime if you change your "
|
885 |
"mind!"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:215
|
889 |
msgid "Let's Go!"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:216
|
893 |
msgid "Not right now"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:229
|
897 |
msgid "Select your timezone and sport to get started."
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:232
|
901 |
+
#: includes/admin/settings/class-sp-settings-general.php:322
|
902 |
+
#: includes/admin/settings/class-sp-settings-general.php:325
|
903 |
msgid "Timezone"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:232
|
907 |
+
#: includes/admin/settings/class-sp-settings-general.php:322
|
908 |
msgid "Choose a city in the same timezone as you."
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:260
|
912 |
msgctxt "Page title"
|
913 |
msgid "Sport"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:289
|
917 |
+
#: includes/admin/settings/class-sp-settings-general.php:87
|
918 |
+
#: includes/sp-core-functions.php:1526
|
919 |
msgid "Main League"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:289
|
923 |
msgid "The name of a league or division."
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:295
|
927 |
+
#: includes/admin/settings/class-sp-settings-general.php:95
|
928 |
+
#: includes/sp-core-functions.php:1530
|
929 |
msgid "Current Season"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:303
|
933 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:388
|
934 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:453
|
935 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:556
|
936 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:636
|
937 |
msgid "Continue"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:304
|
941 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:389
|
942 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:454
|
943 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:557
|
944 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:637
|
945 |
msgid "Skip this step"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:368
|
949 |
msgid "Team Setup"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:370
|
953 |
msgid "Great! Now let's add some teams."
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:373
|
957 |
msgid "Home Team"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:375
|
961 |
msgid "What is your team called?"
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:379
|
965 |
msgid "Rival Team"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:381
|
969 |
msgid "Who are you playing against next?"
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:382
|
973 |
msgid "You can add more teams later."
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:427
|
977 |
msgid "Player & Staff Setup"
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:429
|
981 |
msgid "Let's add players and a staff member."
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:432
|
985 |
msgid "Enter a squad number, name, and position for each player."
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:436
|
989 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:446
|
990 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:538
|
991 |
+
#: includes/admin/importers/class-sp-official-importer.php:26
|
992 |
#: includes/admin/importers/class-sp-player-importer.php:27
|
993 |
#: includes/admin/importers/class-sp-staff-importer.php:26
|
994 |
#: includes/admin/importers/class-sp-team-importer.php:26
|
995 |
+
#: includes/admin/post-types/class-sp-admin-cpt-official.php:44
|
|
|
996 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:61
|
997 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:80
|
998 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:52
|
1001 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:114
|
1002 |
#: includes/admin/settings/class-sp-settings-events.php:247
|
1003 |
#: includes/admin/settings/class-sp-settings-players.php:70
|
1004 |
+
#: includes/class-sp-ajax.php:1154 includes/class-sp-ajax.php:1238
|
1005 |
#: includes/class-sp-post-types.php:46 includes/class-sp-post-types.php:82
|
1006 |
#: includes/class-sp-post-types.php:118 includes/class-sp-post-types.php:154
|
1007 |
#: includes/class-sp-post-types.php:190
|
1008 |
#: includes/widgets/class-sp-widget-player-gallery.php:112
|
1009 |
#: includes/widgets/class-sp-widget-player-list.php:140
|
1010 |
+
#: modules/sportspress-officials.php:90
|
1011 |
+
#: modules/sportspress-player-lists.php:284 templates/official-details.php:45
|
1012 |
+
#: templates/player-details.php:45
|
1013 |
msgid "Name"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:436
|
1017 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:491
|
1018 |
#: includes/admin/class-sp-admin-sports.php:108
|
1019 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:315
|
1020 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:48
|
1021 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:63
|
1022 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:105
|
1023 |
+
#: includes/admin/settings/class-sp-settings-events.php:414
|
1024 |
#: includes/admin/settings/class-sp-settings-players.php:86
|
1025 |
+
#: includes/class-sp-ajax.php:1141 includes/class-sp-event.php:164
|
1026 |
+
#: includes/class-sp-player-list.php:697 includes/class-sp-player-list.php:745
|
1027 |
+
#: includes/class-sp-post-types.php:148 includes/sp-core-functions.php:1593
|
1028 |
+
#: templates/event-performance.php:49 templates/event-performance.php:146
|
1029 |
+
#: templates/official-details.php:67 templates/player-details.php:67
|
1030 |
msgid "Position"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:439
|
1034 |
msgid "You can add more players later."
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:446
|
1038 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:65
|
1039 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:58
|
1040 |
#: includes/class-sp-post-types.php:184
|
1041 |
msgid "Job"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:533
|
1045 |
msgid "Venue Setup"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:535
|
1049 |
msgid "Enter the details of your home venue."
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:544
|
1053 |
+
#: includes/admin/class-sp-admin-taxonomies.php:121
|
1054 |
+
#: includes/admin/class-sp-admin-taxonomies.php:160
|
1055 |
+
#: includes/admin/class-sp-admin-taxonomies.php:295
|
1056 |
msgid "Address"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:548
|
1060 |
+
#: includes/admin/class-sp-admin-taxonomies.php:118
|
1061 |
+
#: includes/admin/class-sp-admin-taxonomies.php:156
|
1062 |
msgid "Drag the marker to the venue's location."
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:612
|
1066 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:651
|
1067 |
#: includes/class-sp-modules.php:30
|
1068 |
msgid "Organize and publish calendars using different layouts."
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:613
|
1072 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:652
|
1073 |
+
#: includes/class-sp-modules.php:93
|
1074 |
msgid "Create automated league tables to keep track of team standings."
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:614
|
1078 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:653
|
1079 |
+
#: includes/class-sp-modules.php:121
|
1080 |
msgid "Create team rosters, player galleries, and ranking charts."
|
1081 |
msgstr ""
|
1082 |
|
1083 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:619
|
1084 |
msgid ""
|
1085 |
"The following will be created automatically (if they do not already exist):"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:633
|
1089 |
msgid "Once created, these pages can be managed from your admin dashboard."
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:783
|
1093 |
msgid "Next Steps"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:784
|
1097 |
msgid "Schedule your first event!"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:787
|
1101 |
+
#: includes/admin/class-sp-admin-welcome.php:228
|
1102 |
+
#: includes/admin/settings/class-sp-settings-modules.php:180
|
1103 |
+
#: includes/admin/settings/class-sp-settings-modules.php:224
|
1104 |
msgid "Upgrade to Pro"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:788
|
1108 |
+
#: includes/admin/class-sp-admin-welcome.php:230
|
1109 |
#: includes/admin/settings/class-sp-settings-modules.php:67
|
1110 |
msgid ""
|
1111 |
"Get SportsPress Pro to get access to all modules. You can upgrade any time "
|
1112 |
"without losing any of your data."
|
1113 |
msgstr ""
|
1114 |
|
1115 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:788
|
1116 |
+
#: includes/admin/settings/class-sp-settings-modules.php:232
|
1117 |
msgid "Learn more"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: includes/admin/class-sp-admin-setup-wizard.php:795
|
1121 |
#: includes/admin/class-sp-admin-welcome.php:118
|
1122 |
msgid "Thanks for installing!"
|
1123 |
msgstr ""
|
1124 |
|
1125 |
+
#: includes/admin/class-sp-admin-sports.php:294
|
1126 |
msgid "Team Sports"
|
1127 |
msgstr ""
|
1128 |
|
1129 |
+
#: includes/admin/class-sp-admin-sports.php:295
|
1130 |
msgid "Racket Sports"
|
1131 |
msgstr ""
|
1132 |
|
1133 |
+
#: includes/admin/class-sp-admin-sports.php:296
|
1134 |
msgid "Water Sports"
|
1135 |
msgstr ""
|
1136 |
|
1137 |
+
#: includes/admin/class-sp-admin-sports.php:297
|
1138 |
msgid "Target Sports"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
+
#: includes/admin/class-sp-admin-sports.php:298
|
1142 |
msgid "Esports"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
+
#: includes/admin/class-sp-admin-sports.php:299
|
1146 |
#: includes/admin/settings/class-sp-settings-modules.php:38
|
1147 |
#: modules/sportspress-tutorials.php:117
|
1148 |
msgid "Other"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
+
#: includes/admin/class-sp-admin-sports.php:308
|
1152 |
msgid "Baseball"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
+
#: includes/admin/class-sp-admin-sports.php:309
|
1156 |
msgid "Basketball"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: includes/admin/class-sp-admin-sports.php:310
|
1160 |
msgid "Cricket"
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: includes/admin/class-sp-admin-sports.php:311
|
1164 |
msgid "Darts"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
+
#: includes/admin/class-sp-admin-sports.php:312
|
1168 |
msgid "Floorball"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
+
#: includes/admin/class-sp-admin-sports.php:313
|
1172 |
msgid "Association Football"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
+
#: includes/admin/class-sp-admin-sports.php:314
|
1176 |
msgid "American Football"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
+
#: includes/admin/class-sp-admin-sports.php:315
|
1180 |
msgid "Australian Rules Football"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: includes/admin/class-sp-admin-sports.php:316
|
1184 |
msgid "Handball"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
+
#: includes/admin/class-sp-admin-sports.php:317
|
1188 |
msgid "Ice Hockey"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
+
#: includes/admin/class-sp-admin-sports.php:318
|
1192 |
msgid "Lacrosse"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: includes/admin/class-sp-admin-sports.php:319
|
1196 |
msgid "Netball"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
+
#: includes/admin/class-sp-admin-sports.php:320
|
1200 |
msgid "Rugby League"
|
1201 |
msgstr ""
|
1202 |
|
1203 |
+
#: includes/admin/class-sp-admin-sports.php:321
|
1204 |
msgid "Rugby Union"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
+
#: includes/admin/class-sp-admin-sports.php:322
|
1208 |
msgid "Snooker"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
+
#: includes/admin/class-sp-admin-sports.php:323
|
1212 |
msgid "Softball"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: includes/admin/class-sp-admin-sports.php:324
|
1216 |
msgid "Squash"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: includes/admin/class-sp-admin-sports.php:325
|
1220 |
msgid "Table Tennis"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
+
#: includes/admin/class-sp-admin-sports.php:326
|
1224 |
msgid "Tennis"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: includes/admin/class-sp-admin-sports.php:327
|
1228 |
msgid "Volleyball"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: includes/admin/class-sp-admin-sports.php:328
|
1232 |
msgid "Water Polo"
|
1233 |
msgstr ""
|
1234 |
|
1235 |
+
#: includes/admin/class-sp-admin-sports.php:329
|
1236 |
msgid "Dota 2"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
+
#: includes/admin/class-sp-admin-sports.php:330
|
1240 |
msgid "League of Legends"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
+
#: includes/admin/class-sp-admin-sports.php:331
|
1244 |
msgid "Counter-Strike: Global Offensive"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: includes/admin/class-sp-admin-taxonomies.php:79
|
1248 |
+
#: includes/admin/class-sp-admin-taxonomies.php:234
|
1249 |
+
#: includes/admin/class-sp-admin-taxonomies.php:275
|
1250 |
+
#: includes/admin/class-sp-admin-taxonomies.php:319
|
1251 |
#: includes/admin/settings/class-sp-settings-events.php:227
|
1252 |
+
#: includes/admin/settings/class-sp-settings-events.php:281
|
1253 |
+
#: modules/sportspress-officials.php:542 modules/sportspress-officials.php:565
|
1254 |
msgid "Order"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
+
#: includes/admin/class-sp-admin-taxonomies.php:125
|
1258 |
+
#: includes/admin/class-sp-admin-taxonomies.php:166
|
1259 |
msgid "Latitude"
|
1260 |
msgstr ""
|
1261 |
|
1262 |
+
#: includes/admin/class-sp-admin-taxonomies.php:129
|
1263 |
+
#: includes/admin/class-sp-admin-taxonomies.php:172
|
1264 |
msgid "Longitude"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
+
#: includes/admin/class-sp-admin-taxonomies.php:197
|
1268 |
+
#: includes/admin/class-sp-admin-taxonomies.php:223
|
1269 |
+
#: includes/admin/class-sp-admin-taxonomies.php:353
|
1270 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:227
|
1271 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:229
|
1272 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:71
|
1273 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:84
|
1274 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
|
1275 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:54
|
1276 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:56
|
1277 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
|
1278 |
+
#: includes/admin/settings/class-sp-settings-events.php:438
|
1279 |
+
#: includes/admin/settings/class-sp-settings-events.php:439
|
1280 |
+
#: includes/admin/settings/class-sp-settings-players.php:170
|
1281 |
+
#: includes/admin/settings/class-sp-settings-players.php:171
|
1282 |
+
#: includes/api/class-sp-rest-api.php:177 includes/sp-core-functions.php:524
|
1283 |
+
#: includes/sp-core-functions.php:561 includes/sp-core-functions.php:1585
|
1284 |
+
#: modules/sportspress-officials.php:606 templates/event-performance.php:135
|
1285 |
+
#: templates/event-performance.php:137 templates/player-statistics.php:45
|
1286 |
+
#: templates/player-statistics.php:47
|
1287 |
msgid "Offense"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: includes/admin/class-sp-admin-taxonomies.php:197
|
1291 |
+
#: includes/admin/class-sp-admin-taxonomies.php:223
|
1292 |
+
#: includes/admin/class-sp-admin-taxonomies.php:353
|
1293 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:227
|
1294 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:229
|
1295 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:75
|
1296 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:80
|
1297 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
|
1298 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:54
|
1299 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:56
|
1300 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
|
1301 |
+
#: includes/admin/settings/class-sp-settings-events.php:438
|
1302 |
+
#: includes/admin/settings/class-sp-settings-events.php:439
|
1303 |
+
#: includes/admin/settings/class-sp-settings-players.php:170
|
1304 |
+
#: includes/admin/settings/class-sp-settings-players.php:171
|
1305 |
+
#: includes/api/class-sp-rest-api.php:193 includes/sp-core-functions.php:524
|
1306 |
+
#: includes/sp-core-functions.php:561 includes/sp-core-functions.php:1573
|
1307 |
+
#: modules/sportspress-officials.php:606 templates/event-performance.php:135
|
1308 |
+
#: templates/event-performance.php:137 templates/player-statistics.php:45
|
1309 |
+
#: templates/player-statistics.php:47
|
1310 |
msgid "Defense"
|
1311 |
msgstr ""
|
1312 |
|
1344 |
msgid "Credits"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: includes/admin/class-sp-admin-welcome.php:281
|
|
|
|
|
|
|
|
|
1348 |
msgid "Go to SportsPress Settings"
|
1349 |
msgstr ""
|
1350 |
|
1351 |
+
#: includes/admin/class-sp-admin-welcome.php:294
|
1352 |
#, php-format
|
1353 |
msgid ""
|
1354 |
"SportsPress is developed and maintained by a worldwide team of passionate "
|
1356 |
"name? <a href=\"%s\">Contribute to SportsPress</a>."
|
1357 |
msgstr ""
|
1358 |
|
1359 |
+
#: includes/admin/class-sp-admin-welcome.php:312
|
1360 |
#, php-format
|
1361 |
msgid ""
|
1362 |
"SportsPress has been kindly translated into several other languages thanks "
|
1364 |
"SportsPress</a>."
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: includes/admin/class-sp-admin-welcome.php:336
|
1368 |
#, php-format
|
1369 |
msgid "View %s"
|
1370 |
msgstr ""
|
1379 |
msgid "Import Events"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
+
#: includes/admin/class-sp-admin.php:126
|
|
|
|
|
|
|
|
|
|
|
1383 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:152
|
1384 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:237
|
1385 |
msgid "Import"
|
1387 |
|
1388 |
#: includes/admin/importers/class-sp-event-importer.php:26
|
1389 |
#: includes/admin/importers/class-sp-fixture-importer.php:26
|
1390 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:126
|
1391 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:53
|
1392 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:63
|
1393 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:131
|
1394 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:43
|
1395 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:38
|
1396 |
#: includes/admin/settings/class-sp-settings-events.php:66
|
1397 |
+
#: includes/class-sp-ajax.php:822 includes/sp-core-functions.php:1572
|
1398 |
+
#: templates/event-details.php:22 templates/event-list.php:116
|
1399 |
+
#: templates/event-list.php:260
|
1400 |
msgid "Date"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
#: includes/admin/importers/class-sp-event-importer.php:27
|
1404 |
#: includes/admin/importers/class-sp-fixture-importer.php:27
|
1405 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:127
|
1406 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:41
|
1407 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:75
|
1408 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
1409 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:62
|
1410 |
#: includes/admin/settings/class-sp-settings-events.php:74
|
1411 |
#: includes/admin/settings/class-sp-settings-events.php:255
|
1412 |
+
#: includes/class-sp-ajax.php:626 includes/sp-core-functions.php:536
|
1413 |
+
#: includes/sp-core-functions.php:1606
|
1414 |
#: includes/widgets/class-sp-widget-event-list.php:198
|
1415 |
+
#: templates/event-details.php:27 templates/event-list.php:136
|
1416 |
+
#: templates/event-list.php:151 templates/event-list.php:157
|
1417 |
+
#: templates/event-list.php:297 templates/event-list.php:318
|
1418 |
+
#: templates/event-list.php:338
|
1419 |
msgid "Time"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
#: includes/admin/importers/class-sp-event-importer.php:31
|
1423 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:258
|
1424 |
+
#: includes/admin/settings/class-sp-settings-events.php:316
|
1425 |
+
#: includes/api/class-sp-rest-api.php:98 includes/class-sp-event.php:57
|
1426 |
+
#: includes/class-sp-event.php:78 includes/class-sp-post-types.php:261
|
1427 |
+
#: includes/sp-core-functions.php:1586
|
1428 |
msgid "Outcome"
|
1429 |
msgstr ""
|
1430 |
|
1439 |
#: includes/admin/importers/class-sp-event-importer.php:440
|
1440 |
#: includes/admin/importers/class-sp-event-performance-importer.php:135
|
1441 |
#: includes/admin/importers/class-sp-fixture-importer.php:248
|
1442 |
+
#: includes/admin/importers/class-sp-official-importer.php:88
|
1443 |
+
#: includes/admin/importers/class-sp-player-importer.php:174
|
1444 |
+
#: includes/admin/importers/class-sp-staff-importer.php:151
|
1445 |
+
#: includes/admin/importers/class-sp-team-importer.php:120
|
1446 |
msgid "All done!"
|
1447 |
msgstr ""
|
1448 |
|
1451 |
msgstr ""
|
1452 |
|
1453 |
#: includes/admin/importers/class-sp-event-importer.php:453
|
1454 |
+
#: includes/admin/importers/class-sp-event-performance-importer.php:153
|
1455 |
#: includes/admin/importers/class-sp-fixture-importer.php:261
|
1456 |
+
#: includes/admin/importers/class-sp-official-importer.php:111
|
1457 |
+
#: includes/admin/importers/class-sp-player-importer.php:197
|
1458 |
+
#: includes/admin/importers/class-sp-staff-importer.php:174
|
1459 |
+
#: includes/admin/importers/class-sp-team-importer.php:133
|
1460 |
msgid ""
|
1461 |
"Hi there! Choose a .csv file to upload, then click \"Upload file and import"
|
1462 |
"\"."
|
1477 |
|
1478 |
#: includes/admin/importers/class-sp-event-importer.php:471
|
1479 |
#: includes/admin/importers/class-sp-fixture-importer.php:279
|
1480 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:124
|
1481 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:47
|
1482 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:120
|
1483 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:76
|
1501 |
#: includes/admin/importers/class-sp-event-importer.php:482
|
1502 |
#: includes/admin/importers/class-sp-fixture-importer.php:290
|
1503 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:49
|
1504 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:129
|
1505 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:49
|
1506 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:49
|
1507 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:50
|
1508 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:93
|
1509 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:61
|
1510 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:61
|
1511 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:61
|
1512 |
+
#: includes/class-sp-ajax.php:627 includes/class-sp-post-types.php:40
|
1513 |
+
#: includes/sp-core-functions.php:1581 templates/event-list.php:170
|
1514 |
+
#: templates/event-list.php:374
|
1515 |
msgid "League"
|
1516 |
msgstr ""
|
1517 |
|
1526 |
#: includes/admin/importers/class-sp-event-importer.php:497
|
1527 |
#: includes/admin/importers/class-sp-fixture-importer.php:305
|
1528 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:50
|
1529 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:130
|
1530 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:50
|
1531 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:50
|
1532 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:51
|
1533 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:100
|
1534 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:104
|
1535 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:60
|
1536 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:64
|
1537 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:64
|
1538 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:64
|
1539 |
+
#: includes/class-sp-ajax.php:628 includes/class-sp-player.php:777
|
1540 |
+
#: includes/class-sp-post-types.php:76 includes/sp-core-functions.php:1600
|
1541 |
+
#: templates/event-list.php:173 templates/event-list.php:383
|
1542 |
msgid "Season"
|
1543 |
msgstr ""
|
1544 |
|
1547 |
msgid "Date Format"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
+
#: includes/admin/importers/class-sp-event-performance-importer.php:24
|
1551 |
+
msgid "Import Box Score"
|
1552 |
+
msgstr ""
|
1553 |
+
|
1554 |
#: includes/admin/importers/class-sp-event-performance-importer.php:125
|
1555 |
#, php-format
|
1556 |
msgid ""
|
1559 |
msgstr ""
|
1560 |
|
1561 |
#: includes/admin/importers/class-sp-event-performance-importer.php:135
|
1562 |
+
#: includes/class-sp-post-types.php:422
|
1563 |
msgid "View Event"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: includes/admin/importers/class-sp-event-performance-importer.php:154
|
1567 |
#, php-format
|
1568 |
msgid ""
|
1569 |
"Box scores need to be defined with columns in a specific order. <a href=\"%s"
|
1573 |
#: includes/admin/importers/class-sp-fixture-importer.php:29
|
1574 |
#: includes/admin/importers/class-sp-team-importer.php:31
|
1575 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:33
|
1576 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:60
|
1577 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
|
1578 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:95
|
1579 |
+
#: includes/sp-core-functions.php:1580 modules/sportspress-calendars.php:270
|
1580 |
+
#: templates/event-list.php:121 templates/event-list.php:266
|
1581 |
+
#: templates/team-details.php:39 templates/team-details.php:45
|
1582 |
msgid "Home"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
#: includes/admin/importers/class-sp-fixture-importer.php:30
|
1586 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:33
|
1587 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:60
|
1588 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
|
1589 |
+
#: includes/sp-core-functions.php:1567 modules/sportspress-calendars.php:270
|
1590 |
+
#: templates/event-list.php:132 templates/event-list.php:293
|
1591 |
msgid "Away"
|
1592 |
msgstr ""
|
1593 |
|
1594 |
#: includes/admin/importers/class-sp-fixture-importer.php:31
|
1595 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:132
|
1596 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:291
|
1597 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:54
|
1598 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:121
|
1599 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:100
|
1600 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:132
|
1601 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:28
|
1602 |
#: includes/admin/settings/class-sp-settings-events.php:82
|
1603 |
+
#: includes/api/class-sp-rest-api.php:129 includes/class-sp-ajax.php:823
|
1604 |
+
#: includes/sp-core-functions.php:1583
|
1605 |
#: includes/widgets/class-sp-widget-event-list.php:208
|
1606 |
+
#: templates/event-blocks.php:168 templates/event-details.php:44
|
1607 |
+
#: templates/event-list.php:182 templates/event-list.php:434
|
1608 |
msgid "Match Day"
|
1609 |
msgstr ""
|
1610 |
|
1631 |
msgstr ""
|
1632 |
|
1633 |
#: includes/admin/importers/class-sp-importer.php:156
|
1634 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:247
|
1635 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:30
|
1636 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:66
|
1637 |
#: includes/admin/settings/class-sp-settings-events.php:197
|
1638 |
+
#: includes/admin/settings/class-sp-settings-general.php:121
|
1639 |
+
#: includes/admin/settings/class-sp-settings-status.php:104
|
1640 |
#: includes/admin/views/html-admin-config.php:107
|
1641 |
#: includes/admin/views/html-admin-config.php:194
|
1642 |
#: includes/admin/views/html-admin-page-status.php:65
|
1643 |
+
#: includes/class-sp-ajax.php:335 includes/class-sp-ajax.php:349
|
1644 |
+
#: includes/class-sp-ajax.php:363 includes/class-sp-ajax.php:377
|
1645 |
+
#: includes/class-sp-ajax.php:391 includes/class-sp-ajax.php:488
|
1646 |
+
#: includes/class-sp-ajax.php:502 includes/class-sp-ajax.php:516
|
1647 |
+
#: includes/class-sp-ajax.php:530 includes/class-sp-ajax.php:544
|
1648 |
+
#: includes/class-sp-ajax.php:614 includes/class-sp-ajax.php:695
|
1649 |
+
#: includes/class-sp-ajax.php:709 includes/class-sp-ajax.php:723
|
1650 |
+
#: includes/class-sp-ajax.php:737 includes/class-sp-ajax.php:751
|
1651 |
+
#: includes/class-sp-ajax.php:821 includes/class-sp-ajax.php:831
|
1652 |
+
#: includes/class-sp-ajax.php:1082 includes/class-sp-ajax.php:1096
|
1653 |
+
#: includes/class-sp-ajax.php:1110 includes/class-sp-ajax.php:1152
|
1654 |
+
#: includes/class-sp-ajax.php:1170 includes/class-sp-ajax.php:1236
|
1655 |
+
#: includes/class-sp-ajax.php:1254 includes/sp-core-functions.php:454
|
1656 |
#: includes/widgets/class-sp-widget-event-blocks.php:119
|
1657 |
#: includes/widgets/class-sp-widget-event-blocks.php:133
|
1658 |
#: includes/widgets/class-sp-widget-event-blocks.php:175
|
1683 |
msgid "The CSV is invalid."
|
1684 |
msgstr ""
|
1685 |
|
1686 |
+
#: includes/admin/importers/class-sp-official-importer.php:24
|
1687 |
+
#: includes/admin/importers/class-sp-official-importer.php:100
|
1688 |
+
msgid "Import Officials"
|
1689 |
+
msgstr ""
|
1690 |
+
|
1691 |
+
#: includes/admin/importers/class-sp-official-importer.php:78
|
1692 |
+
#, php-format
|
1693 |
+
msgid ""
|
1694 |
+
"Import complete - imported <strong>%s</strong> officials and skipped <strong>"
|
1695 |
+
"%s</strong>."
|
1696 |
+
msgstr ""
|
1697 |
+
|
1698 |
+
#: includes/admin/importers/class-sp-official-importer.php:88
|
1699 |
+
msgid "View Officials"
|
1700 |
+
msgstr ""
|
1701 |
+
|
1702 |
+
#: includes/admin/importers/class-sp-official-importer.php:112
|
1703 |
+
#, php-format
|
1704 |
+
msgid ""
|
1705 |
+
"Officials need to be defined with columns in a specific order. <a href=\"%s"
|
1706 |
+
"\">Click here to download a sample</a>."
|
1707 |
+
msgstr ""
|
1708 |
+
|
1709 |
#: includes/admin/importers/class-sp-player-importer.php:24
|
1710 |
+
#: includes/admin/importers/class-sp-player-importer.php:186
|
1711 |
msgid "Import Players"
|
1712 |
msgstr ""
|
1713 |
|
1714 |
#: includes/admin/importers/class-sp-player-importer.php:26
|
1715 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:73
|
1716 |
+
#: includes/admin/post-types/class-sp-admin-cpt-player.php:228
|
1717 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:32
|
1718 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:113
|
1719 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:79
|
1720 |
+
#: includes/admin/settings/class-sp-settings-events.php:406
|
1721 |
#: includes/admin/settings/class-sp-settings-players.php:62
|
1722 |
+
#: includes/api/class-sp-rest-api.php:352 includes/class-sp-ajax.php:1153
|
1723 |
+
#: includes/class-sp-ajax.php:1237
|
1724 |
#: includes/widgets/class-sp-widget-player-gallery.php:111
|
1725 |
#: includes/widgets/class-sp-widget-player-list.php:122
|
1726 |
#: includes/widgets/class-sp-widget-player-list.php:124
|
1730 |
|
1731 |
#: includes/admin/importers/class-sp-player-importer.php:32
|
1732 |
#: includes/admin/importers/class-sp-staff-importer.php:31
|
1733 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:82
|
1734 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:83
|
|
|
|
|
1735 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:75
|
1736 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:76
|
1737 |
#: includes/admin/settings/class-sp-settings-players.php:78
|
1738 |
#: includes/admin/settings/class-sp-settings-players.php:126
|
1739 |
#: includes/admin/settings/class-sp-settings-staff.php:62
|
1740 |
#: includes/admin/settings/class-sp-settings-staff.php:86
|
1741 |
+
#: includes/sp-core-functions.php:1584 templates/official-details.php:56
|
1742 |
+
#: templates/player-details.php:56 templates/staff-details.php:46
|
1743 |
msgid "Nationality"
|
1744 |
msgstr ""
|
1745 |
|
1746 |
+
#: includes/admin/importers/class-sp-player-importer.php:164
|
1747 |
#, php-format
|
1748 |
msgid ""
|
1749 |
"Import complete - imported <strong>%s</strong> players and skipped <strong>"
|
1750 |
"%s</strong>."
|
1751 |
msgstr ""
|
1752 |
|
1753 |
+
#: includes/admin/importers/class-sp-player-importer.php:174
|
1754 |
msgid "View Players"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
+
#: includes/admin/importers/class-sp-player-importer.php:198
|
1758 |
#, php-format
|
1759 |
msgid ""
|
1760 |
"Players need to be defined with columns in a specific order (7 columns). <a "
|
1761 |
"href=\"%s\">Click here to download a sample</a>."
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: includes/admin/importers/class-sp-player-importer.php:218
|
1765 |
+
#: includes/admin/importers/class-sp-staff-importer.php:195
|
1766 |
+
#: includes/admin/importers/class-sp-team-importer.php:154
|
1767 |
+
msgid "Merge duplicates"
|
1768 |
+
msgstr ""
|
1769 |
+
|
1770 |
#: includes/admin/importers/class-sp-staff-importer.php:24
|
1771 |
+
#: includes/admin/importers/class-sp-staff-importer.php:163
|
1772 |
msgid "Import Staff"
|
1773 |
msgstr ""
|
1774 |
|
1780 |
msgid "Jobs"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: includes/admin/importers/class-sp-staff-importer.php:141
|
1784 |
#, php-format
|
1785 |
msgid ""
|
1786 |
"Import complete - imported <strong>%s</strong> staff and skipped <strong>%s</"
|
1787 |
"strong>."
|
1788 |
msgstr ""
|
1789 |
|
1790 |
+
#: includes/admin/importers/class-sp-staff-importer.php:151
|
1791 |
+
#: includes/class-sp-post-types.php:533
|
1792 |
msgid "View Staff"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
+
#: includes/admin/importers/class-sp-staff-importer.php:175
|
1796 |
#, php-format
|
1797 |
msgid ""
|
1798 |
"Staff need to be defined with columns in a specific order (6 columns). <a "
|
1804 |
msgstr ""
|
1805 |
|
1806 |
#: includes/admin/importers/class-sp-team-importer.php:29
|
1807 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:111
|
1808 |
+
#: includes/admin/settings/class-sp-settings-status.php:63
|
1809 |
#: includes/admin/views/html-admin-page-status.php:24
|
1810 |
+
#: includes/api/class-sp-rest-api.php:336
|
1811 |
msgid "Site URL"
|
1812 |
msgstr ""
|
1813 |
|
1815 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:45
|
1816 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:66
|
1817 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:46
|
1818 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:118
|
|
|
1819 |
#: includes/admin/views/html-admin-config.php:32
|
1820 |
+
#: includes/api/class-sp-rest-api.php:320
|
1821 |
msgid "Abbreviation"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
+
#: includes/admin/importers/class-sp-team-importer.php:110
|
1825 |
#, php-format
|
1826 |
msgid ""
|
1827 |
"Import complete - imported <strong>%s</strong> teams and skipped <strong>%s</"
|
1828 |
"strong>."
|
1829 |
msgstr ""
|
1830 |
|
1831 |
+
#: includes/admin/importers/class-sp-team-importer.php:120
|
1832 |
msgid "View Teams"
|
1833 |
msgstr ""
|
1834 |
|
1835 |
+
#: includes/admin/importers/class-sp-team-importer.php:134
|
1836 |
#, php-format
|
1837 |
msgid ""
|
1838 |
"Teams need to be defined with columns in a specific order (3 columns). <a "
|
1843 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:48
|
1844 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:48
|
1845 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:37
|
1846 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:64
|
1847 |
#: modules/sportspress-calendars.php:247 modules/sportspress-calendars.php:268
|
1848 |
#: modules/sportspress-calendars.php:316
|
1849 |
#: modules/sportspress-league-tables.php:238
|
1871 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:74
|
1872 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:77
|
1873 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:83
|
1874 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:102
|
1875 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:121
|
1876 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:87
|
1877 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:96
|
1878 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:151
|
1879 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
|
1880 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
|
1881 |
+
#: includes/admin/settings/class-sp-settings-events.php:449
|
1882 |
+
#: includes/class-sp-ajax.php:323 includes/class-sp-ajax.php:436
|
1883 |
+
#: includes/class-sp-ajax.php:474 includes/class-sp-ajax.php:601
|
1884 |
+
#: includes/class-sp-ajax.php:681 includes/class-sp-ajax.php:808
|
|
|
1885 |
#: includes/class-sp-post-types.php:41 includes/class-sp-post-types.php:77
|
1886 |
#: includes/class-sp-post-types.php:113 includes/class-sp-post-types.php:149
|
1887 |
+
#: includes/class-sp-post-types.php:185 includes/sp-core-functions.php:524
|
1888 |
+
#: includes/sp-core-functions.php:525 includes/sp-core-functions.php:527
|
1889 |
+
#: includes/sp-core-functions.php:654 includes/sp-core-functions.php:685
|
1890 |
+
#: includes/sp-core-functions.php:1544
|
1891 |
+
#: includes/widgets/class-sp-widget-countdown.php:82
|
1892 |
+
#: includes/widgets/class-sp-widget-countdown.php:99
|
1893 |
#: includes/widgets/class-sp-widget-event-blocks.php:103
|
1894 |
#: includes/widgets/class-sp-widget-event-blocks.php:168
|
1895 |
#: includes/widgets/class-sp-widget-event-calendar.php:91
|
1896 |
#: includes/widgets/class-sp-widget-event-calendar.php:156
|
1897 |
#: includes/widgets/class-sp-widget-event-list.php:108
|
1898 |
#: includes/widgets/class-sp-widget-event-list.php:173
|
1899 |
+
#: modules/sportspress-officials.php:85 modules/sportspress-overview.php:138
|
1900 |
msgid "All"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:87
|
|
|
1904 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:115
|
1905 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:97
|
1906 |
#: includes/admin/settings/class-sp-settings-players.php:94
|
1907 |
#: includes/admin/settings/class-sp-settings-staff.php:70
|
1908 |
+
#: includes/sp-core-functions.php:1571 templates/official-details.php:82
|
1909 |
+
#: templates/player-details.php:82 templates/staff-details.php:56
|
1910 |
msgid "Current Team"
|
1911 |
msgstr ""
|
1912 |
|
1913 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:115
|
1914 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:274
|
1915 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:109
|
1916 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:167
|
1917 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:134
|
1918 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:91
|
1919 |
+
#: includes/admin/post-types/class-sp-admin-cpt-team.php:112
|
1920 |
msgid "Show all leagues"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:124
|
1924 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:283
|
1925 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:118
|
1926 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:178
|
1927 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:143
|
1928 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:100
|
1929 |
+
#: includes/admin/post-types/class-sp-admin-cpt-team.php:121
|
1930 |
msgid "Show all seasons"
|
1931 |
msgstr ""
|
1932 |
|
1933 |
#: includes/admin/post-types/class-sp-admin-cpt-calendar.php:135
|
1934 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:266
|
1935 |
#: includes/admin/post-types/class-sp-admin-cpt-list.php:129
|
|
|
1936 |
#: includes/admin/post-types/class-sp-admin-cpt-player.php:158
|
1937 |
#: includes/admin/post-types/class-sp-admin-cpt-staff.php:126
|
1938 |
#: includes/admin/post-types/class-sp-admin-cpt-table.php:111
|
1944 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:43
|
1945 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:44
|
1946 |
#: includes/admin/post-types/class-sp-admin-cpt-result.php:43
|
1947 |
+
#: includes/admin/post-types/class-sp-admin-cpt-spec.php:43
|
1948 |
+
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:44
|
1949 |
#: includes/admin/views/html-admin-config.php:30
|
1950 |
#: includes/admin/views/html-admin-config.php:89
|
1951 |
#: includes/admin/views/html-admin-config.php:170
|
1952 |
#: includes/admin/views/html-admin-config.php:266
|
1953 |
#: includes/admin/views/html-admin-config.php:320
|
1954 |
#: includes/admin/views/html-admin-config.php:373
|
1955 |
+
#: modules/sportspress-event-specs.php:147
|
1956 |
msgid "Label"
|
1957 |
msgstr ""
|
1958 |
|
1959 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:44
|
1960 |
+
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:45
|
1961 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:34
|
1962 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:38
|
1963 |
+
#: includes/sp-template-hooks.php:70
|
1964 |
msgid "Key"
|
1965 |
msgstr ""
|
1966 |
|
1967 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:45
|
1968 |
+
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:46
|
1969 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:48
|
1970 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:64
|
1971 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:80
|
1973 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
1974 |
#: includes/admin/views/html-admin-config.php:91
|
1975 |
#: includes/admin/views/html-admin-config.php:267
|
1976 |
+
#: includes/admin/views/html-admin-config.php:375
|
1977 |
+
#: includes/sp-core-functions.php:536
|
1978 |
msgid "Equation"
|
1979 |
msgstr ""
|
1980 |
|
1981 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:46
|
1982 |
+
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:47
|
1983 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:39
|
1984 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:88
|
1985 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:39
|
1986 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:43
|
1987 |
#: includes/admin/views/html-admin-config.php:92
|
1988 |
#: includes/admin/views/html-admin-config.php:268
|
1989 |
+
#: includes/admin/views/html-admin-config.php:376
|
1990 |
msgid "Decimal Places"
|
1991 |
msgstr ""
|
1992 |
|
1993 |
#: includes/admin/post-types/class-sp-admin-cpt-column.php:47
|
1994 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:135
|
1995 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:43
|
1996 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:130
|
1997 |
#: includes/admin/views/html-admin-config.php:269
|
2003 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:46
|
2004 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:48
|
2005 |
#: includes/admin/post-types/class-sp-admin-cpt-result.php:45
|
2006 |
+
#: includes/admin/post-types/class-sp-admin-cpt-spec.php:45
|
2007 |
+
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:48
|
2008 |
#: includes/admin/views/html-admin-config.php:34
|
2009 |
#: includes/admin/views/html-admin-config.php:93
|
2010 |
#: includes/admin/views/html-admin-config.php:180
|
2011 |
#: includes/admin/views/html-admin-config.php:270
|
2012 |
#: includes/admin/views/html-admin-config.php:322
|
2013 |
+
#: includes/admin/views/html-admin-config.php:384
|
2014 |
#: includes/class-sp-templates.php:89 includes/class-sp-templates.php:157
|
2015 |
+
#: includes/class-sp-templates.php:225 includes/sp-template-hooks.php:64
|
2016 |
+
#: modules/sportspress-event-specs.php:149
|
2017 |
msgid "Description"
|
2018 |
msgstr ""
|
2019 |
|
2021 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:61
|
2022 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:275
|
2023 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:293
|
2024 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:135
|
2025 |
+
#: includes/class-sp-ajax.php:68 includes/class-sp-team.php:340
|
2026 |
+
#: includes/sp-core-functions.php:772
|
2027 |
+
#: includes/widgets/class-sp-widget-countdown.php:116
|
2028 |
#: modules/sportspress-tutorials.php:102
|
2029 |
msgid "(Auto)"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:227
|
2033 |
msgid "Edit Results"
|
2034 |
msgstr ""
|
2035 |
|
2036 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:229
|
2037 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-video.php:33
|
2038 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:107
|
2039 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:120
|
2040 |
+
#: includes/class-sp-ajax.php:91 includes/class-sp-ajax.php:121
|
2041 |
+
#: includes/class-sp-ajax.php:151 includes/class-sp-ajax.php:181
|
2042 |
+
#: includes/class-sp-ajax.php:211 includes/class-sp-ajax.php:241
|
2043 |
+
#: includes/class-sp-ajax.php:271 includes/class-sp-ajax.php:301
|
2044 |
+
#: includes/class-sp-ajax.php:448 includes/class-sp-ajax.php:649
|
2045 |
+
#: includes/class-sp-ajax.php:846 includes/class-sp-ajax.php:919
|
2046 |
+
#: includes/class-sp-ajax.php:983 includes/class-sp-ajax.php:1013
|
2047 |
+
#: includes/class-sp-ajax.php:1043 includes/class-sp-ajax.php:1185
|
2048 |
+
#: includes/class-sp-ajax.php:1269
|
2049 |
msgid "Cancel"
|
2050 |
msgstr ""
|
2051 |
|
2052 |
+
#: includes/admin/post-types/class-sp-admin-cpt-event.php:230
|
2053 |
#: includes/class-sp-post-types.php:44 includes/class-sp-post-types.php:80
|
2054 |
#: includes/class-sp-post-types.php:116 includes/class-sp-post-types.php:152
|
2055 |
+
#: includes/class-sp-post-types.php:188 modules/sportspress-officials.php:88
|
2056 |
msgid "Update"
|
2057 |
msgstr ""
|
2058 |
|
2060 |
#: includes/admin/post-types/class-sp-admin-cpt-outcome.php:44
|
2061 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:45
|
2062 |
#: includes/admin/post-types/class-sp-admin-cpt-result.php:44
|
2063 |
+
#: includes/admin/post-types/class-sp-admin-cpt-spec.php:44
|
2064 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:29
|
2065 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:41
|
2066 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:56
|
2067 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:34
|
2068 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-spec-details.php:29
|
2069 |
#: includes/admin/views/html-admin-config.php:31
|
2070 |
#: includes/admin/views/html-admin-config.php:171
|
2071 |
#: includes/admin/views/html-admin-config.php:321
|
2072 |
+
#: includes/sp-template-hooks.php:70 modules/sportspress-event-specs.php:148
|
2073 |
msgid "Variable"
|
2074 |
msgstr ""
|
2075 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2076 |
#: includes/admin/post-types/class-sp-admin-cpt-performance.php:43
|
2077 |
+
#: includes/admin/post-types/class-sp-admin-cpt-statistic.php:43
|
2078 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:305
|
2079 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:308
|
2080 |
#: includes/admin/views/html-admin-config.php:169
|
2081 |
+
#: includes/admin/views/html-admin-config.php:374
|
2082 |
#: includes/class-sp-post-types.php:360
|
2083 |
msgid "Icon"
|
2084 |
msgstr ""
|
2087 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:65
|
2088 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:47
|
2089 |
#: includes/admin/views/html-admin-config.php:172
|
2090 |
+
#: includes/admin/views/html-admin-config.php:377
|
2091 |
msgid "Category"
|
2092 |
msgstr ""
|
2093 |
|
2095 |
msgid "Show all positions"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
+
#: includes/admin/post-types/class-sp-admin-cpt-player.php:256
|
2099 |
+
#: includes/admin/post-types/class-sp-admin-cpt-player.php:325
|
2100 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:111
|
2101 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:87
|
2102 |
+
#: includes/api/class-sp-rest-api.php:384
|
2103 |
+
#: includes/api/class-sp-rest-api.php:480
|
2104 |
+
msgid "Current Teams"
|
2105 |
+
msgstr ""
|
2106 |
+
|
2107 |
+
#: includes/admin/post-types/class-sp-admin-cpt-player.php:263
|
2108 |
+
#: includes/admin/post-types/class-sp-admin-cpt-player.php:332
|
2109 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:126
|
2110 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:102
|
2111 |
+
#: includes/admin/settings/class-sp-settings-players.php:102
|
2112 |
+
#: includes/admin/settings/class-sp-settings-staff.php:78
|
2113 |
+
#: includes/api/class-sp-rest-api.php:400
|
2114 |
+
#: includes/api/class-sp-rest-api.php:496 includes/sp-core-functions.php:1587
|
2115 |
+
#: templates/official-details.php:95 templates/player-details.php:95
|
2116 |
+
#: templates/staff-details.php:66
|
2117 |
+
msgid "Past Teams"
|
2118 |
+
msgstr ""
|
2119 |
+
|
2120 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:63
|
2121 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:296
|
2122 |
+
#: includes/class-sp-post-types.php:463 includes/class-sp-templates.php:108
|
2123 |
+
#: modules/sportspress-player-lists.php:285
|
2124 |
#: modules/sportspress-tutorials.php:109
|
2125 |
msgid "Logo"
|
2126 |
msgstr ""
|
2127 |
|
2128 |
#: includes/admin/post-types/class-sp-admin-cpt-team.php:65
|
2129 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:115
|
2130 |
+
msgid "Short Name"
|
2131 |
msgstr ""
|
2132 |
|
2133 |
#: includes/admin/post-types/class-sp-admin-cpt.php:42
|
2141 |
msgstr ""
|
2142 |
|
2143 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:114
|
2144 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:180
|
2145 |
#: modules/sportspress-tutorials.php:121
|
2146 |
msgid "Shortcodes"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:127
|
2150 |
+
#: includes/admin/settings/class-sp-settings-events.php:371
|
2151 |
+
#: includes/admin/settings/class-sp-settings-players.php:153
|
2152 |
#: modules/sportspress-league-tables.php:177
|
2153 |
msgid "Mode"
|
2154 |
msgstr ""
|
2155 |
|
2156 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:186
|
2157 |
+
#: includes/admin/settings/class-sp-settings-events.php:305
|
2158 |
+
#: includes/admin/settings/class-sp-settings-events.php:360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2159 |
#: includes/admin/settings/class-sp-settings-players.php:142
|
2160 |
#: modules/sportspress-calendars.php:198
|
2161 |
#: modules/sportspress-player-lists.php:198
|
2162 |
msgid "Columns"
|
2163 |
msgstr ""
|
2164 |
|
2165 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:200
|
2166 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:56
|
2167 |
+
#: includes/api/class-sp-rest-api.php:432
|
2168 |
msgid "Metrics"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:216
|
2172 |
#: modules/sportspress-calendars.php:179
|
2173 |
#: modules/sportspress-league-tables.php:184
|
2174 |
#: modules/sportspress-player-lists.php:185
|
2175 |
msgid "Shortcode"
|
2176 |
msgstr ""
|
2177 |
|
2178 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:299
|
2179 |
+
#: includes/admin/post-types/class-sp-admin-meta-boxes.php:302
|
2180 |
+
#: includes/class-sp-post-types.php:500 includes/class-sp-post-types.php:537
|
2181 |
#: includes/class-sp-templates.php:183 includes/class-sp-templates.php:251
|
2182 |
+
#: includes/sp-core-functions.php:1588 modules/sportspress-officials.php:140
|
2183 |
msgid "Photo"
|
2184 |
msgstr ""
|
2185 |
|
2186 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:43
|
2187 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:77
|
2188 |
+
#: includes/sp-core-functions.php:1607
|
2189 |
#: includes/widgets/class-sp-widget-event-list.php:193
|
2190 |
+
#: templates/event-list.php:125 templates/event-list.php:126
|
2191 |
+
#: templates/event-list.php:165 templates/event-list.php:270
|
2192 |
+
#: templates/event-list.php:360
|
2193 |
msgid "Time/Results"
|
2194 |
msgstr ""
|
2195 |
|
2196 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:53
|
2197 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:114
|
2198 |
+
#: includes/class-sp-ajax.php:630 includes/class-sp-templates.php:44
|
2199 |
+
#: includes/sp-core-functions.php:1566
|
2200 |
#: includes/widgets/class-sp-widget-event-list.php:207
|
2201 |
+
#: templates/event-list.php:179 templates/event-list.php:413
|
2202 |
msgid "Article"
|
2203 |
msgstr ""
|
2204 |
|
2205 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:229
|
2206 |
#: includes/class-sp-template-loader.php:155
|
2207 |
+
#: includes/sp-core-functions.php:1598 templates/event-list.php:423
|
2208 |
msgid "Recap"
|
2209 |
msgstr ""
|
2210 |
|
2211 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:231
|
2212 |
#: includes/class-sp-template-loader.php:157
|
2213 |
+
#: includes/sp-core-functions.php:1595 templates/event-list.php:425
|
2214 |
#: templates/event-logos-block.php:50
|
2215 |
msgid "Preview"
|
2216 |
msgstr ""
|
2217 |
|
2218 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:258
|
2219 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:32
|
2220 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:101
|
2221 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:32
|
2227 |
#: includes/admin/views/html-admin-config.php:231
|
2228 |
#: includes/admin/views/html-admin-config.php:285
|
2229 |
#: includes/admin/views/html-admin-config.php:335
|
2230 |
+
#: includes/admin/views/html-admin-config.php:418
|
2231 |
#: includes/class-sp-post-types.php:50 includes/class-sp-post-types.php:86
|
2232 |
#: includes/class-sp-post-types.php:122 includes/class-sp-post-types.php:158
|
2233 |
#: includes/class-sp-post-types.php:194 includes/class-sp-post-types.php:237
|
2236 |
#: includes/class-sp-post-types.php:298 includes/class-sp-post-types.php:327
|
2237 |
#: includes/class-sp-post-types.php:328 includes/class-sp-post-types.php:358
|
2238 |
#: includes/class-sp-post-types.php:359 includes/class-sp-post-types.php:393
|
2239 |
+
#: includes/class-sp-post-types.php:394 includes/class-sp-post-types.php:424
|
2240 |
+
#: includes/class-sp-post-types.php:425 includes/class-sp-post-types.php:461
|
2241 |
+
#: includes/class-sp-post-types.php:462 includes/class-sp-post-types.php:498
|
2242 |
+
#: includes/class-sp-post-types.php:499 includes/class-sp-post-types.php:535
|
2243 |
+
#: includes/class-sp-post-types.php:536 includes/sp-core-functions.php:1060
|
2244 |
+
#: includes/sp-core-functions.php:1123 modules/sportspress-calendars.php:78
|
2245 |
+
#: modules/sportspress-calendars.php:79 modules/sportspress-event-specs.php:76
|
2246 |
+
#: modules/sportspress-event-specs.php:77
|
2247 |
+
#: modules/sportspress-event-specs.php:162
|
2248 |
+
#: modules/sportspress-lazy-loading.php:246
|
2249 |
+
#: modules/sportspress-lazy-loading.php:259
|
2250 |
#: modules/sportspress-league-tables.php:75
|
2251 |
#: modules/sportspress-league-tables.php:76
|
2252 |
+
#: modules/sportspress-officials.php:94 modules/sportspress-officials.php:138
|
2253 |
+
#: modules/sportspress-officials.php:139 modules/sportspress-overview.php:341
|
2254 |
#: modules/sportspress-player-lists.php:75
|
2255 |
#: modules/sportspress-player-lists.php:76
|
2256 |
msgid "No results found."
|
2257 |
msgstr ""
|
2258 |
|
2259 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:39
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2260 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:39
|
2261 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:34
|
2262 |
+
#: includes/admin/settings/class-sp-settings-general.php:397
|
2263 |
msgid "Heading"
|
2264 |
msgstr ""
|
2265 |
|
2266 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:42
|
2267 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:336
|
2268 |
msgid "Status"
|
2269 |
msgstr ""
|
2270 |
|
2271 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:53
|
2272 |
+
msgid "Event Format"
|
2273 |
+
msgstr ""
|
2274 |
+
|
2275 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:82
|
2276 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:62
|
2277 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:98
|
2278 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:57
|
2279 |
+
#: includes/class-sp-ajax.php:416 includes/class-sp-ajax.php:581
|
2280 |
+
#: includes/class-sp-ajax.php:788
|
2281 |
#: includes/widgets/class-sp-widget-event-blocks.php:150
|
2282 |
#: includes/widgets/class-sp-widget-event-calendar.php:138
|
2283 |
#: includes/widgets/class-sp-widget-event-list.php:155
|
2284 |
msgid "Past"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:86
|
2288 |
+
#: includes/class-sp-ajax.php:420 includes/class-sp-ajax.php:585
|
2289 |
+
#: includes/class-sp-ajax.php:792 includes/class-sp-frontend-scripts.php:78
|
2290 |
#: includes/widgets/class-sp-widget-event-blocks.php:153
|
2291 |
#: includes/widgets/class-sp-widget-event-calendar.php:141
|
2292 |
#: includes/widgets/class-sp-widget-event-list.php:158
|
2293 |
msgid "Next"
|
2294 |
msgstr ""
|
2295 |
|
2296 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:94
|
2297 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:70
|
2298 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:65
|
2299 |
+
#: includes/class-sp-ajax.php:428 includes/class-sp-ajax.php:593
|
2300 |
+
#: includes/class-sp-ajax.php:800
|
2301 |
#: includes/widgets/class-sp-widget-event-blocks.php:161
|
2302 |
#: includes/widgets/class-sp-widget-event-calendar.php:149
|
2303 |
#: includes/widgets/class-sp-widget-event-list.php:166
|
2304 |
msgid "Relative"
|
2305 |
msgstr ""
|
2306 |
|
2307 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:128
|
2308 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:108
|
2309 |
msgid "Sort by"
|
2310 |
msgstr ""
|
2311 |
|
2312 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:138
|
2313 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
|
2314 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:133
|
2315 |
+
#: includes/class-sp-ajax.php:615 includes/class-sp-ajax.php:832
|
2316 |
+
#: includes/class-sp-ajax.php:1171 includes/class-sp-ajax.php:1255
|
2317 |
#: includes/widgets/class-sp-widget-event-blocks.php:176
|
2318 |
#: includes/widgets/class-sp-widget-event-list.php:181
|
2319 |
#: includes/widgets/class-sp-widget-player-gallery.php:133
|
2321 |
msgid "Ascending"
|
2322 |
msgstr ""
|
2323 |
|
2324 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:139
|
2325 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
|
2326 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:134
|
2327 |
+
#: includes/class-sp-ajax.php:616 includes/class-sp-ajax.php:833
|
2328 |
+
#: includes/class-sp-ajax.php:1172 includes/class-sp-ajax.php:1256
|
2329 |
#: includes/widgets/class-sp-widget-event-blocks.php:177
|
2330 |
#: includes/widgets/class-sp-widget-event-list.php:182
|
2331 |
#: includes/widgets/class-sp-widget-player-gallery.php:134
|
2336 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-feeds.php:45
|
2337 |
#: includes/admin/settings/class-sp-settings-events.php:51
|
2338 |
#: includes/admin/settings/class-sp-settings-events.php:176
|
2339 |
+
#: includes/admin/settings/class-sp-settings-general.php:398
|
2340 |
#: includes/admin/settings/class-sp-settings-players.php:53
|
2341 |
#: includes/admin/settings/class-sp-settings-staff.php:53
|
2342 |
+
#: includes/admin/settings/class-sp-settings-teams.php:62
|
2343 |
#: includes/class-sp-templates.php:133
|
2344 |
msgid "Link"
|
2345 |
msgstr ""
|
2346 |
|
2347 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-shortcode.php:26
|
2348 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:34
|
2349 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-shortcode.php:26
|
2350 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:24
|
2351 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-shortcode.php:24
|
2360 |
|
2361 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
|
2362 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
|
2363 |
+
#: includes/class-sp-ajax.php:1155 includes/class-sp-ajax.php:1239
|
2364 |
#: includes/widgets/class-sp-widget-player-gallery.php:113
|
2365 |
#: includes/widgets/class-sp-widget-player-list.php:141
|
2366 |
msgid "Played"
|
2376 |
|
2377 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
|
2378 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
|
2379 |
+
#: includes/admin/settings/class-sp-settings-events.php:422
|
2380 |
msgid "Minutes"
|
2381 |
msgstr ""
|
2382 |
|
2406 |
|
2407 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:46
|
2408 |
#: modules/sportspress-league-tables.php:275
|
2409 |
+
#: modules/sportspress-officials.php:385
|
2410 |
msgid "Form"
|
2411 |
msgstr ""
|
2412 |
|
2441 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:34
|
2442 |
#: includes/admin/settings/class-sp-settings-events.php:90
|
2443 |
#: includes/admin/settings/class-sp-settings-events.php:144
|
2444 |
+
#: includes/api/class-sp-rest-api.php:145 includes/sp-core-functions.php:1579
|
2445 |
#: templates/event-details.php:53 templates/event-logos-block.php:66
|
2446 |
msgid "Full Time"
|
2447 |
msgstr ""
|
2458 |
msgid "Player vs player"
|
2459 |
msgstr ""
|
2460 |
|
2461 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php:65
|
2462 |
+
#: modules/sportspress-officials.php:84 modules/sportspress-officials.php:348
|
2463 |
+
msgid "Duty"
|
2464 |
+
msgstr ""
|
2465 |
+
|
2466 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:340
|
2467 |
+
#: includes/admin/settings/class-sp-settings-events.php:388
|
2468 |
+
#: includes/sp-core-functions.php:1590
|
2469 |
+
#: templates/event-performance-table.php:108
|
2470 |
msgid "Player of the Match"
|
2471 |
msgstr ""
|
2472 |
|
2473 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:340
|
2474 |
+
#: includes/admin/settings/class-sp-settings-events.php:389
|
2475 |
+
#: templates/event-performance-table.php:111
|
2476 |
+
#: templates/event-performance-table.php:114
|
2477 |
msgid "Stars"
|
2478 |
msgstr ""
|
2479 |
|
2480 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:362
|
2481 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:120
|
2482 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:169
|
2483 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:73
|
2484 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:38
|
2485 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:76
|
2486 |
+
#: includes/admin/settings/class-sp-settings-events.php:352
|
2487 |
+
#: includes/admin/settings/class-sp-settings-events.php:444
|
2488 |
+
#: includes/admin/settings/class-sp-settings-players.php:177
|
2489 |
+
#: includes/class-sp-player.php:261 includes/class-sp-player.php:655
|
2490 |
+
#: includes/class-sp-player.php:721 includes/class-sp-team.php:65
|
2491 |
+
#: includes/sp-core-functions.php:480 includes/sp-core-functions.php:484
|
2492 |
+
#: includes/sp-core-functions.php:1608
|
2493 |
+
#: templates/event-performance-table.php:230
|
2494 |
msgid "Total"
|
2495 |
msgstr ""
|
2496 |
|
2499 |
msgstr ""
|
2500 |
|
2501 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:533
|
2502 |
+
#: includes/class-sp-event.php:397 includes/class-sp-event.php:408
|
2503 |
msgid "Substitute"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:36
|
2507 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:184
|
2508 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:205
|
2509 |
+
#: modules/sportspress-default-nationality.php:52
|
2510 |
msgid "— None —"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:123
|
2514 |
+
#: includes/class-sp-ajax.php:62 includes/class-sp-ajax.php:107
|
2515 |
+
#: includes/class-sp-ajax.php:137 includes/class-sp-ajax.php:167
|
2516 |
+
#: includes/class-sp-ajax.php:197 includes/class-sp-ajax.php:227
|
2517 |
+
#: includes/class-sp-ajax.php:257 includes/class-sp-ajax.php:287
|
2518 |
+
#: includes/class-sp-ajax.php:317 includes/class-sp-ajax.php:470
|
2519 |
+
#: includes/class-sp-ajax.php:677 includes/class-sp-ajax.php:868
|
2520 |
+
#: includes/class-sp-ajax.php:941 includes/class-sp-ajax.php:999
|
2521 |
+
#: includes/class-sp-ajax.php:1029 includes/class-sp-ajax.php:1065
|
2522 |
+
#: includes/class-sp-ajax.php:1207
|
2523 |
+
#: includes/widgets/class-sp-widget-countdown.php:75
|
2524 |
+
#: includes/widgets/class-sp-widget-countdown.php:92
|
2525 |
+
#: includes/widgets/class-sp-widget-countdown.php:109
|
2526 |
#: includes/widgets/class-sp-widget-event-blocks.php:99
|
2527 |
#: includes/widgets/class-sp-widget-event-calendar.php:87
|
2528 |
#: includes/widgets/class-sp-widget-event-list.php:104
|
2539 |
msgid "Remove video"
|
2540 |
msgstr ""
|
2541 |
|
2542 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-video.php:31
|
2543 |
+
msgid "URL"
|
2544 |
+
msgstr ""
|
2545 |
+
|
2546 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-video.php:36
|
2547 |
msgid "Add video"
|
2548 |
msgstr ""
|
2554 |
msgstr ""
|
2555 |
|
2556 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:34
|
2557 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:56
|
2558 |
+
#: includes/class-sp-ajax.php:968 includes/sp-core-functions.php:1597
|
2559 |
#: includes/widgets/class-sp-widget-player-list.php:120
|
2560 |
#: includes/widgets/class-sp-widget-player-list.php:126
|
2561 |
#: includes/widgets/class-sp-widget-team-gallery.php:105
|
2562 |
+
#: templates/player-list.php:135
|
2563 |
msgid "Rank"
|
2564 |
msgstr ""
|
2565 |
|
2566 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:52
|
2567 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:171
|
2568 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:140
|
2569 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:184
|
2570 |
msgid "Data"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:55
|
2574 |
+
#: includes/admin/settings/class-sp-settings-events.php:432
|
2575 |
#: includes/class-sp-post-types.php:351
|
2576 |
msgid "Performance"
|
2577 |
msgstr ""
|
2578 |
|
2579 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:48
|
2580 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:70
|
2581 |
+
#: includes/admin/settings/class-sp-settings-events.php:376
|
2582 |
+
#: includes/admin/settings/class-sp-settings-players.php:158
|
2583 |
msgid "Values"
|
2584 |
msgstr ""
|
2585 |
|
2586 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:49
|
2587 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:71
|
2588 |
#: modules/sportspress-tutorials.php:110
|
2589 |
msgid "Adjustments"
|
2590 |
msgstr ""
|
2591 |
|
2592 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:103
|
2593 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:65
|
2594 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:116
|
2595 |
#: includes/admin/views/html-admin-config.php:45
|
2596 |
#: includes/admin/views/html-admin-config.php:121
|
2597 |
#: includes/admin/views/html-admin-config.php:227
|
2598 |
#: includes/admin/views/html-admin-config.php:281
|
2599 |
#: includes/admin/views/html-admin-config.php:331
|
2600 |
+
#: includes/admin/views/html-admin-config.php:414
|
2601 |
+
#: modules/sportspress-event-specs.php:158
|
2602 |
#: modules/sportspress-event-status.php:81
|
2603 |
msgid "Edit"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:108
|
2607 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:121
|
2608 |
msgid "Save"
|
2609 |
msgstr ""
|
2610 |
|
2622 |
|
2623 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:150
|
2624 |
#: includes/admin/settings/class-sp-settings-events.php:246
|
2625 |
+
#: includes/admin/settings/class-sp-settings-events.php:405
|
2626 |
+
#: includes/admin/settings/class-sp-settings-players.php:176
|
2627 |
+
#: modules/sportspress-countdowns.php:85
|
2628 |
msgid "Display"
|
2629 |
msgstr ""
|
2630 |
|
2631 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:151
|
2632 |
+
#: modules/sportspress-player-lists.php:302
|
2633 |
msgid "players"
|
2634 |
msgstr ""
|
2635 |
|
2636 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:35
|
2637 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:141
|
2638 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-spec-details.php:35
|
2639 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:81
|
2640 |
#: includes/admin/views/html-admin-config.php:176
|
2641 |
+
#: includes/admin/views/html-admin-config.php:380
|
2642 |
msgid "Visible"
|
2643 |
msgstr ""
|
2644 |
|
2646 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:142
|
2647 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:82
|
2648 |
#: includes/admin/views/html-admin-config.php:177
|
2649 |
+
#: includes/admin/views/html-admin-config.php:381
|
2650 |
msgid "Display in player profile?"
|
2651 |
msgstr ""
|
2652 |
|
2654 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:102
|
2655 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:122
|
2656 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:148
|
2657 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-spec-details.php:42
|
2658 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:88
|
2659 |
+
#: includes/admin/settings/class-sp-settings-status.php:76
|
2660 |
+
#: includes/admin/settings/class-sp-settings-status.php:100
|
2661 |
+
#: includes/admin/settings/class-sp-settings-status.php:125
|
2662 |
#: includes/admin/views/html-admin-page-status.php:37
|
2663 |
#: includes/admin/views/html-admin-page-status.php:61
|
2664 |
#: includes/admin/views/html-admin-page-status.php:86
|
2669 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:108
|
2670 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:128
|
2671 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:154
|
2672 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-spec-details.php:48
|
2673 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:94
|
2674 |
+
#: includes/admin/settings/class-sp-settings-status.php:76
|
2675 |
+
#: includes/admin/settings/class-sp-settings-status.php:100
|
2676 |
+
#: includes/admin/settings/class-sp-settings-status.php:125
|
2677 |
#: includes/admin/views/html-admin-page-status.php:37
|
2678 |
#: includes/admin/views/html-admin-page-status.php:61
|
2679 |
#: includes/admin/views/html-admin-page-status.php:86
|
2681 |
msgstr ""
|
2682 |
|
2683 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:37
|
2684 |
+
#: includes/admin/settings/class-sp-settings-events.php:450
|
2685 |
+
#: includes/admin/settings/class-sp-settings-general.php:394
|
2686 |
#: includes/admin/views/html-admin-config.php:88
|
2687 |
#: includes/admin/views/html-admin-config.php:168
|
2688 |
+
#: includes/sp-core-functions.php:447
|
2689 |
msgid "Primary"
|
2690 |
msgstr ""
|
2691 |
|
2699 |
msgstr ""
|
2700 |
|
2701 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:63
|
2702 |
+
#: includes/sp-core-functions.php:451
|
2703 |
#, php-format
|
2704 |
msgid "Most %s"
|
2705 |
msgstr ""
|
2706 |
|
2707 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:64
|
2708 |
+
#: includes/sp-core-functions.php:452
|
2709 |
#, php-format
|
2710 |
msgid "Least %s"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:65
|
2714 |
+
#: includes/sp-core-functions.php:453
|
2715 |
#, php-format
|
2716 |
msgid "Equal %s"
|
2717 |
msgstr ""
|
2722 |
|
2723 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
2724 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:62
|
2725 |
+
#: includes/sp-core-functions.php:536 includes/sp-core-functions.php:537
|
2726 |
+
#: includes/sp-core-functions.php:539
|
2727 |
msgid "Number"
|
2728 |
msgstr ""
|
2729 |
|
2730 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
|
2731 |
+
#: includes/admin/settings/class-sp-settings-general.php:396
|
2732 |
#: includes/admin/settings/class-sp-settings-text.php:25
|
2733 |
#: includes/admin/settings/class-sp-settings-text.php:40
|
2734 |
+
#: includes/sp-core-functions.php:536 modules/sportspress-tutorials.php:98
|
2735 |
msgid "Text"
|
2736 |
msgstr ""
|
2737 |
|
2751 |
msgid "Don't count minutes after?"
|
2752 |
msgstr ""
|
2753 |
|
2754 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:46
|
2755 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:73
|
2756 |
+
#: includes/admin/settings/class-sp-settings-players.php:185
|
2757 |
+
#: includes/sp-core-functions.php:1570 templates/player-statistics.php:85
|
2758 |
msgid "Career Total"
|
2759 |
msgstr ""
|
2760 |
|
2761 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-spec-details.php:36
|
2762 |
+
msgid "Display in event pages?"
|
2763 |
+
msgstr ""
|
2764 |
+
|
2765 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:69
|
2766 |
#: includes/admin/settings/class-sp-settings-events.php:192
|
2767 |
msgid "Type"
|
2768 |
msgstr ""
|
2769 |
|
2770 |
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:73
|
2771 |
+
#: includes/sp-core-functions.php:480
|
2772 |
msgid "Average"
|
2773 |
msgstr ""
|
2774 |
|
2775 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:80
|
2776 |
#: modules/sportspress-tutorials.php:111
|
2777 |
msgid "Highlight"
|
2778 |
msgstr ""
|
2779 |
|
2780 |
+
#: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:113
|
2781 |
msgid "Redirect"
|
2782 |
msgstr ""
|
2783 |
|
2799 |
msgstr ""
|
2800 |
|
2801 |
#: includes/admin/settings/class-sp-settings-events.php:112
|
2802 |
+
#: modules/sportspress-calendars.php:296 modules/sportspress-calendars.php:373
|
2803 |
#: modules/sportspress-league-tables.php:262
|
2804 |
+
#: modules/sportspress-officials.php:372
|
2805 |
+
#: modules/sportspress-player-lists.php:298
|
2806 |
msgid "Limit"
|
2807 |
msgstr ""
|
2808 |
|
2809 |
#: includes/admin/settings/class-sp-settings-events.php:116
|
2810 |
#: modules/sportspress-league-tables.php:266
|
2811 |
+
#: modules/sportspress-officials.php:376
|
2812 |
msgid "teams"
|
2813 |
msgstr ""
|
2814 |
|
2829 |
msgstr ""
|
2830 |
|
2831 |
#: includes/admin/settings/class-sp-settings-events.php:177
|
2832 |
+
#: includes/admin/settings/class-sp-settings-teams.php:71
|
2833 |
msgid "Link venues"
|
2834 |
msgstr ""
|
2835 |
|
2836 |
#: includes/admin/settings/class-sp-settings-events.php:184
|
2837 |
+
msgid "Venue Map"
|
2838 |
msgstr ""
|
2839 |
|
2840 |
#: includes/admin/settings/class-sp-settings-events.php:185
|
2841 |
+
msgid "Display venue map"
|
2842 |
msgstr ""
|
2843 |
|
2844 |
#: includes/admin/settings/class-sp-settings-events.php:198
|
2861 |
msgid "Block"
|
2862 |
msgstr ""
|
2863 |
|
2864 |
+
#: includes/admin/settings/class-sp-settings-events.php:286
|
2865 |
+
msgid "Jersey (e.g. \"33. John Doe\")"
|
2866 |
+
msgstr ""
|
2867 |
+
|
2868 |
+
#: includes/admin/settings/class-sp-settings-events.php:287
|
2869 |
+
msgid "Name (e.g. \"John Doe (33)\")"
|
2870 |
+
msgstr ""
|
2871 |
+
|
2872 |
+
#: includes/admin/settings/class-sp-settings-events.php:300
|
2873 |
+
#: includes/admin/settings/class-sp-settings-status.php:276
|
2874 |
#: includes/admin/views/html-admin-config.php:78
|
2875 |
#: includes/admin/views/html-admin-config.php:82
|
2876 |
#: includes/admin/views/html-admin-page-status.php:237
|
2878 |
msgid "Event Results"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
+
#: includes/admin/settings/class-sp-settings-events.php:317
|
2882 |
msgid "Display outcome"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
+
#: includes/admin/settings/class-sp-settings-events.php:335
|
2886 |
msgid "Rows"
|
2887 |
msgstr ""
|
2888 |
|
2889 |
+
#: includes/admin/settings/class-sp-settings-events.php:377
|
2890 |
+
#: includes/admin/settings/class-sp-settings-players.php:159
|
2891 |
msgid "Icons"
|
2892 |
msgstr ""
|
2893 |
|
2894 |
+
#: includes/admin/settings/class-sp-settings-events.php:382
|
2895 |
msgid "Awards"
|
2896 |
msgstr ""
|
2897 |
|
2898 |
+
#: includes/admin/settings/class-sp-settings-events.php:390
|
2899 |
msgid "Star Number"
|
2900 |
msgstr ""
|
2901 |
|
2902 |
+
#: includes/admin/settings/class-sp-settings-events.php:396
|
2903 |
msgid "Top-level only"
|
2904 |
msgstr ""
|
2905 |
|
2906 |
+
#: includes/admin/settings/class-sp-settings-events.php:437
|
2907 |
+
#: includes/admin/settings/class-sp-settings-players.php:169
|
2908 |
#: modules/sportspress-calendars.php:280
|
2909 |
msgid "Combined"
|
2910 |
msgstr ""
|
2911 |
|
2912 |
+
#: includes/admin/settings/class-sp-settings-events.php:496
|
2913 |
+
#: includes/admin/settings/class-sp-settings-events.php:500
|
2914 |
msgid "Delimiter"
|
2915 |
msgstr ""
|
2916 |
|
2917 |
+
#: includes/admin/settings/class-sp-settings-events.php:505
|
2918 |
msgid "Custom:"
|
2919 |
msgstr ""
|
2920 |
|
2921 |
+
#: includes/admin/settings/class-sp-settings-general.php:43
|
2922 |
+
#: includes/admin/settings/class-sp-settings-general.php:56
|
2923 |
+
#: includes/widgets/class-sp-widget-league-table.php:85
|
2924 |
+
msgid "— Select —"
|
2925 |
+
msgstr ""
|
2926 |
+
|
2927 |
+
#: includes/admin/settings/class-sp-settings-general.php:72
|
2928 |
msgid "General Options"
|
2929 |
msgstr ""
|
2930 |
|
2931 |
+
#: includes/admin/settings/class-sp-settings-general.php:79
|
2932 |
+
#: includes/admin/settings/class-sp-settings-status.php:262
|
2933 |
#: includes/admin/views/html-admin-page-status.php:223
|
2934 |
msgid "Sport"
|
2935 |
msgstr ""
|
2936 |
|
2937 |
+
#: includes/admin/settings/class-sp-settings-general.php:105
|
2938 |
msgid "Styles and Scripts"
|
2939 |
msgstr ""
|
2940 |
|
2941 |
+
#: includes/admin/settings/class-sp-settings-general.php:116
|
2942 |
msgid "Align"
|
2943 |
msgstr ""
|
2944 |
|
2945 |
+
#: includes/admin/settings/class-sp-settings-general.php:122
|
2946 |
#: modules/sportspress-widget-alignment.php:70
|
2947 |
msgid "Left"
|
2948 |
msgstr ""
|
2949 |
|
2950 |
+
#: includes/admin/settings/class-sp-settings-general.php:123
|
2951 |
msgid "Center"
|
2952 |
msgstr ""
|
2953 |
|
2954 |
+
#: includes/admin/settings/class-sp-settings-general.php:124
|
2955 |
#: modules/sportspress-widget-alignment.php:71
|
2956 |
msgid "Right"
|
2957 |
msgstr ""
|
2958 |
|
2959 |
+
#: includes/admin/settings/class-sp-settings-general.php:129
|
2960 |
msgid "Padding"
|
2961 |
msgstr ""
|
2962 |
|
2963 |
+
#: includes/admin/settings/class-sp-settings-general.php:146
|
2964 |
msgid "Custom CSS"
|
2965 |
msgstr ""
|
2966 |
|
2967 |
+
#: includes/admin/settings/class-sp-settings-general.php:155
|
2968 |
msgid "Scripts"
|
2969 |
msgstr ""
|
2970 |
|
2971 |
+
#: includes/admin/settings/class-sp-settings-general.php:156
|
2972 |
msgid "Live countdowns"
|
2973 |
msgstr ""
|
2974 |
|
2975 |
+
#: includes/admin/settings/class-sp-settings-general.php:161
|
2976 |
msgid "This will enable a script allowing the countdowns to be animated."
|
2977 |
msgstr ""
|
2978 |
|
2979 |
+
#: includes/admin/settings/class-sp-settings-general.php:165
|
2980 |
msgid "Shortcode menu"
|
2981 |
msgstr ""
|
2982 |
|
2983 |
+
#: includes/admin/settings/class-sp-settings-general.php:170
|
2984 |
msgid "This will enable a shortcode menu to be displayed in the visual editor."
|
2985 |
msgstr ""
|
2986 |
|
2987 |
+
#: includes/admin/settings/class-sp-settings-general.php:176
|
2988 |
msgid "Tables"
|
2989 |
msgstr ""
|
2990 |
|
2991 |
+
#: includes/admin/settings/class-sp-settings-general.php:177
|
2992 |
msgid "Responsive"
|
2993 |
msgstr ""
|
2994 |
|
2995 |
+
#: includes/admin/settings/class-sp-settings-general.php:185
|
2996 |
msgid "Scrollable"
|
2997 |
msgstr ""
|
2998 |
|
2999 |
+
#: includes/admin/settings/class-sp-settings-general.php:193
|
3000 |
msgid "Sortable"
|
3001 |
msgstr ""
|
3002 |
|
3003 |
+
#: includes/admin/settings/class-sp-settings-general.php:201
|
3004 |
msgid "Widgets"
|
3005 |
msgstr ""
|
3006 |
|
3007 |
+
#: includes/admin/settings/class-sp-settings-general.php:202
|
3008 |
msgid "Unique"
|
3009 |
msgstr ""
|
3010 |
|
3011 |
+
#: includes/admin/settings/class-sp-settings-general.php:206
|
3012 |
msgid "Hide widget when same as content."
|
3013 |
msgstr ""
|
3014 |
|
3015 |
+
#: includes/admin/settings/class-sp-settings-general.php:212
|
3016 |
msgid "Header Offset"
|
3017 |
msgstr ""
|
3018 |
|
3019 |
+
#: includes/admin/settings/class-sp-settings-general.php:354
|
3020 |
msgid "Color Scheme"
|
3021 |
msgstr ""
|
3022 |
|
3023 |
+
#: includes/admin/settings/class-sp-settings-general.php:375
|
3024 |
+
#: modules/sportspress-icons.php:182
|
3025 |
msgid "Customize"
|
3026 |
msgstr ""
|
3027 |
|
3028 |
+
#: includes/admin/settings/class-sp-settings-general.php:395
|
3029 |
msgid "Background"
|
3030 |
msgstr ""
|
3031 |
|
3032 |
+
#: includes/admin/settings/class-sp-settings-general.php:404
|
3033 |
#: modules/sportspress-styles.php:63
|
3034 |
msgid "Enable"
|
3035 |
msgstr ""
|
3067 |
msgstr ""
|
3068 |
|
3069 |
#: includes/admin/settings/class-sp-settings-modules.php:30
|
3070 |
+
#: includes/admin/settings/class-sp-settings-modules.php:216
|
3071 |
msgid "Modules"
|
3072 |
msgstr ""
|
3073 |
|
3080 |
msgstr ""
|
3081 |
|
3082 |
#: includes/admin/settings/class-sp-settings-modules.php:69
|
3083 |
+
#: includes/class-sp-modules.php:200 includes/class-sp-modules.php:211
|
|
|
3084 |
msgid "Premium"
|
3085 |
msgstr ""
|
3086 |
|
3089 |
msgstr ""
|
3090 |
|
3091 |
#: includes/admin/settings/class-sp-settings-modules.php:81
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3092 |
msgid "Get Freebies"
|
3093 |
msgstr ""
|
3094 |
|
3095 |
+
#: includes/admin/settings/class-sp-settings-modules.php:86
|
3096 |
msgid "Instant access to exclusive SportsPress extensions and free downloads."
|
3097 |
msgstr ""
|
3098 |
|
3099 |
+
#: includes/admin/settings/class-sp-settings-modules.php:88
|
3100 |
msgid "Create a free account"
|
3101 |
msgstr ""
|
3102 |
|
3103 |
+
#: includes/admin/settings/class-sp-settings-modules.php:89
|
3104 |
msgid "Sign Up"
|
3105 |
msgstr ""
|
3106 |
|
3107 |
+
#: includes/admin/settings/class-sp-settings-modules.php:102
|
3108 |
msgid "Current Theme"
|
3109 |
msgstr ""
|
3110 |
|
3111 |
+
#: includes/admin/settings/class-sp-settings-modules.php:108
|
3112 |
+
#: includes/admin/settings/class-sp-settings-modules.php:126
|
3113 |
msgid "Rookie is a free starter theme for SportsPress designed by ThemeBoy."
|
3114 |
msgstr ""
|
3115 |
|
3116 |
+
#: includes/admin/settings/class-sp-settings-modules.php:110
|
3117 |
msgid "Need a better theme?"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
+
#: includes/admin/settings/class-sp-settings-modules.php:111
|
3121 |
#: sportspress.php:147
|
3122 |
msgid "Upgrade"
|
3123 |
msgstr ""
|
3124 |
|
3125 |
+
#: includes/admin/settings/class-sp-settings-modules.php:120
|
3126 |
msgid "Free SportsPress Theme"
|
3127 |
msgstr ""
|
3128 |
|
3129 |
+
#: includes/admin/settings/class-sp-settings-modules.php:128
|
3130 |
+
#: includes/class-sp-modules.php:173 includes/class-sp-modules.php:181
|
3131 |
+
#: includes/class-sp-modules.php:222
|
3132 |
msgid "Free"
|
3133 |
msgstr ""
|
3134 |
|
3135 |
+
#: includes/admin/settings/class-sp-settings-modules.php:129
|
3136 |
#: includes/admin/views/html-notice-theme-support.php:8
|
3137 |
msgid "Install Now"
|
3138 |
msgstr ""
|
3139 |
|
3140 |
+
#: includes/admin/settings/class-sp-settings-modules.php:141
|
3141 |
msgid "Documentation"
|
3142 |
msgstr ""
|
3143 |
|
3144 |
+
#: includes/admin/settings/class-sp-settings-modules.php:143
|
3145 |
msgid "Getting Started"
|
3146 |
msgstr ""
|
3147 |
|
3148 |
+
#: includes/admin/settings/class-sp-settings-modules.php:144
|
3149 |
msgid "Manuals"
|
3150 |
msgstr ""
|
3151 |
|
3152 |
+
#: includes/admin/settings/class-sp-settings-modules.php:145
|
3153 |
msgid "Videos"
|
3154 |
msgstr ""
|
3155 |
|
3156 |
+
#: includes/admin/settings/class-sp-settings-modules.php:150
|
3157 |
msgid "Help"
|
3158 |
msgstr ""
|
3159 |
|
3160 |
+
#: includes/admin/settings/class-sp-settings-modules.php:152
|
3161 |
msgid "Support Forums"
|
3162 |
msgstr ""
|
3163 |
|
3164 |
+
#: includes/admin/settings/class-sp-settings-modules.php:153
|
3165 |
msgid "Feature Requests"
|
3166 |
msgstr ""
|
3167 |
|
3168 |
+
#: includes/admin/settings/class-sp-settings-modules.php:158
|
3169 |
msgid "Connect"
|
3170 |
msgstr ""
|
3171 |
|
3172 |
+
#: includes/admin/settings/class-sp-settings-modules.php:160
|
3173 |
+
#: includes/class-sp-modules.php:168
|
3174 |
msgid "Twitter"
|
3175 |
msgstr ""
|
3176 |
|
3177 |
+
#: includes/admin/settings/class-sp-settings-modules.php:161
|
3178 |
+
#: includes/class-sp-modules.php:176
|
3179 |
msgid "Facebook"
|
3180 |
msgstr ""
|
3181 |
|
3182 |
+
#: includes/admin/settings/class-sp-settings-modules.php:162
|
3183 |
msgid "YouTube"
|
3184 |
msgstr ""
|
3185 |
|
3186 |
+
#: includes/admin/settings/class-sp-settings-modules.php:163
|
3187 |
msgid "Google+"
|
3188 |
msgstr ""
|
3189 |
|
3190 |
+
#: includes/admin/settings/class-sp-settings-modules.php:168
|
3191 |
msgid "Developers"
|
3192 |
msgstr ""
|
3193 |
|
3194 |
+
#: includes/admin/settings/class-sp-settings-modules.php:170
|
3195 |
msgid "Reference"
|
3196 |
msgstr ""
|
3197 |
|
3198 |
+
#: includes/admin/settings/class-sp-settings-modules.php:171
|
3199 |
msgid "Slack"
|
3200 |
msgstr ""
|
3201 |
|
3202 |
+
#: includes/admin/settings/class-sp-settings-modules.php:172
|
3203 |
msgid "GitHub"
|
3204 |
msgstr ""
|
3205 |
|
3206 |
+
#: includes/admin/settings/class-sp-settings-modules.php:178
|
3207 |
+
#: includes/admin/settings/class-sp-settings-modules.php:180
|
3208 |
msgid "Premium Support"
|
3209 |
msgstr ""
|
3210 |
|
3211 |
+
#: includes/admin/settings/class-sp-settings-modules.php:255
|
3212 |
#: includes/admin/views/html-admin-settings.php:15
|
3213 |
msgid "Save Changes"
|
3214 |
msgstr ""
|
3239 |
msgid "Display national flags"
|
3240 |
msgstr ""
|
3241 |
|
3242 |
+
#: includes/admin/settings/class-sp-settings-players.php:164
|
3243 |
msgid "Categories"
|
3244 |
msgstr ""
|
3245 |
|
3248 |
msgstr ""
|
3249 |
|
3250 |
#: includes/admin/settings/class-sp-settings-staff.php:54
|
3251 |
+
#: includes/admin/settings/class-sp-settings-teams.php:55
|
3252 |
msgid "Link staff"
|
3253 |
msgstr ""
|
3254 |
|
3255 |
#: includes/admin/settings/class-sp-settings-status.php:25
|
3256 |
+
#: includes/admin/settings/class-sp-settings-status.php:42
|
3257 |
#: includes/admin/views/html-admin-page-status.php:2
|
3258 |
#: includes/admin/views/html-notice-template-check.php:6
|
3259 |
msgid "System Status"
|
3260 |
msgstr ""
|
3261 |
|
3262 |
+
#: includes/admin/settings/class-sp-settings-status.php:44
|
3263 |
#: includes/admin/views/html-admin-page-status.php:5
|
3264 |
msgid "Please include this information when requesting support:"
|
3265 |
msgstr ""
|
3266 |
|
3267 |
+
#: includes/admin/settings/class-sp-settings-status.php:45
|
3268 |
#: includes/admin/views/html-admin-page-status.php:6
|
3269 |
msgid "Get System Report"
|
3270 |
msgstr ""
|
3271 |
|
3272 |
+
#: includes/admin/settings/class-sp-settings-status.php:53
|
3273 |
#: includes/admin/views/html-admin-page-status.php:14
|
3274 |
msgid "Environment"
|
3275 |
msgstr ""
|
3276 |
|
3277 |
+
#: includes/admin/settings/class-sp-settings-status.php:59
|
3278 |
#: includes/admin/views/html-admin-page-status.php:20
|
3279 |
msgid "Home URL"
|
3280 |
msgstr ""
|
3281 |
|
3282 |
+
#: includes/admin/settings/class-sp-settings-status.php:67
|
3283 |
#: includes/admin/views/html-admin-page-status.php:28
|
3284 |
msgid "SP Version"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
+
#: includes/admin/settings/class-sp-settings-status.php:71
|
3288 |
#: includes/admin/views/html-admin-page-status.php:32
|
3289 |
msgid "WP Version"
|
3290 |
msgstr ""
|
3291 |
|
3292 |
+
#: includes/admin/settings/class-sp-settings-status.php:75
|
3293 |
#: includes/admin/views/html-admin-page-status.php:36
|
3294 |
msgid "WP Multisite Enabled"
|
3295 |
msgstr ""
|
3296 |
|
3297 |
+
#: includes/admin/settings/class-sp-settings-status.php:79
|
3298 |
#: includes/admin/views/html-admin-page-status.php:40
|
3299 |
msgid "Web Server Info"
|
3300 |
msgstr ""
|
3301 |
|
3302 |
+
#: includes/admin/settings/class-sp-settings-status.php:83
|
3303 |
#: includes/admin/views/html-admin-page-status.php:44
|
3304 |
msgid "PHP Version"
|
3305 |
msgstr ""
|
3306 |
|
3307 |
+
#: includes/admin/settings/class-sp-settings-status.php:87
|
3308 |
#: includes/admin/views/html-admin-page-status.php:48
|
3309 |
msgid "WP Memory Limit"
|
3310 |
msgstr ""
|
3311 |
|
3312 |
+
#: includes/admin/settings/class-sp-settings-status.php:92
|
3313 |
#: includes/admin/views/html-admin-page-status.php:53
|
3314 |
#, php-format
|
3315 |
msgid ""
|
3317 |
"\">Increasing memory allocated to PHP</a>"
|
3318 |
msgstr ""
|
3319 |
|
3320 |
+
#: includes/admin/settings/class-sp-settings-status.php:99
|
3321 |
#: includes/admin/views/html-admin-page-status.php:60
|
3322 |
msgid "WP Debug Mode"
|
3323 |
msgstr ""
|
3324 |
|
3325 |
+
#: includes/admin/settings/class-sp-settings-status.php:103
|
3326 |
#: includes/admin/views/html-admin-page-status.php:64
|
3327 |
msgid "WP Language"
|
3328 |
msgstr ""
|
3329 |
|
3330 |
+
#: includes/admin/settings/class-sp-settings-status.php:107
|
3331 |
#: includes/admin/views/html-admin-page-status.php:68
|
3332 |
msgid "WP Max Upload Size"
|
3333 |
msgstr ""
|
3334 |
|
3335 |
+
#: includes/admin/settings/class-sp-settings-status.php:112
|
3336 |
#: includes/admin/views/html-admin-page-status.php:73
|
3337 |
msgid "PHP Post Max Size"
|
3338 |
msgstr ""
|
3339 |
|
3340 |
+
#: includes/admin/settings/class-sp-settings-status.php:116
|
3341 |
#: includes/admin/views/html-admin-page-status.php:77
|
3342 |
msgid "PHP Time Limit"
|
3343 |
msgstr ""
|
3344 |
|
3345 |
+
#: includes/admin/settings/class-sp-settings-status.php:120
|
3346 |
#: includes/admin/views/html-admin-page-status.php:81
|
3347 |
msgid "PHP Max Input Vars"
|
3348 |
msgstr ""
|
3349 |
|
3350 |
+
#: includes/admin/settings/class-sp-settings-status.php:124
|
3351 |
#: includes/admin/views/html-admin-page-status.php:85
|
3352 |
msgid "SUHOSIN Installed"
|
3353 |
msgstr ""
|
3354 |
|
3355 |
+
#: includes/admin/settings/class-sp-settings-status.php:129
|
3356 |
#: includes/admin/views/html-admin-page-status.php:90
|
3357 |
msgid "Default Timezone"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
+
#: includes/admin/settings/class-sp-settings-status.php:133
|
3361 |
#: includes/admin/views/html-admin-page-status.php:94
|
3362 |
#, php-format
|
3363 |
msgid "Default timezone is %s - it should be UTC"
|
3364 |
msgstr ""
|
3365 |
|
3366 |
+
#: includes/admin/settings/class-sp-settings-status.php:135
|
3367 |
#: includes/admin/views/html-admin-page-status.php:96
|
3368 |
#, php-format
|
3369 |
msgid "Default timezone is %s"
|
3370 |
msgstr ""
|
3371 |
|
3372 |
+
#: includes/admin/settings/class-sp-settings-status.php:143
|
3373 |
#: includes/admin/views/html-admin-page-status.php:104
|
3374 |
msgid "fsockopen/cURL"
|
3375 |
msgstr ""
|
3376 |
|
3377 |
+
#: includes/admin/settings/class-sp-settings-status.php:146
|
3378 |
#: includes/admin/views/html-admin-page-status.php:107
|
3379 |
msgid "Your server has fsockopen and cURL enabled."
|
3380 |
msgstr ""
|
3381 |
|
3382 |
+
#: includes/admin/settings/class-sp-settings-status.php:148
|
3383 |
#: includes/admin/views/html-admin-page-status.php:109
|
3384 |
msgid "Your server has fsockopen enabled, cURL is disabled."
|
3385 |
msgstr ""
|
3386 |
|
3387 |
+
#: includes/admin/settings/class-sp-settings-status.php:150
|
3388 |
#: includes/admin/views/html-admin-page-status.php:111
|
3389 |
msgid "Your server has cURL enabled, fsockopen is disabled."
|
3390 |
msgstr ""
|
3391 |
|
3392 |
+
#: includes/admin/settings/class-sp-settings-status.php:154
|
3393 |
#: includes/admin/views/html-admin-page-status.php:115
|
3394 |
msgid ""
|
3395 |
"Your server does not have fsockopen or cURL enabled - PayPal IPN and other "
|
3397 |
"hosting provider."
|
3398 |
msgstr ""
|
3399 |
|
3400 |
+
#: includes/admin/settings/class-sp-settings-status.php:159
|
3401 |
#: includes/admin/views/html-admin-page-status.php:120
|
3402 |
msgid "SOAP Client"
|
3403 |
msgstr ""
|
3404 |
|
3405 |
+
#: includes/admin/settings/class-sp-settings-status.php:161
|
3406 |
#: includes/admin/views/html-admin-page-status.php:122
|
3407 |
msgid "Your server has the SOAP Client class enabled."
|
3408 |
msgstr ""
|
3409 |
|
3410 |
+
#: includes/admin/settings/class-sp-settings-status.php:164
|
3411 |
#: includes/admin/views/html-admin-page-status.php:125
|
3412 |
#, php-format
|
3413 |
msgid ""
|
3415 |
"some gateway plugins which use SOAP may not work as expected."
|
3416 |
msgstr ""
|
3417 |
|
3418 |
+
#: includes/admin/settings/class-sp-settings-status.php:187
|
3419 |
#: includes/admin/views/html-admin-page-status.php:148
|
3420 |
msgid "Plugins"
|
3421 |
msgstr ""
|
3422 |
|
3423 |
+
#: includes/admin/settings/class-sp-settings-status.php:193
|
3424 |
#: includes/admin/views/html-admin-page-status.php:154
|
3425 |
msgid "Installed Plugins"
|
3426 |
msgstr ""
|
3427 |
|
3428 |
+
#: includes/admin/settings/class-sp-settings-status.php:213
|
3429 |
#: includes/admin/views/html-admin-page-status.php:174
|
3430 |
msgid "Visit plugin homepage"
|
3431 |
msgstr ""
|
3432 |
|
3433 |
+
#: includes/admin/settings/class-sp-settings-status.php:237
|
3434 |
+
#: includes/admin/settings/class-sp-settings-status.php:454
|
3435 |
#: includes/admin/views/html-admin-page-status.php:198
|
3436 |
#: includes/admin/views/html-admin-page-status.php:413
|
3437 |
msgid "is available"
|
3438 |
msgstr ""
|
3439 |
|
3440 |
+
#: includes/admin/settings/class-sp-settings-status.php:240
|
3441 |
#: includes/admin/views/html-admin-page-status.php:201
|
3442 |
msgid "by"
|
3443 |
msgstr ""
|
3444 |
|
3445 |
+
#: includes/admin/settings/class-sp-settings-status.php:240
|
3446 |
#: includes/admin/views/html-admin-page-status.php:201
|
3447 |
msgid "version"
|
3448 |
msgstr ""
|
3449 |
|
3450 |
+
#: includes/admin/settings/class-sp-settings-status.php:256
|
3451 |
#: includes/admin/views/html-admin-page-status.php:217
|
3452 |
msgid "SP Configuration"
|
3453 |
msgstr ""
|
3454 |
|
3455 |
+
#: includes/admin/settings/class-sp-settings-status.php:266
|
3456 |
#: includes/admin/views/html-admin-config.php:23
|
3457 |
#: includes/admin/views/html-admin-page-status.php:227
|
3458 |
#: includes/class-sp-post-types.php:260 modules/sportspress-tutorials.php:102
|
3459 |
msgid "Event Outcomes"
|
3460 |
msgstr ""
|
3461 |
|
3462 |
+
#: includes/admin/settings/class-sp-settings-status.php:286
|
3463 |
#: includes/admin/views/html-admin-config.php:158
|
3464 |
#: includes/admin/views/html-admin-config.php:162
|
3465 |
#: includes/admin/views/html-admin-page-status.php:247
|
3467 |
msgid "Player Performance"
|
3468 |
msgstr ""
|
3469 |
|
3470 |
+
#: includes/admin/settings/class-sp-settings-status.php:296
|
3471 |
#: includes/admin/views/html-admin-config.php:259
|
3472 |
#: includes/admin/views/html-admin-page-status.php:257
|
3473 |
#: includes/class-sp-post-types.php:290
|
3475 |
msgid "Table Columns"
|
3476 |
msgstr ""
|
3477 |
|
3478 |
+
#: includes/admin/settings/class-sp-settings-status.php:308
|
3479 |
#: includes/admin/views/html-admin-config.php:313
|
3480 |
#: includes/admin/views/html-admin-page-status.php:267
|
3481 |
#: includes/class-sp-post-types.php:320 modules/sportspress-tutorials.php:114
|
3482 |
msgid "Player Metrics"
|
3483 |
msgstr ""
|
3484 |
|
3485 |
+
#: includes/admin/settings/class-sp-settings-status.php:318
|
3486 |
#: includes/admin/views/html-admin-config.php:366
|
3487 |
#: includes/admin/views/html-admin-page-status.php:277
|
3488 |
#: includes/class-sp-post-types.php:385
|
3489 |
msgid "Player Statistics"
|
3490 |
msgstr ""
|
3491 |
|
3492 |
+
#: includes/admin/settings/class-sp-settings-status.php:331
|
3493 |
#: includes/admin/views/html-admin-page-status.php:290
|
3494 |
msgid "SP Taxonomies"
|
3495 |
msgstr ""
|
3496 |
|
3497 |
+
#: includes/admin/settings/class-sp-settings-status.php:380
|
3498 |
#: includes/admin/views/html-admin-page-status.php:339
|
3499 |
msgid "SP Post Types"
|
3500 |
msgstr ""
|
3501 |
|
3502 |
+
#: includes/admin/settings/class-sp-settings-status.php:406
|
3503 |
#: includes/admin/views/html-admin-page-status.php:365
|
3504 |
msgid "Theme"
|
3505 |
msgstr ""
|
3506 |
|
3507 |
+
#: includes/admin/settings/class-sp-settings-status.php:443
|
3508 |
#: includes/admin/views/html-admin-page-status.php:402
|
3509 |
msgid "Theme Name"
|
3510 |
msgstr ""
|
3511 |
|
3512 |
+
#: includes/admin/settings/class-sp-settings-status.php:449
|
3513 |
#: includes/admin/views/html-admin-page-status.php:408
|
3514 |
msgid "Theme Version"
|
3515 |
msgstr ""
|
3516 |
|
3517 |
+
#: includes/admin/settings/class-sp-settings-status.php:458
|
3518 |
#: includes/admin/views/html-admin-page-status.php:417
|
3519 |
msgid "Author URL"
|
3520 |
msgstr ""
|
3521 |
|
3522 |
+
#: includes/admin/settings/class-sp-settings-status.php:467
|
3523 |
#: includes/admin/views/html-admin-page-status.php:426
|
3524 |
msgid "Templates"
|
3525 |
msgstr ""
|
3526 |
|
3527 |
+
#: includes/admin/settings/class-sp-settings-status.php:502
|
3528 |
#: includes/admin/views/html-admin-page-status.php:459
|
3529 |
#, php-format
|
3530 |
msgid ""
|
3532 |
"date. The core version is %s"
|
3533 |
msgstr ""
|
3534 |
|
3535 |
+
#: includes/admin/settings/class-sp-settings-status.php:513
|
3536 |
+
#: includes/admin/settings/class-sp-settings-status.php:519
|
3537 |
#: includes/admin/views/html-admin-page-status.php:470
|
3538 |
#: includes/admin/views/html-admin-page-status.php:476
|
3539 |
msgid "Template Overrides"
|
3540 |
msgstr ""
|
3541 |
|
3542 |
+
#: includes/admin/settings/class-sp-settings-status.php:520
|
3543 |
#: includes/admin/views/html-admin-page-status.php:477
|
3544 |
msgid "No overrides present in theme."
|
3545 |
msgstr ""
|
3548 |
msgid "Team Options"
|
3549 |
msgstr ""
|
3550 |
|
3551 |
+
#: includes/admin/settings/class-sp-settings-teams.php:63
|
3552 |
msgid "Link teams"
|
3553 |
msgstr ""
|
3554 |
|
|
|
|
|
|
|
|
|
3555 |
#: includes/admin/settings/class-sp-settings-teams.php:78
|
3556 |
+
#: includes/class-sp-templates.php:132 includes/sp-core-functions.php:427
|
3557 |
+
#: includes/sp-core-functions.php:1614 templates/team-link.php:22
|
3558 |
msgid "Visit Site"
|
3559 |
msgstr ""
|
3560 |
|
3641 |
msgid "Winner"
|
3642 |
msgstr ""
|
3643 |
|
3644 |
+
#: includes/api/class-sp-rest-api.php:416
|
3645 |
+
#: includes/api/class-sp-rest-api.php:512
|
3646 |
msgid "Nationalities"
|
3647 |
msgstr ""
|
3648 |
|
3649 |
+
#: includes/class-sp-ajax.php:79
|
3650 |
+
#: includes/widgets/class-sp-widget-countdown.php:130
|
3651 |
+
#: modules/sportspress-calendars.php:357
|
3652 |
msgid "Display venue"
|
3653 |
msgstr ""
|
3654 |
|
3655 |
+
#: includes/class-sp-ajax.php:85
|
3656 |
+
#: includes/widgets/class-sp-widget-countdown.php:133
|
3657 |
#: modules/sportspress-calendars.php:333
|
3658 |
msgid "Display league"
|
3659 |
msgstr ""
|
3660 |
|
3661 |
+
#: includes/class-sp-ajax.php:90 includes/class-sp-ajax.php:120
|
3662 |
+
#: includes/class-sp-ajax.php:150 includes/class-sp-ajax.php:180
|
3663 |
+
#: includes/class-sp-ajax.php:210 includes/class-sp-ajax.php:240
|
3664 |
+
#: includes/class-sp-ajax.php:270 includes/class-sp-ajax.php:300
|
3665 |
+
#: includes/class-sp-ajax.php:447 includes/class-sp-ajax.php:648
|
3666 |
+
#: includes/class-sp-ajax.php:845 includes/class-sp-ajax.php:918
|
3667 |
+
#: includes/class-sp-ajax.php:982 includes/class-sp-ajax.php:1012
|
3668 |
+
#: includes/class-sp-ajax.php:1042 includes/class-sp-ajax.php:1184
|
3669 |
+
#: includes/class-sp-ajax.php:1268
|
3670 |
msgid "Insert Shortcode"
|
3671 |
msgstr ""
|
3672 |
|
3673 |
+
#: includes/class-sp-ajax.php:331 includes/class-sp-ajax.php:484
|
3674 |
+
#: includes/class-sp-ajax.php:691 includes/class-sp-ajax.php:1078
|
3675 |
msgid "Team:"
|
3676 |
msgstr ""
|
3677 |
|
3678 |
+
#: includes/class-sp-ajax.php:345 includes/class-sp-ajax.php:498
|
3679 |
+
#: includes/class-sp-ajax.php:705 includes/class-sp-ajax.php:1092
|
3680 |
msgid "League:"
|
3681 |
msgstr ""
|
3682 |
|
3683 |
+
#: includes/class-sp-ajax.php:359 includes/class-sp-ajax.php:512
|
3684 |
+
#: includes/class-sp-ajax.php:719 includes/class-sp-ajax.php:1106
|
3685 |
msgid "Season:"
|
3686 |
msgstr ""
|
3687 |
|
3688 |
+
#: includes/class-sp-ajax.php:373 includes/class-sp-ajax.php:526
|
3689 |
+
#: includes/class-sp-ajax.php:733
|
3690 |
msgid "Venue:"
|
3691 |
msgstr ""
|
3692 |
|
3693 |
+
#: includes/class-sp-ajax.php:387 includes/class-sp-ajax.php:540
|
3694 |
+
#: includes/class-sp-ajax.php:747
|
3695 |
#: includes/widgets/class-sp-widget-event-blocks.php:116
|
3696 |
#: includes/widgets/class-sp-widget-event-calendar.php:104
|
3697 |
#: includes/widgets/class-sp-widget-event-list.php:121
|
3698 |
msgid "Status:"
|
3699 |
msgstr ""
|
3700 |
|
3701 |
+
#: includes/class-sp-ajax.php:398 includes/class-sp-ajax.php:563
|
3702 |
+
#: includes/class-sp-ajax.php:770
|
3703 |
+
#: includes/widgets/class-sp-widget-event-blocks.php:130
|
3704 |
+
#: includes/widgets/class-sp-widget-event-calendar.php:118
|
3705 |
+
#: includes/widgets/class-sp-widget-event-list.php:135
|
3706 |
+
msgid "Date:"
|
3707 |
+
msgstr ""
|
3708 |
+
|
3709 |
+
#: includes/class-sp-ajax.php:435 includes/class-sp-ajax.php:600
|
3710 |
+
#: includes/class-sp-ajax.php:807
|
3711 |
#: includes/widgets/class-sp-widget-event-blocks.php:167
|
3712 |
#: includes/widgets/class-sp-widget-event-calendar.php:155
|
3713 |
#: includes/widgets/class-sp-widget-event-list.php:172
|
3714 |
msgid "Match Day:"
|
3715 |
msgstr ""
|
3716 |
|
3717 |
+
#: includes/class-sp-ajax.php:441 includes/class-sp-ajax.php:643
|
3718 |
+
#: includes/class-sp-ajax.php:840
|
3719 |
#: includes/widgets/class-sp-widget-event-blocks.php:181
|
3720 |
#: includes/widgets/class-sp-widget-event-calendar.php:159
|
3721 |
#: includes/widgets/class-sp-widget-event-list.php:219
|
3722 |
msgid "Display link to view all events"
|
3723 |
msgstr ""
|
3724 |
|
3725 |
+
#: includes/class-sp-ajax.php:464 includes/class-sp-ajax.php:665
|
3726 |
+
#: includes/class-sp-ajax.php:862 includes/class-sp-ajax.php:935
|
3727 |
+
#: includes/class-sp-ajax.php:1059 includes/class-sp-ajax.php:1201
|
3728 |
+
#: includes/widgets/class-sp-widget-birthdays.php:56
|
3729 |
+
#: includes/widgets/class-sp-widget-countdown.php:69
|
3730 |
#: includes/widgets/class-sp-widget-event-blocks.php:93
|
3731 |
#: includes/widgets/class-sp-widget-event-calendar.php:84
|
3732 |
#: includes/widgets/class-sp-widget-event-list.php:98
|
3738 |
msgid "Title:"
|
3739 |
msgstr ""
|
3740 |
|
3741 |
+
#: includes/class-sp-ajax.php:552 includes/class-sp-ajax.php:759
|
3742 |
+
msgid "Format:"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3743 |
msgstr ""
|
3744 |
|
3745 |
+
#: includes/class-sp-ajax.php:606 includes/class-sp-ajax.php:813
|
3746 |
#: includes/widgets/class-sp-widget-event-blocks.php:170
|
3747 |
#: includes/widgets/class-sp-widget-event-list.php:175
|
3748 |
msgid "Number of events to show:"
|
3749 |
msgstr ""
|
3750 |
|
3751 |
+
#: includes/class-sp-ajax.php:612 includes/class-sp-ajax.php:829
|
3752 |
+
#: includes/class-sp-ajax.php:1168 includes/class-sp-ajax.php:1252
|
3753 |
#: includes/widgets/class-sp-widget-event-blocks.php:173
|
3754 |
#: includes/widgets/class-sp-widget-event-list.php:178
|
3755 |
#: includes/widgets/class-sp-widget-player-gallery.php:131
|
3757 |
msgid "Sort Order:"
|
3758 |
msgstr ""
|
3759 |
|
3760 |
+
#: includes/class-sp-ajax.php:621 includes/class-sp-ajax.php:886
|
3761 |
+
#: includes/class-sp-ajax.php:960 includes/class-sp-ajax.php:1125
|
3762 |
+
#: includes/class-sp-ajax.php:1226
|
3763 |
#: includes/widgets/class-sp-widget-event-list.php:186
|
3764 |
#: includes/widgets/class-sp-widget-league-table.php:100
|
3765 |
#: includes/widgets/class-sp-widget-player-gallery.php:103
|
3767 |
msgid "Columns:"
|
3768 |
msgstr ""
|
3769 |
|
3770 |
+
#: includes/class-sp-ajax.php:631 modules/sportspress-event-specs.php:186
|
3771 |
+
#: modules/sportspress-event-specs.php:194
|
3772 |
+
msgid "Specs"
|
3773 |
+
msgstr ""
|
3774 |
+
|
3775 |
+
#: includes/class-sp-ajax.php:671
|
3776 |
+
msgid "Event:"
|
3777 |
+
msgstr ""
|
3778 |
+
|
3779 |
+
#: includes/class-sp-ajax.php:819 includes/class-sp-ajax.php:1148
|
3780 |
+
#: includes/class-sp-ajax.php:1232
|
3781 |
#: includes/widgets/class-sp-widget-player-gallery.php:106
|
3782 |
#: includes/widgets/class-sp-widget-player-list.php:134
|
3783 |
#: includes/widgets/class-sp-widget-team-gallery.php:103
|
3784 |
msgid "Sort by:"
|
3785 |
msgstr ""
|
3786 |
|
3787 |
+
#: includes/class-sp-ajax.php:881 includes/class-sp-ajax.php:954
|
3788 |
#: includes/widgets/class-sp-widget-league-table.php:96
|
3789 |
#: includes/widgets/class-sp-widget-team-gallery.php:97
|
3790 |
msgid "Number of teams to show:"
|
3791 |
msgstr ""
|
3792 |
|
3793 |
+
#: includes/class-sp-ajax.php:907
|
3794 |
#: includes/widgets/class-sp-widget-league-table.php:120
|
3795 |
#: modules/sportspress-calendars.php:256 modules/sportspress-calendars.php:325
|
|
|
3796 |
#: modules/sportspress-league-tables.php:247
|
3797 |
+
#: modules/sportspress-officials.php:357
|
3798 |
+
#: modules/sportspress-player-lists.php:272
|
3799 |
msgid "Display logos"
|
3800 |
msgstr ""
|
3801 |
|
3802 |
+
#: includes/class-sp-ajax.php:913 includes/class-sp-ajax.php:977
|
3803 |
#: includes/widgets/class-sp-widget-league-table.php:123
|
3804 |
msgid "Display link to view full table"
|
3805 |
msgstr ""
|
3806 |
|
3807 |
+
#: includes/class-sp-ajax.php:966
|
3808 |
msgid "Order by"
|
3809 |
msgstr ""
|
3810 |
|
3811 |
+
#: includes/class-sp-ajax.php:969
|
3812 |
#: includes/widgets/class-sp-widget-team-gallery.php:106
|
3813 |
msgid "Alphabetical"
|
3814 |
msgstr ""
|
3815 |
|
3816 |
+
#: includes/class-sp-ajax.php:970
|
3817 |
#: includes/widgets/class-sp-widget-player-gallery.php:116
|
3818 |
#: includes/widgets/class-sp-widget-team-gallery.php:107
|
3819 |
msgid "Random"
|
3820 |
msgstr ""
|
3821 |
|
3822 |
+
#: includes/class-sp-ajax.php:1120 includes/class-sp-ajax.php:1220
|
3823 |
#: includes/widgets/class-sp-widget-player-gallery.php:100
|
3824 |
#: includes/widgets/class-sp-widget-player-list.php:100
|
3825 |
msgid "Number of players to show:"
|
3826 |
msgstr ""
|
3827 |
|
3828 |
+
#: includes/class-sp-ajax.php:1139
|
3829 |
msgid "#"
|
3830 |
msgstr ""
|
3831 |
|
3832 |
+
#: includes/class-sp-ajax.php:1179 includes/class-sp-ajax.php:1263
|
3833 |
#: includes/widgets/class-sp-widget-player-gallery.php:138
|
3834 |
#: includes/widgets/class-sp-widget-player-list.php:163
|
3835 |
msgid "Display link to view all players"
|
4763 |
msgid "Standings"
|
4764 |
msgstr ""
|
4765 |
|
4766 |
+
#: includes/class-sp-frontend-scripts.php:78
|
4767 |
msgid "Previous"
|
4768 |
msgstr ""
|
4769 |
|
4779 |
msgid "League Manager"
|
4780 |
msgstr ""
|
4781 |
|
4782 |
+
#: includes/class-sp-install.php:584
|
4783 |
msgid "What's new:"
|
4784 |
msgstr ""
|
4785 |
|
4786 |
+
#: includes/class-sp-league-table.php:771 includes/sp-core-functions.php:1592
|
4787 |
#: modules/sportspress-league-tables.php:288
|
4788 |
+
#: modules/sportspress-officials.php:398 templates/league-table.php:80
|
4789 |
msgid "Pos"
|
4790 |
msgstr ""
|
4791 |
|
4792 |
#: includes/class-sp-modules.php:33
|
4793 |
+
msgid "Results Matrix"
|
4794 |
msgstr ""
|
4795 |
|
4796 |
#: includes/class-sp-modules.php:37
|
4797 |
+
msgid "Display fixtures and results between teams in a grid layout."
|
4798 |
msgstr ""
|
4799 |
|
4800 |
#: includes/class-sp-modules.php:40
|
4801 |
+
msgid "Scoreboard"
|
4802 |
msgstr ""
|
4803 |
|
4804 |
#: includes/class-sp-modules.php:44
|
4805 |
+
msgid "Display multiple event results in a horizontal scoreboard."
|
4806 |
msgstr ""
|
4807 |
|
4808 |
#: includes/class-sp-modules.php:47
|
4809 |
+
msgid "User Scores"
|
4810 |
msgstr ""
|
4811 |
|
4812 |
#: includes/class-sp-modules.php:51
|
4813 |
+
msgid "Let players, staff, and visitors submit event scores for review."
|
4814 |
msgstr ""
|
4815 |
|
4816 |
#: includes/class-sp-modules.php:54
|
4817 |
+
msgid "Match Stats"
|
4818 |
msgstr ""
|
4819 |
|
4820 |
#: includes/class-sp-modules.php:58
|
4821 |
+
msgid "Display head-to-head team comparison charts in events."
|
4822 |
msgstr ""
|
4823 |
|
4824 |
#: includes/class-sp-modules.php:61
|
4825 |
+
msgid "Past Meetings"
|
4826 |
msgstr ""
|
4827 |
|
4828 |
#: includes/class-sp-modules.php:65
|
4829 |
+
msgid "Display previous events between teams in list or blocks layout."
|
4830 |
+
msgstr ""
|
4831 |
+
|
4832 |
+
#: includes/class-sp-modules.php:68
|
4833 |
+
msgid "Timelines"
|
4834 |
+
msgstr ""
|
4835 |
+
|
4836 |
+
#: includes/class-sp-modules.php:72
|
4837 |
+
msgid "Display a visual timeline of player performance in events."
|
4838 |
msgstr ""
|
4839 |
|
4840 |
#: includes/class-sp-modules.php:75
|
4841 |
+
msgid "Tournaments"
|
4842 |
msgstr ""
|
4843 |
|
4844 |
#: includes/class-sp-modules.php:79
|
4845 |
+
msgid "Schedule tournaments and create interactive playoff brackets."
|
4846 |
msgstr ""
|
4847 |
|
4848 |
#: includes/class-sp-modules.php:82
|
4849 |
+
msgid "GoogleMaps"
|
4850 |
msgstr ""
|
4851 |
|
4852 |
#: includes/class-sp-modules.php:86
|
4853 |
+
msgid "Use GoogleMaps for Venue addresses."
|
4854 |
+
msgstr ""
|
4855 |
+
|
4856 |
+
#: includes/class-sp-modules.php:96
|
4857 |
+
msgid "League Menu"
|
4858 |
+
msgstr ""
|
4859 |
+
|
4860 |
+
#: includes/class-sp-modules.php:100
|
4861 |
+
msgid "Add a global navigation bar to display logos that link to each team."
|
4862 |
+
msgstr ""
|
4863 |
+
|
4864 |
+
#: includes/class-sp-modules.php:103
|
4865 |
+
msgid "Team Colors"
|
4866 |
+
msgstr ""
|
4867 |
+
|
4868 |
+
#: includes/class-sp-modules.php:107
|
4869 |
msgid "Create a custom color palette for each team."
|
4870 |
msgstr ""
|
4871 |
|
4872 |
+
#: includes/class-sp-modules.php:110
|
4873 |
msgid "Team Access"
|
4874 |
msgstr ""
|
4875 |
|
4876 |
+
#: includes/class-sp-modules.php:114
|
4877 |
msgid "Limit user access to data that is related to their team."
|
4878 |
msgstr ""
|
4879 |
|
4880 |
+
#: includes/class-sp-modules.php:124
|
4881 |
+
msgid "Midseason Transfers"
|
4882 |
+
msgstr ""
|
4883 |
+
|
4884 |
+
#: includes/class-sp-modules.php:128
|
4885 |
+
msgid "Statistics for players who transferred between teams during a season."
|
4886 |
+
msgstr ""
|
4887 |
+
|
4888 |
+
#: includes/class-sp-modules.php:132
|
4889 |
msgid "Directories"
|
4890 |
msgstr ""
|
4891 |
|
4892 |
+
#: includes/class-sp-modules.php:136
|
4893 |
msgid "Organize and display staff in list and gallery layouts."
|
4894 |
msgstr ""
|
4895 |
|
4896 |
+
#: includes/class-sp-modules.php:141
|
4897 |
msgid "Manage referees, umpires, judges, timekeepers, and other officials."
|
4898 |
msgstr ""
|
4899 |
|
4900 |
+
#: includes/class-sp-modules.php:147 modules/sportspress-tutorials.php:133
|
4901 |
#: modules/sportspress-tutorials.php:135 modules/sportspress-tutorials.php:144
|
4902 |
msgid "Tutorials"
|
4903 |
msgstr ""
|
4904 |
|
4905 |
+
#: includes/class-sp-modules.php:149
|
4906 |
msgid "Display a dashboard page with SportsPress video tutorials."
|
4907 |
msgstr ""
|
4908 |
|
4909 |
+
#: includes/class-sp-modules.php:152
|
4910 |
msgid "Branding"
|
4911 |
msgstr ""
|
4912 |
|
4913 |
+
#: includes/class-sp-modules.php:156
|
4914 |
msgid "Instantly rebrand the dashboard with your own logo and colors."
|
4915 |
msgstr ""
|
4916 |
|
4917 |
+
#: includes/class-sp-modules.php:159
|
4918 |
msgid "Duplicator"
|
4919 |
msgstr ""
|
4920 |
|
4921 |
+
#: includes/class-sp-modules.php:163
|
4922 |
msgid "Clone anything with just one click. Great for creating multiple events."
|
4923 |
msgstr ""
|
4924 |
|
4925 |
+
#: includes/class-sp-modules.php:172
|
4926 |
msgid "Add a Twitter feed to team, player, and staff pages."
|
4927 |
msgstr ""
|
4928 |
|
4929 |
+
#: includes/class-sp-modules.php:180
|
4930 |
msgid "Add a Facebook Page widget to embed and promote each team."
|
4931 |
msgstr ""
|
4932 |
|
4933 |
+
#: includes/class-sp-modules.php:184
|
4934 |
msgid "Sponsors"
|
4935 |
msgstr ""
|
4936 |
|
4937 |
+
#: includes/class-sp-modules.php:188
|
4938 |
msgid "Attract sponsors by offering them advertising space on your website."
|
4939 |
msgstr ""
|
4940 |
|
4941 |
+
#: includes/class-sp-modules.php:195
|
4942 |
msgid "BuddyPress"
|
4943 |
msgstr ""
|
4944 |
|
4945 |
+
#: includes/class-sp-modules.php:199
|
4946 |
msgid "Easily display SportsPress player information in BuddyPress profiles."
|
4947 |
msgstr ""
|
4948 |
|
4949 |
+
#: includes/class-sp-modules.php:206
|
4950 |
msgid "WooCommerce"
|
4951 |
msgstr ""
|
4952 |
|
4953 |
+
#: includes/class-sp-modules.php:210
|
4954 |
msgid "Sell team merchandise by integrating WooCommerce with SportsPress."
|
4955 |
msgstr ""
|
4956 |
|
4957 |
+
#: includes/class-sp-modules.php:217
|
4958 |
msgid "Yoast SEO"
|
4959 |
msgstr ""
|
4960 |
|
4961 |
+
#: includes/class-sp-modules.php:221
|
4962 |
msgid "Generate custom titles for SportsPress pages using Yoast SEO."
|
4963 |
msgstr ""
|
4964 |
|
4965 |
+
#: includes/class-sp-modules.php:228
|
4966 |
msgid "Multisite"
|
4967 |
msgstr ""
|
4968 |
|
4969 |
+
#: includes/class-sp-modules.php:232
|
4970 |
msgid "Manage multiple sports and display different widgets all on one site."
|
4971 |
msgstr ""
|
4972 |
|
4981 |
#: includes/class-sp-post-types.php:325 includes/class-sp-post-types.php:356
|
4982 |
#: includes/class-sp-post-types.php:391
|
4983 |
#: modules/sportspress-bulk-actions.php:100
|
4984 |
+
#: modules/sportspress-event-specs.php:74 modules/sportspress-officials.php:87
|
4985 |
msgid "View"
|
4986 |
msgstr ""
|
4987 |
|
4988 |
#: includes/class-sp-post-types.php:47 includes/class-sp-post-types.php:83
|
4989 |
#: includes/class-sp-post-types.php:119 includes/class-sp-post-types.php:155
|
4990 |
+
#: includes/class-sp-post-types.php:191 modules/sportspress-officials.php:91
|
4991 |
msgid "Parent"
|
4992 |
msgstr ""
|
4993 |
|
4994 |
#: includes/class-sp-post-types.php:48 includes/class-sp-post-types.php:84
|
4995 |
#: includes/class-sp-post-types.php:120 includes/class-sp-post-types.php:156
|
4996 |
+
#: includes/class-sp-post-types.php:192 modules/sportspress-officials.php:92
|
4997 |
msgid "Parent:"
|
4998 |
msgstr ""
|
4999 |
|
5002 |
#: includes/class-sp-post-types.php:193 includes/class-sp-post-types.php:236
|
5003 |
#: includes/class-sp-post-types.php:266 includes/class-sp-post-types.php:296
|
5004 |
#: includes/class-sp-post-types.php:326 includes/class-sp-post-types.php:357
|
5005 |
+
#: includes/class-sp-post-types.php:392 includes/class-sp-post-types.php:423
|
5006 |
+
#: includes/class-sp-post-types.php:460 includes/class-sp-post-types.php:497
|
5007 |
+
#: includes/class-sp-post-types.php:534 modules/sportspress-calendars.php:77
|
5008 |
+
#: modules/sportspress-event-specs.php:75
|
5009 |
#: modules/sportspress-league-tables.php:74
|
5010 |
+
#: modules/sportspress-officials.php:93 modules/sportspress-officials.php:137
|
5011 |
#: modules/sportspress-player-lists.php:74
|
5012 |
msgid "Search"
|
5013 |
msgstr ""
|
5043 |
#: includes/class-sp-post-types.php:234 includes/class-sp-post-types.php:264
|
5044 |
#: includes/class-sp-post-types.php:294 includes/class-sp-post-types.php:324
|
5045 |
#: includes/class-sp-post-types.php:355 includes/class-sp-post-types.php:390
|
5046 |
+
#: includes/class-sp-post-types.php:421 includes/class-sp-post-types.php:458
|
5047 |
+
#: includes/class-sp-post-types.php:495 includes/class-sp-post-types.php:532
|
5048 |
+
#: modules/sportspress-calendars.php:75 modules/sportspress-event-specs.php:73
|
5049 |
#: modules/sportspress-league-tables.php:72
|
5050 |
+
#: modules/sportspress-officials.php:135
|
5051 |
#: modules/sportspress-player-lists.php:72
|
5052 |
msgid "New"
|
5053 |
msgstr ""
|
5092 |
msgid "Edit Performance"
|
5093 |
msgstr ""
|
5094 |
|
5095 |
+
#: includes/class-sp-post-types.php:361 includes/class-sp-post-types.php:395
|
5096 |
+
#: modules/sportspress-icons.php:180
|
5097 |
msgid "Select Icon"
|
5098 |
msgstr ""
|
5099 |
|
5100 |
+
#: includes/class-sp-post-types.php:362 includes/class-sp-post-types.php:396
|
5101 |
msgid "Remove icon"
|
5102 |
msgstr ""
|
5103 |
|
5104 |
+
#: includes/class-sp-post-types.php:363 includes/class-sp-post-types.php:397
|
5105 |
msgid "Add icon"
|
5106 |
msgstr ""
|
5107 |
|
5117 |
msgid "Edit Statistic"
|
5118 |
msgstr ""
|
5119 |
|
5120 |
+
#: includes/class-sp-post-types.php:419 modules/sportspress-tutorials.php:91
|
5121 |
msgid "Add New Event"
|
5122 |
msgstr ""
|
5123 |
|
5124 |
+
#: includes/class-sp-post-types.php:420 modules/sportspress-tutorials.php:92
|
5125 |
msgid "Edit Event"
|
5126 |
msgstr ""
|
5127 |
|
5128 |
+
#: includes/class-sp-post-types.php:456 modules/sportspress-tutorials.php:79
|
5129 |
msgid "Add New Team"
|
5130 |
msgstr ""
|
5131 |
|
5132 |
+
#: includes/class-sp-post-types.php:457
|
5133 |
msgid "Edit Team"
|
5134 |
msgstr ""
|
5135 |
|
5136 |
+
#: includes/class-sp-post-types.php:459
|
5137 |
msgid "View Team"
|
5138 |
msgstr ""
|
5139 |
|
5140 |
+
#: includes/class-sp-post-types.php:464 includes/class-sp-post-types.php:466
|
5141 |
msgid "Select Logo"
|
5142 |
msgstr ""
|
5143 |
|
5144 |
+
#: includes/class-sp-post-types.php:465
|
5145 |
msgid "Remove Logo"
|
5146 |
msgstr ""
|
5147 |
|
5148 |
+
#: includes/class-sp-post-types.php:493 modules/sportspress-tutorials.php:84
|
5149 |
msgid "Add New Player"
|
5150 |
msgstr ""
|
5151 |
|
5152 |
+
#: includes/class-sp-post-types.php:494
|
5153 |
msgid "Edit Player"
|
5154 |
msgstr ""
|
5155 |
|
5156 |
+
#: includes/class-sp-post-types.php:496
|
5157 |
msgid "View Player"
|
5158 |
msgstr ""
|
5159 |
|
5160 |
+
#: includes/class-sp-post-types.php:501 includes/class-sp-post-types.php:503
|
5161 |
+
#: includes/class-sp-post-types.php:538 includes/class-sp-post-types.php:540
|
5162 |
+
#: modules/sportspress-officials.php:141 modules/sportspress-officials.php:143
|
5163 |
msgid "Select Photo"
|
5164 |
msgstr ""
|
5165 |
|
5166 |
+
#: includes/class-sp-post-types.php:502 includes/class-sp-post-types.php:539
|
5167 |
+
#: modules/sportspress-officials.php:142
|
5168 |
msgid "Remove Photo"
|
5169 |
msgstr ""
|
5170 |
|
5171 |
+
#: includes/class-sp-post-types.php:530 modules/sportspress-tutorials.php:87
|
5172 |
msgid "Add New Staff"
|
5173 |
msgstr ""
|
5174 |
|
5175 |
+
#: includes/class-sp-post-types.php:531
|
5176 |
msgid "Edit Staff"
|
5177 |
msgstr ""
|
5178 |
|
5179 |
#: includes/class-sp-templates.php:35 includes/class-sp-templates.php:114
|
5180 |
#: includes/class-sp-templates.php:195 includes/class-sp-templates.php:263
|
5181 |
+
#: includes/sp-core-functions.php:1577
|
5182 |
msgid "Excerpt"
|
5183 |
msgstr ""
|
5184 |
|
5185 |
+
#: includes/class-sp-templates.php:53 includes/sp-core-functions.php:1610
|
5186 |
#: modules/sportspress-event-videos.php:56 templates/event-video.php:19
|
5187 |
msgid "Video"
|
5188 |
msgstr ""
|
5189 |
|
5190 |
#: includes/class-sp-templates.php:123 includes/class-sp-templates.php:204
|
5191 |
+
#: includes/class-sp-templates.php:272 includes/sp-core-functions.php:1596
|
5192 |
msgid "Profile"
|
5193 |
msgstr ""
|
5194 |
|
5196 |
msgid "Dropdown"
|
5197 |
msgstr ""
|
5198 |
|
5199 |
+
#: includes/sp-core-functions.php:655
|
5200 |
msgid "Published"
|
5201 |
msgstr ""
|
5202 |
|
5203 |
+
#: includes/sp-core-functions.php:656
|
5204 |
msgid "Scheduled"
|
5205 |
msgstr ""
|
5206 |
|
5207 |
+
#: includes/sp-core-functions.php:686
|
5208 |
msgid "Yesterday"
|
5209 |
msgstr ""
|
5210 |
|
5211 |
+
#: includes/sp-core-functions.php:687
|
5212 |
+
#: includes/widgets/class-sp-widget-birthdays.php:48
|
5213 |
+
msgid "Today"
|
5214 |
+
msgstr ""
|
5215 |
+
|
5216 |
+
#: includes/sp-core-functions.php:688
|
5217 |
msgid "Tomorrow"
|
5218 |
msgstr ""
|
5219 |
|
5220 |
+
#: includes/sp-core-functions.php:689
|
5221 |
msgid "Last week"
|
5222 |
msgstr ""
|
5223 |
|
5224 |
+
#: includes/sp-core-functions.php:690
|
5225 |
+
#: includes/widgets/class-sp-widget-birthdays.php:49
|
5226 |
+
msgid "This week"
|
5227 |
+
msgstr ""
|
5228 |
+
|
5229 |
+
#: includes/sp-core-functions.php:691
|
5230 |
msgid "Next week"
|
5231 |
msgstr ""
|
5232 |
|
5233 |
+
#: includes/sp-core-functions.php:692
|
5234 |
msgid "Date range:"
|
5235 |
msgstr ""
|
5236 |
|
5237 |
+
#: includes/sp-core-functions.php:977 includes/sp-core-functions.php:1146
|
5238 |
msgid "(no title)"
|
5239 |
msgstr ""
|
5240 |
|
5241 |
+
#: includes/sp-core-functions.php:996 includes/sp-core-functions.php:1080
|
5242 |
+
#: modules/sportspress-lazy-loading.php:205
|
5243 |
+
#: modules/sportspress-lazy-loading.php:260
|
5244 |
msgid "Select All"
|
5245 |
msgstr ""
|
5246 |
|
5247 |
+
#: includes/sp-core-functions.php:1061 includes/sp-core-functions.php:1064
|
5248 |
+
#: modules/sportspress-lazy-loading.php:244
|
5249 |
+
#: modules/sportspress-lazy-loading.php:247
|
5250 |
+
#: modules/sportspress-lazy-loading.php:261
|
5251 |
msgid "Show all"
|
5252 |
msgstr ""
|
5253 |
|
5254 |
+
#: includes/sp-core-functions.php:1569 modules/sportspress-event-status.php:67
|
5255 |
msgid "Canceled"
|
5256 |
msgstr ""
|
5257 |
|
5258 |
+
#: includes/sp-core-functions.php:1578 templates/event-fixtures-results.php:51
|
5259 |
msgid "Fixtures"
|
5260 |
msgstr ""
|
5261 |
|
5262 |
+
#: includes/sp-core-functions.php:1594 modules/sportspress-event-status.php:66
|
5263 |
msgid "Postponed"
|
5264 |
msgstr ""
|
5265 |
|
5266 |
+
#: includes/sp-core-functions.php:1603 modules/sportspress-event-status.php:65
|
5267 |
msgid "TBD"
|
5268 |
msgstr ""
|
5269 |
|
5270 |
+
#: includes/sp-core-functions.php:1611 templates/event-blocks.php:213
|
5271 |
+
#: templates/event-calendar.php:253 templates/event-list.php:460
|
5272 |
msgid "View all events"
|
5273 |
msgstr ""
|
5274 |
|
5275 |
+
#: includes/sp-core-functions.php:1612 templates/player-gallery.php:191
|
5276 |
+
#: templates/player-list.php:255
|
5277 |
msgid "View all players"
|
5278 |
msgstr ""
|
5279 |
|
5280 |
+
#: includes/sp-core-functions.php:1613 templates/league-table.php:180
|
5281 |
msgid "View full table"
|
5282 |
msgstr ""
|
5283 |
|
5284 |
+
#: includes/sp-core-functions.php:1629
|
5285 |
msgid "Love SportsPress? Help spread the word by rating us 5★ on WordPress.org"
|
5286 |
msgstr ""
|
5287 |
|
5288 |
+
#: includes/sp-template-hooks.php:67
|
5289 |
msgid ""
|
5290 |
"The description is not prominent by default; however, some themes may show "
|
5291 |
"it."
|
5292 |
msgstr ""
|
5293 |
|
5294 |
+
#: includes/sp-template-hooks.php:78
|
5295 |
msgid "User"
|
5296 |
msgstr ""
|
5297 |
|
5298 |
+
#: includes/sp-template-hooks.php:86
|
5299 |
msgid "Date/Time:"
|
5300 |
msgstr ""
|
5301 |
|
5302 |
+
#: includes/sp-template-hooks.php:86
|
5303 |
msgid "Now"
|
5304 |
msgstr ""
|
5305 |
|
5311 |
msgid "Birthdays"
|
5312 |
msgstr ""
|
5313 |
|
5314 |
+
#: includes/widgets/class-sp-widget-birthdays.php:50
|
5315 |
msgid "This month"
|
5316 |
msgstr ""
|
5317 |
|
5318 |
+
#: includes/widgets/class-sp-widget-birthdays.php:60
|
5319 |
msgid "Birthday:"
|
5320 |
msgstr ""
|
5321 |
|
5323 |
msgid "A clock that counts down to an upcoming event."
|
5324 |
msgstr ""
|
5325 |
|
5326 |
+
#: includes/widgets/class-sp-widget-countdown.php:72
|
5327 |
#: includes/widgets/class-sp-widget-event-blocks.php:96
|
5328 |
#: includes/widgets/class-sp-widget-event-list.php:101
|
5329 |
#: includes/widgets/class-sp-widget-league-table.php:76
|
5333 |
msgid "Heading:"
|
5334 |
msgstr ""
|
5335 |
|
5336 |
+
#: includes/widgets/class-sp-widget-countdown.php:136
|
5337 |
+
msgid "Display date"
|
5338 |
+
msgstr ""
|
5339 |
+
|
5340 |
#: includes/widgets/class-sp-widget-event-blocks.php:5
|
5341 |
#: includes/widgets/class-sp-widget-event-list.php:5
|
5342 |
msgid "A list of events."
|
5364 |
msgid "Display a league table."
|
5365 |
msgstr ""
|
5366 |
|
|
|
|
|
|
|
|
|
5367 |
#: includes/widgets/class-sp-widget-player-gallery.php:5
|
5368 |
msgid "Display a gallery of players."
|
5369 |
msgstr ""
|
5471 |
msgid "Results Only"
|
5472 |
msgstr ""
|
5473 |
|
5474 |
+
#: modules/sportspress-calendars.php:288 modules/sportspress-calendars.php:365
|
5475 |
#: modules/sportspress-league-tables.php:254
|
5476 |
+
#: modules/sportspress-officials.php:364
|
5477 |
+
#: modules/sportspress-player-lists.php:290
|
5478 |
msgid "Pagination"
|
5479 |
msgstr ""
|
5480 |
|
5481 |
+
#: modules/sportspress-calendars.php:289 modules/sportspress-calendars.php:366
|
5482 |
#: modules/sportspress-league-tables.php:255
|
5483 |
+
#: modules/sportspress-officials.php:365
|
5484 |
+
#: modules/sportspress-player-lists.php:291
|
5485 |
msgid "Paginate"
|
5486 |
msgstr ""
|
5487 |
|
5488 |
+
#: modules/sportspress-calendars.php:300 modules/sportspress-calendars.php:377
|
5489 |
#: modules/sportspress-league-tables.php:279
|
5490 |
+
#: modules/sportspress-officials.php:389
|
5491 |
msgid "events"
|
5492 |
msgstr ""
|
5493 |
|
5495 |
msgid "Display season"
|
5496 |
msgstr ""
|
5497 |
|
5498 |
+
#: modules/sportspress-calendars.php:349
|
5499 |
+
msgid "Display matchday"
|
5500 |
+
msgstr ""
|
5501 |
+
|
5502 |
+
#: modules/sportspress-comments-scheduled-events.php:75
|
5503 |
+
msgid "Sorry, you must be logged in to comment."
|
5504 |
+
msgstr ""
|
5505 |
+
|
5506 |
+
#: modules/sportspress-comments-scheduled-events.php:84
|
5507 |
+
msgid "<strong>ERROR</strong>: please fill the required fields (name, email)."
|
5508 |
+
msgstr ""
|
5509 |
+
|
5510 |
+
#: modules/sportspress-comments-scheduled-events.php:84
|
5511 |
+
msgid "ERROR: please fill the required fields (name, email)."
|
5512 |
+
msgstr ""
|
5513 |
+
|
5514 |
+
#: modules/sportspress-comments-scheduled-events.php:87
|
5515 |
+
msgid "<strong>ERROR</strong>: please enter a valid email address."
|
5516 |
+
msgstr ""
|
5517 |
+
|
5518 |
+
#: modules/sportspress-comments-scheduled-events.php:87
|
5519 |
+
msgid "ERROR: please enter a valid email address."
|
5520 |
+
msgstr ""
|
5521 |
+
|
5522 |
+
#: modules/sportspress-comments-scheduled-events.php:93
|
5523 |
+
msgid "<strong>ERROR</strong>: please type a comment."
|
5524 |
+
msgstr ""
|
5525 |
+
|
5526 |
+
#: modules/sportspress-comments-scheduled-events.php:93
|
5527 |
+
msgid "ERROR: please type a comment."
|
5528 |
+
msgstr ""
|
5529 |
+
|
5530 |
+
#: modules/sportspress-comments-scheduled-events.php:121
|
5531 |
+
msgid ""
|
5532 |
+
"<strong>ERROR</strong>: The comment could not be saved. Please try again "
|
5533 |
+
"later."
|
5534 |
+
msgstr ""
|
5535 |
+
|
5536 |
+
#: modules/sportspress-comments-scheduled-events.php:121
|
5537 |
+
msgid "ERROR: The comment could not be saved. Please try again later."
|
5538 |
+
msgstr ""
|
5539 |
+
|
5540 |
+
#: modules/sportspress-countdowns.php:86
|
5541 |
+
msgid "Logos"
|
5542 |
+
msgstr ""
|
5543 |
+
|
5544 |
+
#: modules/sportspress-countdowns.php:93
|
5545 |
+
msgid "Featured Image"
|
5546 |
+
msgstr ""
|
5547 |
+
|
5548 |
+
#: modules/sportspress-default-nationality.php:55
|
5549 |
+
msgid "Default Nationality"
|
5550 |
+
msgstr ""
|
5551 |
+
|
5552 |
+
#: modules/sportspress-event-specs.php:69
|
5553 |
+
#: modules/sportspress-event-specs.php:140
|
5554 |
+
#: modules/sportspress-event-specs.php:226
|
5555 |
+
msgid "Event Specs"
|
5556 |
+
msgstr ""
|
5557 |
+
|
5558 |
+
#: modules/sportspress-event-specs.php:70
|
5559 |
+
msgid "Event Spec"
|
5560 |
+
msgstr ""
|
5561 |
+
|
5562 |
+
#: modules/sportspress-event-specs.php:71
|
5563 |
+
msgid "Add New Event Spec"
|
5564 |
+
msgstr ""
|
5565 |
+
|
5566 |
+
#: modules/sportspress-event-specs.php:72
|
5567 |
+
msgid "Edit Event Spec"
|
5568 |
+
msgstr ""
|
5569 |
+
|
5570 |
+
#: modules/sportspress-event-specs.php:141
|
5571 |
+
msgid "Add more details to an event."
|
5572 |
+
msgstr ""
|
5573 |
+
|
5574 |
#: modules/sportspress-event-status.php:64
|
5575 |
msgid "On time"
|
5576 |
msgstr ""
|
5583 |
msgid "Edit status"
|
5584 |
msgstr ""
|
5585 |
|
5586 |
+
#: modules/sportspress-icons.php:172
|
5587 |
msgid "Image"
|
5588 |
msgstr ""
|
5589 |
|
5590 |
+
#: modules/sportspress-lazy-loading.php:262
|
5591 |
msgid "Loading…"
|
5592 |
msgstr ""
|
5593 |
|
5604 |
msgstr ""
|
5605 |
|
5606 |
#: modules/sportspress-league-tables.php:239
|
5607 |
+
#: modules/sportspress-officials.php:349
|
5608 |
#: modules/sportspress-player-lists.php:247
|
5609 |
msgid "Display title"
|
5610 |
msgstr ""
|
5611 |
|
5612 |
#: modules/sportspress-league-tables.php:289
|
5613 |
+
#: modules/sportspress-officials.php:399
|
5614 |
msgid "Always increment"
|
5615 |
msgstr ""
|
5616 |
|
5617 |
#: modules/sportspress-league-tables.php:296
|
5618 |
+
#: modules/sportspress-officials.php:406
|
5619 |
msgid "Tiebreaker"
|
5620 |
msgstr ""
|
5621 |
|
5622 |
#: modules/sportspress-league-tables.php:302
|
5623 |
+
#: modules/sportspress-officials.php:412
|
5624 |
msgid "Head to head"
|
5625 |
msgstr ""
|
5626 |
|
5627 |
+
#: modules/sportspress-next-team-preset.php:65
|
5628 |
+
#: modules/sportspress-next-team-preset.php:162
|
5629 |
+
msgid "Next Team"
|
5630 |
+
msgstr ""
|
5631 |
+
|
5632 |
+
#: modules/sportspress-next-team-preset.php:163
|
5633 |
+
msgid "Filter by League"
|
5634 |
msgstr ""
|
5635 |
|
5636 |
+
#: modules/sportspress-officials.php:83 modules/sportspress-officials.php:97
|
5637 |
+
#: modules/sportspress-officials.php:635
|
5638 |
+
msgid "Duties"
|
5639 |
+
msgstr ""
|
5640 |
+
|
5641 |
+
#: modules/sportspress-officials.php:86
|
5642 |
msgid "Edit Duty"
|
5643 |
msgstr ""
|
5644 |
|
5645 |
+
#: modules/sportspress-officials.php:132 modules/sportspress-officials.php:190
|
5646 |
msgid "Official"
|
5647 |
msgstr ""
|
5648 |
|
5649 |
+
#: modules/sportspress-officials.php:133
|
5650 |
msgid "Add New Official"
|
5651 |
msgstr ""
|
5652 |
|
5653 |
+
#: modules/sportspress-officials.php:134
|
5654 |
msgid "Edit Official"
|
5655 |
msgstr ""
|
5656 |
|
5657 |
+
#: modules/sportspress-officials.php:136
|
5658 |
msgid "View Official"
|
5659 |
msgstr ""
|
5660 |
|
5661 |
+
#: modules/sportspress-officials.php:451
|
5662 |
msgid "Table"
|
5663 |
msgstr ""
|
5664 |
|
5665 |
+
#: modules/sportspress-officials.php:488
|
5666 |
+
msgid "SportsPress Officials (CSV)"
|
5667 |
+
msgstr ""
|
5668 |
+
|
5669 |
+
#: modules/sportspress-officials.php:489
|
5670 |
+
msgid "Import <strong>officials</strong> from a csv file."
|
5671 |
+
msgstr ""
|
5672 |
+
|
5673 |
#: modules/sportspress-overview.php:52 modules/sportspress-overview.php:62
|
5674 |
#: modules/sportspress-tutorials.php:119
|
5675 |
msgid "Overview"
|
5809 |
msgid "Cheatin’ huh?"
|
5810 |
msgstr ""
|
5811 |
|
5812 |
+
#: templates/event-blocks.php:195 templates/event-list.php:407
|
5813 |
+
msgid "N/A"
|
5814 |
+
msgstr ""
|
5815 |
+
|
5816 |
#: templates/event-calendar.php:124 templates/event-calendar.php:152
|
5817 |
#: templates/event-calendar.php:160
|
5818 |
#, php-format
|
5820 |
msgid "%1$s %2$s"
|
5821 |
msgstr ""
|
5822 |
|
5823 |
+
#: templates/event-calendar.php:237
|
5824 |
+
#, php-format
|
5825 |
+
msgid "%s events"
|
5826 |
+
msgstr ""
|
5827 |
+
|
5828 |
#: templates/team-gallery.php:140
|
5829 |
msgid "View all teams"
|
5830 |
msgstr ""
|
license.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
SportsPress
|
2 |
|
3 |
-
Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License as published by
|
1 |
SportsPress
|
2 |
|
3 |
+
Copyright 2019 by the contributors
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License as published by
|
modules/sportspress-calendars.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|
5 |
Description: Add event calendars to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
-
Version: 2.6.
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) :
|
|
17 |
* Main SportsPress Calendars Class
|
18 |
*
|
19 |
* @class SportsPress_Calendars
|
20 |
-
* @version 2.6.
|
21 |
*/
|
22 |
class SportsPress_Calendars {
|
23 |
|
@@ -51,7 +51,7 @@ class SportsPress_Calendars {
|
|
51 |
*/
|
52 |
private function define_constants() {
|
53 |
if ( !defined( 'SP_CALENDARS_VERSION' ) )
|
54 |
-
define( 'SP_CALENDARS_VERSION', '2.6.
|
55 |
|
56 |
if ( !defined( 'SP_CALENDARS_URL' ) )
|
57 |
define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );
|
5 |
Description: Add event calendars to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
+
Version: 2.6.15
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
17 |
* Main SportsPress Calendars Class
|
18 |
*
|
19 |
* @class SportsPress_Calendars
|
20 |
+
* @version 2.6.15
|
21 |
*/
|
22 |
class SportsPress_Calendars {
|
23 |
|
51 |
*/
|
52 |
private function define_constants() {
|
53 |
if ( !defined( 'SP_CALENDARS_VERSION' ) )
|
54 |
+
define( 'SP_CALENDARS_VERSION', '2.6.15' );
|
55 |
|
56 |
if ( !defined( 'SP_CALENDARS_URL' ) )
|
57 |
define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );
|
modules/sportspress-event-specs.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|
5 |
Description: Add event specs/stats to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
-
Version: 2.6
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Event_Specs' ) ) :
|
|
17 |
* Main SportsPress Event Specs Class
|
18 |
*
|
19 |
* @class SportsPress_Event_Specs
|
20 |
-
* @version 2.6
|
21 |
*/
|
22 |
class SportsPress_Event_Specs {
|
23 |
|
@@ -34,6 +34,7 @@ class SportsPress_Event_Specs {
|
|
34 |
add_action( 'sportspress_include_post_type_handlers', array( $this, 'include_post_type_handler' ) );
|
35 |
add_action( 'sportspress_event_list_head_row', array( $this, 'event_list_head_row' ), 11 );
|
36 |
add_action( 'sportspress_event_list_row', array( $this, 'event_list_row' ), 11, 2 );
|
|
|
37 |
|
38 |
// Filters
|
39 |
add_filter( 'sportspress_meta_boxes', array( $this, 'add_meta_boxes' ) );
|
@@ -48,7 +49,7 @@ class SportsPress_Event_Specs {
|
|
48 |
*/
|
49 |
private function define_constants() {
|
50 |
if ( !defined( 'SP_EVENT_SPECS_VERSION' ) )
|
51 |
-
define( 'SP_EVENT_SPECS_VERSION', '2.6' );
|
52 |
|
53 |
if ( !defined( 'SP_EVENT_SPECS_URL' ) )
|
54 |
define( 'SP_EVENT_SPECS_URL', plugin_dir_url( __FILE__ ) );
|
@@ -230,7 +231,7 @@ class SportsPress_Event_Specs {
|
|
230 |
* Event list head row.
|
231 |
*/
|
232 |
public function event_list_head_row( $usecolumns = array() ) {
|
233 |
-
if (
|
234 |
$spec_labels = (array)sp_get_var_labels( 'sp_spec', null, false );
|
235 |
|
236 |
if ( empty( $spec_labels ) ) return;
|
@@ -249,7 +250,7 @@ class SportsPress_Event_Specs {
|
|
249 |
* Event list row.
|
250 |
*/
|
251 |
public function event_list_row( $event, $usecolumns = array() ) {
|
252 |
-
if (
|
253 |
$event = new SP_Event( $event );
|
254 |
$specs = $event->specs( false );
|
255 |
$spec_labels = (array)sp_get_var_labels( 'sp_spec', null, false );
|
@@ -267,6 +268,20 @@ class SportsPress_Event_Specs {
|
|
267 |
}
|
268 |
}
|
269 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
}
|
271 |
|
272 |
endif;
|
5 |
Description: Add event specs/stats to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
+
Version: 2.6.15
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
17 |
* Main SportsPress Event Specs Class
|
18 |
*
|
19 |
* @class SportsPress_Event_Specs
|
20 |
+
* @version 2.6.15
|
21 |
*/
|
22 |
class SportsPress_Event_Specs {
|
23 |
|
34 |
add_action( 'sportspress_include_post_type_handlers', array( $this, 'include_post_type_handler' ) );
|
35 |
add_action( 'sportspress_event_list_head_row', array( $this, 'event_list_head_row' ), 11 );
|
36 |
add_action( 'sportspress_event_list_row', array( $this, 'event_list_row' ), 11, 2 );
|
37 |
+
add_action( 'sportspress_event_blocks_after', array( $this, 'event_blocks_after' ), 11, 2 );
|
38 |
|
39 |
// Filters
|
40 |
add_filter( 'sportspress_meta_boxes', array( $this, 'add_meta_boxes' ) );
|
49 |
*/
|
50 |
private function define_constants() {
|
51 |
if ( !defined( 'SP_EVENT_SPECS_VERSION' ) )
|
52 |
+
define( 'SP_EVENT_SPECS_VERSION', '2.6.15' );
|
53 |
|
54 |
if ( !defined( 'SP_EVENT_SPECS_URL' ) )
|
55 |
define( 'SP_EVENT_SPECS_URL', plugin_dir_url( __FILE__ ) );
|
231 |
* Event list head row.
|
232 |
*/
|
233 |
public function event_list_head_row( $usecolumns = array() ) {
|
234 |
+
if ( sp_column_active( $usecolumns, 'event_specs' ) ) {
|
235 |
$spec_labels = (array)sp_get_var_labels( 'sp_spec', null, false );
|
236 |
|
237 |
if ( empty( $spec_labels ) ) return;
|
250 |
* Event list row.
|
251 |
*/
|
252 |
public function event_list_row( $event, $usecolumns = array() ) {
|
253 |
+
if ( sp_column_active( $usecolumns, 'event_specs' ) ) {
|
254 |
$event = new SP_Event( $event );
|
255 |
$specs = $event->specs( false );
|
256 |
$spec_labels = (array)sp_get_var_labels( 'sp_spec', null, false );
|
268 |
}
|
269 |
}
|
270 |
}
|
271 |
+
|
272 |
+
/**
|
273 |
+
* Add Event Specs after default template of Event blocks is loaded.
|
274 |
+
*/
|
275 |
+
public function event_blocks_after( $event, $usecolumns = array() ) {
|
276 |
+
if ( sp_column_active( $usecolumns, 'event_specs' ) ) {
|
277 |
+
$event = new SP_Event( $event );
|
278 |
+
$specs = $event->specs( false );
|
279 |
+
$spec_labels = (array)sp_get_var_labels( 'sp_spec', null, false );
|
280 |
+
foreach ( $specs as $spec_label => $spec_value ) {
|
281 |
+
echo '<div class="sp_event_spec"><span class="sp_event_spec_label">'.$spec_label.':</span><span class="sp_event_spec_value"> '.$spec_value.'</span></div>';
|
282 |
+
}
|
283 |
+
}
|
284 |
+
}
|
285 |
}
|
286 |
|
287 |
endif;
|
modules/sportspress-league-tables.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|
5 |
Description: Add league tables to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
-
Version: 2.6.
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_League_Tables' ) ) :
|
|
17 |
* Main SportsPress League Tables Class
|
18 |
*
|
19 |
* @class SportsPress_League_Tables
|
20 |
-
* @version 2.6.
|
21 |
*/
|
22 |
class SportsPress_League_Tables {
|
23 |
|
@@ -48,7 +48,7 @@ class SportsPress_League_Tables {
|
|
48 |
*/
|
49 |
private function define_constants() {
|
50 |
if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) )
|
51 |
-
define( 'SP_LEAGUE_TABLES_VERSION', '2.6.
|
52 |
|
53 |
if ( !defined( 'SP_LEAGUE_TABLES_URL' ) )
|
54 |
define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) );
|
5 |
Description: Add league tables to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
+
Version: 2.6.15
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
17 |
* Main SportsPress League Tables Class
|
18 |
*
|
19 |
* @class SportsPress_League_Tables
|
20 |
+
* @version 2.6.15
|
21 |
*/
|
22 |
class SportsPress_League_Tables {
|
23 |
|
48 |
*/
|
49 |
private function define_constants() {
|
50 |
if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) )
|
51 |
+
define( 'SP_LEAGUE_TABLES_VERSION', '2.6.15' );
|
52 |
|
53 |
if ( !defined( 'SP_LEAGUE_TABLES_URL' ) )
|
54 |
define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) );
|
modules/sportspress-officials.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|
5 |
Description: Add officials to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
-
Version: 2.6.
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Officials' ) ) :
|
|
17 |
* Main SportsPress Officials Class
|
18 |
*
|
19 |
* @class SportsPress_Officials
|
20 |
-
* @version 2.6.
|
21 |
*/
|
22 |
class SportsPress_Officials {
|
23 |
|
@@ -66,7 +66,7 @@ class SportsPress_Officials {
|
|
66 |
*/
|
67 |
private function define_constants() {
|
68 |
if ( !defined( 'SP_OFFICIALS_VERSION' ) )
|
69 |
-
define( 'SP_OFFICIALS_VERSION', '2.6.
|
70 |
|
71 |
if ( !defined( 'SP_OFFICIALS_URL' ) )
|
72 |
define( 'SP_OFFICIALS_URL', plugin_dir_url( __FILE__ ) );
|
5 |
Description: Add officials to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
+
Version: 2.6.15
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
17 |
* Main SportsPress Officials Class
|
18 |
*
|
19 |
* @class SportsPress_Officials
|
20 |
+
* @version 2.6.15
|
21 |
*/
|
22 |
class SportsPress_Officials {
|
23 |
|
66 |
*/
|
67 |
private function define_constants() {
|
68 |
if ( !defined( 'SP_OFFICIALS_VERSION' ) )
|
69 |
+
define( 'SP_OFFICIALS_VERSION', '2.6.15' );
|
70 |
|
71 |
if ( !defined( 'SP_OFFICIALS_URL' ) )
|
72 |
define( 'SP_OFFICIALS_URL', plugin_dir_url( __FILE__ ) );
|
modules/sportspress-openstreetmap.php
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: SportsPress OpenStreetMap Integration
|
4 |
+
Plugin URI: http://themeboy.com/
|
5 |
+
Description: Integrate OpenStreetMap to SportsPress.
|
6 |
+
Author: ThemeBoy
|
7 |
+
Author URI: http://themeboy.com/
|
8 |
+
Version: 2.6.15
|
9 |
+
*/
|
10 |
+
|
11 |
+
// Exit if accessed directly
|
12 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
13 |
+
|
14 |
+
if ( ! class_exists( 'SportsPress_OpenStreetMap' ) ):
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Main SportsPress OpenStreetMap Class
|
18 |
+
*
|
19 |
+
* @class SportsPress_OpenStreetMap
|
20 |
+
* @version 2.6.15
|
21 |
+
*/
|
22 |
+
|
23 |
+
class SportsPress_OpenStreetMap {
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Constructor
|
27 |
+
*/
|
28 |
+
public function __construct() {
|
29 |
+
// Define constants
|
30 |
+
$this->define_constants();
|
31 |
+
|
32 |
+
// Actions
|
33 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_styles' ) );
|
34 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
|
35 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) );
|
36 |
+
add_action( 'sp_venue_show_map', array( $this, 'show_venue_map' ), 10, 5 );
|
37 |
+
add_action( 'sp_admin_geocoder_scripts', array( $this, 'admin_geocoder_scripts' ), 10 );
|
38 |
+
add_action( 'sp_setup_geocoder_scripts', array( $this, 'setup_geocoder_scripts' ), 10 );
|
39 |
+
add_action( 'sp_setup_venue_geocoder_scripts', array( $this, 'setup_venue_geocoder_scripts' ), 10 );
|
40 |
+
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Define constants.
|
44 |
+
*/
|
45 |
+
private function define_constants() {
|
46 |
+
if ( !defined( 'SP_OPENSTREETMAP_VERSION' ) )
|
47 |
+
define( 'SP_OPENSTREETMAP_VERSION', '2.6.15' );
|
48 |
+
|
49 |
+
if ( !defined( 'SP_OPENSTREETMAP_URL' ) )
|
50 |
+
define( 'SP_OPENSTREETMAP_URL', plugin_dir_url( __FILE__ ) );
|
51 |
+
|
52 |
+
if ( !defined( 'SP_OPENSTREETMAP_DIR' ) )
|
53 |
+
define( 'SP_OPENSTREETMAP_DIR', plugin_dir_path( __FILE__ ) );
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Enqueue admin styles
|
58 |
+
*/
|
59 |
+
public function admin_styles( $hook ) {
|
60 |
+
$screen = get_current_screen();
|
61 |
+
if ( in_array( $screen->id, sp_get_screen_ids() ) ) {
|
62 |
+
wp_enqueue_style( 'leaflet_stylesheet', SP()->plugin_url() . '/assets/css/leaflet.css', array(), '1.4.0' );
|
63 |
+
wp_enqueue_style( 'control-geocoder', SP()->plugin_url() . '/assets/css/Control.Geocoder.css', array() );
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Enqueue admin scripts
|
69 |
+
*/
|
70 |
+
public function admin_scripts( $hook ) {
|
71 |
+
$screen = get_current_screen();
|
72 |
+
if ( in_array( $screen->id, sp_get_screen_ids() ) ) {
|
73 |
+
wp_register_script( 'leaflet_js', SP()->plugin_url() . '/assets/js/leaflet.js', array(), '1.4.0' );
|
74 |
+
wp_register_script( 'control-geocoder', SP()->plugin_url() . '/assets/js/Control.Geocoder.js', array( 'leaflet_js' ) );
|
75 |
+
wp_register_script( 'sportspress-admin-geocoder', SP()->plugin_url() . '/assets/js/admin/sp-geocoder.js', array( 'leaflet_js', 'control-geocoder' ), SP_VERSION, true );
|
76 |
+
}
|
77 |
+
// Edit venue pages
|
78 |
+
if ( in_array( $screen->id, array( 'edit-sp_venue' ) ) ) {
|
79 |
+
wp_enqueue_script( 'leaflet_js' );
|
80 |
+
wp_enqueue_script( 'control-geocoder' );
|
81 |
+
wp_enqueue_script( 'sportspress-admin-geocoder' );
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Enqueue frontend scripts
|
87 |
+
*/
|
88 |
+
public function frontend_scripts() {
|
89 |
+
if( ( is_single() || is_tax() ) && get_post_type()=='sp_event' ){
|
90 |
+
wp_enqueue_style( 'leaflet_stylesheet', SP()->plugin_url() . '/assets/css/leaflet.css', array(), '1.4.0' );
|
91 |
+
wp_enqueue_script( 'leaflet_js', SP()->plugin_url() . '/assets/js/leaflet.js', array(), '1.4.0' );
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Integrate OpenStreetMap (Show Venue)
|
97 |
+
*
|
98 |
+
* @return mix
|
99 |
+
*/
|
100 |
+
public function show_venue_map( $latitude, $longitude, $address, $zoom, $maptype ) {
|
101 |
+
$lat = abs($latitude);
|
102 |
+
$lat_deg = floor($lat);
|
103 |
+
$lat_sec = ($lat - $lat_deg) * 3600;
|
104 |
+
$lat_min = floor($lat_sec / 60);
|
105 |
+
$lat_sec = floor($lat_sec - ($lat_min * 60));
|
106 |
+
$lat_dir = $latitude > 0 ? 'N' : 'S';
|
107 |
+
|
108 |
+
$lon = abs($longitude);
|
109 |
+
$lon_deg = floor($lon);
|
110 |
+
$lon_sec = ($lon - $lon_deg) * 3600;
|
111 |
+
$lon_min = floor($lon_sec / 60);
|
112 |
+
$lon_sec = floor($lon_sec - ($lon_min * 60));
|
113 |
+
$lon_dir = $longitude > 0 ? 'E' : 'W';
|
114 |
+
?>
|
115 |
+
<a href="https://www.google.com/maps/place/<?php echo urlencode("{$lat_deg}°{$lat_min}'{$lat_sec}\"{$lat_dir}").'+'.urlencode("{$lon_deg}°{$lon_min}'{$lon_sec}\"{$lon_dir}"); ?>/@<?php echo $latitude; ?>,<?php echo $longitude; ?>,<?php echo $zoom; ?>z" target="_blank"><div id="sp_openstreetmaps_container" style="width: 100%; height: 320px"></div></a>
|
116 |
+
<script>
|
117 |
+
// position we will use later
|
118 |
+
var lat = <?php echo $latitude; ?>;
|
119 |
+
var lon = <?php echo $longitude; ?>;
|
120 |
+
// initialize map
|
121 |
+
map = L.map('sp_openstreetmaps_container', { zoomControl:false }).setView([lat, lon], <?php echo $zoom; ?>);
|
122 |
+
// set map tiles source
|
123 |
+
<?php if ( 'satellite' === $maptype ) { ?>
|
124 |
+
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
|
125 |
+
attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community',
|
126 |
+
maxZoom: 18,
|
127 |
+
}).addTo(map);
|
128 |
+
<?php }else{ ?>
|
129 |
+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
130 |
+
attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors',
|
131 |
+
maxZoom: 18,
|
132 |
+
}).addTo(map);
|
133 |
+
<?php } ?>
|
134 |
+
// add marker to the map
|
135 |
+
marker = L.marker([lat, lon]).addTo(map);
|
136 |
+
map.dragging.disable();
|
137 |
+
map.touchZoom.disable();
|
138 |
+
map.doubleClickZoom.disable();
|
139 |
+
map.scrollWheelZoom.disable();
|
140 |
+
</script>
|
141 |
+
<?php
|
142 |
+
}
|
143 |
+
|
144 |
+
/**
|
145 |
+
* Print geocoder script in admin
|
146 |
+
*/
|
147 |
+
public function admin_geocoder_scripts() {
|
148 |
+
wp_print_scripts( 'sportspress-admin-setup-geocoder' );
|
149 |
+
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Print geocoder script in setup
|
153 |
+
*/
|
154 |
+
public function setup_geocoder_scripts() {
|
155 |
+
wp_register_script( 'leaflet_js', SP()->plugin_url() . '/assets/js/leaflet.js', array(), '1.4.0' );
|
156 |
+
wp_register_script( 'control-geocoder', SP()->plugin_url() . '/assets/js/Control.Geocoder.js', array( 'leaflet_js' ) );
|
157 |
+
wp_register_script( 'sportspress-admin-setup-geocoder', SP()->plugin_url() . '/assets/js/admin/sp-setup-geocoder.js', array( 'leaflet_js', 'control-geocoder' ), SP_VERSION, true );
|
158 |
+
wp_enqueue_style( 'control-geocoder', SP()->plugin_url() . '/assets/css/Control.Geocoder.css', array() );
|
159 |
+
wp_enqueue_style( 'leaflet_stylesheet', SP()->plugin_url() . '/assets/css/leaflet.css', array(), '1.4.0' );
|
160 |
+
}
|
161 |
+
|
162 |
+
/**
|
163 |
+
* Print geocoder script in setup venue step
|
164 |
+
*/
|
165 |
+
public function setup_venue_geocoder_scripts() {
|
166 |
+
wp_print_scripts( 'leaflet_js' );
|
167 |
+
wp_print_scripts( 'control-geocoder' );
|
168 |
+
}
|
169 |
+
}
|
170 |
+
|
171 |
+
endif;
|
172 |
+
|
173 |
+
new SportsPress_OpenStreetMap();
|
modules/sportspress-player-lists.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
|
5 |
Description: Add player lists to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
-
Version: 2.6.
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Player_Lists' ) ) :
|
|
17 |
* Main SportsPress Player Lists Class
|
18 |
*
|
19 |
* @class SportsPress_Player_Lists
|
20 |
-
* @version 2.6.
|
21 |
*/
|
22 |
class SportsPress_Player_Lists {
|
23 |
|
@@ -48,7 +48,7 @@ class SportsPress_Player_Lists {
|
|
48 |
*/
|
49 |
private function define_constants() {
|
50 |
if ( !defined( 'SP_PLAYER_LISTS_VERSION' ) )
|
51 |
-
define( 'SP_PLAYER_LISTS_VERSION', '2.6.
|
52 |
|
53 |
if ( !defined( 'SP_PLAYER_LISTS_URL' ) )
|
54 |
define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) );
|
@@ -266,6 +266,25 @@ class SportsPress_Player_Lists {
|
|
266 |
'type' => 'checkbox',
|
267 |
'checkboxgroup' => 'end',
|
268 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
array(
|
271 |
'title' => __( 'Pagination', 'sportspress' ),
|
5 |
Description: Add player lists to SportsPress.
|
6 |
Author: ThemeBoy
|
7 |
Author URI: http://themeboy.com/
|
8 |
+
Version: 2.6.15
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly
|
17 |
* Main SportsPress Player Lists Class
|
18 |
*
|
19 |
* @class SportsPress_Player_Lists
|
20 |
+
* @version 2.6.15
|
21 |
*/
|
22 |
class SportsPress_Player_Lists {
|
23 |
|
48 |
*/
|
49 |
private function define_constants() {
|
50 |
if ( !defined( 'SP_PLAYER_LISTS_VERSION' ) )
|
51 |
+
define( 'SP_PLAYER_LISTS_VERSION', '2.6.15' );
|
52 |
|
53 |
if ( !defined( 'SP_PLAYER_LISTS_URL' ) )
|
54 |
define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) );
|
266 |
'type' => 'checkbox',
|
267 |
'checkboxgroup' => 'end',
|
268 |
),
|
269 |
+
|
270 |
+
array(
|
271 |
+
'title' => __( 'Teams', 'sportspress' ),
|
272 |
+
'desc' => __( 'Display logos', 'sportspress' ),
|
273 |
+
'id' => 'sportspress_list_show_logos',
|
274 |
+
'default' => 'no',
|
275 |
+
'type' => 'checkbox',
|
276 |
+
),
|
277 |
+
|
278 |
+
array(
|
279 |
+
'title' => __( 'Teams', 'sportspress' ),
|
280 |
+
'id' => 'sportspress_list_team_format',
|
281 |
+
'default' => 'name',
|
282 |
+
'type' => 'radio',
|
283 |
+
'options' => array(
|
284 |
+
'name' => __( 'Name', 'sportspress' ),
|
285 |
+
'logo' => __( 'Logo', 'sportspress' ),
|
286 |
+
),
|
287 |
+
),
|
288 |
|
289 |
array(
|
290 |
'title' => __( 'Pagination', 'sportspress' ),
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: ThemeBoy, brianmiyaji, aylaview, savvasha, nabil_kadimi
|
|
3 |
Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters
|
4 |
Donate link: http://tboy.co/donate
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 2.6.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -237,6 +237,20 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate
|
|
237 |
|
238 |
== Changelog ==
|
239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
= 2.6.14 =
|
241 |
* Fix - API endpoints for secondary post types.
|
242 |
|
3 |
Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters
|
4 |
Donate link: http://tboy.co/donate
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 5.2
|
7 |
+
Stable tag: 2.6.15
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
+
= 2.6.15 =
|
241 |
+
* Important - Using Google Maps will require a SportsPress Pro license after August 31, 2019.
|
242 |
+
* Refactor - Fallback to OpenStreetMap for venue maps without SportsPress Pro.
|
243 |
+
* Feature - Option to display team logos instead of team names in player lists.
|
244 |
+
* Feature - Option to display custom specs in event blocks and event lists.
|
245 |
+
* Tweak - Improve page load speed when creating new league tables.
|
246 |
+
* Tweak - Prevent displaying events other than published or scheduled.
|
247 |
+
* Fix - Icons only appearing in the first table when player lists are grouped.
|
248 |
+
* Fix - Character encoding and CRLF errors in calendar feeds.
|
249 |
+
* Fix - Missing field location Schema error.
|
250 |
+
* Fix - Dropdowns collapsing in admin when meta boxes are hidden.
|
251 |
+
* Fix - Timezone handling in countdowns.
|
252 |
+
* Fix - Error when using special characters in admin settings.
|
253 |
+
|
254 |
= 2.6.14 =
|
255 |
* Fix - API endpoints for secondary post types.
|
256 |
|
sportspress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: SportsPress
|
4 |
* Plugin URI: http://themeboy.com/sportspress/
|
5 |
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
6 |
-
* Version: 2.6.
|
7 |
* Author: ThemeBoy
|
8 |
* Author URI: http://themeboy.com
|
9 |
* Requires at least: 3.8
|
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
|
|
26 |
* Main SportsPress Class
|
27 |
*
|
28 |
* @class SportsPress
|
29 |
-
* @version 2.6.
|
30 |
*/
|
31 |
final class SportsPress {
|
32 |
|
33 |
/**
|
34 |
* @var string
|
35 |
*/
|
36 |
-
public $version = '2.6.
|
37 |
|
38 |
/**
|
39 |
* @var SportsPress The single instance of the class
|
3 |
* Plugin Name: SportsPress
|
4 |
* Plugin URI: http://themeboy.com/sportspress/
|
5 |
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
6 |
+
* Version: 2.6.15
|
7 |
* Author: ThemeBoy
|
8 |
* Author URI: http://themeboy.com
|
9 |
* Requires at least: 3.8
|
26 |
* Main SportsPress Class
|
27 |
*
|
28 |
* @class SportsPress
|
29 |
+
* @version 2.6.15
|
30 |
*/
|
31 |
final class SportsPress {
|
32 |
|
33 |
/**
|
34 |
* @var string
|
35 |
*/
|
36 |
+
public $version = '2.6.15';
|
37 |
|
38 |
/**
|
39 |
* @var SportsPress The single instance of the class
|
templates/event-blocks.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
-
* @version 2.6.
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -37,6 +37,7 @@ $defaults = array(
|
|
37 |
'rows' => get_option( 'sportspress_event_blocks_rows', 5 ),
|
38 |
'orderby' => 'default',
|
39 |
'order' => 'default',
|
|
|
40 |
'show_all_events_link' => false,
|
41 |
'show_title' => get_option( 'sportspress_event_blocks_show_title', 'no' ) == 'yes' ? true : false,
|
42 |
'show_league' => get_option( 'sportspress_event_blocks_show_league', 'no' ) == 'yes' ? true : false,
|
@@ -49,9 +50,10 @@ $defaults = array(
|
|
49 |
extract( $defaults, EXTR_SKIP );
|
50 |
|
51 |
$calendar = new SP_Calendar( $id );
|
|
|
52 |
if ( $status != 'default' )
|
53 |
$calendar->status = $status;
|
54 |
-
if ( $format != '
|
55 |
$calendar->event_format = $format;
|
56 |
if ( $date != 'default' )
|
57 |
$calendar->date = $date;
|
@@ -88,6 +90,14 @@ if ( $orderby != 'default' )
|
|
88 |
if ( $day != 'default' )
|
89 |
$calendar->day = $day;
|
90 |
$data = $calendar->data();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
if ( $hide_if_empty && empty( $data ) ) return false;
|
93 |
|
@@ -161,6 +171,7 @@ if ( $title )
|
|
161 |
?>
|
162 |
<tr class="sp-row sp-post<?php echo ( $i % 2 == 0 ? ' alternate' : '' ); ?>" itemscope itemtype="http://schema.org/SportsEvent">
|
163 |
<td>
|
|
|
164 |
<?php echo implode( $logos, ' ' ); ?>
|
165 |
<time class="sp-event-date" datetime="<?php echo $event->post_date; ?>" itemprop="startDate" content="<?php echo mysql2date( 'Y-m-d\TH:iP', $event->post_date ); ?>">
|
166 |
<?php echo sp_add_link( get_the_time( get_option( 'date_format' ), $event ), $permalink, $link_events ); ?>
|
@@ -178,11 +189,15 @@ if ( $title )
|
|
178 |
<div class="sp-event-season"><?php echo $season->name; ?></div>
|
179 |
<?php endif; endif; ?>
|
180 |
<?php if ( $show_venue ): $venues = get_the_terms( $event, 'sp_venue' ); if ( $venues ): $venue = array_shift( $venues ); ?>
|
181 |
-
<div class="sp-event-venue"><?php echo $venue->name; ?></div>
|
182 |
<?php endif; endif; ?>
|
|
|
|
|
|
|
183 |
<h4 class="sp-event-title" itemprop="name">
|
184 |
<?php echo sp_add_link( $event->post_title, $permalink, $link_events ); ?>
|
185 |
</h4>
|
|
|
186 |
|
187 |
</td>
|
188 |
</tr>
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
+
* @version 2.6.15
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
37 |
'rows' => get_option( 'sportspress_event_blocks_rows', 5 ),
|
38 |
'orderby' => 'default',
|
39 |
'order' => 'default',
|
40 |
+
'columns' => null,
|
41 |
'show_all_events_link' => false,
|
42 |
'show_title' => get_option( 'sportspress_event_blocks_show_title', 'no' ) == 'yes' ? true : false,
|
43 |
'show_league' => get_option( 'sportspress_event_blocks_show_league', 'no' ) == 'yes' ? true : false,
|
50 |
extract( $defaults, EXTR_SKIP );
|
51 |
|
52 |
$calendar = new SP_Calendar( $id );
|
53 |
+
|
54 |
if ( $status != 'default' )
|
55 |
$calendar->status = $status;
|
56 |
+
if ( $format != 'default' )
|
57 |
$calendar->event_format = $format;
|
58 |
if ( $date != 'default' )
|
59 |
$calendar->date = $date;
|
90 |
if ( $day != 'default' )
|
91 |
$calendar->day = $day;
|
92 |
$data = $calendar->data();
|
93 |
+
$usecolumns = $calendar->columns;
|
94 |
+
|
95 |
+
if ( isset( $columns ) ):
|
96 |
+
if ( is_array( $columns ) )
|
97 |
+
$usecolumns = $columns;
|
98 |
+
else
|
99 |
+
$usecolumns = explode( ',', $columns );
|
100 |
+
endif;
|
101 |
|
102 |
if ( $hide_if_empty && empty( $data ) ) return false;
|
103 |
|
171 |
?>
|
172 |
<tr class="sp-row sp-post<?php echo ( $i % 2 == 0 ? ' alternate' : '' ); ?>" itemscope itemtype="http://schema.org/SportsEvent">
|
173 |
<td>
|
174 |
+
<?php do_action( 'sportspress_event_blocks_before', $event, $usecolumns ); ?>
|
175 |
<?php echo implode( $logos, ' ' ); ?>
|
176 |
<time class="sp-event-date" datetime="<?php echo $event->post_date; ?>" itemprop="startDate" content="<?php echo mysql2date( 'Y-m-d\TH:iP', $event->post_date ); ?>">
|
177 |
<?php echo sp_add_link( get_the_time( get_option( 'date_format' ), $event ), $permalink, $link_events ); ?>
|
189 |
<div class="sp-event-season"><?php echo $season->name; ?></div>
|
190 |
<?php endif; endif; ?>
|
191 |
<?php if ( $show_venue ): $venues = get_the_terms( $event, 'sp_venue' ); if ( $venues ): $venue = array_shift( $venues ); ?>
|
192 |
+
<div class="sp-event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"><div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><?php echo $venue->name; ?></div></div>
|
193 |
<?php endif; endif; ?>
|
194 |
+
<?php if ( !$show_venue || !$venues ): ?>
|
195 |
+
<div style="display:none;" class="sp-event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"><div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><?php _e( 'N/A', 'sportspress' ); ?></div></div>
|
196 |
+
<?php endif; ?>
|
197 |
<h4 class="sp-event-title" itemprop="name">
|
198 |
<?php echo sp_add_link( $event->post_title, $permalink, $link_events ); ?>
|
199 |
</h4>
|
200 |
+
<?php do_action( 'sportspress_event_blocks_after', $event, $usecolumns ); ?>
|
201 |
|
202 |
</td>
|
203 |
</tr>
|
templates/event-list.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
-
* @version 2.6.
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -251,6 +251,7 @@ $identifier = uniqid( 'eventlist_' );
|
|
251 |
endif;
|
252 |
|
253 |
echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' sp-row-no-' . $i . '" itemscope itemtype="http://schema.org/SportsEvent">';
|
|
|
254 |
|
255 |
$date_html = '<date>' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_date', get_post_time( get_option( 'date_format' ), false, $event, true ), $event->ID );
|
256 |
|
@@ -372,31 +373,39 @@ $identifier = uniqid( 'eventlist_' );
|
|
372 |
if ( sp_column_active( $usecolumns, 'league' ) ):
|
373 |
echo '<td class="data-league" data-label="'.__( 'League', 'sportspress' ).'">';
|
374 |
$leagues = get_the_terms( $event->ID, 'sp_league' );
|
375 |
-
if ( $leagues ):
|
376 |
-
echo $
|
377 |
-
|
378 |
echo '</td>';
|
379 |
endif;
|
380 |
|
381 |
if ( sp_column_active( $usecolumns, 'season' ) ):
|
382 |
echo '<td class="data-season" data-label="'.__( 'Season', 'sportspress' ).'">';
|
383 |
$seasons = get_the_terms( $event->ID, 'sp_season' );
|
384 |
-
if ( $seasons ):
|
385 |
-
echo $
|
386 |
-
|
387 |
echo '</td>';
|
388 |
endif;
|
389 |
|
390 |
if ( sp_column_active( $usecolumns, 'venue' ) ):
|
391 |
-
echo '<td class="data-venue" data-label="'.__( 'Venue', 'sportspress' ).'">';
|
|
|
392 |
if ( $link_venues ):
|
393 |
the_terms( $event->ID, 'sp_venue' );
|
394 |
else:
|
395 |
$venues = get_the_terms( $event->ID, 'sp_venue' );
|
396 |
-
if ( $venues ):
|
397 |
-
echo $
|
398 |
-
|
399 |
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
echo '</td>';
|
401 |
endif;
|
402 |
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
+
* @version 2.6.15
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
251 |
endif;
|
252 |
|
253 |
echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' sp-row-no-' . $i . '" itemscope itemtype="http://schema.org/SportsEvent">';
|
254 |
+
echo '<td style="display:none;" itemprop="name">'.$event->post_title.'</td>';
|
255 |
|
256 |
$date_html = '<date>' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_date', get_post_time( get_option( 'date_format' ), false, $event, true ), $event->ID );
|
257 |
|
373 |
if ( sp_column_active( $usecolumns, 'league' ) ):
|
374 |
echo '<td class="data-league" data-label="'.__( 'League', 'sportspress' ).'">';
|
375 |
$leagues = get_the_terms( $event->ID, 'sp_league' );
|
376 |
+
if ( $leagues ):
|
377 |
+
echo implode( wp_list_pluck( $leagues, 'name' ), ', ' );
|
378 |
+
endif;
|
379 |
echo '</td>';
|
380 |
endif;
|
381 |
|
382 |
if ( sp_column_active( $usecolumns, 'season' ) ):
|
383 |
echo '<td class="data-season" data-label="'.__( 'Season', 'sportspress' ).'">';
|
384 |
$seasons = get_the_terms( $event->ID, 'sp_season' );
|
385 |
+
if ( $seasons ):
|
386 |
+
echo implode( wp_list_pluck( $seasons, 'name' ), ', ' );
|
387 |
+
endif;
|
388 |
echo '</td>';
|
389 |
endif;
|
390 |
|
391 |
if ( sp_column_active( $usecolumns, 'venue' ) ):
|
392 |
+
echo '<td class="data-venue" data-label="'.__( 'Venue', 'sportspress' ).'" itemprop="location" itemscope itemtype="http://schema.org/Place">';
|
393 |
+
echo '<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">';
|
394 |
if ( $link_venues ):
|
395 |
the_terms( $event->ID, 'sp_venue' );
|
396 |
else:
|
397 |
$venues = get_the_terms( $event->ID, 'sp_venue' );
|
398 |
+
if ( $venues ):
|
399 |
+
echo implode( wp_list_pluck( $venues, 'name' ), ', ' );
|
400 |
+
endif;
|
401 |
endif;
|
402 |
+
echo '</div>';
|
403 |
+
echo '</td>';
|
404 |
+
else:
|
405 |
+
echo '<td style="display:none;" class="data-venue" data-label="'.__( 'Venue', 'sportspress' ).'" itemprop="location" itemscope itemtype="http://schema.org/Place">';
|
406 |
+
echo '<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">';
|
407 |
+
_e( 'N/A', 'sportspress' );
|
408 |
+
echo '</div>';
|
409 |
echo '</td>';
|
410 |
endif;
|
411 |
|
templates/event-performance-table.php
CHANGED
@@ -68,8 +68,8 @@ $i = 0;
|
|
68 |
foreach ( $subs as $sub_id => $sub ):
|
69 |
if ( ! $sub_id )
|
70 |
continue;
|
71 |
-
$
|
72 |
-
$lineup_sub_relation[ $
|
73 |
endforeach;
|
74 |
|
75 |
$data = apply_filters( 'sportspress_event_performance_players', $data, $lineups, $subs, $mode );
|
@@ -274,7 +274,11 @@ $i = 0;
|
|
274 |
</<?php echo ( $show_players ? 'tfoot' : 'tbody' ); ?>>
|
275 |
<?php endif; ?>
|
276 |
</table>
|
|
|
|
|
|
|
|
|
|
|
277 |
</div>
|
278 |
-
|
279 |
<?php do_action( 'sportspress_after_event_performance_table', $data, $lineups, $subs, $class ); ?>
|
280 |
</div>
|
68 |
foreach ( $subs as $sub_id => $sub ):
|
69 |
if ( ! $sub_id )
|
70 |
continue;
|
71 |
+
$i = sp_array_value( $sub, 'sub', 0 );
|
72 |
+
$lineup_sub_relation[ $i ] = $sub_id;
|
73 |
endforeach;
|
74 |
|
75 |
$data = apply_filters( 'sportspress_event_performance_players', $data, $lineups, $subs, $mode );
|
274 |
</<?php echo ( $show_players ? 'tfoot' : 'tbody' ); ?>>
|
275 |
<?php endif; ?>
|
276 |
</table>
|
277 |
+
<?php
|
278 |
+
if ( $show_staff ) {
|
279 |
+
echo sp_get_template( 'event-staff.php', array( 'id' => $id, 'index' => $index ) );
|
280 |
+
}
|
281 |
+
?>
|
282 |
</div>
|
|
|
283 |
<?php do_action( 'sportspress_after_event_performance_table', $data, $lineups, $subs, $class ); ?>
|
284 |
</div>
|
templates/event-performance.php
CHANGED
@@ -236,6 +236,7 @@ if ( is_array( $teams ) ):
|
|
236 |
'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
|
237 |
'primary' => 'primary' == $total ? $primary : null,
|
238 |
'class' => 'sp-template-event-performance-team-' . $index . ' sp-template-event-performance-section sp-template-event-performance-section-' . $section_id . ' sp-template-event-performance-team-' . $index . '-section-' . $section_id,
|
|
|
239 |
) );
|
240 |
}
|
241 |
|
@@ -256,9 +257,12 @@ if ( is_array( $teams ) ):
|
|
256 |
}
|
257 |
|
258 |
sp_get_template( 'event-performance-table.php', array(
|
|
|
|
|
259 |
'scrollable' => $scrollable,
|
260 |
'sortable' => $sortable,
|
261 |
'show_players' => $show_team_players,
|
|
|
262 |
'show_numbers' => $show_numbers,
|
263 |
'show_minutes' => $show_minutes,
|
264 |
'show_total' => $show_total,
|
@@ -272,14 +276,9 @@ if ( is_array( $teams ) ):
|
|
272 |
'link_posts' => $link_posts,
|
273 |
'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
|
274 |
'primary' => 'primary' == $total ? $primary : null,
|
275 |
-
|
276 |
) );
|
277 |
}
|
278 |
}
|
279 |
-
|
280 |
-
if ( $show_staff ):
|
281 |
-
sp_get_template( 'event-staff.php', array( 'id' => $id, 'index' => $index ) );
|
282 |
-
endif;
|
283 |
}
|
284 |
?>
|
285 |
<?php
|
236 |
'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
|
237 |
'primary' => 'primary' == $total ? $primary : null,
|
238 |
'class' => 'sp-template-event-performance-team-' . $index . ' sp-template-event-performance-section sp-template-event-performance-section-' . $section_id . ' sp-template-event-performance-team-' . $index . '-section-' . $section_id,
|
239 |
+
'show_staff' => $show_staff,
|
240 |
) );
|
241 |
}
|
242 |
|
257 |
}
|
258 |
|
259 |
sp_get_template( 'event-performance-table.php', array(
|
260 |
+
'id' => $id,
|
261 |
+
'index' => $index,
|
262 |
'scrollable' => $scrollable,
|
263 |
'sortable' => $sortable,
|
264 |
'show_players' => $show_team_players,
|
265 |
+
'show_staff' => $show_staff,
|
266 |
'show_numbers' => $show_numbers,
|
267 |
'show_minutes' => $show_minutes,
|
268 |
'show_total' => $show_total,
|
276 |
'link_posts' => $link_posts,
|
277 |
'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
|
278 |
'primary' => 'primary' == $total ? $primary : null,
|
|
|
279 |
) );
|
280 |
}
|
281 |
}
|
|
|
|
|
|
|
|
|
282 |
}
|
283 |
?>
|
284 |
<?php
|
templates/player-events.php
CHANGED
@@ -15,7 +15,16 @@ if ( ! isset( $id ) )
|
|
15 |
$format = get_option( 'sportspress_player_events_format', 'blocks' );
|
16 |
if ( 'calendar' === $format )
|
17 |
sp_get_template( 'event-calendar.php', array( 'player' => $id ) );
|
18 |
-
elseif ( 'list' === $format )
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
else
|
21 |
sp_get_template( 'event-fixtures-results.php', array( 'player' => $id ) );
|
15 |
$format = get_option( 'sportspress_player_events_format', 'blocks' );
|
16 |
if ( 'calendar' === $format )
|
17 |
sp_get_template( 'event-calendar.php', array( 'player' => $id ) );
|
18 |
+
elseif ( 'list' === $format ) {
|
19 |
+
$args = array(
|
20 |
+
'player' => $id,
|
21 |
+
'title_format' => 'homeaway',
|
22 |
+
'time_format' => 'separate',
|
23 |
+
'columns' => array( 'event', 'time', 'results' ),
|
24 |
+
'order' => 'DESC',
|
25 |
+
);
|
26 |
+
$args = apply_filters( 'sp_player_events_list_args', $args );
|
27 |
+
sp_get_template( 'event-list.php', $args );
|
28 |
+
}
|
29 |
else
|
30 |
sp_get_template( 'event-fixtures-results.php', array( 'player' => $id ) );
|
templates/player-list.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
-
* @version 2.6.
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -22,6 +22,7 @@ $defaults = array(
|
|
22 |
'show_title' => get_option( 'sportspress_list_show_title', 'yes' ) == 'yes' ? true : false,
|
23 |
'show_player_photo' => get_option( 'sportspress_list_show_photos', 'no' ) == 'yes' ? true : false,
|
24 |
'show_player_flag' => get_option( 'sportspress_list_show_flags', 'no' ) == 'yes' ? true : false,
|
|
|
25 |
'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false,
|
26 |
'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
|
27 |
'responsive' => get_option( 'sportspress_enable_responsive_tables', 'no' ) == 'yes' ? true : false,
|
@@ -138,8 +139,6 @@ foreach ( $groups as $group ):
|
|
138 |
foreach( $labels as $key => $label ):
|
139 |
if ( $key !== 'number' && ( ! is_array( $columns ) || $key == 'name' || in_array( $key, $columns ) ) )
|
140 |
$thead .= '<th class="data-' . $key . '">'. $label . '</th>';
|
141 |
-
if ( preg_match ( "/title=\"(.*?)\"/", $label, $new_label ) )
|
142 |
-
$labels[$key] = $label[1];
|
143 |
endforeach;
|
144 |
|
145 |
$thead .= '</tr>' . '</thead>';
|
@@ -193,8 +192,12 @@ foreach ( $groups as $group ):
|
|
193 |
$tbody .= '<td class="data-name' . $name_class . '" data-label="'.$labels['name'].'">' . $name . '</td>';
|
194 |
|
195 |
if ( array_key_exists( 'team', $labels ) ):
|
196 |
-
$team = sp_array_value( $row, 'team', get_post_meta( $id, 'sp_current_team', true ) );
|
197 |
$team_name = $team ? sp_team_short_name( $team ) : '-';
|
|
|
|
|
|
|
|
|
198 |
if ( $link_teams && false !== get_post_status( $team ) ):
|
199 |
$team_name = '<a href="' . get_post_permalink( $team ) . '">' . $team_name . '</a>';
|
200 |
endif;
|
@@ -215,8 +218,13 @@ foreach ( $groups as $group ):
|
|
215 |
foreach( $labels as $key => $value ):
|
216 |
if ( in_array( $key, array( 'number', 'name', 'team', 'position' ) ) )
|
217 |
continue;
|
218 |
-
if ( ! is_array( $columns ) || in_array( $key, $columns ) )
|
219 |
-
|
|
|
|
|
|
|
|
|
|
|
220 |
endforeach;
|
221 |
|
222 |
$tbody .= '</tr>';
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
+
* @version 2.6.15
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
22 |
'show_title' => get_option( 'sportspress_list_show_title', 'yes' ) == 'yes' ? true : false,
|
23 |
'show_player_photo' => get_option( 'sportspress_list_show_photos', 'no' ) == 'yes' ? true : false,
|
24 |
'show_player_flag' => get_option( 'sportspress_list_show_flags', 'no' ) == 'yes' ? true : false,
|
25 |
+
'team_format' => get_option( 'sportspress_list_team_format', 'name' ),
|
26 |
'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false,
|
27 |
'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
|
28 |
'responsive' => get_option( 'sportspress_enable_responsive_tables', 'no' ) == 'yes' ? true : false,
|
139 |
foreach( $labels as $key => $label ):
|
140 |
if ( $key !== 'number' && ( ! is_array( $columns ) || $key == 'name' || in_array( $key, $columns ) ) )
|
141 |
$thead .= '<th class="data-' . $key . '">'. $label . '</th>';
|
|
|
|
|
142 |
endforeach;
|
143 |
|
144 |
$thead .= '</tr>' . '</thead>';
|
192 |
$tbody .= '<td class="data-name' . $name_class . '" data-label="'.$labels['name'].'">' . $name . '</td>';
|
193 |
|
194 |
if ( array_key_exists( 'team', $labels ) ):
|
195 |
+
$team = sp_array_value( $row, 'team', get_post_meta( $id, 'sp_current_team', true ) );
|
196 |
$team_name = $team ? sp_team_short_name( $team ) : '-';
|
197 |
+
if ( $team_format == 'logo' && has_post_thumbnail( $team ) ){
|
198 |
+
$logo = get_the_post_thumbnail( $team, 'sportspress-fit-icon', array( 'title' => ''.$team_name.'' ) );
|
199 |
+
$team_name = '<span class="team-logo">' . $logo . '</span>';
|
200 |
+
}
|
201 |
if ( $link_teams && false !== get_post_status( $team ) ):
|
202 |
$team_name = '<a href="' . get_post_permalink( $team ) . '">' . $team_name . '</a>';
|
203 |
endif;
|
218 |
foreach( $labels as $key => $value ):
|
219 |
if ( in_array( $key, array( 'number', 'name', 'team', 'position' ) ) )
|
220 |
continue;
|
221 |
+
if ( ! is_array( $columns ) || in_array( $key, $columns ) ) {
|
222 |
+
$label = $labels[$key];
|
223 |
+
if ( preg_match ( "/title=\"(.*?)\"/", $value, $new_label ) ) {
|
224 |
+
$label = $new_label[1];
|
225 |
+
}
|
226 |
+
$tbody .= '<td class="data-' . $key . '" data-label="'.$label.'">' . sp_array_value( $row, $key, '—' ) . '</td>';
|
227 |
+
}
|
228 |
endforeach;
|
229 |
|
230 |
$tbody .= '</tr>';
|
templates/venue-map.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
-
* @version 2.6.
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
@@ -23,17 +23,6 @@ $maptype = strtolower( $maptype );
|
|
23 |
if ( '' === $address ) $address = '+';
|
24 |
if ( 'satellite' !== $maptype ) $maptype = 'roadmap';
|
25 |
|
26 |
-
if ( $latitude != null && $longitude != null )
|
27 |
-
|
28 |
-
|
29 |
-
<iframe
|
30 |
-
class="sp-google-map<?php if ( is_tax( 'sp_venue' ) ): ?> sp-venue-map<?php endif; ?>"
|
31 |
-
width="600"
|
32 |
-
height="320"
|
33 |
-
frameborder="0" style="border:0"
|
34 |
-
src="//tboy.co/maps_embed?q=<?php echo $address; ?>&center=<?php echo $latitude; ?>,<?php echo $longitude; ?>&zoom=<?php echo $zoom; ?>&maptype=<?php echo $maptype; ?>" allowfullscreen>
|
35 |
-
</iframe>
|
36 |
-
<a href="https://www.google.com.au/maps/place/<?php echo $address; ?>/@<?php echo $latitude; ?>,<?php echo $longitude; ?>,<?php echo $zoom; ?>z" target="_blank" class="sp-google-map-link"></a>
|
37 |
-
</div>
|
38 |
-
<?php
|
39 |
-
endif;
|
4 |
*
|
5 |
* @author ThemeBoy
|
6 |
* @package SportsPress/Templates
|
7 |
+
* @version 2.6.15
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
23 |
if ( '' === $address ) $address = '+';
|
24 |
if ( 'satellite' !== $maptype ) $maptype = 'roadmap';
|
25 |
|
26 |
+
if ( $latitude != null && $longitude != null ){
|
27 |
+
do_action ( 'sp_venue_show_map', $latitude, $longitude, $address, $zoom, $maptype );
|
28 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|