Mr. Worldwide #93

Merged
quoije merged 10 commits from 2026-localization into prod 2026-03-18 20:44:34 -04:00
2 changed files with 12 additions and 5 deletions
Showing only changes of commit d39e74ee9b - Show all commits
+11 -4
View File
@@ -409,13 +409,20 @@ body:not(.i18n-ready) .navbar .nav-link,
body:not(.i18n-ready) .navbar .navbar-text,
body:not(.i18n-ready) .navbar .btn {
transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
/* Light mode & default: fully fade out navbar until i18n is ready
so fallback labels never flash. */
opacity: 0;
transform: translateY(-2px);
/* Light mode & default: muted appearance while i18n loads. */
filter: blur(1.2px) saturate(0.95);
opacity: 0.45;
transform: translateY(-1px);
pointer-events: none;
}
/* Light mode: keep navbar container visible to avoid layout jump. */
html:not([data-theme="dark"]) body:not(.i18n-ready) nav.navbar,
html:not([data-theme="dark"]) body:not(.i18n-ready) .navbar {
opacity: 1;
transform: none;
}
/* Dark mode: keep the original soft blur effect while loading
so the navbar stays visible but its text is obscured. */
html[data-theme="dark"] body:not(.i18n-ready) nav.navbar,
+1 -1
View File
@@ -656,7 +656,7 @@ function initUserRating({ movieId, token, initial } = {}) {
isSaving = true;
buttons.forEach((b) => b.setAttribute('disabled', 'disabled'));
metaEl.textContent = 'Enregistrement…';
metaEl.textContent = t('player.saving', 'Saving…');
const shouldClear = currentRating && value === currentRating;
const result = shouldClear