Skip to content

Commit ad0e2ff

Browse files
Merge pull request #159 from GabrielDrapor/claude/mobile-search-emoji-cleanup-wdwfhf
Remove emoji from UI text labels
2 parents 417c647 + 6ee9a08 commit ad0e2ff

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

services/translator/src/cover-preview.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export const LOGIN_HTML = `<!DOCTYPE html>
237237
</head>
238238
<body>
239239
<div class="login">
240-
<h1>🔒 Cover Preview</h1>
240+
<h1>Cover Preview</h1>
241241
<input id="pw" type="password" placeholder="Password" autofocus
242242
onkeydown="if(event.key==='Enter')login()">
243243
<button onclick="login()">Enter</button>
@@ -325,7 +325,7 @@ export const PREVIEW_HTML = `<!DOCTYPE html>
325325
</style>
326326
</head>
327327
<body>
328-
<h1>📚 Cover Preview</h1>
328+
<h1>Cover Preview</h1>
329329
330330
<div class="book-select">
331331
<select id="bookSelect" onchange="onBookSelect()">
@@ -427,13 +427,13 @@ async function generate() {
427427
428428
if (data.error) {
429429
status.className = 'status error';
430-
status.textContent = '❌ ' + data.error;
430+
status.textContent = data.error;
431431
return;
432432
}
433433
434434
lastResult = data;
435435
status.className = 'status success';
436-
status.textContent = 'Generated in ' + elapsed + 's';
436+
status.textContent = 'Generated in ' + elapsed + 's';
437437
438438
if (data.description) {
439439
desc.className = 'description';
@@ -459,11 +459,11 @@ async function generate() {
459459
// Show save button if a book is selected
460460
if (selectedBookUuid) {
461461
saveArea.innerHTML =
462-
'<button class="btn-save" onclick="saveToBook()">💾 Save to book</button>';
462+
'<button class="btn-save" onclick="saveToBook()">Save to book</button>';
463463
}
464464
} catch (err) {
465465
status.className = 'status error';
466-
status.textContent = '❌ ' + err.message;
466+
status.textContent = err.message;
467467
} finally {
468468
btn.disabled = false;
469469
btn.textContent = 'Generate';
@@ -490,13 +490,13 @@ async function saveToBook() {
490490
const data = await resp.json();
491491
if (data.error) {
492492
status.className = 'status error';
493-
status.textContent = 'Save failed: ' + data.error;
494-
saveArea.innerHTML = '<button class="btn-save" onclick="saveToBook()">💾 Retry save</button>';
493+
status.textContent = 'Save failed: ' + data.error;
494+
saveArea.innerHTML = '<button class="btn-save" onclick="saveToBook()">Retry save</button>';
495495
return;
496496
}
497497
status.className = 'status success';
498-
status.textContent = 'Saved! Cover: ' + data.coverUrl;
499-
saveArea.innerHTML = '<button class="btn-save" disabled style="background:#666;">Saved</button>';
498+
status.textContent = 'Saved! Cover: ' + data.coverUrl;
499+
saveArea.innerHTML = '<button class="btn-save" disabled style="background:#666;">Saved</button>';
500500
501501
// Update the book in local list
502502
const book = books.find(b => b.uuid === selectedBookUuid);
@@ -506,8 +506,8 @@ async function saveToBook() {
506506
}
507507
} catch (err) {
508508
status.className = 'status error';
509-
status.textContent = 'Save error: ' + err.message;
510-
saveArea.innerHTML = '<button class="btn-save" onclick="saveToBook()">💾 Retry save</button>';
509+
status.textContent = 'Save error: ' + err.message;
510+
saveArea.innerHTML = '<button class="btn-save" onclick="saveToBook()">Retry save</button>';
511511
}
512512
}
513513
</script>

src/AppV2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ function AppV2({ bookUuid, onBackToShelf }: AppV2Props) {
612612
/>
613613
{returnStack.length > 0 && (
614614
<button className="return-chip" onClick={handleReturnToReading}>
615-
{t.reader.returnToReading}
615+
{t.reader.returnToReading}
616616
</button>
617617
)}
618618
</div>

0 commit comments

Comments
 (0)