mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 09:39:38 +00:00
bug6065: replaced Twitter text/logo by "X"
This commit is contained in:
1 parent
88f1fce5ac
commit
ff219b78ee
9 files changed
+12
-10
No files matched your search
+1
-1
@@ -58,7 +58,7 @@ public class EventHeaderSharingButtons extends Composite {
|
||||
final UrlBuilder mailtoLink = new UrlBuilder().setProtocol("mailto").setParameter("subject", shortText).setParameter("body", urlToShare);
|
||||
// URLBuilder encodes spaces in parameters using "+" instead of "%20". This causes problems in Mail programs that do not decode "+" as space.
|
||||
mail.setHref(mailtoLink.buildString().replace("+", "%20"));
|
||||
final UrlBuilder twitterLink = new UrlBuilder().setProtocol("https").setHost("twitter.com").setPath("intent/tweet").setParameter("text", shortText).setParameter("url", urlToShare).setParameter("short_url_length", "8");
|
||||
final UrlBuilder twitterLink = new UrlBuilder().setProtocol("https").setHost("x.com").setPath("intent/tweet").setParameter("text", shortText).setParameter("url", urlToShare).setParameter("short_url_length", "8");
|
||||
twitter.setHref(twitterLink.buildString());
|
||||
final UrlBuilder facebookLink = new UrlBuilder().setProtocol("https").setHost("www.facebook.com")
|
||||
.setPath("sharer/sharer.php").setParameter("u", urlToShare);
|
||||
|
||||
+2
-2
@@ -14,13 +14,13 @@
|
||||
<ui:text from="{i18n.followSapSports}" />
|
||||
</h3>
|
||||
<div class="{local_res.css.socialfooter_item} {local_res.css.socialfooter_itemleft} {res.mediaCss.small4} {res.mediaCss.columns}">
|
||||
<a href="https://twitter.com/sap" target="_blank" class="{local_res.css.socialfooter_item_contentwrapper} {local_res.css.socialfooter_item_contentwrappertwitter}">
|
||||
<a href="https://x.com/sap" target="_blank" class="{local_res.css.socialfooter_item_contentwrapper} {local_res.css.socialfooter_item_contentwrappertwitter}">
|
||||
<img src="{shr.twitter.getSafeUri}" class="{local_res.css.socialfooter_item_icon}"></img>
|
||||
<div class="{local_res.css.socialfooter_item_text}">
|
||||
<div class="{local_res.css.socialfooter_item_text_top}">
|
||||
<ui:text from='{i18n.sapSportsOn}' />
|
||||
</div>
|
||||
<div class="{local_res.css.socialfooter_item_text_bottom}">Twitter</div>
|
||||
<div class="{local_res.css.socialfooter_item_text_bottom}">X</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -14,13 +14,13 @@
|
||||
<ui:text from='{i18n.followSapSports}' />
|
||||
</h3>
|
||||
<div class="{local_res.css.socialfooter_item} {local_res.css.socialfooter_itemleft} {res.mediaCss.small6} {res.mediaCss.columns}">
|
||||
<a href="https://twitter.com/sap" target="_blank" class="{local_res.css.socialfooter_item_contentwrapper}">
|
||||
<a href="https://x.com/sap" target="_blank" class="{local_res.css.socialfooter_item_contentwrapper}">
|
||||
<img src="{shr.twitter.getSafeUri}" class="{local_res.css.socialfooter_item_icon}"></img>
|
||||
<div class="{local_res.css.socialfooter_item_text}">
|
||||
<div class="{local_res.css.socialfooter_item_text_top}">
|
||||
<ui:text from='{i18n.sapSportsOn}' />
|
||||
</div>
|
||||
<div class="{local_res.css.socialfooter_item_text_bottom}">Twitter</div>
|
||||
<div class="{local_res.css.socialfooter_item_text_bottom}">X</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
anniversaryLegalNoticeHeadline=The {0,number,#,###}th race
|
||||
anniversaryLegalNoticeSectionOverallCompetitionRulesAndPrizesHeadline=General contest rules and prizes
|
||||
anniversaryLegalNoticeSectionOrganizationAndParticipationParagraphTitle=Organization and participation
|
||||
anniversaryLegalNoticeSectionOrganizationAndParticipationParagraph1=No purchase is necessary to participate in or win this contest. All those who organize a race are eligible to participate. This contest is not being sponsored, supported, or managed in any way by Facebook, Twitter, or any other social network and is not to be associated with any such entity.
|
||||
anniversaryLegalNoticeSectionOrganizationAndParticipationParagraph1=No purchase is necessary to participate in or win this contest. All those who organize a race are eligible to participate. This contest is not being sponsored, supported, or managed in any way by Facebook, X, or any other social network and is not to be associated with any such entity.
|
||||
anniversaryLegalNoticeSectionOrganizationAndParticipationParagraph2=Employees of the German federal government, the government of any U.S. federal state or territory, or any other foreign government are not eligible to participate.
|
||||
anniversaryLegalNoticeSectionOrganizationAndParticipationParagraph3=The organizer of this contest is SAP SE, a German company whose headquarters is located at Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany. To be eligible for the contest, a race must be publicly accessible at www.sapsailing.com.
|
||||
anniversaryLegalNoticeSectionRequirementsHeadline=Prerequisites
|
||||
|
||||
+1
-1
@@ -1113,7 +1113,7 @@ upcomingEventStartsInDays=in {0,number} days
|
||||
upcomingEventStartsInDays[one]=tomorrow
|
||||
upcomingEventStartsInDays[none]=today
|
||||
sharingMailTooltip=Share by mail
|
||||
sharingTwitterTooltip=Share on Twitter
|
||||
sharingTwitterTooltip=Share on X
|
||||
sharingFacebookTooltip=Share on Facebook
|
||||
sharingCopyToClipBoardTooltip=Copy link to clipboard
|
||||
#String eventSharingShortText(String eventName, String venue, String dateString);
|
||||
|
||||
+1
-1
@@ -1095,7 +1095,7 @@ upcomingEventStartsInDays=in {0,number} Tagen
|
||||
upcomingEventStartsInDays[one]=morgen
|
||||
upcomingEventStartsInDays[none]=heute
|
||||
sharingMailTooltip=Per Mail teilen
|
||||
sharingTwitterTooltip=Auf Twitter teilen
|
||||
sharingTwitterTooltip=Auf X teilen
|
||||
sharingFacebookTooltip=Auf Facebook teilen
|
||||
sharingCopyToClipBoardTooltip=Link in Zwischenablage kopieren
|
||||
#String eventSharingShortText(String eventName, String venue, String dateString);
|
||||
|
||||
@@ -11,7 +11,7 @@ public interface CommonIcons extends ClientBundle {
|
||||
@MimeType("image/svg+xml")
|
||||
DataResource facebook();
|
||||
|
||||
@Source("twitter-logo.svg")
|
||||
@Source("x-logo.svg")
|
||||
@MimeType("image/svg+xml")
|
||||
DataResource twitter();
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23.5 19.1"><path fill="#FFF" d="M23.48 2.293c-.9.4-1.8.6-2.8.8 1-.6 1.8-1.5 2.1-2.7-.9.6-2 1-3.1 1.2-.9-.9-2.1-1.5-3.5-1.5-2.7 0-4.8 2.2-4.8 4.8 0 .4 0 .7.1 1.1-4-.2-7.6-2.1-9.9-5-.4.7-.7 1.5-.7 2.4 0 1.7.9 3.1 2.1 4-.8 0-1.5-.2-2.2-.6v.1c0 2.3 1.7 4.3 3.9 4.7-.4.1-.8.2-1.3.2-.3 0-.6 0-.9-.1.6 1.9 2.4 3.3 4.5 3.3-1.7 1.3-3.7 2.1-6 2.1-.4 0-.8 0-1.2-.1 2.1 1.4 4.7 2.2 7.4 2.2 8.9 0 13.7-7.3 13.7-13.7v-.6c1.2-.8 2-1.7 2.6-2.6z"/></svg>
|
||||
|
Before Width: | Height: | Size: 490 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1227" viewBox="0 0 1200 1227" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 430 B |
Reference in new issue
Block a user