feat(player): lesson player polish L1–L7

- L1: focus mode while watching: site links and the marketing footer are hidden
- L2: the video comes first (edge to edge on phones, right under the header); course,
  chapter and lesson title sit under it, the course name doubling as the way back
- L3: the lesson bar's next button reads "Next" so it no longer wraps
- L4: when a lesson ends, "up next" appears over the video with a 5-second countdown
  (play now / cancel / Escape); the card below the video only shows after cancelling
- L5: the notes card only appears for lessons that have notes, not the course blurb
- L6: the "5 / 7" button opens the lesson list as a bottom sheet instead of scrolling
  the page away from the video; picking a lesson closes it
- L7: chapter markers are round like lesson markers
- The sidebar and the sheet share one CourseContents component
- i18n: player.nextShort, playNow, autoNext (om/ti drafts)
This commit is contained in:
n3p-tun3 2026-10-27 17:42:48 +03:00
parent fd382359c0
commit 67650698bf
6 changed files with 139 additions and 46 deletions

View File

@ -99,9 +99,10 @@ export function StudentApp() {
const tabs: [string, string, string][] = [['', 'home', t('nav.home')], ['courses', 'grid', t('nav.courses')], ['my', 'book', t('nav.myCourses')], ['help', 'help', t('nav.help')], ['profile', 'user', t('nav.profile')]];
const links = tabs.filter(([p]) => p !== 'profile' && (p !== 'my' || signedIn));
const current = (s: string) => (s === section || (s === 'courses' && (section === 'course')) || (s === 'profile' && (section === 'progress' || section === 'history')) ? 'page' : undefined);
const focus = section === 'learn'; // L1: watching a lesson drops the site links and the marketing footer
return (
<div lang={locale}>
<div lang={locale} className={focus ? 's-focus' : undefined}>
<header className={`s-top${scrolled ? ' scrolled' : ''}`}>
<div className="s-top-in">
<button className="brand" onClick={() => go('')} aria-label={settings.brandName}><Logo size={36} /><Logo size={36} mark /></button>
@ -142,7 +143,7 @@ export function StudentApp() {
{settings.maintenanceBanner && <div className="banner small" role="status">{settings.maintenanceBanner}</div>}
<StudentRoutes />
</main>
<Footer />
{!focus && <Footer />}
{signedIn && section !== 'learn' && section !== 'course' && <nav className="s-tabs" aria-label="Main">
{tabs.map(([p, icon, label]) => <button key={p} data-tour={p} aria-current={current(p)} onClick={() => go(p ? '/' + p : '')}><Icon name={icon} size={22} />{label}</button>)}
</nav>}
@ -847,30 +848,33 @@ function AssessmentPage({ slug, id }: { slug?: string; id?: string }) {
function Player({ slug, lessonId }: { slug?: string; lessonId?: string }) {
const t = useTranslations();
const { courses, me, locale, nav, catalogLoaded, signedIn, viewer } = useApp();
const sheet = useRef<HTMLDialogElement>(null);
useEffect(() => { sheet.current?.close(); }, [lessonId]); // picking a lesson in the sheet closes it
const c = courses.find((x) => x.slug === slug);
const lessons = c ? publishedLessons(c) : [];
const lesson = lessons.find((l) => l.id === lessonId);
if (!catalogLoaded) return <Skeleton h={320} />;
if (!c || !lesson || !isStudentVisible(c, me)) return <Empty action={<button className="btn" onClick={() => nav(`/${locale}/courses`)}>{t('catalog.title')}</button>}>{t('course.notFound')}</Empty>;
const access = lessonAccess(c, lesson, signedIn ? me : null, courses);
const p = courseProgress(c, me);
const idx = lessons.indexOf(lesson);
const next = lessons[idx + 1];
const notes = tr(lesson.translations, locale)?.description;
const chapter = c.chapters.find((ch) => ch.lessons.some((l) => l.id === lesson.id));
// L2: the video comes first; where you are (course, chapter, lesson) sits right under it
const head = (
<div className="p-head">
<p className="p-crumb">
<button onClick={() => nav(`/${locale}/course/${c.slug}`)} aria-label={`${t('player.back')}: ${ct(c, locale).title}`}><Icon name="back" size={14} />{ct(c, locale).title}</button>
{chapter && <span>{tr(chapter.translations, locale)?.title}</span>}
</p>
<h1>{idx + 1}. {lessonTitle(lesson, locale)}</h1>
</div>
);
return (
<div className="stack">
<div className="row-between">
<button className="btn btn-quiet" onClick={() => nav(`/${locale}/course/${c.slug}`)}><Icon name="back" size={16} />{t('player.back')}</button>
<span className="small muted">{ct(c, locale).title}</span>
</div>
<div className="p-wrap">
<div className="stack">
<div className="stack-sm">
<span className="small muted">{tr(chapter?.translations, locale)?.title}</span>
<h1 style={{ fontSize: 'var(--fs-xl)' }}>{idx + 1}. {lessonTitle(lesson, locale)}</h1>
</div>
{access.ok ? <VideoPanel key={lesson.id} c={c} lesson={lesson} next={next} /> : (
<div className="stack p-main">
{access.ok ? <VideoPanel key={lesson.id} c={c} lesson={lesson} next={next} head={head} /> : <>
<div className="screen"><div className="sim">
<Icon name="lock" size={36} />
<p>{t(`player.${access.reason}`)}</p>
@ -879,44 +883,63 @@ function Player({ slug, lessonId }: { slug?: string; lessonId?: string }) {
{access.reason === 'PREREQUISITE_REQUIRED' && <button className="btn btn-accent" onClick={() => { const pre = courses.find((x) => x.id === c.prerequisiteCourseId); if (pre) nav(`/${locale}/course/${pre.slug}`); }}>{t('course.prereqLink', { title: ct(courses.find((x) => x.id === c.prerequisiteCourseId) ?? c, locale).title })}</button>}
{access.reason === 'ACCOUNT_DEACTIVATED' && <button className="btn btn-accent" onClick={() => nav(`/${locale}/help`)}>{t('nav.help')}</button>}
</div></div>
)}
<div className="card stack-sm">
{head}
</>}
{/* L5: only real lesson notes; no card standing in with the course blurb */}
{notes && <div className="card stack-sm">
<h2 style={{ fontSize: 'var(--fs-lg)' }}>{t('player.notes')}</h2>
<p style={{ whiteSpace: 'pre-line', color: 'var(--ink-2)' }}>{notes || ct(c, locale).subtitle || ct(c, locale).description}</p>
</div>
<p style={{ whiteSpace: 'pre-line', color: 'var(--ink-2)' }}>{notes}</p>
</div>}
</div>
<aside className="card p-side p-side-order" aria-label={t('player.contents')}>
<div className="ps-head">
{owns(me, c.id) && <Ring pct={p.pct} size={52} />}
<div className="ps-head-txt"><span className="ps-kicker">{t('course.content')}</span><strong>{ct(c, locale).title}</strong>
{owns(me, c.id) && <span className="small muted num">{t('player.progress', { done: p.done, total: p.total })}</span>}</div>
</div>
{[...c.chapters].sort((a, b) => a.sortOrder - b.sortOrder).map((ch, ci) => {
const ls = [...ch.lessons].sort((a, b) => a.sortOrder - b.sortOrder).filter((l) => l.isPublished);
if (!ls.length) return null;
const doneN = ls.filter((l) => isCompleted(me, l.id)).length;
return <details key={ch.id} className={`ps-ch${doneN === ls.length ? ' is-done' : ''}`} open={ls.some((l) => l.id === lesson.id) || undefined}>
<summary>
<span className="ps-ch-n num">{doneN === ls.length ? <Icon name="check" size={14} /> : String(ci + 1).padStart(2, '0')}</span>
<span className="ps-ch-txt"><strong>{tr(ch.translations, locale)?.title}</strong><span className="small muted num">{doneN}/{ls.length} · {clock(ls.reduce((a, l) => a + l.durationSec, 0))}</span></span>
<Icon name="down" size={16} />
</summary>
<div className="ps-ch-list">{ls.map((l) => <LessonRow key={l.id} c={c} l={l} current={l.id === lesson.id} />)}</div>
</details>;
})}
</aside>
<aside className="card p-side p-side-order" aria-label={t('player.contents')}><CourseContents c={c} lesson={lesson} /></aside>
</div>
{viewer && !viewer.id && <p className="small muted">{t('auth.noIdentity')}</p>}
<nav className="l-bar" aria-label={t('player.contents')}>
<button disabled={idx === 0} onClick={() => nav(`/${locale}/learn/${c.slug}/${lessons[idx - 1].id}`)}><Icon name="back" size={18} />{t('player.prev')}</button>
<button onClick={() => document.querySelector('.p-side')?.scrollIntoView({ behavior: 'smooth' })}><Icon name="list" size={18} /><span className="num">{idx + 1} / {lessons.length}</span></button>
<button className="l-next" disabled={!next} onClick={() => nav(`/${locale}/learn/${c.slug}/${next.id}`)}>{t('player.next')}<Icon name="chevron" size={18} /></button>
<button aria-haspopup="dialog" onClick={() => sheet.current?.showModal()}><Icon name="list" size={18} /><span className="num">{idx + 1} / {lessons.length}</span></button>
<button className="l-next" disabled={!next} onClick={() => nav(`/${locale}/learn/${c.slug}/${next.id}`)}>{t('player.nextShort')}<Icon name="chevron" size={18} /></button>
</nav>
{/* L6: on phones and tablets the lesson list slides up over the video instead of scrolling the page away from it */}
<dialog ref={sheet} className="lsheet" aria-label={t('player.contents')} onClick={(e) => { if (e.target === sheet.current) sheet.current?.close(); }}>
<div className="lsheet-in">
<div className="lsheet-top"><span className="lsheet-grip" aria-hidden /><button className="icon-btn" aria-label={t('common.close')} onClick={() => sheet.current?.close()}><Icon name="x" size={20} /></button></div>
<CourseContents c={c} lesson={lesson} />
</div>
</dialog>
</div>
);
}
function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Lesson }) {
// The course's chapters and lessons with progress: the player's sidebar on desktop and its lesson sheet on phones.
function CourseContents({ c, lesson }: { c: Course; lesson: Lesson }) {
const t = useTranslations();
const { me, locale } = useApp();
const p = courseProgress(c, me);
return <>
<div className="ps-head">
{owns(me, c.id) && <Ring pct={p.pct} size={52} />}
<div className="ps-head-txt"><span className="ps-kicker">{t('course.content')}</span><strong>{ct(c, locale).title}</strong>
{owns(me, c.id) && <span className="small muted num">{t('player.progress', { done: p.done, total: p.total })}</span>}</div>
</div>
{[...c.chapters].sort((a, b) => a.sortOrder - b.sortOrder).map((ch, ci) => {
const ls = [...ch.lessons].sort((a, b) => a.sortOrder - b.sortOrder).filter((l) => l.isPublished);
if (!ls.length) return null;
const doneN = ls.filter((l) => isCompleted(me, l.id)).length;
return <details key={ch.id} className={`ps-ch${doneN === ls.length ? ' is-done' : ''}`} open={ls.some((l) => l.id === lesson.id) || undefined}>
<summary>
<span className="ps-ch-n num">{doneN === ls.length ? <Icon name="check" size={14} /> : String(ci + 1).padStart(2, '0')}</span>
<span className="ps-ch-txt"><strong>{tr(ch.translations, locale)?.title}</strong><span className="small muted num">{doneN}/{ls.length} · {clock(ls.reduce((a, l) => a + l.durationSec, 0))}</span></span>
<Icon name="down" size={16} />
</summary>
<div className="ps-ch-list">{ls.map((l) => <LessonRow key={l.id} c={c} l={l} current={l.id === lesson.id} />)}</div>
</details>;
})}
</>;
}
const AUTO_NEXT_SEC = 5;
function VideoPanel({ c, lesson, next, head }: { c: Course; lesson: Lesson; next?: Lesson; head?: ReactNode }) {
const t = useTranslations();
const { me, locale, nav, ds, write, signedIn, viewer } = useApp();
const vimeo = !lesson.videoAssetId; // no upload yet: play the Vimeo placeholder instead
@ -930,6 +953,9 @@ function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Les
const [saver, setSaver] = useState<boolean>(() => !!conn && (conn.saveData || /2g|3g/.test(conn.effectiveType ?? '')));
const [quality, setQuality] = useState('auto');
const [justDone, setJustDone] = useState(false);
// L4: when a lesson ends, "up next" appears over the video and plays it after a short count the student can cancel
const [ended, setEnded] = useState(false);
const [auto, setAuto] = useState<number | null>(null);
const videoRef = useRef<HTMLVideoElement>(null);
const frameRef = useRef<HTMLIFrameElement>(null);
const screenRef = useRef<HTMLDivElement>(null);
@ -963,8 +989,9 @@ function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Les
let m: any; try { m = typeof e.data === 'string' ? JSON.parse(e.data) : e.data; } catch { return; }
if (m.event === 'ready') vlisten();
else if (m.event === 'timeupdate') { setPos(m.data.seconds); if (m.data.duration) setVdur(m.data.duration); }
else if (m.event === 'play') setPlaying(true);
else if (m.event === 'pause' || m.event === 'ended') setPlaying(false);
else if (m.event === 'play') { setPlaying(true); setEnded(false); setAuto(null); }
else if (m.event === 'pause') setPlaying(false);
else if (m.event === 'ended') { setPlaying(false); setEnded(true); }
else if (m.method === 'getDuration' && m.value) setVdur(m.value);
};
addEventListener('message', on);
@ -979,6 +1006,14 @@ function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Les
}, [heartbeat]);
useEffect(() => { const v = videoRef.current; if (v) v.playbackRate = rate; }, [rate]);
useEffect(() => { if (vimeo && rate !== 1) vcall('setPlaybackRate', rate); }, [rate]);
const goNext = () => { if (next) nav(`/${locale}/learn/${c.slug}/${next.id}`); };
useEffect(() => { if (ended && next) setAuto(AUTO_NEXT_SEC); }, [ended, next]);
useEffect(() => {
if (auto == null) return;
if (auto <= 0) { goNext(); return; }
const id = setTimeout(() => setAuto((a) => (a == null ? null : a - 1)), 1000);
return () => clearTimeout(id);
}, [auto]);
const toggle = () => {
const v = videoRef.current;
@ -989,6 +1024,7 @@ function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Les
const full = () => { screenRef.current?.requestFullscreen?.().catch(() => { /* not allowed in this frame */ }); };
const onKey = (e: React.KeyboardEvent) => {
if ((e.target as HTMLElement).tagName === 'SELECT' || (e.target as HTMLElement).tagName === 'INPUT') return;
if (e.key === 'Escape' && auto != null) { setAuto(null); return; }
if (e.key === ' ') { e.preventDefault(); toggle(); } else if (e.key === 'ArrowLeft') seek(pos - 10); else if (e.key === 'ArrowRight') seek(pos + 10); else if (e.key === 'f') full(); else if (e.key === 'm' && videoRef.current) videoRef.current.muted = !videoRef.current.muted;
};
const mark = (me?.phone || me?.email || viewer?.name || 'student').replace(/^(.{3}).*(.{2})$/, '$1•••$2');
@ -1000,11 +1036,20 @@ function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Les
{lesson.videoAssetId ? (
<video ref={videoRef} src={ds.assetUrl(lesson.videoAssetId)} playsInline preload="metadata"
onLoadedMetadata={(e) => { if (pos) e.currentTarget.currentTime = pos; }}
onTimeUpdate={(e) => setPos(e.currentTarget.currentTime)} onPlay={() => setPlaying(true)} onPause={() => setPlaying(false)} onEnded={() => setPlaying(false)} />
onTimeUpdate={(e) => setPos(e.currentTarget.currentTime)} onPlay={() => { setPlaying(true); setEnded(false); setAuto(null); }} onPause={() => setPlaying(false)} onEnded={() => { setPlaying(false); setEnded(true); }} />
) : (
<iframe ref={frameRef} src={VIMEO_PLACEHOLDER} onLoad={vlisten} title={lessonTitle(lesson, locale)} allow="autoplay; fullscreen; picture-in-picture" allowFullScreen />
)}
{canSave && <span className="wm" aria-hidden>{mark}</span>}
{auto != null && next && <div className="p-upnext" role="status">
<span className="p-upnext-k">{t('player.upNext')}</span>
<strong>{lessonNumber(c, next.id)}. {lessonTitle(next, locale)}</strong>
<span className="p-upnext-n num" aria-hidden><svg viewBox="0 0 24 24" width="18" height="18"><circle cx="12" cy="12" r="10" /></svg>{t('player.autoNext', { n: auto })}</span>
<div className="p-upnext-go">
<button className="btn btn-accent" onClick={goNext}><Icon name="play" size={14} />{t('player.playNow')}</button>
<button className="btn btn-quiet" onClick={() => setAuto(null)}>{t('common.cancel')}</button>
</div>
</div>}
{!vimeo && <div className="controls">
<input type="range" min={0} max={dur} step={1} value={Math.floor(pos)} onChange={(e) => seek(Number(e.target.value))} aria-label={`${clock(pos)} / ${clock(dur)}`} />
<div className="row">
@ -1024,7 +1069,8 @@ function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Les
</div>
</div>}
</div>
{vimeo && <p className="small muted">{t('player.demoVideo')}{canSave && !done && <> · <button className="link" onClick={() => { setPos(dur); posRef.current = dur; heartbeat(); }}>{t('player.markWatched')}</button></>}</p>}
{head}
{vimeo && <p className="small muted">{t('player.demoVideo')}{canSave && !done && <> · <button className="link" onClick={() => { setPos(dur); posRef.current = dur; heartbeat(); setEnded(true); }}>{t('player.markWatched')}</button></>}</p>}
{done && pct === 100 && (
<div className="course-done" role="status">
<div className="confetti" aria-hidden>{Array.from({ length: 18 }, (_, k) => <i key={k} style={{ '--k': k } as React.CSSProperties} />)}</div>
@ -1037,7 +1083,7 @@ function VideoPanel({ c, lesson, next }: { c: Course; lesson: Lesson; next?: Les
</div>
</div>
)}
{done && pct < 100 && (
{done && pct < 100 && auto == null && (
<div className="lesson-done" role="status">
<span className="ld-check" aria-hidden><svg viewBox="0 0 24 24" width="22" height="22"><path d="M5 12.5l4.5 4.5L19 7" /></svg></span>
<span className="ld-txt"><strong>{t('player.completed')}</strong><span className="small muted num">{t('player.courseProgress', { pct })}</span></span>

View File

@ -1165,7 +1165,7 @@ fieldset[disabled] .quiz-opt { cursor: default; }
.ps-ch summary:hover { background: var(--mist); }
.ps-ch summary > svg { flex: none; color: var(--ink-3); transition: transform 200ms var(--ease-out); }
.ps-ch[open] summary > svg { transform: rotate(180deg); }
.ps-ch-n { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--mist); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ps-ch-n { flex: none; width: 28px; height: 28px; border-radius: 50%; /* L7: same round marker as lesson rows */ display: grid; place-items: center; background: var(--mist); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ps-ch.is-done .ps-ch-n { background: var(--ink); color: var(--paper); }
.ps-ch-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ps-ch-list { padding: 2px 0 8px 18px; margin-left: 13px; border-left: 1px solid var(--line); }
@ -1216,3 +1216,38 @@ fieldset[disabled] .quiz-opt { cursor: default; }
/* the full footer is always on its dark frame, so its powered-by line keeps light text in both themes */
.foot-full .powered { color: #8A8A8A; }
.foot-full .shine, :root:not([data-theme="dark"]) .foot-full .shine { background-image: linear-gradient(110deg, #C9C9C9 40%, #fff 50%, #C9C9C9 60%); }
/* ---------- lesson player polish (L1–L6, 2026-10-27) ---------- */
/* L1: focus mode while watching: the logo and account stay, the site links and footer go */
.s-focus .s-nav { display: none; }
/* L2: the video comes first (edge to edge on phones, right under the header); course, chapter and title sit under it */
.p-head { display: flex; flex-direction: column; gap: 6px; }
.p-head h1 { font-size: var(--fs-xl); line-height: 1.2; letter-spacing: -.02em; }
.p-crumb { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: var(--fs-sm); color: var(--ink-3); }
.p-crumb button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: none; color: var(--ink-2); font-weight: 600; cursor: pointer; }
.p-crumb > span::before { content: '·'; margin-inline-end: 8px; }
@media (hover: hover) and (pointer: fine) { .p-crumb button:hover { color: var(--ink); } }
@media (max-width: 599px) { .s-focus .s-main { padding-top: 0; } .s-focus .screen { margin-inline: calc(50% - 50vw); width: 100vw; max-width: 100vw; border-radius: 0; } /* full bleed whatever the page padding is */ }
/* L4: "up next" over the finished video; the ring empties over the countdown (linear: it's a timer) */
.p-upnext { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: clamp(16px, 4vw, 32px); background: rgba(10, 10, 10, .84); backdrop-filter: blur(6px); color: #F5F5F5; animation: upnext-in 240ms var(--ease-out); }
.p-upnext-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 245, 245, .7); }
.p-upnext strong { font-size: clamp(18px, 3vw, 24px); line-height: 1.25; max-width: 32ch; }
.p-upnext-n { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: rgba(245, 245, 245, .75); }
.p-upnext-n svg { rotate: -90deg; }
.p-upnext-n circle { fill: none; stroke: #F5F5F5; stroke-width: 2.5; stroke-dasharray: 63; animation: upnext-count 5s linear forwards; }
.p-upnext-go { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.p-upnext .btn-accent { background: #F5F5F5; color: #0A0A0A; }
.p-upnext .btn-quiet { color: #F5F5F5; }
@keyframes upnext-in { from { opacity: 0; } }
@keyframes upnext-count { to { stroke-dashoffset: 63; } }
/* L6: lesson list as a bottom sheet (phones and tablets; the sidebar covers desktop) */
.lsheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 80dvh; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-pop); }
.lsheet::backdrop { background: rgba(0, 0, 0, .5); }
.lsheet[open] { animation: lsheet-up 300ms cubic-bezier(0.32, 0.72, 0, 1); }
.lsheet[open]::backdrop { animation: fade-in 300ms ease; }
@keyframes lsheet-up { from { transform: translateY(100%); } }
.lsheet-in { max-height: 80dvh; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px; padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.lsheet-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: center; align-items: center; min-height: 48px; background: var(--paper); }
.lsheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.lsheet-top .icon-btn { position: absolute; inset-inline-end: 0; }
@media (min-width: 640px) { .lsheet { max-width: 560px; margin-inline: auto; } }

View File

@ -223,6 +223,9 @@
"progress": "ከ{total} ትምህርቶች {done} ተጠናቀዋል",
"nowPlaying": "አሁን እየታየ",
"upNext": "ቀጣይ",
"nextShort": "ቀጣይ",
"playNow": "አሁን አጫውት",
"autoNext": "በ{n} ሰከንድ ይጀምራል",
"courseProgress": "ኮርሱ {pct}% ተጠናቋል",
"courseDoneT": "ኮርሱ ተጠናቋል",
"courseDone": "{course}ን ጨርሰዋል። ለዘላለም የእርስዎ ነው፤ በፈለጉ ጊዜ ወደ ማንኛውም ትምህርት ይመለሱ።",

View File

@ -223,6 +223,9 @@
"progress": "{done} of {total} lessons completed",
"nowPlaying": "Now playing",
"upNext": "Up next",
"nextShort": "Next",
"playNow": "Play now",
"autoNext": "Starting in {n}",
"courseProgress": "Course {pct}% complete",
"courseDoneT": "Course complete",
"courseDone": "You finished {course}. It stays yours for life, so come back to any lesson whenever you need it.",

View File

@ -223,6 +223,9 @@
"progress": "Barnoota {total} keessaa {done} xumurameera",
"nowPlaying": "Amma taphachaa jira",
"upNext": "Kan itti aanu",
"nextShort": "Itti aanu",
"playNow": "Amma taphachiisi",
"autoNext": "Sekondii {n} keessatti jalqaba",
"courseProgress": "Koorsiin {pct}% xumurameera",
"courseDoneT": "Koorsiin xumurameera",
"courseDone": "{course} xumurteetta. Bara baraan kan kee ta'a; yeroo barbaadde barnoota kamittuu deebi'i.",

View File

@ -223,6 +223,9 @@
"progress": "ካብ {total} ትምህርትታት {done} ተወዲኦም",
"nowPlaying": "ሕጂ ይርአ ኣሎ",
"upNext": "ቀጻሊ",
"nextShort": "ቀጻሊ",
"playNow": "ሕጂ ኣጻውት",
"autoNext": "ኣብ {n} ካልኢት ይጅምር",
"courseProgress": "ኮርስ {pct}% ተወዲኡ",
"courseDoneT": "ኮርስ ተወዲኡ",
"courseDone": "{course} ወዲእኪ። ንሓዋሩ ናትኪ እዩ፣ ኣብ ዝደለኽዮ ግዜ ናብ ዝኾነ ትምህርቲ ተመለሲ።",