UX: change twitter share link to X (#29056)
This commit is contained in:
parent
d4379af7f2
commit
23fbaf7ee3
|
@ -7,10 +7,10 @@ export default {
|
||||||
|
|
||||||
Sharing.addSource({
|
Sharing.addSource({
|
||||||
id: "twitter",
|
id: "twitter",
|
||||||
icon: "fab-twitter",
|
icon: "fab-x-twitter",
|
||||||
generateUrl(link, title, quote = "") {
|
generateUrl(link, title, quote = "") {
|
||||||
const text = quote ? `"${quote}" -- ` : title;
|
const text = quote ? `"${quote}" -- ` : title;
|
||||||
return `http://twitter.com/intent/tweet?url=${encodeURIComponent(
|
return `http://x.com/intent/tweet?url=${encodeURIComponent(
|
||||||
link
|
link
|
||||||
)}&text=${encodeURIComponent(text)}`;
|
)}&text=${encodeURIComponent(text)}`;
|
||||||
},
|
},
|
||||||
|
|
|
@ -157,7 +157,7 @@ en:
|
||||||
topic_html: 'Topic: <span class="topic-title">%{topicTitle}</span>'
|
topic_html: 'Topic: <span class="topic-title">%{topicTitle}</span>'
|
||||||
post: "post #%{postNumber} by @%{username}"
|
post: "post #%{postNumber} by @%{username}"
|
||||||
close: "close"
|
close: "close"
|
||||||
twitter: "Share on Twitter"
|
twitter: "Share on X"
|
||||||
facebook: "Share on Facebook"
|
facebook: "Share on Facebook"
|
||||||
email: "Send via email"
|
email: "Send via email"
|
||||||
url: "Copy and share URL"
|
url: "Copy and share URL"
|
||||||
|
|
Loading…
Reference in New Issue