Skip to content

Commit

Permalink
chore: update X links
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Dec 4, 2024
1 parent 2b53815 commit 059cfd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Homepage = "https://weblate.org/"
"Issue Tracker" = "https://github.com/WeblateOrg/weblate/issues"
"Release Notes" = "https://docs.weblate.org/en/latest/changes.html"
"Source Code" = "https://github.com/WeblateOrg/weblate"
Twitter = "https://twitter.com/WeblateOrg"
X = "https://x.com/WeblateOrg"

[tool.check-manifest]
ignore = [
Expand Down
2 changes: 1 addition & 1 deletion weblate/templates/accounts/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h3>{{ page_user }}</h3>
{% endif %}
{% if page_profile.twitter %}
<span class="middle-dot-divider">
<span class="profile-icon">{% icon "twitter.svg" %}</span> <a href="https://twitter.com/{{ page_profile.twitter }}" rel="ugc">{{ page_profile.twitter }}</a>
<span class="profile-icon">{% icon "twitter.svg" %}</span> <a href="https://x.com/{{ page_profile.twitter }}" rel="ugc">{{ page_profile.twitter }}</a>
</span>
{% endif %}
{% if page_profile.linkedin %}
Expand Down
2 changes: 1 addition & 1 deletion weblate/templates/snippets/share-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<a href="https://www.facebook.com/sharer.php?u={{ share_url }}">{% trans "Share on Facebook" %}</a>
</li>
<li>
<a href="https://twitter.com/share?text={% blocktrans %}Translate {{ object }} using %23Weblate at {{ share_url }}!{% endblocktrans %}">{% trans "Share on X" %}</a>
<a href="https://x.com/share?text={% blocktrans %}Translate {{ object }} using %23Weblate at {{ share_url }}!{% endblocktrans %}">{% trans "Share on X" %}</a>
</li>
{% with fediverse_url=user.profile.get_fediverse_share %}
{% if fediverse_url %}
Expand Down

0 comments on commit 059cfd5

Please sign in to comment.