Skip to content

Commit

Permalink
updated some website wording
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jun 25, 2024
1 parent 90bae25 commit 11369fd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
5 changes: 3 additions & 2 deletions website/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ class App extends Component<AppProps, AppState> {
<ul class="nav nav-pills nav-fill">
${state.availableCodenames.map(codename => html`
<li class="nav-item">
<button type="button" class="nav-link ${state.selectedCodename === codename ? 'active' : ''}"
aria-current="page" onClick=${() => this.searchImmediate(state.term!!.q, codename)}>
<button class="nav-link ${state.selectedCodename === codename ? 'active' : ''} notranslate"
type="button" translate="no"
onClick=${() => this.searchImmediate(state.term!!.q, codename)}>
${webOSReleaseName(codename)}
</button>
</li>
Expand Down
8 changes: 4 additions & 4 deletions website/src/exploit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ export function ExploitCard(props: { exploit: ExploitMethod, avail: ExploitAvail
<div class=${`card p-3 mt-3 ${bgClass}`}>
<h3>
<i class="bi ${iconClass} me-2"/>
<a class="stretched-link text-decoration-none text-light" href=${exploit.url}
target="_blank">${exploit.name}</a>
<a class="stretched-link text-decoration-none text-light notranslate" href=${exploit.url}
target="_blank" translate="no">${exploit.name}</a>
${patched ? html` (Patched)` : mayPatched && html` (Possibly patched)`}
</h3>
${avail.latest && html`
<div>
<i class="bi bi-info-circle-fill me-2"/>Latest known working firmware: <b>${avail.latest?.version}
<i class="bi bi-info-circle-fill me-2"/>Latest known rootable version: <b>${avail.latest?.version}
</b>${mayPatched && firmware && html` (you have <b>${firmware}</b>)`}
</div>
`}
${avail.patched && html`
<div><i class="bi bi-bandaid-fill me-2"/>Patched in: <b>${avail.patched?.version}</b>
<div><i class="bi bi-bandaid-fill me-2"/>Patched in version: <b>${avail.patched?.version}</b>
${firmware && html` (you have <b>${firmware}</b>)`}
</div>
`}
Expand Down
9 changes: 5 additions & 4 deletions website/src/hint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ export function SearchHint(props: { term?: SearchTerm, model?: DeviceModel }) {
if (model) {
return html`
<div class="alert alert-info mt-3" role="alert">
<i class="bi bi-search me-2"/>Found <code>${model.model}</code>
, running <code>${webOSReleaseName(model.codename)}</code>
, machine <code>${model.machine}</code>
, otaId <code>${model.otaId}</code>
<i class="bi bi-search me-2"/>Found <code>${model.model}</code> <code translate="no">(
<code>${webOSReleaseName(model.codename)}</code>
, machine: ${model.machine}
, otaId: ${model.otaId}
)</code>
</div>
<hr/>`
} else {
Expand Down
9 changes: 5 additions & 4 deletions website/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CanI.RootMy.TV?</title>
<title translate="no">CanI.RootMy.TV?</title>
<link href="app.scss" rel="stylesheet">
<link href="bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
<link href="@fontsource/orbitron/latin-900.css" rel="stylesheet">
<meta name="description" content="Check if your LG webOS TV can be rooted.">
</head>
<body data-bs-theme="dark" class="bg-black">
<main class="py-5 container">
<h1 class="text-center rootmytv py-5 overflow-x-hidden user-select-none" translate="no">CanI.RootMy.TV<small>?</small></h1>
<h1 class="text-center rootmytv py-5 overflow-x-hidden user-select-none notranslate" translate="no">
CanI.RootMy.TV<small>?</small></h1>
<div id="app-container" class="mx-1 mx-sm-2 mx-md-3 mx-lg-4 mx-sm-5">
<noscript>
<label class="w-100">
Expand All @@ -25,8 +26,8 @@ <h1 class="text-center rootmytv py-5 overflow-x-hidden user-select-none" transla
</main>
<footer class="py-1 py-md-2 d-flex flex-column justify-content-center">
<div class="container text-center text-white">
<small class="mb-0">©2024 <a href="https://rootmy.tv/" translate="no">RootMy.TV</a> and
<a href="https://www.webosbrew.org/" translate="no">webOS Homebrew</a></small>
<small class="mb-0 notranslate" translate="no">©2024 <a href="https://rootmy.tv/">RootMy.TV</a> &amp;
<a href="https://www.webosbrew.org/">webOS Homebrew</a></small>
</div>
</footer>
<script src="app.ts"></script>
Expand Down

0 comments on commit 11369fd

Please sign in to comment.