Argentum
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Customize front-end stringsHi (@tobifjellner,
I downloaded the po file from
https://translate.www.ads-software.com/locale/sv/default/wp-plugins/complianz-gdpr/
It had 1323 strings (50% translated). I then updated it with the pot file from the plugin’s translation folder. Quite a few new string were added (new total 2464), so I had to start at 25% translated. I am at 55% now. Long hours …BUT:
I assume that many of the strings are not likely applicable to a Swedish site. We’ll se how far I get before I croak.
And more, I get the feeling that many of of the strings would benefit from a lawyer’s proof-reading. I hope the Swedish site owners won’t sue me when they get a GDPR €20 million fine?Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Elementor testimonials widget errorHi, @aahulsebos
Yes that is the one.
I have sent you a message on WordPress Slack.
Best regards
MagnusForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Elementor testimonials widget errorI just tested. Enabled the Elementor integration. Deleted allt the cookies. Reloaded the page. The placeholders show. I click it. And reload the page. The testimonial carousel still throws the errors.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveA link to the webpage, I have to say no to that. It’s a Swedish page with a very particular purpose: showing crosscountry tracks at a resort, and I honestly don’t want traffic from people that isn’t interested in what the page actually is about. Not to mention adding the risk of shady people “finding” the link. I can privately send you the link if you are interested in seeing the nice elevation curves? ??
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveOuch, pardon! I missed your answer. Do you want the po and mo file for the frontend translation?
https://drive.google.com/file/d/1sXoANcT4YH74OibmqwxlLAZGPm0V_FAN/view?usp=sharing
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveRight, I looked at the own theme description, but that wouldn’t work in my case since there is appr. 12 tracks with their own colors.
But I actually found a css solution. I identify the page id and use
.elementor-4326 .lime-theme.elevation-polyline { stroke: #f15a22; }
I’ll have to add css for the other 11 track colors, but it will work!
Thank you for your help and patience!
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveSorry, I should have explained better. What I want is
use a gpx-file to on one web page show a track on a map where I can set the track color to a hex value. And below that map/track, an elevation graph in any decent color showing the elevation curve for the same gpx file.Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveBut in your example you get two tracks, the gray one is the one which elevation curve is shown and that one only is interactive. The orange track is hoverable but it doesn’t do anything besides being orange.
- This reply was modified 2 years, 11 months ago by Argentum.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveWell, I hate to have to tell you, ?? but if I have theme=lime in the shortcode, the elevation curve fill is green, but the graph area around it is light blue. If I use theme=lime-theme, the light blue gets light green.
- This reply was modified 2 years, 11 months ago by Argentum.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveHm, am I correct in assuming that if I add a theme to the elevation shortcode, that takes precedence over any value I add to the color= om the leaflet-gpx shortcode?
I have this
[leaflet-gpx src=”https://domain.se/wp-content/uploads/sparet1.GPX” color=#f15a22] *This color is the track’s orange identification color on signs in the terrain and on map materials.*[elevation gpx=”https://domain.se/wp-content/uploads/sparet2.GPX” theme=lime]
I can actually see the orange track before extensions adds a black line with a white shadow
I see this in dev console.
.elevation-polyline {
filter: drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF);
}And the source code for the track.
<path class="elevation-polyline lime leaflet-interactive" <strong>stroke="#000</strong>" stroke-opacity="0.75" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M525 310L508 305L497 299L494 </path>
So I end up with a track that blinks orange and goes to a black track with white shadows and a green elevation graph. ?? Is there a way to tell the plugin to stop messing with the gpx-track if it got a color= option?
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curve@tobifjellner Well, I don’t need or want that translation myself. Since geo data and nomenclature is not my expertise, I would produce a lousy home-cooked translation (at best) of the backend. I have translated the few strings that show frontend only.
If the plugin owner want my (tiny frontend) translation, I will of course offer it. But I think it would be a better solution to add a frontend string translation section in the plugins setting.
- This reply was modified 2 years, 11 months ago by Argentum.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveI think that the Download link string showing under the elevation chart is non-translatable.
Other than that, I think I am done. I am a firm believer in that translating the backend only makes it harder to read and understand a plugin’s documentation.
No hint how to color a gpx track in Leaflet Map plugin? Seems the https://www.ads-software.com/plugins/leaflet-map/
is if not forgotten so not a very high priority for the devs.Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveI changed the po-file placement from
languages/loco/plugins/extensions-leaflet-map-sv_SE.po
to
languages/plugins/extensions-leaflet-map-sv_SE.po
and now the translations show!Ok, I will enable every setting on the elevation settings pace and translate the frontend strings.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Translate attributes on elevation curveNo you probably didn’t miss anything. I’ll give it another go importing the pot file and start over.
Another question, I’ve searched the support forum, and I feel terribly stupid, but how do I give color to a gpx track? I have tried color=red and color=#ff0000. The tracks are hoverable, is that what conflicts with the color option?
Forum: Themes and Templates
In reply to: [OceanWP] OceanWP custom menu, current menu item in submenu openThank you!