Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/redux/sagas/win/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function* winClose(_action: winActions.library.closed.TAction) {
// ],
// defaultId: 1,
// title: translator.translate("app.session.exit.askBox.title"),
// message: translator.translate("app.session.exit.askBox.message"),
// message: translator.translate("app.session.exit.askBox.help"),
// },
// );
// },
Expand Down
18 changes: 15 additions & 3 deletions src/renderer/library/components/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const LanguageSettings: React.FC<{}> = () => {
};
const selectedKey = options.find(({name}) => name === currentLanguageString);
return (
<ComboBox label={__("settings.language.languageChoice")} defaultItems={options} defaultSelectedKey={selectedKey?.id} onSelectionChange={setLang} svg={LanguageIcon}>
<ComboBox label={__("settings.language.languageChoice")} defaultItems={options} defaultSelectedKey={selectedKey?.id} onSelectionChange={setLang} svg={LanguageIcon} style={{borderBottom: "2px solid var(--color-extralight-grey)"}}>
{item => <ComboBoxItem>{item.name}</ComboBoxItem>}
</ComboBox>
);
Expand All @@ -102,6 +102,10 @@ const ConnectionSettings: React.FC<{}> = () => {
return (
<section className={stylesSettings.section} style={{ position: "relative" }}>
<h4>{__("settings.auth.title")}</h4>
<div className={stylesSettings.session_text}>
<SVG ariaHidden svg={InfoIcon} />
<p>{__("settings.auth.help")}</p>
</div>
<Auth />
</section>
);
Expand All @@ -117,6 +121,10 @@ const SaveSessionSettings: React.FC<{}> = () => {
return (
<section className={stylesSettings.section} style={{ position: "relative" }}>
<h4>{__("app.session.exit.askBox.message")}</h4>
<div className={stylesSettings.session_text} style={{ margin: "0" }}>
<SVG ariaHidden svg={InfoIcon} />
<p>{__("app.session.exit.askBox.help")}</p>
</div>
<div className={stylesAnnotations.annotations_checkbox}>
<input type="checkbox" id="saveSessionSettings" className={stylesGlobal.checkbox_custom_input} name="saveSessionSettings" checked={sessionSaveState} onChange={onChange} />
<label htmlFor="saveSessionSettings" className={stylesGlobal.checkbox_custom_label}>
Expand Down Expand Up @@ -197,8 +205,12 @@ const SaveCreatorSettings: React.FC<{}> = () => {
return (
<section className={stylesSettings.section} style={{ position: "relative" }}>
<h4>{__("settings.annotationCreator.creator")}</h4>
<div className={stylesInput.form_group} style={{marginTop: "20px", width: "360px"}}>
<input type="text" name="creator-name" style={{width: "100%", marginLeft: "10px"}} className="R2_CSS_CLASS__FORCE_NO_FOCUS_OUTLINE" title={name} value={name} onChange={(e) => {
<div className={stylesSettings.session_text} style={{ margin: "0" }}>
<SVG ariaHidden svg={InfoIcon} />
<p>{__("settings.annotationCreator.help")}</p>
</div>
<div className={stylesInput.form_group} style={{ marginTop: "20px", width: "360px"}}>
<input type="text" name="creator-name" style={{ width: "100%", marginLeft: "10px" }} className="R2_CSS_CLASS__FORCE_NO_FOCUS_OUTLINE" title={name} value={name} onChange={(e) => {
const v = e.target.value;
setName(v);
}} />
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "لا",
"yes": "نعم"
},
"help": "",
"message": "هل تريد حفظ الجلسة؟",
"title": "حفظ الجلسة"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "حذف بيانات تسجيل الدخول"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Не",
"yes": "Да"
},
"help": "",
"message": "Искате ли да запазите сесията ?",
"title": "Запази сесията"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Изтриване на данните за удостоверяване"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "No",
"yes": "Sí"
},
"help": "",
"message": "Vols guardar la sessió?",
"title": "Guardar sessió"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Netejar dades d'autenticació"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Nej",
"yes": "Ja"
},
"help": "",
"message": "Ønsker du at gemme denne session?",
"title": "Gem session"
}
Expand Down Expand Up @@ -529,12 +530,14 @@
"settings": {
"annotationCreator": {
"creator": "Opretter",
"help": "",
"name": "Navn",
"organization": "Organisation",
"person": "Person",
"type": "Type:"
},
"auth": {
"help": "",
"title": "Administrér adgang til kataloger",
"wipeData": "Nulstil login-data"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Nein",
"yes": "Ja"
},
"help": "",
"message": "Möchten Sie die Sitzung speichern?",
"title": "Sitzung sichern"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Login-Daten löschen"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Όχι",
"yes": "Ναι"
},
"help": "",
"message": "Θέλεις να αποθηκεύσεις τη συνεδρία;",
"title": "Αποθήκευση συνεδρίας"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Διαγραφή δεδομένων ελέγχου ταυτότητας"
},
Expand Down
17 changes: 10 additions & 7 deletions src/resources/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
"no": "No",
"yes": "Yes"
},
"message": "Do you want to save the session?",
"title": "Save session"
"help": "Activate this if you want reader windows that are open when you close the application to automatically re-open at next launch.",
"message": "Saving and restoring the reading session",
"title": "Save session?"
}
}
},
Expand Down Expand Up @@ -530,14 +531,16 @@
},
"settings": {
"annotationCreator": {
"creator": "Creator",
"creator": "Annotations creator (optional)",
"help": "If specified, this name will be included in the metadata of exported notes.",
"name": "Name",
"organization": "Organization",
"person": "Person",
"type": "Type:"
},
"auth": {
"title": "Manage access to catalogs",
"help": "This action deletes all OPDS login credentials.",
"title": "Access to publication catalogs",
"wipeData": "Clear login data"
},
"keyboard": {
Expand All @@ -554,11 +557,11 @@
"languageChoice": "Language"
},
"library": {
"enableAPIAPP": "Activate access to the French library system (PNB)",
"title": "Add a French library account"
"enableAPIAPP": "Activate the 'PNB' library system",
"title": "Access to French library accounts"
},
"session": {
"title": "Save session"
"title": "Enable session saving"
},
"tabs": {
"appearance": "Appearance",
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "No",
"yes": "Sí"
},
"help": "",
"message": "¿Quieres guardar la sesión?",
"title": "Guardar sesión"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Borrar datos de autenticación"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/eu.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Ez",
"yes": "Bai"
},
"help": "",
"message": "Saioa gorde nahi duzu?",
"title": "Gorde saioa"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Autentifikazio-datuak garbitzea"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Ei",
"yes": "Kyllä"
},
"help": "",
"message": "Haluatko tallentaa istunnon?",
"title": "Tallenna istunto"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Poista kirjautumistiedot"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Non",
"yes": "Oui"
},
"help": "Si cette case est cochée, les livres actuellement ouverts seront automatiquement ouverts au prochain démarrage de l'application.",
"message": "Voulez-vous sauvegarder la session ?",
"title": "Sauvegarder la session"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "Créateur",
"help": "Il sera utilisé comme créateur des notes que vous pouvez exporter.",
"name": "Nom",
"organization": "Organisation",
"person": "Personne",
"type": "Type"
},
"auth": {
"help": "Souhaitez-vous supprimer vos identifiants de connexion à l'OPDS ?",
"title": "Gérer l'accès aux catalogues",
"wipeData": "Effacer les données d'authentification"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/gl.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "No",
"yes": "Sí"
},
"help": "",
"message": "Queres gardar a sesión?",
"title": "Gardar sesión"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Limpar datos de autenticación"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "Ne",
"yes": "Da"
},
"help": "",
"message": "Želite li spremiti sesiju ?",
"title": "Spremi sesiju"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "",
"help": "",
"name": "",
"organization": "",
"person": "",
"type": ""
},
"auth": {
"help": "",
"title": "",
"wipeData": "Izbriši podatke za prijavu"
},
Expand Down
3 changes: 3 additions & 0 deletions src/resources/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"no": "No",
"yes": "Sì"
},
"help": "",
"message": "Vuoi salvare la sessione ?",
"title": "Salva la sessione"
}
Expand Down Expand Up @@ -531,12 +532,14 @@
"settings": {
"annotationCreator": {
"creator": "Creatore",
"help": "",
"name": "Nome",
"organization": "Organizzazione",
"person": "Persona",
"type": "Tipo:"
},
"auth": {
"help": "",
"title": "Gestire l'accesso ai cataloghi",
"wipeData": "Elimina dati di autenticazione"
},
Expand Down
Loading
Loading