Fix "Write to Kobo" button
All checks were successful
Build and test project / build-and-test (push) Successful in 1m29s
All checks were successful
Build and test project / build-and-test (push) Successful in 1m29s
This commit is contained in:
@@ -799,7 +799,7 @@ import JSZip from 'jszip';
|
||||
btnWrite.hidden = manualMode;
|
||||
btnWrite.disabled = false;
|
||||
btnWrite.className = 'primary';
|
||||
btnWrite.textContent = TL.BUTTON.WRITE_TO_DEVICE;
|
||||
btnWrite.textContent = TL.BUTTON.WRITE_TO_KOBO;
|
||||
btnDownload.disabled = false;
|
||||
writeInstructions.hidden = true;
|
||||
downloadInstructions.hidden = true;
|
||||
@@ -872,7 +872,7 @@ import JSZip from 'jszip';
|
||||
writeInstructions.hidden = false;
|
||||
} catch (err) {
|
||||
btnWrite.disabled = false;
|
||||
btnWrite.textContent = TL.BUTTON.WRITE_TO_DEVICE;
|
||||
btnWrite.textContent = TL.BUTTON.WRITE_TO_KOBO;
|
||||
showError(TL.STATUS.WRITE_FAILED + err.message);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -6,7 +6,7 @@ export const TL = {
|
||||
BUTTON: {
|
||||
RESTORE_ORIGINAL: 'Restore Original Software',
|
||||
BUILD_PATCHED: 'Build Patched Software',
|
||||
WRITE_TO_DEVICE: 'Write to Kobo',
|
||||
WRITE_TO_KOBO: 'Write to Kobo',
|
||||
REMOVE_FROM_KOBO: 'Remove from Kobo',
|
||||
WRITING: 'Writing...',
|
||||
WRITTEN: 'Written',
|
||||
|
||||
Reference in New Issue
Block a user