Skip to content

Commit 10becde

Browse files
committed
Web UI v3: a button to switch the liquid glass off and on
Next to the theme toggle: off, the page is the v2 look (tweb's). The glass applies under html.glass only (the tokens, the global skin, the glass sections of the CSS modules); the light field and the lens are rendered only while it's on. The choice is kept in localStorage (on by default) and applied before the first render; the QR code is redrawn on the colours of the other look. "Liquid Glass" in every language (the name of the material). Claude-Session: https://claude.ai/code/session_01SraUcNBJBJ1Q6tzbqTARiW
1 parent 12fed57 commit 10becde

36 files changed

Lines changed: 497 additions & 335 deletions

‎langs/ar.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "تم إبطال توكن البوت هذا",
272272
"tweb.FIRSTNAME_INVALID": "الاسم الأول غير صالح",
273273
"tweb.LASTNAME_INVALID": "اسم العائلة غير صالح",
274-
"tweb.Close": "إغلاق"
274+
"tweb.Close": "إغلاق",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/ckb.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "ئەم تۆکنی بۆتە هەڵوەشێنراوەتەوە",
272272
"tweb.FIRSTNAME_INVALID": "ناوی یەکەم نادروستە",
273273
"tweb.LASTNAME_INVALID": "ناوی کۆتایی نادروستە",
274-
"tweb.Close": "داخستن"
274+
"tweb.Close": "داخستن",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/de.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "Dieses Bot-Token wurde widerrufen",
272272
"tweb.FIRSTNAME_INVALID": "Ungültiger Vorname",
273273
"tweb.LASTNAME_INVALID": "Ungültiger Nachname",
274-
"tweb.Close": "Schließen"
274+
"tweb.Close": "Schließen",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/en.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "This bot token was revoked",
272272
"tweb.FIRSTNAME_INVALID": "Invalid first name",
273273
"tweb.LASTNAME_INVALID": "Invalid last name",
274-
"tweb.Close": "Close"
274+
"tweb.Close": "Close",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/es.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "Este token del bot ha sido revocado",
272272
"tweb.FIRSTNAME_INVALID": "Nombre no válido",
273273
"tweb.LASTNAME_INVALID": "Apellidos no válidos",
274-
"tweb.Close": "Cerrar"
274+
"tweb.Close": "Cerrar",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/fa.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "این توکن ربات باطل شده است",
272272
"tweb.FIRSTNAME_INVALID": "نام نامعتبر است",
273273
"tweb.LASTNAME_INVALID": "نام خانوادگی نامعتبر است",
274-
"tweb.Close": "بستن"
274+
"tweb.Close": "بستن",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/fr.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "Ce token de bot a été révoqué",
272272
"tweb.FIRSTNAME_INVALID": "Prénom invalide",
273273
"tweb.LASTNAME_INVALID": "Nom invalide",
274-
"tweb.Close": "Fermer"
274+
"tweb.Close": "Fermer",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/he.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "טוקן הבוט הזה בוטל",
272272
"tweb.FIRSTNAME_INVALID": "שם פרטי לא תקין",
273273
"tweb.LASTNAME_INVALID": "שם משפחה לא תקין",
274-
"tweb.Close": "סגירה"
274+
"tweb.Close": "סגירה",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/hi.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "यह बॉट टोकन रद्द कर दिया गया है",
272272
"tweb.FIRSTNAME_INVALID": "अमान्य पहला नाम",
273273
"tweb.LASTNAME_INVALID": "अमान्य उपनाम",
274-
"tweb.Close": "बंद करें"
274+
"tweb.Close": "बंद करें",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

‎langs/id.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,6 @@
271271
"tweb.ACCESS_TOKEN_EXPIRED": "Token bot ini telah dicabut",
272272
"tweb.FIRSTNAME_INVALID": "Nama depan tidak valid",
273273
"tweb.LASTNAME_INVALID": "Nama belakang tidak valid",
274-
"tweb.Close": "Tutup"
274+
"tweb.Close": "Tutup",
275+
"tweb.LiquidGlass": "Liquid Glass"
275276
}

0 commit comments

Comments
 (0)