diff --git a/src/renderer/assets/styles/components/settings.scss b/src/renderer/assets/styles/components/settings.scss
index b849b1d6a..89b39ffa2 100644
--- a/src/renderer/assets/styles/components/settings.scss
+++ b/src/renderer/assets/styles/components/settings.scss
@@ -877,6 +877,27 @@ div[data-radix-popper-content-wrapper] {
}
}
+.preset_settings_container {
+ > div {
+ button {
+ margin-bottom: 10px;
+ }
+
+ &:nth-child(-n + 2) {
+ margin-bottom: 20px;
+ }
+
+ &:last-child {
+ position: absolute;
+ bottom: 0;
+
+ @media screen and (height <= 600px) {
+ position: relative;
+ }
+ }
+ }
+}
+
.CSS_END_components_settings {
display: none;
}
diff --git a/src/renderer/assets/styles/components/settings.scss.d.ts b/src/renderer/assets/styles/components/settings.scss.d.ts
index d1bd2c916..e13b029b2 100644
--- a/src/renderer/assets/styles/components/settings.scss.d.ts
+++ b/src/renderer/assets/styles/components/settings.scss.d.ts
@@ -20,6 +20,7 @@ export declare const off: string;
export declare const on: string;
export declare const popover_dialog_reader: string;
export declare const position: string;
+export declare const preset_settings_container: string;
export declare const range_inactive: string;
export declare const reset_button: string;
export declare const scale_button: string;
diff --git a/src/renderer/reader/components/ReaderSettings.tsx b/src/renderer/reader/components/ReaderSettings.tsx
index bcfb80154..1a0145502 100644
--- a/src/renderer/reader/components/ReaderSettings.tsx
+++ b/src/renderer/reader/components/ReaderSettings.tsx
@@ -15,7 +15,10 @@ import * as React from "react";
import * as Dialog from "@radix-ui/react-dialog";
import * as Tabs from "@radix-ui/react-tabs";
import * as RadioGroup from "@radix-ui/react-radio-group";
-import classNames from "classnames";
+import { ComboBox, ComboBoxItem } from "readium-desktop/renderer/common/components/ComboBox";
+import { MySelectProps, Select } from "readium-desktop/renderer/common/components/Select";
+
+import SVG, { ISVGProps } from "readium-desktop/renderer/common/components/SVG";
import * as GuearIcon from "readium-desktop/renderer/assets/icons/gear-icon.svg";
import * as QuitIcon from "readium-desktop/renderer/assets/icons/close-icon.svg";
import * as TextAreaIcon from "readium-desktop/renderer/assets/icons/textarea-icon.svg";
@@ -30,15 +33,7 @@ import * as DockLeftIcon from "readium-desktop/renderer/assets/icons/dockleft-ic
import * as DockRightIcon from "readium-desktop/renderer/assets/icons/dockright-icon.svg";
import * as DockModalIcon from "readium-desktop/renderer/assets/icons/dockmodal-icon.svg";
import * as DoneIcon from "readium-desktop/renderer/assets/icons/done.svg";
-import SVG, { ISVGProps } from "readium-desktop/renderer/common/components/SVG";
-import { IPdfPlayerColumn, IPdfPlayerScale, IPdfPlayerView } from "../pdf/common/pdfReader.type";
-import { IReaderSettingsProps } from "./options-values";
-import { useTranslator } from "readium-desktop/renderer/common/hooks/useTranslator";
-import { ComboBox, ComboBoxItem } from "readium-desktop/renderer/common/components/ComboBox";
-import { ReaderConfig, TTheme } from "readium-desktop/common/models/reader";
-import { FONT_LIST, FONT_LIST_WITH_JA } from "readium-desktop/utils/fontList";
-import { createOrGetPdfEventBus } from "../pdf/driver";
-import { MySelectProps, Select } from "readium-desktop/renderer/common/components/Select";
+import * as SaveIcon from "readium-desktop/renderer/assets/icons/floppydisk-icon.svg";
import * as DoubleCheckIcon from "readium-desktop/renderer/assets/icons/doubleCheck-icon.svg";
import * as CheckIcon from "readium-desktop/renderer/assets/icons/singlecheck-icon.svg";
import * as ResetIcon from "readium-desktop/renderer/assets/icons/clock-reverse-icon.svg";
@@ -46,6 +41,14 @@ import * as MinusIcon from "readium-desktop/renderer/assets/icons/Minus-Bold.svg
import * as PlusIcon from "readium-desktop/renderer/assets/icons/Plus-bold.svg";
import * as InfoIcon from "readium-desktop/renderer/assets/icons/info-icon.svg";
import * as DefaultPageIcon from "readium-desktop/renderer/assets/icons/defaultPage-icon.svg";
+
+import classNames from "classnames";
+import { IPdfPlayerColumn, IPdfPlayerScale, IPdfPlayerView } from "../pdf/common/pdfReader.type";
+import { IReaderSettingsProps } from "./options-values";
+import { useTranslator } from "readium-desktop/renderer/common/hooks/useTranslator";
+import { ReaderConfig, TTheme } from "readium-desktop/common/models/reader";
+import { FONT_LIST, FONT_LIST_WITH_JA } from "readium-desktop/utils/fontList";
+import { createOrGetPdfEventBus } from "../pdf/driver";
import { useDispatch } from "readium-desktop/renderer/common/hooks/useDispatch";
import { readerLocalActionReader } from "../redux/actions";
import { useSelector } from "readium-desktop/renderer/common/hooks/useSelector";
@@ -71,28 +74,31 @@ interface IState {
pdfCol?: IPdfPlayerColumn | undefined;
}
-const TabTitle = ({value}: {value: string}) => {
+const TabTitle = ({ value }: { value: string }) => {
let title: string;
const [__] = useTranslator();
switch (value) {
case "tab-divina":
- title=__("reader.settings.disposition.title");
- break;
+ title = __("reader.settings.disposition.title");
+ break;
case "tab-pdfZoom":
- title=__("reader.settings.disposition.title");
+ title = __("reader.settings.disposition.title");
break;
case "tab-text":
- title=__("reader.settings.text");
+ title = __("reader.settings.text");
break;
case "tab-spacing":
- title=__("reader.settings.spacing");
+ title = __("reader.settings.spacing");
break;
case "tab-display":
- title=__("reader.settings.display");
+ title = __("reader.settings.display");
break;
case "tab-audio":
- title=__("reader.media-overlays.title");
+ title = __("reader.media-overlays.title");
+ break;
+ case "tab-preset":
+ title = __("reader.settings.preset.title");
break;
}
return (
@@ -112,80 +118,80 @@ const Theme = () => {
id: 1,
name: `${__("reader.settings.theme.name.Neutral")}`,
value: "neutral",
- style: {backgroundColor: "#fefefe", color: "black"},
+ style: { backgroundColor: "#fefefe", color: "black" },
},
{
id: 2,
name: `${__("reader.settings.theme.name.Sepia")}`,
value: "sepia",
- style: {backgroundColor: "#faf4e8", color: "black"},
+ style: { backgroundColor: "#faf4e8", color: "black" },
},
{
id: 3,
name: `${__("reader.settings.theme.name.Paper")}`,
value: "paper",
- style: {backgroundColor: "#E9DDC8", color: "#000000" },
+ style: { backgroundColor: "#E9DDC8", color: "#000000" },
},
{
id: 4,
name: `${__("reader.settings.theme.name.Night")}`,
value: "night",
- style: {backgroundColor: "#121212", color: "#fff" },
+ style: { backgroundColor: "#121212", color: "#fff" },
},
{
id: 5,
name: `${__("reader.settings.theme.name.Contrast1")}`,
value: "contrast1",
- style: {backgroundColor: "#000000", color: "#fff" },
+ style: { backgroundColor: "#000000", color: "#fff" },
},
{
id: 6,
name: `${__("reader.settings.theme.name.Contrast2")}`,
value: "contrast2",
- style: {backgroundColor: "#000000", color: "#FFFF00" },
+ style: { backgroundColor: "#000000", color: "#FFFF00" },
},
{
id: 7,
name: `${__("reader.settings.theme.name.Contrast3")}`,
value: "contrast3",
- style: {backgroundColor: "#181842", color: "#FFFF" },
+ style: { backgroundColor: "#181842", color: "#FFFF" },
},
{
id: 8,
name: `${__("reader.settings.theme.name.Contrast4")}`,
value: "contrast4",
- style: {backgroundColor: "#C5E7CD", color: "#000000" },
+ style: { backgroundColor: "#C5E7CD", color: "#000000" },
},
]);
const defaultKey =
- theme === "neutral" ? 1
- : theme === "night" ? 4
- : theme === "sepia" ? 2
- : theme === "contrast1" ? 5
- : theme === "paper" ? 3
- : theme === "contrast2" ? 6
- : theme === "contrast3" ? 7
- : theme === "contrast4" ? 8
- : 1;
+ theme === "neutral" ? 1
+ : theme === "night" ? 4
+ : theme === "sepia" ? 2
+ : theme === "contrast1" ? 5
+ : theme === "paper" ? 3
+ : theme === "contrast2" ? 6
+ : theme === "contrast3" ? 7
+ : theme === "contrast4" ? 8
+ : 1;
return (
- {__("reader.settings.theme.title")}
- theme.id === defaultKey).value}
- onValueChange={(option) => set({ theme: option as TTheme })}
+ {__("reader.settings.theme.title")}
+ theme.id === defaultKey).value}
+ onValueChange={(option) => set({ theme: option as TTheme })}
>
{themeOptions.map((theme) =>
- ,
+ ,
)}
{/* {
>
{item => {item.name}}
-
+
{__("reader.settings.infoCustomFont")}
-
+
{__("reader.settings.preview")}:
{
return (
{spacingOptions.map((option: ITable) => (
-
+
))}
);
@@ -571,8 +577,8 @@ const ReadingDisplayLayout = ({ isFXL }: { isFXL: boolean }) => {
set({ paged: v === "page_option" })}
>
-
-
+
+
@@ -610,10 +616,10 @@ const ReadingDisplayCol = ({ isPdf, pdfCol }: Pick
& Pick
- {isPdf ? <>> : }
-
-
+ >
+ {isPdf ? <>> : }
+
+
@@ -632,13 +638,13 @@ const ReadingDisplayAlign = () => {
{__("reader.settings.justification")}
- set({align: v})}
+ set({ align: v })}
>
-
+
);
@@ -694,9 +700,9 @@ export const ReadingAudio = ({ useMO }: { useMO: boolean }) => {
}
return (
-
+
{options.map((option) => (
-
+
{
option.onChange();
}
}}
- className={stylesGlobal.checkbox_custom}
- style={{border: option.checked ? "2px solid transparent" : "2px solid var(--color-primary)", backgroundColor: option.checked ? "var(--color-blue)" : "transparent"}}>
+ className={stylesGlobal.checkbox_custom}
+ style={{ border: option.checked ? "2px solid transparent" : "2px solid var(--color-primary)", backgroundColor: option.checked ? "var(--color-blue)" : "transparent" }}>
{option.checked ?
:
@@ -733,7 +739,7 @@ export const ReadingAudio = ({ useMO }: { useMO: boolean }) => {
}
- {option.label}
+ {option.label}
{/*
{option.description}
*/}
@@ -748,10 +754,10 @@ const ReadingDisplayCheckboxSettings = ({
disableRTLFlip,
setDisableRTLFlip,
}:
-{
- disableRTLFlip: IReaderSettingsProps["disableRTLFlip"],
- setDisableRTLFlip: IReaderSettingsProps["setDisableRTLFlip"],
-},
+ {
+ disableRTLFlip: IReaderSettingsProps["disableRTLFlip"],
+ setDisableRTLFlip: IReaderSettingsProps["setDisableRTLFlip"],
+ },
) => {
const [__] = useTranslator();
@@ -763,12 +769,12 @@ const ReadingDisplayCheckboxSettings = ({
id: "mathjax",
name: "mathjax",
label: "MathJax",
- description: "MathJax",
+ description: "MathJax",
checked: enableMathJax,
onChange: () => {
if (enableMathJax === false) {
set({ paged: false, enableMathJax: true });
- return ;
+ return;
}
set({ enableMathJax: false });
},
@@ -824,37 +830,37 @@ const ReadingDisplayCheckboxSettings = ({
defaultChecked={option.checked}
className={stylesGlobal.checkbox_custom_input}
/>
-
@@ -863,7 +869,7 @@ const ReadingDisplayCheckboxSettings = ({
);
};
-const DivinaSetReadingMode = ({ handleDivinaReadingMode, divinaReadingMode, divinaReadingModeSupported}: Partial
) => {
+const DivinaSetReadingMode = ({ handleDivinaReadingMode, divinaReadingMode, divinaReadingModeSupported }: Partial) => {
const [__] = useTranslator();
return (
@@ -948,7 +954,7 @@ const DivinaSetReadingMode = ({ handleDivinaReadingMode, divinaReadingMode, divi
);
};
-const PdfZoom = ({pdfScale, pdfView}: Pick) => {
+const PdfZoom = ({ pdfScale, pdfView }: Pick) => {
const [__] = useTranslator();
const inputComponent = (scale: IPdfPlayerScale, disabled = false) => {
@@ -1078,18 +1084,35 @@ const SaveResetApplyPreset = () => {
const [__] = useTranslator();
return (
- <>
-
+
+
+
+
{__("reader.settings.preset.saveDetails")}
+
-
+
+
+
{__("reader.settings.preset.applyDetails")}
+
-
- >
+
+
+
{__("reader.settings.preset.resetDetails")}
+
+
);
};
@@ -1106,7 +1129,7 @@ export const ReaderSettings: React.FC = (props) => {
const dockedMode = dockingMode !== "full";
const setReaderConfig = useSaveReaderConfig();
const setDockingMode = React.useCallback((value: ReaderConfig["readerDockingMode"]) => {
- setReaderConfig({readerDockingMode: value});
+ setReaderConfig({ readerDockingMode: value });
}, [setReaderConfig]);
const [__] = useTranslator();
@@ -1288,7 +1311,7 @@ export const ReaderSettings: React.FC = (props) => {
const PresetTrigger =
- Preset
+ {__("reader.settings.preset.title")}
;
const optionPresetItem = { id: 6, value: "tab-preset", name: __("reader.settings.preset.title"), disabled: false, svg: GuearIcon };
@@ -1343,25 +1366,26 @@ export const ReaderSettings: React.FC = (props) => {
SelectRef.displayName = "ComboBox";
const TabHeader = () => {
+
return (
dockedMode ? <>> :
-
+
-
-
-
-
-
+
+
+
+
+
);
@@ -1426,7 +1450,7 @@ export const ReaderSettings: React.FC = (props) => {
// console.error("Combobox No value !!!");
// }
// }}
- style={{ paddingBottom: "0", margin: "0", flexDirection: "row"}}
+ style={{ paddingBottom: "0", margin: "0", flexDirection: "row" }}
ref={dockedModeRef}
>
{item => {item.name}}
diff --git a/src/resources/locales/ar.json b/src/resources/locales/ar.json
index 5364177fa..2bfe9723f 100644
--- a/src/resources/locales/ar.json
+++ b/src/resources/locales/ar.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "معاينة تمهيدية",
diff --git a/src/resources/locales/bg.json b/src/resources/locales/bg.json
index 368f590a5..825c957b4 100644
--- a/src/resources/locales/bg.json
+++ b/src/resources/locales/bg.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "",
diff --git a/src/resources/locales/ca.json b/src/resources/locales/ca.json
index fc574388d..b724a8efe 100644
--- a/src/resources/locales/ca.json
+++ b/src/resources/locales/ca.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Previsualització",
diff --git a/src/resources/locales/da.json b/src/resources/locales/da.json
index a97d694e9..ad02f8208 100644
--- a/src/resources/locales/da.json
+++ b/src/resources/locales/da.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "Anvend mit foretrukne læsetema som nuværende læse-indstillinger",
+ "applyDetails": "",
"reset": "Nulstil mit foretrukne læsetema til standard indstillingerne",
+ "resetDetails": "",
"save": "Gem de nuværende læse-indstillinger som mit foretrukne læsetema",
+ "saveDetails": "",
"title": "Læsetema"
},
"preview": "Forhåndsvisning",
diff --git a/src/resources/locales/de.json b/src/resources/locales/de.json
index 72ac9e25a..d8830b2b5 100644
--- a/src/resources/locales/de.json
+++ b/src/resources/locales/de.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Vorschau",
diff --git a/src/resources/locales/el.json b/src/resources/locales/el.json
index b4ee5994a..1eda8deb4 100644
--- a/src/resources/locales/el.json
+++ b/src/resources/locales/el.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Προεπισκόπηση",
diff --git a/src/resources/locales/en.json b/src/resources/locales/en.json
index eff924ca7..6c8170ac4 100644
--- a/src/resources/locales/en.json
+++ b/src/resources/locales/en.json
@@ -475,9 +475,12 @@
"title": "Zoom"
},
"preset": {
- "apply": "Apply the preferred reading settings preset to the current reading settings",
- "reset": "Reset preferred reading settings preset to the initial state",
- "save": "Save the current reading settings to the preferred reading settings preset",
+ "apply": "Apply the preferred reading parameters",
+ "applyDetails": "Apply the preferred reading settings preset to the current book.",
+ "reset": "Reset preferred reading settings",
+ "resetDetails": "Reset the preferred reading parameters and apply these default paremeters to the current book.",
+ "save": "Save the preferred reading parameters",
+ "saveDetails": "Save the customized text parameters, so that they might be applied to other books, once open, by clicking on the button below.",
"title": "Preset"
},
"preview": "Preview",
diff --git a/src/resources/locales/es.json b/src/resources/locales/es.json
index cf6c2e379..6f72f3eaf 100644
--- a/src/resources/locales/es.json
+++ b/src/resources/locales/es.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Previsualizar",
diff --git a/src/resources/locales/eu.json b/src/resources/locales/eu.json
index 6b4ea9913..90d35ee3f 100644
--- a/src/resources/locales/eu.json
+++ b/src/resources/locales/eu.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Aurrebista",
diff --git a/src/resources/locales/fi.json b/src/resources/locales/fi.json
index d82c9aeca..3ec36e58c 100644
--- a/src/resources/locales/fi.json
+++ b/src/resources/locales/fi.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Esikatselu",
diff --git a/src/resources/locales/fr.json b/src/resources/locales/fr.json
index 35dd6ac1a..133f5827f 100644
--- a/src/resources/locales/fr.json
+++ b/src/resources/locales/fr.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "Appliquer les paramètres de lecture préférés",
- "reset": "Réinitialiser les paramètres de lecture préférés à l'état initial",
+ "applyDetails": "Appliquer au livre courant les paramètres de lecture précédemment enregistrés.",
+ "reset": "Réinitialiser les paramètres de lecture préférés",
+ "resetDetails": "Effacer les paramètres de lecture précédemment appliqués, et revenir à la mise en forme et aux choix d'affichage par défaut",
"save": "Enregistrer les paramètres de lecture préférés",
+ "saveDetails": "Sauvegarder les modifications appliquées à la mise en forme du livre courant et les choix d'affichage du logiciel. Ces paramètres pourront être appliqués à d'autres livres, une fois ouverts, en cliquant sur le bouton ci-dessous.",
"title": "Préréglage"
},
"preview": "Aperçu",
diff --git a/src/resources/locales/gl.json b/src/resources/locales/gl.json
index 275327567..b0d2c7755 100644
--- a/src/resources/locales/gl.json
+++ b/src/resources/locales/gl.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Previsualizar",
diff --git a/src/resources/locales/hr.json b/src/resources/locales/hr.json
index 46b8b0796..e4f54438d 100644
--- a/src/resources/locales/hr.json
+++ b/src/resources/locales/hr.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "",
diff --git a/src/resources/locales/it.json b/src/resources/locales/it.json
index 6434bf546..161673608 100644
--- a/src/resources/locales/it.json
+++ b/src/resources/locales/it.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Anteprima",
diff --git a/src/resources/locales/ja.json b/src/resources/locales/ja.json
index 747cd996f..7eaaf2946 100644
--- a/src/resources/locales/ja.json
+++ b/src/resources/locales/ja.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "プレビュー",
diff --git a/src/resources/locales/ka.json b/src/resources/locales/ka.json
index efd7b23bd..e62c7580f 100644
--- a/src/resources/locales/ka.json
+++ b/src/resources/locales/ka.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "",
diff --git a/src/resources/locales/ko.json b/src/resources/locales/ko.json
index 9f7fc7b83..977c2239a 100644
--- a/src/resources/locales/ko.json
+++ b/src/resources/locales/ko.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "",
diff --git a/src/resources/locales/lt.json b/src/resources/locales/lt.json
index 79d49b002..eba3dacaa 100644
--- a/src/resources/locales/lt.json
+++ b/src/resources/locales/lt.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Peržiūrėti",
diff --git a/src/resources/locales/nl.json b/src/resources/locales/nl.json
index f00b77ac6..4b0d0cf9e 100644
--- a/src/resources/locales/nl.json
+++ b/src/resources/locales/nl.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Voorbeeld",
diff --git a/src/resources/locales/pt-br.json b/src/resources/locales/pt-br.json
index 89d5f9c93..f6ca345ce 100644
--- a/src/resources/locales/pt-br.json
+++ b/src/resources/locales/pt-br.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "pré-visualização",
diff --git a/src/resources/locales/pt-pt.json b/src/resources/locales/pt-pt.json
index 196c636ae..a35826cc2 100644
--- a/src/resources/locales/pt-pt.json
+++ b/src/resources/locales/pt-pt.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "Aplicar a predefinição preferida de configurações de leitura às configurações de leitura atuais",
+ "applyDetails": "",
"reset": "Redefinir a predefinição das configurações preferidas de leitura para o estado inicial",
+ "resetDetails": "",
"save": "Guardar as configurações de leitura atuais na predefinição preferida de configurações de leitura",
+ "saveDetails": "",
"title": "Predefinição"
},
"preview": "Pré-visualização",
diff --git a/src/resources/locales/ru.json b/src/resources/locales/ru.json
index ff874440c..37b7b8683 100644
--- a/src/resources/locales/ru.json
+++ b/src/resources/locales/ru.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Предпросмотр ",
diff --git a/src/resources/locales/sl.json b/src/resources/locales/sl.json
index 6daceb141..e4d38a93a 100644
--- a/src/resources/locales/sl.json
+++ b/src/resources/locales/sl.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Predogled",
diff --git a/src/resources/locales/sv.json b/src/resources/locales/sv.json
index da2e12a09..0e67ba27c 100644
--- a/src/resources/locales/sv.json
+++ b/src/resources/locales/sv.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "Förhandsvisning",
diff --git a/src/resources/locales/zh-cn.json b/src/resources/locales/zh-cn.json
index 782622743..47f206f79 100644
--- a/src/resources/locales/zh-cn.json
+++ b/src/resources/locales/zh-cn.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "预览",
diff --git a/src/resources/locales/zh-tw.json b/src/resources/locales/zh-tw.json
index d5b6aa383..1b4b49ffa 100644
--- a/src/resources/locales/zh-tw.json
+++ b/src/resources/locales/zh-tw.json
@@ -476,8 +476,11 @@
},
"preset": {
"apply": "",
+ "applyDetails": "",
"reset": "",
+ "resetDetails": "",
"save": "",
+ "saveDetails": "",
"title": ""
},
"preview": "預覽",
diff --git a/src/typings/en.translation-keys.d.ts b/src/typings/en.translation-keys.d.ts
index b58d24188..d7fc94d45 100644
--- a/src/typings/en.translation-keys.d.ts
+++ b/src/typings/en.translation-keys.d.ts
@@ -1,4 +1,4 @@
declare namespace typed_i18n_keys {
- type TTranslatorKeyParameter = "accessibility" | "accessibility.bookMenu" | "accessibility.closeDialog" | "accessibility.importFile" | "accessibility.leftSlideButton" | "accessibility.mainContent" | "accessibility.rightSlideButton" | "accessibility.searchBook" | "accessibility.skipLink" | "accessibility.toolbar" | "apiapp" | "apiapp.documentation" | "apiapp.howItWorks" | "apiapp.informations" | "apiapp.noLibraryFound" | "app" | "app.edit" | "app.edit.copy" | "app.edit.cut" | "app.edit.paste" | "app.edit.redo" | "app.edit.selectAll" | "app.edit.title" | "app.edit.undo" | "app.hide" | "app.quit" | "app.session" | "app.session.exit" | "app.session.exit.askBox" | "app.session.exit.askBox.button" | "app.session.exit.askBox.button.no" | "app.session.exit.askBox.button.yes" | "app.session.exit.askBox.message" | "app.session.exit.askBox.title" | "app.update" | "app.update.message" | "app.update.title" | "app.window" | "app.window.showLibrary" | "catalog" | "catalog.about" | "catalog.about.title" | "catalog.addBookToLib" | "catalog.addTags" | "catalog.addTagsButton" | "catalog.allBooks" | "catalog.bookInfo" | "catalog.column" | "catalog.column.ascending" | "catalog.column.descending" | "catalog.column.unsorted" | "catalog.delete" | "catalog.deleteBook" | "catalog.deleteTag" | "catalog.description" | "catalog.emptyTagList" | "catalog.entry" | "catalog.entry.continueReading" | "catalog.entry.continueReadingAudioBooks" | "catalog.entry.continueReadingDivina" | "catalog.entry.continueReadingPdf" | "catalog.entry.lastAdditions" | "catalog.export" | "catalog.exportAnnotation" | "catalog.format" | "catalog.importAnnotation" | "catalog.lang" | "catalog.lastRead" | "catalog.moreInfo" | "catalog.myBooks" | "catalog.noPublicationHelpL1" | "catalog.noPublicationHelpL2" | "catalog.noPublicationHelpL3" | "catalog.noPublicationHelpL4" | "catalog.numberOfPages" | "catalog.opds" | "catalog.opds.auth" | "catalog.opds.auth.cancel" | "catalog.opds.auth.login" | "catalog.opds.auth.password" | "catalog.opds.auth.register" | "catalog.opds.auth.username" | "catalog.opds.info" | "catalog.opds.info.availableSince" | "catalog.opds.info.availableState" | "catalog.opds.info.availableState.available" | "catalog.opds.info.availableState.ready" | "catalog.opds.info.availableState.reserved" | "catalog.opds.info.availableState.unavailable" | "catalog.opds.info.availableState.unknown" | "catalog.opds.info.availableUntil" | "catalog.opds.info.copyAvalaible" | "catalog.opds.info.copyTotal" | "catalog.opds.info.holdPosition" | "catalog.opds.info.holdTotal" | "catalog.opds.info.numberOfItems" | "catalog.opds.info.priveValue" | "catalog.opds.info.state" | "catalog.publisher" | "catalog.readBook" | "catalog.released" | "catalog.sort" | "catalog.tag" | "catalog.tagCount" | "catalog.tags" | "catalog.update" | "dialog" | "dialog.cancel" | "dialog.deleteAnnotations" | "dialog.deleteAnnotationsText" | "dialog.deleteFeed" | "dialog.deletePublication" | "dialog.import" | "dialog.importError" | "dialog.renew" | "dialog.return" | "dialog.yes" | "dialog.annotations" | "dialog.annotations.title" | "dialog.annotations.descTitle" | "dialog.annotations.descList" | "dialog.annotations.descAuthor" | "dialog.annotations.descOlder" | "dialog.annotations.descNewer" | "dialog.annotations.importAll" | "dialog.annotations.importWithoutConflict" | "error" | "error.errorBox" | "error.errorBox.error" | "error.errorBox.message" | "error.errorBox.title" | "header" | "header.allBooks" | "header.catalogs" | "header.downloads" | "header.fitlerTagTitle" | "header.gridTitle" | "header.home" | "header.homeTitle" | "header.importTitle" | "header.listTitle" | "header.myCatalogs" | "header.refreshTitle" | "header.searchPlaceholder" | "header.searchTitle" | "header.settings" | "header.viewMode" | "library" | "library.lcp" | "library.lcp.hint" | "library.lcp.password" | "library.lcp.sentence" | "library.lcp.urlHint" | "library.lcp.whatIsLcp?" | "library.lcp.whatIsLcpInfoDetails" | "library.lcp.whatIsLcpInfoDetailsLink" | "message" | "message.download" | "message.download.error" | "message.import" | "message.import.alreadyImport" | "message.import.fail" | "message.import.success" | "message.open" | "message.open.error" | "message.annotations" | "message.annotations.emptyFile" | "message.annotations.nothing" | "message.annotations.alreadyImported" | "message.annotations.noBelongTo" | "message.annotations.errorParsing" | "message.annotations.success" | "opds" | "opds.addForm" | "opds.addForm.addButton" | "opds.addForm.name" | "opds.addForm.namePlaceholder" | "opds.addForm.url" | "opds.addForm.urlPlaceholder" | "opds.addFormApiapp" | "opds.addFormApiapp.title" | "opds.addMenu" | "opds.breadcrumbRoot" | "opds.documentation" | "opds.empty" | "opds.firstPage" | "opds.informations" | "opds.lastPage" | "opds.menu" | "opds.menu.aboutBook" | "opds.menu.addExtract" | "opds.menu.goBuyBook" | "opds.menu.goLoanBook" | "opds.menu.goRevokeLoanBook" | "opds.menu.goSubBook" | "opds.network" | "opds.network.error" | "opds.network.noInternet" | "opds.network.noInternetMessage" | "opds.network.reject" | "opds.network.timeout" | "opds.next" | "opds.previous" | "opds.shelf" | "opds.updateForm" | "opds.updateForm.name" | "opds.updateForm.title" | "opds.updateForm.updateButton" | "opds.updateForm.url" | "opds.whatIsOpds" | "publication" | "publication.accessibility" | "publication.accessibility.accessModeSufficient" | "publication.accessibility.accessModeSufficient.textual" | "publication.accessibility.accessibilityFeature" | "publication.accessibility.accessibilityFeature.alternativeText" | "publication.accessibility.accessibilityFeature.displayTransformability" | "publication.accessibility.accessibilityFeature.longDescription" | "publication.accessibility.accessibilityFeature.printPageNumbers" | "publication.accessibility.accessibilityFeature.readingOrder" | "publication.accessibility.accessibilityFeature.synchronizedAudioText" | "publication.accessibility.accessibilityFeature.tableOfContents" | "publication.accessibility.accessibilityHazard" | "publication.accessibility.accessibilityHazard.flashing" | "publication.accessibility.accessibilityHazard.motionSimulation" | "publication.accessibility.accessibilityHazard.name" | "publication.accessibility.accessibilityHazard.noFlashing" | "publication.accessibility.accessibilityHazard.noMotionSimulation" | "publication.accessibility.accessibilityHazard.noSound" | "publication.accessibility.accessibilityHazard.none" | "publication.accessibility.accessibilityHazard.sound" | "publication.accessibility.accessibilityHazard.unknown" | "publication.accessibility.certifierReport" | "publication.accessibility.conformsTo" | "publication.accessibility.moreInformation" | "publication.accessibility.name" | "publication.accessibility.noA11y" | "publication.actions" | "publication.audio" | "publication.audio.tracks" | "publication.author" | "publication.cancelledLcp" | "publication.certificateRevoked" | "publication.certificateSignatureInvalid" | "publication.cover" | "publication.cover.img" | "publication.day" | "publication.days" | "publication.duration" | "publication.duration.title" | "publication.expired" | "publication.expiredLcp" | "publication.lcpEnd" | "publication.lcpRightsCopy" | "publication.lcpRightsPrint" | "publication.lcpStart" | "publication.licenceLCP" | "publication.licenseOutOfDate" | "publication.licenseSignatureDateInvalid" | "publication.licenseSignatureInvalid" | "publication.licensed" | "publication.markAsRead" | "publication.notStarted" | "publication.onGoing" | "publication.progression" | "publication.progression.title" | "publication.read" | "publication.remainingTime" | "publication.renewButton" | "publication.returnButton" | "publication.returnedLcp" | "publication.revokedLcp" | "publication.seeLess" | "publication.seeMore" | "publication.timeLeft" | "publication.title" | "publication.userKeyCheckInvalid" | "reader" | "reader.annotations" | "reader.annotations.Color" | "reader.annotations.addNote" | "reader.annotations.advancedMode" | "reader.annotations.annotationsExport" | "reader.annotations.annotationsExport.description" | "reader.annotations.annotationsExport.title" | "reader.annotations.annotationsOptions" | "reader.annotations.colors" | "reader.annotations.colors.bluegreen" | "reader.annotations.colors.cyan" | "reader.annotations.colors.green" | "reader.annotations.colors.lightblue" | "reader.annotations.colors.orange" | "reader.annotations.colors.purple" | "reader.annotations.colors.red" | "reader.annotations.colors.yellow" | "reader.annotations.filter" | "reader.annotations.filter.all" | "reader.annotations.filter.filterByColor" | "reader.annotations.filter.filterByCreator" | "reader.annotations.filter.filterByDrawtype" | "reader.annotations.filter.filterByTag" | "reader.annotations.filter.filterOptions" | "reader.annotations.filter.none" | "reader.annotations.hide" | "reader.annotations.highlight" | "reader.annotations.noSelectionToast" | "reader.annotations.quickAnnotations" | "reader.annotations.saveNote" | "reader.annotations.sorting" | "reader.annotations.sorting.lastcreated" | "reader.annotations.sorting.lastmodified" | "reader.annotations.sorting.progression" | "reader.annotations.sorting.sortingOptions" | "reader.annotations.toggleMarginMarks" | "reader.annotations.type" | "reader.annotations.type.outline" | "reader.annotations.type.solid" | "reader.annotations.type.strikethrough" | "reader.annotations.type.underline" | "reader.divina" | "reader.divina.mute" | "reader.divina.unmute" | "reader.fxl" | "reader.fxl.fit" | "reader.marks" | "reader.marks.annotations" | "reader.marks.bookmarks" | "reader.marks.delete" | "reader.marks.edit" | "reader.marks.goTo" | "reader.marks.landmarks" | "reader.marks.saveMark" | "reader.marks.search" | "reader.marks.searchResult" | "reader.marks.toc" | "reader.media-overlays" | "reader.media-overlays.activate" | "reader.media-overlays.captions" | "reader.media-overlays.captionsDescription" | "reader.media-overlays.next" | "reader.media-overlays.pause" | "reader.media-overlays.play" | "reader.media-overlays.previous" | "reader.media-overlays.skip" | "reader.media-overlays.skipDescription" | "reader.media-overlays.speed" | "reader.media-overlays.stop" | "reader.media-overlays.title" | "reader.navigation" | "reader.navigation.annotationTitle" | "reader.navigation.backHomeTitle" | "reader.navigation.bookmarkTitle" | "reader.navigation.currentPage" | "reader.navigation.currentPageTotal" | "reader.navigation.detachWindowTitle" | "reader.navigation.fullscreenTitle" | "reader.navigation.goTo" | "reader.navigation.goToError" | "reader.navigation.goToPlaceHolder" | "reader.navigation.goToTitle" | "reader.navigation.historyNext" | "reader.navigation.historyPrevious" | "reader.navigation.infoTitle" | "reader.navigation.magnifyingGlassButton" | "reader.navigation.openTableOfContentsTitle" | "reader.navigation.page" | "reader.navigation.pdfscalemode" | "reader.navigation.settingsTitle" | "reader.picker" | "reader.picker.search" | "reader.picker.search.founds" | "reader.picker.search.input" | "reader.picker.search.next" | "reader.picker.search.notFound" | "reader.picker.search.previous" | "reader.picker.search.results" | "reader.picker.search.submit" | "reader.picker.searchTitle" | "reader.settings" | "reader.settings.column" | "reader.settings.column.auto" | "reader.settings.column.one" | "reader.settings.column.title" | "reader.settings.column.two" | "reader.settings.customizeReader" | "reader.settings.disabled" | "reader.settings.display" | "reader.settings.disposition" | "reader.settings.disposition.title" | "reader.settings.font" | "reader.settings.fontSize" | "reader.settings.infoCustomFont" | "reader.settings.justification" | "reader.settings.justify" | "reader.settings.letterSpacing" | "reader.settings.lineSpacing" | "reader.settings.margin" | "reader.settings.noFootnotes" | "reader.settings.noRTLFlip" | "reader.settings.noRuby" | "reader.settings.paginated" | "reader.settings.paraSpacing" | "reader.settings.pdfZoom" | "reader.settings.pdfZoom.name" | "reader.settings.pdfZoom.name.100pct" | "reader.settings.pdfZoom.name.150pct" | "reader.settings.pdfZoom.name.200pct" | "reader.settings.pdfZoom.name.300pct" | "reader.settings.pdfZoom.name.500pct" | "reader.settings.pdfZoom.name.50pct" | "reader.settings.pdfZoom.name.fit" | "reader.settings.pdfZoom.name.width" | "reader.settings.pdfZoom.title" | "reader.settings.preset" | "reader.settings.preset.apply" | "reader.settings.preset.reset" | "reader.settings.preset.save" | "reader.settings.preset.title" | "reader.settings.preview" | "reader.settings.reduceMotion" | "reader.settings.scrolled" | "reader.settings.spacing" | "reader.settings.text" | "reader.settings.theme" | "reader.settings.theme.name" | "reader.settings.theme.name.Contrast1" | "reader.settings.theme.name.Contrast2" | "reader.settings.theme.name.Contrast3" | "reader.settings.theme.name.Contrast4" | "reader.settings.theme.name.Neutral" | "reader.settings.theme.name.Night" | "reader.settings.theme.name.Paper" | "reader.settings.theme.name.Sepia" | "reader.settings.theme.title" | "reader.settings.wordSpacing" | "reader.svg" | "reader.svg.left" | "reader.svg.right" | "reader.toc" | "reader.toc.publicationNoToc" | "reader.tts" | "reader.tts.activate" | "reader.tts.default" | "reader.tts.next" | "reader.tts.pause" | "reader.tts.play" | "reader.tts.previous" | "reader.tts.sentenceDetect" | "reader.tts.sentenceDetectDescription" | "reader.tts.speed" | "reader.tts.stop" | "reader.tts.voice" | "settings" | "settings.annotationCreator" | "settings.annotationCreator.creator" | "settings.annotationCreator.name" | "settings.annotationCreator.organization" | "settings.annotationCreator.person" | "settings.annotationCreator.type" | "settings.auth" | "settings.auth.title" | "settings.auth.wipeData" | "settings.keyboard" | "settings.keyboard.advancedMenu" | "settings.keyboard.cancel" | "settings.keyboard.disclaimer" | "settings.keyboard.editUserJson" | "settings.keyboard.keyboardShortcuts" | "settings.keyboard.loadUserJson" | "settings.keyboard.resetDefaults" | "settings.keyboard.save" | "settings.language" | "settings.language.languageChoice" | "settings.library" | "settings.library.enableAPIAPP" | "settings.library.title" | "settings.session" | "settings.session.no" | "settings.session.title" | "settings.session.yes" | "settings.tabs" | "settings.tabs.appearance" | "settings.tabs.general" | "settings.tabs.keyboardShortcuts" | "settings.theme" | "settings.theme.auto" | "settings.theme.dark" | "settings.theme.description" | "settings.theme.light" | "settings.theme.title" | "wizard" | "wizard.buttons" | "wizard.buttons.discover" | "wizard.buttons.goToBooks" | "wizard.buttons.next" | "wizard.description" | "wizard.description.annotations" | "wizard.description.catalogs" | "wizard.description.home" | "wizard.description.readingView1" | "wizard.description.readingView2" | "wizard.description.yourBooks" | "wizard.dontShow" | "wizard.tab" | "wizard.tab.annotations" | "wizard.tab.catalogs" | "wizard.tab.home" | "wizard.tab.readingView" | "wizard.tab.yourBooks" | "wizard.title" | "wizard.title.allBooks" | "wizard.title.newFeature" | "wizard.title.welcome";
+ type TTranslatorKeyParameter = "accessibility" | "accessibility.bookMenu" | "accessibility.closeDialog" | "accessibility.importFile" | "accessibility.leftSlideButton" | "accessibility.mainContent" | "accessibility.rightSlideButton" | "accessibility.searchBook" | "accessibility.skipLink" | "accessibility.toolbar" | "apiapp" | "apiapp.documentation" | "apiapp.howItWorks" | "apiapp.informations" | "apiapp.noLibraryFound" | "app" | "app.edit" | "app.edit.copy" | "app.edit.cut" | "app.edit.paste" | "app.edit.redo" | "app.edit.selectAll" | "app.edit.title" | "app.edit.undo" | "app.hide" | "app.quit" | "app.session" | "app.session.exit" | "app.session.exit.askBox" | "app.session.exit.askBox.button" | "app.session.exit.askBox.button.no" | "app.session.exit.askBox.button.yes" | "app.session.exit.askBox.message" | "app.session.exit.askBox.title" | "app.update" | "app.update.message" | "app.update.title" | "app.window" | "app.window.showLibrary" | "catalog" | "catalog.about" | "catalog.about.title" | "catalog.addBookToLib" | "catalog.addTags" | "catalog.addTagsButton" | "catalog.allBooks" | "catalog.bookInfo" | "catalog.column" | "catalog.column.ascending" | "catalog.column.descending" | "catalog.column.unsorted" | "catalog.delete" | "catalog.deleteBook" | "catalog.deleteTag" | "catalog.description" | "catalog.emptyTagList" | "catalog.entry" | "catalog.entry.continueReading" | "catalog.entry.continueReadingAudioBooks" | "catalog.entry.continueReadingDivina" | "catalog.entry.continueReadingPdf" | "catalog.entry.lastAdditions" | "catalog.export" | "catalog.exportAnnotation" | "catalog.format" | "catalog.importAnnotation" | "catalog.lang" | "catalog.lastRead" | "catalog.moreInfo" | "catalog.myBooks" | "catalog.noPublicationHelpL1" | "catalog.noPublicationHelpL2" | "catalog.noPublicationHelpL3" | "catalog.noPublicationHelpL4" | "catalog.numberOfPages" | "catalog.opds" | "catalog.opds.auth" | "catalog.opds.auth.cancel" | "catalog.opds.auth.login" | "catalog.opds.auth.password" | "catalog.opds.auth.register" | "catalog.opds.auth.username" | "catalog.opds.info" | "catalog.opds.info.availableSince" | "catalog.opds.info.availableState" | "catalog.opds.info.availableState.available" | "catalog.opds.info.availableState.ready" | "catalog.opds.info.availableState.reserved" | "catalog.opds.info.availableState.unavailable" | "catalog.opds.info.availableState.unknown" | "catalog.opds.info.availableUntil" | "catalog.opds.info.copyAvalaible" | "catalog.opds.info.copyTotal" | "catalog.opds.info.holdPosition" | "catalog.opds.info.holdTotal" | "catalog.opds.info.numberOfItems" | "catalog.opds.info.priveValue" | "catalog.opds.info.state" | "catalog.publisher" | "catalog.readBook" | "catalog.released" | "catalog.sort" | "catalog.tag" | "catalog.tagCount" | "catalog.tags" | "catalog.update" | "dialog" | "dialog.annotations" | "dialog.annotations.descAuthor" | "dialog.annotations.descList" | "dialog.annotations.descNewer" | "dialog.annotations.descOlder" | "dialog.annotations.descTitle" | "dialog.annotations.importAll" | "dialog.annotations.importWithoutConflict" | "dialog.annotations.title" | "dialog.cancel" | "dialog.deleteAnnotations" | "dialog.deleteAnnotationsText" | "dialog.deleteFeed" | "dialog.deletePublication" | "dialog.import" | "dialog.importError" | "dialog.renew" | "dialog.return" | "dialog.yes" | "error" | "error.errorBox" | "error.errorBox.error" | "error.errorBox.message" | "error.errorBox.title" | "header" | "header.allBooks" | "header.catalogs" | "header.downloads" | "header.fitlerTagTitle" | "header.gridTitle" | "header.home" | "header.homeTitle" | "header.importTitle" | "header.listTitle" | "header.myCatalogs" | "header.refreshTitle" | "header.searchPlaceholder" | "header.searchTitle" | "header.settings" | "header.viewMode" | "library" | "library.lcp" | "library.lcp.hint" | "library.lcp.password" | "library.lcp.sentence" | "library.lcp.urlHint" | "library.lcp.whatIsLcp?" | "library.lcp.whatIsLcpInfoDetails" | "library.lcp.whatIsLcpInfoDetailsLink" | "message" | "message.annotations" | "message.annotations.alreadyImported" | "message.annotations.emptyFile" | "message.annotations.errorParsing" | "message.annotations.noBelongTo" | "message.annotations.nothing" | "message.annotations.success" | "message.download" | "message.download.error" | "message.import" | "message.import.alreadyImport" | "message.import.fail" | "message.import.success" | "message.open" | "message.open.error" | "opds" | "opds.addForm" | "opds.addForm.addButton" | "opds.addForm.name" | "opds.addForm.namePlaceholder" | "opds.addForm.url" | "opds.addForm.urlPlaceholder" | "opds.addFormApiapp" | "opds.addFormApiapp.title" | "opds.addMenu" | "opds.breadcrumbRoot" | "opds.documentation" | "opds.empty" | "opds.firstPage" | "opds.informations" | "opds.lastPage" | "opds.menu" | "opds.menu.aboutBook" | "opds.menu.addExtract" | "opds.menu.goBuyBook" | "opds.menu.goLoanBook" | "opds.menu.goRevokeLoanBook" | "opds.menu.goSubBook" | "opds.network" | "opds.network.error" | "opds.network.noInternet" | "opds.network.noInternetMessage" | "opds.network.reject" | "opds.network.timeout" | "opds.next" | "opds.previous" | "opds.shelf" | "opds.updateForm" | "opds.updateForm.name" | "opds.updateForm.title" | "opds.updateForm.updateButton" | "opds.updateForm.url" | "opds.whatIsOpds" | "publication" | "publication.accessibility" | "publication.accessibility.accessModeSufficient" | "publication.accessibility.accessModeSufficient.textual" | "publication.accessibility.accessibilityFeature" | "publication.accessibility.accessibilityFeature.alternativeText" | "publication.accessibility.accessibilityFeature.displayTransformability" | "publication.accessibility.accessibilityFeature.longDescription" | "publication.accessibility.accessibilityFeature.printPageNumbers" | "publication.accessibility.accessibilityFeature.readingOrder" | "publication.accessibility.accessibilityFeature.synchronizedAudioText" | "publication.accessibility.accessibilityFeature.tableOfContents" | "publication.accessibility.accessibilityHazard" | "publication.accessibility.accessibilityHazard.flashing" | "publication.accessibility.accessibilityHazard.motionSimulation" | "publication.accessibility.accessibilityHazard.name" | "publication.accessibility.accessibilityHazard.noFlashing" | "publication.accessibility.accessibilityHazard.noMotionSimulation" | "publication.accessibility.accessibilityHazard.noSound" | "publication.accessibility.accessibilityHazard.none" | "publication.accessibility.accessibilityHazard.sound" | "publication.accessibility.accessibilityHazard.unknown" | "publication.accessibility.certifierReport" | "publication.accessibility.conformsTo" | "publication.accessibility.moreInformation" | "publication.accessibility.name" | "publication.accessibility.noA11y" | "publication.actions" | "publication.audio" | "publication.audio.tracks" | "publication.author" | "publication.cancelledLcp" | "publication.certificateRevoked" | "publication.certificateSignatureInvalid" | "publication.cover" | "publication.cover.img" | "publication.day" | "publication.days" | "publication.duration" | "publication.duration.title" | "publication.expired" | "publication.expiredLcp" | "publication.lcpEnd" | "publication.lcpRightsCopy" | "publication.lcpRightsPrint" | "publication.lcpStart" | "publication.licenceLCP" | "publication.licenseOutOfDate" | "publication.licenseSignatureDateInvalid" | "publication.licenseSignatureInvalid" | "publication.licensed" | "publication.markAsRead" | "publication.notStarted" | "publication.onGoing" | "publication.progression" | "publication.progression.title" | "publication.read" | "publication.remainingTime" | "publication.renewButton" | "publication.returnButton" | "publication.returnedLcp" | "publication.revokedLcp" | "publication.seeLess" | "publication.seeMore" | "publication.timeLeft" | "publication.title" | "publication.userKeyCheckInvalid" | "reader" | "reader.annotations" | "reader.annotations.Color" | "reader.annotations.addNote" | "reader.annotations.advancedMode" | "reader.annotations.annotationsExport" | "reader.annotations.annotationsExport.description" | "reader.annotations.annotationsExport.title" | "reader.annotations.annotationsOptions" | "reader.annotations.colors" | "reader.annotations.colors.bluegreen" | "reader.annotations.colors.cyan" | "reader.annotations.colors.green" | "reader.annotations.colors.lightblue" | "reader.annotations.colors.orange" | "reader.annotations.colors.purple" | "reader.annotations.colors.red" | "reader.annotations.colors.yellow" | "reader.annotations.filter" | "reader.annotations.filter.all" | "reader.annotations.filter.filterByColor" | "reader.annotations.filter.filterByCreator" | "reader.annotations.filter.filterByDrawtype" | "reader.annotations.filter.filterByTag" | "reader.annotations.filter.filterOptions" | "reader.annotations.filter.none" | "reader.annotations.hide" | "reader.annotations.highlight" | "reader.annotations.noSelectionToast" | "reader.annotations.quickAnnotations" | "reader.annotations.saveNote" | "reader.annotations.sorting" | "reader.annotations.sorting.lastcreated" | "reader.annotations.sorting.lastmodified" | "reader.annotations.sorting.progression" | "reader.annotations.sorting.sortingOptions" | "reader.annotations.toggleMarginMarks" | "reader.annotations.type" | "reader.annotations.type.outline" | "reader.annotations.type.solid" | "reader.annotations.type.strikethrough" | "reader.annotations.type.underline" | "reader.divina" | "reader.divina.mute" | "reader.divina.unmute" | "reader.fxl" | "reader.fxl.fit" | "reader.marks" | "reader.marks.annotations" | "reader.marks.bookmarks" | "reader.marks.delete" | "reader.marks.edit" | "reader.marks.goTo" | "reader.marks.landmarks" | "reader.marks.saveMark" | "reader.marks.search" | "reader.marks.searchResult" | "reader.marks.toc" | "reader.media-overlays" | "reader.media-overlays.activate" | "reader.media-overlays.captions" | "reader.media-overlays.captionsDescription" | "reader.media-overlays.next" | "reader.media-overlays.pause" | "reader.media-overlays.play" | "reader.media-overlays.previous" | "reader.media-overlays.skip" | "reader.media-overlays.skipDescription" | "reader.media-overlays.speed" | "reader.media-overlays.stop" | "reader.media-overlays.title" | "reader.navigation" | "reader.navigation.annotationTitle" | "reader.navigation.backHomeTitle" | "reader.navigation.bookmarkTitle" | "reader.navigation.currentPage" | "reader.navigation.currentPageTotal" | "reader.navigation.detachWindowTitle" | "reader.navigation.fullscreenTitle" | "reader.navigation.goTo" | "reader.navigation.goToError" | "reader.navigation.goToPlaceHolder" | "reader.navigation.goToTitle" | "reader.navigation.historyNext" | "reader.navigation.historyPrevious" | "reader.navigation.infoTitle" | "reader.navigation.magnifyingGlassButton" | "reader.navigation.openTableOfContentsTitle" | "reader.navigation.page" | "reader.navigation.pdfscalemode" | "reader.navigation.settingsTitle" | "reader.picker" | "reader.picker.search" | "reader.picker.search.founds" | "reader.picker.search.input" | "reader.picker.search.next" | "reader.picker.search.notFound" | "reader.picker.search.previous" | "reader.picker.search.results" | "reader.picker.search.submit" | "reader.picker.searchTitle" | "reader.settings" | "reader.settings.column" | "reader.settings.column.auto" | "reader.settings.column.one" | "reader.settings.column.title" | "reader.settings.column.two" | "reader.settings.customizeReader" | "reader.settings.disabled" | "reader.settings.display" | "reader.settings.disposition" | "reader.settings.disposition.title" | "reader.settings.font" | "reader.settings.fontSize" | "reader.settings.infoCustomFont" | "reader.settings.justification" | "reader.settings.justify" | "reader.settings.letterSpacing" | "reader.settings.lineSpacing" | "reader.settings.margin" | "reader.settings.noFootnotes" | "reader.settings.noRTLFlip" | "reader.settings.noRuby" | "reader.settings.paginated" | "reader.settings.paraSpacing" | "reader.settings.pdfZoom" | "reader.settings.pdfZoom.name" | "reader.settings.pdfZoom.name.100pct" | "reader.settings.pdfZoom.name.150pct" | "reader.settings.pdfZoom.name.200pct" | "reader.settings.pdfZoom.name.300pct" | "reader.settings.pdfZoom.name.500pct" | "reader.settings.pdfZoom.name.50pct" | "reader.settings.pdfZoom.name.fit" | "reader.settings.pdfZoom.name.width" | "reader.settings.pdfZoom.title" | "reader.settings.preset" | "reader.settings.preset.apply" | "reader.settings.preset.applyDetails" | "reader.settings.preset.reset" | "reader.settings.preset.resetDetails" | "reader.settings.preset.save" | "reader.settings.preset.saveDetails" | "reader.settings.preset.title" | "reader.settings.preview" | "reader.settings.reduceMotion" | "reader.settings.scrolled" | "reader.settings.spacing" | "reader.settings.text" | "reader.settings.theme" | "reader.settings.theme.name" | "reader.settings.theme.name.Contrast1" | "reader.settings.theme.name.Contrast2" | "reader.settings.theme.name.Contrast3" | "reader.settings.theme.name.Contrast4" | "reader.settings.theme.name.Neutral" | "reader.settings.theme.name.Night" | "reader.settings.theme.name.Paper" | "reader.settings.theme.name.Sepia" | "reader.settings.theme.title" | "reader.settings.wordSpacing" | "reader.svg" | "reader.svg.left" | "reader.svg.right" | "reader.toc" | "reader.toc.publicationNoToc" | "reader.tts" | "reader.tts.activate" | "reader.tts.default" | "reader.tts.next" | "reader.tts.pause" | "reader.tts.play" | "reader.tts.previous" | "reader.tts.sentenceDetect" | "reader.tts.sentenceDetectDescription" | "reader.tts.speed" | "reader.tts.stop" | "reader.tts.voice" | "settings" | "settings.annotationCreator" | "settings.annotationCreator.creator" | "settings.annotationCreator.name" | "settings.annotationCreator.organization" | "settings.annotationCreator.person" | "settings.annotationCreator.type" | "settings.auth" | "settings.auth.title" | "settings.auth.wipeData" | "settings.keyboard" | "settings.keyboard.advancedMenu" | "settings.keyboard.cancel" | "settings.keyboard.disclaimer" | "settings.keyboard.editUserJson" | "settings.keyboard.keyboardShortcuts" | "settings.keyboard.loadUserJson" | "settings.keyboard.resetDefaults" | "settings.keyboard.save" | "settings.language" | "settings.language.languageChoice" | "settings.library" | "settings.library.enableAPIAPP" | "settings.library.title" | "settings.session" | "settings.session.no" | "settings.session.title" | "settings.session.yes" | "settings.tabs" | "settings.tabs.appearance" | "settings.tabs.general" | "settings.tabs.keyboardShortcuts" | "settings.theme" | "settings.theme.auto" | "settings.theme.dark" | "settings.theme.description" | "settings.theme.light" | "settings.theme.title" | "wizard" | "wizard.buttons" | "wizard.buttons.discover" | "wizard.buttons.goToBooks" | "wizard.buttons.next" | "wizard.description" | "wizard.description.annotations" | "wizard.description.catalogs" | "wizard.description.home" | "wizard.description.readingView1" | "wizard.description.readingView2" | "wizard.description.yourBooks" | "wizard.dontShow" | "wizard.tab" | "wizard.tab.annotations" | "wizard.tab.catalogs" | "wizard.tab.home" | "wizard.tab.readingView" | "wizard.tab.yourBooks" | "wizard.title" | "wizard.title.allBooks" | "wizard.title.newFeature" | "wizard.title.welcome";
}
export = typed_i18n_keys;
\ No newline at end of file
diff --git a/src/typings/en.translation.d.ts b/src/typings/en.translation.d.ts
index 7fd0f508e..ebc88896e 100644
--- a/src/typings/en.translation.d.ts
+++ b/src/typings/en.translation.d.ts
@@ -306,6 +306,16 @@ declare namespace typed_i18n {
(_: "catalog.tags", __?: {}): string;
(_: "catalog.update", __?: {}): string;
(_: "dialog", __?: {}): {
+ readonly "annotations": {
+ readonly "descAuthor": string,
+ readonly "descList": string,
+ readonly "descNewer": string,
+ readonly "descOlder": string,
+ readonly "descTitle": string,
+ readonly "importAll": string,
+ readonly "importWithoutConflict": string,
+ readonly "title": string
+ },
readonly "cancel": string,
readonly "deleteAnnotations": string,
readonly "deleteAnnotationsText": string,
@@ -315,45 +325,35 @@ declare namespace typed_i18n {
readonly "importError": string,
readonly "renew": string,
readonly "return": string,
- readonly "yes": string,
- readonly "annotations": {
- readonly "title": string,
- readonly "descTitle": string,
- readonly "descList": string,
- readonly "descAuthor": string,
- readonly "descOlder": string,
- readonly "descNewer": string,
- readonly "importAll": string,
- readonly "importWithoutConflict": string
- }
+ readonly "yes": string
};
- (_: "dialog.cancel", __?: {}): string;
- (_: "dialog.deleteAnnotations", __?: {}): string;
- (_: "dialog.deleteAnnotationsText", __?: {}): string;
- (_: "dialog.deleteFeed", __?: {}): string;
- (_: "dialog.deletePublication", __?: {}): string;
- (_: "dialog.import", __?: {}): string;
- (_: "dialog.importError", __?: {}): string;
- (_: "dialog.renew", __?: {}): string;
- (_: "dialog.return", __?: {}): string; (_: "dialog.yes", __?: {}): string;
(_: "dialog.annotations", __?: {}): {
- readonly "title": string,
- readonly "descTitle": string,
- readonly "descList": string,
readonly "descAuthor": string,
- readonly "descOlder": string,
+ readonly "descList": string,
readonly "descNewer": string,
+ readonly "descOlder": string,
+ readonly "descTitle": string,
readonly "importAll": string,
- readonly "importWithoutConflict": string
+ readonly "importWithoutConflict": string,
+ readonly "title": string
};
- (_: "dialog.annotations.title", __?: {}): string;
- (_: "dialog.annotations.descTitle", __?: {}): string;
- (_: "dialog.annotations.descList", __?: {}): string;
(_: "dialog.annotations.descAuthor", __?: {}): string;
- (_: "dialog.annotations.descOlder", __?: {}): string;
+ (_: "dialog.annotations.descList", __?: {}): string;
(_: "dialog.annotations.descNewer", __?: {}): string;
+ (_: "dialog.annotations.descOlder", __?: {}): string;
+ (_: "dialog.annotations.descTitle", __?: {}): string;
(_: "dialog.annotations.importAll", __?: {}): string;
(_: "dialog.annotations.importWithoutConflict", __?: {}): string;
+ (_: "dialog.annotations.title", __?: {}): string;
+ (_: "dialog.cancel", __?: {}): string;
+ (_: "dialog.deleteAnnotations", __?: {}): string;
+ (_: "dialog.deleteAnnotationsText", __?: {}): string;
+ (_: "dialog.deleteFeed", __?: {}): string;
+ (_: "dialog.deletePublication", __?: {}): string;
+ (_: "dialog.import", __?: {}): string;
+ (_: "dialog.importError", __?: {}): string;
+ (_: "dialog.renew", __?: {}): string;
+ (_: "dialog.return", __?: {}): string; (_: "dialog.yes", __?: {}): string;
(_: "error", __?: {}): {
readonly "errorBox": {
readonly "error": string,
@@ -429,22 +429,36 @@ declare namespace typed_i18n {
(_: "library.lcp.whatIsLcpInfoDetails", __?: {}): string;
(_: "library.lcp.whatIsLcpInfoDetailsLink", __?: {}): string;
(_: "message", __?: {}): {
+ readonly "annotations": {
+ readonly "alreadyImported": string,
+ readonly "emptyFile": string,
+ readonly "errorParsing": string,
+ readonly "noBelongTo": string,
+ readonly "nothing": string,
+ readonly "success": string
+ },
readonly "download": { readonly "error": string },
readonly "import": {
readonly "alreadyImport": string,
readonly "fail": string,
readonly "success": string
},
- readonly "open": { readonly "error": string },
- readonly "annotations": {
- readonly "emptyFile": string,
- readonly "nothing": string,
- readonly "alreadyImported": string,
- readonly "noBelongTo": string,
- readonly "errorParsing": string,
- readonly "success": string
- }
+ readonly "open": { readonly "error": string }
+};
+ (_: "message.annotations", __?: {}): {
+ readonly "alreadyImported": string,
+ readonly "emptyFile": string,
+ readonly "errorParsing": string,
+ readonly "noBelongTo": string,
+ readonly "nothing": string,
+ readonly "success": string
};
+ (_: "message.annotations.alreadyImported", __?: {}): string;
+ (_: "message.annotations.emptyFile", __?: {}): string;
+ (_: "message.annotations.errorParsing", __?: {}): string;
+ (_: "message.annotations.noBelongTo", __?: {}): string;
+ (_: "message.annotations.nothing", __?: {}): string;
+ (_: "message.annotations.success", __?: {}): string;
(_: "message.download", __?: {}): { readonly "error": string };
(_: "message.download.error", __?: {}): string;
(_: "message.import", __?: {}): {
@@ -457,20 +471,6 @@ declare namespace typed_i18n {
(_: "message.import.success", __?: {}): string;
(_: "message.open", __?: {}): { readonly "error": string };
(_: "message.open.error", __?: {}): string;
- (_: "message.annotations", __?: {}): {
- readonly "emptyFile": string,
- readonly "nothing": string,
- readonly "alreadyImported": string,
- readonly "noBelongTo": string,
- readonly "errorParsing": string,
- readonly "success": string
-};
- (_: "message.annotations.emptyFile", __?: {}): string;
- (_: "message.annotations.nothing", __?: {}): string;
- (_: "message.annotations.alreadyImported", __?: {}): string;
- (_: "message.annotations.noBelongTo", __?: {}): string;
- (_: "message.annotations.errorParsing", __?: {}): string;
- (_: "message.annotations.success", __?: {}): string;
(_: "opds", __?: {}): {
readonly "addForm": {
readonly "addButton": string,
@@ -897,8 +897,11 @@ declare namespace typed_i18n {
},
readonly "preset": {
readonly "apply": string,
+ readonly "applyDetails": string,
readonly "reset": string,
+ readonly "resetDetails": string,
readonly "save": string,
+ readonly "saveDetails": string,
readonly "title": string
},
readonly "preview": string,
@@ -1212,8 +1215,11 @@ declare namespace typed_i18n {
},
readonly "preset": {
readonly "apply": string,
+ readonly "applyDetails": string,
readonly "reset": string,
+ readonly "resetDetails": string,
readonly "save": string,
+ readonly "saveDetails": string,
readonly "title": string
},
readonly "preview": string,
@@ -1298,13 +1304,19 @@ declare namespace typed_i18n {
(_: "reader.settings.pdfZoom.title", __?: {}): string;
(_: "reader.settings.preset", __?: {}): {
readonly "apply": string,
+ readonly "applyDetails": string,
readonly "reset": string,
+ readonly "resetDetails": string,
readonly "save": string,
+ readonly "saveDetails": string,
readonly "title": string
};
(_: "reader.settings.preset.apply", __?: {}): string;
+ (_: "reader.settings.preset.applyDetails", __?: {}): string;
(_: "reader.settings.preset.reset", __?: {}): string;
+ (_: "reader.settings.preset.resetDetails", __?: {}): string;
(_: "reader.settings.preset.save", __?: {}): string;
+ (_: "reader.settings.preset.saveDetails", __?: {}): string;
(_: "reader.settings.preset.title", __?: {}): string;
(_: "reader.settings.preview", __?: {}): string;
(_: "reader.settings.reduceMotion", __?: {}): string;