Skip to content

publication info description : punctuation and separators should be localized#962 #1847

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

Closed
wants to merge 2 commits into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export const PublicationInfoContent: React.FC<IProps> = (props) => {
{
publication.publishers?.length ?
<>
<strong>{`${__("catalog.publisher")}: `}</strong>
<strong>{__("catalog.publisher")}</strong>
<i className={stylesBookDetailsDialog.allowUserSelect}>
<FormatContributorWithLink
contributors={publication.publishers}
Expand All @@ -401,15 +401,15 @@ export const PublicationInfoContent: React.FC<IProps> = (props) => {
{
publication.languages?.length ?
<>
<strong>{`${__("catalog.lang")}: `}</strong>
<strong>{__("catalog.lang")}</strong>
<FormatPublicationLanguage publication={publication} __={__} />
<br />
</> : undefined
}
{
publication.numberOfPages ?
<>
<strong>{`${__("catalog.numberOfPages")}: `}</strong>
<strong>{__("catalog.numberOfPages")}</strong>
<i className={stylesBookDetailsDialog.allowUserSelect}>
{publication.numberOfPages}
</i>
Expand All @@ -424,7 +424,7 @@ export const PublicationInfoContent: React.FC<IProps> = (props) => {
{
publication.nbOfTracks ?
<>
<strong>{`${__("publication.audio.tracks")}: `}</strong>
<strong>{__("publication.audio.tracks")}</strong>
<i className={stylesBookDetailsDialog.allowUserSelect}>
{publication.nbOfTracks}
</i>
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Exportar",
"format": "",
"lang": "Idioma",
"lang": "Idioma :",
"lastRead": "",
"moreInfo": "Més información",
"myBooks": "Els meus llibres",
"noPublicationHelpL1": "Solta una publicació aquí",
"noPublicationHelpL2": "o utiltza el botó \"+\" de dalt.",
"noPublicationHelpL3": "S'admiteixen fitxers protegits LCP.",
"noPublicationHelpL4": "Extensions admitides:",
"numberOfPages": " de pàgines",
"numberOfPages": " de pàgines :",
"opds": {
"auth": {
"cancel": "Cancel·lar",
Expand All @@ -103,7 +103,7 @@
"state": "Estat"
}
},
"publisher": "Editor",
"publisher": "Editor :",
"readBook": "Llegir",
"released": "Publicat en",
"sort": "Ordenar per",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Pistes"
"tracks": "Pistes :"
},
"author": "Autor",
"cancelledLcp": "Aquest llibre no es pot llegir perquè la llicència LCP s'ha cancel·lat.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Export",
"format": "",
"lang": "Sprache",
"lang": "Sprache :",
"lastRead": "",
"moreInfo": "Mehr Informationen",
"myBooks": "Meine Bücher",
"noPublicationHelpL1": "Geben Sie die Publikation ab",
"noPublicationHelpL2": "oder über den Button \"+\" hinzufügen.",
"noPublicationHelpL3": "LCP-geschützte Dateien werden unterstützt.",
"noPublicationHelpL4": "Unterstützte Erweiterungen:",
"numberOfPages": "Seitenzahl",
"numberOfPages": "Seitenzahl :",
"opds": {
"auth": {
"cancel": "",
Expand All @@ -103,7 +103,7 @@
"state": "Zustand"
}
},
"publisher": "Herausgeber",
"publisher": "Herausgeber :",
"readBook": "Lesen",
"released": "Veröffentlicht am",
"sort": "Sortieren nach",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Spuren"
"tracks": "Spuren :"
},
"author": "",
"cancelledLcp": "",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Export",
"format": "Format",
"lang": "Language",
"lang": "Language:",
"lastRead": "Last Read",
"moreInfo": "More Info",
"myBooks": "My books",
"noPublicationHelpL1": "Drop a publication here",
"noPublicationHelpL2": "or use the \"+\" button above.",
"noPublicationHelpL3": "LCP protected files are supported.",
"noPublicationHelpL4": "Supported extensions:",
"numberOfPages": "Number of pages",
"numberOfPages": "Number of pages:",
"opds": {
"auth": {
"cancel": "Cancel",
Expand All @@ -103,7 +103,7 @@
"state": "State"
}
},
"publisher": "Publisher",
"publisher": "Publisher:",
"readBook": "Read",
"released": "Published on",
"sort": "Sort by",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Tracks"
"tracks": "Tracks:"
},
"author": "Author",
"cancelledLcp": "This book can't be read because the LCP license has been cancelled.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Exportar",
"format": "Formato",
"lang": "Idioma",
"lang": "Idioma :",
"lastRead": "Último leído",
"moreInfo": "Más información",
"myBooks": "Mis libros",
"noPublicationHelpL1": "Desliza una publicación aquí",
"noPublicationHelpL2": "o usa el botón \"+\" de arriba.",
"noPublicationHelpL3": "Se admiten ficheros protegidos LCP.",
"noPublicationHelpL4": "Extensiones admitidas:",
"numberOfPages": "Número de páginas",
"numberOfPages": "Número de páginas :",
"opds": {
"auth": {
"cancel": "Cancelar",
Expand All @@ -103,7 +103,7 @@
"state": "Estado"
}
},
"publisher": "Editor",
"publisher": "Editor :",
"readBook": "Leer",
"released": "Publicado en",
"sort": "Ordenar por",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Pistas"
"tracks": "Pistas :"
},
"author": "Autor",
"cancelledLcp": "Este libro no se puede leer porque la licencia LCP se ha cancelado.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/eu.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Esportatu",
"format": "",
"lang": "Hizkuntza",
"lang": "Hizkuntza :",
"lastRead": "",
"moreInfo": "Informazio gehiago",
"myBooks": "Nire liburuak",
"noPublicationHelpL1": "Lerratu argitalpen bat hemen",
"noPublicationHelpL2": "edo erabili goiko \"+\" botoia.",
"noPublicationHelpL3": "LCP fitxategi babestuak onartzen badituzte.",
"noPublicationHelpL4": "Luzapen onartuak:",
"numberOfPages": "Orrialde-kopurua",
"numberOfPages": "Orrialde-kopurua :",
"opds": {
"auth": {
"cancel": "Utzi",
Expand All @@ -103,7 +103,7 @@
"state": "Egoera"
}
},
"publisher": "Editorea",
"publisher": "Editorea :",
"readBook": "Irakurri",
"released": "Hemen argitaratua",
"sort": "Ordenatu honen arabera",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Tracks"
"tracks": "Tracks :"
},
"author": "Egilea",
"cancelledLcp": "Liburu hau ezin da irakurri LCP lizentzia bertan behera utzi delako.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Vie",
"format": "",
"lang": "Kieli",
"lang": "Kieli :",
"lastRead": "",
"moreInfo": "Lisää tietoja",
"myBooks": "Minun kirjani",
"noPublicationHelpL1": "Pudota julkaisu tähän",
"noPublicationHelpL2": "tai käytä \"+\"-painiketta yllä.",
"noPublicationHelpL3": "LCP-suojattuja tiedostoja tuetaan.",
"noPublicationHelpL4": "Tuetut laajennukset:",
"numberOfPages": "Sivumäärä",
"numberOfPages": "Sivumäärä :",
"opds": {
"auth": {
"cancel": "Peru",
Expand All @@ -103,7 +103,7 @@
"state": "Tila"
}
},
"publisher": "Julkaisija",
"publisher": "Julkaisija :",
"readBook": "Lue",
"released": "Julkaistu",
"sort": "Järjestä",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Osat"
"tracks": "Osat :"
},
"author": "",
"cancelledLcp": "Kirjaa ei voi lukea: LCP-käyttöoikeus on peruttu.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Exporter",
"format": "",
"lang": "Langue",
"lang": "Langue :",
"lastRead": "Dernière lecture",
"moreInfo": "Plus d'informations",
"myBooks": "Mes livres",
"noPublicationHelpL1": "Déposer la publication",
"noPublicationHelpL2": "ou bien utilisez le bouton \"+\" ci-dessus.",
"noPublicationHelpL3": "Les fichiers protégés par LCP sont pris en charge.",
"noPublicationHelpL4": "Extensions prises en charge :",
"numberOfPages": "Nombre de pages",
"numberOfPages": "Nombre de pages :",
"opds": {
"auth": {
"cancel": "Annuler",
Expand All @@ -103,7 +103,7 @@
"state": "Etat"
}
},
"publisher": "Editeur",
"publisher": "Editeur :",
"readBook": "Lire",
"released": "Publié le",
"sort": "trier par",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Pistes"
"tracks": "Pistes :"
},
"author": "Auteur",
"cancelledLcp": "Ce livre ne peut être lu car la licence lcp a été annulée.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/gl.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Exportar",
"format": "",
"lang": "Idioma",
"lang": "Idioma :",
"lastRead": "",
"moreInfo": "Máis información",
"myBooks": "Os meus libros",
"noPublicationHelpL1": "Arrastra unha publicación aquí",
"noPublicationHelpL2": "ou usa o botón \"+\" de arriba.",
"noPublicationHelpL3": "Admítense ficheiros protexidos LCP.",
"noPublicationHelpL4": "Extensións admitidas:",
"numberOfPages": "Número de páxinas",
"numberOfPages": "Número de páxinas :",
"opds": {
"auth": {
"cancel": "Cancelar",
Expand All @@ -103,7 +103,7 @@
"state": "Estado"
}
},
"publisher": "Editor",
"publisher": "Editor :",
"readBook": "Ler",
"released": "Publicado en",
"sort": "Ordenar por",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Pistas"
"tracks": "Pistas :"
},
"author": "Autor",
"cancelledLcp": "Este libro non se pode ler porque a licenza LCP cancelouse.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "Esporta",
"format": "",
"lang": "Lingua",
"lang": "Lingua :",
"lastRead": "",
"moreInfo": "Più info",
"myBooks": "I miei libri",
"noPublicationHelpL1": "Rilascia una pubblicazione qui",
"noPublicationHelpL2": "o utilizza il bottone \"+\" sopra.",
"noPublicationHelpL3": "Files protetti con LCP sono supportati.",
"noPublicationHelpL4": "Estensioni supportate:",
"numberOfPages": "Numero di pagine",
"numberOfPages": "Numero di pagine :",
"opds": {
"auth": {
"cancel": "",
Expand All @@ -103,7 +103,7 @@
"state": "Stato"
}
},
"publisher": "Editore",
"publisher": "Editore :",
"readBook": "Leggi",
"released": "Pubblicato il",
"sort": "Ordina per",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "Tracce"
"tracks": "Tracce :"
},
"author": "",
"cancelledLcp": "Questo libro non può essere letto perchè la licenza LCP è stata annullata.",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
},
"export": "書き出し",
"format": "",
"lang": "言語",
"lang": "言語 :",
"lastRead": "",
"moreInfo": "他の情報",
"myBooks": "わたしの本",
"noPublicationHelpL1": "この画面に書籍ファイルをドロップしてください。",
"noPublicationHelpL2": "または、画面上部にある[+]ボタンを押して登録してください。",
"noPublicationHelpL3": "LCPで保護されたファイルにも対応します。",
"noPublicationHelpL4": "サポートされている拡張子:",
"numberOfPages": "ページ数",
"numberOfPages": "ページ数 :",
"opds": {
"auth": {
"cancel": "取り消し",
Expand All @@ -103,7 +103,7 @@
"state": "状態"
}
},
"publisher": "出版社",
"publisher": "出版社 :",
"readBook": "本を読む",
"released": "出版日",
"sort": "並び替え",
Expand Down Expand Up @@ -205,7 +205,7 @@
},
"publication": {
"audio": {
"tracks": "トラック"
"tracks": "トラック :"
},
"author": "著者",
"cancelledLcp": "LCPライセンスが取り消されたため、この本を読めません。",
Expand Down
Loading