Skip to content

Commit

Permalink
feat: adopt CSL standard for publication types
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
gcushen committed Sep 30, 2023
1 parent cbdf3e4 commit 60baebf
Show file tree
Hide file tree
Showing 43 changed files with 175 additions and 307 deletions.
4 changes: 2 additions & 2 deletions modules/wowchemy/assets/js/wowchemy-publication.js
Expand Up @@ -104,8 +104,8 @@ function filter_publications() {
let urlHash = window.location.hash.replace('#', '');
let filterValue = '*';

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

Expand Down
12 changes: 0 additions & 12 deletions modules/wowchemy/data/publication_types.toml

This file was deleted.

11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/ar.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: موقع

- id: pub_uncat
translation: غير مصنف

- id: pub_conf
- id: paper-conference
translation: ورقة مؤتمر

- id: pub_journal
- id: pub_article_journal
translation: مجلة محكمه

- id: pub_preprint
- id: pub_article
translation: مسودة

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: كتاب

- id: pub_book_section
- id: pub_chapter
translation: قسم من كتاب

- id: pub_thesis
Expand Down
19 changes: 8 additions & 11 deletions modules/wowchemy/i18n/bn.yaml
Expand Up @@ -10,7 +10,7 @@
translation: বিষয়বস্তু

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

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

- id: next # Next
translation: পরবর্তী
translation: পরবর্তী

- id: figure # 'Figure %d:'
translation: 'চিত্র %d:'
Expand Down Expand Up @@ -88,10 +88,10 @@
translation: উৎস নথি

- id: btn_copy # Copy
translation: কপি করুন
translation: কপি করুন

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

- id: btn_download # Download
translation: ডাউনলোড করুন
Expand Down Expand Up @@ -174,16 +174,13 @@
- id: location # Location
translation: অবস্থান

- id: pub_uncat # Uncategorized
translation: শ্রেণী বহির্ভূত

- id: pub_conf # Conference paper
- id: paper-conference # Conference paper
translation: সম্মেলন নিবন্ধ

- id: pub_journal # Journal article
- id: pub_article_journal # Journal article
translation: জার্নাল নিবন্ধ

- id: pub_preprint # Preprint
- id: pub_article # Preprint
translation: প্রিপ্রিন্ট

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

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

- id: pub_thesis # Thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/ca.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Ubicació

- id: pub_uncat
translation: Uncategorized

- id: pub_conf
- id: paper-conference
translation: Conference paper

- id: pub_journal
- id: pub_article_journal
translation: Journal article

- id: pub_preprint
- id: pub_article
translation: Preprint

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Book

- id: pub_book_section
- id: pub_chapter
translation: Book section

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/cs.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Místo

- id: pub_uncat
translation: Nezařazeno

- id: pub_conf
- id: paper-conference
translation: Materiál ke konferenci

- id: pub_journal
- id: pub_article_journal
translation: Článek v žurnálu

- id: pub_preprint
- id: pub_article
translation: Tisk předem

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Kniha

- id: pub_book_section
- id: pub_chapter
translation: Sekce knihy

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/da.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Lokation

- id: pub_uncat
translation: Ikke katagoriseret

- id: pub_conf
- id: paper-conference
translation: Konference artikel

- id: pub_journal
- id: pub_article_journal
translation: Videnskablig artikel

- id: pub_preprint
- id: pub_article
translation: Preprint

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Bog

- id: pub_book_section
- id: pub_chapter
translation: Bøger

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/de.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Ort

- id: pub_uncat
translation: Unkategorisiert

- id: pub_conf
- id: paper-conference
translation: Konferenzpapier

- id: pub_journal
- id: pub_article_journal
translation: Journalartikel

- id: pub_preprint
- id: pub_article
translation: Preprint

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Buch

- id: pub_book_section
- id: pub_chapter
translation: Buchkapitel

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/el.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Τοποθεσία

- id: pub_uncat
translation: Uncategorized

- id: pub_conf
- id: paper-conference
translation: Conference paper

- id: pub_journal
- id: pub_article_journal
translation: Journal article

- id: pub_preprint
- id: pub_article
translation: Preprint

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Book

- id: pub_book_section
- id: pub_chapter
translation: Book section

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/en.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Location

- id: pub_uncat
translation: Uncategorized

- id: pub_conf
- id: pub_paper_conference
translation: Conference paper

- id: pub_journal
- id: pub_article_journal
translation: Journal article

- id: pub_preprint
- id: pub_article
translation: Preprint

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Book

- id: pub_book_section
- id: pub_chapter
translation: Book section

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/es.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Localización

- id: pub_uncat
translation: Sin categoría

- id: pub_conf
- id: paper-conference
translation: Artículo de conferencia

- id: pub_journal
- id: pub_article_journal
translation: Artículo de revista

- id: pub_preprint
- id: pub_article
translation: Prepublicación

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Libro

- id: pub_book_section
- id: pub_chapter
translation: Capítulo de libro

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/et.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Asukoht

- id: pub_uncat
translation: Määramata

- id: pub_conf
- id: paper-conference
translation: Ettekanne

- id: pub_journal
- id: pub_article_journal
translation: Artikkel

- id: pub_preprint
- id: pub_article
translation: Eeltrükk

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Raamat

- id: pub_book_section
- id: pub_chapter
translation: Peatükk

- id: pub_thesis
Expand Down
11 changes: 4 additions & 7 deletions modules/wowchemy/i18n/eu.yaml
Expand Up @@ -174,16 +174,13 @@
- id: location
translation: Kokalekua

- id: pub_uncat
translation: Kategoriarik gabe

- id: pub_conf
- id: paper-conference
translation: Konferentzia-artikulua

- id: pub_journal
- id: pub_article_journal
translation: Aldizkari-artikulua

- id: pub_preprint
- id: pub_article
translation: Aurreargitalpena

- id: pub_report
Expand All @@ -192,7 +189,7 @@
- id: pub_book
translation: Liburua

- id: pub_book_section
- id: pub_chapter
translation: Liburu-kapitulua

- id: pub_thesis
Expand Down

0 comments on commit 60baebf

Please sign in to comment.