fix: homogenize authoring format and place (#7034)

* fix: homogenize authors format and place

- use colon as author separator (replaces `&`, `and`, `y`, `e`, `et`...)
- ensures is placed after resource title, not part of itself `title - author`
- `et al.` as special author/token to group many

* remove double comma

* fix: recover traducer role notations as `trad.:`

* detect and apply some `trad.:`s role anotation

* chore: `trad.:` to `trl.:`

Apply suggestion made by Eric at https://github.com/EbookFoundation/free-programming-books/pull/7034#discussion_r954014539

Co-authored-by: Eric Hellman <eric@hellman.net>

* Sort author - format

* fix: remove empty authors (dash is alone)

Used regex: `-\s+(\(|$)`

* format: change to `edt.:` role

Definition list at https://www.loc.gov/marc/relators/relaterm.html

Co-authored-by: Eric Hellman <eric@hellman.net>
This commit is contained in:
David Ordás
2022-09-02 15:36:04 +02:00
committed by GitHub
parent 57cc3173da
commit 9bfd1914d5
30 changed files with 320 additions and 321 deletions

View File

@@ -5,4 +5,4 @@
### <a id="golang"></a>Go
* [The Little Go Book](https://github.com/nainglinaung/the-little-go-book) - Karl Seguin, Naing Lin Aung ([HTML](https://github.com/quangnh89/the-little-go-book/blob/master/vi/go.md))
* [The Little Go Book](https://github.com/nainglinaung/the-little-go-book) - Karl Seguin, `trl.:` Naing Lin Aung ([HTML](https://github.com/quangnh89/the-little-go-book/blob/master/vi/go.md))