Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mostly i18n fr labels and some en labels also #2694

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
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/common/views/catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { PublicationView } from "./publication";

export interface CatalogEntryView {
id: "continueReading" | "lastAdditions" | "continueReadingAudioBooks" | "continueReadingDivina" | "continueReadingPdf";
id: "continueReading" | "lastAdditions";
tag?: string;
totalCount?: number;
publicationViews?: PublicationView[];
Expand Down
20 changes: 0 additions & 20 deletions src/main/redux/sagas/catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,26 +237,6 @@ export function* getCatalog(): SagaGenerator<ILibraryRootState["publication"]> {
totalCount: allAdded_.length,
publicationViews: allAdded_,
},
// {
// id: "continueReading",
// totalCount: epubReaded_.length,
// publicationViews: epubReaded_,
// },
// {
// id: "continueReadingAudioBooks",
// totalCount: audiobookReaded_.length,
// publicationViews: audiobookReaded_,
// },
// {
// id: "continueReadingDivina",
// totalCount: divinaReaded_.length,
// publicationViews: divinaReaded_,
// },
// {
// id: "continueReadingPdf",
// totalCount: pdfReaded_.length,
// publicationViews: pdfReaded_,
// },
];
const publicationRepository = diMainGet("publication-repository");
const allTags = yield* callTyped(() => publicationRepository.getAllTags());
Expand Down
9 changes: 0 additions & 9 deletions src/renderer/library/components/catalog/GridView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ const EntrySection = ({entry, entryIndex}: {entry: CatalogEntryView, entryIndex:
case "continueReading":
title = __("catalog.entry.continueReading");
break;
case "continueReadingAudioBooks":
title = __("catalog.entry.continueReadingAudioBooks");
break;
case "continueReadingDivina":
title = __("catalog.entry.continueReadingDivina");
break;
case "continueReadingPdf":
title = __("catalog.entry.continueReadingPdf");
break;
}

return (
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/reader/components/ReaderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ const AnnotationList: React.FC<{ annotationUUIDFocused: string, resetAnnotationU
ref={annotationTitleRef}
className="R2_CSS_CLASS__FORCE_NO_FOCUS_OUTLINE" />
</div>
<Popover.Close aria-label={__("catalog.export")} asChild>
<Popover.Close aria-label={__("reader.annotations.export")} asChild>
<button type="submit" onClick={() => {
const annotations = annotationListFiltered.map(([, anno]) => {
const { creator } = anno;
Expand All @@ -1162,7 +1162,7 @@ const AnnotationList: React.FC<{ annotationUUIDFocused: string, resetAnnotationU
downloadAnnotationJSON(contents, label);
}} className={stylesButtons.button_primary_blue}>
<SVG svg={SaveIcon} />
{__("catalog.export")}
{__("reader.annotations.export")}
</button>
</Popover.Close>
</form>
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "لا توجد منشورات موسومة.",
"entry": {
"continueReading": "استئناف القراءة",
"continueReadingAudioBooks": "استئناف الاستماع",
"continueReadingDivina": "استئناف ديفينا",
"continueReadingPdf": "استئناف PDF",
"lastAdditions": "المضافة مؤخراً"
},
"export": "حفظ بإسم",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "Нямате маркирана електронна книга.",
"entry": {
"continueReading": "Възобнови четенето",
"continueReadingAudioBooks": "Възобнови слушането",
"continueReadingDivina": "Възобнови divina",
"continueReadingPdf": "Възобнови PDF",
"lastAdditions": "Наскоро добавени"
},
"export": "Експортиране",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "No tens llibres etiquetats.",
"entry": {
"continueReading": "Reprendre lectura",
"continueReadingAudioBooks": "Reprendre reproducción",
"continueReadingDivina": "Reprendre divina",
"continueReadingPdf": "Rependre PDF",
"lastAdditions": "Afegits recentment"
},
"export": "Exportar",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "Du har ingen taggede bøger.",
"entry": {
"continueReading": "Genoptag læsning",
"continueReadingAudioBooks": "Genoptag lydbog",
"continueReadingDivina": "Genoptag divina",
"continueReadingPdf": "Genoptag PDF",
"lastAdditions": "Senest tilføjet"
},
"export": "Gem som",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "Rød",
"yellow": "Gul"
},
"export": "",
"filter": {
"all": "Alle",
"filterByColor": "Filtrér efter Farve",
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "Keine Bücher wurden mit Tags versehen.",
"entry": {
"continueReading": "Lesen Sie weiter",
"continueReadingAudioBooks": "Weiter zuhören",
"continueReadingDivina": "Divina fortsetzen",
"continueReadingPdf": "PDF weiterlesen",
"lastAdditions": "Kürzlich hinzugefügt"
},
"export": "Export",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "Κανένα βιβλίο με ετικέτα.",
"entry": {
"continueReading": "Συνέχιση ανάγνωσης",
"continueReadingAudioBooks": "Συνέχιση ακρόασης",
"continueReadingDivina": "Συνέχιση divina",
"continueReadingPdf": "Συνέχιση PDF",
"lastAdditions": "Πρόσφατη προσθήκη"
},
"export": "Αποθήκευση ως",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
40 changes: 19 additions & 21 deletions src/resources/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,12 @@
"emptyTagList": "No tagged publications.",
"entry": {
"continueReading": "Resume reading",
"continueReadingAudioBooks": "Resume listening",
"continueReadingDivina": "Resume divina",
"continueReadingPdf": "Resume PDF",
"lastAdditions": "Recently added"
},
"export": "Save as",
"exportAnnotation": "Save annotation as",
"exportAnnotation": "Save notes as",
"format": "Format",
"importAnnotation": "Import annotation",
"importAnnotation": "Import notes",
"lang": "Language",
"lastRead": "Last Read",
"moreInfo": "Publication Details",
Expand Down Expand Up @@ -125,16 +122,16 @@
"annotations": {
"descAuthor": "of {{- author}}",
"descList": "{{- nb}} note(s) from {{- creator}} will be associated with {{- title}} {{- author}}",
"descNewer": "{{- nb}} newer versions of these notes are already associated with the publication.",
"descOlder": "{{- nb}} older versions of these notes are already associated with the publication.",
"descTitle": "Annotation Set Title: ",
"descNewer": "{{- nb}} newer version(s) of these notes are already associated with the publication.",
"descOlder": "{{- nb}} older version(s) of these notes are already associated with the publication.",
"descTitle": "Title of the set: ",
"importAll": "Import all notes",
"importWithoutConflict": "Import notes without conflict",
"title": "Do you want to import these notes ?"
"title": "Do you want to import these notes?"
},
"cancel": "Cancel",
"deleteAnnotations": "Delete annotations?",
"deleteAnnotationsText": "Do you want to delete {{- annotationListLength}} annotation(s)?",
"deleteAnnotations": "Delete note?",
"deleteAnnotationsText": "Do you want to delete {{- annotationListLength}} note(s)?",
"deleteFeed": "Delete catalog?",
"deletePublication": "Delete publication?",
"import": "Confirm import:",
Expand Down Expand Up @@ -181,12 +178,12 @@
},
"message": {
"annotations": {
"alreadyImported": "All annotations already imported, aborting the importation",
"emptyFile": "No annotations available in the file",
"errorParsing": "Error file format parsing: ",
"noBelongTo": "Unable to import annotations set, at least one annotation does not belong to the publication",
"nothing": "There are no annotations ready to be imported, aborting the importation",
"success": "Success !"
"alreadyImported": "All notes already imported, aborting the import",
"emptyFile": "No note available in the file",
"errorParsing": "Error during file parsing: ",
"noBelongTo": "Unable to import notes, at least one note does not belong to the publication",
"nothing": "There is no note ready to be imported, aborting the import",
"success": "Import done"
},
"download": {
"error": "Downloading [{{- title}}] failed: [{{- err}}]"
Expand Down Expand Up @@ -331,7 +328,7 @@
"description": "Name this set of annotations",
"title": "Title"
},
"annotationsOptions": "Options",
"annotationsOptions": "Notes Options",
"colors": {
"bluegreen": "Blue-green",
"cyan": "Cyan",
Expand All @@ -342,6 +339,7 @@
"red": "Red",
"yellow": "Yellow"
},
"export": "Save notes as",
"filter": {
"all": "All",
"filterByColor": "Filter by Color",
Expand Down Expand Up @@ -483,7 +481,7 @@
"reset": "Reset your preferred reading parameters.",
"resetDetails": "Reset your preferred reading parameters to their default values.",
"save": "Save your preferred reading parameters.",
"saveDetails": "ave the changes made to the current book's formatting and display choices. These settings can be applied to other books, once opened, by clicking on the button below.",
"saveDetails": "Save the changes made to the current book's formatting and display choices. These settings can be applied to other books, once opened, by clicking on the button below.",
"title": "Preferences"
},
"preview": "Preview",
Expand Down Expand Up @@ -554,8 +552,8 @@
"languageChoice": "Language"
},
"library": {
"enableAPIAPP": "Activate access to Dilicom PNB API",
"title": "Add a library account"
"enableAPIAPP": "Activate access to the French library system (PNB)",
"title": "Add a French library account"
},
"session": {
"title": "Save session"
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "No tienes libros etiquetados.",
"entry": {
"continueReading": "Reanudar lectura",
"continueReadingAudioBooks": "Reanudar reproducción",
"continueReadingDivina": "Reanudar divina",
"continueReadingPdf": "Reanudar PDF",
"lastAdditions": "Añadidos recientemente"
},
"export": "Exportar",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/eu.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "Ez duzu libururik etiketatuta.",
"entry": {
"continueReading": "Berrabiarazi irakurketa",
"continueReadingAudioBooks": "Berrabiarazi erreprodukzioa",
"continueReadingDivina": "Berriabiazi Divina",
"continueReadingPdf": "PDF berrabiarazi",
"lastAdditions": "Berriki gehitutakoak"
},
"export": "Esportatu",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
4 changes: 1 addition & 3 deletions src/resources/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
"emptyTagList": "Tunnisteita ei ole käytössä.",
"entry": {
"continueReading": "Jatka lukemista",
"continueReadingAudioBooks": "Jatka kuuntelua",
"continueReadingDivina": "Jatka divinan lukemista",
"continueReadingPdf": "Jatka pdf:n lukemista",
"lastAdditions": "Viimeksi lisätty"
},
"export": "Tallenna nimellä",
Expand Down Expand Up @@ -342,6 +339,7 @@
"red": "",
"yellow": ""
},
"export": "",
"filter": {
"all": "",
"filterByColor": "",
Expand Down
Loading
Loading