Commit Graph

560 Commits

Author SHA1 Message Date
emmapeel
5df08be384 separate the strings so the translation memory coincides with other translations 2024-10-02 18:18:23 +00:00
Jérôme Charaoui
f1de439777
reduce yec-illo on smallest media-breakpoint 2024-10-02 13:53:12 -04:00
Jérôme Charaoui
4c16f26b23
persist yec banner close during navigation
While the checkbox persistence mechanism is clever for not requiring
javascript, it only really works for reloads of the *same* page/url. The
checkbox only remembers its state on a given page, not all pages of the
same site. For example, even if the visitor closes the banner on the front
page, it will be shown when navigating to /about, and so forth.

This leverages the browser's sessionStorage to remember when the banner
is closed, and persists for all pages of the same website until the browser
session or tab is closed, which should be much more convenient for casual
visitors.
2024-10-02 11:06:14 -04:00
Jérôme Charaoui
06a378d2bf
implement yec 2024 (tpo/web/tpo#453) 2024-10-02 09:49:57 -04:00
Jérôme Charaoui
6778dfc45f
support external URLs in redirect template
for tpo/tpa/team#41687
2024-07-30 12:24:13 -04:00
emmapeel
ce5d6409f6 add new tpo translations be, el, tk. ref: tpo/web/tpo#419 2024-02-21 13:49:14 +00:00
emmapeel
527b8b4141 Merge branch 'old-translations' into 'main'
no need to keep translating this strings, as they are not used on the websites anymore

See merge request tpo/web/lego!95
2024-02-12 17:30:48 +00:00
emmapeel
584f2171a5 Merge branch 'newlangs' into 'main'
add translations: de fa fr ro sw. part of: tpo/web/community#333

See merge request tpo/web/lego!94
2024-01-30 14:38:01 +00:00
emma peel
75f9a417f8 no need to keep translating this strings, as they are not used on the websites anymore 2024-01-29 11:38:32 +01:00
emma peel
ee2ff442b5 add translations: de fa fr ro sw. part of: tpo/web/community#333 2024-01-23 20:08:22 +01:00
kezzle
675867672c Merge branch 'team#21' into 'main'
Patch lektor i18n to work with python >= 3.8

See merge request tpo/web/lego!91
2024-01-17 19:30:29 +00:00
kezzle
0d1c2097ad Merge branch 'yec-match-reached' into 'main'
YEC match has been reached

See merge request tpo/web/lego!92
2023-12-18 17:44:23 +00:00
kez
e526f10379 YEC match has been reached
See tpo/web/donate-static#129
2023-12-13 15:33:58 +01:00
kez
f611a89233 Patch lektor i18n to work with python >= 3.8 2023-12-04 17:29:00 +01:00
kez
8245dc7df2 Fix donate button font size 2023-11-30 16:26:48 +01:00
kez
1125343192 Remove header tags in footer for proper semantics 2023-11-30 16:01:14 +01:00
kez
ff0e0bd9b0 Revert "Remove header tags in footer for proper semantics"
This reverts commit d5bd84e168.
2023-11-30 15:59:29 +01:00
kez
d5bd84e168 Remove header tags in footer for proper semantics 2023-11-30 15:40:50 +01:00
kezzle
cb9c5cae79 Merge branch 'tpoi336-donate-link' into 'main'
Remove h4 tag in donate link for proper semantics

Closes tpo#336

See merge request tpo/web/lego!90
2023-11-30 14:10:58 +00:00
kez
f51752d810 Remove h4 tag in donate link for proper semantics
Closes tpo#336
2023-11-30 14:51:48 +01:00
kezzle
07e77139c4 Merge branch 'yec2023-match' into 'main'
Add friends of tor match text to YEC banner

See merge request tpo/web/lego!89
2023-11-29 12:41:11 +00:00
kez
0add02f5ac Add friends of tor match text to YEC banner
tpo/web/donate-static#129
tpo/web/tpo#392
2023-11-15 18:50:30 +01:00
Jérôme Charaoui
79ab8304ba
fix code samples in rtl pages (tpo/community/l10n#40120) 2023-11-09 12:48:16 -05:00
Jérôme Charaoui
766dfca651 Merge branch 'no-hardcoded-capitalization' into 'main'
prevent hardcoded capitalization

Closes tpo#390

See merge request tpo/web/lego!88
2023-11-06 15:14:50 +00:00
emmapeel
69428eb541 prevent hardcoded capitalization 2023-11-06 15:14:49 +00:00
Jérôme Charaoui
894815bfbf
fix footer donate button always hidden
turns out that _donate.scss is actually processed on all websites, so
this doesn't work, so instead just prevent the template from generating
the button html on donate.tpo
2023-10-19 14:55:19 -04:00
Jérôme Charaoui
4ecb361938
fix horizontal scroll caused by banner close on rtl 2023-10-19 11:08:50 -04:00
Jérôme Charaoui
d15c56fe92
fix footer onion pattern for rtl text direction 2023-10-19 10:51:36 -04:00
Jérôme Charaoui
aefaa6195a
hide footer donate button on donate.tpo 2023-10-19 09:33:48 -04:00
Jérôme Charaoui
e2661d1f27
hide language dropdown in footer when english-only
this is needed for the donate website which uses i18n but only has one
language (english) enabled
2023-10-19 09:32:27 -04:00
Jérôme Charaoui
75f485455a
enlarge perk images on donate.tpo (tpo/web/donate-static#130) 2023-10-19 08:39:51 -04:00
Jérôme Charaoui
3043f2fc8f
fix minor onion pattern stroke inconsistencies 2023-10-18 23:37:20 -04:00
Jérôme Charaoui
ee85dad7df
re-export circle-pattern png to 280px height 2023-10-18 23:06:16 -04:00
Jérôme Charaoui
10adf9b548
rework onion pattern on footer
use direction: rtl to anchor the image on the right to avoid the need to
use a background image which scales badly on different browser window
sizes

this way the height of the image remains identical no matter the width
of the viewport
2023-10-18 22:59:11 -04:00
Jérôme Charaoui
1a972c9520
remove old circle pattern images
that png file was 544 Kb ...
2023-10-18 15:43:38 -04:00
Jérôme Charaoui
bfa285204e
add optimized footer circle pattern png/svg
currently this image is needlessly duplicated across multiple web
projects, and the versions used there are not optimized at all eg. the
png used in www.tpo is over 100 Kb!
2023-10-18 15:12:58 -04:00
Jérôme Charaoui
5b80983480
additional yec 2023 banner text fix (tpo/web/tpo#385) 2023-10-17 16:11:41 -04:00
Jérôme Charaoui
895c1ef229
fix yec 2023 banner text (tpo/web/tpo#385) 2023-10-17 16:06:41 -04:00
Jérôme Charaoui
2d5a53901d
put banner close button on left for rtl (tpo/web/lego#61) 2023-10-17 10:13:07 -04:00
Jérôme Charaoui
2eccdda68a
fix yec 2023 banner text direction (tpo/web/lego#61) 2023-10-16 16:00:28 -04:00
Gaba
a1c4ffec5f Merge branch 'a91y-main-patch-34506' into 'main'
Added gitlab url to footer.html

Closes #60

See merge request tpo/web/lego!85
2023-10-16 13:24:20 +00:00
Jérôme Charaoui
39ba04c9b7 Merge branch 'yec-2023' into 'main'
Prep for YEC 2023

See merge request tpo/web/lego!87
2023-10-13 13:12:17 +00:00
Jérôme Charaoui
6e52b1814f
cleanup deprecated eoy/yec css rules and fonts 2023-10-13 09:07:49 -04:00
Jérôme Charaoui
d9f096f3f4
Implement YEC 2023 banner
Context: tpo/web/tpo#385
Milestone: https://gitlab.torproject.org/groups/tpo/-/milestones/50

Co-authored-by: kez <kez@torproject.org>
2023-10-13 09:07:39 -04:00
kez
6d614b75be Add translated content files to gitignore 2023-09-25 18:00:47 +02:00
Jérôme Charaoui
803e1f51ff
fix broken background image urls
this fixes the onion background on the footers of several websites, as well as
the browser window preview at https://www.torproject.org/download/
2023-09-07 16:26:34 -04:00
emmapeel
213bd0bc75 Merge branch 'arabic' into 'main'
add new locale to the links: Arabic.

See merge request tpo/web/lego!86
2023-09-07 07:41:25 +00:00
emma peel
20fe9d029e add new locale to the links: Arabic. 2023-08-22 17:10:12 +02:00
a91y
3fc0c56a95 Added gitlab url to footer.html 2023-07-23 12:28:30 +00:00
Gus
d7bdef4020 Merge branch 'new-forum-links' into 'main'
New forum link

See merge request tpo/web/lego!84
2023-06-26 14:49:44 +00:00