|
3 | 3 |
|
4 | 4 | <div class="kuiSideBarSection"> |
5 | 5 | <div class="kuiSideBarSectionTitle"> |
6 | | - <div class="kuiSideBarSectionTitle__text"> |
7 | | - Base Layer Settings |
8 | | - </div> |
| 6 | + <div |
| 7 | + class="kuiSideBarSectionTitle__text" |
| 8 | + i18n-id="tileMap.wmsOptions.baseLayerSettingsTitle" |
| 9 | + i18n-default-message="Base Layer Settings" |
| 10 | + ></div> |
9 | 11 | </div> |
10 | 12 |
|
11 | 13 |
|
12 | 14 | <div class="kuiSideBarFormRow" ng-show="!options.enabled"> |
13 | | - <label class="kuiSideBarFormRow__label" for="tmsLayers"> |
14 | | - Layers |
15 | | - </label> |
| 15 | + <label |
| 16 | + class="kuiSideBarFormRow__label" |
| 17 | + for="tmsLayers" |
| 18 | + i18n-id="tileMap.wmsOptions.layersLabel" |
| 19 | + i18n-default-message="Layers" |
| 20 | + ></label> |
16 | 21 | <div class="kuiSideBarFormRow__control"> |
17 | 22 | <select |
18 | 23 | id="tmsLayers" |
|
24 | 29 | </div> |
25 | 30 |
|
26 | 31 | <div class="kuiSideBarFormRow"> |
27 | | - <label class="kuiSideBarFormRow__label" for="wmsCompliantMapServer"> |
28 | | - WMS map server |
29 | | - </label> |
| 32 | + <label |
| 33 | + class="kuiSideBarFormRow__label" |
| 34 | + for="wmsCompliantMapServer" |
| 35 | + i18n-id="tileMap.wmsOptions.wmsMapServerLabel" |
| 36 | + i18n-default-message="WMS map server" |
| 37 | + ></label> |
30 | 38 |
|
31 | 39 | <div class="kuiSideBarFormRow__control"> |
32 | 40 | <input |
|
37 | 45 | > |
38 | 46 | |
39 | 47 | <icon-tip |
40 | | - content="'Use WMS compliant map tile server. For advanced users only.'" |
| 48 | + content="{{::'tileMap.wmsOptions.useWMSCompliantMapTileServerTip' | i18n: {defaultMessage: '\'Use WMS compliant map tile server. For advanced users only.\''} }}" |
41 | 49 | position="'right'" |
42 | 50 | ></icon-tip> |
43 | 51 | </div> |
44 | 52 | </div> |
45 | 53 |
|
46 | 54 | <div ng-show="options.enabled"> |
47 | 55 | <div class="form-group"> |
48 | | - <p>WMS is an OGC standard for map image services. For more information, go <a |
49 | | - href="http://www.opengeospatial.org/standards/wms">here</a>.</p> |
50 | | - <br> |
| 56 | + <p |
| 57 | + i18n-id="tileMap.wmsOptions.wmsDescription" |
| 58 | + i18n-default-message="WMS is an OGC standard for map image services. For more information, go {wmsLink}." |
| 59 | + i18n-values="{ |
| 60 | + wmsLink: '<a href=\'http://www.opengeospatial.org/standards/wms\'>' + wmsLinkText + '</a>' |
| 61 | + }" |
| 62 | + ></p> |
| 63 | + <br> |
51 | 64 | <label> |
52 | | - WMS url* |
53 | | - <icon-tip |
54 | | - position="'right'" |
55 | | - content="'The URL of the WMS web service'" |
56 | | - ></icon-tip> |
| 65 | + <span |
| 66 | + i18n-id="tileMap.wmsOptions.wmsUrlLabel" |
| 67 | + i18n-default-message="WMS url*" |
| 68 | + ></span> |
| 69 | + <icon-tip position="'right'" content="{{::'tileMap.wmsOptions.urlOfWMSWebServiceTip' | i18n: {defaultMessage: '\'The URL of the WMS web service\''} }}"></icon-tip> |
57 | 70 | </label> |
58 | 71 | <input type="text" class="form-control" |
59 | 72 | name="wms.url" |
|
62 | 75 |
|
63 | 76 | <div class="form-group"> |
64 | 77 | <label> |
65 | | - WMS layers* |
66 | | - <icon-tip |
67 | | - position="'right'" |
68 | | - content="'A comma separated list of layers to use'" |
69 | | - ></icon-tip> |
| 78 | + <span |
| 79 | + i18n-id="tileMap.wmsOptions.wmsLayersLabel" |
| 80 | + i18n-default-message="WMS layers*" |
| 81 | + ></span> |
| 82 | + <icon-tip position="'right'" content="{{::'tileMap.wmsOptions.listOfLayersToUseTip' | i18n: {defaultMessage: '\'A comma separated list of layers to use\''} }}"></icon-tip> |
70 | 83 | </label> |
71 | 84 | <input type="text" class="form-control" |
72 | 85 | ng-require="options.enabled" |
|
76 | 89 |
|
77 | 90 | <div class="form-group"> |
78 | 91 | <label> |
79 | | - WMS version* |
80 | | - <icon-tip |
81 | | - position="'right'" |
82 | | - content="'The version of WMS the server supports'" |
83 | | - ></icon-tip> |
| 92 | + <span |
| 93 | + i18n-id="tileMap.wmsOptions.wmsVersionLabel" |
| 94 | + i18n-default-message="WMS version*" |
| 95 | + ></span> |
| 96 | + <icon-tip position="'right'" content="{{::'tileMap.wmsOptions.versionOfWMSserverSupportsTip' | i18n: {defaultMessage: '\'The version of WMS the server supports\''} }}"></icon-tip> |
84 | 97 | </label> |
85 | 98 | <input type="text" class="form-control" |
86 | 99 | name="wms.options.version" |
|
89 | 102 |
|
90 | 103 | <div class="form-group"> |
91 | 104 | <label> |
92 | | - WMS format* |
93 | | - <icon-tip |
94 | | - position="'right'" |
95 | | - content="'Usually image/png or image/jpeg. Use png if the server will return transparent layers.'" |
96 | | - ></icon-tip> |
| 105 | + <span |
| 106 | + i18n-id="tileMap.wmsOptions.wmsFormatLabel" |
| 107 | + i18n-default-message="WMS format*" |
| 108 | + ></span> |
| 109 | + <icon-tip position="'right'" content="{{::'tileMap.wmsOptions.imageFormatToUseTip' | i18n: {defaultMessage: '\'Usually image/png or image/jpeg. Use png if the server will return transparent layers.\''} }}"></icon-tip> |
97 | 110 | </label> |
98 | 111 | <input type="text" class="form-control" |
99 | 112 | name="wms.options.format" |
|
102 | 115 |
|
103 | 116 | <div class="form-group"> |
104 | 117 | <label> |
105 | | - WMS attribution |
106 | | - <icon-tip |
107 | | - position="'right'" |
108 | | - content="'Attribution string for the lower right corner'" |
109 | | - ></icon-tip> |
| 118 | + <span |
| 119 | + i18n-id="tileMap.wmsOptions.wmsAttributionLabel" |
| 120 | + i18n-default-message="WMS attribution" |
| 121 | + ></span> |
| 122 | + <icon-tip position="'right'" content="{{::'tileMap.wmsOptions.attributionStringTip' | i18n: {defaultMessage: '\'Attribution string for the lower right corner\''} }}"></icon-tip> |
110 | 123 | </label> |
111 | 124 | <input type="text" class="form-control" |
112 | 125 | name="wms.options.attribution" |
|
115 | 128 |
|
116 | 129 | <div class="form-group"> |
117 | 130 | <label> |
118 | | - WMS styles* |
119 | | - <icon-tip |
120 | | - position="'right'" |
121 | | - content="'A comma separated list of WMS server supported styles to use. Blank in most cases.'" |
122 | | - ></icon-tip> |
| 131 | + <span |
| 132 | + i18n-id="tileMap.wmsOptions.wmsStylesLabel" |
| 133 | + i18n-default-message="WMS styles*" |
| 134 | + ></span> |
| 135 | + <icon-tip position="'right'" content="{{::'tileMap.wmsOptions.wmsServerSupportedStylesListTip' | i18n: {defaultMessage: '\'A comma separated list of WMS server supported styles to use. Blank in most cases.\''} }}"></icon-tip> |
123 | 136 | </label> |
124 | 137 | <input type="text" class="form-control" |
125 | 138 | name="wms.options.styles" |
126 | 139 | ng-model="options.options.styles"> |
127 | 140 | </div> |
128 | 141 |
|
129 | | - <p>* if this parameter is incorrect, maps will fail to load.</p> |
| 142 | + <p |
| 143 | + i18n-id="tileMap.wmsOptions.mapLoadFailDescription" |
| 144 | + i18n-default-message="* if this parameter is incorrect, maps will fail to load." |
| 145 | + ></p> |
130 | 146 |
|
131 | 147 |
|
132 | 148 | </div> |
|
0 commit comments