Skip to content

Commit 60baebf

Browse files
committed
feat: adopt CSL standard for publication types
See https://docs.citationstyles.org/en/stable/specification.html#appendix-iii-types BREAKING CHANGE: Update the `publication_types` field in `content/publication/` files to one of the CSL standard publication types (or specify your own publication type directly in the publication file).
1 parent cbdf3e4 commit 60baebf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+175
-307
lines changed

modules/wowchemy/assets/js/wowchemy-publication.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ function filter_publications() {
104104
let urlHash = window.location.hash.replace('#', '');
105105
let filterValue = '*';
106106

107-
// Check if hash is numeric.
108-
if (urlHash != '' && !isNaN(urlHash)) {
107+
// Check if hash is set.
108+
if (urlHash != '') {
109109
filterValue = '.pubtype-' + urlHash;
110110
}
111111

modules/wowchemy/data/publication_types.toml

-12
This file was deleted.

modules/wowchemy/i18n/ar.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: موقع
176176

177-
- id: pub_uncat
178-
translation: غير مصنف
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: ورقة مؤتمر
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: مجلة محكمه
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: مسودة
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: كتاب
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: قسم من كتاب
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/bn.yaml

+8-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
translation: বিষয়বস্তু
1111

1212
- id: back_to_top # Back to top
13-
translation: উপরে ফিরে যান
13+
translation: উপরে ফিরে যান
1414

1515
- id: home # Home
1616
translation: হোম পেজ
@@ -33,7 +33,7 @@
3333
translation: পূর্ববর্তী
3434

3535
- id: next # Next
36-
translation: পরবর্তী
36+
translation: পরবর্তী
3737

3838
- id: figure # 'Figure %d:'
3939
translation: 'চিত্র %d:'
@@ -88,10 +88,10 @@
8888
translation: উৎস নথি
8989

9090
- id: btn_copy # Copy
91-
translation: কপি করুন
91+
translation: কপি করুন
9292

9393
- id: btn_copied # Copied
94-
translation: কপি করা হয়েছে
94+
translation: কপি করা হয়েছে
9595

9696
- id: btn_download # Download
9797
translation: ডাউনলোড করুন
@@ -174,16 +174,13 @@
174174
- id: location # Location
175175
translation: অবস্থান
176176

177-
- id: pub_uncat # Uncategorized
178-
translation: শ্রেণী বহির্ভূত
179-
180-
- id: pub_conf # Conference paper
177+
- id: paper-conference # Conference paper
181178
translation: সম্মেলন নিবন্ধ
182179

183-
- id: pub_journal # Journal article
180+
- id: pub_article_journal # Journal article
184181
translation: জার্নাল নিবন্ধ
185182

186-
- id: pub_preprint # Preprint
183+
- id: pub_article # Preprint
187184
translation: প্রিপ্রিন্ট
188185

189186
- id: pub_report # Report
@@ -192,7 +189,7 @@
192189
- id: pub_book # Book
193190
translation: বই # Alternatively: পুস্তক
194191

195-
- id: pub_book_section # Book section
192+
- id: pub_chapter # Book section
196193
translation: পুস্তক বিভাগ
197194

198195
- id: pub_thesis # Thesis

modules/wowchemy/i18n/ca.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Ubicació
176176

177-
- id: pub_uncat
178-
translation: Uncategorized
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Conference paper
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Journal article
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Preprint
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Book
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Book section
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/cs.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Místo
176176

177-
- id: pub_uncat
178-
translation: Nezařazeno
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Materiál ke konferenci
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Článek v žurnálu
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Tisk předem
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Kniha
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Sekce knihy
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/da.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Lokation
176176

177-
- id: pub_uncat
178-
translation: Ikke katagoriseret
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Konference artikel
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Videnskablig artikel
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Preprint
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Bog
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Bøger
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/de.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Ort
176176

177-
- id: pub_uncat
178-
translation: Unkategorisiert
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Konferenzpapier
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Journalartikel
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Preprint
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Buch
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Buchkapitel
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/el.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Τοποθεσία
176176

177-
- id: pub_uncat
178-
translation: Uncategorized
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Conference paper
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Journal article
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Preprint
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Book
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Book section
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/en.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Location
176176

177-
- id: pub_uncat
178-
translation: Uncategorized
179-
180-
- id: pub_conf
177+
- id: pub_paper_conference
181178
translation: Conference paper
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Journal article
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Preprint
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Book
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Book section
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/es.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Localización
176176

177-
- id: pub_uncat
178-
translation: Sin categoría
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Artículo de conferencia
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Artículo de revista
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Prepublicación
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Libro
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Capítulo de libro
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/et.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Asukoht
176176

177-
- id: pub_uncat
178-
translation: Määramata
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Ettekanne
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Artikkel
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Eeltrükk
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Raamat
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Peatükk
197194

198195
- id: pub_thesis

modules/wowchemy/i18n/eu.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,13 @@
174174
- id: location
175175
translation: Kokalekua
176176

177-
- id: pub_uncat
178-
translation: Kategoriarik gabe
179-
180-
- id: pub_conf
177+
- id: paper-conference
181178
translation: Konferentzia-artikulua
182179

183-
- id: pub_journal
180+
- id: pub_article_journal
184181
translation: Aldizkari-artikulua
185182

186-
- id: pub_preprint
183+
- id: pub_article
187184
translation: Aurreargitalpena
188185

189186
- id: pub_report
@@ -192,7 +189,7 @@
192189
- id: pub_book
193190
translation: Liburua
194191

195-
- id: pub_book_section
192+
- id: pub_chapter
196193
translation: Liburu-kapitulua
197194

198195
- id: pub_thesis

0 commit comments

Comments
 (0)